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

Access ReadImageDocumentDesc structure from automation plugin?

Explorer ,
Sep 25, 2014 Sep 25, 2014

Copy link to clipboard

Copied

One more, as long as I'm logged in...

Title says it all: is it possible for an automation plugin to get s pointer to a valid ReadImageDocumentDesc structure for the active document, and if so, how?

All I really need are a simple few things like image mode, but the functions in PropertyUtils.h (e.g. PIGetImageMode()) fail miserably when called from an automation plugin.

TOPICS
SDK

Views

363

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
Explorer ,
Sep 25, 2014 Sep 25, 2014

Copy link to clipboard

Copied

Ok, finally scoped out the value returned from PIGetInfo, at least for image mode, which was the most pressing issue.

This particular kabuki dance would be unnecessary if PS honored the 'SupportedModes' PiPL resource values for automation plugins...

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
Engaged ,
Apr 18, 2022 Apr 18, 2022

Copy link to clipboard

Copied

LATEST

Yo @Lee_DeRaud, stuck on the same issue, can you share some hints/code what/where U fished it out from? 

TIA 

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