I'm using this code :
HotKeySet("^q", "_hd")
While 1
WEnd
Func _hd()
$oldClip = ClipGet(); get the data that is currently in the clipboard
Send('^c'); copy the selected text to the clipboard
$phrase = ClipGet(); get the data from the clipboard (which is now the selected word)
ClipPut($oldClip); put the old data back in the clipboard
ConsoleWrite($phrase& @CRLF)
EndFuncFirst time of running, he do too good his job, but the second time i press Ctrl+Q, he can not get the selected text that i want. I don't know why, but i've spent 2 days with this problem, i just wonder if we can use CMD or ObjCreate function to do that, without using Send() function with lots of buggy inside. Hope you can help. Thanks so much.