-
Topic
-
I am trying to launch a local application from within a Formativ applet using the RUN method of the WScript.Shell object.
object.Run (Command [, WindowStyle] [, WaitOnReturn])
If I set the WaitOnReturn parameter to TRUE, the applet script pauses and waits for the second app to close before continuing. The problem is that the applet window disappears (or is hidden) and only reappears when the second app exits.
The applet launches on the SEND event, and when users try to switch between the second app and their composing message, and they find that the applet window has disappeared, they click on SEND to get it back. But this crashes Groupwise (since the second app is still running and the applet script hasn’t finished executing.)
Any idea how I can work around this so that Groupwise doesn’t crash everytime the user tries to relaunch the applet from the SEND event? The user must be able to switch back and forth between the applet and the local application, while still being able to return values to the applet from the application.
Thanks.
- You must be logged in to reply to this topic.