Indesign cs5.5 Applescript - Relink image
Hi, currently we can relink images from our applescript by using the original image link name but looking to see if we can do if by script label name. Is this possible. Thanks, Joe
You can't use a script label to perform a relink, but is that what you're really asking? Or are you trying to use the script label to identify the linked item you want to relink?
Dave
Similar Messages
-
Image catalog Indesign CS5.5 - applescript
Hi,
I am not sure if everyone has this problem, but for some reason script provided with Indesign to create images in document from specific folder location, does not work for me .
It creates frames but does not place any image with this error message:
Error Number -1708
Error String: Adobe Indesign CS5.5 got an error:"Mac HD:Desktop:test:image01.tif" doesn't understand the place message.
I have an adjusted version that also crushes with this error after placing first image:
Can't get object reference of {image id 209 of rectangle id 206 of spread id 186 of document id 2 of application "Adobe InDesign CS5.5"}.
My script used to work in CS2 just fine.
Any help or potential solution would be greatly appreciated.
Thank you very muchI am having exactly the same problem.
Can you please show how you used the "alias" to solve the problem?
I will really appreciate it, since I used to use this script all the time in CS4 and all of a sudden it doesn't work.
Thanks! -
Interactive pdf using indesign CS5 (pop out graphic image)
Trying to figure out how to create a pop out image of a thumbnail. Making a digital portfolio for a class project and I would like to have thumbnails of my work on each page of the interactive pdf. When someone rolls over the thumbnail I would like for a larger version of it to appear. I have found a tutorial on this however I ran into a stumbling block when the very first step showed him using "object styles". In his menu was a style called popout graphic (or something similar) and that does not appear in my object styles menu. I have been looking for this for about 45 minutes now, going through every little menu and clicking on every possible thing to see if I can locate it. I'm really desperate at this point this project is due on Monday so I hope someone can save me. Thank you!
Please post in the InDesign forum. This forum is for suite specific issues only.
Bob -
InDesign CS5 to PDF and Image Paths
Hi, all
When I export my InDesign layouts as PDFs, is it possible to include somewhere, somehow in the PDFs the image-path information of all images in the layout?This is not a one-step solution, but it would give you what you want:
Choose File > Package. At the bottom of the dialog, click Report... This will save a text file with all the information you'd want about the file, including the path of all linked graphics. If you wish to could create a PDF of that text file, and merge it or send it along with the PDF for the document. -
Replace text with image using Applescript in InDesign CS5
Hi to everyone, i'm looking for some suggestions to resolve my problem.
I've to replace some strings with jpeg images stored on my pc
Here is the code to replace two strings with the new ones.
tell application "Adobe InDesign CS5"
set myDocument to active document
set myPage to page 1 of myDocument
set stringsToReplace to {"111", "222"}
repeat with iterator from 1 to (count stringsToReplace)
set find text preferences to nothing
set change text preferences to nothing
set myFoundItems to nothing
set element to item iterator of stringsToReplace
if element is "111" then
set find what of find text preferences to "111"
set change to of change text preferences to "ONE"
set myFoundItems to change text
display dialog ("Found : " & (count myFoundItems) & " occurences of " & element)
else if element is "222" then
set find what of find text preferences to "222"
set change to of change text preferences to "TWO"
set myFoundItems to change text
display dialog ("Found : " & (count myFoundItems) & " occurences of " & element)
end if
end repeat
set find text preferences to nothing
set change text preferences to nothing
end tell
Can you hel me?
Thanks in advance.Hello, I have a couple of questions for you… How come you have strings in text frames… Would you not be better off using labels for this…? ( thats how I would do this ). Off the top of my head I think you will need to remove any text content from the frame to be able to change it's content type… only then will you be able to place a graphic… How are you associating your strings with the required image files… Do you have this in some extenal file Excel or FMP.
-
Indesign CS5.5 Relink Script needs help
Hi, I'm trying to relink images in an InDesign CS5.5 file to a different server using a script. This is what I have so far, but when I run the script I get errors and can't relink because "Either the file does not exist, you do not have permission, or the file may be in use by another application". Does anyone know how to make this script work? I'm fairly new to scripting.
Here is the script I have:
tell application "Adobe InDesign CS5.5"
tell document 1
set linkList to links
set errInfo to "" -- We'll display error if we can't relink an item
repeat with x in linkList
if (x's status) is not normal then -- I usually check for any link that has an error
-- This should only return an AppleScript path with ":" separators
set linkPath to (x's file path) as string
if "Volumes/Calendars_2013 FPO" is in linkPath then
set AppleScript's text item delimiters to "Volumes/Calendars_2013 FPO"
set linkPath to (linkPath's text items) -- Create a list of text items
set AppleScript's text item delimiters to "Volumes/Calendars_2013"
set linkPath to (linkPath as string) -- Concatenate with new path
set AppleScript's text item delimiters to "" -- Reset TIDs
try
-- Need to make our string (path) into an alias path
relink x to alias linkPath
try
update x -- This can be helpful
end try
on error err
-- We'll store link name if error occurs
set errInfo to (errInfo & return & x's name)
end try
end if
end if
end repeat
-- If an error occurs while trying to relink, we'll display it
if (count errInfo) > 0 then display dialog ("Can't relink:" & errInfo)
end tell
end tell
--HectorI just tried adding collens to the end of the folder path. For some reason the script skipped the relink line. Below is the code with your update. I'm thinking its not finding the images because the script needs to make a list of all the images and choose the one that matches the missing image.
tell application "Adobe InDesign CS5.5"
tell document 1
set linkList to links
set errInfo to "" -- We'll display error if we can't relink an item
repeat with x in linkList
if (x's status) is not normal then -- I usually check for any link that has an error
-- This should only return an AppleScript path with ":" separators
set linkPath to (x's file path) as string
if "Calendars_2013 FPO:" is in linkPath then
set AppleScript's text item delimiters to "Calendars_2013 FPO:"
set linkPath to (linkPath's text items) -- Create a list of text items
set AppleScript's text item delimiters to "Calendars_2013:"
set linkPath to (linkPath as string) -- Concatenate with new path
set AppleScript's text item delimiters to "" -- Reset TIDs
try
-- Need to make our string (path) into an alias path
relink x to alias linkPath
try
update x -- This can be helpful
end try
on error err
-- We'll store link name if error occurs
set errInfo to (errInfo & return & x's name)
end try
end if
end if
end repeat
-- If an error occurs while trying to relink, we'll display it
if (count errInfo) > 0 then display dialog ("Can't relink:" & errInfo)
end tell
end tell
--Thanks for you help -
(InDesign CS5) I have created hundreds of InDesign documents incorporating images stored on an external USB connected drive. I did a manual back-up to another drive at regular intervals but far from ideal.
I now have a network drive which is properly backed-up. I have copied all of the images and folder structure from the USB connected drive to this new drive.
My question is how I get all of the links in my indd files to point to the new drive. I am aware how to do it one file at a time, but is there a way of doing the same thing over many files/folders at a time?It depends on how you organize your work. If you have one folder for images for a document, relinking one image should alert you that other missing images are in the same folder, but this assumes that images are missing. If the links window sees a clear path to the original location of the images, they aren't missing, so that won't work.
Another thing to try is to select all of the images in the links window and go to the fly-out menu and select Relink To Folder (navigate to the new folder, and you don't even have to select any images by name).
If you store your images in many different folders for the same document, you might want to either package the document to copy all of the images into one folder (you can specify to only copy images if you like) or use the fly-out in the links window (Utilities>Copy Links To…) and select or create a new images folder. -
How do I save image and text as a single image in InDesign CS5.0?
How do I save an image and text as one image in InDesign CS5.0? NOT 5.5.
I need to save the image as a 72-dpi, jpg file for ePub purposes. I designed a book and am handing it off to someone for ePub.
This is what I've tried:
1) Copied from InDesign, pasted into a PhotoShop doc as a Smart Object. Saved it as 72 dpi jpg, then imported back into ID.
2) Took a screenshot of ID page, placed it in PS, saved as 72 dpi, imported into ID
3) Saved page as a PDF from InDesign, then saved PDF as 72 dpi jpg, then imported into ID.
4) Save page as a PDF from InDesign, placed into Photoshop and saved
as 72 dpi, then imported into ID.
5) Saved as an EPS from InDesign, placed in PS, then imported back to ID.
In all cases, the type looks terrible. It doesn't seem to matter whether I copy or place into Photoshop, though placing is slightly better.
HELP!!!In all cases, the type looks terrible. It doesn't seem to matter whether I copy or place into Photoshop, though placing is slightly better.
Naturally what you did will result in rasterized text. Did you preview with high quality settings?
Are you sure the people who will handle that downstream need pixel images and do you have the exact pixel dimensions needed?
Why did you place the image back in Indesign, by the way? -
InDesign CS5 ePUBS Image Consistency across platforms
Hello!
I have a question I've been asking myself for months, and finally made an account here for the Adobe Forums, which seems to be pretty much the only place with useful information about ePubs.
I work in a company that's planning on transferring over 70 print modules (between 80-150 pages each) to be available on iPad and Android tablets / phones.
InDesign CS5 helps a lot, especially with being able to choose Header 1s as Page Breaks.
But, I seem to be having some issues with a couple of things that's preventing us from publishing these documents to the Apple Store and Androind Market.
1) Superscript / Subscript not appearing correctly on final product (Though this has been achieved by using Sigil to hack the CSS)
2) Bullet alignment (The bullets are all aligned perfectly, just not along with the first line, creating a secondary weird indent bug that looks terrible)
The main issue is pictures. I am using PNG images. A few months ago, the problem was solved - If I chose NOT to automatically format my images, they appeared perfect on the iPad/iPhone/Galaxy Phone and Galaxy Tab.
However, we took some time off this project, and now that I'm back on it, Aldiko has a new version, and it seems to break the images. Now my images in Aldiko are displaying huge, and previously, you'd be able to hold a finger on an image and it would open up full screen to get a closer look, but all of that seems gone now, and I'll only get half of my image at best.
Checking off to automatically format the images results in terrible low quality images that are so small you can barely see them.
I've done some research and apparently Aldiko is one of the most used free e-readers for android, so I'd definitely like for our products to display fine on it.
Any suggestions? Anyone else that experiences similar problems?Your question is rather an advanced one. I've observed that most of us who reply to ePUB questions here are still learning to make ePUBs.
I've been told by someone more knowledgeable about it than I that the link below to the MobileRead Forums would lead you to more experienced ePUB creators who may be more helpful:
http://www.mobileread.com/forums/ -
How to get all images in indesign CS5 with javascript?
Hi,everybody,
How to get all images in indesign CS5 with javascript?I want to delete them.
Anyone can give me some example codes?
Thanks,
BridgeHey!
This will remove all images from your InDesign document:
var myLinks = app.activeDocument.links.everyItem().parent;
for(var i = 0; i < myLinks.length; i++)
myLinks[i].remove();
Hope that helps.
tomaxxi
http://indisnip.wordpress.com/
http://inditip.wordpress.com/ -
Hi there
This Mac is quite new and was originally a migration (using Migration Assistant) from an older Mac.
Illustrator and InDesign in CS5 were both crashing often and most of the time it's when placing an image (in either application) – it doesn't crash each time I try to place an image, but 90% of the crashes are when placing an image.
We tried lots of things, like cleaning out the fonts, clearing font caches etc. After several months of that, we decided to wipe the Mac clean and start from scratch. It has been reformatted with a clean install of the OS and only minimal additional software added. Although quite a few fonts have been reinstalled, they all validate in Font Book.
One other thing of note is that the Adobe Updater fails to complete an update and so we have had to update each application manually from the Adobe website.
I would be so grateful someone could help shed some light on what is going on. Here's an EtreCheck report. Can also provide crash reports from the Console if useful.
Thanks!
EtreCheck version: 2.0.6 (91)
Report generated 28 October 2014 13:33:49 GMT
Hardware Information: ℹ️
iMac (21.5-inch, Late 2013) (Verified)
iMac - model: iMac14,1
1 2.7 GHz Intel Core i5 CPU: 4-core
8 GB RAM Upgradeable
BANK 0/DIMM0
4 GB DDR3 1600 MHz ok
BANK 1/DIMM0
4 GB DDR3 1600 MHz ok
Bluetooth: Good - Handoff/Airdrop2 supported
Wireless: en1: 802.11 a/b/g/n/ac
Video Information: ℹ️
Intel Iris Pro -
S22D300 spdisplays_1080p
iMac 1920 x 1080
System Software: ℹ️
OS X 10.9.5 (13F34) - Uptime: one day 4:4:52
Disk Information: ℹ️
APPLE HDD ST1000LM024 disk0 : (1 TB)
S.M.A.R.T. Status: Verified
EFI (disk0s1) <not mounted> : 210 MB
Macintosh HD (disk0s2) / [Startup]: 999.35 GB (848.81 GB free)
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
USB Information: ℹ️
Apple Inc. BRCM20702 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Inc. FaceTime HD Camera (Built-in)
Apple, Inc. Keyboard Hub
Apple Inc. Apple Keyboard
EPSON EPSON Scanner
Apple Inc. MacBook Air SuperDrive
Thunderbolt Information: ℹ️
Apple Inc. thunderbolt_bus
Gatekeeper: ℹ️
Mac App Store and identified developers
Launch Agents: ℹ️
[not loaded] com.adobe.AAM.Updater-1.0.plist Support
[loaded] com.adobe.CS5ServiceManager.plist Support
Launch Daemons: ℹ️
[loaded] com.adobe.fpsaud.plist Support
[invalid?] com.adobe.SwitchBoard.plist Support
[running] com.backblaze.bzserv.plist Support
[loaded] com.microsoft.office.licensing.helper.plist Support
User Launch Agents: ℹ️
[loaded] com.adobe.AAM.Updater-1.0.plist Support
[loaded] com.adobe.ARM.[...].plist Support
[running] com.backblaze.bzbmenu.plist Support
[not loaded] com.spotify.webhelper.plist Support
User Login Items: ℹ️
iTunesHelper Application (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
MagicPrefs 2 (48) Application (/Users/[redacted]/.Trash/MagicPrefs 2 (48).app)
Spotify Application (/Applications/Spotify.app)
Internet Plug-ins: ℹ️
FlashPlayer-10.6: Version: 15.0.0.189 - SDK 10.6 Support
QuickTime Plugin: Version: 7.7.3
Flash Player: Version: 15.0.0.189 - SDK 10.6 Support
AdobePDFViewer: Version: 9.5.5 Support
Default Browser: Version: 537 - SDK 10.9
SharePointBrowserPlugin: Version: 14.4.4 - SDK 10.6 Support
JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Check version
3rd Party Preference Panes: ℹ️
Backblaze Backup Support
Flash Player Support
Growl Support
Time Machine: ℹ️
Auto backup: YES
Volumes being backed up:
Macintosh HD: Disk size: 999.35 GB Disk used: 150.53 GB
Destinations:
TimeMachine [Network]
Total size: 599.66 GB
Total number of backups: 52
Oldest backup: 2014-07-03 13:25:07 +0000
Last backup: 2014-10-28 12:28:22 +0000
Size of backup disk: Adequate
Backup size 599.66 GB > (Disk used 150.53 GB X 3)
Top Processes by CPU: ℹ️
2% WindowServer
1% Adobe Photoshop CS5
0% bzfilelist
0% bzbmenu
0% fontd
Top Processes by Memory: ℹ️
1.31 GB Adobe Photoshop CS5
610 MB Adobe InDesign CS5
490 MB firefox
292 MB Finder
215 MB WindowServer
Virtual Memory Information: ℹ️
90 MB Free RAM
3.19 GB Active RAM
3.28 GB Inactive RAM
996 MB Wired RAM
10.36 GB Page-ins
192 MB Page-outsThanks, I will do.
I posted it here because this is happening on a clean drive/clean install and I have 10 other macs (including some of the same model) all running OS X 10.9.5/Adobe CS5 and not having this problem. -
How do you blur an image in InDesign CS5.5 (wtihout Photoshop)?
I'd like to apply a guassian blur to an image in InDesign CS5.5, but I don't have acces to Photoshop or any other real graphics program on my employers Windows laptop. Is there any feature in InDesign that would result in a guassian blur look?
Something like this? http://indesignsecrets.com/branislavs-great-ghost-technique.php
-
When I try to relink images in my inDesign CC Files, in Design becomes unresponsive.
When I try to relink images in my inDesign CC Files, inDesign becomes unresponsive.
Have you tried re-booting? Trashing the prefs? See Replace Your Preferences Exporting to .idml? see Remove minor corruption by exporting
-
InDesign CS5.5 won't import docx/Word2010 with linked images.
Hi,
Maybe somebody knows what is going out
I have WORD 2010 document with LINKED MathType equations saved as EPS files.
In WORD 2010 they are LINKED or LINKED AND EMBEDED - but when I try to import this DOCX file into InDesign CS5.5 - images are missing.
Only EMBEDED images are imported/visible - but of course not linked.
I hope somebody can tell me if this is WORD or InDesign problem and how to fix this.
DOC file saved from WORD 2000 - imports perfectly fine - all EPS equations linked in WORD are perfectly visible and still linked in InDesign CS 5.5.
thxPeter Spier wrote:
Hi Robert, we haven't seen you here for a while. Welcome back.
Thx
I know Jongware complains bitterly that Word import can be really flakey. Did you try daving as plain .doc, too? Seems like MathType equations are also the subject of a fair number of posts, too, but I'm not sure they are really a similar problem. I don't suppose there's any way for you to convert the eqations to .ai or PDF and still use them as links in Word, or to embed rather than link?
I'm working on big tool to automatic mass processing big number of Word files. One of the steps is to prepare Word files with MathType equations for further manual processing. I have a macro (for Word2010) to automatically export all equations to EPS files. The next step is to reImport EPS files back to Word - so they will be imported into InDesign as linked files and then they could be automatically correctly positioned withing the text.
The problem is - I've done reImport step in Word2000 - as 2nd macro - and it works perfectly fine for DOC files saved from Word2000.
Of course I can do this in InDesign - but I think it would be faster in Word.
I think missing import of the linked files for DOCX files is a BIG bug ... -
I opened a file that was created in CS4 in InDesign CS5. I have been working on it for a few days. I am now on page 39 and I am encountering a very annoying and puzzling problem.
On that page, I had an image with a caption behing a text box that runs on the whole page. Wrapping for the image was set to wrap around.
Now in CS5, the text is OK but the image and caption are like ghosts - I cannot select them, delete them, edit them. They were on the same layer as the text, send to the back. When I make the layer invisible, the text, image and caption disappear so they are still on the same layer. I moved the tex box away and the image is there but untouchable. When I updated the image which I edited, the image updated but wrongly since I added some info on the bottom and now it is cut off. The image is still there unmovable!
How can I get this image to become accessible now or how can I delete it and start over?In order to see the previous panel, the layer panel had to be opened and here is how it looks. There is no locked layer at all. The picture in on the top layer (green - labeled Text) When I hide the layer the text and photo disappear. So the photo is on the same layer as the text as I placed it. When I move the text out, the photo is there in the middle of the page but cannot be selected. The photo is not locked and was not locked earlier either. When I right click on the photo area, nothing happens because it cannot be selected. If it was locked, normally it still could be selected to unlock it. But it is not selectable. It is like a ghost but at the same time, since it was originally set to wrap around, when I move the text over it, it wraps around the box that I can otherwise not select.
Maybe you are looking for
-
Hello everyone! I had downloaded Wavepad to remove vocals from songs, I had already removed vocals once but I forgot how to do it again WITHOUT USING "EFFECTS>SPECIAL EFFECTS>REDUCE VOCALS". I remember I learnt from a video on YouTube but I do not fi
-
LabVIEW - Activex Internet Explorer Communicat​ion - Question
Hi I have a code which can generate a URL(https:\\.....) to talk to a server. The server in turn sends my code a response. I've used ActiveX to enable the communication over a secure network.When I make a change in the URL I send to the server, I exp
-
Parse a SimpleType...
hi , i parse an Element and like this: XSDElement element=(XSDElement)nodeArray[z]; //nodeArray[z] is a XSDNode[] System.out.println(element.getType().getName()); //print the TYPE of the lement like string or decimal or integer... but if the element
-
Experiencing very small text using adobe connect on my new Microsoft Surface 3. Any solutions?
-
How do can i increase the font size of iTunes or other apps in general?
Hi I got a macbook pro 17 hires, my mistake, i can barely read anything, i tried making the text as large as i could in the prefs, my itunes text is too tiny, i also changed that in the iTunes prefs but the so called large looks like size 8, i need 1