Hi to all!
Is there any solution to make TC to remember a specific files sorting mode (say, by date of modification) for certain folder? Say, the current folder is C:\AAA and sort mode is [by name]. Now I go the folder D:\YYY and TC automatically switch sorting mode to [by date]
Obviously it's not possible with regular CD command (Hot Directories list menu), but may be any other solution?
I suggest it to be possible with AutoHotKey or other similar script handler, but is there any simpler and, I'd say, more TC-native way?
Thanks!
specific files sort mode for certain folder - any solution?
Moderators: Hacker, petermad, Stefan2, white
Try to create user-command that will use e.g. TCMC tool to change directory and then switch sorting (using internal commands like cm_SrcByName or cm_SrcByDateTime). So it should be something like:
You can call such command from directory hotlist item.
Code: Select all
TCMC.exe CDS "D:\YYY" "" CMcm_SrcByDateTime
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
2MVV
2Balderstrom
Thank you, I'll examine this TCMC. Is it enough to install it and use your code or I have to configure this utility in certain way or make some other nesessairy preparations?Try to create user-command that will use e.g. TCMC
2Balderstrom
I have TC 32bit and TwinKey installed, but use it very few. Could you please give a bit additional explanations, wich function you mean?TwinKey has it built-in to it's native functions
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
Launch the TwinKey binary, look at ViewMode
The first drop-down on the right, "TC View"
To make it work automatically, you need to configure "Auto Switch"
Choose a ViewMode that you just created,
And add a matching folder structure below,
Here's an example that displays an MP3 album's cover as the background:
View Modes
Mode list:
[x] MP3s
Description: MP3 Folders
TC View: <blank>
Tab color: <purple>
Tab icon: <music note>
Sort Files by [2] column
Background Picture: .\Cover.jpg
Auto Switch
[x] Enable
[x] Keep manual view switching in the same scope
View Mode: MP3s
Folder Filter:?X:\_H_\S2_AUDIO\*|!*\_ARTIST_\*\*
The folder filter looks complicated, but it's generated by the easier to define Match/Pattern below:
CAN contain: X:\_H_\S2_AUDIO\*
MUST contain: *\_ARTIST_\*\*
--- Which will match any folders like:
X:\_H_\S2_AUDIO\_ARTIST_\<ARTIST_NAME>\<ALBUM>\*
e.g.
X:\_H_\S2_AUDIO\_ARTIST_\30 Seconds to Mars\2002_30 Seconds to Mars\
The first drop-down on the right, "TC View"
To make it work automatically, you need to configure "Auto Switch"
Choose a ViewMode that you just created,
And add a matching folder structure below,
Here's an example that displays an MP3 album's cover as the background:
View Modes
Mode list:
[x] MP3s
Description: MP3 Folders
TC View: <blank>
Tab color: <purple>
Tab icon: <music note>
Sort Files by [2] column
Background Picture: .\Cover.jpg
Auto Switch
[x] Enable
[x] Keep manual view switching in the same scope
View Mode: MP3s
Folder Filter:?X:\_H_\S2_AUDIO\*|!*\_ARTIST_\*\*
The folder filter looks complicated, but it's generated by the easier to define Match/Pattern below:
CAN contain: X:\_H_\S2_AUDIO\*
MUST contain: *\_ARTIST_\*\*
--- Which will match any folders like:
X:\_H_\S2_AUDIO\_ARTIST_\<ARTIST_NAME>\<ALBUM>\*
e.g.
X:\_H_\S2_AUDIO\_ARTIST_\30 Seconds to Mars\2002_30 Seconds to Mars\
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.