$IClip
The $IClip macro-command helps to organize the clipboard usage.
FAR Manager uses the standard Microsoft Windows clipboard to perform
copy/paste operations by default. This macro-command can switch between the usage
of the internal FAR clipboard or the standard Windows clipboard within a single macro.
Works as a trigger.
$IClip
Arguments
None.
Notes
- It is impossible to use macro-language elements while recording a macro in a usual way. Macro-language elements can be added to the sequence only by editing the registry manually or by using special applications or FAR plugins.
Example
REGEDIT4 ;quick find the file in the passive panel with the same name as selected in the active panel ;sequence F5 ShiftEnter CtrlIns is used to get the file name independently ;of the state of the command line and number of selected files in the panels [HKEY_CURRENT_USER\Software\Far\KeyMacros\Shell\CtrlAltLeft] "Sequence"="$IClip $If (((Bof && APanel.Root) || !Bof) && PPanel.Visible) $If (fexist(PPanel.Path+\"\\\\\"+APanel.Current) == 1) F5 ShiftEnter CtrlIns Esc Tab Home Alt< ShiftIns Esc $End $End" "DisableOutput"=dword:00000001 [HKEY_CURRENT_USER\Software\Far\KeyMacros\Shell\CtrlAltRight] "Sequence"="$IClip $If (((Bof && APanel.Root) || !Bof) && PPanel.Visible) $If (fexist(PPanel.Path+\"\\\\\"+APanel.Current) == 1) F5 ShiftEnter CtrlIns Esc Tab Home Alt< ShiftIns Esc $End $End" "DisableOutput"=dword:00000001
See also: