• 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
setting finder window positions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

setting finder window positions


  • Subject: setting finder window positions
  • From: "Nathan Ardoin" <email@hidden>
  • Date: Thu, 22 Feb 2001 11:26:17 -0800

I don't know if this is a bug or not, but I wrote a small script to set all open windows of the finder to a certain position and view by name.. here is the part I get confused on, if I have only one window open then it does everything correctly, set window to view by name, zoom window, set position, etc.. if more than one window is open it does everything but set the window to view by name. I don't understand this because the syntax for all the other commands is the same, does anyone have any insight?
here is the code:

tell application "Finder"
activate
beep
set view of every window of application "Finder" whose visible is true and zoomable is true to name
set shows modification date of every window of application "Finder" whose visible is true to false
set shows size of every window of application "Finder" whose visible is true to false
set shows kind of every window of application "Finder" whose visible is true to false
set uses relative dates of every window of application "Finder" whose visible is true to false
set has custom view settings of every window of application "Finder" whose visible is true to true
set zoomed of every window of application "Finder" whose visible is true and zoomable is true to true
set position of every window of application "Finder" whose visible is true and zoomable is true to {0, 45}
beep
end tell


Thanx, in advance,
-nate


  • Follow-Ups:
    • Re: setting finder window positions
      • From: Dale Saukerson <email@hidden>
    • Re: setting finder window positions
      • From: Mr Tea <email@hidden>
  • Prev by Date: Re: Removing items from lists (again!)
  • Next by Date: Re: Reading large files
  • Previous by thread: Re: Removing items from lists (again!)
  • Next by thread: Re: setting finder window positions
  • Index(es):
    • Date
    • Thread