Applescript and Indesign task

I’m new to applescript and Indesign CS2 and I have to check to see if an indesign file has been imported properly to a location. That means I have to check for missing links (inaccessible because the file was not packaged before it was moved), missing plug ins, and missing fonts.

I can’t simply just check for those file folders in the package, I have to use applescript to see if they exist and if Indesign won’t throw up a dialog box if those items are missing. The problem is, since I’m new to applescript, I have no idea what properties those are and how to check if there’s an error when you open the files up in Indesign. I do know how to suppress those errors, such as in the following script:

tell application “Adobe InDesign CS2”
– set modal state to false
set user interaction level of script preferences to never interact
set myDocument to open IndesignPath without showing window

end tell

Can someone point me to the way you check for missing image links, missing fonts, and missing plugins in applescript?

tia, James

I’m not sure if there is a way to check for plug-ins but the other two are:

tell application "Adobe InDesign CS3"
	tell document 1
		set missingLinks to every link whose status is link missing
		set missingFonts to every font whose status is substituted --whose status is missing
	end tell
end tell

Thank you, Jerome.
This is what I am looking for.:stuck_out_tongue: