Using variables in Preferences settings
Posted: Thu Mar 19, 2026 10:45 pm
Hi folks,
I'd like to be able to give my users a path that they can just copy/paste rather than having to navigate to parts of their computers which are frequently invisible to them, so I want to use a variable like this in the Actions panel of the AI preferences:
${env(LOCALAPPDATA)}\RWS\InfoShare Client\1913712966\Config\OxygenXMLAuthor\AI_JSON
The %LOCALAPPDATA% variable resolves from a command window, and when I create a custom Author variable and define its value as %LOCALAPPDATA% and then use the custom variable in the Preferences interface, it resolves, but so far I can't make the ${env(LOCALAPPDATA)} resolve. What am I doing wrong?
I'd like to be able to give my users a path that they can just copy/paste rather than having to navigate to parts of their computers which are frequently invisible to them, so I want to use a variable like this in the Actions panel of the AI preferences:
${env(LOCALAPPDATA)}\RWS\InfoShare Client\1913712966\Config\OxygenXMLAuthor\AI_JSON
The %LOCALAPPDATA% variable resolves from a command window, and when I create a custom Author variable and define its value as %LOCALAPPDATA% and then use the custom variable in the Preferences interface, it resolves, but so far I can't make the ${env(LOCALAPPDATA)} resolve. What am I doing wrong?