app.userInteractionLevel ignored?
I've tried adding the following to my script but it appears to have no effect at all in CS5 on Windows 7. app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS; Does this still work for...
View ArticleIs there a script that rounds type to the nearest pt. size?
I have to re-size several documents and need to go through layer by layer to round the type to the nearest pt. size (i.e. 12.3pt --> 12pt, 12.6pt -->13 pt). Its pretty time consuming and I was...
View ArticleUsing Folder.userData to get user's name? (Windows/CS5)
I am looking for a way for our designers to digitally "sign off" on graphics as they export them, which we do via javascript. Thanks to other posts in this forum, I know how to add text to a textbox...
View ArticleIllustrator Script - Export to PNG with options.
Hi everyone. I would like some help on this script I currently have if anyone is able to. What the script does - Exports multiple layers into single PNG images. Script is made with combination of...
View Articleiconbutton with four different images
I try to build a button with image (iconbutton) to show rotation state. When I click a button the letter in it should rotate and proper selection in dropdown list above should be displayed. I...
View ArticleScript inverte posições pelo centro do objeto
Olá a todos! Preciso de uma Script que inverta posições de objetos selecionados pelo centro da imagem.Consegui fazer a inversão mas não consigo alinhar centro com centro. Alguém pode me...
View Articlescript to save .pdf with different presets generates wildly different lo-res...
The script below is adapted in part from the one given with Illustrator and other bits and pieces I've picked up from the forum. When I run it on a 15.3Mg .ai file it produces.pfs the same size as it...
View ArticleMulti Level Object
Ok, so this is probably really easy and I am just missing something....but since y'all are so helpful on here I'll just ask! I am trying to do something like this: function getOptions(){ var b =...
View ArticleCotas
Alguém sabe como fazer cotas na diagonal? E para fazer todas as cotas ao mesmo tempo? Abraço a todos!
View ArticleUI (Window, dialog, palette etc) reference info for AI scripting
I'm looking for standard reference info on UI elements like popup windows (dialogs, palettes etc). I've been through the Illustrator CS6 Javascript Scripting reference guide and also the CS6 Scripting...
View ArticleResize Artboard
Unsure if Im asking in the right spot but is it possible to automate the resizing of the artboard say from A0 down to A1
View Article"Compiling" technique.
Hi everyone, I came up with a simple yet useful technique which may help some scripting workflows out there.What I have found when making scripts is that it is much clearer and easier to write long...
View ArticleSet button as active by default
How do I set the center box ('CC') to be selected by default or at script startup? @ Panel of Deference Point Here is the code: #target illustrator /////////////--------------------------- Main...
View ArticleChange Spot Colour Opacity Value to Tint Value
Does anyone know of a script to change all spot colour objects that have an opacity value to the corresponding tint value of the spot colour? It could also be for process colours, global or not –...
View Articleget current artboard size
With VBA MsgBox (vv_docactive.Artboards(1).ArtboardRect(2)) doesn't work
View ArticleHow do I clean up unwanted spot colors?
I want to grab the colors from my drawing and convert them to spot colors. I'd like to put these spot colors on a custom color group. However, after I've done my process, I have 2 exact same spot...
View ArticleHow to change document units?
I have some documents in Points that I want to set to Millimeters using a JSX script, then save them.I have tried the following code: var document = app.activeDocument;document.rulerUnits =...
View ArticleDelete unnecessary points
Please see this post in the main forum. I am looking for a script (if one exists) that will delete unnecessary/redundant points. My OP: Let's say I have a rectangle, and in addition to the corner...
View ArticleIssue recoloring gradients - only first stop changes
Hi all, helping someone here out with a script to remove opacity.started as a simple script and is growing more complex each day... I've tweaked it so it can deal with gradients.but it is only...
View ArticleAdd event handler as/via prototype?
I would like to try and increase my javascript knowledge here.So, here is what I have got so far, and I would like to make it better. I saw that if you click on the 1 pixel in the border of a dropdown...
View Article