Adobe.com
Contents Suites Classes Class Index Member Index

Action Definitions

Defines

#define kAINewDocumentAction   "adobe_newDocument"
 Makes a new document.
#define kAIOpenDocumentAction   "adobe_openDocument"
 Opens a document.
#define kAISaveDocumentAction   "adobe_saveDocument"
 Saves the current document under its current name, according to its current format.
#define kAISaveDocumentAsAction   "adobe_saveDocumentAs"
 Saves the current document.
#define kAIRevertDocumentAction   "adobe_revertDocument"
 Reverts the current document to its state when last saved.
#define kAICloseDocumentAction   "adobe_closeDocument"
 Closes the current document or all open documents.
#define kAIExportDocumentAction   "adobe_exportDocument"
 Exports the current document to the file format specified by the format and extension parameters.
#define kAIPrintDocumentAction   "adobe_printDocument"
 Prints the current document.
#define kAIPlaceDocumentAction   "adobe_placeDocument"
 Places a file into a document.
#define kAIEnvelopeMenuAction   "ai_plugin_envelope"
 Runs operations in the Envelope submenu of the Action menu.
#define kAIEnvelopeMakeAction   "ai_plugin_envelope_make"
 Makes an envelope from the selected objects on the artboard.
#define kAIEnvelopeResetAction   "ai_plugin_envelope_reset"
 Resets the selected envelopes on the artboard.
#define kAILivePaintMenuAction   "ai_plugin_planetx"
 Runs an operation from a Live Paint submenu.
#define kAIDoMenuCommandAction   "adobe_commandManager"
 Invokes a menu command.
#define kAITranslateSelectionAction   "adobe_move"
 Translates the position of the selected objects.
#define kAIRotateSelectionAction   "adobe_rotate"
 Rotates the selected objects.
#define kAIScaleSelectionAction   "adobe_scale"
 Scales the selected objects.
#define kAIReflectSelectionAction   "adobe_reflect"
 Reflects the selected objects.
#define kAIShearSelectionAction   "adobe_shear"
 Reflects the selected objects.
#define kAITransformSelectionAgainAction   "adobe_transformAgain"
 Repeats the most recent transformation on the selected objects.
#define kAISendSelectionToFrontAction   "adobe_sendToFront"
 Brings the selected objects to the front of the paint order.
#define kAISendSelectionToBackAction   "adobe_sendToBack"
 Sends the selected objects to the back of the paint order.
#define kAISendSelectionForwardAction   "adobe_sendForward"
 Brings the selected objects forward in the paint order.
#define kAISendSelectionBackwardAction   "adobe_sendBackward"
 Sends the selected objects backward in the paint order.
#define kAICutSelectionAction   "adobe_cut"
 Cuts the selected objects.
#define kAICopySelectionAction   "adobe_copy"
 Copies the selected objects to the clipboard.
#define kAIClearSelectionAction   "adobe_clear"
 Clears the selection.
#define kAIPasteClipboardAction   "adobe_paste"
 Pastes objects from the clipboard into the current document.
#define kAIPasteClipboardInFrontAction   "adobe_pasteInFront"
 Pastes objects from the clipboard into the current document at the front of the paint order.
#define kAIPasteClipboardInBackAction   "adobe_pasteInBack"
 Pastes objects from the clipboard into the current document at the back of the paint order.
#define kAISelectAllAction   "adobe_selectAll"
 Selects all objects in the current document.
#define kAIDeselectAllAction   "adobe_deselectAll"
 Deselects all objects in the current document.
#define kAIGroupSelectionAction   "adobe_group"
 Groups selected objects.
#define kAIUngroupSelectionAction   "adobe_ungroup"
 Ungroups selected objects.
#define kAILockSelectionAction   "adobe_lock"
 Locks selected objects.
#define kAIUnlockAllAction   "adobe_unlockAll"
 Unlocks all objects.
#define kAIHideSelectionAction   "adobe_hideSelection"
 Hides selected objects.
#define kAIShowAllAction   "adobe_showAll"
 Shows all objects.
#define kAIRemoveAnchorPointsAction   "adobe_removeAnchorPoints"
 Removes the currently selected anchor points.
#define kAIMakeMaskFromSelectionAction   "adobe_makeMask"
 Makes a mask from currently selected objects.
