I have macros in several programs that print to PDF. The steps are simple:
1: Command-P to start the application's Print process
2: Return to open the full Print menu
3: Press Button "PDF" to open the PDF choices ...
4: A few down arrows and a Return to select my options.
It used to work perfectly, but since upgrading to Ventura, the macro no longer presses the PDF button. It ignores that, ignores the down arrows, and accepts the Return which sends the document to my physical printer.
So the problem is the macro will no longer correctly "Press Button 'PDF'".
David Sparks is at least known for popularizing the use of Command-P for Save as PDF—maybe he's the originator, I don't know—and today he posted a short video for updating this configuration for Ventura.