• 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
Re: [ANN]Reading uncompiled scripts from ASE in Mountain Lion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ANN]Reading uncompiled scripts from ASE in Mountain Lion


  • Subject: Re: [ANN]Reading uncompiled scripts from ASE in Mountain Lion
  • From: Chris Page <email@hidden>
  • Date: Wed, 08 Aug 2012 05:41:38 -0700

On Jul 25, 2012, at 6:28 AM, Shane Stanley <email@hidden> wrote:

Here's a link to a utility I've written for those who may not upgrade yet but will receive script files from others who do.

Please drop a note here if you find that you actually receive scripts from others that contain uncompiled changes. Since one should compile and run scripts before sharing them with others, it should be unlikely that one will unknowingly distribute scripts with uncompiled source changes. If it occurs on a regular basis we need to know about it.

To explain: Script Editor autosaves source changes, but if you have not yet compiled those changes it will store the uncompiled source as rich text (RTF) and save a placeholder script that produces an error to let you know that it contains uncompiled changes (in case you run it outside Script Editor). If you Compile or Run the script (which compiles it), the script will be up to date and autosave will simply save the script as usual. The only time this change should be noticeable is if you change a script since the last time it was compiled, then share the script file to a user using an older OS version, where Script Editor doesn't know how to read the rich text source so they can compile it. If you're concerned that you may have made source changes, simply Compile, Run, or Save the script before sharing it, as usual. (An explicit Save compiles a script, as usual.)

-- 
Chris Page

 The other, other AppleScript Chris

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: [ANN]Reading uncompiled scripts from ASE in Mountain Lion
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: OS X 10.8 Security & Applescripts - "unidentified developer"
  • Next by Date: Re: [ANN]Reading uncompiled scripts from ASE in Mountain Lion
  • Previous by thread: Re: OS X 10.8 Security & Applescripts - "unidentified developer"
  • Next by thread: Re: [ANN]Reading uncompiled scripts from ASE in Mountain Lion
  • Index(es):
    • Date
    • Thread