Copy link to clipboard
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").
LrPathUtils.standardizePath( '~' )
should do the job for you.