• 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: Re: Can I tell [NSAppleScript executeAppleEvent] to wait for script to complete?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: Can I tell [NSAppleScript executeAppleEvent] to wait for script to complete?


  • Subject: Re: Re: Can I tell [NSAppleScript executeAppleEvent] to wait for script to complete?
  • From: DeNigris Sean <email@hidden>
  • Date: Fri, 14 Aug 2009 13:57:00 -0400

Hmmmm, my NSAppleScript Class Reference documentation does not list any such method. It does list -executeAppleEvent:error: and - executeAndReturnError:, both of which return "The result of executing the event", which implies that they must wait for the script to complete.

Ha ha, yes, executeAppleEvent does wait for completion! My applescript was generating an error and stopping, so it appeared that executeAE was returning without blocking. Thanks.


Sean DeNigris
email@hidden



_______________________________________________

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


  • Prev by Date: Re: Multi-User DB That Talks to Core Data?
  • Next by Date: Stripping out between chars in NSString
  • Previous by thread: Re: Multi-User DB That Talks to Core Data?
  • Next by thread: Stripping out between chars in NSString
  • Index(es):
    • Date
    • Thread