Quantcast
Channel: Adobe Community : Popular Discussions - Illustrator Scripting
Viewing all 12845 articles
Browse latest View live

Access Separations Preview Panel

$
0
0

Hi Forum,

 

Im new to illustrator scripting.

 

Would anybody help me to access "Separations preview panel"  through script.

 

thanks.

 

looking forward for your fabulous support on my request.

 

 

thanks.


Script for randomly replacing symbols

$
0
0

Hi!

 

I'm looking for a script that will allow you to select some objects or symbols in your AI-file and then select some of your symbols from the symbols-library in your file and then randomly replace the original objects/symbols with the symbols selected. I have found a few scripts that does basically this but with random replacement of selected colours, transparency or angles but I need one for randomly replacing symbols.

 

Can someone help?

Alphabetize text frames, duplicate and make a list in order

$
0
0

I am trying to take the selected text, sort it alphabetically, then duplicate all the text so it comes out in a list form.

So if I had the following text selected....

selected text.JPG

And ran my script....which I have just a vague start on...

#target illustrator
var doc = app.activeDocument;
var selectedItems = doc.selection;
var alphaList = [];


for (i = 0; i < selectedItems.length; i++){  alphaList.push(selectedItems[i]);  }
alphaList.sort();

 

The results would be this....

Capture.JPG

Anyone have any guidance for me? Thanks in advance!

Is there a way of adjusting the percentage fill of a shape?

$
0
0

I am making an infographic and all of my shapes are irregular in form. However I want to use the outline of the shape to equal 100% and so a half filled shape would equate to 50%, this however would not necessarily be down the middle of the shape.

 

Is there any way of adjusting how much a shape is filled?

collect and export all layer and sub layer names to an excel file

$
0
0

I have an illustrator file with hundreds of layer and sub layers. I need to extract all the layer and sub layer names for referencing by our programmer. I found this photoshop script and am trying to modify it. But it only outputs the top level layer names. The (nested) sub layers don't outputted.

 

Would be grateful for a tip on how to modify this so that it outputs all layers and sub (nested) layers.

 

Thanks!

Gary

 

here's the script:

 

LayerExcel.jsx

 

 

DESCRIPTION

 

 

Save layer names to excel file in desktop folder

 

 

**********************************************************/

var theLayers = collectLayers(app.activeDocument, []);

////// function collect all layers //////

function collectLayers (theParent, allLayers) {

      if (!allLayers) {var allLayers = new Array}

      else {};

        var theNumber = theParent.layers.length - 1;

      for (var m = theNumber; m >= 0;m--) {

          var theLayer = theParent.layers[m];

 

 

          OutFoldCSV("~/Desktop/Layer_Data",theLayer.name);

          }

      };

 

 

     function OutFoldCSV(App_Path,Layer_name){

        var outfolder = new Folder(App_Path)

            if (outfolder.exists == false){

                outfolder.create();

                var myLogFile = new File(outfolder + "/LayerRef.xls");

                myLogFile.open("a", undefined, undefined)

                myLogFile.write(Layer_name);

                myLogFile.write("\n");

            }

            else{

                var myLogFile = new File(outfolder + "/LayerRef.xls");

                myLogFile.open("a", undefined, undefined)

                myLogFile.write(Layer_name);               

                myLogFile.write("\n");

            }

    }

Step and repeat

$
0
0
Is there an easy way to step and repeat with numerical off-sets in Illustrator CS3, Photoshop CS3, or InDesign (in OX 10.5) ?

PromptToSaveChanges / ScriptUI Default Highlighted Button

$
0
0

Hi!

 

For some reason when I try to close a document using SaveActions.PROMPTTOSAVECHANGES, the prompt never appears and it autosaves and closes. As a workaround, I've just built my own dialog using ScriptUI, but for some reason I can't figure out how to set the OK button to be highlighted by default like the AI prompt.

 

Untitled-2.jpg

Untitled-1.jpg

var dlg = new Window('dialog', 'Save Changes?');

dlg.orientation = 'column';

 

dlg.add( 'staticText', undefined, 'Save changes to ' + doc.name + ' before closing?' );

 

var btnGrp = dlg.add( 'group' );

var yes = btnGrp.add( 'button', undefined, 'Yes' );

var no = btnGrp.add( 'button', undefined, 'No' );

btnGrp.add( 'button', undefined, 'Cancel' );

dlg.defaultElement = yes;

 

dlg.show;

 

 

If you have could point me in the right direction in either, I'd really appreciate it!  Thanks!

