I’m a newbie trying to solve this can someone help me with this??
This is my script:
do shell script "screencapture ~/Desktop/file.pdf"
tell application "Finder"
print file "file.pdf"
What it does is taking a screencapture and trying to print that. It works but I don’t know what to do when the print dialog appears. It should click the Print button automatically and then close the file.
I don’t think this is a big problem but don’t know how to solve it.