Re: telling icon view options
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