Bug with LrPathUtils.getStandardFilePath ('appPrefs') on Mac

Hello

Has anyone tried using LrPathUtils.getStandardFilePath ('appPrefs') on a Mac before?

Sean's test a plugin for me and he's back:

/ Users/username/Library/Preferences/Adobe/Lightroom

as the directory.

According to the knowledge base

The preferences file is the com.adobe.Lightroom2.plist file located in the folder Preferences [username] .

To work around the problem I simply cut the 'Adobe/Lightroom"of the end of the string.  But if someone can confirm if it is a bug, or is there a shade of stalking preferably the files that I'm missing?

Thank you

Matt

Shoot. Here I had looked at it earlier. Thought it was a bug and I let it sit in the queue of bug for a while.

If you are looking for the standard location of Lightroom presets, etc, what you probably want is LrPathUtils.getStandardFilePath ('appData'), not "appPrefs". This was not documented in earlier versions, but should work all the way back to LR 1.3. I'll add it to the next rev of the SDK documentation.

Tags: Photoshop Lightroom

Similar Questions

Maybe you are looking for