Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finder Window Position Help



Hello folks.  Thank you so much for your help on this thread! With your help
I did manage to get everything I needed happening.  The script below sets
the Finder window size and place - also changes to list view and sizes the
columns the way I prefer.  Then the second 'toolbar' script locks it in.

BTW:  I did it try to add the toolbar visible lines to the top script - but
they did not seem to do anything -  so I kept kai's  second script intact

set toolbar to not toolbar visible of Finder window 1 - hmmm?
set toolbar to toolbar visible of Finder window 1 - hmmm?

Q: Any idea how to combine the two scripts?


- - -


tell application "Finder"
    activate
    select Finder window 1
    set current view of Finder window 1 to list view
    set bounds of Finder window 1 to {5, 45, 1000, 900}
    set width of column id name column of list view options of Finder window
1 to 299
    set width of column id modification date column of list view options of
Finder window 1 to 190
    set width of column id size column of list view options of Finder window
1 to 99
    set width of column id kind column of list view options of Finder window
1 to 153
end tell

tell application "Finder"
    activate
    tell Finder window 1 to if exists then
        set v to toolbar visible
        set toolbar visible to not v
        set toolbar visible to v
        close
    end if
end tell


--
Thanks - RevDave
email@hidden
[db-lists]



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

This email sent to email@hidden

References: 
 >Re: Finder Window Position Help (From: Eugenio MORASSI <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.