;******************** ; RoboTask Task file ; Do not edit! ;******************** [Root] ActionAfterRun=INTEGER|0 Actions=FOLDER Automat=INTEGER|-1 CatID=INTEGER|1518206140 ExternalName=STRING|"Task45" Hide=INTEGER|0 ID=INTEGER|498799668 Name=STRING|"Exit Code Demo" Priority=INTEGER|3 RunOnClose=INTEGER|0 RunOnStartup=INTEGER|0 ToLog=INTEGER|3 [Actions] Action1=FOLDER Action2=FOLDER Action3=FOLDER Action4=FOLDER Action5=FOLDER [Actions\Action1] ActionID=STRING|"A_DIALOG_OPEN" Enabled=INTEGER|-1 Name=STRING|"Open Dialog" Params=FOLDER [Actions\Action1\Params] caption=STRING|"Select Executable File" default=STRING|"None" filter=STRING|"Executable Files (*.exe)|*.exe|All files|*.*|" folder=STRING|"c:\" variable=STRING|"FILETOEXEC" [Actions\Action2] ActionID=STRING|"A_FLOW_IF" Enabled=INTEGER|-1 Name=STRING|"If Then" Params=FOLDER [Actions\Action2\Params] case=STRING|"0" operator=STRING|"1" type=STRING|"0" value1=STRING|"{FileToExec}" value2=STRING|"None" [Actions\Action3] ActionID=STRING|"A_GENERAL_RUN_PROG" Enabled=INTEGER|-1 Name=STRING|"Run ""{FileToExec}""" Params=FOLDER [Actions\Action3\Params] program=STRING|"{FileToExec}" runas=STRING|"0" variable=STRING|"EXITCODE" wait=STRING|"2" [Actions\Action4] ActionID=STRING|"A_DIALOG_MESSAGE" Enabled=INTEGER|-1 Name=STRING|"Show ""Return Code: {ExitCode}""" Params=FOLDER [Actions\Action4\Params] icon=STRING|"1" msg0=STRING|"Return Code: {ExitCode}" msgcount=STRING|"1" playsound=STRING|"0" showmessage=STRING|"1" [Actions\Action5] ActionID=STRING|"A_FLOW_ENDIF" Enabled=INTEGER|-1 Name=STRING|"End If"