NSAppleScript no longer allows user interaction?
NSAppleScript no longer allows user interaction?
- Subject: NSAppleScript no longer allows user interaction?
- From: Renaud Boisjoly <email@hidden>
- Date: Mon, 14 Aug 2006 10:49:18 -0400
Hi all
I've been using NSAppleScript's executeAndReturnError method to run
various scripts from within my app. It has been working for years and
now, it seems broken on my MacBook Pro.
As I try to migrate to a Universal code base, it seems that I can no
longer run scripts which try to interact with the user. If I do, I
get a "No user interaction allowed" error.
I'm just trying to have a script use the "Display Dialog" command to
let the user know of something. It used to work, but now it doesn't.
If I modify the AppleScript to talk to a specific app, it works, but
that app's icon bounces in the Dock to let me know. Not fun... not
what I'd like to happen and not what used to happen.
Anyone know of some sort of workaround to re-enable user interaction
in scripts called from this method?
Thanks!
- arby
_______________________________________________
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