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

The command "Flatten Image" is not currently available.

New Here ,
Jul 17, 2014 Jul 17, 2014

Hi

I have an automation plugin for CC 2014 and trying to flatten image by code. It is giving this issue - "The command "Flatten Image" is not currently available."

PIActionDescriptor result = NULL;

    SPErr error = kSPNoError;

    error = sPSActionControl->Play(&result, eventFlattenImage, NULL, plugInDialogDisplay);

Can anyone please guide what could be the reason for this error and what does this error means?

Thanks

TOPICS
Actions and scripting
537
Translate
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
Enthusiast ,
Jul 17, 2014 Jul 17, 2014
LATEST

Have you checked if doc has any locked layers/groups that can cause "method not available"?

Translate
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