Page 1 of 1

Alternative F5, F6, F8

Posted: Mon 27 Jul, 2009 14:50
by Joco1114
I would like to switch the build-in F5, F6 and F8 to Background Copy commands. (F11-b-1, 2 and 3)
The problem: I would like to use these macros only in Shell mode, not in archive mode.
Here is my solution, that isnt work! :)
REGEDIT4

[-HKEY_CURRENT_USER\Software\Far2\KeyMacros\Shell\F5]
[HKEY_CURRENT_USER\Software\Far2\KeyMacros\Shell\F5]
"Description"="Copy with Background Copy"
"Sequence"="$If(Shell) F11 b 1 $Else F5 $End"
"DisableOutput"=dword:00000001
"EmptyCommandLine"=dword:00000001
"NotEmptyCommandLine"=dword:00000000
What I need in Sequence? Can I get syntax about it?

Joc

Re: Alternative F5, F6, F8

Posted: Mon 27 Jul, 2009 15:48
by Centaur
If you start macro recording with Ctrl+. and end it with Ctrl+Shift+., a macro settings dialog appears where you can specify that it should only run when neither the active nor passive panels are plugin panels.

Re: Alternative F5, F6, F8

Posted: Mon 27 Jul, 2009 15:54
by Andrey Budko
Joco1114 wrote:The problem: I would like to use these macros only in Shell mode, not in archive mode.
[HKEY_CURRENT_USER\Software\Far2\KeyMacros\Shell\F5]
"Sequence"="F11 b 1 F5"

Background copy\Configure plugin\[x] Check destination panel type

Re: Alternative F5, F6, F8

Posted: Mon 27 Jul, 2009 15:58
by Joco1114
I cant belive, it is so easy! Thank you friends! :)

Joc

Re: Alternative F5, F6, F8

Posted: Mon 27 Jul, 2009 15:59
by Andrey Budko
Joco1114 wrote:I cant belive, it is so easy! Thank you friends!
BCopy\macros\BGcopy.cmd F5