Reputation: 6573
In applescript can you use a list from another script eg have in one script
set example to {"A","B"}
And in another have
choose from list example
Can this be used in the editor or does it need to be a app?
Upvotes: 1
Views: 58
Reputation: 27633
/tmp/a.scpt
:
property example : {"A", "B"}
Another script:
set s to (load script "/tmp/a.scpt")
example of s -- {"A", "B"}
Upvotes: 3