• 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: telling icon view options
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: telling icon view options


  • Subject: Re: telling icon view options
  • From: Gnarlodious <email@hidden>
  • Date: Mon, 11 Oct 2004 19:05:13 -0600

Sheesh! All that agony over a missing "its"!
I didn't realize the View Options window was "owned" by the front window.
It's window slavery is what it is...

-- Gnarlie


Entity kai spoke thus:

>
> On Sat, 09 Oct 2004 10:08:16 -0600, Gnarlodious wrote:
>
>> So, why is it I can say:
>>
>> tell application "Finder"
>>     tell icon view options of front window
>>         set icon size to 128
>>         set arrangement to arranged by name
>>     end tell
>> end tell
>>
>> but I can't say (won't compile):
>>
>> tell application "Finder"
>> tell front window
>> tell icon view options
>> set icon size to 128
>> set arrangement to arranged by name
>> end tell
>> end tell
>> end tell
>
> Try this slight modification, Gnarlie:
>
> -------------------------
>
> tell application "Finder"
> tell front window
> tell its icon view options
> set icon size to 128
> set arrangement to arranged by name
> end tell
> end tell
> end tell
>
> -------------------------
>
> Seems this form of syntax is required to get at Finder windows
> properties with multiple values, such as 'icon view options'
> (<arrangement>/<icon size>) and 'list view options' (<calculates folder
> sizes>/<icon size>/<sort column>/<uses relative dates>).
>
> ---
> kai
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Applescript-users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> nk.net
>
> This email sent to email@hidden

 _______________________________________________
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: telling icon view options
      • From: Christopher Nebel <email@hidden>
References: 
 >Re: telling icon view options (From: kai <email@hidden>)

  • Prev by Date: Re: InDesign TOC and overflowing text questions
  • Next by Date: Re: telling icon view options
  • Previous by thread: Re: telling icon view options
  • Next by thread: Re: telling icon view options
  • Index(es):
    • Date
    • Thread