A couple of feature requests: FTP and duplicated buttons
Moderators: Hacker, petermad, Stefan2, white
A couple of feature requests: FTP and duplicated buttons
Hi TC users,
I was going to post a couple of feature requests for the next version of TC, when I found one has already been posted:
FTP Transfer in Background Keyboard Hotkey
The other one is about the button bar: IMO it would be useful if the cm_GotoPreviousDir and cm_GotoNextDir commands could be duplicated for both the directory listings.
This could be useful also for other buttons to quickly access some of the most used functions.
Thanks to Christian Ghisler for such an excellent software and keep up the good work!
I was going to post a couple of feature requests for the next version of TC, when I found one has already been posted:
FTP Transfer in Background Keyboard Hotkey
The other one is about the button bar: IMO it would be useful if the cm_GotoPreviousDir and cm_GotoNextDir commands could be duplicated for both the directory listings.
This could be useful also for other buttons to quickly access some of the most used functions.
Thanks to Christian Ghisler for such an excellent software and keep up the good work!
Albegor
www.albegor.com
www.albegor.com
- franck8244
- Power Member
- Posts: 704
- Joined: 2003-03-06, 17:37 UTC
- Location: Geneva...
That's not what I meant since SyncChangeDir "mirrors" the changes made to a dir listing to the other one, while I proposed a back or forward command button that could act independently on one of the two dir listings.franck8244 wrote:Have you tried the : cm_SyncChangeDir command ?
Thanks anyway.

Albegor
www.albegor.com
www.albegor.com
- franck8244
- Power Member
- Posts: 704
- Joined: 2003-03-06, 17:37 UTC
- Location: Geneva...
What you want can be easily be done with TCSript Editor:
GoBothToPrevious.tcs
GoBothToNextDir.tcs
GoBothToPrevious.tcs
Code: Select all
#include VKeys.h
postCmd(cm_GotoPreviousDir);// for current panel
SendVkey(VK_TAB,2);//switch panel
postCmd(cm_GotoPreviousDir);//for the other panel
SendVkey(VK_TAB,2);//switch panel
Code: Select all
#include VKeys.h
postCmd(cm_GotoNextDir);// for current panel
SendVkey(VK_TAB,2);//switch panel
postCmd(cm_GotoNextDir);//for the other panel
SendVkey(VK_TAB,2);//switch panel
TC#88260 -
I have to learn more about the TCSript Editor, but that's very interesting, thanks!
However that script seems to act on both the dir listings, while I need one which can act on panel 1 and another one on panel 2 so that I can assign them to two different back (or forward) buttons.
Can the "postCmd(cm_GotoNextDir)" act on a specific panel or only on the currently active one?
However that script seems to act on both the dir listings, while I need one which can act on panel 1 and another one on panel 2 so that I can assign them to two different back (or forward) buttons.
Can the "postCmd(cm_GotoNextDir)" act on a specific panel or only on the currently active one?
Albegor
www.albegor.com
www.albegor.com
- StickyNomad
- Power Member
- Posts: 1933
- Joined: 2004-01-10, 00:15 UTC
- Location: Germany
2Albegor:
you can insert the commands 'cm_focusleft' and 'cm_focusright' to set the focus to the desired file panel before changing the directory. Add this to your TC Script:
left:
right:
Using TC Script is quite easy, so you can acheive your goal within a few minues, i guess.
you can insert the commands 'cm_focusleft' and 'cm_focusright' to set the focus to the desired file panel before changing the directory. Add this to your TC Script:
left:
Code: Select all
postCmd(cm_focusleft); // activate left panel
postCmd(cm_GotoPreviousDir); // go back
Code: Select all
postCmd(cm_focusright); // activate right panel
postCmd(cm_GotoPreviousDir); // go back
- franck8244
- Power Member
- Posts: 704
- Joined: 2003-03-06, 17:37 UTC
- Location: Geneva...
I made the scripts this way because :
Albegor is right for activate the "good" panel
but I rarely need it...
So I made the same change (cm_GotoPreviousDir or cm_GotoNextDir) in both panel without knowing wich one was activate but I returned to the activate one at the end, that's why there is 2 command : "SendVkey(VK_TAB,2);//switch panel "it would be useful if the cm_GotoPreviousDir and cm_GotoNextDir commands could be duplicated for both the directory listings.
Albegor is right for activate the "good" panel

TC#88260 -
Thank you all for your prompt reply... need to learn more about TC Script as soon as I find the time. It seems very powerful! 

Albegor
www.albegor.com
www.albegor.com