AIPluginSuite Struct Reference
[API Suite List]
These functions access Illustrator-specific plug-in options, and allow Illustrator plug-ins to send messages to one another.
More...
#include <AIPlugin.h>
List of all members.
Detailed Description
These functions access Illustrator-specific plug-in options, and allow Illustrator plug-ins to send messages to one another.
- Note:
- The original version of this suite, version 2, has been largely replaced by the PICA
SPPluginsSuite
, a core suite available to other Adobe applications. Use that suite to access the plug-in list, identify their type and location, and so on. Similarly, it is better to use the PICA SPInterfaceSuite
to send messages.
Member Data Documentation
Sends a message to the main entry point of another Illustrator plug-in.
For example:
SPPluginRef somePlugin;
AISomePluginMessage message;
error = sAIPluginSetupPluginData(somePlugin, &message.d);
if (!error)
error = sAIPluginCallPlugin(somePlugin, kSomePluginSelector, &message );
if (!error)
error = sAIPluginEmptyPluginData(somePlugin, &message.d);
- Parameters:
-
| plugin | The destination plug-in. |
| selector | The selector for the destination plug-in, see Plug-in Selectors. |
| message | The message, of the type suitable for the selector. |
- Note:
- It is recommended that you use the newer PICA
SPInterfaceSuite
to send messages.
Ensures that the destination plug-in's global data (as sent in SPMessageData::globals
) is properly stored back into the plug-in that modified it when responding to the message.
- Parameters:
-
| plugin | The destination plug-in. |
| data | A pointer to the message data. |
- Note:
- It is recommended that you use the newer PICA
SPInterfaceSuite
to send messages.
Retrieves the Illustrator-specific options for a plug-in.
- Parameters:
-
| plugin | The plug-in reference. |
| options | [out] A buffer in which to return the options, an AIPluginOptions value. |
Sets the Illustrator-specific options for a plug-in.
- Parameters:
-
| plugin | The plug-in reference. |
| options | The new options, an AIPluginOptions value. |
Sets up data for sending a message to another plug-in.
- Parameters:
-
| plug-in | The destination plug-in. |
| data | A pointer to the message data. |
- See also:
CallPlugin()
The documentation for this struct was generated from the following file: