Press Down * randnum

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
macroman
Pro Scripter
Posts: 91
Joined: Mon Jun 02, 2014 5:32 am

Press Down * randnum

Post by macroman » Tue Jan 27, 2015 3:09 am

Hi all,

I'm trying to have the script press down a random amount of time.

Here's what I have

Code: Select all

Random>70,waitrand
Press Down * waitrand
the above does not work nor will

Code: Select all

Press Down * %waitrand%
any advice is greatly appreciated!

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: Press Down * randnum

Post by Marcus Tettmar » Tue Jan 27, 2015 5:36 am

This ...

Random>70,waitrand
Press Down * %waitrand%

... will press down between 0 and 69 times.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts