• 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: Tell Blocks Considered Harmful (was Re: open for access)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tell Blocks Considered Harmful (was Re: open for access)


  • Subject: Re: Tell Blocks Considered Harmful (was Re: open for access)
  • From: Chris Page <email@hidden>
  • Date: Tue, 16 Dec 2008 15:48:59 -0800

On Dec 16, 2008, at 10:36 AM, Ed Stockly wrote:

Maybe I'm missing the point here, but here's what I do when I want the Dialog to be the frontmost window.

tell application "System Events"
activate
display dialog "Folders are not allowed!" buttons {"OK"}
end tell

I see no problem with that. As I understand it, that would be verbotten under Chris' proposed model.

I'm suggesting that we could change the behavior so that ‘display dialog’ would ignore the ‘tell’ and be handled within the application running the script. (In the case of a script applet, the applet is the application running the script.)

But that is separate from where the dialog appears. It could still appear in front of the frontmost application, but not block user interaction with that application. The question is: Do you have scripts for which blocking user interaction with the frontmost application—not the one running the script—is necessary for the correct operation of your script?

-- 
Chris Page - Software Wrangler

 That’s “Chris” with a silent *and* invisible “3”.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Tell Blocks Considered Harmful (was Re: open for access)
      • From: Richard Rönnbäck <email@hidden>
References: 
 >Re: Tell Blocks Considered Harmful (was Re: open for access) (From: Shane Stanley <email@hidden>)
 >Re: Tell Blocks Considered Harmful (was Re: open for access) (From: Robert Poland <email@hidden>)
 >Re: Tell Blocks Considered Harmful (was Re: open for access) (From: Ed Stockly <email@hidden>)

  • Prev by Date: Re: Tell Blocks Considered Harmful (was Re: open for access)
  • Next by Date: Re: Tell Blocks Considered Harmful (was Re: open for access)
  • Previous by thread: Re: Tell Blocks Considered Harmful (was Re: open for access)
  • Next by thread: Re: Tell Blocks Considered Harmful (was Re: open for access)
  • Index(es):
    • Date
    • Thread