• 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: NSAppleScript shies away from porcupines
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSAppleScript shies away from porcupines
      • From: "Gerriet M. Denkmann" <email@hidden>
References: 
 >NSAppleScript shies away from porcupines (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: NSAppleScript shies away from porcupines
  • Next by Date: Re: NSAppleScript shies away from porcupines
  • Previous by thread: NSAppleScript shies away from porcupines
  • Next by thread: Re: NSAppleScript shies away from porcupines
  • Index(es):
    • Date
    • Thread