Jump to content
Macro Express Forums

archdude

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by archdude

  1. Thanks for the suggestions guys. I was actually able to come up with the script to do what I wanted. My looping event was more than 1 second long so I could not get it acurate down to the second. This was fine with me, minute accuracy was no problem. Here's what I came up with in case anyone's interested. Please keep in mind, I'm not an advanced user, so I'm quite sure I've placed un needed steps in it, but it does what I need it to do. Variables: N1 - Current hour N2 - Hours you need this to run (ex 2 would be to run for 2 hours) N3 - Current hour inside the loop N4 - Current Minute N5 - Minutes you need this to run (ex 2 would be for 2 minutes) N6 - Current minute inside the loop Start of script: Variable Set Integer %N1% from Current Hour Variable Modify Integer %N2% = %N1% + (Hours that you need, must be a #) If Variable %N2% > 23 Varibale Modify Integer %N2% = %N2% - 24 (adjustment for 24 hour clock) End If Variable Set Integer %N4% from Current Minute Variable Modify Integer %N5% = %N4% + (Minutes that you need, must be a #) If Variable %N5% > 59 Variable Modify Integer %N5% = %N5% - 60 (adjustment for 60 minute clock) End If Repeat Until %N5% = %N6% Variable Set Integer %N6% from Current Minute (repeats for amount of minutes) Repeat Until %N2% = %N3% Variable Set Integer %N3% from Current Hour (repeats amount of hours) This is where you put the things you need to be repeated Repeat End Repeat End That's it, I hope this helps anyone that has a similar problem like my own.
  2. Hey Guys, I think I have a solution, but it's turning out to be more complicated than I originally thought. I've found some stuff that I needed for it, and I'm working on a solution to my problem. I'll post if I can get it to work.
  3. Hello, I've got a Macro where I need to repeat a part of it for let's say a variable of 20 minutes (1200 seconds) and then continue on to the next part of the macro. For the life of me, I can't find anything on this. Is this possible? If so, how can it be done? Thanks!
×
×
  • Create New...