Mailing Lists: Apple Mailing Lists

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

Re: Problem Minimizing an AppleScript Studio Application



Hi,

Just checked the Applescript Studio documentation and found this
relevant property of "windows:

miniaturized
Access:	read/write
Class:	boolean
not supported (through AppleScript Studio version 1.4); Is the window
miniaturized? (synonymous with minimized—reduced to an icon in the
Dock)

Hope this might explain why.

Good luck.

Romy


--- "Sean P. Kane" <email@hidden> wrote:

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


Romeo T. Opena, PhD
Managing Director/Plant Breeder
ARCH Seed (Thailand) Co., Ltd.
138 Moo 2, Tambon Samrongmai
Lahansai, Buriram
THAILAND 31170
Mobile phone: +66-1-881-2374; +66-1-881-2374

concurrently also

President and CEO
HORTIGENE-Asia, Inc.
Malaybalay, Bukidnon, Philippines and
Jember, East Java, Indonesia
(contact phones as above)

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
 _______________________________________________
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

References: 
 >Problem Minimizing an AppleScript Studio Application (From: "Sean P. Kane" <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.