AutoHotkey Community

It is currently May 27th, 2012, 1:33 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: RunWait with Timeout
PostPosted: August 30th, 2005, 9:10 pm 
Offline

Joined: August 15th, 2005, 2:57 pm
Posts: 57
I need to run a WMI query against a computer using VBS. When I do this and the computer has the firewall up it takes forever to timeout (about 60 seconds).

I searched the help file and found some timeout options but not for RunWait.

It would be nice if you could tell RunWait to stop trying after a specified time period.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 30th, 2005, 10:55 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
Although the use for a timeout in RunWait seems somewhat rare, I've added it to the to-list.

In the meantime, the way to mirror RunWait is to have the Run command give you the PID. Then check the existence of the PID periodically via Process Exist.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Leef_me and 5 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group