Changing View Options...

How do I change them in AS? i.e. “Arrange by Kind” or “Name” or whatever.

Thanks,
-Rob

You need to examine the dictionary for the Finder and you’ll see that each Finder window has a ‘icon view options’ and a ‘list view options’ that covers what you need:

tell application "Finder"
	set arrangement of icon view options of window 1 to arranged by name
end tell

Awesomeness. Thanks a ton. I assume there’s a link somewhere on the main page for AS guides/dictionaries/etc.? I’ll go take a look.

Thanks again,
-Rob