Here's what I have:
I want to make #1 run if the application is already up and #2 run if the application is not up. I think I would use some sort of if then statement, but I need help. Can you help me?
1. AppActivate ("1-bloomberg"
2. AppActivate Shell("c:\blp\wintrv\wintrv.exe"
3. newHour = Hour(Now())
4. newMinute = Minute(Now())
5. newSecond = Second(Now()) + 10
6. waitTime = TimeSerial(newHour, newMinute, newSecond)
7. Application.Wait waitTime
8. SendKeys "TOUR INSTALL{enter}"
I want to make #1 run if the application is already up and #2 run if the application is not up. I think I would use some sort of if then statement, but I need help. Can you help me?
1. AppActivate ("1-bloomberg"
2. AppActivate Shell("c:\blp\wintrv\wintrv.exe"
3. newHour = Hour(Now())
4. newMinute = Minute(Now())
5. newSecond = Second(Now()) + 10
6. waitTime = TimeSerial(newHour, newMinute, newSecond)
7. Application.Wait waitTime
8. SendKeys "TOUR INSTALL{enter}"