• 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: 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


  • Follow-Ups:
    • Re: telling icon view options
      • From: Gnarlodious <email@hidden>
  • Prev by Date: Re: InDesign TOC and overflowing text questions
  • Next by Date: Re: Extract words - problem solved.
  • Previous by thread: telling icon view options
  • Next by thread: Re: telling icon view options
  • Index(es):
    • Date
    • Thread