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

Re: Best practices


  • Subject: Re: Best practices
  • From: Emmanuel LEVY <email@hidden>
  • Date: Fri, 18 Feb 2011 00:52:12 +0100

On Feb 17, 2011, at 11:00 PM, Shane Stanley wrote:

On 17/2/11 11:03 PM, "Emmanuel LEVY" <email@hidden> wrote:

We don't use any app actually

I think that puts you in a rather small minority of scripters -- scripting
apps is pretty much the raison d'etre of AppleScript.

Granted. Furthermore, in our context we would often compute a file's path before knowing whether the file exists or not - pretty the opposite of usual situations.


[...]

posix paths are lovely, because, well, you just manipulate strings,
specifying a file's container folder is a mere regular expression, etc.

I don't understand this. Are you saying you can't use regular expressions
with HFS paths?

Well, regular expressions make strings into strings, not aliases into aliases or furls into furls, do they?


Regarding HFS paths, maybe I don't understand exactly what you're saying, but they are not an option - not a safe and easy one, say - in configurations where it's allowed to have several mounts with the same name.

Emmanuel
_______________________________________________
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: Best practices
      • From: Christopher Stone <email@hidden>
    • Re: Best practices
      • From: Shane Stanley <email@hidden>
References: 
 >Re: Best practices (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Applescript Studio and Snow Leopard?
  • Next by Date: Re: Applescript Studio and Snow Leopard?
  • Previous by thread: Re: Best practices
  • Next by thread: Re: Best practices
  • Index(es):
    • Date
    • Thread