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

Re: Window basics...


  • Subject: Re: Window basics...
  • From: Bill Briggs <email@hidden>
  • Date: Thu, 13 Dec 2001 18:50:53 -0400

At 4:50 PM -0500 13/12/01, Marc K. Myers wrote:
tell application "Finder"
activate
set position of window 1 to {10, 50}
end tell

The frontmost window always has an index of 1.

In the Finder that's true. I wish it was the case for everything else, but there are some exceptions out there that can throw you for a bit of a loop on first encounter. One of my favourite applications, FrameMaker, has much weirdness in this area. The window object doesn't have a "name" property - go figure. And the document objects are indexed in the order in which they were opened, not in the order in which they are layered on the screen. The name of the document includes the entire path, not just the name of the file. This is not what we expect.

- web


References: 
 >Re: Window basics... (From: "Marc K. Myers" <email@hidden>)

  • Prev by Date: Re: Open URL in Netscape?
  • Next by Date: RE: product version not working?
  • Previous by thread: Re: Window basics...
  • Next by thread: Re: Window basics...
  • Index(es):
    • Date
    • Thread