Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


WshShell.Run issue

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

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> WshShell.Run issue
  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 >>
 WshShell.Run issue - 11/10/2004 11:26:59 PM   
  Snipah


Posts: 1343
Score: 6
Joined: 11/1/2004
From: Netherlands
Status: offline
Hiya


      

The RED-part doesn't work, who would know anything?

I have also tried the AppActivate, but that will not work with the the pFile that i am trying to run. So this is my only alternative.

_____________________________

For more information, please see the "Read me First" topic.

http://www.visualbasicscript.com
 
 
Post #: 1
 
 Re: WshShell.Run issue - 11/10/2004 11:34:27 PM   
  mbouchard


Posts: 1863
Score: 14
Joined: 5/15/2003
From: USA
Status: offline
What do you mean it does not work? What doesn't work about it?

(in reply to Snipah)
 
 
Post #: 2
 
 Re: WshShell.Run issue - 11/11/2004 3:23:18 AM   
  Snipah


Posts: 1343
Score: 6
Joined: 11/1/2004
From: Netherlands
Status: offline
Because the application which i start does run, but the script doesn't wait for the app to be closed to continue running. The script runs while the app is loaded, not when it's closed.

(in reply to Snipah)
 
 
Post #: 3
 
 Re: WshShell.Run issue - 11/11/2004 3:26:47 AM   
  mbouchard


Posts: 1863
Score: 14
Joined: 5/15/2003
From: USA
Status: offline
I have noticed this happening on some apps that I am loading. It is possible that after launching the app, it is spawning child processes and killing the parent process. Watch the taskmanager to see if this is the case.

(in reply to Snipah)
 
 
Post #: 4
 
 Re: WshShell.Run issue - 11/11/2004 3:33:04 AM   
  Snipah


Posts: 1343
Score: 6
Joined: 11/1/2004
From: Netherlands
Status: offline
It doesn't do that, the program itself opens in a NTVDM (16 bit) environment. (so maybe it does do that..., i am officially lost with this. It may be the app that i am trying is too hard to get this done, that would be a shame)

I was also searching for a alternative where i can screen the PID and, just like the AppActivate = FALSE works, tried to handle that with the PID, so far..unsuccessfull

(in reply to Snipah)
 
 
Post #: 5
 
 Re: WshShell.Run issue - 11/11/2004 4:07:46 AM   
  mbouchard


Posts: 1863
Score: 14
Joined: 5/15/2003
From: USA
Status: offline
Take a look at www.hiddensoft.com, they wrote AutoIT which has some features that may help you with this.

(in reply to Snipah)
 
 
Post #: 6
 
 
 
  

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 >> WshShell.Run issue 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