Re: telling icon view options
Re: telling icon view options
- Subject: Re: telling icon view options
- From: kai <email@hidden>
- Date: Mon, 11 Oct 2004 23:40:25 +0100
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:
This email sent to email@hidden