• 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: Text size of Finder window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Text size of Finder window


  • Subject: Re: Text size of Finder window
  • From: Andrew Oliver <email@hidden>
  • Date: Sun, 27 Feb 2005 13:07:34 -0800

On 2/27/05 10:54 AM, "B2 Fass-Holmes" <email@hidden> wrote:

> Many thanks for the reply.
>
> Actually, I want to change the text size rather than icon size.
>
> So I modified your script to read
>
> 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."
>
> How can I fix this?

You can't.

'text size' is not a property of the Finder's list view options.

If you look at the Finder's dictionary you'll find the only 'list view
options' you can change are:

    calculates folder sizes boolean  -- Are folder sizes calculated and
displayed in the window?
    icon size small icon/large icon  -- the size of icons displayed in the
list view
    sort column column  -- the column that the list view is sorted on
    uses relative dates boolean  -- Are relative dates (e.g., today,
yesterday) shown in the list view?

Tantalizingly enough the Finder's Preferences property contains the gem:

    view font size integer  -- the size of the font used in Finder views

which might get your hopes up. However the entire preferences class is
defined as:

>Class preferences: (NOT AVAILABLE, SUBJECT TO CHANGE) The Finder Preferences

Which makes you wonder why it's in the dictionary at all.

In any case, you can't get there from here. Maybe <urgh> using UI scripting,
but I wouldn't like to try.

Andrew
:)

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Text size of Finder window
      • From: Adam Wuellner <email@hidden>
References: 
 >Re: Text size of Finder window (From: "B2 Fass-Holmes" <email@hidden>)

  • Prev by Date: Re: Called script won't store property
  • Next by Date: Re: what hourly rate?
  • Previous by thread: Re: Text size of Finder window
  • Next by thread: Re: Text size of Finder window
  • Index(es):
    • Date
    • Thread