Re: Best practices
Re: Best practices
- Subject: Re: Best practices
- From: Emmanuel LEVY <email@hidden>
- Date: Wed, 16 Feb 2011 15:56:28 +0100
I've got one, if you like.
Never use anything else than posix paths. Whenever some command
doesn't like posix paths, just insert "posix file" before the posix
path.
Emmanuel
On Feb 15, 2011, at 10:44 PM, Stan Cleveland wrote:
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 (applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
_______________________________________________
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