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: "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