• 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: ongoing Senior moments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ongoing Senior moments


  • Subject: Re: ongoing Senior moments
  • From: Shane Stanley <email@hidden>
  • Date: Tue, 02 Dec 2014 09:15:59 +1100

On 2 Dec 2014, at 4:03 am, Robert Poland <email@hidden> wrote:
>
> What’s wrong with this method?
>
> set theFolder to "" & (path to home folder as text) & "Pictures:APOD ƒ:"
> set ThePicture to (choose file default location alias theFolder)

Absolutely nothing -- it's entirely sensible if you are building the path yourself. The other methods are for situations where, for whatever reason, your script is given a POSIX path to work with, and either it uses ~, or you have no way of knowing that whether it uses ~.

--
Shane Stanley <email@hidden>
<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


References: 
 >Re: ongoing Senior moments (From: Yvan KOENIG <email@hidden>)
 >Re: ongoing Senior moments (From: Shane Stanley <email@hidden>)
 >Re: ongoing Senior moments (From: Thomas Fischer <email@hidden>)
 >Re: ongoing Senior moments (From: Yvan KOENIG <email@hidden>)
 >Re: ongoing Senior moments (From: Robert Poland <email@hidden>)

  • Prev by Date: Re: Stack Overflow
  • Next by Date: Re: [rant] "Never mind the quality, feel the width!"
  • Previous by thread: Re: ongoing Senior moments
  • Next by thread: Re: ongoing Senior moments
  • Index(es):
    • Date
    • Thread