• 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: John Stewart <email@hidden>
  • Date: Mon, 28 Feb 2005 09:39:43 -0500

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:

This email sent to email@hidden

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

  • Prev by Date: Re: *Very* strange script / global variable behavior
  • Next by Date: Re: Removing html tags
  • Previous by thread: Re: Text size of Finder window
  • Next by thread: Some oddball Q's about script running
  • Index(es):
    • Date
    • Thread