Illustrator Scripting :: Relinking Broken Links With JSX
Aug 7, 2013
I have a series of folders and I have linked art and the files they are linked to all mixed up in these folders. My file structure is as such;
myFilesHH01000-01999HH01000-HH01099HH001001.PDF
and now I need to change the file structure to this;
myFilesHHHH01000-01999HH01000-HH01099HH001001.PDF
adding the folder HH breaks the links.
What is the best way to identify the broken link and change its path with JSX?
View 7 Replies
ADVERTISEMENT
Sep 6, 2013
When Illustrator files are created by my colleague on his PC, he drags and drops images from various folders into his Illustrator document. The file opens fine on our other PC's, but not on our Macs. We always get broken links messages which is horribly cumbersome.
View 5 Replies
View Related
Jan 24, 2013
I'm trying to find a way to get the links and link statuses in Adobe Illustrator. It doesn't seem to be at all similar to InDesign DOM.
What I'd like to be able to do is check whether a file has a missing link. I have been able to trace it to a "placedItem" which is inherently a "pageItem". So is it possible to find the link status? Been going through the DOM for about a half hour now and still can't find it.
app.documents[0].placedItems[0] <--- How to get link status?
View 2 Replies
View Related
Apr 14, 2010
changing the file path for links in an Illustrator document?
For example, let's say my Illustrator document is stored at: /Volumes/Storage/Projects/Client/AAA001/designs/concept1.ai
and I have placed 2 linked visuals:
/Volumes/Storage/Projects/Client/AAA001/visuals/big_retouch.psd
/Volumes/Storage/Projects/Client/AAA001/visuals/flattened.jpg
When I open the .AI I noticed that the reference to the visuals is under a %DocumentFiles section:
%%DocumentFiles:/Volumes/Storage/Projects/Client/AAA001/visuals/retouc hed.psd
%%+/Volumes/Storage/Projects/Client/AAA001/visuals/flattened.jpg
I need to replace "/Volumes/Storage/Projects" with "/Volumes/Projects". (There are some more complex replacements I need, but let's start here.)
View 11 Replies
View Related
Jul 11, 2012
I want to get the "file.displayName" property of a RasterItem from a file where links are broken.the script :
myItem = app.activeDocument.selection[0];
myItem.file.displayName;
works fine if the RasterItem source file is where the link points at.In my case, the link points to the local drive of another computer, so the "file" property of the RasterItem doesn't exists !!!I don't understand why, because all the informations are in the Links pannel of illustrator.
View 5 Replies
View Related
Jun 13, 2011
I redirected a user to the links in the Jewel tute but the problem is that while the tute sends you to the correct plugin thread, the download links in that thread are broken.
What we need is Zoom Blur Deluxe & Radial Blue Deluxe. To make matters worse they go by a couple of aliases...
I would put this is the thread for plugins but I'd have to do it for both.
I have the .DLL saved for both, so as a workaround for the broken download link, can I upload the file (if I can identify which one it is, not always that straight forward) & how do I upload it? As ab attachment?
View 10 Replies
View Related
Dec 21, 2011
I moved from an XP based PC to a Mac Pro running Lion. I copied LRcat to the new location and all photo files. Catalog opens and works fine in the Folders tab, but all of the Collections links are broken. Each of the collections links are pointing to the old location on the pc: C:usermy documentsphotoslightroom....
I have tried to right click on the collection folder and point it too the new location. This seems to be processing the change, but results in loss of info in the old C: location and does not redirect the Mac collection to the right place.
Is there any way to fix this at the top level without having to delete and recreate all the collections?
View 6 Replies
View Related
Jun 8, 2011
I can export from Revit to 3ds, and the materials come in, but all the material links are broken. How can I import the textures in to 3ds Max? I am trying to do an architectural walkthrough, btw.
View 1 Replies
View Related
May 4, 2013
Following a Backup and Restore process to move from PSE 11 on Windows 7 to PSE 11 on Mac (Mt. Lion) I have broken links. Other catalog info is intact (file name, captions, tags, etc.). I moved 6 catalogs...only 1 was successful.
Background: I started with PSE 10 on Windows 7...installed PSE 11 and converted all catalogs successfully. Used File, Back Up (Full) process with an external drive to move the files and catalogs to PSE 11 on the Mac (10.8) using File, Restore Catalogs. I suspect that the issue may be in the portion of the Restore process that allows the choice between Original Location or New Location...seems like I tried both. The Adobe instructions in the PSE 11 offered step-by-step instructions but didn't elaborate much on the Location issue. I tried File, Reconnect, Reconnect All Files without success.
View 2 Replies
View Related
Jun 10, 2011
How to avoid broken links to an Xref while migrating to a new server?
We will migrate our servers and have to move all Xrefs. The Xrefs are composed from files located on different harddrives. Let's say A: / B: / C:
When migrating to our new servers I suppose we are just fine when we name the new harddrives exactly the same as the current situation? Are there any other things we should take care of?
View 5 Replies
View Related
Oct 18, 2012
I just used the help file for the first time in ages and noticed all the links to the graphics are broken hence no diagrams etc. I tried to search out where they are usually stored and it gives some weird Address under properties. It's a vba so suppose it's a database? How do I restore the links without having to do a re-install?
As to the pen: How do you stop the annoying over-the-top predictive curve that happens past the node in the next section after a long drag to form the first curve. i.e. you simply want to draw a straight line after dragging out a curved section previously and you get this unmanageable curve to deal with ?
View 3 Replies
View Related
Apr 11, 2013
Is it possible to automatically relink based on file type? I have hundreds of illustrator files that need three images in each changed out for a updated versions. It just so happens that the three all have different file extensions.
It seems that there should be a way to have illustrator replace the one .jpg file with another .jpg file (named differently) that's in the same location as the old file. Is there some type of more powerful scripting interface for illustrator besides the actions? vbscripting or something?
I realize that this isn't a normally supported feature of the links panel. I know that I can open each file and manually relink them as I open them. Hoping to save some time. I have to do this a couple times a year as we get in fresh images that we want to stuff into the same presentation format.
The file names contain timestamps that need to remain there so simply renaming the new files to match the old ones isn't an option either.
View 4 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
Apr 15, 2014
I'm reconstructing an old document originally developed with PageMaker. I've recreated a half dozen pages hopefully with more uniform techniques. The original line art for the pages was created in AutoCad and some were scans. To bring them into InDesign some of the art is now in psd format and some of the newer art is in Illustrator AI format.
I've noticed that the pages with photoshop art print pretty quickly (about 30 seconds). The ones with Illustrator art take much longer (about 1:30 seconds). They go through a flattening process.
I print these 50 page books on demand and that additional time would add about an hour.
I guess the question is whether this is normal and to be expected or not. If it is I'll likely turn everything into raster before going into InDesign. That, however, seems like quite a bit of extra work. Going from AutoCad to Illustrator (to add stroke) then to PhotoShop to change to raster and then into InDesign seems like a pretty convoluted work flow.
View 3 Replies
View Related
May 6, 2012
Can you access graph data through the scripting DOM?
View 3 Replies
View Related
May 22, 2013
I'm putting together some design specs and I want to create a clickable table of contents that will navigate to a different section of the document. IE. artboard #27
From what I've seen thus far it looks like I can add links but only to websites and they are only clickable in PDF mode.
Is it possible at the very least to make my clickable TOC when converting my document to a PDF? and, is it possible to make it clickable even if it is in .ai format?
View 2 Replies
View Related
Jun 6, 2012
Every time I open an Illustrator file, I get an error that it can't find my links and I have to re-link all of my images. Why is this happening, when I haven't moved either the linked image or the Illustrator file? Even if I save my Illustrator file, then open it right back up this happens.
View 3 Replies
View Related
May 17, 2013
I'm using AI CS6 at work and when I place files, they don't show up in the links window and changing the original file does not affect the placed image.
View 3 Replies
View Related
Aug 2, 2012
I have several .ai files that have linked files that I suddenly can not see in my layout. I checked the links and they are unbroken. Others in the office running the same Illustrator version can open and see them fine. Have I inadvertently change a view setting in my app?
View 2 Replies
View Related
Jul 13, 2012
Is there any way to get the broken symbol in a broken dimension like shown below?
View 9 Replies
View Related
Mar 7, 2014
I have an illustrator file which contains linked images. I want the images to link to images in a different folder on a different hard drive. They are the same images, but just in a different location.
I am thinking of temporarily changing the name of the first hard drive (which the images are currently linked to), in order to break the original image links. That way, I can re-open the illustrator file, and when it asks me to find the links, at that point I can direct illustrator towards the links on my other hard drive.
I will then save the file with the images linking to the images on the new hard drive.
At that point I will re-name the first hard drive back to it's original name.Will all of my other illustrator files loose their links if I temporarily change the name of my hard drive, and then change it back to it's original name?
(I have used this technique by changing folder names, and it has worked. But I was afraid to change the name of my Hard Drive because there are a guzillion files on it, and I can't afford for my illustrator files to lose any of their links.)
View 1 Replies
View Related
Dec 31, 2013
On several projects there are long lists of images linked in the Illustrator file. I need to find a way to export the names of these links to a spreadsheet for another department to reference. Is there a way to do this (in Illustrator Cs5 or CS6)?
View 1 Replies
View Related
Mar 22, 2014
I updated to Illustrator 17.1, and now my image links no longer auto-update after they have been edited in Photoshop. As most should know, this has long been a feature: tweak an image file in Photoshop, save it (same file name), and Illustrator will recognize the image has been edited and ask if you want to update it automatically. Hit 'Return', as 'Okay' is the default dialog button action, and image updated: one step. Without auto-update, user must manually access link palette, select edited image link, and 'Relink' the image ('Update Link' unavailable here now as well): three-plus steps (including identifying and selecting image file after 'Relink').
View 2 Replies
View Related
Nov 15, 2013
I am working on a file that has some shapes with gaussian blurs. Everything appears fine until I save it and reopen the file to see that each of the objects with a blur has been converted to an embedded link as a raster image. Is there a setting that I need to change to preserve the vector shapes with the blur effects?
View 2 Replies
View Related
Oct 10, 2013
Since upgrading to Illustrator CC, my actions haven't been working right. All the details from certain steps are completely gone. For example, if a step involved rotating the selection by 90°, the "Rotate" step will still be there, but there is no longer a disclosure arrow next to it with the value of 90°. Also, the Fkey that was previously bound to the action has been removed.
I have another action that selects all shapes with a similar fill and stroke, and the "Select Similar" step is still there, but again, the disclosure arrow is gone that included the information of "Fill & Stroke". Also, the Fkey associated with that action is gone as well.
When I restore my actions from a saved copy, they are retained from file to file, but once I quit Illustrator and reopen it, the actions break again.
View 9 Replies
View Related
Dec 14, 2013
I have created dvds using multiple .vsp files. I am now unable to open these projects. It seems like I have to relink the projects .vsp files. I can see that the file size as if the project includes .vsp files but when I go to "share", "create dvd" nothing is there.
View 4 Replies
View Related
Jul 21, 2013
VS6 Pro Ultimate..I started a project a week or so ago nothing fancy just some photos overlaid onto a video with a sound track, I saved it as a project, opened it today only to face relinking all the photos some 150 of them! The folder that you place all your photos showed they were not linked so I relinked them, then I opened the project only to find most of the photos were not linked!
1: Is there a batch relinking I can use?
2: What would cause this issue? ( I've never had this before)
3: How do I prevent it happening again?
View 5 Replies
View Related
Feb 12, 2014
I have been using Indesign CC for a month or two now and for some reason it just started crashing when I try and relink a file in a publication I'm working on. It has worked fine up until this point. I have already tried reinstalling the program and I've even tried dragging/dropping the links instead of relinking through the LINKS box.
View 2 Replies
View Related
Aug 14, 2013
I have an iMac at work with Mountain Lion and Ilustrator CS6, I have files that I have created with Illustrator from scratch but when I bring them home and open them on my iMac at home with the same system the text boxes are broken into individual text boxes for each line of text. What is going on. Also everything in the document is a Clipping Path inside the document bound box.
View 1 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 15, 2011
My PC crashed and has two projects that I had completed a significant amount of work on. The the video files and vsp files are stored on Edrive and music on Ddrive. I had also created some painting creator files and am not sure where they will have been saved? Rather than try to reinstall windows and reformat the C drive I have decided to upgrade to a new PC. I could then remove the 2 slave drives from the old pc and use hard drive housings and a usb connection to link them to the new pc (don't feel confident enough to install them directly into the new one). I am concerned that the drives will then have different names and the vsp file will not recognise the files resulting in days of lost work. I notice that there is a function called relink but am not sure how this works and whether I will be able to use it to recover all of the edits easily.
The new PC will be intel i7 with nvidia gtx 570 graphics card, I have also ordered PROx4 ultimate so would prefer to use this.
The options as I see them are:
1. Reinstall windows and persevere with the old PC assuming that the slave drives are intact.
2. Remove the slave drives and connect through USB then try and rename the drive to the same as before (e and d)
3. Remove the drives and connect through USB, let the new pc allocate a name to them and use the relink function?
View 3 Replies
View Related