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

Problem Minimizing an AppleScript Studio Application


  • Subject: Problem Minimizing an AppleScript Studio Application
  • From: "Sean P. Kane" <email@hidden>
  • Date: Fri, 24 Feb 2006 07:55:09 -0800

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

  • Follow-Ups:
    • Re: Problem Minimizing an AppleScript Studio Application
      • From: Romy Opena <email@hidden>
  • Prev by Date: Re: scripting Apple mail
  • Next by Date: Contextual Menu items using System Events
  • Previous by thread: Re: scripting Apple mail
  • Next by thread: Re: Problem Minimizing an AppleScript Studio Application
  • Index(es):
    • Date
    • Thread