Re: script differences ?
Re: script differences ?
- Subject: Re: script differences ?
- From: Yvan KOENIG <email@hidden>
- Date: Mon, 12 Oct 2015 10:31:41 +0200
Le 2015/10/12 à 05:00, Shane Stanley < email@hidden> a écrit :
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.
Thanks.
I never faced this odd effect but your explanation is perfectly clear. You made the point. I will return to my ancient scheme :
tell application (path to frontmost application as string) to display dialog
Yvan KOENIG (VALLAURIS, France) lundi 12 octobre 2015 10:31:22
|
_______________________________________________
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