#define kAIReleaseSelectedMasksAction   "adobe_releaseMask"
 Releases selected masks.
#define kAIEditSelectedMasksAction   "adobe_editMask"
 Edits selected masks.
#define kAIMakeCompoundFromSelectionAction   "adobe_makeCompound"
 Makes a compound object from selected objects.
#define kAIReleaseSelectedCompoundAction   "adobe_releaseMask"
 Releases selected compound objects.
#define kAIMakeCropMarksFromSelectionAction   "adobe_makeCropMark"
 Makes crop marks from selected objects.
#define kAIReleaseCropMarksAction   "adobe_releaseCropMark"
 Releases crop marks for selected objects.
#define kAIShowHideGuidesAction   "adobe_showGuide"
 Shows or hides guides.
#define kAILockOrUnlockGuidesAction   "adobe_lockGuide"
 Locks or unlocks guides.
#define kAIMakeGuidesFromSelectionAction   "adobe_makeGuide"
 Makes guides from the currently selected objects.
#define kAIReleaseAllGuidesAction   "adobe_releaseGuide"
 Releases all guides.
#define kAIDeleteAllGuidesAction   "adobe_clearGuide"
 Deletes all guides.
#define kAISetObjectAttributesAction   "adobe_attributePalette"
 Sets object attributes as defined in Attributes palette.
#define kAICreateSliceAction   "AISlice Create Action"
 Creates a slice.
#define kAIDeleteAllSliceAction   "AISlice Delete All Action"
 Deletes all slices in the current document.
#define kAIClipToArtboardSliceAction   "AISlice Clip To Artboard Action"
 Sets clipping for the sliced region.
#define kAISetTextFontAction   "adobe_font"
 Sets the font for subsequently created text, or for selected text.
#define kAISetTextSizeAction   "adobe_fontsize"
 Sets the text size for subsequently created text, or for selected text.
#define kAIShowHiddenCharactersAction   "adobe_showHiddenChar"
 Toggles whether hidden characters are displayed in the current document.
#define kAISetTextOrientationAction   "adobe_textOrientation"
 Sets the text orientation for the current document.
#define kAICreateOutlinesFromTextAction   "adobe_createOutline"
 Creates outlines from the selected text.
#define kAIFitHeadlineAction   "adobe_fitHeadline"
 Fits headline text in the current document.
#define kAILinkTextBlocksAction   "adobe_linkText"
 Links text blocks.
#define kAIUnlinkTextBlocksAction   "adobe_unlinkText"
 Unlinks text blocks.
#define kAIMakeTextWrapAction   "adobe_makeWrap"
 Turns on text wrapping in the current document.
#define kAIReleaseTextWrapAction   "adobe_releaseWrap"
 Turns off text wrapping in the current document.
#define kAISetParagraphStyleAction   "adobe_paragraphPalette"
 Sets the current paragraph style for the current document.
#define kAISetCharacterStyleAction   "adobe_characterPalette"
 Sets the current character style for the current document.
#define kAISetTabStopsAction   "adobe_tabruler"
 Sets tab stops for the current document.
#define kTracingPluginActionName   "ai_plugin_tracing"
 Executes items in the Tracing submenus.

Define Documentation

#define kAIClearSelectionAction   "adobe_clear"

Clears the selection.

#define kAIClipToArtboardSliceAction   "AISlice Clip To Artboard Action"

Sets clipping for the sliced region.

Parameters:
kAIClipOn When true, sets the sliced region to the artboard. When false, sets the sliced region to the object bounds.
#define kAICloseDocumentAction   "adobe_closeDocument"

Closes the current document or all open documents.

Parameters:
kAICloseAllDocumentsKey When true, close all open document. When false, close only the current document.
kAICloseAndSaveDocumentKey When true, saves the document or documents before closing.
#define kAICopySelectionAction   "adobe_copy"

Copies the selected objects to the clipboard.

#define kAICreateOutlinesFromTextAction   "adobe_createOutline"

Creates outlines from the selected text.

#define kAICreateSliceAction   "AISlice Create Action"

Creates a slice.

Parameters:
kAISliceActionBoundsLeftKey Integer, the left boundary of the slice in page coordinates.
kAISliceActionBoundsBottomKey Integer, the bottom boundary of the slice in page coordinates.
kAISliceActionBoundsRightKey Integer, the right boundary of the slice in page coordinates.
kAISliceActionBoundsTopKey Integer, the top boundary of the slice in page coordinates.
#define kAICutSelectionAction   "adobe_cut"

