The memory is totally not an issue to me (2 Gb RAM on board). I just had some opinions according to your last post. Some of my scripts may consume 100-s Mb of memory, depending on performed operations, and that's normal.
Quote:
nobody except you now wanted that.
And it's totally not a problem if you don't wish to make changes to your script. It's a valuable contribution (I was reading your nice article at WiKi), and you made it free, so that some geeks may change it to sweet their needs
About FavoritesHere's a little selection from my favs, collected in last some... ten years... many of them used very rarely. There aren't any constant favorites. I call them Shortcuts, Ghesler called the menu as Directory HotList. This week my favorites are cmd111...cmd120, next week my favorites are cmd72...79, etc.
cmd11=cd C:\Documents and Settings\Steven\Favorites\
cmd12=cd C:\Documents and Settings\Steven\My Documents\My
...
cmd18=cd I:\Development
cmd19=cd I:\Motion
cmd20=cd I:\OSes
...
cmd30=cd I:\Plug-ins\Graphics\Animation\3ds max
cmd31=cd I:\Plug-ins\Motion\Compositing\After Effects
cmd32=cd I:\Plug-ins\Graphics\Drawing\Illustrator
cmd33=cd I:\Plug-ins\Video\( Multiplatform )
cmd34=cd I:\Plug-ins\Graphics\Photography\Photoshop
cmd35=cd I:\Plug-ins\Motion\Editing\Premiere Pro\
...
cmd40=cd %SYSTEMROOT%
cmd41=cd %SYSTEMROOT%\SYSTEM32
cmd43=cd %USERPROFILE%\Start Menu\Programs\
...
cmd58=cd E:\Adobe\Premiere\Project-Archive
cmd61=cd E:\Software\Tools\InCtrl5
cmd63=cd %USERPROFILE%
cmd65=cd %APPDATA%
...
cmd76=cd E:\Documents\Adobe\Premiere Pro\2.0
cmd77=cd \\Pc2\C\Documents and Settings\PC-2\My Documents\Adobe\Premiere Pro\1.5\Layouts
...
cmd82=cd %PATH_NetData%
cmd83=cd %PATH_NetData%\%COMPUTERNAME%\Settings
cmd85=cd %PATH_NetDataLocal%
cmd86=cd \\PC2\C\Windows\MTW\Network Data
cmd88=cd %PATH_NetDataShared%
...
cmd95=cd %PATH_Scripting%\Scripts\Projects
cmd96=cd E:\Development\Scripting\Scripts\Run Software
cmd98=cd %PATH_Scripting%\Scripts\Software
...
cmd107=cd %PATH_Scripting%\Scripts\Software\Motion\After Effects
cmd108=cd %PATH_Scripting%\Scripts\Software\Motion\Premiere Pro 2
cmd110=cd %PATH_Scripting%\Scripts\Temporary
cmd112=cd %PATH_Scripting%\Structures
cmd113=cd %PATH_Scripting%\Tools
cmd115=cd E:\Development\Scripting\Languages\AutoHotKey
...
cmd133=cd D:\Development\Scripting\WinBatch\System
cmd136=cd D:\2D Graphics\Suites\Adobe Creative Suite 2\Adobe cmd137=cd D:\2D Graphics\Suites\Adobe Creative Suite 2\Adobe cmd138=cd D:\Motion\Compositing\Adobe\After Effects 7\Support Files\Scripts
cmd140=cd E:\Development\Scripting\Tools\Windows API
...
cmd141=cd %COMMANDER_PATH%\Add-ons\
cmd144=cd %PATH_NetDataShared%\Motion\
cmd146=cd E:\Software\Plug-ins\Adobe Premiere Pro\Adorage Magic\
cmd147=cd M:\Effects\Transitions\ProDad Adorage Magic\Favorites\
cmd148=cd D:\Plug-ins\( Multiplatform )\Boris FX, Inc
cmd149=cd E:\Software\Plug-ins\Adobe Premiere Pro\Boris RED\Settings
...
cmd157=cd D:\2D Graphics\Suites\Adobe Creative Suite 2\Adobe Photoshop CS2\Presets\
cmd158=cd E:\Motion Graphics\Software\Premiere Pro\Clipboard Snippets
cmd159=cd E:\Motion Graphics\Software\Premiere Pro\Clipboard Snippets\Timeline\Effects\
cmd160=cd E:\(Backup)\Software\Motion\Editing\Adobe Premiere Pro\Effect Presets\
cmd161=cd E:\Software\Motion\Editing\Adobe Premiere Pro\Effect Presets Classified
There are more than 2 Million files, some 100 000 folders and no free drive letters on my system and a "large" amount of about 200 favorite items
Quote:
it has to create them all again as they are destoryed once you hide the menu.
It's simply because of a wrong unthoughtful design of this part of the tool.
Quote:
I can not compare with wincmd.ini File Modification Date since this file is changed constantly. TC will change other INI sections at will...
Well, if you're all the day sitting in TC, constantly changing options, perform searches, modify the Directory Hotlist, then you're right. Try to be more precise, define "constantly", "at will" more specifically.
There are users of your tool, who only occassionally do some file operations inside TC, but heavily uses the File Dialogs to jump here and there, then you'll understand, that such a simple(!) FileModification check makes sence. Another better way of comparison, which would be better if you're sitting constantly in TC, is to Find the [DirMenu] section and get all the remaining Text up to EOF and store it to a Variable, then, when the menu invoked, compare Previous value to Current.
Please, I don't ask you to do any changes to your script. You're totally right, most users have 10-20 favorite folder and there's only a very slight unnoticeable delay of some 10-50 ms.
Quote:
If this is C code I would of course add that, but since it is already big speaking in AHK therms, I don't think so.... Also, it can not be done successifuly in AHK since I can not install system hook witch is required for this.
I'm interested in comment on this from Chris. Maybe there are plans to allow manually add message hooks, like #InstallMessageHook, or maybe I don't understand what low-level stuff is necessary to quickly accomplish such a File Dialog Window transformation, while it is in Hidden state, before Showing it.