I'm running an applescript that adds a page to a document, the "Override All Master Page Items" then import text into one of the released text boxes. The solutions I've found don't seem to work as they reference an active page number
So is it possible to do this?
set theListOfFileNames to {"1", "2", 3", "4", "5", "5"}
set theTargetFolder to ((path to desktop folder) & "Catalogue") as string
repeat with theCurrentFileName in theListOfFileNames
set theImportFile to theTargetFolder & ":text:" & theCurrentFileName & ".txt"
tell application "Adobe InDesign CS3"
tell active document
make page
override (master page items) -- what to do here??
-- then select any textbox on the page
-- place theImportFile without showing options
--end tell
end tell
save active document
end tell
end repeat