Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

forrie

macrumors regular
Original poster
Mar 6, 2008
182
164
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...
 
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.