Re: NSAppleScript shies away from porcupines
- Subject: Re: NSAppleScript shies away from porcupines
- From: Andrew Farmer <email@hidden>
- Date: Tue, 26 Aug 2008 01:04:36 -0700
- Delivered-to: email@hidden
- Delivered-to: email@hidden
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=9DddlBz3ck2J3VZh5n4D0RZxA3bppaDRM4IexKOFAbE=; b=iuCnnPRMSDqvijQq/gmpXU8lLoF7EY70rygYl5o9bELqRU71jLdOJaIo4R7mzJ33x7 +CtdFdSiqYjmN2m9xdC0+8OFHc/jq+zaTbpiW64IqAnQjZiRCYtFtIWjzkeIHQESxnCc HjP8gZRDvovmNDSRgwXaMQzxBTMnMcDCjMEac=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=TprWEi3b7rFkxPSrmMcFlp7RCt9rGfznG3r+E5i2mDUoKewFsgXVQpr0FO0p2zEYpw 7Rb652jqOciyVx+A71Jy+fVLjPA9meRzqo0i5Ct8NZTOyEGA0xSWjrmkXbr/C6LXZIkJ bWRnYtecaWvc7TqR7WKvCVj4eNX4mmvX+ER1c=
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.
_______________________________________________
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
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.