Posts: 67
Threads: 24
Joined: Feb 2009
I know in my macs i use
opt waitforcpu 1
but how can i make it wait for less time, without using a lot of CPU because if i set to waitforcpu 0.1 it completely stops the window
the code is like
rep
,opt waitforcpu -1
,if IsWindowVisible("Tester.txt")
,,key "Works fast"
Posts: 12,072
Threads: 140
Joined: Dec 2002
Always add wait.
rep
,key "xxx"
,wait 0.01
Posts: 67
Threads: 24
Joined: Feb 2009
Thanks that works perfect