• 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: script differences ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: script differences ?


  • Subject: Re: script differences ?
  • From: Steve Mills <email@hidden>
  • Date: Sun, 11 Oct 2015 22:30:15 -0500

On Oct 11, 2015, at 22:00:17, Shane Stanley <email@hidden> wrote:
>
> Actually, I am saying you shouldn't.
>
> Suppose you have a script like this:
>
> tell application "SystemUIServer"
> 	display dialog "Comment allez-vous?" default answer "Très bon"
> end tell
>
> The dialog appears frontmost, as you expect. But before you answer, you want to check something on the Web page you have open -- did you just win a million euros? -- so you click in it to scroll down. And once you have made an application window active like that, although you can still see the dialog, there is no way you can enter a new answer -- you can only click a button. Très mal.

Right. And there's no way to command-tab back to it. You have to remember which key equiv you've set up to do the Mission Control "all windows" thing. Also, once you use the dialog as presented in SystemUIServer, you're left in a weird state where none of the current app's windows are frontmost any more. Hence, it's better to target an actual app for such commands.

--
Steve Mills
Drummer, Mac geek


 _______________________________________________
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: 
 >Rép: script differences ? (From: Yvan KOENIG <email@hidden>)
 >Re: script differences ? (From: Shane Stanley <email@hidden>)
 >Re: script differences ? (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: script differences ?
  • Next by Date: Re: script differences ?
  • Previous by thread: Re: script differences ?
  • Next by thread: Re: script differences ?
  • Index(es):
    • Date
    • Thread