Hoy to get c://users/[[ username ]] Win & Mac?

With .JSX, is used to create a folder to save and read the users settings of my plugin. I was able to access this folder with the File and Folder classes in JSX. How could I do this with UXP now and how I can get the USERNAME and COMPUTER name?


C:\Users\ [[ USERNAME ]] \AppData\Roaming\MyPluginFolder

You’re probably looking for getDataFolder()

1 Like

Thank you very much! Worked, I found another topic that explains how to use it, thank you very much!