need help GUI scripting dialog box in InDesign CS3

G’day scripters

I’m trying to automate the opening of .indd files with InDesign CS3. They often come in folders with attached/included linked files, and opening the .indd files results in a dialog box offering to ‘Fix Links Automatically’

Trouble is, there’s a default button ‘Don’t Fix’, that sending a return to the inDesign process selects (that works OK).

I’d like to select the ‘Fix Links Automatically’ button, but trying to send a click to the button doesn’t work. I can get the button to flicker with multiple ‘clicks’, both by addressing by name and by position, but the button won’t respond.

I’ve posted on the inDesign forums, but have not received a reply.

Can anyone offer advice as to what to try/do please?

Regards

Santa

Model: G5 1.8 GHz
AppleScript: 2.1.1
Browser: Safari 419.3
Operating System: Mac OS X (10.4)

are the links missing or just modifed ?

if they are just modified you can update them after you open the file ?

mm

Thanks mm

The linked files are present, and I’ve written a script to place them at the same folder level as the .indd file, so that linking them should not be a hassle (sometimes the clients put the linked files in separate folders).

How do I script to update the linked files with an open document?

Santa