Cuts the selected objects.

#define kAIDeleteAllGuidesAction   "adobe_clearGuide"

Deletes all guides.

#define kAIDeleteAllSliceAction   "AISlice Delete All Action"

Deletes all slices in the current document.

No parameters.

#define kAIDeselectAllAction   "adobe_deselectAll"

Deselects all objects in the current document.

#define kAIDoMenuCommandAction   "adobe_commandManager"

Invokes a menu command.

Parameters:
kAIDoMenuCommandIdKey The command identifier.
#define kAIEditSelectedMasksAction   "adobe_editMask"

Edits selected masks.

#define kAIEnvelopeMakeAction   "ai_plugin_envelope_make"

Makes an envelope from the selected objects on the artboard.

Parameters:
kAIEnvelopeMakeType How to make an envelope from selected objects on the artboard.

  • Make with Warp: kAIEnvelopeActionTypeWarp
  • Make with Mesh: kAIEnvelopeActionTypeMesh
  • Make with Top Object: kAIEnvelopeActionTypeTopObject
kAIEnvelopeNumRows For mesh type: Number of rows in mesh.
kAIEnvelopeNumCols For mesh type: Number of columns in mesh.
kAIEnvelopeWarpStyle For warp type: The predefined warp style, an AIWarpStyle value.
kAIEnvelopeBend For warp type: Bend amount, a percentage value in the range [-100..100]
kAIEnvelopeHorizDistort For warp type: Horizontal distortion amount, a percentage value in the range [-100..100]
kAIEnvelopeVertDistort For warp type: Vertical distortion amount, a percentage value in the range [-100..100]
kAIEnvelopeRotate90 For warp type: 0 to apply horizontally, 1 to apply bend vertically.
#define kAIEnvelopeMenuAction   "ai_plugin_envelope"

Runs operations in the Envelope submenu of the Action menu.

Parameters:
kAIEnvelopeMenuItem The menu item to run.

  • Release: kAIEnvelopeActionMenuRelease, replace the envelope with art objects for the contents (in their original state) and the mesh.
  • Options: kAIEnvelopeActionMenuOptions, select distortion parameters.
  • Expand: kAIEnvelopeActionMenuExpand, replace the envelope with the art objects for the contents, in their distorted state.
  • Edit Contents/Envelope: kAIEnvelopeActionMenuToggle, toggle between editing the contained art and editing the shape of a warp or mesh.
kAIEnvelopeAntiAliasRaster Options parameter. When true, anti-alias is used to smooth rasters that are distorted in envelopes.
kAIEnvelopePreserveRasterShape Options parameter. How to preserve raster shapes when they are distorted by non-rectangular envelopes.

  • When true, apply an alpha channel (transparency) to the raster
  • When false, use a clipping mask on the raster.
kAIEnvelopeFidelity Options parameter. The fidelity value controls how closely the deformed object fits into the envelope region. Higher values add more points to the distorted paths, and take longerto calculate. An integer in the range [0..100]
kAIEnvelopeDistortAppearance Options parameter. When true, distort the appearance of an object (such as applied effects or styles) and not just the object's underlying geometry. The appearance properties are expanded separately. When false, the appearance is applied after the envelope distorts the underlying geometry.
kAIEnvelopeDistortPatterns Options parameter. When true, distort pattern fill, which is expanded separately.
kAIEnvelopeDistortGradients Options parameter. When true, distort gradient fill, which is expanded separately.
#define kAIEnvelopeResetAction   "ai_plugin_envelope_reset"

Resets the selected envelopes on the artboard.

Parameters:
kAIEnvelopeResetType How to reset the envelope:

kAIEnvelopeMaintainShape For mesh type: When true, maintain the envelope shape.
Note:
Additional parameters are the same as for kAIEnvelopeMakeAction
#define kAIExportDocumentAction   "adobe_exportDocument"

Exports the current document to the file format specified by the format and extension parameters.

There may be additional parameters, depending on the file format; see the action information for the individual formats for the definitions.

