R
rbultje
Version: 2008
Operating System: Mac OS X 10.4 (Tiger)
Processor: Intel
Hi,
I'm trying to do some applescripting for fun. I use the Apple Script editor to do this. One thing I'd like to do is use the print out command to print to a file. I use the following code:
tell application "Microsoft Powerpoint"
print out active presentation print to file "/Users/Shared/test.pdf" without showDialog
End tell
However, this doesn't print anything to this file. If I previously print to a PDF using the dialog (by hand), then this appears to in fact overwrite that old file.
How does this command work? Should I show the dialog and use the script to sort of emulate the button pressing as if I were going to press "PDF" -> "Save as PDF" etc?
Operating System: Mac OS X 10.4 (Tiger)
Processor: Intel
Hi,
I'm trying to do some applescripting for fun. I use the Apple Script editor to do this. One thing I'd like to do is use the print out command to print to a file. I use the following code:
tell application "Microsoft Powerpoint"
print out active presentation print to file "/Users/Shared/test.pdf" without showDialog
End tell
However, this doesn't print anything to this file. If I previously print to a PDF using the dialog (by hand), then this appears to in fact overwrite that old file.
How does this command work? Should I show the dialog and use the script to sort of emulate the button pressing as if I were going to press "PDF" -> "Save as PDF" etc?