[WISH] do same action at once on both panels
Moderators: Hacker, petermad, Stefan2, white
[WISH] do same action at once on both panels
I often compareDirs (cm_CompareDirs). Then to restore previous situation (eg. display all files then unselect all files on both panels) I have too many operations to do : 1) cm_LeftAllFiles 2) cm_RightAllFiles 3) goto left panel 4) cm_ClearAll (left panel) 5) goto right panel 6) cm_ClearAll (right panel).
I'd wish a solution to minimize the number of these operations.
I see 3 possibilities :
1) to be able to execute many internal commands at once (eg. in command line enter "cm_LeftAllFiles cm_RightAllFiles cm_FocusLeft cm_ClearAll cm_FocusRight cm_ClearAll"). One would be able to create a usercmd which contains all these internal commands.
2) to have cm_bothXXXX similar to all internal commands cm_leftXXXX but for the two panels
3) to have a flag (a bit like cm_SyncChangeDir), say cm_bothToggle. If on, cm_leftXXXX acts like cm_leftXXXX followed by cm_rightXXXX
What do you think ?
I'd wish a solution to minimize the number of these operations.
I see 3 possibilities :
1) to be able to execute many internal commands at once (eg. in command line enter "cm_LeftAllFiles cm_RightAllFiles cm_FocusLeft cm_ClearAll cm_FocusRight cm_ClearAll"). One would be able to create a usercmd which contains all these internal commands.
2) to have cm_bothXXXX similar to all internal commands cm_leftXXXX but for the two panels
3) to have a flag (a bit like cm_SyncChangeDir), say cm_bothToggle. If on, cm_leftXXXX acts like cm_leftXXXX followed by cm_rightXXXX
What do you think ?
2Hacker
It works with Alt-N as AHK hotkey. With a Ctrl hotkey, here it works bad (it runs on each tab).
2Christian
Could you add
1) a system of usercmd which executes two or more internal commands in a row (separated by a blank)
2) cm_bothPanesXXXX for each ad hoc cm_scrXXXX
2Sosna
What I ask is only for cm_srcXXXX related to display, then no risk of interference.
Yes, I tried code like this :Well, for now we use AutoHotkey for such tasks
Code: Select all
!n::
;Alt-n
IfWinActive ahk_class TTOTAL_CMD
{
;send cm_clearAll
PostMessage, 1075, 524, , , ahk_class TTOTAL_CMD
;send cm_SrcAllFiles
PostMessage, 1075, 312, , , ahk_class TTOTAL_CMD
sleep,100
send, {Tab}
;idem on other pane
PostMessage, 1075, 524, , , ahk_class TTOTAL_CMD
PostMessage, 1075, 312, , , ahk_class TTOTAL_CMD
sleep,100
send, {Tab}
}
return
2Christian
Could you add
1) a system of usercmd which executes two or more internal commands in a row (separated by a blank)
2) cm_bothPanesXXXX for each ad hoc cm_scrXXXX
2Sosna
Code: Select all
1. TC won't execute more than 1 command simultaneously, because of risk of using same files and interference of their actions.
With cm_SyncChangeDir on, actually you go to the same subdir on both panes. With cm_bothToggle, while it is on, we could have the same display (same filter, same agencement of columns, same order of sort,...) on both panes. That is, the src display (filetr, sort...) would be applied automatically to other pane.to have a flag (a bit like cm_SyncChangeDir), say cm_bothToggle. If on, cm_leftXXXX acts like cm_leftXXXX followed by cm_rightXXXX
Mistake...how do i remove a post?
Last edited by Marieke on 2006-12-04, 12:06 UTC, edited 1 time in total.
Groetjes - Marieke P. - #117942
Many Thanks from Holland - (We love Quick and Dirty Solutions)m^2 wrote:I wrote a quick and dirty solution.
Click.
Groetjes - Marieke P. - #117942