Illustrator Scripting :: Localize Names Of Script Folders?
May 25, 2013
i'm trying to get a list of all the scriptfolder names.
This will solve path issues with other language versions of illustrator.
My script for now:
scriptfolder = {
en: "Scripts",
nl: "Scripts",
de: "Skripten"
};
var imageiconprinter = File(app.path+'/Presets.localized/' + app.locale + '/'+localize(scriptfolder)+'/idatabase/Images/Infopanel_heinerich/hei nerichinfopanelprinter.png');
I've defined a country like de: which is german and put the correct foldername behind it.
I would love to have a list of all countrys.
if you don't have a list just fill in the foldername and countryname of your country.
View 1 Replies
ADVERTISEMENT
Sep 4, 2013
I have a few eps files in which month-year format is written like May-12, June-13 etc. I want to change May to Mai, June to Juin etc.
Virender
var myDoc = app.activeDocument;
for (i = 0; i < myDoc.textFrames.length; i++ )
{
[Code]....
View 4 Replies
View Related
Feb 17, 2012
How to select objects by their group names?
I'm working with imported graphics, and the objects appear in the AI layer hierarchy grouped and named according to their object types in the native program (see the attached image). The problem lies with the annotation objects: they are made of different parts for which different graphic styles are needed; however, they all come in one layer and are difficult to access for global operations. I need to do different things with the different object types (delete the POINT's, move the LINE's and LWPOLYLINE's to different layers, etc...). The option of selecting objects individually is ok for small data sets, but you can imagine this becomes untenable in a hurry.
Two possible solutions I've considered:
(1) change the output parameters in the source program such that the objects come into illustrator with different graphics allowing them to be accessed through the "Select same ..." tools; it would work, but is problematic for the source program
(2) print the annotation graphics with their desired graphic appearance to pdf rather than importing the source file directly in AI, then open in AI to render the remaining graphics; again, this works but introduces inefficiency in the process. Also, the print process tends to explode closed paths requiring more inefficient path tinkering in AI.
I would like to tell AI to select all objects named "POINT" or "LINE" etc... but have found nothing in the documentation or forums on whether this is possible.
View 1 Replies
View Related
Mar 19, 2013
Are there any scripts to find and replace layer names?
There is an excellent script available for Photoshop which allows you to not only replace words in layer names, but also insert words as Prefixes, Suffixes and Sequential Numbers. The illustrator version of this script only allows sequential numbering: It doesn't offer find and replacing of words.
Ideally, it would be great if there was something that could do multiple find and replaces in one go:
(E.g.
You have layers like this Car, Dog, Bat
You enter: car(Option1), dog(Option2), Bat(Option3)
Your layers then become: Option1, Option2, Option3).
)
View 12 Replies
View Related
Mar 7, 2014
I'm looking to create a script to batch rename a number of artboards.
- I have 100 named layers.
- I have 100 artboards.
- I would like to rename the artboards to match the layer names.
- The layers are organized in the same descending orderas the artboards (ignoring the actual artboard names*).
- The topmost artboard (1 in the list) would be renamed "newspaper", the second artboard would be renamed "typewriter", the third artboard would be renamed "books", etc.
*in the example below the artboard named "Artboard 7" is actually the 6th artboard in list.
View 5 Replies
View Related
Dec 2, 2013
I have an Illustrator document with ~100 artboards, each artboard named by me. Each artboard has one textbox in it. Is there a way to take whatever name I assign to the artboard and print it into the text box inside that artboard? So in the end I would be able to see the name associated with each artboard on the artboard itself. Ideally I could run the script once (i.e. "turn it on"), have it populate all the text boxes with the artboard names, and then have it dynamically update the textboxes when I change an artboard name regardless of whether the file has been closed and opened since I originally ran the script.
View 26 Replies
View Related
Jan 7, 2011
I know nothing about scripting in Illustrator, but am willing and interested to give it a try if this sounds doable. All we want are the names--just a simple list of the names, such as
7009 LL.eps
Rsb shadow design.psd
3_Pt_STA_475_P3.tif
of placed images (in our Illustrator CS5 art) into text that we can either import (from a tab- or comma-delimited text file) or paste into our Filemaker database.
Right now everyone is RETYPING the names of all placed images into the database, with consequent mistakes, missed images, etc. Then when we search our database to find which art uses a certain image...results are not to be trusted.
(If we could cut/paste from either the Links palette or Document Info, that'd be fine... but nope. Not in Illustrator, although we were thrilled to see InDesign CS5 has "Copy Info For Selected Links", which is VERY useful.) In Illustrator, we can export Document Info to a text file, but artists seem to find that long document too unwieldy, and they revert to typing the names, especially if they only have a couple of placed images... and then we're back to error-laden data no matter how careful they try to be.
Is such a script even possible? If so, where/how might I start? We're on iMacs with the Adobe CS5 suite (and Filemaker 11, if that matters).
View 13 Replies
View Related
Jan 22, 2014
I am using this script to find and replace words in layers. (The script only targets particualr words, rather than the whole layer name).
I would like to make it so it targets selected layers only.
I have found this script which loops through selected layers only, but I am not sure how to add the find and replace layer name functioality.
View 7 Replies
View Related
Oct 16, 2013
I'm looking for a script that can convert .ai/.eps to PNG from subfolders or multiple level of subfolders. i found this awesome script posted a year ago here by Larry G. Schneider [URL] however it doesn't get the files from subfolders, just the one folder you specify.
View 2 Replies
View Related
Jan 15, 2013
For example, let's say I have a file on a hard drive labeled 2012. Inside that file there are three folders with photos and they are labeled Phoenix, Seattle, Portland. Is there a way to Import these folders at one time and keep the names, or will they all come into Lightroom only as 2012?
View 9 Replies
View Related
Jul 11, 2013
There is "Ignore camera generated folder names when naming folders" on preferences tab, but I couldn't find a usage for this option. With a camera card including different folders, I can not see the folder names in my card on the import panel.
View 1 Replies
View Related
Nov 13, 2012
Is there a way to localize all external material references? For instants I created a framing square with the proper materials assigned. When merged with another file it looses its bit map image placement so have to re-fit every thing again.
View 8 Replies
View Related
Dec 18, 2012
I'm try to automate the importing of the Varaible and datasets into my graphs via Scripting, but the ImportVaraibles() function doesn't seem to work. Here is my Script, mostly copied from the example script provided with Illustrator (CS5). And, this works manually, using the file names in the script, via Load Variable Library
Set appRef = CreateObject(strIllistratorVersion)
'Open the file and import the datasets
Set docRef = appRef.Open(strTemplate & "200-500.ai")
'docRef.Datasets.RemoveAll
docRef.Variables("Yearbook").Delete
Here is the problem, after I delete the previous library, then this next line, right from the example, does nothing
The script then exits with 'No Datasets in this document'
docRef.ImportVariables (strXMLFolder & "Lumber_200-500.xml")
'appRef.DoJavaScript "alert('Template:" & strTemplate & strRange & ".ai | XML file:" & strXMLFolder & "" & objFile.Name & "^')"
If (appRef.Documents.Count > 0) Then
Set docRef = appRef.Documents(1)
[Code]....
If I remove that delete line, the script runs, but just uses whatever Variables I had last loaded, not the XML file.
It's simply not loading. What do I need to do to get it to load?
View 8 Replies
View Related
May 6, 2012
Can you access graph data through the scripting DOM?
View 3 Replies
View Related
Nov 28, 2011
I'm in the process of creating 3D points (as an overlay) on some laser scanned data (using RiScan, it's just 3d dimensional data, with a northing, easting and RL) and unfortunately the only export option is to export to .dxf... Which is fine but when I export, the information has the point ID as the layer name.
I am aiming at getting this data into another program to analyse and it needs the point ID or name to be my annotation, as opposed to the layer.
So what I need is a way of converting the names of each individual points layer, to the point ID.
View 4 Replies
View Related
Mar 16, 2013
the Script of creating mirror text and stroke text in Adobe illustrator scripting.
View 4 Replies
View Related
Nov 27, 2012
Someromes on starting a new file, the layer names or layer color does not show.
View 2 Replies
View Related
Dec 6, 2013
On any given layer of the artwork I can add objects, such as circles or rectangles. Initially these show up in the layer named as <Path>, but by double clicking <Path> that name can be changed to anything the user desires.
Is it possible, with any of the SDK utilities, to detect the name that the user has given to that path?
View 6 Replies
View Related
Sep 18, 2013
Ok i am not exactly new to Ai but i can only do certain things. So i took a cource and i am just having a helluva time finding a simple section on that tut.
Panels like color swatches and graphic styles have 3 appearances. 1 is fully open, 2 is colapsed with icons and then there is collapsed with label names.
How do i get the layer names collapse?
View 1 Replies
View Related
Jul 2, 2013
Is there a way to print a symbol library with names?
View 4 Replies
View Related
Oct 15, 2013
In InDesign I am able to assign a variable showing that page.
Example = Page numbers in a book.
Is there a way to do this in Illustrator?
Example = Panels for a structure. Labeling the panel with the artboard name.
For now I am doing this manually. I would LOVE to speed the process up.
DETAILS: The artboard names will exist on the artboard itself when printed (very tiny, in an area hidden by metal posts, for ease of assembly at a construction site). I also need the artboard name to show up outside the artboard in a slug area (much larger for easy viewing in the file).
I'd like to just Change the name of a duplicated artboard, and have those pieces of text change themselves, rather then me typing it in two places for every artboard... I can have almost 100 artboards in one file on the structures I work with.
View 18 Replies
View Related
Jul 14, 2011
What the angled brackets around the font names mean? (As in the <MT Extra>, <MV Boli>, and <Symbol> fonts in this graphic?)
I tried looking in the Illustrator CS5 User Guide and it doesn't mention why some fonts would have these brackets.
View 8 Replies
View Related
Feb 28, 2013
I would like to learn how to create a print design for college hoodies. I get asked all the time but it takes me a very long time to do it. I am sure there is a quicker way in illustrator.
I want to create a design like this image. I am using Illustrator CS 5.1 right now.
View 4 Replies
View Related
Nov 8, 2013
Displaying custom artboard Names under the artboards
Naming and sorting artboards is a great way to handle multiple page AI files. I'm working on a longterm project that uses a large number of artwords. Is it possible to display the name of the artboard under the artboard itself on the screen?
Here are examples:
[above: I've currently got over 40 artboards in this one file]
[above: the listing of artboards]
View 4 Replies
View Related
Sep 30, 2013
How do I copy PARTS of layers containing many objects from one CS5 AI (v.15.0.2) doc into a new CS5 AI doc and keep/create the same layer names?
To start with, I have one fairly complex AI document with 100 layers, with several hundred items in each layer. For example, one layer named "Stars" contains 400 separate stars (not grouped), another layer named "Crosses" contains 300 separate crosses, and a 3rd layer named "Text" contains 200 separate words (not outlined).
If I select, by marqueeing a section of the image/artboard, some (but not all) of the individual items contained in the several layers, then paste that selection into a new CS5 AI doc, I cannot get them to create new layers of the same name. Instead they go into one general layer (e.g. "Layer 101") as a jumble of discrete, but unorganized objects (no layers or sublayers). In other words, I have lost the 3 main layers from which I selected a bunch of objects.
Checking "Paste Remembers Layers" has no effect on this result. In fact "Paste Remembers Layers" does not remember layers at all. Only if I select ALL the items in the several layers will it paste those layers by those names into the new doc (or create new layers of the same names).
Of course it is a COLOSSAL waste of time copying the ENTIRE document, then pasting the WHOLE thing into the new doc (with layers retained), then deleting the parts I DON'T need.
View 14 Replies
View Related
May 28, 2013
I have tried the Links dropdown and the Document info dropdown but no files appear at all.
I have three linked/embedded files.
Need to finding out the names of the files..
View 4 Replies
View Related
Dec 2, 2011
I've been working on embedding an Illustrator Live-Effect plugin to a new Illustrator CS5 plugin.One of the live-effects alters the text of text objects to use standardized abbreviations for place labels in maps.
I have ported the plugin using the exact same Live Effect name and the same parameter names to the live effect dictionary of the art.This in the hope that when I open the illustrator file in CS5 the effect will continue to work on converted text art.
But when I open an Illustrator 10 file in Illustrator CS5, the text object comes up with an "<Unknown>" live effect entry in the Appearance panel. And as the text is converted from legacy text to new ATE-text, the result of the live effect is also gone.
Studying the contents of the illustrator files, I find the following in the Illustrator 10 file
/BasicFilter :
(Abbreviate Text Labels...) 1 0 /Filter ,
(VisualMap Effects) /PluginFileName ,
(Abbreviate Text Labels...) /Title ,
/Dictionary : /NotRecorded ,
4 /Int (vmAbbrType) ,
[code]....
it isn't working because the name of the plugin file is different (or is it another reason?)It's a bit tricky because I have now combined several filters and live effects from several earlier plugins into a single new plugin.
It is easy to receive a notification upon opening a document and check if it's an earlier version of Illustrator.But how do I go about tracing the art tree to "upgrade" these live effects to the current plugin?
View 3 Replies
View Related
Dec 18, 2011
I accidentally included a file rename when I just imported a batch of several hundred pictures. I violated a rule that I teach my own Lightroom students, and that is to look carefully at the import panel choices before proceeding.
How can I correct this so that the files are named as they originally were? I know how to easily fix the filenames in Windows (using a tool called BulkRename, for example), but then I'd have to "find" each image one-by-one and correctly point to the renamed version. I tried selecting all the images and then using F2 to rename, but none of the templates allow deleting a portion of the filename.
P.S. Here is an example of what I mean:
ON CARD:
IMG_0001.NEF
...
IMG_0300.NEF
WHAT I RENAMED TO ACCIDENTALLY:
IMG_0001 {shot by John Doe}.NEF
...
IMG_0300 {shot by John Doe}.NEF
View 10 Replies
View Related
May 25, 2013
I had two 2013 folders, each with about 100 daily folders. The dates were differnt in each annual folder. I dragged one into the other. The folder where the daily folder was dragged from is now empty but those folders do not appear in the recieving folder. All the photos are still in the catalog, but do not show in the folders (left side panel).
View 3 Replies
View Related
Jan 24, 2013
I renamed a lot of my photo folders in Explore. Now in LR4, all these folders appears with an ?. I can't work on pictures from these folders - I get the message: File named xxx is offline or missing. It does not sync the parent folder. Nor does it sync the folder it self. If I right clik on a LR4 folder with a ?, and try to locate the folder, I only get the option to merge the identical folders. Is there any way to sort this. I can't restore the old folder names.
View 3 Replies
View Related
Nov 12, 2013
Is there a way to have the organizer folders set up the same was as Windows Explorer? I have a main folder called Family with sub folders for all the years and in each of the subfolders there could be other subfolders. It wouldn't allow me to click on main folder and get all sub folders. I had to open main folder and then it shows all folders and sub folders separately. They are no longer nested.
Along the same lines, I wanted to create an album of Family with all subfolders, but that doesn't work.that is definitely a short coming which is why I never have used the organizer program, but just PSE for editing.
View 2 Replies
View Related