This applet demonstrates the Windows Shell code. You can change the run method parameter (WAIT_PRGM_CLOSE) so that:a) the applet waits until the program finishes before continuing (WAIT_PRGM_CLOSE = TRUE), orb) the applet continues directly after starting the program (DEFAULT) (WAIT_PRGM_CLOSE = FALSE). This applet will execute notepad.exe (if exists in your Windows folder). See below the run method details. The Run() method of the Shell object takes three parameters: Parameter 1: is the command line to run any program. Parameter 2: is an integer, which sets the window type for that program. Here, we use the value 1, which displays the program's window and gives it the focus. (The value 6 will minimize the window without giving it the focus.) Parameter 3: can be True or False. If True, the applet will wait until the program is closed or done before continuing to the next line (set the WAIT_PRGM_CLOSE constant).INTEGRATIONS: GroupWise Main Toolbar.
*The installation file contains one or more Formativ applets, a brief help text file and any data required by the solution.
Note: To run the free applets available on this page, you will need to install one of the Formativ products below:
- Runtime - For GroupWise users. Formativ Runtime is a low cost engine for running an unlimited number of Formativ solutions for GroupWise.
- Developer - For GroupWise developers. Formativ Developer enables rapid GroupWise enhancement, customization and creation of enterprise solutions. Use Developer to run, customize and extend the free solutions available from Formativ Applet Central.
Visit the Formativ Applet Central site for more information.
Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).
It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.