• 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: Where's My Dialog?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where's My Dialog?


  • Subject: Re: Where's My Dialog?
  • From: "email@hidden" <email@hidden>
  • Date: Mon, 22 Feb 2010 17:21:00 -0800

>>
>
> That helps if I happen to be there. Often I am away and when I return, the dialog is nowhere to be seen, obscured by who knows what window(s).
>
> Is there a way to specify that a dialog float above other windows?

In that case I would do something like this:

repeat
 tell application "System Events"
  activate
  beep
  set userResponse to display dialog "No selection was made." buttons "OK" default button 1 giving up after 60
  if gave up of userResponse is false then exit repeat
 end tell
end repeat

This will keep the dialog at the front until a user hit's the ok button.

HTH,

ES _______________________________________________
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

References: 
 >Where's My Dialog? (From: Marconi <email@hidden>)
 >Re: Where's My Dialog? (From: Robert Poland <email@hidden>)
 >Re: Where's My Dialog? (From: Marconi <email@hidden>)

  • Prev by Date: Bring iChat window to the front when receiving an iChat but only from a Jabber account
  • Next by Date: [ANN]AppleScript Pro Sessions Florida
  • Previous by thread: Re: Where's My Dialog?
  • Next by thread: Re: Where's My Dialog?
  • Index(es):
    • Date
    • Thread