Parameters:
kAIExportDocumentNameKey The name string for the file to export as.
kAIExportDocumentFormatKey The format string. Optional. If not specified, shows the Export dialog. See the action information for individual formats for definitions of the format strings.
kAIExportDocumentExtensionKey The file extension string. Optional. If not specified, shows the Export dialog.
#define kAIFitHeadlineAction   "adobe_fitHeadline"

Fits headline text in the current document.

#define kAIGroupSelectionAction   "adobe_group"

Groups selected objects.

#define kAIHideSelectionAction   "adobe_hideSelection"

Hides selected objects.

#define kAILinkTextBlocksAction   "adobe_linkText"

Links text blocks.

#define kAILivePaintMenuAction   "ai_plugin_planetx"

Runs an operation from a Live Paint submenu.

Parameters:
kAILivePaintMenuItem The menu item to run, one of:
kPlanarActionMake "Make"
kPlanarActionRelease "Release"
kPlanarActionExpand "Expand"
kPlanarActionOptions "Gap Options"
kAILivePaintGapDetect When item is "Gap Options", whether to turn on gap detection.
kAILivePaintGapSize When item is "Gap Options", the point size of gaps to tolerate.
kAILivePaintCloseGaps When item is "Gap Options", whether to close gaps with real paths.
#define kAILockOrUnlockGuidesAction   "adobe_lockGuide"

Locks or unlocks guides.

Parameters:
kAIShowHideGuidesKey When true, lock guides; when false, unlock guides.
#define kAILockSelectionAction   "adobe_lock"

Locks selected objects.

#define kAIMakeCompoundFromSelectionAction   "adobe_makeCompound"

Makes a compound object from selected objects.

#define kAIMakeCropMarksFromSelectionAction   "adobe_makeCropMark"

Makes crop marks from selected objects.

#define kAIMakeGuidesFromSelectionAction   "adobe_makeGuide"

Makes guides from the currently selected objects.

#define kAIMakeMaskFromSelectionAction   "adobe_makeMask"

Makes a mask from currently selected objects.

#define kAIMakeTextWrapAction   "adobe_makeWrap"

Turns on text wrapping in the current document.

#define kAINewDocumentAction   "adobe_newDocument"

Makes a new document.

Parameters:
kAINewDocumentNameKey The document title string. Optional, default is "untitled-n" (with a unique number).
kAINewDocumentColorModelKey The color model to use. Allowed values are kDocRGBColor and kDocCMYKColor.
kAINewDocumentSettingsFileKey Path to the profile used to create the new document (Unicode string)
kAINewDocumentWidthKey The page width in points (real).
kAINewDocumentHeightKey The page height in points (real).
kAINewDocumentRulerUnitsKey The ruler units, an AIDocumentRulerUnitValue.
kAINewDocumentRasterResolutionKey The document raster resolution. (integer)
kAINewDocumentPreviewModeKey The preview mode for the document. (integer)
kAINewDocumentTransparencyGridKey True to show the transparency grid for the document.
#define kAIOpenDocumentAction   "adobe_openDocument"

Opens a document.

Parameters:
kAIOpenDocumentNameKey The name string of the file to open.
kAIOpenDocumentColorModelKey The color model to use. Allowed values are kDocRGBColor and kDocCMYKColor.
#define kAIPasteClipboardAction   "adobe_paste"

Pastes objects from the clipboard into the current document.

#define kAIPasteClipboardInBackAction   "adobe_pasteInBack"

Pastes objects from the clipboard into the current document at the back of the paint order.

#define kAIPasteClipboardInFrontAction   "adobe_pasteInFront"

Pastes objects from the clipboard into the current document at the front of the paint order.

#define kAIPlaceDocumentAction   "adobe_placeDocument"

Places a file into a document.

Additional parameters can be specified for the action depending on the target file format. See the action information for individual formats for definitions of the additional parameters.

Parameters:
kAIPlaceDocumentActionNameKey The name string of the file to place.
kAIPlaceDocumentActionLinkKey When true, the file is linked. When false, the file is embedded.
kAIPlaceDocumentActionReplaceKey When true, the file replaces the current selection in the document.
kAIPlaceDocumentActionTemplateKey When true. creates a template layer and places the file in that layer.
#define kAIPrintDocumentAction   "adobe_printDocument"

Prints the current document.

Takes no parameters.

#define kAIReflectSelectionAction   "adobe_reflect"

Reflects the selected objects.

