• 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: Mon, 01 Dec 2014 22:53:07 +1100

On 1 Dec 2014, at 10:38 pm, Yvan KOENIG <email@hidden> wrote:

I'm puzzled.

Must I assume that the french system is more fair than the English one ?

No; I was using a path to a folder that didn't exist. But I still don't fancy relying on it longer-term. Especially when there's a simple alternative:

use framework "Foundation"
use scripting additions

set theFolder to "~/Pictures/APOD ƒ/"
set theFolder to (current application's NSString's stringWithString:theFolder)'s stringByExpandingTildeInPath() as text
set theFile to (choose file default location (POSIX file theFolder) as alias)

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

  • Follow-Ups:
    • Re: ongoing Senior moments
      • From: Christopher Stone <email@hidden>
    • Re: ongoing Senior moments
      • From: Thomas Fischer <email@hidden>
    • Re: ongoing Senior moments
      • From: Yvan KOENIG <email@hidden>
References: 
 >Re: ongoing Senior moments (From: Yvan KOENIG <email@hidden>)

  • Prev by Date: Re: ongoing Senior moments
  • Next by Date: Re: ongoing Senior moments
  • Previous by thread: Re: ongoing Senior moments
  • Next by thread: Re: ongoing Senior moments
  • Index(es):
    • Date
    • Thread