Re: Display Dialog
Re: Display Dialog
- Subject: Re: Display Dialog
- From: Luther Fuller <email@hidden>
- Date: Fri, 17 Dec 2010 11:34:28 -0600
On Dec 17, 2010, at 10:00 AM, Steve Thompson wrote:
On 17 Dec 2010, at 06:29, Peter R Hawkes wrote:
Is there a way of forcing the window to the top?
A couple of people have mentioned the word activate but have asked
System Preferences or the Finder. As your dialog box doesn't imply
specific interaction with the Finder or System Events, this will
make your script come to the front:
tell me to activate
set theDelay to the text returned of (display dialog "Number of
Days" default answer "-1")
I use this ...
activate me
tell me to display dialog ...
set x to ... of the result
If you save your script as a Faceless Background Application, this is
required.
And, yes, don't tell the Finder or another application to do this
unless it's necessary.
_______________________________________________
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