|
Post by Benjamin on Nov 3, 2018 2:08:22 GMT
Hello all, I'm looking for a way to simply have a command line wait for a few seconds.
As it stands, I have a few actions occurring, and then a line with a several second long time, and I want no action in it. This causes the program to throw an error. I've tried actions like wait, none, null, even leaving it blank....all of these still throw an error.
Here's what I'm doing:
1 | 760 | 506 | 272 | Keypress f12
2 | 745 | 486 | 268 | Left Click Down
3 | 745 | 486 | 124 | Left Click Release
3 | 745 | 486 | 4824 | wait
Appreciate any advice, thanks.
|
|
|
Post by Johnc on Nov 3, 2018 16:50:01 GMT
|
|
|
Post by Steve on Nov 4, 2018 6:42:32 GMT
Hi Benjamin,
Other than conditions using a WAIT action you can also run a Mouse Movement with no X and Y set. With no X and Y set for the mouse movement the mouse will not move but it will wait the time allocated.
For example to add to your macro above:
1 | 760 | 506 | 272 | Keypress f12 2 | 745 | 486 | 268 | Left Click Down 3 | 745 | 486 | 124 | Left Click Release 4 | X | X | 4800 | Mouse Movement Line 4 above is a mouse movement with 'X' for the mouse x and y coordinates and a wait time of 4800 milliseconds. 'X' for the coordinates evaluates to 'skip' that movement. So effectively line 4 skips both X and Y mouse movement but still waits 4800 milliseconds.
Alternatively, Johnc hit the mark with the condition to wait 20 seconds.
1 | 760 | 506 | 272 | Keypress f12 2 | 745 | 486 | 268 | Left Click Down 3 | 745 | 486 | 124 | Left Click Release 4 | RUN ACTION | WAIT SECONDS | 20 Hope this helps.
Regards, Steve
|
|