tags:

views:

32

answers:

1

Ok, I know this is a longshot, but I'm going to ask anyway...

I develop web applications locally on my computer and use the normal Apache directory index to navigate amongst the directories of project. When I am in Finder, I label certain directories with color labels to highlight what is current.

Wondering if there is a way to determine what color the directory is in Finder with PHP? I am guessing this information would be stored inside the DS_Store file. So that way I can build an list of my projects automatically with PHP to be able to browse.

Thanks.

A: 

You might need to use Applescript to ask the Finder that. I wouldn't advise trying to parse the (evil evil) .DS_Store file. Even if you do the data might not be there, or the format gets changed in 10.7 or something, who knows...

RyanWilcox