;********************** ;* RoboTask Task file * ;* Do not edit! * ;********************** [Root] ActionAfterRun=INTEGER|0 Actions=FOLDER Automat=INTEGER|-1 CatID=INTEGER|1128993393 ContinueOnError=INTEGER|0 ExternalName=STRING|"Task179" Hide=INTEGER|0 ID=INTEGER|764307004 Name=STRING|"1 - Determine oldest Folder" Priority=INTEGER|3 RunOnClose=INTEGER|0 RunOnStartup=INTEGER|0 ToLog=INTEGER|0 [Actions] Action1=FOLDER Action10=FOLDER Action11=FOLDER Action12=FOLDER Action13=FOLDER Action14=FOLDER Action15=FOLDER Action16=FOLDER Action2=FOLDER Action3=FOLDER Action4=FOLDER Action5=FOLDER Action6=FOLDER Action7=FOLDER Action8=FOLDER Action9=FOLDER [Actions\Action1] ActionID=STRING|"A_VARIABLES_SET" Enabled=INTEGER|-1 Name=STRING|"Set variable ""OLDEST_FOLDER"" with value """"" Params=FOLDER [Actions\Action1\Params] expand=STRING|"0" varname=STRING|"OLDEST_FOLDER" [Actions\Action10] ActionID=STRING|"A_FLOW_IF" Enabled=INTEGER|-1 Name=STRING|"If Then" Params=FOLDER [Actions\Action10\Params] case=STRING|"0" operator=STRING|"7" type=STRING|"0" value1=STRING|"{oldest_folder}" [Actions\Action11] ActionID=STRING|"A_DIALOG_MESSAGE" Enabled=INTEGER|-1 Name=STRING|"Show ""No folders!""" Params=FOLDER [Actions\Action11\Params] icon=STRING|"3" msg0=STRING|"No folders!" msgcount=STRING|"1" playsound=STRING|"0" showmessage=STRING|"1" [Actions\Action12] ActionID=STRING|"A_TASKS_STOP" Enabled=INTEGER|-1 Name=STRING|"Stop Task ""1 - Oldest Folder""" Params=FOLDER [Actions\Action12\Params] taskid=STRING|"764307004" [Actions\Action13] ActionID=STRING|"A_FLOW_ELSE" Enabled=INTEGER|-1 Name=STRING|"Else" [Actions\Action14] ActionID=STRING|"A_DIALOG_MESSAGE" Enabled=INTEGER|0 Name=STRING|"Show ""Oldest folder:""" Params=FOLDER [Actions\Action14\Params] icon=STRING|"1" msg0=STRING|"Oldest folder:" msg1=STRING|"{oldest_folder}" msg2=STRING|"{oldest_time}" msgcount=STRING|"3" playsound=STRING|"0" showmessage=STRING|"1" [Actions\Action15] ActionID=STRING|"A_FLOW_ENDIF" Enabled=INTEGER|-1 Name=STRING|"End If" [Actions\Action16] ActionID=STRING|"A_TASKS_START" Enabled=INTEGER|-1 Name=STRING|"Start Task ""2 - Copy and rename oldest folder""" Params=FOLDER [Actions\Action16\Params] taskid=STRING|"1105062058" wait=STRING|"0" [Actions\Action2] ActionID=STRING|"A_VARIABLES_SET" Enabled=INTEGER|-1 Name=STRING|"Set variable ""OLDEST_TIME"" with value ""{DateTime}""" Params=FOLDER [Actions\Action2\Params] expand=STRING|"1" varname=STRING|"OLDEST_TIME" varvalue=STRING|"{DateTime}" [Actions\Action3] ActionID=STRING|"A_LOOP_FILE" Enabled=INTEGER|-1 Name=STRING|"File Loop" Params=FOLDER [Actions\Action3\Params] createmode=STRING|"1" date1=STRING|"20061214" date2=STRING|"20061214" destvar=STRING|"CUR_FOLD_NAME" DuringDays=STRING|"1" DuringMonths=STRING|"1" file0=STRING|"C:\source\*.*" filecount=STRING|"1" OlderDays=STRING|"1" OlderMonths=STRING|"1" savesize=STRING|"0" searchkind=STRING|"1" subdirs=STRING|"0" timesize=STRING|"1" timevar=STRING|"CUR_FOLD_TIME" WithoutPath=STRING|"0" [Actions\Action4] ActionID=STRING|"A_ROBOTASK_LOG" Enabled=INTEGER|-1 Name=STRING|"Log Message" Params=FOLDER [Actions\Action4\Params] message=STRING|"folder {cur_fold_name} time {cur_fold_time}" type=STRING|"3" [Actions\Action5] ActionID=STRING|"A_FLOW_IF" Enabled=INTEGER|-1 Name=STRING|"If Then" Params=FOLDER [Actions\Action5\Params] case=STRING|"0" operator=STRING|"3" type=STRING|"2" value1=STRING|"{oldest_time}" value2=STRING|"{cur_fold_time}" [Actions\Action6] ActionID=STRING|"A_VARIABLES_SET" Enabled=INTEGER|-1 Name=STRING|"Set variable ""OLDEST_TIME"" with value ""{cur_fold_time}""" Params=FOLDER [Actions\Action6\Params] expand=STRING|"1" varname=STRING|"OLDEST_TIME" varvalue=STRING|"{cur_fold_time}" [Actions\Action7] ActionID=STRING|"A_VARIABLES_SET" Enabled=INTEGER|-1 Name=STRING|"Set variable ""OLDEST_FOLDER"" with value ""{cur_fold_name}""" Params=FOLDER [Actions\Action7\Params] expand=STRING|"1" varname=STRING|"OLDEST_FOLDER" varvalue=STRING|"{cur_fold_name}" [Actions\Action8] ActionID=STRING|"A_FLOW_ENDIF" Enabled=INTEGER|-1 Name=STRING|"End If" [Actions\Action9] ActionID=STRING|"A_LOOP_END" Enabled=INTEGER|-1 Name=STRING|"End Loop"