Re: using AppleScript to print an HTML document

2017-09-25 Thread Jens Alfke
> On Sep 24, 2017, at 1:22 PM, Alan Snyder wrote: > > I’m trying to use AppleScript to get Safari to print an HTML document > (showing the print dialog) and am having no luck with the direct approach. This isn’t really a Cocoa development question … try the

using AppleScript to print an HTML document

2017-09-24 Thread Alan Snyder
I’m trying to use AppleScript to get Safari to print an HTML document (showing the print dialog) and am having no luck with the direct approach. This script times out without opening a print dialog or printing the document: tell application "Safari" print POSIX file