• 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: User Interaction Not Allowed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: User Interaction Not Allowed


  • Subject: Re: User Interaction Not Allowed
  • From: Rob Stott <email@hidden>
  • Date: Thu, 24 Feb 2005 21:11:26 +0000


On 24 Feb 2005, at 15:30, Steve Suranie wrote:

All I am trying to do is open the file with Image Events and convert it to
RGB. I can open the file and close the file but when I try to convert it I
get a user interaction not allowed error.

Yup, Pete Boardman's right, Image Events doesn't let you display a dialog message. The way to solve the problem is to make sure the 'display dialog' bit isn't within the Image Events tell block, for example;

try
tell application "Image Events"


--do whatever...


end tell
on error theError


display dialog "There was a problem: " & theError


end try


There may be a cleverer dodge, but if there is I don't know about it!

Hope that helps
Rob

---

Rob Stott
- Development Team, Trident UK
Connaught Road, Kingswood, East Yorkshire HU7 3AP
Work: +44 (0) 1482 710344 • Mobile: +44 (0) 7881 811533 • Home: +44 (0) 1482 671129

My work: http://www.apple.com/uk/creative/trident/
My band: http://www.superscapemusic.co.uk

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >User Interaction Not Allowed (From: Steve Suranie <email@hidden>)

  • Prev by Date: Re: to disable applescript
  • Next by Date: About password fields
  • Previous by thread: Re: User Interaction Not Allowed
  • Next by thread: Finder file rename confusion
  • Index(es):
    • Date
    • Thread