Hi!
In the AppleScript documentation for the perspectives it is written that they "respond to print" with the following explanation:
Code:
print v : Print a document.
print list of file or specifier : The file(s), document(s), or window(s) to be printed.
[with properties print settings] : The print settings to use.
[print dialog boolean] : Should the application show the print dialog?
How is this supposed to work? Tried many variations
Code:
tell perspective "Drucken" to print {first document}
tell perspective "Drucken" to print {}
print {perspective "Drucken"} with properties "" print dialog yes
... but nothing wants to work: "Some parameters are missing for print".
Any idea?
Stefan