Creating a dynamic action to use with app.doScript() method.

$
0
0

Since building dynamic actions is a topic unto itself, we often search for a reference thread to show somebody how to do this - and we often do so while trying to discuss work which is already involved and has nothing to do with actions or loading and playing them. Therefore I'm creating this thread to show an example and I'll paste the url to it when such questions arise.

 

Sometimes in Illustrator scripting we need to accomplish tasks which (sometimes counterintuitively) do not have scripting access via the DOM.

Fortunately since Illustrator CS6, they gave us the ability to play an action from a script with the app.doScript() command - which is not at all the same as Indesign's function of the same name. This one lets you play an action that exists inside the Actions panel. Immediately this may seem disappointing as users cannot be counted on to have specific actions at any given time.

However, they also gave the ability to load and remove actions from .aia action files. Your .aia file just needs to be somewhere and app.loadAction() can read it right into the Actions panel. Same with app.unloadAction(setName, actionName) - where (thanks to qwertyfly) using (setName, "") an empty string argument for the action name will remove the entire set. And when you try to remove an action that does not exist, well, it throws an error - which is how you can check for making absolutely sure that an action set is completely removed.

This may seem like a lot of work - to write a file, read it, play it and then discard it, often to do something that you'd think scripting should do in the first place.

 

Sometimes the action alone is enough to satisfy an objective - such as changing the document color mode. Other times it is necessary to alter actions in order to get use out of them - such as when you try to create a routine for saving a high-resolution "Export" JPG that is different in output and options form the "Save for Web" JPG. You may want to change some of the parameters such as resolution or the actual destination of the file.

Here is how you can do this.

 

First, record your action as you would normally: record a new set with a new action, call them what you need and then in the Actions flyout menu, save out a .aia file where you can find it. You can open the file in a text editor and read the contents - they are lines of special Actions 'code' which contains some cryptic text.

There are lines which look like a bunch of gibberish characters, they are hex-encoded strings for some parameter item which are strings, and they contain above them a number to signify the amount of characters inside the encoded string. (this is important later because this number also needs to be set properly when you put your own value in there) Other parameter items are simple numbers, but their keys are still obscured.

The truth is, while the string parameters are hexadecimal-encoded, the keys are both hexadecimal and decimal encoded! So if you wanted to know the special 4-letter keys, you'll have to run those through two decoder routines.

 

Next, you will need to put this entire string into your script and use some string-replacement or string-building to put your own data in those places of the action string where they matter. For example, putting your own file path into a save action.

 

And, after that you need to write a procedure for writing this new altered string to the file system and loading it into your Actions panel. Mind you, to leave things "as they were" you would need to remove the .aia file and the action that you have loaded.

 

Let's try with the save-a-jpeg workaround!

Here is the .aia string which is recorded from an Export JPEG action.

 

Screen Shot 2017-02-10 at 3.04.33 PM.png

/version 3

/name [ 8

  5475746f7269616c

]

/isOpen 1

/actionCount 1

/action-1 {

  /name [ 11

  4578706f7274204a504547

  ]

  /keyIndex 0

  /colorIndex 0

  /isOpen 1

  /eventCount 1

  /event-1 {

  /useRulersIn1stQuadrant 0

  /internalName (adobe_exportDocument)

  /localizedName [ 9

  4578706f7274204173

  ]

  /isOpen 1

  /isOn 1

  /hasDialog 1

  /showDialog 0

  /parameterCount 7

  /parameter-1 {

  /key 1885434477

  /showInPalette 0

  /type (raw)

  /value < 100

  0a00000001000000030000000200000000002c01020000000000000001000000

  69006d006100670065006d006100700000006f00630000000000000000000000

  0000000000000000000000000000000000000000000000000000000000000000

  00000100

  >

  /size 100

  }

  /parameter-2 {

  /key 1851878757

  /showInPalette 4294967295

  /type (ustring)

  /value [ 25

  2f55736572732f566173696c7948616c6c2f4465736b746f70

  ]

  }

  /parameter-3 {

  /key 1718775156

  /showInPalette 4294967295

  /type (ustring)

  /value [ 16

  4a5045472066696c6520666f726d6174

  ]

  }

  /parameter-4 {

  /key 1702392942

  /showInPalette 4294967295

  /type (ustring)

  /value [ 12

  6a70672c6a70652c6a706567

  ]

  }

  /parameter-5 {

  /key 1936548194

  /showInPalette 4294967295

  /type (boolean)

  /value 1

  }

  /parameter-6 {

  /key 1935764588

  /showInPalette 4294967295

  /type (boolean)

  /value 1

  }

  /parameter-7 {

  /key 1936875886

  /showInPalette 4294967295

  /type (ustring)

  /value [ 1

  32

  ]

  }

  }

}

 

