;***************************** ;* RoboTask Task file ;* Do not edit in text editor! ;***************************** [Root] ActionAfterRun=INTEGER|0 Actions=FOLDER Automat=INTEGER|-1 CatID=INTEGER|0 Comment=STRINGLIST ContinueOnError=INTEGER|0 Events=FOLDER ExternalName=STRING|"Task15" Hide=INTEGER|0 ID=INTEGER|1839340077 LocalVariables=STRING|"list,subj" LogOnAsUser=INTEGER|1 Name=STRING|"Mail list of new files (File monitor demo) 2-nd edition" OnErrorTaskID=INTEGER|0 Priority=INTEGER|3 RunOnClose=INTEGER|0 RunOnStartup=INTEGER|0 ToLog=INTEGER|3 WriteGeneralLog=INTEGER|0 [Actions] Action1=FOLDER Action10=FOLDER Action11=FOLDER Action2=FOLDER Action3=FOLDER Action4=FOLDER Action5=FOLDER Action6=FOLDER Action7=FOLDER Action8=FOLDER Action9=FOLDER [Actions\Action1] ActionID=STRING|"A_LOOP_FILE" Enabled=INTEGER|-1 Name=STRING|"File Loop" Params=FOLDER [Actions\Action1\Params] createmode=STRING|"1" date1=STRING|"20120910" date2=STRING|"20120910" destvar=STRING|"CFILE" DuringDays=STRING|"1" DuringHours=STRING|"1" DuringMinutes=STRING|"1" DuringMonths=STRING|"1" file0=STRING|"d:\forsend\*.*" filecount=STRING|"1" OlderDays=STRING|"1" OlderHours=STRING|"1" OlderMinutes=STRING|"1" OlderMonths=STRING|"1" savesize=STRING|"0" searchkind=STRING|"0" subdirs=STRING|"1" timesize=STRING|"0" WithoutPath=STRING|"0" [Actions\Action10] ActionID=STRING|"A_FILE_COPY" Enabled=INTEGER|-1 Name=STRING|"Copy/Move File" Params=FOLDER [Actions\Action10\Params] destdir=STRING|"d:\sent" f_count=STRING|"1" file0=STRING|"{cfile}" hidden=STRING|"1" ifexists=STRING|"1" move=STRING|"1" subdir=STRING|"0" system=STRING|"1" [Actions\Action11] ActionID=STRING|"A_LOOP_END" Enabled=INTEGER|-1 Name=STRING|"End Loop" [Actions\Action2] ActionID=STRING|"A_VARIABLES_SET" Enabled=INTEGER|-1 Name=STRING|"Set variable ""LIST"" with value ""{list}{cfile}{eol}""" Params=FOLDER [Actions\Action2\Params] expand=STRING|"1" varname=STRING|"LIST" varvalue=STRING|"{list}{cfile}{eol}" [Actions\Action3] ActionID=STRING|"A_VARIABLES_SET" Enabled=INTEGER|-1 Name=STRING|"Set variable ""SUBJ"" with value ""{SUBJ} {ExtractFileNameNoExt({cfile})},""" Params=FOLDER [Actions\Action3\Params] expand=STRING|"1" varname=STRING|"SUBJ" varvalue=STRING|"{SUBJ} {ExtractFileNameNoExt({cfile})}," [Actions\Action4] ActionID=STRING|"A_LOOP_END" Enabled=INTEGER|-1 Name=STRING|"End Loop" [Actions\Action5] ActionID=STRING|"A_STR_TRIM" Enabled=INTEGER|-1 Name=STRING|"STR Trim" Params=FOLDER [Actions\Action5\Params] custom=STRING|"1" customchar=STRING|"," eol=STRING|"0" lead=STRING|"1" source=STRING|"{subj}" spaces=STRING|"1" tabs=STRING|"1" trailing=STRING|"1" variable=STRING|"subj" [Actions\Action6] ActionID=STRING|"A_STR_TRIM" Enabled=INTEGER|-1 Name=STRING|"STR Trim" Params=FOLDER [Actions\Action6\Params] custom=STRING|"0" eol=STRING|"1" lead=STRING|"1" source=STRING|"{list}" spaces=STRING|"1" tabs=STRING|"1" trailing=STRING|"1" variable=STRING|"list" [Actions\Action7] ActionID=STRING|"A_DIALOG_MESSAGE" Enabled=INTEGER|-1 Name=STRING|"Show """"{subj}""""" Params=FOLDER [Actions\Action7\Params] icon=STRING|"1" msg0=STRING|"""{subj}""" msg1=STRING|"""{list}""" msgcount=STRING|"2" playsound=STRING|"0" showmessage=STRING|"1" [Actions\Action8] ActionID=STRING|"A_INET_SENDMAIL" Enabled=INTEGER|-1 Name=STRING|"Send Email" Params=FOLDER [Actions\Action8\Params] attach0=STRING|"{list}" attachcount=STRING|"1" auth=STRING|"0" charset=STRING|"iso-8859-1" from=STRING|"robot@host.com" host=STRING|"localhost" html=STRING|"0" msg0=STRING|"New files incoming (see in attachment):" msg1=STRING|"{list}" msgcount=STRING|"2" password=STRING|"2668126729269932597075581" passwordmode=STRING|"0" port=STRING|"25" SSL=STRING|"0" subject=STRING|"New files incoming:" to=STRING|"user@domain.com" [Actions\Action9] ActionID=STRING|"A_LOOP_FILE" Enabled=INTEGER|-1 Name=STRING|"File Loop" Params=FOLDER [Actions\Action9\Params] createmode=STRING|"1" date1=STRING|"20120910" date2=STRING|"20120910" destvar=STRING|"CFILE" DuringDays=STRING|"1" DuringHours=STRING|"1" DuringMinutes=STRING|"1" DuringMonths=STRING|"1" file0=STRING|"d:\forsend\*.*" filecount=STRING|"1" OlderDays=STRING|"1" OlderHours=STRING|"1" OlderMinutes=STRING|"1" OlderMonths=STRING|"1" savesize=STRING|"0" searchkind=STRING|"0" subdirs=STRING|"1" timesize=STRING|"0" WithoutPath=STRING|"0" [Events] Event1=FOLDER [Events\Event1] Enabled=INTEGER|-1 EventID=STRING|"E_FILE_MONITOR" Params=FOLDER UnigueID=INTEGER|1203095629 [Events\Event1\Params] chg=STRING|"0" chga=STRING|"1" chgsl=STRING|"1" chgsm=STRING|"1" chgtl=STRING|"1" chgtm=STRING|"1" del=STRING|"0" folder1=STRING|"d:\forsend" foldercount=STRING|"1" incmask=STRING|"*.*" interval=STRING|"10" listmode=STRING|"2" mon_files=STRING|"1" mon_folders=STRING|"0" new=STRING|"1" newlist=STRING|"c:\new_files.txt" pass=STRING|"0" passmode=STRING|"1" saveresults=STRING|"0" subfolders1=STRING|"0"