• 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
Maximizing and Minimizing and getting focus..
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Maximizing and Minimizing and getting focus..


  • Subject: Maximizing and Minimizing and getting focus..
  • From: Tim Piper <email@hidden>
  • Date: Wed, 20 Feb 2008 10:06:37 +0000

I am able to get my script to minimize a window, in this example Safari3

tell application "Safari3"
set the miniaturized of window 1 to true
end tell

But I can't see a way to maximise it back again?

Also, my Applescript has a few dialogue boxes... but on occasion all 
that happens is the script bounces in the dock and the dialogue is hidden.

How can I make sure that the running AS has front most focus when I need it.

Is there only 'activate <SCRIPTNAME.APP>

Many thanks.

:)





bu


jgfg
 _______________________________________________
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

  • Follow-Ups:
    • Re: Maximizing and Minimizing and getting focus..
      • From: Axel Luttgens <email@hidden>
  • Prev by Date: Re: Scripting energy saver sleep/wake schedules?
  • Next by Date: Re: Maximizing and Minimizing and getting focus..
  • Previous by thread: Re: Scripting energy saver sleep/wake schedules?
  • Next by thread: Re: Maximizing and Minimizing and getting focus..
  • Index(es):
    • Date
    • Thread