set pagewidth to display dialog " Enter width in picas" default answer " "
set pageheight to display dialog " Enter height in agates" default answer " "
tell application "Adobe InDesign CS3"
set myDocument to make new document
tell document preferences of myDocument
end tell
end tell