We can see many parameters and their various cryptic blocks, but what you want to do is decode as many /type (ustring) elements as possible to get a sense of what the action is doing. At this website, you can do this fairly easily although tediously: Convert Hexadecimal To String Online

For example: "4a5045472066696c6520666f726d6174" turns into "JPEG file format".

In this action example, I am not worried about changing the other parameters dynamically - I'm assuming the settings used in my action are suitable for my purposes such as resolution being 300 for all time. The part I'd like to change is my file path so that my JPEG goes to the right place.

/value [ 25
2f55736572732f566173696c7948616c6c2f4465736b746f70
]

This line yields: "/Users/VasilyHall/Desktop"

So this is the line I'll need to replace.

 

Before anything else - here is how I'd embed the action string with ease. Using a text editor like Sublime text which lets you put many cursors down at one time, I can paste the action string in and find every nextline character. Then it's easy to highlight each line and put quotes around it as well as a comma in the end, or plusses - depending if you want to store the string as an array or a plain string in the script.

Screen Shot 2017-02-10 at 3.16.48 PM.png

I find the plusses a little cluttering so I opt to use this format:
var actionString = [     "string",

     "string"

].join("\n");

 

So my dynamic portion of the string which will be used with string replacement would look like this:

 

"  /value [ {{number_of_characters}}",

"  {{hex_encoded_path}}",

"  ]",

 

When the action is ready to be dispatched, a string replacement would look like this:

var myNewPath = Folder.myDocuments.toString() + "/Destination";

var myNewPathEncoded = hexEncode(myNewPath); // find a hex encode function via google
var thisActionString = actionString.replace("{{hex_encoded_path}}", myNewPathEncoded).replace("{{number_of_characters}}", myNewPath.length);

 

Now it's time to write the file.

var f = File(actionFileLocation);

f.open('w');

f.write(thisActionString);

f.close();

 

And now it's time to load the action.

app.loadAction(actionFileLocation);

 

Now we can play the action.

app.doScript("Export JPEG", "Tutorial");

 

This should save your jpeg, and as of this writing, this is the only way to get the JPEG export which isn't the Save-for-Web variety.

But, let us not forget the cleanup.

 

Remove the .aia file:

f.remove();

 

Remove the single-use dynamic action:

app.unloadAction("Tutorial", "");

 

There you have it: building dynamic actions to do simple and non-simple things, which regular scripting just can't do.


Remove clipping mask

$
0
0
I need to remove the clipping mask in illustrator file through programmatically(Visual Basic (or) Javascript). Kindly advice me.

Thanks,
Prabudass

All Group to Ungroup Script

XML Schema for Variable Library

$
0
0

Here's a description of what I am trying to accomplish:

 

I have to typeset mulitples of the same text information into four illustrator ads/posters for many locations. So I have used the variables panel to create templates using datasets and variable libraries. I am under the impression that the next step is to use Excel to input the information into a spreadsheet that is mapped to the XML document output by Illustrator and then output it again with more information. After that I would write an action to iterate through the datasets and save them as PDFs. This would save me time in ensuring that all the info has the correct font settings.


Here's my problem:

 

How do I write an XML schema for the Illustrator XML so that Excel will understand it?

 

I found some links online, but if there's an easier way or if anyone else has an example for this one, that would be appreciated.

CS6 64bit Illustrator - win, where to place scripts

$
0
0

HI all,

 

I just got CS6,  and I can't figure out where to place all of my scripts.  In CS4 version, once the scripts where in the correct folder, they would show up in the the scripts list,.  In CS6, I have to keep finding them.  Any help would be great.

Script to convert all text to paths and save out artboards

$
0
0

I'm wondering if there's a way to convert all text to paths, even text within symbols, and then export each artboard to it's own file. This would be for creating flat files to upload to a printing service. Bonus would be to also remove unused symbols and hidden layers. Is this possible with scripting?

Rounding decimals script on a CMYK document

$
0
0

I've never actually created scripts before so trying to create code from scratch is totally foreign to me, but I'm trying to make one by using various bits of code that I've found in the default Adobe scripts and other pieces that I've found online. Essentially I want it to do the following one one step:

 

