• 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: Problem Minimizing an AppleScript Studio Application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem Minimizing an AppleScript Studio Application


  • Subject: Re: Problem Minimizing an AppleScript Studio Application
  • From: Romy Opena <email@hidden>
  • Date: Fri, 24 Feb 2006 15:44:27 -0800 (PST)

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

This email sent to email@hidden

References: 
 >Problem Minimizing an AppleScript Studio Application (From: "Sean P. Kane" <email@hidden>)

  • Prev by Date: Re: Three InDesign scripting questions
  • Next by Date: Display dialog with image
  • Previous by thread: Problem Minimizing an AppleScript Studio Application
  • Next by thread: Contextual Menu items using System Events
  • Index(es):
    • Date
    • Thread