internal command for "Also select directories with Gray

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
firefan
New Member
New Member
Posts: 1
Joined: 2005-02-15, 02:46 UTC

internal command for "Also select directories with Gray

Post by *firefan »

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!
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

Unfortunately there is no such command, but with Aezay's Script you can automatize the task:

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 );
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.
I switched to Linux, bye and thanks for all the fish!
Post Reply