get image file name

Discuss XML import/export in QuarkXPress 8 & 9 (and before).

If you are interested in newer XML publishing formats that Quark offers, then please contact us about Modifier XML (QuarkXPress Documents as XML) in QuarkXPress Server or about Quark XML Author.
Posts: 10
Joined: 29 Sep 2004, 02:19

get image file name

Post by rajeev » 24 Mar 2007, 07:30

Hi All,

Please see the code below I am not able to get Image name, where I am making mistake.

tell application "QuarkXPress"
tell document 1
set x to properties of generic box 1
set y to properties of image 1 of generic box 1
set ImageList to object reference of every generic box whose class is picture box
repeat with AnImage in ImageList
tell AnImage
set file_name to get name of image 1 as text
display dialog file_name
end tell
end repeat
end tell
end tell



Return to “QuarkXPress 8 & 9: XML Import/Export - discontinued”