Problem Minimizing an AppleScript Studio Application
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