I have a hand me down script which I run in ExtendScript Toolkit CS, which takes data I hold on a spreadsheet and allows me to create different versions of files with different info. It has always worked fine, but the script also has a function where it should allow me to replace a image/logo in the same way that I would change a URL or contact info. But I can never get that bit to work, I just don,t know how to lable it in indesign for my script and spreadsheet to find it.
this is the bit of the script for images.
and this is the data from the spreadsheet it runs off
Can anybody help me please?
There are dozens of reasons why your script could fail. A wild guessing would be a reference issue.
Is the logoFrame valid ? Is the url valid ? is the object style valid ?
What is the message you get ?
try this :
//your image loop
alert( err.line+"//"+err.message );
Check in the layer palette, if the logoFrame has the name "reverse-flat"