;***************************** ;* RoboTask Task file ;* Do not edit in text editor! ;***************************** [Root] ActionAfterRun=INTEGER|0 Actions=FOLDER Automat=INTEGER|-1 CatID=INTEGER|1931015449 ContinueOnError=INTEGER|0 ExternalName=STRING|"Task535" Hide=INTEGER|0 ID=INTEGER|1384552544 LocalVariables=STRING|"filename,readonly" LogOnAsUser=INTEGER|1 Name=STRING|"Clear readonly Attribute" OnErrorTaskID=INTEGER|0 Priority=INTEGER|3 RunOnClose=INTEGER|0 RunOnStartup=INTEGER|0 ToLog=INTEGER|3 WriteGeneralLog=INTEGER|0 [Actions] Action1=FOLDER Action2=FOLDER Action3=FOLDER [Actions\Action1] ActionID=STRING|"A_DIALOG_OPEN" Enabled=INTEGER|-1 Name=STRING|"Open Dialog" Params=FOLDER [Actions\Action1\Params] caption=STRING|"Open File" default=STRING|"None" filter=STRING|"Text files|*.txt|All files|*.*|" variable=STRING|"FILENAME" [Actions\Action2] ActionID=STRING|"BASIC_SCRIPT" Enabled=INTEGER|-1 Name=STRING|"Internal basic script" Params=FOLDER [Actions\Action2\Params] line00000=STRING|"Sub Main" line00001=STRING|" f = RoboTaskApp.ExpandText(""{filename}"")" line00002=STRING|" att% = GetAttr(f)" line00003=STRING|" att% = att% And (vbHidden Or vbSystem Or vbArchive)" line00004=STRING|" SetAttr(f, att%)" line00005=STRING|"End Sub" linecount=STRING|"6" source=STRING|"0" [Actions\Action3] ActionID=STRING|"A_DIALOG_MESSAGE" Enabled=INTEGER|-1 Name=STRING|"Show ""File {filename}""" Params=FOLDER [Actions\Action3\Params] icon=STRING|"1" msg0=STRING|"File {filename}" msg1=STRING|"is not protected" msgcount=STRING|"2" playsound=STRING|"0" showmessage=STRING|"1"