AppleScript That Saves Finder Window Size, Location and View
I wrote the following AppleScript to position and size Finder windows, but the Finder doesn't "remember" the settings the next time I open the windows.
tell application "Finder"
activate
make new Finder window to disk "Hard Drive"
set toolbar visible of Finder window 1 to false
set current view of Finder window 1 to icon view
clean up Finder window 1 by name
set position of Finder window 1 to {30, 55}
set bounds of Finder window 1 to {30, 55, 400, 625}
make new Finder window to folder "Files" of disk "Hard Drive"
set current view of Finder window 1 to icon view
set toolbar visible of Finder window 1 to false
clean up Finder window 1 by name
set position of Finder window 1 to {410, 55}
set bounds of Finder window 1 to {410, 55, 975, 455}
close Finder window 1
close Finder window 1
end tell
How do I make it so the Finder will remember the location and position the next time I manually open the window?
tell application "Finder"
activate
make new Finder window to disk "Hard Drive"
set toolbar visible of Finder window 1 to false
set current view of Finder window 1 to icon view
clean up Finder window 1 by name
set position of Finder window 1 to {30, 55}
set bounds of Finder window 1 to {30, 55, 400, 625}
make new Finder window to folder "Files" of disk "Hard Drive"
set current view of Finder window 1 to icon view
set toolbar visible of Finder window 1 to false
clean up Finder window 1 by name
set position of Finder window 1 to {410, 55}
set bounds of Finder window 1 to {410, 55, 975, 455}
close Finder window 1
close Finder window 1
end tell
How do I make it so the Finder will remember the location and position the next time I manually open the window?
Comments