Two quick questions
Hey there, instead of filling the forum with more threads I thought I'd just put these two into one.
Firstly, I have a script that sets a global variable:
And later in the script it's set and changed and accessed by different functions. It's being manipulated later on in the script by a spinner. But to make it so that the spinner remembers it's last value after it's closed it will see if the global value has been set and if so use it, if not, not.
if nudgeValue == undefined then
Doing that in the listener works fine, but that one after the other in the script throws up an error: Syntax error: at if, expected
My script contains some regular steps that creates a dialog to manipulate the global value. It then creates a four functions which use this global variable.
I want to set-up keyboard shortcuts for these four functions, but how can I without making each an individual script and then assigning keyboard shortcuts?
Many thanks in advance!