• 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: Paul Berkowitz <email@hidden>
  • Date: Sat, 11 Mar 2006 09:04:53 -0800
  • Thread-topic: Minimize work, but Maximizing Applications doesn't work

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?

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      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Minimize work, but Maximizing Applications doesn't work
      • From: "Sean P. Kane" <email@hidden>
    • Re: Minimize work, but Maximizing Applications doesn't work
      • From: "J. Stewart" <email@hidden>
References: 
 >Re: Minimize work, but Maximizing Applications doesn't work (From: "J. Stewart" <email@hidden>)

  • Prev by Date: Forcing 'open' to return a value in Cocoa apps
  • Next by Date: Re: Help with system preferences...
  • Previous by thread: Re: Minimize work, but Maximizing Applications doesn't work
  • Next by thread: Re: Minimize work, but Maximizing Applications doesn't work
  • Index(es):
    • Date
    • Thread