Hi, I have been using many hours trying to make a very simple script, but now I give up - and ask for a little help
I would like to start my script by pressing a key. Then the script should do some more keypress. But I can't get my script to start when I press the hotkey I have defined.
Here is my script.
HotKeySet("{Pause}", "test")
Func test()
Run("notepad.exe")
WinWaitActive("Unavngivet - Notesblok")
Send("This is some text.")
EndFunc
So for now I would like to press the Pause key, and then the script should start.
Thanks
Steen