• 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
NSAppleScript error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSAppleScript error


  • Subject: NSAppleScript error
  • From: Marco Cassinerio <email@hidden>
  • Date: Sun, 6 Sep 2009 13:11:45 +0200

I'm writing a System Service under 10.6 that launchs an apple script with NSAppleScript. When the apple script target app is not running, the script works, but when the app is already running, the executeAndReturnError: will return nil and an error in the dictionary.
Launching the same apple script with AppleScript Editor works well.


The same System Service under 10.5 works.

I think there's a bug on 10.6 or maybe i'm missing something.
_______________________________________________

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 error
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Code Signing
  • Next by Date: Should we release a CGImage created from NSBitmapImageRep ?
  • Previous by thread: Re: Making an Outline View delete a rows children when the parent is deleted.
  • Next by thread: Re: NSAppleScript error
  • Index(es):
    • Date
    • Thread