;********************** ;* RoboTask Task file * ;* Do not edit! * ;********************** [Root] ActionAfterRun=INTEGER|0 Actions=FOLDER Automat=INTEGER|0 CatID=INTEGER|840229289 ContinueOnError=INTEGER|0 ExternalName=STRING|"Task31" Hide=INTEGER|0 ID=INTEGER|501984439 Name=STRING|"Folder Info Demo" Priority=INTEGER|3 RunOnClose=INTEGER|0 RunOnStartup=INTEGER|0 ToLog=INTEGER|2 [Actions] Action1=FOLDER Action10=FOLDER Action11=FOLDER Action12=FOLDER Action13=FOLDER Action14=FOLDER Action15=FOLDER Action16=FOLDER Action17=FOLDER Action18=FOLDER Action19=FOLDER Action2=FOLDER Action3=FOLDER Action4=FOLDER Action5=FOLDER Action6=FOLDER Action7=FOLDER Action8=FOLDER Action9=FOLDER [Actions\Action1] ActionID=STRING|"A_ROBOTASK_MINIMIZE" Enabled=INTEGER|-1 Name=STRING|"Minimize RoboTask" [Actions\Action10] ActionID=STRING|"A_VARIABLES_INCREMENT" Enabled=INTEGER|-1 Name=STRING|"Increment variable ""F_Count""" Params=FOLDER [Actions\Action10\Params] incement=STRING|"1" vaiable=STRING|"F_Count" [Actions\Action11] ActionID=STRING|"A_VARIABLES_INCREMENT" Enabled=INTEGER|-1 Name=STRING|"Increment variable ""Total_Size""" Params=FOLDER [Actions\Action11\Params] incement=STRING|"{FileSize}" vaiable=STRING|"Total_Size" [Actions\Action12] ActionID=STRING|"A_LOOP_END" Enabled=INTEGER|-1 Name=STRING|"End Loop" [Actions\Action13] ActionID=STRING|"A_DIALOG_MESSAGE" Enabled=INTEGER|-1 Name=STRING|"Show ""Folder ""{SELECTEDFOLDER}"" contains {F_COUNT} files.""" Params=FOLDER [Actions\Action13\Params] icon=STRING|"1" msg0=STRING|"Folder ""{SELECTEDFOLDER}"" contains {F_COUNT} files." msg1=STRING|"Total size is {TOTAL_SIZE} bytes" msgcount=STRING|"2" playsound=STRING|"0" showmessage=STRING|"1" [Actions\Action14] ActionID=STRING|"A_FLOW_ENDIF" Enabled=INTEGER|-1 Name=STRING|"End If" [Actions\Action15] ActionID=STRING|"A_ROBOTASK_RESTORE" Enabled=INTEGER|-1 Name=STRING|"Restore RoboTask" [Actions\Action16] ActionID=STRING|"A_VARIABLES_REMOVE" Enabled=INTEGER|-1 Name=STRING|"Remove variable ""F_COUNT""" Params=FOLDER [Actions\Action16\Params] varname=STRING|"F_COUNT" [Actions\Action17] ActionID=STRING|"A_VARIABLES_REMOVE" Enabled=INTEGER|-1 Name=STRING|"Remove variable ""TOTAL_SIZE""" Params=FOLDER [Actions\Action17\Params] varname=STRING|"TOTAL_SIZE" [Actions\Action18] ActionID=STRING|"A_VARIABLES_REMOVE" Enabled=INTEGER|-1 Name=STRING|"Remove variable ""FLENAME""" Params=FOLDER [Actions\Action18\Params] varname=STRING|"FLENAME" [Actions\Action19] ActionID=STRING|"A_VARIABLES_REMOVE" Enabled=INTEGER|-1 Name=STRING|"Remove variable ""FILESIZE""" Params=FOLDER [Actions\Action19\Params] varname=STRING|"FILESIZE" [Actions\Action2] ActionID=STRING|"A_DIALOG_MESSAGE" Enabled=INTEGER|-1 Name=STRING|"Show ""This task calculates number of files and """ Params=FOLDER [Actions\Action2\Params] icon=STRING|"1" msg0=STRING|"This task calculates number of files and " msg1=STRING|"total size of specified folder." msgcount=STRING|"2" playsound=STRING|"0" showmessage=STRING|"1" [Actions\Action3] ActionID=STRING|"A_DIALOG_BROWSEFOLDERS" Enabled=INTEGER|-1 Name=STRING|"Browse for Folders" Params=FOLDER [Actions\Action3\Params] caption=STRING|"Select Folder" default=STRING|"None" filter=STRING|"Text files|*.txt|All files|*.*|" folder=STRING|"{TempDir}" variable=STRING|"SELECTEDFOLDER" [Actions\Action4] ActionID=STRING|"A_FLOW_IF" Enabled=INTEGER|-1 Name=STRING|"If Then" Params=FOLDER [Actions\Action4\Params] case=STRING|"0" operator=STRING|"0" type=STRING|"0" value1=STRING|"{SELECTEDFOLDER}" value2=STRING|"None" [Actions\Action5] ActionID=STRING|"A_DIALOG_MESSAGE" Enabled=INTEGER|-1 Name=STRING|"Show ""[{Time}, {DayOfWeek}, {Date}]""" Params=FOLDER [Actions\Action5\Params] icon=STRING|"1" msg0=STRING|"[{Time}, {DayOfWeek}, {Date}]" msg1=STRING|"No Folder is Selected" msgcount=STRING|"2" playsound=STRING|"0" showmessage=STRING|"1" [Actions\Action6] ActionID=STRING|"A_FLOW_ELSE" Enabled=INTEGER|-1 Name=STRING|"Else" [Actions\Action7] ActionID=STRING|"A_VARIABLES_SET" Enabled=INTEGER|-1 Name=STRING|"Set varible ""F_COUNT"" with value ""0""" Params=FOLDER [Actions\Action7\Params] varname=STRING|"F_COUNT" varvalue=STRING|"0" [Actions\Action8] ActionID=STRING|"A_VARIABLES_SET" Enabled=INTEGER|-1 Name=STRING|"Set varible ""TOTAL_SIZE"" with value ""0""" Params=FOLDER [Actions\Action8\Params] varname=STRING|"TOTAL_SIZE" varvalue=STRING|"0" [Actions\Action9] ActionID=STRING|"A_LOOP_FILE" Enabled=INTEGER|-1 Name=STRING|"File Loop" Params=FOLDER [Actions\Action9\Params] createmode=STRING|"1" date1=STRING|"20040323" date2=STRING|"20040323" destvar=STRING|"FILENAME" DuringDays=STRING|"1" DuringMonths=STRING|"1" file0=STRING|"{SELECTEDFOLDER}\*.*" filecount=STRING|"1" OlderDays=STRING|"1" OlderMonths=STRING|"1" savesize=STRING|"1" savevar=STRING|"FILESIZE" subdirs=STRING|"1" timesize=STRING|"0" WithoutPath=STRING|"0"