;***************************** ;* RoboTask Task file ;* Do not edit in text editor! ;***************************** [Root] ActionAfterRun=INTEGER|0 Actions=FOLDER Automat=INTEGER|-1 CatID=INTEGER|2099193306 Comment=STRINGLIST ContinueOnError=INTEGER|0 ExternalName=STRING|"Task45" Hide=INTEGER|0 ID=INTEGER|1254207513 LogOnAsUser=INTEGER|1 Name=STRING|"sort by numbers at the end of line" 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 Action12=FOLDER Action13=FOLDER Action14=FOLDER Action15=FOLDER Action16=FOLDER Action17=FOLDER Action18=FOLDER Action19=FOLDER Action2=FOLDER Action20=FOLDER Action21=FOLDER Action22=FOLDER Action23=FOLDER Action24=FOLDER Action25=FOLDER Action26=FOLDER Action27=FOLDER Action28=FOLDER Action29=FOLDER Action3=FOLDER Action30=FOLDER Action4=FOLDER Action5=FOLDER Action6=FOLDER Action7=FOLDER Action8=FOLDER Action9=FOLDER [Actions\Action1] ActionID=STRING|"A_VARIABLES_CREATE" Enabled=INTEGER|-1 Name=STRING|"Create local variable ""TEXT"" with value ""bcde 1{EOL}aprt 2{EOL}rmdp 3{EOL}ftep 4""" Params=FOLDER [Actions\Action1\Params] expand=STRING|"0" varkind=STRING|"1" varname=STRING|"TEXT" varvalue=STRING|"bcde 1{EOL}aprt 2{EOL}rmdp 3{EOL}ftep 4" [Actions\Action10] ActionID=STRING|"A_MISC_COMMENT" Enabled=INTEGER|-1 Name=STRING|"//add leading 0" Params=FOLDER [Actions\Action10\Params] comment=STRING|"add leading 0" [Actions\Action11] ActionID=STRING|"A_VARIABLES_SET" Enabled=INTEGER|-1 Name=STRING|"Set variable ""ZERONUM"" with value ""{num}""" Params=FOLDER [Actions\Action11\Params] expand=STRING|"1" varname=STRING|"ZERONUM" varvalue=STRING|"{num}" [Actions\Action12] ActionID=STRING|"A_LOOP_WHILE" Enabled=INTEGER|-1 Name=STRING|"While loop" Params=FOLDER [Actions\Action12\Params] case=STRING|"0" operator=STRING|"5" type=STRING|"1" value1=STRING|"{StrLength({ZeroNum})}" value2=STRING|"6" [Actions\Action13] ActionID=STRING|"A_VARIABLES_SET" Enabled=INTEGER|-1 Name=STRING|"Set variable ""ZERONUM"" with value ""0{ZeroNum}""" Params=FOLDER [Actions\Action13\Params] expand=STRING|"1" varname=STRING|"ZERONUM" varvalue=STRING|"0{ZeroNum}" [Actions\Action14] ActionID=STRING|"A_LOOP_END" Enabled=INTEGER|-1 Name=STRING|"End Loop" [Actions\Action15] ActionID=STRING|"A_DIALOG_MESSAGE" Enabled=INTEGER|0 Name=STRING|"Show ""{num}""" Params=FOLDER [Actions\Action15\Params] icon=STRING|"1" msg0=STRING|"{num}" msg1=STRING|"{ZeroNum}" msgcount=STRING|"2" playsound=STRING|"0" showmessage=STRING|"1" [Actions\Action16] ActionID=STRING|"A_STR_REPLACE" Enabled=INTEGER|-1 Name=STRING|"STR Replace" Params=FOLDER [Actions\Action16\Params] case=STRING|"0" mode=STRING|"0" replacement=STRING|"{zeronum}" source=STRING|"{cline}" substring=STRING|"{num}" variable=STRING|"cline" [Actions\Action17] ActionID=STRING|"A_VARIABLES_SET" Enabled=INTEGER|-1 Name=STRING|"Set variable ""CLINE"" with value ""{ZeroNum}{cline}""" Params=FOLDER [Actions\Action17\Params] expand=STRING|"1" varname=STRING|"CLINE" varvalue=STRING|"{ZeroNum}{cline}" [Actions\Action18] ActionID=STRING|"A_VARIABLES_SET" Enabled=INTEGER|-1 Name=STRING|"Set variable ""NEWTEXT"" with value ""{NewText}{cline}{eol}""" Params=FOLDER [Actions\Action18\Params] expand=STRING|"1" varname=STRING|"NEWTEXT" varvalue=STRING|"{NewText}{cline}{eol}" [Actions\Action19] ActionID=STRING|"A_LOOP_END" Enabled=INTEGER|-1 Name=STRING|"End Loop" [Actions\Action2] ActionID=STRING|"A_VARIABLES_CREATE" Enabled=INTEGER|-1 Name=STRING|"Create local variable ""NEWTEXT"" with value """"" Params=FOLDER [Actions\Action2\Params] expand=STRING|"0" varkind=STRING|"1" varname=STRING|"NEWTEXT" [Actions\Action20] ActionID=STRING|"A_MISC_COMMENT" Enabled=INTEGER|-1 Name=STRING|"//Show intermediate result" Params=FOLDER [Actions\Action20\Params] comment=STRING|"Show intermediate result" [Actions\Action21] ActionID=STRING|"A_DIALOG_MESSAGE" Enabled=INTEGER|-1 Name=STRING|"Show ""Intermediate text is:""" Params=FOLDER [Actions\Action21\Params] icon=STRING|"1" msg0=STRING|"Intermediate text is:" msg1=STRING|"{NewText}" msgcount=STRING|"2" playsound=STRING|"0" showmessage=STRING|"1" [Actions\Action22] ActionID=STRING|"A_FILE_SORTTEXT" Enabled=INTEGER|-1 Name=STRING|"Sort Text" Params=FOLDER [Actions\Action22\Params] assignvar=STRING|"1" case=STRING|"0" line00000000=STRING|"{NewText}" linecount=STRING|"1" savetofile=STRING|"0" sortmode=STRING|"1" sourcekind=STRING|"1" variable=STRING|"Text" [Actions\Action23] ActionID=STRING|"A_MISC_COMMENT" Enabled=INTEGER|-1 Name=STRING|"//Remove leading numbers" Params=FOLDER [Actions\Action23\Params] comment=STRING|"Remove leading numbers" [Actions\Action24] ActionID=STRING|"A_VARIABLES_SET" Enabled=INTEGER|-1 Name=STRING|"Set variable ""NEWTEXT"" with value """"" Params=FOLDER [Actions\Action24\Params] expand=STRING|"0" varname=STRING|"NEWTEXT" [Actions\Action25] ActionID=STRING|"A_LOOP_TEXT" Enabled=INTEGER|-1 Name=STRING|"Text Loop" Params=FOLDER [Actions\Action25\Params] destvar=STRING|"CLINE" line0=STRING|"{text}" linecount=STRING|"1" sourcetext=STRING|"1" [Actions\Action26] ActionID=STRING|"A_STR_DELETE" Enabled=INTEGER|-1 Name=STRING|"STR Delete" Params=FOLDER [Actions\Action26\Params] amount=STRING|"6" from=STRING|"1" source=STRING|"{cline}" variable=STRING|"cline" [Actions\Action27] ActionID=STRING|"A_VARIABLES_SET" Enabled=INTEGER|-1 Name=STRING|"Set variable ""NEWTEXT"" with value ""{NewText}{cline}{eol}""" Params=FOLDER [Actions\Action27\Params] expand=STRING|"1" varname=STRING|"NEWTEXT" varvalue=STRING|"{NewText}{cline}{eol}" [Actions\Action28] ActionID=STRING|"A_LOOP_END" Enabled=INTEGER|-1 Name=STRING|"End Loop" [Actions\Action29] ActionID=STRING|"A_MISC_COMMENT" Enabled=INTEGER|-1 Name=STRING|"//Show result text" Params=FOLDER [Actions\Action29\Params] comment=STRING|"Show result text" [Actions\Action3] ActionID=STRING|"A_VARIABLES_CREATE" Enabled=INTEGER|-1 Name=STRING|"Create local variable ""NUM"" with value """"" Params=FOLDER [Actions\Action3\Params] expand=STRING|"0" varkind=STRING|"1" varname=STRING|"NUM" [Actions\Action30] ActionID=STRING|"A_DIALOG_MESSAGE" Enabled=INTEGER|-1 Name=STRING|"Show ""Result text is:""" Params=FOLDER [Actions\Action30\Params] icon=STRING|"1" msg0=STRING|"Result text is:" msg1=STRING|"{NewText}" msgcount=STRING|"2" playsound=STRING|"0" showmessage=STRING|"1" [Actions\Action4] ActionID=STRING|"A_VARIABLES_CREATE" Enabled=INTEGER|-1 Name=STRING|"Create local variable ""ZERONUM"" with value """"" Params=FOLDER [Actions\Action4\Params] expand=STRING|"0" varkind=STRING|"1" varname=STRING|"ZERONUM" [Actions\Action5] ActionID=STRING|"A_DIALOG_MESSAGE" Enabled=INTEGER|-1 Name=STRING|"Show ""Source text is:""" Params=FOLDER [Actions\Action5\Params] icon=STRING|"1" msg0=STRING|"Source text is:" msg1=STRING|"{Text}" msgcount=STRING|"2" playsound=STRING|"0" showmessage=STRING|"1" [Actions\Action6] ActionID=STRING|"A_LOOP_TEXT" Enabled=INTEGER|-1 Name=STRING|"Text Loop" Params=FOLDER [Actions\Action6\Params] destvar=STRING|"CLINE" line0=STRING|"{Text}" linecount=STRING|"1" sourcetext=STRING|"1" [Actions\Action7] ActionID=STRING|"A_MISC_COMMENT" Enabled=INTEGER|-1 Name=STRING|"//extract number" Params=FOLDER [Actions\Action7\Params] comment=STRING|"extract number" [Actions\Action8] ActionID=STRING|"A_REGEXP_LOOP" Enabled=INTEGER|-1 Name=STRING|"RegExp Loop" Params=FOLDER [Actions\Action8\Params] anchored=STRING|"0" case=STRING|"0" extended=STRING|"0" line00000000=STRING|"{cline}" linecount=STRING|"1" multiline=STRING|"0" noautocapture=STRING|"0" pattern=STRING|"[0-9]+$" savelengths=STRING|"0" saveoffsets=STRING|"0" singleline=STRING|"0" ungreedy=STRING|"0" useexternal=STRING|"0" variable=STRING|"num" [Actions\Action9] ActionID=STRING|"A_LOOP_END" Enabled=INTEGER|-1 Name=STRING|"End Loop"