Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is there a way to access the time and use in IF statement
#2
So are you wanting a set time or what do you mean?...

Quote:_i=Uniform(1 50)
rep _i
This is going to repeat a random number of times between 1 and 50. I'm not sure exactly whether or not this is what your wanting since I am somewhat confused. But to get the time and date from the clock use this:

Code:
Copy      Help
str s
rep
,s.time("-" "h:mm tt")
,out s
This will put the time and date into the QM Outbox.


I think your wanting to use the code somewhat like this:

Code:
Copy      Help
str s
rep
,s.time("-" "h:mm tt")
,out s
,if s="12:00 AM"
,,mac- "Other Macro"
,30


Please update me and let me know if any of this is kind of what your looking for?
Taking on Quick Macros one day at a time


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)