• 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: Invisible files (was Re: Small problem)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Invisible files (was Re: Small problem)


  • Subject: Re: Invisible files (was Re: Small problem)
  • From: "Clark S. Cox III" <email@hidden>
  • Date: Mon, 16 Jun 2003 11:41:31 -0400

On Saturday, Jun 14, 2003, at 17:53 US/Eastern, Jesus De Meyer wrote:

The icon file is actually named "Icon\r" (i.e., there's a return at
the end of the name). It should be marked as invisible by the OS,
meaning the "invisible" file flag is set (You can query that using the
Carbon call GetFInfo(), if all else fails, but there should be a Cocoa
file attribute equivalent to this).

".DS_Store" isn't marked as invisible, but checking whether the first
character is a period is the criterion you should go by for files that
don't have the invisible flag set. If that doesn't work for you, it
might help to see some of your code.

That's exactly what I did and it still shows up. Here's the code to
check for invisble files:

There is also one more case you should check for, wether or not the file/folder is listed in a ".hidden" file in the same directory.

--
http://homepage.mac.com/clarkcox3/
email@hidden
Clark S. Cox, III
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Invisible files (was Re: Small problem) (From: Jesus De Meyer <email@hidden>)

  • Prev by Date: Re: Database Application.
  • Next by Date: Re: Convert hexstring to int?
  • Previous by thread: Re: Invisible files (was Re: Small problem)
  • Next by thread: Re: Invisible files (was Re: Small problem)
  • Index(es):
    • Date
    • Thread