B
BB
Hi
I'm writing an appleScript for Entourage 2004 where I want to keep
persistent data between runs.
I've tried to use properties for this, but it seems like the values of my
properties don't "stick".
If I run the script from the script editor it works, but not when I choose
it from the AppleScript menu in Entourage.
Are there any particular tricks I need to do to get this to work?
In it's simplest form my script looks like this
property test: "hello"
display dialog test
set test to "world"
I would expect that the first run of the script should display "hello" and
any consecutive runs should display "world".
It works when I save the script as an application, but then it doesn't show
up in the script menu in Entourage.
Thanks in advance
-Bo
I'm writing an appleScript for Entourage 2004 where I want to keep
persistent data between runs.
I've tried to use properties for this, but it seems like the values of my
properties don't "stick".
If I run the script from the script editor it works, but not when I choose
it from the AppleScript menu in Entourage.
Are there any particular tricks I need to do to get this to work?
In it's simplest form my script looks like this
property test: "hello"
display dialog test
set test to "world"
I would expect that the first run of the script should display "hello" and
any consecutive runs should display "world".
It works when I save the script as an application, but then it doesn't show
up in the script menu in Entourage.
Thanks in advance
-Bo