1. Copy and paste the artwork from an RGB workspace to a CMYK workspace, converting all colour values to CMYK

2. Change all RGB blacks to 0%, 0%, 0%, 100%

3. Round the CMYK decimal values to whole numbers.

 

I've managed to successfully complete the first 2 steps with the below, but I'm having trouble with the rounding. I sourced the script to round off CMYK decimals from a forum comment by CarlosCanto and since it requires adding the artwork colours to the Swatches panel before running it, I'm trying to incorporate the script for that in there too, so it'll happen in one step. The swatches are being added to the panel with the script I've put together, but I still can't get the decimals to round after that. I've noticed that, once the swatches are added, the swatch is named 'Untitled' rather than named with it's CMYK values, could this be why?

 

Any help would be really appreciated!

 

Here's what I'm using below:

 

 

#target illustrator 

doc=activeDocument; 

for (i=0; i<doc.layers.length; i++){doc.layers[i].hasSelectedArtwork=true;} // select all 

copy();// 

doc2=documents.add(DocumentColorSpace.CMYK,doc.width,doc.height,doc.artboards.length); // new doc CMYK 

doc2.rulerOrigin=doc.rulerOrigin; //  

doc2.pageOrigin=doc.pageOrigin; // 

paste(); // 

for (i=0; i<doc2.pageItems.length; i++){doc2.pageItems[i].position=doc.pageItems[i].position;}

var myDoc = app.activeDocument;

 

// to tweak the find CMYK minimum values adjust these

var myMinC = 60

var myMinM = 60

var myMinY = 60

var myMinK = 60

 

// leave the rest as is

var myCf = 0

var myMf = 0

var myYf = 0

var myKf = 0

var myFill = 0

var myCs = 0

var myMs = 0

var myYs = 0

var myKs = 0

var myStroke = 0

var lengthPI = myDoc.pathItems.length;

for (var i = 0; i < lengthPI ; i++ ) {

    pathRef = myDoc.pathItems[i];

    if(pathRef.editable) {

        myCf = pathRef.fillColor.cyan;

        myMf = pathRef.fillColor.magenta;

        myYf = pathRef.fillColor.yellow;

        myKf = pathRef.fillColor.black;

        myFill = myCf + myMf + myYf + myKf;

        if (myCf > myMinC && myMf > myMinM && myYf > myMinY && myKf > myMinK ||

                myFill > 299 || myKf === 100 && myFill - myKf !== 0) {

            pathRef.fillColor.cyan = 0;

            pathRef.fillColor.magenta = 0;

            pathRef.fillColor.yellow = 0;

            pathRef.fillColor.black = 100;       

        }

        myCs = pathRef.strokeColor.cyan;

        myMs= pathRef.strokeColor.magenta;

        myYs = pathRef.strokeColor.yellow;

        myKs = pathRef.strokeColor.black;

        myStroke = myCs + myMs + myYs + myKs;

        if (myCs > myMinC && myMs > myMinM && myYs > myMinY && myKs > myMinK ||

                myStroke > 299 || myKs === 100 && myStroke - myKs !== 0) {

            pathRef.strokeColor.cyan = 0;

            pathRef.strokeColor.magenta = 0;

            pathRef.strokeColor.yellow = 0;

            pathRef.strokeColor.black = 100;

        }

    }

}

var lengthTI = myDoc.textFrames.length;

for (var i = 0; i < lengthTI ; i++ ) {

    textRef = myDoc.textFrames[i].textRange;

        myCf = textRef.fillColor.cyan;

        myMf = textRef.fillColor.magenta;

        myYf = textRef.fillColor.yellow;

        myKf = textRef.fillColor.black;

        myFill = myCf + myMf + myYf + myKf;

        if (myCf > myMinC && myMf > myMinM && myYf > myMinY && myKf > myMinK ||

                myFill > 299 || myKf === 100 && myFill - myKf !== 0) {

            textRef.fillColor.cyan = 0;

            textRef.fillColor.magenta = 0;

            textRef.fillColor.yellow = 0;

            textRef.fillColor.black = 100;       

        }

        myCs = textRef.strokeColor.cyan;

        myMs= textRef.strokeColor.magenta;

        myYs = textRef.strokeColor.yellow;

        myKs = textRef.strokeColor.black;

        myStroke = myCs + myMs + myYs + myKs;

        if (myCs > myMinC && myMs > myMinM && myYs > myMinY && myKs > myMinK ||

                myStroke > 299 || myKs === 100 && myStroke - myKs !== 0) {

            textRef.strokeColor.cyan = 0;

            textRef.strokeColor.magenta = 0;

            textRef.strokeColor.yellow = 0;

            textRef.strokeColor.black = 100;

        }

}

