• 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
better alternative to [NSAppleScript executeAndReturnError:] for executing scripts in scripts menu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

better alternative to [NSAppleScript executeAndReturnError:] for executing scripts in scripts menu


  • Subject: better alternative to [NSAppleScript executeAndReturnError:] for executing scripts in scripts menu
  • From: Jesse Grosjean <email@hidden>
  • Date: Tue, 1 Aug 2006 14:19:14 -0400

My application implements its own script menu and it uses [NSAppleScript executeAndReturnError:] to run scripts when someone chooses a script from the scripts menu. This works fairly well, but recently I remember seeing a discussion that I think said this wasn't the best way to execute scripts in this case. I don't remember, but maybe it was saying that it was better to use osascript from the command line to execute them. Problem is I can't seem to relocate that discussion, does anyone here know where I might have read that, or have suggestions on if it's good to use [NSAppleScript executeAndReturnError:] from within a cocoa application.

Thanks,
Jesse
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: better alternative to [NSAppleScript executeAndReturnError:] for executing scripts in scripts menu
      • From: Bill Cheeseman <email@hidden>
  • Prev by Date: Extend table in RTF NSTextView
  • Next by Date: Re: Checkbox in NSOutlineView. Must move mouse > 3 pixels to toggle
  • Previous by thread: Re: Extend table in RTF NSTextView
  • Next by thread: Re: better alternative to [NSAppleScript executeAndReturnError:] for executing scripts in scripts menu
  • Index(es):
    • Date
    • Thread