Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Client side Sleep

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,39033
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Client side Sleep
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Client side Sleep - 10/23/2006 5:27:07 AM   
  swiftoid


Posts: 31
Score: 0
Joined: 10/20/2006
Status: offline
Hello. I am having problems getting my vbs script to pause while it is running.
The problem is that it is running under internet explorer so there are none of the
WScript.      (e.g. Wscript.sleep)
functions. I tried just using
sleep 10
but this doesn't work either.
Is there a way of getting my program to pause for 1 or 2 seconds before continuing?

(note: Please don't ask for whole code as I know it is not an error with the code I just don't know how to get a Client Side vbs script to PAUSE)

_____________________________

Jamie Swift
<!---The Swiftanator---!>
www.swiftscripts.co.uk
 
 
Post #: 1
 
 RE: Client side Sleep - 10/23/2006 5:46:50 AM   
  ebgreen


Posts: 5246
Score: 31
Joined: 7/12/2005
Status: offline
Search. It has been covered before.

_____________________________

"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to swiftoid)
 
 
Post #: 2
 
 RE: Client side Sleep - 10/23/2006 7:26:44 AM   
  Country73


Posts: 735
Score: 10
Status: offline
You could look into using a Timer; there's quite a few posts that have come out recently covering this for HTA's.
One better, you may want to look into the WSH_Documents.

(in reply to swiftoid)
 
 
Post #: 3
 
 RE: Client side Sleep - 10/24/2006 2:00:55 AM   
  swiftoid


Posts: 31
Score: 0
Joined: 10/20/2006
Status: offline
Hey thanks! I've looked back through the posts and found what I'm looking for. I don't know what I would have done without this forum. I don't normally do vbs programing but I have really needed to recently and all the help given on this forum has been great. Thanks very much guys. If you every need some scripts for other languages like php, javascript etc. either email me or check the script library on my website www.swiftscripts.co.uk

Thanks again

_____________________________

Jamie Swift
<!---The Swiftanator---!>
www.swiftscripts.co.uk

(in reply to Country73)
 
 
Post #: 4
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Client side Sleep Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts