• 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: Folder Access, invisibility
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Folder Access, invisibility


  • Subject: Re: Folder Access, invisibility
  • From: Arnaud Nicolet <email@hidden>
  • Date: Mon, 2 Apr 2007 21:37:38 +0200

Le 2 avr. 07 à 20:37 Soir, Michelle Steiner a écrit:

On Apr 2, 2007, at 11:00 AM, Stockly, Ed wrote:

Also, is it possible via applescript to change the visibility of a folder?

This will do it; however, the folder will appear dimmed until the enclosing folder is closed and reopened. After that, it will be invisible.


set foo to choose folder
set dot to "."
tell application "Finder"
	set the name of foo to dot & name of foo
	update parent of foo
end tell

Well, you're changing the name of the folder.
I think it would be more appropriate to change the visible property (every item in the Finder has that property).


In AppleScript, you can do it using some OSAX. _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Re: Folder Access, invisibility
      • From: Luther Fuller <email@hidden>
    • Re: Folder Access, invisibility
      • From: Michelle Steiner <email@hidden>
References: 
 >Folder Access, invisibility (From: "Stockly, Ed" <email@hidden>)
 >Re: Folder Access, invisibility (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: Quietly Distill a file
  • Next by Date: TUAW Script Fails
  • Previous by thread: Re: Folder Access, invisibility
  • Next by thread: Re: Folder Access, invisibility
  • Index(es):
    • Date
    • Thread