• 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: Dictionaries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dictionaries


  • Subject: Re: Dictionaries
  • From: John Delacour <email@hidden>
  • Date: Thu, 24 Jul 2003 02:29:21 +0100
  • Mac-eudora-version: 6.0a28

At 6:01 pm -0600 23/7/03, Robert Poland wrote:

Speaking of dictionaries I took the view setting script that Kok Ooi
Kong <email@hidden> edited and wanted to add a zoom to it.

The finder dictionary shows;
zoomable boolean [r/o] -- Is the window zoomable?
zoomed boolean -- Is the window zoomed?
zoomed full size boolean -- Is the window zoomed to the full size of
the screen? (can only be set, not read)
zoomable does as expected
zoomed is used to zoom the window, set to true
zoomed full size, Haven't figures out what this does yet.

Either I'm dense or these items are confused, so much for intuitive stuff.

What happens if you do this? To my mind the window ought to zoom/unzoom or unzoom/zoom and end up in its original state. This is not what happens here.

tell application "Finder"
activate
repeat 2 times
set zoomed of window 1 to not zoomed of window 1
update target of window 1
end repeat
end tell

I can't update a window (Finder gives an error) but I can apparently send a command to update the target of a window -- whether the command is heard may be another matter. This does not strike me as normal.

'set zoomed full size...' gives me an error.

I notice that in the Finder you can get the bounds and the position of a window, but not its size. Since <<class cwin>> has always been a common class, I don't understand why in our new cocoa apps (Terminal excepted) it is not possible to get all three of these properties.

JD


.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Dictionaries (From: Robert Poland <email@hidden>)

  • Prev by Date: Re: Why is AS so poorly documented?
  • Next by Date: dynamic variables
  • Previous by thread: Dictionaries
  • Next by thread: Re: Dictionaries
  • Index(es):
    • Date
    • Thread