Just trying to write a short bit of Applescript to open the "Print to pdf" dialog in Pages 09. Sounds easy enough but the Print window is not a separate window, it's incorporated into the main window, so I can't tell the script where the PDF button is located.
Does the print window have a name? Is it even a window? Thanks!
PHP:
keystroke "p" using command down
# Do some loop to wait for print "window" to appear.
click menu button "PDF" of window "????"
Does the print window have a name? Is it even a window? Thanks!