• 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
NSAppleScript no longer allows user interaction?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: NSMatrix equivalent in MFC/Windows?
  • Next by Date: Re: .. Newbie: KVO question
  • Previous by thread: Re: converting a pdf to tiff with multiple channels
  • Next by thread: Re: NSAppleScript no longer allows user interaction?
  • Index(es):
    • Date
    • Thread