• 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: Attivating the display dialog window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Attivating the display dialog window
      • From: Miky P <email@hidden>
References: 
 >Re: Attivating the display dialog window (From: "Gary (Lists)" <email@hidden>)

  • Prev by Date: Re: Attivating the display dialog window
  • Next by Date: iTunes programming question
  • Previous by thread: Re: Attivating the display dialog window
  • Next by thread: Re: Attivating the display dialog window
  • Index(es):
    • Date
    • Thread