Just trying to read/use
require(‘uxp’).userInfo.userId()
If I load the plugin through the UXP tool or with Photoshop open, it works fine. If I install the plugin with Photoshop closed, it just returns ‘’
If I disable and enable the plugin, it works (because Photoshop is open).
I saw this Plugin doesn’t work if installed… and tried using both ‘startup’ and ‘use’ for ‘loadEvent’ with no difference in results.
I’m guessing I’m missing something that’s preventing the require(‘uxp’) load or order, but even if I call that afterwards using a button, I get the same results (it doesn’t work, returns just a blank). I don’t think it’s a permission issue since it works for me if I load the plugin with Photoshop open/through UXP tool?