ConnectApp |
Top Previous Next |
×V5.3Ø
Syntax - ConnectApp <App Name> <Application Path> Where: <App Name> The name that represents an opened application. <Application Path> The file pathway and name of the application's executable (.exe).
Description: This command is designed to be used to connect to a Windows application that is started by an existing open application.
Sample: The following statement opens the PM Launch application and when Discharge Patient is opened, a new application named DischargePatient is launched. OpenApp PMLaunch "C:\Program Files\Cerner\pmlaunch.exe"
'Launches new app ClickElement PMLaunch "Element[Type=ListItem|Name=Discharge Patient" ClickElement PMLaunch "Element[Type=Button|Name=OK" 'Launches new app
ConnectApp DischargePatient "C:\Program Files\Cerner\pmactionwrapper.exe" TypeValue Variable DischargePatient "Edit" CloseApp DischargePatient
See Also: |