Page 1 of 1

Variables in External Basic Script Path

Posted: Mon Oct 27, 2008 12:21 pm
by verona
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

Posted: Wed Nov 05, 2008 2:10 pm
by verona
Will this be fixed in the next update?

Variables in External Basic Script Path

Posted: Mon Nov 10, 2008 12:00 am
by Oleg
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.
Will this be fixed in the next update?
Thank you for the report. Of course, we'll fix this in future.