Exposing . directories in the Finder window

Discussion in 'Mac Programming' started by forrie, Sep 5, 2010.

  1. macrumors newbie

    #1
    A friend is writing a program that opens a Finder window to facilitate the selection of a configuration file. In this case, one potential location of a file resides in a prefixed "." directory (ie: /Users/rob/.name) which is not exposed in the Finder window -- and there doesn't appear to be a way to force that through the API.

    It seems like a simple enough problem to solve; however, I wonder if someone here might have run into this before and have a solution.


    Thanks...
     
  2. macrumors 68000

    Sydde

    #2
    Try using NSWorkspace to tell Finder to open the folder. If the user has access to the folder (read/enter privilege), Finder will display the folder's content in a window even if the folder is hidden.
     
  3. macrumors 603

    #3

Share This Page