;********************** ;* RoboTask Task file * ;* Do not edit! * ;********************** [Root] ActionAfterRun=INTEGER|0 Actions=FOLDER Automat=INTEGER|-1 CatID=INTEGER|914930505 ContinueOnError=INTEGER|1 ExternalName=STRING|"Task201" Hide=INTEGER|0 ID=INTEGER|1207501332 Name=STRING|"Error Handling" Priority=INTEGER|3 RunOnClose=INTEGER|0 RunOnStartup=INTEGER|0 ToLog=INTEGER|3 [Actions] Action1=FOLDER Action2=FOLDER Action3=FOLDER Action4=FOLDER Action5=FOLDER Action6=FOLDER Action7=FOLDER Action8=FOLDER [Actions\Action1] ActionID=STRING|"A_GENERAL_RUN_PROG" Enabled=INTEGER|-1 Name=STRING|"Run ""notepad.exe""" Params=FOLDER [Actions\Action1\Params] program=STRING|"notepad.exe" runas=STRING|"0" wait=STRING|"0" [Actions\Action2] ActionID=STRING|"A_WAITFORPROCESS" Enabled=INTEGER|-1 Name=STRING|"Wait For Process" Params=FOLDER [Actions\Action2\Params] assign=STRING|"0" infinity=STRING|"0" more=STRING|"0" process=STRING|"notepad.exe" timeout=STRING|"20" [Actions\Action3] ActionID=STRING|"A_FLOW_IF" Enabled=INTEGER|-1 Name=STRING|"If Then" Params=FOLDER [Actions\Action3\Params] case=STRING|"0" operator=STRING|"0" type=STRING|"3" value1=STRING|"{IsError}" [Actions\Action4] ActionID=STRING|"A_INET_SENDMAIL" Enabled=INTEGER|0 Name=STRING|"Send Email" Params=FOLDER [Actions\Action4\Params] attachcount=STRING|"0" auth=STRING|"0" from=STRING|"user@host.com" host=STRING|"localhost" html=STRING|"0" msg0=STRING|"Notepad has not been closed after 20 sec." msgcount=STRING|"1" password=STRING|"2668126224246842647915210" port=STRING|"25" subject=STRING|"Error waiting for notepad" to=STRING|"admin@mydomain.com" [Actions\Action5] ActionID=STRING|"A_DIALOG_MESSAGE" Enabled=INTEGER|-1 Name=STRING|"Show ""Notepad is still active.""" Params=FOLDER [Actions\Action5\Params] icon=STRING|"3" msg0=STRING|"Notepad is still active." msg2=STRING|"You place here some actions when an error has occured:" msg3=STRING|"- sending email " msg4=STRING|"- write a message to log" msg5=STRING|"- or do some another action " msgcount=STRING|"6" playsound=STRING|"0" showmessage=STRING|"1" [Actions\Action6] ActionID=STRING|"A_FLOW_ELSE" Enabled=INTEGER|-1 Name=STRING|"Else" [Actions\Action7] ActionID=STRING|"A_DIALOG_MESSAGE" Enabled=INTEGER|-1 Name=STRING|"Show ""OK""" Params=FOLDER [Actions\Action7\Params] icon=STRING|"1" msg0=STRING|"OK" msgcount=STRING|"1" playsound=STRING|"0" showmessage=STRING|"1" [Actions\Action8] ActionID=STRING|"A_FLOW_ENDIF" Enabled=INTEGER|-1 Name=STRING|"End If"