Copy link to clipboard
Copied
I don't see any new docs available on adobe's scripting page for AI. Does anyone know if there were any changes to the scripting engine?
Copy link to clipboard
Copied
Not had a chance to have a good look yet.
but take a look at:
Dimensions, EmbedItem, EmbeddedItems
post back if you find more...
Copy link to clipboard
Copied
I haven't upgraded yet, reading the what's new didn't help getting exited about it
Copy link to clipboard
Copied
the creative cloud charts look interesting, not that I have any use for them.
The 64000% zoom (up from 6400%) is the main sell for me.
I'm always dealing with very detailed small artwork.
Sick of having to scale it up to edit then reduce again.
the recover feature is a plus too.
Copy link to clipboard
Copied
There are no new documentation for scripting.
Here is some new Preference Keys for 2015 edition I ever found.
CrashRecovery/IdleLoopTimeInterval [int] default=2(min)
CrashRecovery/AutomaticallySave [bool] default=1
CrashRecovery/RecoveryFolderLocation [string]
Performance/EnableThinFilledPaths [bool] default=0
Performance/AnimZoom [bool] default=1
Performance/EnableGPU [bool] default=1
Performance/GPUSupported [bool] default=1
We can use these keys like below:
app.preferences.setBooleanPreference("CrashRecovery/AutomaticallySave", 1);
Ten
Copy link to clipboard
Copied
I finally upgraded, I see a couple of interesting ones in this bunch
Application Object | |
CC2014 | Application.pasteRemembersLayers |
Data Type: Boolean | |
Adobe Illustrator 19 Type Library | |
Does paste operation remember layers structure? | |
CC2014 | Application.userAdobeID (Read Only) |
Data Type: string | |
Adobe Illustrator 19 Type Library | |
The current users adobe id. | |
CC2014 | Application.userGUID (Read Only) |
Data Type: string | |
Adobe Illustrator 19 Type Library | |
The current user's GUID. | |
CC2014 | Application.deleteWorkspace (workspaceName: string 😞 Boolean |
Adobe Illustrator 19 Type Library | |
Deletes an existing workspace. | |
workspaceName: Data Type: string | |
Workspace Name. | |
CC2015 | Application.getHelloJSONData (): string |
Adobe Illustrator 19 Type Library | |
Returns the JSON Data required by Hello. | |
CC2015 | Application.isFillActive (): Boolean |
Adobe Illustrator 19 Type Library | |
Checks if fill is active or not. | |
CC2015 | Application.isStrokeActive (): Boolean |
Adobe Illustrator 19 Type Library | |
Checks if stroke is active or not. | |
CC2015 | Application.isTouchWorkspace (): Boolean |
Adobe Illustrator 19 Type Library | |
Is In Touch Workspace. | |
CC2015 | Application.isUserSharingAppUsageData (): Boolean |
Adobe Illustrator 19 Type Library | |
Is user sharing the application usage data. | |
CC2015 | Application.launchExtension (extensionID: string 😞 Int32 |
Adobe Illustrator 19 Type Library | |
Launch cep Extension given its ID. | |
extensionID: Data Type: string | |
Arguments for Launching Extension - ID of extension in manifest.xml of corresponding extension. | |
CC2015 | Application.openCloudLibraryAssetForEditing (assetURL: File , thumbnailURL: File , options:any): Document |
Adobe Illustrator 19 Type Library | |
For Internal Use. | |
assetURL: Data Type: File | |
For Internal use. | |
thumbnailURL: Data Type: File | |
For Internal use. | |
options (optional): Data Type: any | |
For internal use. | |
CC2014 | Application.resetWorkspace (): Boolean |
Adobe Illustrator 19 Type Library | |
Resets the current workspace. | |
CC2014 | Application.saveWorkspace (workspaceName: string 😞 Boolean |
Adobe Illustrator 19 Type Library | |
Saves a new workspace. | |
workspaceName: Data Type: string | |
Workspace Name. | |
CC2015 | Application.setThumbnailOptionsForCloudLibrary (options:any) |
Adobe Illustrator 19 Type Library | |
For Internal Use. | |
options: Data Type: any | |
Options for the PNG24 export. | |
CC2015 | Application.showColorPicker (color: Color 😞 Color |
Adobe Illustrator 19 Type Library | |
Invokes application's color picker. | |
color: Data Type: Color | |
The color to load in the color picker initially. | |
CC2014 | Application.switchWorkspace (workspaceName: string 😞 Boolean |
Adobe Illustrator 19 Type Library | |
Switches between workspaces. | |
workspaceName: Data Type: string | |
Workspace Name. | |
CC2015 | Dimensions |
Adobe Illustrator 19 Type Library | |
Dimensions (height and width) (numbers) | |
Document Object | |
CC2015 | Document.colorProfileName (Read Only) |
Data Type: string | |
Adobe Illustrator 19 Type Library | |
The name of the color profile of the document. | |
CC2015 | Document.embeddedItems (Read Only) |
Data Type: EmbeddedItems | |
Adobe Illustrator 19 Type Library | |
The embedded art items in this layer. | |
CC2015 | Document.exportSelectionAsAi (exportFile: File ) |
Adobe Illustrator 19 Type Library | |
Export the selection as Ai file. | |
exportFile: Data Type: File | |
The file to export the selection to. | |
CC2015 | Document.exportSelectionAsPNG (exportFile: File , options:any) |
Adobe Illustrator 19 Type Library | |
Export the selection as PNG file. | |
exportFile: Data Type: File | |
The file to export the selection to. | |
options (optional): Data Type: any | |
Options for the PNG24 export. | |
CC2015 | Document.importFile (importFile: File ) |
Adobe Illustrator 19 Type Library | |
Import the file into current Ai document. | |
importFile: Data Type: File | |
The file to import in the current document. | |
New Enumaration | |
CC2014 | DocumentLayoutStyle |
Adobe Illustrator 19 Type Library | |
Document layout style types. | |
CASCADE, CONSOLIDATEALL, FLOATALL, HORIZONTALTILE, VERTICALTILE | |
New Documents Method | |
CC2014 | Documents.arrange (layoutStyle: DocumentLayoutStyle 😞 Boolean |
Adobe Illustrator 19 Type Library | |
Arranges the documents in the specified style. | |
layoutStyle: Data Type: DocumentLayoutStyle | |
The document layout style. | |
New Class | |
CC2015 | EmbedItem |
Base Class: PageItem | |
Adobe Illustrator 19 Type Library | |
Embedded artwork item. | |
New Class | |
CC2015 | EmbeddedItems |
Adobe Illustrator 19 Type Library | |
EmbeddedItems Collection. | |
ExportOptionsPNG24 Object | |
CC2015 | ExportOptionsPNG24.dimensions |
Data Type: Dimensions | |
Adobe Illustrator 19 Type Library | |
Dimensions in which to contain the resulting raster. | |
ExportOptionsSVG Object | |
CC2014 | ExportOptionsSVG.artboardRange |
Data Type: string | |
Adobe Illustrator 19 Type Library | |
If SaveMultipleArtboards is true,this will be considered for multi-asset extraction | |
which specifies artboard range.Empty string will extracts all the artboards.Default is empty string. | |
CC2014 | ExportOptionsSVG.saveMultipleArtboards |
Data Type: Boolean , Default Value: false | |
Adobe Illustrator 19 Type Library | |
All the artboards or range of the artboards will be saved. | |
Layer Object | |
CC2014 | Layer.absoluteZOrderPosition (Read Only) |
Data Type: Int32 | |
Adobe Illustrator 19 Type Library | |
The absolute drawing order of the layer. | |
OpenOptions Object | |
CC2015 | OpenOptions.addToRecentFiles |
Data Type: Boolean , Default Value: true | |
Adobe Illustrator 19 Type Library | |
Add this file to the list of recently opened files. | |
PageItem Object | |
CC2014 | PageItem.absoluteZOrderPosition (Read Only) |
Data Type: Int32 | |
Adobe Illustrator 19 Type Library | |
The absolute drawing order of the layer. | |
TextFrameItem Object | |
CC2014 | TextFrameItem.convertAreaObjectToPointObject (): TextFrameItem |
Adobe Illustrator 19 Type Library | |
Convert Area Type Text Object To Point Type Object. | |
CC2014 | TextFrameItem.convertPointObjectToAreaObject (): TextFrameItem |
Adobe Illustrator 19 Type Library | |
Convert Point Type Text Object To Area Type Object. | |
CC2015 | TextFrameItem.generateThumbnailWithTextFrameProperties (textString: string , fontSize: number , textColor: Color , destinationPath: File ) |
Adobe Illustrator 19 Type Library | |
Generates the thumbnail with the properties of first character in the text frame. | |
textString: Data Type: string | |
The text string which is to be used in the thumbnail generation. | |
fontSize: Data Type: number | |
The size in points of the text string. | |
textColor: Data Type: Color | |
The color of the text string. | |
destinationPath: Data Type: File | |
The location at which the thumbnail is to be stored. |