[BUG] saving as run-only
[BUG] saving as run-only
- Subject: [BUG] saving as run-only
- From: jj <email@hidden>
- Date: Wed, 14 Sep 2005 09:51:09 +0200
Hi all!
With the help of Jasper Van Proeyen, we discovered that apparently script
objects within handlers are not saved as run-only.
Try this. Save as run-only this code:
##################
to x()
script foo
set y to 2
end
end
##################
Now, run this:
##################
set s to load script alias "path:to:run-only-script.scpt"
s's x() as string --> you need Jon's Commands for this coercion to work
##################
jj
--
http://www.macscripter.net/
http://www.osaxen.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden