Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem Minimizing an AppleScript Studio Application



I am trying to minimize a bunch of applications that are in use by my
Applescript Studio application.

For iTunes I can use:

set collapsed of window 1 to true
			
Although:

set collapsed of every window to true

fails for some reason.

For Audio Hijack Pro I can use:

set miniaturized of every window to true

Which works fine.

However when I try to minimize my own Applescript Studio application,
it fails, no matter what I try. If I do this:

tell me
     set miniaturized of window 1 to true
end tell

I get this error:

Can't make <class minT> of window 1 into type reference. (-1700)

and if I do this:

tell me
     set collapsed of window 1 to true
end tell

I get this error:

Can't make collapsed of window 1 into type reference. (-1700)

I'm pretty sure that "set miniaturized of window 1 to true" should
work but it doesn't and I don't see any settings in Interface Builder
to disable miniturization although there is a miniturizable property
on windows.

Can anyone point out to me what I am doing wrong?

Thanks,
Sean

----------------------------------------------------------------------------
Sean P. Kane
email@hidden
----------------------------------------------------------------------------
Congress appropriates.          Microsoft lobbies.           Citizens steal.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.