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: Text size of Finder window



On 02/27/05 at -0800 B2 Fass-Holmes said this

>tell application "Finder"
>   tell front window
>       set current view to list view
>       tell its list view options to set text size to 13
>   end tell
>end tell
>
>This script compiles, but generates an error "can't set current view of Window 1 to list view."

Seems like no one has answered this question yet - the way this is written, you need an "its".

tell application "Finder"
    tell front window
        set its current view to list view
        -- tell its list view options to set text size to 13
    end tell
end tell

Unfortunately text size is a Finder preference setting and can't currently be accessed via AppleScript (Finder's Dictionary - preferences). If it could be set then its scope would be all Finder windows not just the current one.

JBS
-- 
Ever wonder about those people who spend $2.00 apiece on those little bottles of Evian water? Try spelling Evian backwards: NAIVE - George Carlin
 _______________________________________________
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

This email sent to email@hidden

References: 
 >Re: Text size of Finder window (From: "B2 Fass-Holmes" <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.