• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
1

Illustrator 2015 changes?

Engaged ,
Jun 18, 2015 Jun 18, 2015

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?

TOPICS
Scripting

Views

914

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Guide ,
Jun 18, 2015 Jun 18, 2015

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...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 18, 2015 Jun 18, 2015

Copy link to clipboard

Copied

I haven't upgraded yet, reading the what's new didn't help getting exited about it

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Jun 18, 2015 Jun 18, 2015

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 19, 2015 Jun 19, 2015

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 20, 2015 Jun 20, 2015

Copy link to clipboard

Copied

LATEST

I finally upgraded, I see a couple of interesting ones in this bunch

Application Object
CC2014Application.pasteRemembersLayers
Data Type: Boolean
Adobe Illustrator 19 Type Library
Does paste operation remember layers structure?
CC2014Application.userAdobeID  (Read Only)
Data Type: string
Adobe Illustrator 19 Type Library
The current users adobe id.
CC2014Application.userGUID  (Read Only)
Data Type: string
Adobe Illustrator 19 Type Library
The current user's GUID.
CC2014Application.deleteWorkspace (workspaceName: string 😞 Boolean
Adobe Illustrator 19 Type Library
Deletes an existing workspace.
workspaceName: Data Type: string
Workspace Name.
CC2015Application.getHelloJSONData (): string
Adobe Illustrator 19 Type Library
Returns the JSON Data required by Hello.
CC2015Application.isFillActive (): Boolean
Adobe Illustrator 19 Type Library
Checks if fill is active or not.
CC2015Application.isStrokeActive (): Boolean
Adobe Illustrator 19 Type Library
Checks if stroke is active or not.
CC2015Application.isTouchWorkspace (): Boolean
Adobe Illustrator 19 Type Library
Is In Touch Workspace.
CC2015Application.isUserSharingAppUsageData (): Boolean
Adobe Illustrator 19 Type Library
Is user sharing the application usage data.
CC2015Application.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.
CC2015Application.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.
CC2014Application.resetWorkspace (): Boolean
Adobe Illustrator 19 Type Library
Resets the current workspace.
CC2014Application.saveWorkspace (workspaceName: string 😞 Boolean
Adobe Illustrator 19 Type Library
Saves a new workspace.
workspaceName: Data Type: string
Workspace Name.
CC2015Application.setThumbnailOptionsForCloudLibrary (options:any)
Adobe Illustrator 19 Type Library
For Internal Use.
options: Data Type: any
Options for the PNG24 export.
CC2015Application.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.
CC2014Application.switchWorkspace (workspaceName: string 😞 Boolean
Adobe Illustrator 19 Type Library
Switches between workspaces.
workspaceName: Data Type: string
Workspace Name.
CC2015Dimensions
Adobe Illustrator 19 Type Library
Dimensions (height and width) (numbers)
Document Object
CC2015Document.colorProfileName  (Read Only)
Data Type: string
Adobe Illustrator 19 Type Library
The name of the color profile of the document.
CC2015Document.embeddedItems  (Read Only)
Data Type: EmbeddedItems
Adobe Illustrator 19 Type Library
The embedded art items in this layer.
CC2015Document.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.
CC2015Document.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.
CC2015Document.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
CC2014DocumentLayoutStyle
Adobe Illustrator 19 Type Library
Document layout style types.
CASCADE, CONSOLIDATEALL, FLOATALL, HORIZONTALTILE, VERTICALTILE
New Documents Method
CC2014Documents.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
CC2015EmbedItem
Base Class: PageItem
Adobe Illustrator 19 Type Library
Embedded artwork item.
New Class
CC2015EmbeddedItems
Adobe Illustrator 19 Type Library
EmbeddedItems Collection.
ExportOptionsPNG24 Object
CC2015ExportOptionsPNG24.dimensions
Data Type: Dimensions
Adobe Illustrator 19 Type Library
Dimensions in which to contain the resulting raster.
ExportOptionsSVG Object
CC2014ExportOptionsSVG.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.
CC2014ExportOptionsSVG.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
CC2014Layer.absoluteZOrderPosition  (Read Only)
Data Type: Int32
Adobe Illustrator 19 Type Library
The absolute drawing order of the layer.
OpenOptions Object
CC2015OpenOptions.addToRecentFiles
Data Type: Boolean , Default Value: true
Adobe Illustrator 19 Type Library
Add this file to the list of recently opened files.
PageItem Object
CC2014PageItem.absoluteZOrderPosition  (Read Only)
Data Type: Int32
Adobe Illustrator 19 Type Library
The absolute drawing order of the layer.
TextFrameItem Object
CC2014TextFrameItem.convertAreaObjectToPointObject (): TextFrameItem
Adobe Illustrator 19 Type Library
Convert Area Type Text Object To Point Type Object.
CC2014TextFrameItem.convertPointObjectToAreaObject (): TextFrameItem
Adobe Illustrator 19 Type Library
Convert Point Type Text Object To Area Type Object.
CC2015TextFrameItem.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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines