I still cant get any sleep Jerid
Posted by Joe C on October 05, 2001 11:55 AM
I was trying to use the sleep command to pause my macro till the mainframe could catch up, but it doesnt seem to be working, I think in part because the sleep comand causes the entire system to freeze and therefore RUMBA the mainframe interface does not accept my send keys. Is there a command simmilar to sleep but does not freeze Rumba from procesing the last send key.
Currently I am using the wait command but can only figure out how to use it to seconds.
Here is what I am using.
newhour = Hour(Now())
newminute = Minute(Now())
newsecond = Second(Now()) + 1
waittime = TimeSerial(newhour, newminute, newsecond)
Application.Wait waittime