// Check there is at least 1 document open

if (app.documents.length > 0 ) {

    var docRef = app.activeDocument;

   

    // Check there is a selection in the document

    if (docRef.selection.length > 0 ) {

        var paths = docRef.selection;

        // Add a new swatch group if it does not already exist

        var swatchGroup = null;

        var swatchGroupExists = false;

   

   

           

        // Iterate through selected items       

        IterateSelection(paths);

    }

    else

        alert("Select some path art with colors applied before running this script");

}

else

    alert("Open a document containing some colored path art before running this script");

 

function IterateSelection(selectedItems)

{

    // Get the fill color of each selected item

    for (i = 0; i < selectedItems.length; i++) {

        var pathRef = selectedItems[i];

   

        // Iterate path items within group items

        if (pathRef.typename == "GroupItem") {

            var groupPaths = pathRef.pathItems;

            IterateSelection(groupPaths);

        }

        else if (pathRef.typename == "PathItem") {

                        // Iterate through existing swatches, checking if the color already exists in a swatch

                var swatchExists = false;

                for (var j = 0; j < docRef.swatches.length; j++) {

                    var currentSwatchColor = docRef.swatches[j].color;

                    if (ColorEquals(pathRef.fillColor, currentSwatchColor)) {

                                        }

                }

                if (swatchExists == false) {

                    // Create a new swatch in the swatch group

                    var newSwatch = docRef.swatches.add();

                     newSwatch.color = pathRef.fillColor;

                   

            }

        }

    }

}

 

function ColorEquals(fillColor, swatchColor)

{

    var colorEquals = false;                   

    // Compare colors

    if (fillColor.typename == swatchColor.typename) {

        switch (swatchColor.typename) {

            case "CMYKColor":

                colorEquals = CMYKColorEquals(fillColor, swatchColor);

                break;

            case "RGBColor":

                colorEquals= RGBColorEquals(fillColor, swatchColor);

                break;

            case "GrayColor":

                colorEquals = GrayColorEquals(fillColor, swatchColor);

                break;

            case "LabColor":

                colorEquals = LabColorEquals(fillColor, swatchColor);

                break;

            case "SpotColor":

                colorEquals = SpotColorEquals(fillColor, swatchColor);

                break;

                    case "GradientColor":

                colorEquals = CMYKColorEquals(fillColor, swatchColor);

                break;

            case "NoColor":

                break;

            case "PatternColor":

                break;

                    default:

                break;

        }

    }

    return colorEquals;

}

 

function CMYKColorEquals(fillColor, swatchColor)

{

    var colorEquals = false;

    if ((fillColor.cyan == swatchColor.cyan) &&

        (fillColor.magenta == swatchColor.magenta)&&

        (fillColor.yellow == swatchColor.yellow) &&

        (fillColor.black == swatchColor.black)) {

            colorEquals = true;

    }

    return colorEquals;

}

 

function RGBColorEquals(fillColor, swatchColor)

{

    var colorEquals = false;

    if ((fillColor.red == swatchColor.red) &&

        (fillColor.green == swatchColor.green)&&

        (fillColor.blue == swatchColor.blue)) {

            colorEquals = true;

    }

    return colorEquals;

}

 

function GrayColorEquals(fillColor, swatchColor)

{

    var colorEquals = false;

    if ((fillColor.gray == swatchColor.gray)) {

            colorEquals = true;

    }

    return colorEquals;

}

 

function LabColorEquals(fillColor, swatchColor)

{

    var colorEquals = false;

    if ((fillColor.l == swatchColor.l) &&

        (fillColor.a == swatchColor.a)&&

        (fillColor.b == swatchColor.b)) {

            colorEquals = true;

    }

    return colorEquals;

}

 

function SpotColorEquals(fillColor, swatchColor)

