I purchased FastKeys just four days ago as a replacement for AutoHotkey.
My issue is most likely newbie "finger trouble" but I cannot find a solution.
Almost everything in FastKeys is working perfectly but I encounter an error if I attempt to use "Command" to run AutoHotkey code containing the "WinWait" command. An example is shown below:
Run, E:\OneDrive\Manuals_Software
WinWait, E:\OneDrive\Manuals_Software, , 0,
WinMove, , , -920, 320, 800, 700
The first line is executed but the script is terminated at WinWait.
If I delete the timeout parameter, the script hangs and FastKeys becomes unresponsive.
If I paste the above text into an .ahk file and run the file with FastKeys, it works perfectly.
This is not causing me any issues as I can achieve the desired results using script files, but I would like to understand what I am doing wrong.
Problem with WinWait command
I tried and this works for me
Code: Select all
Run, D:\Test\Applications\Program
WinWait, Program, , 3
WinMove, Program, , 1, 320, 2000, 1000