Re: :hardcopy not launching Preview

2023-07-03 Thread Lifepillar
On 2023-07-03, Bram Moolenaar wrote: > I suppose encrypting the file won't be possible, since the reader does > not know how to decrypt it. Or does the Preview app support encryption > somehow? Yes, macOS's Preview supports (at least some?) encrypted PDFs. I did a quick test by encrypting a

Re: :hardcopy not launching Preview

2023-07-03 Thread Bram Moolenaar
> On 2023-06-30, Lifepillar wrote: > > On 2023-06-30, Yee Cheng Chin wrote: > > The fix was in https://github.com/macvim-dev/macvim/pull/1390 > > To delete the PDF file synchronously after it has been opened in > Preview, AppleScript can be used: > > system($"osascript -e 'tell app