• 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: "Marc K. Myers" <email@hidden>
  • Date: Thu, 13 Dec 2001 16:50:45 -0500
  • Organization: [very little]

> Date: Thu, 13 Dec 2001 10:15:13 -0800
> Subject: Window basics...
> From: "Domains4Days.com" <email@hidden>
> To: <email@hidden>
>
> Instead of the line below that picks a particular folder, how can I select
> THE FRONTMOST WINDOW (that's open) and apply changes to that one?
>
> tell application "Finder"
> activate
> set position of container window of folder "MyFOLDER" of disk "Main" to
> {10, 50}
> end tell

tell application "Finder"
activate
set position of window 1 to {10, 50}
end tell

The frontmost window always has an index of 1.

Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074

[12/13/01 4:48:55 PM]


  • Follow-Ups:
    • Re: Window basics...
      • From: Bill Briggs <email@hidden>
  • Prev by Date: Re: Scripting Illustrator 9.x & InDesign 1 or 2
  • Next by Date: Re: Open URL in Netscape?
  • Previous by thread: Re: Window basics...
  • Next by thread: Re: Window basics...
  • Index(es):
    • Date
    • Thread