Re: Minimize work, but Maximizing Applications doesn't work
Re: Minimize work, but Maximizing Applications doesn't work
- Subject: Re: Minimize work, but Maximizing Applications doesn't work
- From: "J. Stewart" <email@hidden>
- Date: Sat, 11 Mar 2006 18:02:53 -0500
On 3/11/06 at -0800 Paul Berkowitz said this
>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,
10.4.5 on a G5 DP is what I have. I tested it in Script Debugger 4.
Interestingly the OP's code doesn't work (it should) but the code I posted does work (here). There is a subtle difference between saying -
set collapsed of window 1 to false -- which fails
and
set collapsed of window 1 to not collapsed of window 1 -- which doesn't
I agree with you though, effectively it SHOULD be the same. It would appear that there may be a bug crawling around in the iTunes implementation.
There is one factor that might be making a difference. I did a clean re-install of the OS (on the G5) last week due to a hard drive failure. The OS was completely updated (10.4.5) before I re-installed any other apps.
JBS
--
Never try to outstubborn a cat. - Lazarus Long (aka Robert A. Heinlein)
_______________________________________________
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