• 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: Shane Stanley <email@hidden>
  • Date: Fri, 18 Feb 2011 09:00:44 +1100
  • Thread-topic: Best practices

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.

> "info for" and the like work well with "posix file f".

In 10.6 at least, notwithstanding that they are deprecated, they work just
as well with a simple "f" -- the "POSIX file" seems pointless.

> 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?

--
Shane Stanley <email@hidden>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>


 _______________________________________________
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: Emmanuel LEVY <email@hidden>
References: 
 >Re: Best practices (From: Emmanuel LEVY <email@hidden>)

  • Prev by Date: Re: Indesign how to find text and change this into a paragraph style
  • Next by Date: Re: Best practices
  • Previous by thread: Re: Best practices
  • Next by thread: Re: Best practices
  • Index(es):
    • Date
    • Thread