Parameters:
kAIReflectSelectionAngleKey The angle of the axis of reflection in degrees.
kAIReflectSelectionAboutDXKey The horizontal offset of the origin with respect to the center of the selection.
kAIReflectSelectionAboutDYKey The vertical offset of the origin with respect to the center of the selection.
kAIReflectSelectionCopyKey When true, reflect a copy of the objects.
kAIReflectSelectionObjectsKey When true, reflect the object geometry.
kAIReflectSelectionPatternsKey When true, reflect patterns.
#define kAIReleaseAllGuidesAction   "adobe_releaseGuide"

Releases all guides.

#define kAIReleaseCropMarksAction   "adobe_releaseCropMark"

Releases crop marks for selected objects.

#define kAIReleaseSelectedCompoundAction   "adobe_releaseMask"

Releases selected compound objects.

#define kAIReleaseSelectedMasksAction   "adobe_releaseMask"

Releases selected masks.

#define kAIReleaseTextWrapAction   "adobe_releaseWrap"

Turns off text wrapping in the current document.

#define kAIRemoveAnchorPointsAction   "adobe_removeAnchorPoints"

Removes the currently selected anchor points.

#define kAIRevertDocumentAction   "adobe_revertDocument"

Reverts the current document to its state when last saved.

Takes no parameters.

#define kAIRotateSelectionAction   "adobe_rotate"

Rotates the selected objects.

Parameters:
kAIRotateSelectionAngleKey The angle of rotation in degrees.
kAIRotateSelectionAboutDXKey The horizontal offset of the origin with respect to the center of the selection.
kAIRotateSelectionAboutDYKey The vertical offset of the origin with respect to the center of the selection.
kAIRotateSelectionCopyKey When true, rotate a copy of the objects.
kAIRotateSelectionObjectsKey When true, rotate the object geometry.
kAIRotateSelectionPatternsKey When true, rotate patterns.
#define kAISaveDocumentAction   "adobe_saveDocument"

Saves the current document under its current name, according to its current format.

Takes no parameters.

#define kAISaveDocumentAsAction   "adobe_saveDocumentAs"

Saves the current document.

The parameters allows you to specify the name and format. There can be additional parameters, depending on the file format; see AINativeAction.h andAISVGAction.h.

Parameters:
kAISaveDocumentAsNameKey The name string of the file to save to. Optional. If not specified, shows a dialog to query user for the name.
kAISaveDocumentAsFormatKey The format string of the format to save to. Optional. If not specified, uses the current format of the document. Use kAINativeFileFormat to save as a native file, kAIEPSFileFormat to save as an EPS file.
kAISaveDocumentAsGetParamsKey When true, shows a dialog to query user for additional parameters required by the format. Optional. Default is false.
#define kAIScaleSelectionAction   "adobe_scale"

Scales the selected objects.

Parameters:
kAIScaleSelectionUniformKey When true, scale is uniform.
kAIScaleSelectionLinesKey When true, scale stroke weights.
kAIScaleSelectionUniformScaleKey The scale factor for uniform scaling.
kAIScaleSelectionHorizontalKey The horizontal scale factor for non-uniform scaling.
kAIScaleSelectionVerticalKey The vertical scale factor for non-uniform scaling.
kAIScaleSelectionAboutDXKey The horizontal offset of the origin with respect to the center of the selection.
kAIScaleSelectionAboutDYKey The vertical offset of the origin with respect to the center of the selection.
kAIScaleSelectionCopyKey When true, scale a copy of the objects.
kAIScaleSelectionObjectsKey When true, scale the object geometry.
kAIScaleSelectionPatternsKey When true, scale patterns.
#define kAISelectAllAction   "adobe_selectAll"

Selects all objects in the current document.

#define kAISendSelectionBackwardAction   "adobe_sendBackward"

Sends the selected objects backward in the paint order.

#define kAISendSelectionForwardAction   "adobe_sendForward"

Brings the selected objects forward in the paint order.

#define kAISendSelectionToBackAction   "adobe_sendToBack"

Sends the selected objects to the back of the paint order.

#define kAISendSelectionToFrontAction   "adobe_sendToFront"

Brings the selected objects to the front of the paint order.

#define kAISetCharacterStyleAction   "adobe_characterPalette"

Sets the current character style for the current document.

