Copy link to clipboard
Copied
Hi all, I want write plugin that read metadata from catalog and export as text file.
I want to put exported files on user's home, but I can not find method described to obtain users home
on API documents.
Any suggestions are welcome.
LrPathUtils.standardizePath( '~' ) works on Mac but not Windows. Instead, use LrPathUtils.getStandardFilePath ("home").
Copy link to clipboard
Copied
LrPathUtils.standardizePath( '~' )
should do the job for you.
Copy link to clipboard
Copied
LrPathUtils.standardizePath( '~' ) works on Mac but not Windows. Instead, use LrPathUtils.getStandardFilePath ("home").