• 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
setting the list view on a folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

setting the list view on a folder


  • Subject: setting the list view on a folder
  • From: Jim Brandt <email@hidden>
  • Date: Fri, 11 Aug 2006 17:36:45 -0500

Is there a way to set the list view for a folder without opening it?

Here is a piece of a script that I'm working on:

	tell application "Finder"
		activate
		set _Today to _Sent & yymmdd & ":" as text
		set found to exists folder _Today
		if not found then
			make folder at (_Sent as alias) with properties {name:yymmdd}
			open folder _Today
			set current view of Finder window 1 to list view
			close window 1
		end if
	end tell

While this works, I'm curious to know if the list view can be set without actually
opening the folder.


Jim Brandt
_______________________________________________
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: setting the list view on a folder
      • From: kai <email@hidden>
  • Prev by Date: Re: [ANN] Usable Keychain Scripting
  • Next by Date: Re: [ANN] Usable Keychain Scripting
  • Previous by thread: Re: Determining a Paragraph's Index
  • Next by thread: Re: setting the list view on a folder
  • Index(es):
    • Date
    • Thread