• 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: How can know a file is hidden?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can know a file is hidden?


  • Subject: Re: How can know a file is hidden?
  • From: Michael Watson <email@hidden>
  • Date: Wed, 26 Dec 2007 10:34:34 -0500

You do not need to check for a leading dot when using LaunchServices to determine file visibility via kLSItemIsInvisible. LS takes care of this for you.


-- m-s

On 26 Dec, 2007, at 03:39, Diederik Hoogenboom wrote:

Hi,

You can get the kLSItemIsInvisible attribute using LSCopyItemAttributes() function. In addition to this you should also check if a file begins with a dot ('.').

Diederik

--
Diederik Hoogenboom
Twitter: obviousmatter

Obvious Matter - DiskLibrary for Mac
http://www.obviousmatter.com




On 26 dec 2007, at 09:25, shengjun_guan (管聲俊) wrote:

Dear all,

I want to know a file is hidden.How can i do?Waiting for you help.
_______________________________________________


Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
@bungie.org


This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >How can know a file is hidden? (From: shengjun_guan (管聲俊) <email@hidden>)
 >Re: How can know a file is hidden? (From: Diederik Hoogenboom <email@hidden>)

  • Prev by Date: Re: How can know a file is hidden?
  • Next by Date: Re: WebView and Rtf
  • Previous by thread: Re: How can know a file is hidden?
  • Next by thread: capturing text from window in external application
  • Index(es):
    • Date
    • Thread