• 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
Best practices
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Best practices


  • Subject: Best practices
  • From: Stan Cleveland <email@hidden>
  • Date: Tue, 15 Feb 2011 13:44:28 -0800

On Feb 14, 2011, at 1:11 PM, Luther Fuller wrote:

> Never modify a property; Don't use globals.
> If you need to store a value between runs, use a preference (.plist) file.

On Feb 15, 2011, at 6:37 AM, Luther Fuller wrote:

> Always use aliases, not text paths except where necessary.
> Never use a posix path when a colon delimited path will work.

Hi all,

This list is always a great source for AS answers. But the above pearls of wisdom from Luther in the last two days lead me to ask if he (or anyone else) has any other "best practices" for AppleScript. Many on this list might find them instructive.

Stan C.

 _______________________________________________
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:
    • URL in Firefox
      • From: Hudson Barton <email@hidden>
    • Re: Best practices
      • From: Emmanuel LEVY <email@hidden>
    • Re: Best practices
      • From: Shane Stanley <email@hidden>
    • Re: Best practices
      • From: "Stockly, Ed" <email@hidden>
References: 
 >Re: read stored variables in run only script application (From: "Nigel Garvey" <email@hidden>)
 >Re: read stored variables in run only script application (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: make new alias -- weird behavior
  • Next by Date: Re: Best practices
  • Previous by thread: Re: read stored variables in run only script application
  • Next by thread: Re: Best practices
  • Index(es):
    • Date
    • Thread