Sunday, December 4, 2022
  • Index
  •  » Code Exchange
  •  » Screencapture tool + Preview.app - Printing screenshots as PDF

#1 2022-09-30 10:14:25 pm

KniazidisR
Member
From:: Greece
Registered: 2019-03-03
Posts: 2589

Screencapture tool + Preview.app - Printing screenshots as PDF

Applescript:


do shell script "screencapture -t pdf ~/Desktop/file.pdf"
set theHFS to (path to desktop as text) & "file.pdf"

tell application "Preview"
   activate
   print file theHFS print dialog no
end tell


Model: MacBook Pro
OS X: Catalina 10.15.7
Web Browser: Safari 15.6.1
Ram: 4 GB

Offline

 
  • Index
  •  » Code Exchange
  •  » Screencapture tool + Preview.app - Printing screenshots as PDF

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)