| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
TestScriptCalling:
run script "Rachel:TestScriptCalled"
display dialog the result
TestScriptCalled:
property someVariable : missing value
if someVariable is missing value then display dialog "first run"
set someVariable to "Script initialized"
return someVariable
Both are saved "as applications".
When I run TestScriptCalled by doubleclicking it remembers the property
value.
When I call it from TestScriptCalling it can't remember the property.
Why not and what's the trick?
-- Gnarlie
"Deftly they opened the brain of a child, and it was full of flying dreams."
~ Stanley Kunitz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
This email sent to email@hidden
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.