|
-
Mar 4th, 2003, 09:28 AM
#1
Thread Starter
Member
Timer
I need a loop that checks top of every
Hour that states:
If appactive = "Microsoft Word" Then
End If
Else
Shell "C:\Program Files\Microsoft Office\Office\WINWORD.EXE"
But appactivate doesn’t check if the app is running?
SO I need How to set the loop to check every hour and
how to check if Word is already open?
-
Mar 4th, 2003, 09:49 AM
#2
Frenzied Member
check the time every minute to see if the minute = "00" or "0". I'm not sure about how to check if it's running. maybe an API could do this?!
-
Mar 4th, 2003, 10:13 AM
#3
Fanatic Member
You can simply use a timer to check every hour; I believe there's even an API that can do this for you.
As for the Word check app, you can use the FindWindow window. Here's info on how to use it: http://www.vbforums.com/showthread.p...hreadid=233589
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|