• 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: Make Finder files invisible, SOLVED
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Make Finder files invisible, SOLVED


  • Subject: Re: Make Finder files invisible, SOLVED
  • From: Ronald Hofmann <email@hidden>
  • Date: Mon, 21 Jun 2004 14:56:02 +0200

putting a period (".") in front of the name did it. Thanks a lot.

Ronald
=============================
Am 21.06.2004 um 11:16 schrieb Simon Forster:

Just set the name of the file to begin with a period (".").

HTH

Simon Forster
_____________________________________________________
LDML Ltd, 62 Pall Mall, London, SW1Y 5HZ, UK
Tel: +44 (0)70 9230 5244 Fax: +44 (0)70 9230 5247
_____________________________________________________


On 21 Jun 2004, at 09:57, Nathan Day wrote:

If you have the devel tools installed then you can set the invisible flag, with the command line app SetFile, also I think you can also in unix set files invisible by adding them to some file called something like .invisible

On Monday, June 21, 2004, at 06:48PM, Martin Orpen <email@hidden> wrote:

on 21/6/04 8:18 am, Ronald Hofmann at email@hidden wrote:

Good morning.
I'm trying to make a file invisible by this:

tell application "Finder"
set theItem to choose file
set the visible of theItem to false
end tell

After execution I get an error: Finder has got an error: visible of
alias \"MacOSX:Users:ronny:Desktop: Read Me\" cannot be set to
false"

What am I doing wron?

Don't think you can set the "visible" of a file.

This is a an *alternative* to make them invisible/visible (for OS X):

tell application "Finder"
set x to choose file with prompt "choose a file"
set y to name of x
if item 1 of y is not "." then
set name of x to "." & y
else
set y to items 2 thru (count of items in y) of y as text
set name of x to y
end if
end tell


Regards

--
Martin Orpen
Idea Digital Imaging Ltd -- The Image Specialists
http://www.idea-digital.com
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.





Nathan Day
email@hidden
http://homepage.mac.com/nathan_day/
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


References: 
 >Re: Make Finder files invisible (From: Nathan Day <email@hidden>)
 >Re: Make Finder files invisible (From: Simon Forster <email@hidden>)

  • Prev by Date: Variable declaration
  • Next by Date: Re: Error with GURL/GURL
  • Previous by thread: Re: Make Finder files invisible
  • Next by thread: Music web site AppleScripts
  • Index(es):
    • Date
    • Thread