• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Print to PDF in Safari
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Print to PDF in Safari


  • Subject: Re: Print to PDF in Safari
  • From: Takaaki Naganoya via AppleScript-Users <email@hidden>
  • Date: Sat, 10 Jul 2021 13:50:22 +0900

GUI Scripting is not by your hand. We do it by UI Browser.

https://pfiddlesoft.com/uibrowser/



I wrote such a workflow using by Cocoa Scripting.

http://piyocast.com/as/archives/864

Direct rendering web and generating PDF with AppleScript.


> 2021/07/10 12:54、Neil Faiman via AppleScript-Users
> <email@hidden>のメール:
>
> 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

--
Takaaki Naganoya
email@hidden
http://piyocast.com/as/



 _______________________________________________
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

References: 
 >Print to PDF in Safari (From: Neil Faiman via AppleScript-Users <email@hidden>)

  • Prev by Date: Print to PDF in Safari
  • Next by Date: Re: Print to PDF in Safari
  • Previous by thread: Print to PDF in Safari
  • Next by thread: Re: Print to PDF in Safari
  • Index(es):
    • Date
    • Thread