AutoHotkey: Always copy / move in Queue: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
m (Warning about redefining Enter)
m (Typo)
Line 1: Line 1:
This script sends F2 instead of Enter when in Copy or Move dialog.
This script sends F2 instead of Enter when in Copy or Move dialog.


Careful: if you redefine the Enter key, it will not work with as a terminator for hotstrings, see here: http://www.autohotkey.com/forum/viewtopic.php?t=4232
Careful: if you redefine the Enter key, it will not work as a terminator for hotstrings, see here: http://www.autohotkey.com/forum/viewtopic.php?t=4232


  $Enter::
  $Enter::

Revision as of 19:42, 7 February 2006

This script sends F2 instead of Enter when in Copy or Move dialog.

Careful: if you redefine the Enter key, it will not work as a terminator for hotstrings, see here: http://www.autohotkey.com/forum/viewtopic.php?t=4232

$Enter::
If WinActive("ahk_class TInpComboDlg")
	Send, {F2}
else
	Send, {Enter}
return


Back to AutoHotkey