Total Commander extDir v1.6.0.5 - Extended directory creator

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
shard
Junior Member
Junior Member
Posts: 3
Joined: 2011-11-13, 19:19 UTC

Post by *shard »

Hello, thanks for the great plugin

I was wondering if I could set the default view to Extended. Also I can't seem to get from Extended Text Area to OK button with tab.

It would be really cool if there are any solutions to those problems and I can stay on keyboard all the time.
User avatar
Bluestar
Senior Member
Senior Member
Posts: 377
Joined: 2007-06-10, 15:26 UTC
Location: Hungary
Contact:

Post by *Bluestar »

Hello shard,

About the first problem: you can set the Extended mode as default view with the help of an (currently) undocumented option - just type (or copy) the following lines to the utility's configuration file ("tc extDir.ini" by default), then save it: click here for the needed lines.

Code: Select all

[Window]
Extended=True
In the next version this key will be replaced by a new one: [Configuration] InitialMode=1 (0: Normal; 1: Extended; 2: Batch mode) [its already done in v1.6]

About the Tab key issue: are you using flat buttons inside the utility (did you set it in the Configuration previously)?
In case yes, this is the problem - unfortunately the flat buttons doesn't have a TabStop property, thats why the user can't switch to these buttons by pressing Tab key.

Workaround: turning off the flat buttons (uncheck "Use flat buttons in the main window (with icons)" option in the Configuration window).
The next version will contain a solution to this problem.

By the way, extDir v1.6 is currently ~94% finished: most of the new functions are ready, and it contains more fixes and changes than any version before.
It is able to work with the new WM_COPYDATA feature (which has been introduced in Total Commander 8.0 Beta 10), which means its faster, reliable and more stable than any version before. The only thing which i'm working on is the English User Manual (help) at the moment... hopefully i can release it before Christmas - stay tuned. :)
Last edited by Bluestar on 2011-12-08, 22:42 UTC, edited 1 time in total.
» Developer of Total Updater & extDir utility.
shard
Junior Member
Junior Member
Posts: 3
Joined: 2011-11-13, 19:19 UTC

Post by *shard »

Thanks Bluestar, it worked perfectly. Really great plugin, kudos.
User avatar
hoppfrosch
Junior Member
Junior Member
Posts: 67
Joined: 2004-10-20, 05:39 UTC

Post by *hoppfrosch »

Bluestar wrote:@hoppfrosch: I've submitted the exe file to McAfee's lab describing its false positive and what could cause the false detection, hopefully they take the needed steps soon - i'm afraid that's all i can do... would you be so kind to submit the file too? Maybe fixing the false detection would be quicker if they would get the same file more times...
Just for information:
I've also reported this program to McAfee's Lab to be a false positive a while ago, but no reaction yet ...
User avatar
Bluestar
Senior Member
Senior Member
Posts: 377
Joined: 2007-06-10, 15:26 UTC
Location: Hungary
Contact:

Post by *Bluestar »

Thanks hoppfrosch.

By the way they haven't answered me neither (sent the mail more than a month ago)... maybe in the next year (or next century? :roll:)
» Developer of Total Updater & extDir utility.
bbbslayer
Junior Member
Junior Member
Posts: 14
Joined: 2009-11-11, 00:31 UTC

Post by *bbbslayer »

The software is great, But I think the ui font is too small for me. It is about 9pt. I can't see the charactor clearly,and the font name is fix.

I wish there is a option of font. so I change the ui font size and font name.
User avatar
Bluestar
Senior Member
Senior Member
Posts: 377
Joined: 2007-06-10, 15:26 UTC
Location: Hungary
Contact:

Post by *Bluestar »

[face=tahoma]Total Commander extDir v1.6 RC1

The new version fixes some empty preselection filename bugs (and tons of other), and contains a lots of new functions & improvements, plus a new built-in language (Ukrainian - thanks to [LonerD] for the translation). From now on you can use the new WM_CopyData method to get the initial data from Total Commander - read the notice on the bottom.

You can click here to check the list of the currently available hotkeys.

Update is strongly recommended!
(read the changelog for more info...)

