VanDyke Software Forums

Go Back   VanDyke Software Forums > Scripting
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-20-2007, 07:10 AM
stobn89 stobn89 is offline
Registered User
 
Join Date: Apr 2007
Posts: 3
VBS Scripting - How to Add a delay into a script?

Hi,

I have a simple VBS script as follows:
Sub Main
crt.Screen.Send "string1" & chr(13) & chr(13) & chr(13)
crt.Screen.Send "string2" & chr(13) & chr(13) & chr(13)
crt.Screen.Send "string3" & chr(13) & chr(13) & chr(13)
crt.Screen.Send "string4" & chr(13) & chr(13)
End Sub
I want to add a delay after string 4 for lets say 60 seconds and either repeat the loop again, or send string 5, string6 etc.

Is this possible with VBS? any tips or pointers would be really helpful.

Thanks

Nick
  #2  
Old 04-20-2007, 07:15 AM
stobn89 stobn89 is offline
Registered User
 
Join Date: Apr 2007
Posts: 3
Hi All,

I found the answer on these forums now, thanks:


http://forums.vandyke.com/showthread.php?t=1553
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:25 AM.


copyright 1995-2014 VanDyke Software, Inc.