Parameters:
kAISetCharacterStyleFontKey The font name string.
kAISetCharacterStyleSizeKey The font size in document points.
kAISetCharacterStyleTrackingKey Tracking.
kAISetCharacterStyleAutoKerningKey Existence enables automatic kerning.
kAISetCharacterStyleKerningKey Kerning value in document points.
kAISetCharacterStyleAutoLeadingKey Existence enables automatic leading.
kAISetCharacterStyleLeadingKey Leading value in document points.
kAISetCharacterStyleHorizontalScaleKey Horizontal scaling factor in range [0..1]
kAISetCharacterStyleVerticalScaleKey Vertical scaling factor in range [0..1]
kAISetCharacterStyleBaselineShiftKey Baseline shift in document points.
kAISetCharacterStyleLanguageKey The language, a language-code value.
kAISetCharacterStyleDirectionKey The direction, a direction-code value.
kAISetCharacterStyleMojiZumeKey True to use MojiZume.
kAISetCharacterStyleWariChuKey True to use WariChu.
kAISetCharacterStyleWariChuScaleKey The WariChu scaling factor in range [0..1]
kAISetCharacterStyleKumiHanKey True to use KumiHan.
kAISetCharacterStyleKumiWaJiKanKey The KumiWaJiKan value.
kAISetCharacterStyleKumiWaOuKanKey The KumiWaOuKan value
#define kAISetObjectAttributesAction   "adobe_attributePalette"

Sets object attributes as defined in Attributes palette.

Parameters:
kAISetObjectAttributesShowCenterKey Sets the show-center state (true/false).
kAISetObjectAttributesReverseDirectionKey Sets the reverse-direction state (true/false).
kAISetObjectAttributesFillRuleKey Sets the fill-rule usage (0 for non-zero rule, 1 for even-odd rule).
kAISetObjectAttributesResolutionKey Sets the resolution in dots-per-inch (dpi)
kAISetObjectAttributesOverprintFillKey Sets the overprint state for fill (true/false).
kAISetObjectAttributesOverprintStrokeKey Sets the overprint state for strokes (true/false).
kAISetObjectAttributesNoteKey Sets an associated comment string.
kAISetObjectAttributesURLKey Sets an associated URL string.
kAISetObjectAttributesImageMapKey Sets an associated image map type (0 for none, 1 for rectangle map, 2 for polygonal map).
#define kAISetParagraphStyleAction   "adobe_paragraphPalette"

Sets the current paragraph style for the current document.

Parameters:
kAISetParagraphStyleAlignmentKey Alignment, an alignment value.
kAISetParagraphStyleJustifyLastLineKey True to justify the last line.
kAISetParagraphStyleHangingPunctuationKey True to allow hanging punctuation.
kAISetParagraphStyleAutoHyphenationKey True to do automatic hyphenation.
kAISetParagraphStyleLeftIndentKey Left indent in document points.
kAISetParagraphStyleRightIndentKey Right indent in document points.
kAISetParagraphStyleIndentFirstKey First-line indent in document points.
kAISetParagraphStyleSpaceBeforeKey Line space before paragraph in document points.
kAISetParagraphStyleMinimumWordSpacingKey Minimum word spacing in document points.
kAISetParagraphStyleMaximumWordSpacingKey Maximum word spacing in document points.
kAISetParagraphStyleOptimalWordSpacingKey Optimal word spacing in document points.
kAISetParagraphStyleMinimumLetterSpacingKey Minimum letter spacing in document points.
kAISetParagraphStyleMaximumLetterSpacingKey Maximum letter spacing in document points.
kAISetParagraphStyleOptimalLetterSpacingKey Optimal letter spacing in document points.
kAISetParagraphStyleMinimumCharsBeforeHyphenKey Minimum number of characters before a hyphen.
kAISetParagraphStyleMinimumCharsAfterHyphenKey Maximum number of characters before a hyphen.
kAISetParagraphStyleMaximumConsecutiveHyphensKey Maximum number of consecutive hyphens.
kAISetParagraphStyleProcessRepeatCharactersKey True to process repeat characters.
kAISetParagraphStyleBindingPunctuationKey True to use binding punctuation.
kAISetParagraphStyleCJKBindingPunctuationTypeKey The binding punctuation type to use with Asian character sets.
kAISetParagraphStyleCJKDontSqueezePeriodKey True to not squeeze periods with Asian character sets.
kAISetParagraphStyleCJKBindContinuousCharsKey True to bind continuous characters with Asian character sets.
kAISetParagraphStyleCJKDontAdjustContinuousCharsKey True to not adjust continuous characters with Asian character sets.
kAISetParagraphStyleCJKHangCharsAlwaysHangKey True to let hanging characters hang with Asian character sets.
#define kAISetTabStopsAction   "adobe_tabruler"

