I am not sure why my XML properties are not holding. For example, when I manually export and check off box(es) under “Image Options”, then later run my script below, the settings that are being honored are those that were manually set. not those set by the script? It’s easy to tell because it is creating the Images sub folder, whereas in my script I am assigning false to everything?
tell application "Adobe InDesign CS4"
activate
set fileName to name of document 1 as text
set fileName to items 1 thru 11 of fileName as text
set properties of XML export preferences to {file encoding:UTF8, view after export:false, export from selected:false, allow transform:false, character references:false, copy formatted images:false, copy optimized images:false, copy original images:false, export untagged tables format:none, GIF options interlaced:false}
export document 1 format XML to ((path to current user folder as Unicode text) & "DigitalProducts:FolderForExportedFiles:" & fileName & ".xml")
end tell