Login | |
|
 |
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?
|
|
| |
|
|
|
 |
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.
|
|
| |
|
|
|
 |
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.
|
|
| |
|
|
|
 |
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
|
|
| |
|
|
|
 |
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.
|
|
| |
|
|
|
|
|