Sets tab stops for the current document.

Each tab stop is specified by two key entries constructed from a pair of characters and the tab stop number 'n' as follows:

makeLong('a', 'l', n) specifies the alignment makeLong('p', 's', n) specifies the position

where makeLong() is defined to be:

unsigned long makeLong(char a, char b, int number){
        unsigned long rVal;

        if (number > 100 || number < 0)
        return 0;

        rVal = a << 24;
        rVal += b << 16;
        rVal += (char)((number / 10 + 48)) << 8;
        rVal += (number % 10 + 48);

        return rVal;
}
Parameters:
kAISetTabStopsPaletteOrientationKey True to set the tab-stop palette orientation to horizontal, false for vertical.
kAISetTabStopsNumberOfStopsKey The number of tab stops.
kAISetTabStopsAutoStopDeltaKey An interval in document points for automatic tabs.
#define kAISetTextFontAction   "adobe_font"

Sets the font for subsequently created text, or for selected text.

Parameters:
kAISetTextFontKey The font name string.
kAISetTextFontFamilyKey (Not used) The font family string.
kAISetTextFontStyleKey (Not used) The font style string.
#define kAISetTextOrientationAction   "adobe_textOrientation"

Sets the text orientation for the current document.

Parameters:
kAISetTextOrientationKey The orientation, 0 for horizontal, 1 for vertical.
#define kAISetTextSizeAction   "adobe_fontsize"

Sets the text size for subsequently created text, or for selected text.

Parameters:
kAISetTextSizeKey The font size.
#define kAIShearSelectionAction   "adobe_shear"

Reflects the selected objects.

Parameters:
kAIShearSelectionShearAngleKey The amount of shearing in degrees.
kAIShearSelectionAngleKey The angle along which to shear in degrees.
kAIShearSelectionAboutDXKey The horizontal offset of the origin with respect to the center of the selection.
kAIShearSelectionAboutDYKey The vertical offset of the origin with respect to the center of the selection.
kAIShearSelectionCopyKey When true, shear a copy of the objects.
kAIShearSelectionObjectsKey When true, shear the object geometry.
kAIShearSelectionPatternsKey When true, shear patterns.
#define kAIShowAllAction   "adobe_showAll"

Shows all objects.

#define kAIShowHiddenCharactersAction   "adobe_showHiddenChar"

Toggles whether hidden characters are displayed in the current document.

#define kAIShowHideGuidesAction   "adobe_showGuide"

Shows or hides guides.

Parameters:
kAIShowHideGuidesKey When true, show guides; when false, hide guides.
#define kAITransformSelectionAgainAction   "adobe_transformAgain"

Repeats the most recent transformation on the selected objects.

#define kAITranslateSelectionAction   "adobe_move"

Translates the position of the selected objects.

Parameters:
kAITranslateSelectionHorizontalKey The horizontal offset in points.
kAITranslateSelectionVerticalKey The vertical offset in points.
kAITranslateSelectionCopyKey When true, translate a copy of the objects.
kAITranslateSelectionObjectsKey When true, translate the object geometry.
kAITranslateSelectionPatternsKey When true, translate patterns.
#define kAIUngroupSelectionAction   "adobe_ungroup"

Ungroups selected objects.

#define kAIUnlinkTextBlocksAction   "adobe_unlinkText"

Unlinks text blocks.

#define kAIUnlockAllAction   "adobe_unlockAll"

Unlocks all objects.

#define kTracingPluginActionName   "ai_plugin_tracing"

Executes items in the Tracing submenus.

Parameters:
kAITracingMenuItem The menu item to run, a kTracingAction* constant.See AITracingAction.h.


Contents Suites Classes Class Index Member Index
Adobe Solutions Network
 
Copyright © 2016 Adobe Systems Incorporated. All rights reserved.
Terms of Use Online Privacy Policy Adobe and accessibility Avoid software piracy Permissions and Trademarks