{

    var colorEquals = false;

    switch (swatchColor.spot.color.typename) {

        case "CMYKColor":

            colorEquals = CMYKColorEquals(fillColor.spot.color, swatchColor.spot.color);

            break;

        case "RGBColor":

            colorEquals = RGBColorEquals(fillColor.spot.color, swatchColor.spot.color);

            break;

        case "GrayColor":

            colorEquals = GrayColorEquals(fillColor.spot.color, swatchColor.spot.color);

            break;

        case "LabColor":

            colorEquals = LabColorEquals(fillColor.spot.color, swatchColor.spot.color);

            break;

        default:

            break;

    }

    return colorEquals;

}

 

    var idoc = app.activeDocument; 

    var sws = idoc.swatches; 

     

     

    for (i = 0; i<sws.length; i++) { 

              var sw = sws[i]; 

              if (sw.color.typename == "CMYKColor") 

                        roundColorValues (sw.color); 

              else if (sw.color.typename == "SpotColor") { 

                        //$.writeln(sw.color.spot.getInternalColor()); 

                        roundColorValues (sw.color.spot.color); 

                        //$.writeln(sw.color.spot.getInternalColor()); 

              } 

    } 

     

     

    function roundColorValues(color) { 

              var col = color; 

              col.cyan = Math.round(col.cyan); 

              col.magenta = Math.round(col.magenta); 

              col.yellow = Math.round(col.yellow); 

              col.black = Math.round(col.black); 

    } 

Change font in Illustrator cs4 js

$
0
0

I need to assign specific font to my text and it doesn't work. What am I doing wrong:

 

 

var my_OUTSIDE_TextFrame = myInstrLayer.textFrames.add();
my_OUTSIDE_TextFrame.geometricBounds = ["1.6 in", "1 in", "1.85 in", "2.75 in"];
my_OUTSIDE_TextFrame.contents = "OUTSIDE";

var myParagraph = my_OUTSIDE_TextFrame.paragraphs.item(0);
try{
myParagraph.appliedFont = app.fonts.item("Myriad Pro");

}
catch(e){}
try{
myParagraph.fontStyle = "Bold";
}
catch(e){}

myParagraph.pointSize = 30;

 

And it's not placing it where I want it either.

 

Thank you very much for your help.

Yulia


Illustrator Script code for removing selected items

$
0
0

Hello, I have an Illustrator script to go through certain functions and after it runs there are items selected that I need deleted. I cannot figure out the simple script to remove the selected items. I tried

 

var docSelected = app.activeDocument.selection;

docSelected.selected.remove();

 

but to no avail. Please help. I would greatly appreciate any tips and suggestions as I just need to know how to have the script to delete selected items. Thank you very much!

How to script Illustrator to insert filename in to textpath?

$
0
0
Hello everybody!

I'm new to the scripting technology, and i wonder if its possible to create a java or apple script to do the following:

We are forced to name our thousands of illu-files on a specific way, that's ok, but: we have to insert the filename as text in to the illustrator-file, so that we can find the file through a hardcopy.

We are doing this manualy and this goes often wrong, so we have to reopen the file, change the text and save and print it again.

Can anybody give me a hint or even better show me a piece of code how to insert the filename of the actual illustrator-file in the active cursor-position.

My thanks!

Regards
Gregor

A list of Illustrator menu commands we can call from JavaScript.

$
0
0

app.executeMenuCommand(StringFromListBelow); 


actualsize

Add Anchor Points2

AddArrowHeads2

Adjust Colors Dialog

Adjust3

Adobe Action Palette

Adobe Actions Batch

Adobe AI Device center

Adobe AI Save For Web

Adobe Apply Last Effect

Adobe Art Style Plugin Other libraries menu item

Adobe Bridge Browse

Adobe BrushManager Menu Item

Adobe Color Palette

Adobe Color Palette Secondary

Adobe Default Workspace

Adobe Flattening Preview

Adobe Gradient Palette

Adobe Harmony Palette

Adobe Illustrator Find Font Menu Item

Adobe Illustrator Smart Punctuation Menu Item

Adobe Last Effect

Adobe LinkPalette Menu Item

Adobe Manage Workspace

Adobe Minimal Workspace

Adobe New Fill Shortcut

Adobe New Stroke Shortcut

Adobe New Style Shortcut

Adobe New Swatch Shortcut Menu

Adobe New Symbol Shortcut

Adobe Optical Alignment Item

Adobe Paragraph Styles Palette

Adobe Save a Version

Adobe Save Workspace

Adobe Stroke Palette

Adobe Style Palette

Adobe SVG Interactivity Palette

Adobe Swatches Menu Item

Adobe Symbol Palette

Adobe Symbol Palette Plugin Other libraries menu item

Adobe Transparency Palette Menu Item

Adobe Update Link Shortcut

Adobe Variables Palette Menu Item

AdobeAlignObjects2

AdobeBrushMgr Other libraries menu item

AdobeBuiltInToolbox1

AdobeCheatSheetMenu

AdobeLayerPalette1

AdobeLayerPalette2

