yuk yuk, not what I meant, I was just pointing out a few quirks
I did try removing the if but it then throws up an error when it can;t get the path for missing pictures, perhaps that's why the if was there to start with?
I have found another script which lists missing picture paths perfectly so clearly it's doable, perhaps even for a noob like me, I do php myself, this applescript is all a bit crazee to me
Thanks for the prompt answers, much appreciate, my goal is for it to relink as told where possible for all pictures and leave links alone where it can't, I have a javascript that does that for InDesign and it's brill
Thanks
Tynan
tell application "QuarkXPress"
tell document 1
set Missing_Images to {} -- Create an empty list
try -- Wrap in TRY BLOCK so script does NOT fail if nothing is returned
set Missing_Images to file path of (every image whose missing is true)
end try -- As is says
if Missing_Images is {} then -- The list is still empty so do your stuff here
display dialog "OK" giving up after 3
else -- List has items (file paths for missing images)
close saving no
end if
end tell
end tell