Quantcast
Channel: Adobe Community: Message List - Photoshop Scripting
Viewing all articles
Browse latest Browse all 27456

The command "Flatten Image" is not currently available.

$
0
0

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


Viewing all articles
Browse latest Browse all 27456

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>