tigga Posted March 29, 2010 Report Share Posted March 29, 2010 Hello, I am new to all of this, so the solution probably is quite simply, but i cant find the right command. What i want is a macro, that is activated by pressing a certain key. It should then start an action, for example typing <anykey> and simply repeat this. So far this isnt much of a problem. I want to delay the repeat though, and not only by a certain time, but a randomly generated time within limits i set. e.g. repeat typing "hello" every 1-2 minutes. i then want it to count +1 and stop at a certain number of counts ... this again probably isnt much of a problem. so far i am stuck with generating the random delay though. Any help is greatly appreciated. ps: mind my english, i am not a native speaker ;-) Quote Link to comment Share on other sites More sharing options...
xxevilfrogxx Posted March 29, 2010 Report Share Posted March 29, 2010 Why do you want random time?? Thanks Quote Link to comment Share on other sites More sharing options...
kevin Posted March 29, 2010 Report Share Posted March 29, 2010 You could try something like this: Variable Set Integer %N1% with a Random Number Delay %N1% Seconds Quote Link to comment Share on other sites More sharing options...
XAntares Posted July 16, 2010 Report Share Posted July 16, 2010 hello kevin, im trying to press a key (f12). if tilte "save to" appears, then macro should be continue. Variable Set Integer %N1& to 0 Repeat Until %N1%=1 delay 5 secounds text type F12 Repeat End after save to appears macro should be continue with commands (a programm is working, i dont know how long, if i press key f12 save to appears. so program is finished with working). Quote Link to comment Share on other sites More sharing options...
XAntares Posted July 19, 2010 Report Share Posted July 19, 2010 OK, I got it, without any help. Variable Set Integer %N1& to 0 Repeat Until %N1%=1 delay 5 secounds text type F12 if Window title "save to" is on top break end if Repeat End Now Programm is waiting for title "save to" and macro could be continue. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.