LaunchProgramRequest

Top  Previous  Next

Object: EHL7.CommandoProcessor

FileName: EHL7.dll

 

EVENT

 

Name: LaunchProgramRequest

Parameters:

1.strProgramName (String) The filename of the application the script wants to start (it must be in the ApplicationPath folder)
2.bCancel (Boolean) Your decision

 

Description: This event occurs if the script attempts to call the oUTILITIES.LaunchProgram() method.  strProgramName will be a FILE TITLE only (Ex: "MyProgram.exe").  It must exist in the folder indicated in the ApplicationPath property (the CommandoProcessor will have already verified this BEFORE raising the event).  Setting bCancel to True will prevent the CommandoProcessor object from attempting to launch the program AND will the Scripts call to the LaunchProgram method will return false.

 

 

Related Items: CommandoScript Language Reference