{FolderTime({SomeFolder})}
{FolderTime({SomeFolder})}
I can't seem to get this system variable to return anything.
Windows 11 Pro, RoboTask v10.6
Re: {FolderTime({SomeFolder})}
What folder name contains variable SomeFolder?
It seems it contains incorrect folder name or variable doesn't exist
Look at the example below. It works
It seems it contains incorrect folder name or variable doesn't exist
Look at the example below. It works
Code: Select all
;*****************************
;* RoboTask Task file
;* Do not edit in text editor!
;*****************************
[Root]
ActionAfterRun=INTEGER|0
Actions=FOLDER
Automat=INTEGER|-1
CatID=INTEGER|1133661666
Comment=STRINGLIST
ContinueOnError=INTEGER|0
DisableOnError=INTEGER|0
DoNotStopWhenShutdown=INTEGER|0
ExternalName=STRING|"Task93"
Hide=INTEGER|0
ID=INTEGER|581230995
LogOnAsUser=INTEGER|1
Name=STRING|"Folder times"
OnErrorTaskID=INTEGER|0
Priority=INTEGER|3
RestrictRESTAPIAccess=INTEGER|0
RunOnClose=INTEGER|0
RunOnStartup=INTEGER|0
StepPause=INTEGER|0
ToLog=INTEGER|3
UnicodeFormat=INTEGER|1
WriteGeneralLog=INTEGER|0
[Actions]
Action1=FOLDER
Action2=FOLDER
[Actions\Action1]
ActionID=STRING|"A_VARIABLES_SET"
Enabled=INTEGER|-1
Name=STRING|"Set variable ""SomeFolder"" with value ""C:\Users"""
Params=FOLDER
[Actions\Action1\Params]
_rt_variables_produced=STRING|"SomeFolder"
expand=STRING|"0"
linecount=STRING|"1"
varname=STRING|"SomeFolder"
varvalue=STRING|"C:\Users"
[Actions\Action2]
ActionID=STRING|"A_DIALOG_MESSAGE"
Enabled=INTEGER|-1
Name=STRING|"Show ""1 - {FolderTime({TempDir})}"""
Params=FOLDER
[Actions\Action2\Params]
icon=STRING|"1"
msg0=STRING|"1 - {FolderTime({TempDir})}"
msg1=STRING|"2 - {FolderTime(c:\program files)}"
msg2=STRING|"3 - {FolderTime(c:\temp)}"
msg3=STRING|"4 (incorrect)- {FolderTime({NoVar})}"
msg4=STRING|"5 (incorrect)- {FolderTime(c:\incorrect folder)}"
msg5=STRING|"6 ({SomeFolder})- {FolderTime({SomeFolder})}"
msgcount=STRING|"6"
playsound=STRING|"0"
showmessage=STRING|"1"
Oleg Yershov
Re: {FolderTime({SomeFolder})}
The example I was trying to make was "SomeFolder" was a variable. But anyway thanks for your example. I found my error.
Windows 11 Pro, RoboTask v10.6