Re: Display Dialog is not frontmost in the Finder...
Re: Display Dialog is not frontmost in the Finder...
- Subject: Re: Display Dialog is not frontmost in the Finder...
- From: Christopher Sean Morrison <email@hidden>
- Date: Thu, 16 Jun 2005 11:27:20 -0400
Try telling Finder to 'activate' first. That will bring Finder to the focus letting the dialog receive the input. You can capture the current application and return to it as well, though that's an exercise left to the reader.. ;) (the script I posted yesterday does this).
Cheers! Sean On Jun 16, 2005, at 8:00 AM, Emile Schwarz wrote: Hi,
the following script displays a window (as requested), but the OK button have the 'front window' look (not disabled), but a keypress on the Return or Enter key does not do what one expect. In fact, the dialog is not 'frontmost' and so if you click in the window, it comes frontmost and then you can press Return or Enter to fire the OK button.
tell application "Finder" display dialog "Is it a bug ?" end tell
Emile
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden