• 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: Particulars of Finder Windows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Particulars of Finder Windows


  • Subject: Re: Particulars of Finder Windows
  • From: Christopher Stone <email@hidden>
  • Date: Fri, 15 Apr 2011 12:11:59 -0500

On Apr 15, 2011, at 07:37, Marconi wrote:
Is there a way to specify the particulars of the window -- its position, dimensions, view mode  [list | icon view] sort order, etc?
______________________________________________________________________

set folderTarget to path to downloads folder
tell application "Finder"


set newWin to make new Finder window


tell newWin
if current view ≠ list view then
set current view to list view
end if


set toolbar visible to true
set sidebar width to 175
set bounds to {0, 44, 1169, 725}
set target to folderTarget


tell its list view options
set width of column id name column to 500
set width of column id modification date column to 157
set width of column id size column to 97
set visible of column id kind column to false
end tell


end tell


end tell

# ======================================================================

tell application "Finder"
set fwProp to properties of front window
set b to bounds of fwProp
set {winName, targetFolder, currentView} to {name, target, current view} of fwProp
end tell

# OR

tell application "Finder"
set b to bounds of front window
set {winName, targetFolder, currentView} to {name, target, current view} of front window
end tell

# OR

tell application "Finder"
tell front window
set b to bounds
set {winName, targetFolder, currentView} to {name, target, current view}
end tell
end tell

--
Best Regards,
Chris

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Particulars of Finder Windows (From: Marconi <email@hidden>)

  • Prev by Date: Re: Particulars of Finder Windows
  • Next by Date: Re: Empty Record
  • Previous by thread: Re: Particulars of Finder Windows
  • Next by thread: FMPro Advanced 9.03 & AppleScript
  • Index(es):
    • Date
    • Thread