:arrow: Download | 31-12-2011 | MD5 (exe): 505a262de4e15022cf7f227eaa802387
Note: McAfee (and the new ByteHero 1.0.0.1) shows it as a false positive, the utility passes all the other (more than 40) antivirus tests (click here for the report).

________________________

In case you're a translator of one of the languages below, please click here to download just the new lines in v1.6 (link updated).
The following language files needs to be updated:

  • [CHN] Chinese
  • [DAN] Danish - Updated! [thanks to petermad] (will be available in v1.6 RC2)
  • [DEU] German - Updated! [thanks to Der Schrauber] (will be available in v1.6 RC2)
  • [DUT] Nederlands
  • [ESP] Spanish
  • [RUS] Russian
  • [UKR] Ukrainian
________________________


Changelog:

* New: Ukrainian language support (translated by LonerD - thanks!)
* New: Now you can set the folders attributes before creating the directory (just click on the gray dropdown icon, right to the "New folder (directory)" label on the top-left)
* New: The utility can work with the new WM_COPYDATA message that has been introduced in TC v8.0 Beta 10 (faster & more reliable method)
[read this file's "You can manually set" part to find out what to set in "tc extDir.ini" to use the new method]
* New: Interactive User Guide (Help) [press F1 in any window] [only in the FINAL (non-RC) version!]
* New: Ability to add your own applications to the (+) (replacements/variables) menu
* New: Ability to use CTRL + V with more than one directories on clipboard in Normal mode (the utility will automatically enter to Extended mode)
* New: Added additional mode selector to Batch directory creation mode (Mode: Decimal, Roman, ABC)
* New: From now on you can use * character in the Suffix to set any subdirs in Batch mode
* New: From now on you can press CTRL + D key if you'd like to add more subdirectory with automatic number increment
* New: From now on you can use (a bit modified) intelligent selection (CTRL + TAB) in the manual path editbox too
* New: Support of some Total Commander keyboard layouts (CTRL + PgUp: Change to parent directory; CTRL + PgDn: Enter into the dir under cursor; CTRL + <: Go to root directory (alternatively you can use CTRL + \ on US keyboards)
* New: Support of shortcut keys (ALT+LEFT: Change to left TC pane & refresh; ALT+RIGHT: Change to right TC pane & refresh; CTRL+M: Manage Templates; CTRL+P: Configuration; Ctrl+T: Drop-down the template list; F3: Change between Normal / Extended / Batch mode) [check the Readme for more]
* New: Added Prefix and Suffix feature for the initial preselection directory name (Configuration / General) [optional]
* New: Added "Use transparency (only for main window)" (alphablending) option to Configuration / Window
* New: Added new hints and tooltips (e.g. for the instant modifiers and some labels)
* New: The utility is now able to handle the "AlternateUserIni" key, if it has been set in wincmd.ini (under [Configuration] section)
* New: Special variable / replacement: {at} (Windows architecture - 32/64)
* New: Special variable / replacement: {ax} (Windows architecture - x86/x64) [hidden]
* New: Special variable / replacement: {kmct} (KMPlayer current title)
* New: If you press (and hold) the SHIFT key after pressing Enter (or clicking the OK button), the utility will make TC enter to the new directory (overriding the current state of "Enter directory after create" checkbox) [won't affect the config settings]
* New: If you press (and hold) the CTRL key after pressing Enter (or clicking the OK button), the utility will be closed after directory creation (overriding the current state of "Close the window after directory creation" checkbox) [won't affect the config settings]
* New: If you press (and hold) the ALT key after pressing Enter (or clicking the OK button), the utility won't closed after directory creation (overriding the current state of "Close the window after directory creation" checkbox) [won't affect the config settings]
* New: You can manually set [Configuration] TC8B10Method=True to use the new WM_COPYDATA message to get the current path, current filename, etc
* New: You can manually set [Configuration] TC8B10FixExt=False if you don't want to use the DirectoryExists method (default: True) to fix a filename / dirname preselection problem (which only affects directory names containing "." character)
* New: You can manually set [Configuration] RefreshOnActivate=True if you'd like the utility to refresh each time it's window activates (after any deactivation) [IMPORTANT: TC8B10Method=True needs to be set for this function to work. It _does not_ work with the old method because of stability issues.]
* New: You can manually set [Configuration] MkDirHistoryFile=myhistory.ini to override the automatic MkDirHistory writing with your custom file
* New: You can manually set [Configuration] InitialMode=1 or 2 to change between Extended (1) and Batch (2) modes (Default value is 0: Normal mode)
* New: You can manually set [Configuration] FocusTCAfterCreate=True if you'd like to force Total Commander's window to the foreground after directory creation
* New: You can manually set [Configuration] DisablePlugins=1 if you don't want to use external "plugins" (user-given application replacements) for extDir
* New: You can manually set [Configuration] LiveReplacements=False if you'd like to disable LiveReplacements (the live refreshing of special variables)
* New: You can manually set [Configuration] HideFromTaskBar=True if you'd like to hide the application's taskbar icon
* New: You can manually set [Configuration] AlphaBlendValue=200 (interval: 0-255) to set the window's transparency
* New: You can manually set [Configuration] DoNotInstallEnterCmd=True if you don't want to install the extra usercmd to TC (em_extDirEnter) which is used to fix a Total Commander bug (related to env. variables)
* New: You can manually set [Configuration] WindowStyle=1 or 2 to change between Dialog and ToolWindow styles (set 0 for the default Single borders)
* New: You can manually set [Configuration] FontName=Arial (or any other) to change the main window's font to another one
* New: You can manually set [Configuration] FontSize=10 (or larger) if you'd like to change the main window's font size
* Change: improved intelligent selection (Ctrl + Tab) #01: enhanced delimiter & bracket detection
* Change: improved intelligent selection (Ctrl + Tab) #02: automatically start the selection from the caret position on Ctrl + Tab keypress
* Change: improved installer: disallow filenames like "totalcmd.exe" or "TcUsbRun.exe" (protect TC's internal files from overwriting)
* Change: improved directory changer routine: able to enter environment variable-named directories
* Change: no need to restart the utility after switching to another theme (instant activation)
* Change: save current selection (start & length) when changing between modes with F3 key
* Change: show the initial letters (the keys you can use to activate) of every user & internal templates inside square brackets in the template dropdown
* Change: save exception logfiles with the utility's current exename instead of constant "tc extDir.exe"
* Change: enhanced exception handler: now it saves the classname of the latest exception along with current OS, language & sw version
* Change: now you can use the Delete key to remove items from the Template list
* Change: from now on you can get the current Windows username by using the {un} replacement word by default ({user} and {usr} are still there for compatiblity)
* Change: switch to the opposite pane in Total Commander if the cursor is on a directory in Treeview mode
* Change: do not clear the whole directory name from the combobox when a path-returning environment variable has been inserted (instead just remove the given variable)
* Change: changed some (Date, System & Application) popup icons to smoother ones
* Fixed: [!] empty preselection filename on the start of the utility if the selected file in TC is extensionless
* Fixed: [!] empty preselection filename on the start of the utility in case any custom column is set in Total Commander
* Fixed: [!] empty preselection filename on the start of the utility if the cursor is in the command line in Total Commander
* Fixed: [!] empty preselection filename & empty path on the start of the utility if Total Commander is not in the foreground
* Fixed: [!] application crash on start (EAccessViolation) when the TC cursor is in treeview mode [Ctrl + F8]
* Fixed: access violation if the directory list (in Extended mode) contains only directories which already exists in the given path
* Fixed: directory creation failed if the manually edited path didn't exist (only when the current directory name is a dirtree (for example: Test\Dir\AnotherDir\End)
* Fixed: improved check after manual path editing (do not accept the new path if it's incorrect)
* Fixed: incorrect caret positioning on switching between Normal / Extended modes (in case theres no selection)
* Fixed: incorrect cursor positioning in TC if the created directory is environment variable-named (rare)
* Fixed: the OK button's state changed to disabled until a keypress after refreshing the current path (F5 or Ctrl + R) [if a directory with the name in the combobox exists]
* Fixed: problem causing incorrect TC cursor positioning (directory entering) after creation if one or more subdirs for a directory tree has been set (in Extended mode)
* Fixed: exception handler / error logging routine (some events weren't handled correctly)
* Fixed: show the correct warning message if a file with the name as the needed directory already exists
* Fixed: small GUI bug when changing to Extended mode from Batch mode on Drag & Drop events
* Fixed: bug causing incorrect positioning of path editboxes in the installer in some cases
* Fixed: flickering panel when changing between Normal / Extended / Batch modes (Vista / Win7)
* Fixed: sometimes the utility wasn't able to recognize if the current side is an FTP connection in Total Commander
* Fixed: allow only one instance of the installer at a time (automatically set the running copy foreground if another has been started)
* Fixed: window hangs if Total Commander is minimized to tray on changing between Normal / Extended / Batch modes (reported by Myone)
* Fixed: incorrect caret positioning in the directory combobox after pressing an initial letter of any user template (when template combobox is focused)
* Fixed: bug causing "Enter to the directory after creation" option goes disabled if the dirname contains "/" character ("\" is not affected)
* Fixed: the installer rewrote the utility's configuration settings (with default values) if they already existed
* Fixed: bug causing the maximum value is 9999 instead of 10000 in Batch directory creation mode
* Fixed: value 0 causes an infinite loop when its typed to Step by (Batch mode)
* Fixed: automatically uncheck the "auto" checkbox on change of "Digits" value (Batch mode)
* Fixed: do not close the utility on Esc keypress if any combobox is in dropped down state
* Fixed: do not clear the current dirname if the selected Template is "- none -"
* Fixed: up & down arrow keys weren't working at the directory combobox
* Fixed: ctrl + a selection in the directory comboboxes (event has been fired on pressing AltGr + A hotkey too)
* Fixed: rare problem with reloading OK button's png resource (only purple theme was affected)
* Fixed: various problems related to "|" directory delimiter character
* Fixed: problem that makes the Templates combobox forget the itemindex on dropdown
* Fixed: selection lost after changing back to Normal mode from Batch mode
* Fixed: incorrect action when clicking on developer label in the About dialog
* Fixed: added Ctrl + A support for some controls
* Fixed: quicker appearance of the About dialog
* Fixed: better drag & drop support
* Fixed: various other fixes...


Notice:
If you use Total Commander 8.0 Beta 10 or newer, you can use the new WM_COPYDATA method to get the initial informations (current directory & filename).
It's strongly adviced to use the new method, since its more stable & reliable than the original one!

To change the method of getting Total Commander's data, just press Ctrl + P (or click on the Options / Configuration) in the utility, then click on the Advanced (3rd) tab, and choose the "New & more stable method (from TC v8.0B10)" option.
[/face]


Happy New Year for every Total Commander user! 8)

______________________

@bbbslayer: In v1.6 RC1 you can set the font name & size by modifying the configuration (tc extDir.ini) file, click here for the example.
Hope you like the new option. =)

[Configuration]
FontName=Arial
FontSize=10
Last edited by Bluestar on 2012-01-04, 18:49 UTC, edited 4 times in total.
» Developer of Total Updater & extDir utility.
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2Bluestar

Could you please provide a full lng_eng.ini file - it is very difficult to translate without knowing the context and being able to check if the length of the strings fits the dialog.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Bluestar
Senior Member
Senior Member
Posts: 377
Joined: 2007-06-10, 15:26 UTC
Location: Hungary
Contact:

Post by *Bluestar »

@petermad:

Of course - the first post of this topic is always updated with the up-to-date English language file (alternatively you can click here to download).
» Developer of Total Updater & extDir utility.
bbbslayer
Junior Member
Junior Member
Posts: 14
Joined: 2009-11-11, 00:31 UTC

Post by *bbbslayer »

New version is wonderful.

Finally I can change the ui font size.

Thank you very much!
jp_roth
Junior Member
Junior Member
Posts: 18
Joined: 2011-07-08, 00:43 UTC

Post by *jp_roth »

Pretty impressive changelog. Really great work. Happy new year!
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

There was a lot more new lines in http://bluesoft.hu/system/download/dl.php?id=2 than in http://bluesoft.hu/software/tcextDir/lng_eng_v1.6RC1_diff.zip since my last translation.

Danish translation for extDir v1.6 RC1 can now be downloaded at http://madsenworld.dk/tcmd/lng_dan16rc1.zip

A little glitch:

In the change attributes popup menu there is an extra space or two before the dash in front of "System" - see: http://madsenworld.dk/tcmd/extdir1.png - maybe there is also extra space in front of Read-only (Skrivebeskyttet)?
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
SAPetrovich
Junior Member
Junior Member
Posts: 4
Joined: 2012-01-02, 05:51 UTC
Location: Russia

Post by *SAPetrovich »

v1.6 RC1:
1 - Not work options "Close Ihe window after directory creation";
2 - Not work options "Enable replacements" - replacements always enabled.
User avatar
Bluestar
Senior Member
Senior Member
Posts: 377
Joined: 2007-06-10, 15:26 UTC
Location: Hungary
Contact:

Post by *Bluestar »

@bbbslayer: You're welcome. =)

@jp_roth: Thanks, for you too.

@petermad:
Thank you for the updated Danish language file... you're right, the first "lng_eng_v1.6RC1_diff.zip" was incorrect, later i've updated the link because it didn't contain all the new lines of v1.6... sorry for the inconvenience.

I'll try to fix the extra space problem in RC2 with checking the current system font's characters width, and adding just as many spaces as needed (instead of fix number of spaces). Another alternative could be to use / write a component which allows to display multicolumn popupmenus...

@SAPetrovich:
Sorry, i can't reproduce - these options are working correctly here (W7SP1, x86)...
Could you please answer the following questions:
- What is your current OS?
- 32 or 64 bit?
- Are you using any special "tc extDir.ini" configuration settings?
- Can you see a "Log" directory inside the utility's dir? In case yes, could you please send me the logfile which can be found inside this folder?
» Developer of Total Updater & extDir utility.
User avatar
SAPetrovich
Junior Member
Junior Member
Posts: 4
Joined: 2012-01-02, 05:51 UTC
Location: Russia

Post by *SAPetrovich »

@SAPetrovich:
Sorry, i can't reproduce - these options are working correctly here (W7SP1, x86)...
Could you please answer the following questions:
- What is your current OS?
- 32 or 64 bit?
- Are you using any special "tc extDir.ini" configuration settings?
- Can you see a "Log" directory inside the utility's dir? In case yes, could you please send me the logfile which can be found inside this folder?
_________________
OS: WinXP Pro SP2 32bit
Total Commander v8.0 betta 13 32bit (16.12.2011)

Content "Log\tc extDir.log":

Code: Select all

FormName.......: tc_extDirForm
Func/Proc......: LoadMkDirHistory
EClassName.....: EAccessViolation
ErrorMsg.......: Access violation at address 6E4C0069. Read of address 6E4C0069
PrgVer.........: 1.6 RC1 (31-12-2011)
OS.............: Windows XP (x86)
Language.......: Русский
Date...........: 03-01-2012|14:22:21
-----
Content "tc extDir.ini":

Code: Select all

[Language]
CurrentLng=RUS
;CurrentLng=lng_rus.ini

[Additional]
Replacements=False
EnterDirectory=False
CloseWindow=True

[Configuration]
LastSelectedPage=0
SuggestedName=0
CustomDirName=
InvalidCharAction=1
InvalidCharReplace=_
WindowPosition=1
FlatButtons=False
UseWindowTheme=False
SelectedTheme=0
AlphaBlendValue=255
FocusTCAfterCreate=False
TC8B10Method=True
TC8B10FixExt=False

[ReplaceChars]
"=''
/=-
?=#
<={
>=}
{u}={user}
{wamp}={wact}

[UserTemplates]
YYYY-MM-DD=%Y-%N-%D

[PrefixSuffix]
DirPrefix=
DirSuffix=
DirPrefixActive=False
DirSuffixActive=False
Post Reply