AdobeLayerPalette3

AdobeNavigator1

AdobeNavigator2

AdobePathfinderPalette1

AdobeSwatch_ Other libraries menu item

AdobeTransformObjects1

AI Bounding Box Toggle

AI Magic Wand

AI Object Mosaic Plug-in3

AI Place

AI Reset Bounding Box

ai_browse_for_script

AISlice Clip to Artboard

AISlice Combine

AISlice Create from Guides

AISlice Create from Selection

AISlice Delete All Slices

AISlice Divide

AISlice Duplicate

AISlice Feedback Menu

AISlice Lock Menu

AISlice Make Slice

AISlice Release Slice

AISlice Slice Options

alternate glyph palette plugin

alternate glyph palette plugin 2

Appearance of Black 1

Apply Last Filter

areatextoptions

arrangeicon

artboard

assignprofile

average

avgAndJoin

bringAllToFront

Brush Strokes menu item

cascade

centerAlign

Character Styles

Check Spelling

cleanup menu item

clear

clearguide

clearTrack

clearTypeScale

Clipping Masks menu item

close

closeAll

color

Colors3

Colors4

Colors5

Colors6

Colors7

Colors8

Colors9

compoundPath

control palette plugin

convertlegacyText

convertlegacyText1

convertlegacyText2

convertlegacyText3

convertlegacyText4

copy

Create Envelope Grid

cut

Define Pattern Menu Item

deselectall

discretHyphen

Distort2

doc-color-cmyk

doc-color-rgb

DocInfo1

document

DropShadow2

Dynamic Text

edge

Edit Custom Dictionary...

Edit Envelope Contents

editGraphData

editMask

EditOriginal Menu Item

editview

enterFocus

Envelope Options

exitFocus

Expand as Viewed

Expand Envelope

Expand Planet X

Expand Tracing

Expand3

expandStyle

export

faceSizeDown

faceSizeUp

File Handling & Clipboard 1

File Info

Find and Replace

Find Blending Mode menu item

Find Fill & Stroke menu item

Find Fill Color menu item

Find Link Block Series menu item

Find Next

Find Opacity menu item

Find Reselect menu item

Find Stroke Color menu item

Find Stroke Weight menu item

Find Style menu item

Find Symbol Instance menu item

fitall

fitHeadline

fitin

Flash Text

FlattenTransparency1

Gradient Feedback

graphDesigns

group

guidegridPref

helpcontent

hide

hide2

hideApp

hideOthers

highlightFont

highlightFont2

hyphenPref

ink

Input Text

internal palettes posing as plug-in menus-attributes

internal palettes posing as plug-in menus-character

internal palettes posing as plug-in menus-info

internal palettes posing as plug-in menus-opentype

internal palettes posing as plug-in menus-paragraph

internal palettes posing as plug-in menus-tab

Inverse menu item

join

justify

justifyAll

justifyCenter

justifyRight

KBSC Menu Item

keyboardPref

Knife Tool2

Last Filter

leftAlign

Live 3DExtrude

Live 3DRevolve

Live 3DRotate

Live AddArrowHeads2

Live Color Dialog

Live Deform Arc

Live Deform Arc Lower

Live Deform Arc Upper

Live Deform Arch

Live Deform Bulge

Live Deform Fish

Live Deform Fisheye

Live Deform Flag

Live Deform Inflate

Live Deform Rise

Live Deform Shell Lower

Live Deform Shell Upper

Live Deform Squeeze

Live Deform Twist

Live Deform Wave

Live DropShadow2

Live Ellipse

Live Feather

Live Free Distort

Live Inner Glow

Live Offset Path

Live Outer Glow

Live Outline Object

Live Outline Stroke

Live Pathfinder Add

Live Pathfinder Crop

Live Pathfinder Divide

Live Pathfinder Exclude

Live Pathfinder Hard Mix

Live Pathfinder Intersect

Live Pathfinder Merge

Live Pathfinder Minus Back

Live Pathfinder Outline

Live Pathfinder Soft Mix

Live Pathfinder Subtract

Live Pathfinder Trap

Live Pathfinder Trim

Live Pucker & Bloat

Live Rasterize

Live Rasterize Effect Setting

Live Rectangle

Live Roughen

Live Round3

Live Rounded Rectangle

Live Scribble and Tweak

Live Scribble Fill

Live Transform

Live Twist

Live Zig Zag

lock

lock2

lockguide

LowerCase Change Case Item

Make and Convert to Live Paint

Make and Expand

