Re: ongoing Senior moments
Re: ongoing Senior moments
- Subject: Re: ongoing Senior moments
- From: Christopher Stone <email@hidden>
- Date: Sun, 09 Nov 2014 18:29:20 -0600
On Nov 09, 2014, at 17:11, Shane Stanley < email@hidden> wrote: In fact, put that inside another app's tell block, like BBEdit or Mail or whatever, and you'll see it's not liked by any app. But if you change it so the path is hard-coded, rather than the result of a handler, like this:
set theFileX to (POSIX file "/Users/shane/Pictures/APOD ƒ/") # The Finder is appeased
Suddenly the Finder et al are happy with it. So it's not the coercion per se that upsets things.
______________________________________________________________________
Hey Shane,
Hmm. I'd swear that didn't used to work...
Oh, it's this that's a sticky wicket:
set theFileX to POSIX file "/Users/chris/Pictures/APOD ƒ/"
tell application "Finder" # alias theFileX # Fails theFileX as alias # Works end tell
It appears I'm having my own senior moment... :)
Thanks for the correction.
-- Take Care, Chris
|
_______________________________________________
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