Re: Print to PDF in Safari
Re: Print to PDF in Safari
- Subject: Re: Print to PDF in Safari
- From: "Eric M. Williams via AppleScript-Users" <email@hidden>
- Date: Sat, 10 Jul 2021 12:04:55 -0700
Safari has an Export to PDF… option in the File menu. I wonder if that might be
an easier path.
Eric M. Williams
> On Jul 9, 2021, at 8:54 PM, Neil Faiman via AppleScript-Users
> <email@hidden> wrote:
>
> I'm being lazy here. I know that all the clues I need are available,
> especially at Mac OS Automation, but I've never done GUI scripting before, so
> I'm hoping someone can hand me a cookbook recipe.
>
> My objective is simply to print the frontmost web page in Safari to a
> specified file path. I think this comes down to:
>
> Click the Print... menu item in the File menu.
> In the Print dialog, choose the Save as PDF menu item from the PDF menu
> button.
> In the Save File dialog, paste the file path into the Save As: text field and
> click the Save button.
>
> Can anyone show me the way?
>
> Thanks,
>
> Neil Faiman
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden