• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Different user IDs between CEP and UXP

Participant ,
Aug 01, 2024 Aug 01, 2024

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)

TOPICS
Scripting

Views

165

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Aug 01, 2024 Aug 01, 2024

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Aug 01, 2024 Aug 01, 2024

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines