Hi every one,
I have a script that calls a gui creating function by hotkey:
Global $hkey
$hkey="!x"
HotKeySet($hkey) ;unregestring the hotkey
HotKeySet($hkey, "creatgui")
then a calls paste command
......
ClipPut("____________________________")
Send("^v")
then
GUIDelete()
HotKeySet($hkey) ;unregestring the hotkey
Everything runs smoothly but,
1- The paste command works several times then it sends ONLY "v".
2- The hotkey works several times then it stop working.
I tried removing the unregestring changing hotkeys and modifiers , Different version of "^v" like "^V", "{CTRLDOWN}" "V" "{CTRLUP}" ,"{Ctrl}v"
also I tried using AutoItSetOption ( "SendKeyDelay" , 0 ),
I got the same broplem, is there a better way for hotkeys and pasting. (pasting to different programms)
ThanX in Advance