• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[BUG] saving as run-only
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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

  • Prev by Date: Re: Properties within Properties - Scripting Address book
  • Next by Date: Re: Setting the computer name
  • Previous by thread: RE: Converting Mac Roman and/or UTF 16 to UTF 8?
  • Next by thread: Q: Add one pixel on right / GraphicConverter
  • Index(es):
    • Date
    • Thread