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

Changes in CS6

Community Expert ,
May 10, 2012 May 10, 2012

Copy link to clipboard

Copied

OMG! the CS6 DOM additions are _________. (fill in the blanks).

2 Enumerations

- Compatibility.ILLUSTRATOR16

- ExportType.TIFF

2 Methods

- PlacedItem.relink()

- Application.sendScriptMessage()

1 Data Class

- ExportOptionsTIFF

(According to the CS6 SCRIPTING REFERENCE)

TOPICS
Scripting

Views

5.0K

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
Guru ,
May 10, 2012 May 10, 2012

Copy link to clipboard

Copied

Carlos, can you save that as PDF. It would save me popping down the devcentre…

Compatability should be not too dificult 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 ,
May 10, 2012 May 10, 2012

Copy link to clipboard

Copied

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 ,
May 10, 2012 May 10, 2012

Copy link to clipboard

Copied

Finally the ability to Export directly to a Tiff file. Do the options include Transparency?

Just downloaded the reference file and no Transparency for Tiff. Also what is IZW compression? Has it taken the place of LZW?

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
Guru ,
May 10, 2012 May 10, 2012

Copy link to clipboard

Copied

Carlos, I wanted your version… As above no need for the rest…

Larry, as you can see for your self IZW has a better compression algorithm than LZW but only for the first third…

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 ,
May 10, 2012 May 10, 2012

Copy link to clipboard

Copied

Good one!!

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
Guru ,
May 10, 2012 May 10, 2012

Copy link to clipboard

Copied

All joking apart… This is NOT good news for an app that has serious ground to make up… I bet PS & ID are making further leaps forward…

It's no wonder there are no links at the side of this forum… Nothing has changed…

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
Enthusiast ,
May 10, 2012 May 10, 2012

Copy link to clipboard

Copied

That's not all!


From the OMV I have found 3 Application methods. I don't know why they're not listed in the REFERENCE. Here it is:

Application.doScript (action: string , from: string , dialogs: Boolean )
Adobe Illustrator CS6 Type Library
Play an action from the Actions Palette.
action
: Data Type: string
The name of the action to play (note that the case of letters in the Action name is important and must match the case of the name in the Actions palette)
from: Data Type: string
The name of the action set containing the action being played (note that the case of letters in the Action Set name is important and must match the case of the name in the Actions palette)
dialogs
(optional😞 Data Type: Boolean , Default Value: true
Are dialog boxes associated with the action to be presented?

Application.executeMenuCommand (menuCommandString: string )
Adobe Illustrator CS6 Type Library
Executes a menu command using the menu shortcut string.
menuCommandString
: Data Type: string
Menu command shortcut.

Application.dumpPGFFile (file: File , documentColorSpace: DocumentColorSpace , pGFFile: File 😞 Boolean
Adobe Illustrator CS6 Type Library
Dump the PGF portion of ai file to txt file.
file
: Data Type: File
The AI file to be opened.
documentColorSpace
(optional😞 Data Type: DocumentColorSpace
Choose color space only for documents saved with multiple color models (pre-Illustrator 9)
pGFFile
: Data Type: File
Folder to save the output PGF file.


And here are some example:

var f = File.openDialog ('', '*.ai', 0);

app.dumpPGFFile(f, undefined, f.parent);


app.executeMenuCommand('Live Adobe Drop Shadow');


Also see this gist: https://gist.github.com/2568405



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 ,
May 11, 2012 May 11, 2012

Copy link to clipboard

Copied

thanks for the info Moluapple, those first two methods are promising findings...and great script in the link...which I have a question,

what is this? another Method?

app.loadAction(f);

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
Enthusiast ,
May 11, 2012 May 11, 2012

Copy link to clipboard

Copied

O, yes, there are much more:

Application.loadAction (actionFilePath: File )

Adobe Illustrator CS6 Type Library

Load an action into action palette.

actionFilePath: Data Type: File

The path on the system of the action file to be loaded.

Application.unloadAction (setName: string , actionName: string )

Adobe Illustrator CS6 Type Library

Unloads an action into action palette.

setName: Data Type: string

Name of the set to be unloaded.

actionName: Data Type: string

Name of the action to be unloaded.

And the sad part is: you can load actionSet, but can only unload action within actionSet, not the actionSet itself.

Again, maybe not so useful:

Application.reflectCSAW (outputFolder:File)

Adobe Illustrator CS6 Type Library

Generate Creative Suite ActionScript Wrappers in specified directory.

outputFolder: Data Type: File

Location for the output files.

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 ,
May 11, 2012 May 11, 2012

Copy link to clipboard

Copied

thanks, it might come handy, thanks for sharing....you almost convinced me to give CS6 a try

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
Guru ,
May 11, 2012 May 11, 2012

Copy link to clipboard

Copied

Moluapple, thanks for those… They look like some of the bigger wishes too… Evoking menus and actions opens access right up…

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 ,
May 11, 2012 May 11, 2012

Copy link to clipboard

Copied

The app.doScript has always been there for AppleScript and VisualBasic just not for JS. Looking over the JS reference it's still not listed.

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
Guru ,
May 11, 2012 May 11, 2012

Copy link to clipboard

Copied

Are you looking in the docs or the OMV Larry? Actions and menu items would be a hugh break through IMO… A pitty no events… Hum do I get the trial to have rummage…?

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 ,
May 11, 2012 May 11, 2012

Copy link to clipboard

Copied

I'm guessing we'd have to download the trial to get the new OMV and to test 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
Guru ,
May 11, 2012 May 11, 2012

Copy link to clipboard

Copied

LATEST

Yeah you would need the install to be able to browse the info… Jong may well be very good and do a CHM at some point… I use these for versions I don't have installs for… There are some things that aren't in the OMV or docs ( not many ) and some things where they differ… I like to make use of everything…

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