🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.scripting.indesign
15 messages
15 total messages Started by The Bullitt Fri, 30 Jan 2009 16:23
Script to replace filename.tif with graphic of same name
#1557
Author: The Bullitt
Date: Fri, 30 Jan 2009 16:23
7 lines
868 bytes
Have never written nor used an InDesign script.

I'm using InDesign 3.0.1 and need a script which will replace filenames with inline graphics of the same name in a large catalog (each file has about 250 images).

Can anyone please help me?

Thanks
Re: Script to replace filename.tif with graphic of same name
#1559
Author: Kasyan_Servetsky
Date: Fri, 30 Jan 2009 16:33
1 lines
652 bytes
<http://www.kasyan.ho.com.ua/relink.html>
Re: Script to replace filename.tif with graphic of same name
#1562
Author: The Bullitt
Date: Fri, 30 Jan 2009 18:02
5 lines
840 bytes
Kasyan

I have the original version of CS, using InDesign 3.0.1. Your script is for newer versions. Do you have a version for the original CS?

Thanks for your quick rescue.
Re: Script to replace filename.tif with graphic of same name
#1565
Author: Kasyan_Servetsky
Date: Fri, 30 Jan 2009 18:36
1 lines
766 bytes
I took no notice that you use CS &#8211; sorry. I don't have this version installed on my computer any more, so I can't make the script compatible with it.
Re: Script to replace filename.tif with graphic of same name
#1568
Author: The Bullitt
Date: Fri, 30 Jan 2009 19:11
1 lines
635 bytes
Thanks for trying.
Re: Script to replace filename.tif with graphic of same name
#1684
Author: The Bullitt
Date: Tue, 03 Feb 2009 17:31
1 lines
665 bytes
Can anyone else help me, please?
Re: Script to replace filename.tif with graphic of same name
#1687
Author: Harbs
Date: Tue, 03 Feb 2009 19:42
6 lines
859 bytes
I just looked at Kasyan's script, and I don't see anything which 
wouldn't work in CS. Just change the extension to js.

-- 
Harbs
http://www.in-tools.com
Re: Script to replace filename.tif with graphic of same name
#1531
Author: The Bullitt
Date: Thu, 05 Feb 2009 17:10
6 lines
778 bytes
I tried it and got this Javascript error:
Error Number: 8
Error String: "Syntax Error"
Line: 10
Source: "#target indesign"
Offending Text: "#"
Re: Script to replace filename.tif with graphic of same name
#1406
Author: Kasyan_Servetsky
Date: Fri, 06 Feb 2009 08:03
1 lines
664 bytes
Try to remove '#target indesign' line from the script.
Re: Script to replace filename.tif with graphic of same name
#1309
Author: The Bullitt
Date: Mon, 09 Feb 2009 16:35
1 lines
782 bytes
The script runs now, but no graphics are replaced is the message I get, even though I pointed to the correct folder with like named graphics in tif versus jpg format.
Re: Script to replace filename.tif with graphic of same name
#1310
Author: Dave_Saunders
Date: Mon, 09 Feb 2009 17:01
3 lines
765 bytes
And you've confirmed that indeed they're still tifs and not jpgs -- that is, it's not just the message that is wrong, the script really isn't working?

Dave
Re: Script to replace filename.tif with graphic of same name
#1319
Author: The Bullitt
Date: Mon, 09 Feb 2009 20:03
3 lines
867 bytes
Dave

I placed and linked Jpegs in a document with like named tif's placed in a folder. I ran the script, pointed to the folder and it said that no graphics were replaced. The linked graphics were the original Jpegs.
Re: Script to replace filename.tif with graphic of same name
#1342
Author: Kasyan_Servetsky
Date: Tue, 10 Feb 2009 07:07
1 lines
802 bytes
The existing links and the links you want them to replace with, shouldn&#8217;t be in the same folder for the script to work. If this is the case, try to move new links to a different folder.
Re: Script to replace filename.tif with graphic of same name
#1450
Author: The Bullitt
Date: Tue, 10 Feb 2009 12:56
3 lines
717 bytes
Kasyan

They were in different folders and I got the message that no graphics have been replaced.
Re: Script to replace filename.tif with graphic of same name
#1483
Author: Kasyan_Servetsky
Date: Wed, 11 Feb 2009 09:46
2 lines
756 bytes
Could you send me your files ( indd + a few links), so that I could recreate the problem?
My e-mails: askoldich@yahoo.com or kasyan@business.ua
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads