Copy link to clipboard
Copied
So we're creating a plug-in that's going to work on both Photoshop and Illustrator and would like to have the same login experience on both. As part of that, we're accessing the unique user ID (GUID) that Adobe helpfully provides for us. Unfortunately, we've found that the GUID accessible in UXP and Express is different from the GUID available in CEP via ExtendScript.
The method in UXP to get the GUID, documented here, is this:
let userId = require('uxp').userInfo.userId(); // Get the GUID of plugin user
The method in ExtendScript to get the GUID (available in both InDesign and Illustrator) is this:
var GUID = app.userGUID;
as documented in the property listing here.
The GUIDs available in Express and UXP are the same, which is great, but they are different from the ExtendScript GUID available in Illustrator, which is not great. Does anyone know if there's a way to access the UXP/Express GUID in Illustrator, or vice versa?
Thanks,
Lawrence
(reluctantly cross-posted on the UXP forum)
Copy link to clipboard
Copied
perhaps the UXP userID formats is different from JSX, I'm gussing here, uxp is not ready in Illustrator.
Can you run jsx from PS to the get userID? I'm not sure if you can get a matching jsx id in PS though.
Copy link to clipboard
Copied
Thanks for the response! Yeah, UXP will be coming to Illustrator at some point, just not yet. And they sunset ExtendScript in Photoshop, and it's never been available in Express. I just wonder if there's a way to either correlate the two or access the old GUID in the UXP/Express world.