Re: NSAppleScript with threading
Re: NSAppleScript with threading
- Subject: Re: NSAppleScript with threading
- From: Charles Srstka <email@hidden>
- Date: Mon, 9 May 2005 23:15:06 -0500
On May 9, 2005, at 11:08 PM, Nathan Day wrote:
osascript simply fails if it tries to do any gui stuff. You could
write your own equivalent though and set the default apple event
handler to something other than the current process (the default),
you main application for instance, that way any gui stuff like
display dialog no wrapped in a 'tell application' would be handled
by your main application.
<deleted>:~ <deleted>$ osascript -e 'tell application "System Events"
to display dialog "testing 1 2 3"'
button returned:OK
Works fine when I try it...
Charles
_______________________________________________
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