Re: Re: Can I tell [NSAppleScript executeAppleEvent] to wait for script to complete?
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