Page 1 of 1

Autohotkey script to copy & open in main window

PostPosted: Sat Oct 04, 2014 8:35 am
by Demid
I'm learning AutoHotkey to automate my work. Can anybody suggest a good solution for copying the highlighted text to Clipboard and sending it to the main window using a hotkey combination such as Shift+Control+Q. This shortcut is specified in my GD settings with the options "Send to Main Window" checked. The only working script I've been able to devise by trial and error is this:
^+z::
Send ^c
Send ^c
Send ^+q
Sleep 50
Send ^+q
Return

It looks clumsy . Can anybody suggest a better one? Thank you.