Hello,
What is the internal command for the option "Also select directories" under "Selection (with Gray +)" under the Operation configuration box?
I would like to switch around between "Select files only" and "Also select directories" easily by adding a toolbar button, but I don't know what the internal command for that option is. Thank you!
internal command for "Also select directories with Gray
Moderators: Hacker, petermad, Stefan2, white
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
Unfortunately there is no such command, but with Aezay's Script you can automatize the task:
This toggles the setting " Selection (with Gray + ) ".
Careful, when new versions of TC come out, the layout of the config dialog might change, then you might need to simulate more or less tab keypresses.
Code: Select all
#include "Scripts\VKeys.h"
PostCmd( cm_Config2 );
SendVKey( VK_TAB, 2 );
SendVKey( VK_TAB, 2 );
SendVKey( VK_TAB, 2 );
SendVKey( VK_TAB, 2 );
SendVKey( VK_LEFT, 2 );
SendVKey( VK_RETURN, 2 );
Careful, when new versions of TC come out, the layout of the config dialog might change, then you might need to simulate more or less tab keypresses.
I switched to Linux, bye and thanks for all the fish!