Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
constantly run macro
#1
I've made a macro that opens notepad only if the hour is 4, meaning it could be any time between 4:00 and 4:59.
Code:
Copy      Help
str t
t.time("%I")
if t = 04
    run "notepad.exe"
I want this program to run constantly, and when the hour turns 4, notepad opens. Is there any way to do this?

also, i would like to know if there is any way for it to open if the hour is an odd number.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)