Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


VBS execution pauses until application is closed

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

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> VBS execution pauses until application is closed
  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 >>
 VBS execution pauses until application is closed - 7/7/2007 4:48:22 PM   
  tokiwoki

 

Posts: 8
Score: 0
Joined: 3/3/2007
Status: offline
I've written a script that loads a .ppt file then presses F5, but the problem is that VBS doesn't go beyond the line that starts the .ppt file until the file is closed.  After that, it proceeds as normal.  I'm not too sure why this happens since the code is based on another one I wrote for another application which worked just fine.

Any ideas?  Here's the full code


      
 
 
Post #: 1
 
 RE: VBS execution pauses until application is closed - 7/8/2007 5:22:46 AM   
  dm_4ever


Posts: 2663
Score: 46
Joined: 6/29/2006
From: Orange County, California
Status: offline
The reason it won't proceed is this


CommandShell.Run cmdline, 1, True 'you're telling it to wait; just take that out or change it to False

_____________________________

dm_4ever

My philosophy: K.I.S.S - Keep It Simple Stupid
Read Me: http://www.visualbasicscript.com/m_24727/tm.htm
Frequently Asked Stuff: http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to tokiwoki)
 
 
Post #: 2
 
 
 
  

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 >> VBS execution pauses until application is closed 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