Re: Attivating the display dialog window
Re: Attivating the display dialog window
- Subject: Re: Attivating the display dialog window
- From: Andrew Oliver <email@hidden>
- Date: Mon, 10 Jul 2006 10:03:41 -0700
On Jul 10, 2006, at 8:33 AM, Gary (Lists) wrote:
"Michelle Steiner" wrote:
On Jul 10, 2006, at 6:27 AM, Miky P wrote:
My question: how can I controll the activation of the
windows. Where can I get the list of open window and
activate the one I like?
Don't need to do that.
Change the display dialog line to
tell me to display dialog
IMO, Emmanuel's Finder tell is a better solution, particularly for
a person
who says he is new to AppleScript. The variety of ambiguities
revolving
around 'me', given the context of script execution, might cause
headaches
without any real notion of a cure.
Since the OP is doing Finder tasks, it makes since to be more clear
and to
tell the Finder to activate.
Actually, from the OPs requirements it would be better for Preview to
be activated before the display dialog.
tell application "Preview"
activate
display dialog "blah blah blah with prompt "more blah"
...
end tell
That way the image window is visible, presumably a requirement to aid
the user as to what the document is since he can see the image behind
the display dialog window.
Andrew
:)
_______________________________________________
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