Kenward Posted February 18, 2007 Report Share Posted February 18, 2007 I have a timed macro that starts a program at 9 o'clock in the morning, after the PC, which starts at 7, has done its housekeeping. If I restart the computer during the day, I have to restart the program manually. I would like to run a macro at startup that would check the time, then if it is after 9 o'clock it runs the program. If it before 9 o'clock, then nothing happens. I have looked for some sort of "get time" thingy, but can't see it. Probably me being inexperienced. It may even be in the Help file, but that crashes every time I use it. (See other message.) Quote Link to comment Share on other sites More sharing options...
wbeldman Posted February 18, 2007 Report Share Posted February 18, 2007 Use Variable Set Integer, tab Option 2 Variable Set Integer %N90% from Current Hour If Variable %N90% < 9 Macro Return End If Quote Link to comment Share on other sites More sharing options...
Kenward Posted February 18, 2007 Author Report Share Posted February 18, 2007 Use Variable Set Integer, tab Option 2 Variable Set Integer %N90% from Current Hour If Variable %N90% < 9 Macro Return End If Looks good. I'll give it a whirl. Ta. 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.