![]() |
Adobe Photoshop SDK |
|
Automation Module Automation plug-in modules access all Photoshop scriptable events. More...
Detailed DescriptionAutomation plug-in modules access all Photoshop scriptable events. These modules appear under the Automate menu or the Help menu. Automation plug-ins are built on top of the Adobe Plug-in Component Architecture (PICA). For further information, see Photoshop Actions Event Guide, and Adobe PICA API. Since Automation modules are built on top of PICA, they have a different invocation than many of the other Photoshop plug-in modules. By convention the entry point is called DLLExport SPAPI SPErr AutoPluginMain( const char* caller, // who is calling const char* selector, // what do they want void* message // what is the message ) Three arguments are passed to the All PICA plug-ins receive five message actions: startup, shutdown, reload, unload and about. These are documented in The Adobe PICA API. In addition, automation plug-ins receive a caller/selector pair that indicates the plug-in should begin the automation. See kPSPhotoshopCaller and kPSDoIt. The third parameter is a pointer to a data structure, which provides data that depends on the message action. For an Automation module, when the caller/selector pair is Define Documentation
Caller portion of message action sent to an Automation plug-in entry point.
Selector portion of message action sent to an Automation plug-in entry point. When the plug-in receives this message, it should execute its core functionality. Typedef Documentation
Parameters passed to an automation plug-in through the message data.
Message passed to all automation plug-in entry points, when the caller is is See Adobe PICA API. |