• 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: Shane Stanley <email@hidden>
  • Date: Mon, 12 Oct 2015 14:00:17 +1100


On 12 Oct 2015, at 1:16 PM, Shane Stanley <email@hidden> wrote:

I'm not saying you shouldn't

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.

-- 
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>

 _______________________________________________
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: script differences ?
      • From: Emmanuel LEVY <email@hidden>
    • Re: script differences ?
      • From: Yvan KOENIG <email@hidden>
    • Re: script differences ?
      • From: Steve Mills <email@hidden>
References: 
 >Rép: script differences ? (From: Yvan KOENIG <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