Make Envelope

make mesh

Make Planet X

Make Text Wrap

Make Tracing

Make Warp

makeguide

makeMask

Marge Planet X

minimizeWindow

navigateToNextDocument

navigateToNextDocumentGroup

navigateToPreviousDocument

navigateToPreviousDocumentGroup

new

newFromTemplate

newview

newwindow

noCompoundPath

OffsetPath2

OffsetPath3

open

outline

Overprint2

pagetiling

Paint Tracing

paste

pasteBack

pasteFront

pasteInAllArtboard

pasteInPlace

PathBlend Expand

PathBlend Make

PathBlend Options

PathBlendRelease

PathBlend Replace Spine

PathBlend Reverse Spine

PathBlend Reverse Stack

PDF Presets

Planet X Options

pluginPref

preference

preview

Print

Print Presets

proofColors

proof-custom

proof-document

proof-mac-rgb

proof-monitor-rgb

proof-win-rgb

Punk2

quit

raster

Rasterize 8 menu item

redo

Registration...

Release Envelope

Release Planet X

Release Text Wrap

Release Tracing

releaseCropMarks

releaseguide

releaseMask

releaseThreadedTextSelection

Remove Anchor Points menu

removeThreading

repeatPathfinder

Replace Colors Dialog

revert

rightAlign

Roughen3

Round3

Rows and Columns....

ruler

rulerCoordinateSystem

Saturate3

save

Save for Office

saveacopy

saveas

saveasTemplate

Scribble3

selectall

selectallinartboard

Selection Hat 1

Selection Hat 10

Selection Hat 11

Selection Hat 2

Selection Hat 3

Selection Hat 4

Selection Hat 5

Selection Hat 6

Selection Hat 7

Selection Hat 8

Selection Hat 9

selectionPref

sendBackward

sendForward

sendToBack

sendToFront

Sentence case Change Case Item

setBarDesign

setCropMarks

setGraphStyle

setIconDesign

Show Gaps Planet X

Show Perspective Grid

Show Preprocessed Image

showAll

showAllWindows

ShowArtwork

showgrid

showguide

showHiddenChar

ShowNoArtwork

ShowNoImage

ShowOriginalImage

ShowPaths

ShowPathsAndTransparentArtwork

showtemplate

ShowTransparentImage

simplify menu item

sizeStepDown

sizeStepUp

snapgrid

Snapomatic on-off menu item

snappoint

snapPref

spacing

Stray Points menu item

Style Palette

SWFPresets

switchSelTool

switchUnits

systemInfo

Text Objects menu item

Text Wrap Options...

textpathtype3d

textpathtypeGravity

textpathtypeOptions

textpathtypeRainbow

textpathtypeSkew

textpathtypestairs

textthreads

threadTextCreate

tile

Title Case Change Case Item

toggleAutoHyphen

toggleLineComposer

Tracing Options

TracingPresets

tracking

Transform3

transformagain

transformmove

transformreflect

transformrotate

transformscale

transformshear

Transparency Presets

TransparencyGrid Menu Item

TrimMark2

Twirl Tool2

type-horizontal

type-vertical

undo

ungroup

unitundoPref

unlockAll

UpperCase Change Case Item

userInterfacePref

view1

view10

view2

view3

view4

view5

view6

view7

view8

view9

Welcome screen menu item

ZigZag2

zoomin

zoomin2

zoomout

Image Resolution - Text

$
0
0

Hi,

 

     Is there is any difference in illustrator for the below cases.

 

     1. Open pdf file which resolution is 400 in illustrator with the resolution 120 when open.

 

     2. Open pdf file which resolution is 400 in illustrator with the same resolution when open and then change the resolution to 120.

 

     Any difference in quality/display image?

 

    

     3. Is there is any version issue in lower and higher for the same process (point 1)?

 

 

Thanks,

Sudha K

ActionScript for getting the name of an artboard?

$
0
0

I'm getting errors when I try this:

 

 

for (var artboardIndex:int=0; artboardIndex<app.activeDocument.artboards.length; artboardIndex++)

{

    var thisArtboard:Artboard = app.activeDocument.artboards.index(artboardIndex);

    var thisArtboardName:String = thisArtboard.name;     // compiler complains here

    ...

}

 

And when I'm debugging, I don't see a "name" property for an artboard, though I can get at "artboardRect."

 

What am I doing wrong here?  The Illustrator Scripting Reference shows a "name" property.

 

Thanks for any help,

 

- Rich

Viewing all 12845 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>