I'd like to insert an external script into my task, but have run into a problem with using a variable name in the path. I'd like to have the path set to "C:\Users\{UserName}\Documents\script.bas" but it doesn't seem to be interpreting {UserName} as a variable and gives an error saying that the macro/module doesn't exist. (It does work if I manually specify my user name.)
I assume this should be supported, since there is a {V} button on the Basic Script dialog box and there's no other textbox in the window that it could apply to. (I'm using version 3.2.1)
Variables in External Basic Script Path
Variables in External Basic Script Path
Will this be fixed in the next update?
Variables in External Basic Script Path
You may specify the the name of script without full path at all.
Do the following:
1. Set the desired folder in plugin settings. By default it is
"C:\Documents and Settings\<UserName>\Local Settings\Application Data\RoboTask\BasicScripts" for XP
and
"C:\Users\<username>\AppData\Local\RoboTask\BasicScrip ts" for Vista
2. Specify the script name without path as external script, like this:
Script1.bas
MyCalcScript.bas
etc.
Do the following:
1. Set the desired folder in plugin settings. By default it is
"C:\Documents and Settings\<UserName>\Local Settings\Application Data\RoboTask\BasicScripts" for XP
and
"C:\Users\<username>\AppData\Local\RoboTask\BasicScrip ts" for Vista
2. Specify the script name without path as external script, like this:
Script1.bas
MyCalcScript.bas
etc.
Thank you for the report. Of course, we'll fix this in future.Will this be fixed in the next update?