Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSAppleScript shies away from porcupines




On 26 Aug 2008, at 15:04, Andrew Farmer wrote:

On 26 Aug 08, at 00:39, Gerriet M. Denkmann wrote:
I want to open some file:

source =
"tell application "SomeApp"...

You're making things harder than they need to be.

[[NSWorkspace sharedWorkspace] openFile:@"/path/to/file" withApplication:@"SomeApp"];

As to AppleScript's Unicode support, I wouldn't be surprised if it were still unreliable.

Sorry for the badly abridged example. Actually I want to do more than just open the file.
Or is it definitely impossible to use un-American pathnames in AppleScript?


Kind regards,

Gerriet.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >NSAppleScript shies away from porcupines (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: NSAppleScript shies away from porcupines (From: Andrew Farmer <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.