Reputation: 678
I have to save many htmls as pdfs. When a print window pops up, I manually click options for saving pdfs. I want to automate this task by applescript. But I don't know how to run an applescript when a print window pops up?
Upvotes: 0
Views: 568
Reputation: 196
There are a few solutions on this page:
https://superuser.com/questions/257290/how-to-record-a-macro-that-saves-web-pages-as-pdf-in-osx
Not sure if this will work for you, but it's probably a start.
Upvotes: 1