InDesign - get old/latest file path of missing link
InDesign - get old/latest file path of missing link
- Subject: InDesign - get old/latest file path of missing link
- From: Armin Egginger <email@hidden>
- Date: Sat, 17 Apr 2004 16:46:53 +0200
Hi Scripters,
I want to read all picture informations of an InDesign (2.0.2 & CS)
document. and everything works fine if the link isn't missing. If the
link is missing, i can't get the "old" file path of this image. I want
to give the User the last file path of the missing image - sometimes
the Disk isn't mounted and the user get an information. But without
"old" file path I can't tell him something. Is it possible to get the
"old" file path (the same like in the linking window showing in
InDesign).
Thanks in advanced.
Armin
--my script
tell application "InDesign CS"
set xAllPicts to every link of front document
set xOKpathsList to {}
repeat with i in xAllPicts
if status of i is link missing then
-- I need the old file path of this file
else
set end of xOKpathsList to file path of i
end if
end repeat
log xOKpathsList
end tell
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.