Differences

This shows you the differences between the selected revisions of the page.

2016-01-07 2017-06-01
pause and clip with local commands (martin) 5.10 Local custom console command output can be copied to clipboard. (martin)
Line 17: Line 17:
When you check neither //Apply to directories// nor //Execute recursively//, the selected directories will be ignored. When you check neither //Apply to directories// nor //Execute recursively//, the selected directories will be ignored.
-Check //Show results in terminal// checkbox to make the output of the custom command be shown in [[ui_console|Console window]]. Check //Copy results to clipboard// checkbox to make the output of the custom command be copied to clipboard. Neither option can be used with [[custom_command#types|local custom commands]]. To keep an output of a local console command in a console window, use syntax like ''cmd.exe /c dir & pause''. To copy an output of a local console command to the clipboard, pipe the command output to ''[[https://technet.microsoft.com/en-us/library/cc754731.aspx|clip]]'' like ''cmd.exe /c dir | clip''.+Check //Show results in terminal// checkbox to make the output of the custom command be shown in [[ui_console|Console window]]. The option cannot be used with [[custom_command#types|local custom commands]]. To keep an output of a local console command in a console window, use syntax like ''cmd.exe /c dir & pause''.  
 + 
 +Check //Copy results to clipboard// checkbox to make the output of the custom command be copied to clipboard. The option can be used with [[custom_command#types|local custom commands]] //only in the latest beta version//. &beta To copy an output of a local console command to the clipboard //in the latest stable version//, pipe the command output to ''[[https://technet.microsoft.com/en-us/library/cc754731.aspx|clip]]'' like ''cmd.exe /c dir | clip''. This of course makes sense with console applications only.
Check //Use remote files// with a local custom command to make ''!'', ''!&'' and ''!/'' [[custom_command#patterns|patterns]] refer to remote paths, instead of paths to a local copy of the remote files (prevents the download itself too). Check //Use remote files// with a local custom command to make ''!'', ''!&'' and ''!/'' [[custom_command#patterns|patterns]] refer to remote paths, instead of paths to a local copy of the remote files (prevents the download itself too).
The //Keyboard shortcut// box is where you can associate [[custom_key_shortcuts|custom keyboard shortcut]] with the custom command. The //Keyboard shortcut// box is where you can associate [[custom_key_shortcuts|custom keyboard shortcut]] with the custom command.

Last modified: by martin