• 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: Minimize work, but Maximizing Applications doesn't work
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Minimize work, but Maximizing Applications doesn't work


  • Subject: Re: Minimize work, but Maximizing Applications doesn't work
  • From: "Sean P. Kane" <email@hidden>
  • Date: Sun, 12 Mar 2006 06:15:05 -0800



On Mar 11, 2006, at 09:04 , Paul Berkowitz wrote:

On 3/11/06 1:18 AM, "J. Stewart" <email@hidden> wrote:

On 3/11/06 at -0800 Sean P. Kane said this

and it works fine, but the following code does nothing at all. It does
not even produce an error:


tell application "iTunes"
try
set collapsed of window 1 to false
on error
error "Could not maximize iTunes." number 124
end try
end tell

am I missing something really obvious? Is there something I need to do
to actually get the window to unminimize?

Workaround below. I get the same problem. It's not actually an "error" - the
error dialog never appears. If you remove the try block no error appears. It
just doesn't maximize. It knows the name of window 1 and the position (same
as when maximized). iTunes 6.0.4, OS 10.4.5 PPC.


Try -

tell application "iTunes" to set collapsed of window 1 to not collapsed of
window 1


As a toggle for collapsing/uncollapsing the window it works fine OMM using
iTunes 6.0.4


That's the same thing, and it also does not work OMM - OS 10.4.5 PPC. What's
your OS, John?



I am running 10.4.5 - Intel. I will give your work around a try and report back.


Thanks, Sean

Here's a workaround that works for maximizing:

    set visible of window 1 to false
    set visible of window 1 to true


-- Paul Berkowitz


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (Applescript- email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com


This email sent to email@hidden

_______________________________________________ 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
References: 
 >Re: Minimize work, but Maximizing Applications doesn't work (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: Minimize work, but Maximizing Applications doesn't work
  • Next by Date: Build Development versus Deployment changes results of simple Applescript lines
  • Previous by thread: Re: Minimize work, but Maximizing Applications doesn't work
  • Next by thread: Forcing 'open' to return a value in Cocoa apps
  • Index(es):
    • Date
    • Thread