Macs in Chemistry

Insanely Great Science

Print clipboard script

 

One of the most popular downloads on the site is the "Print Clipboard" script. This AppleScript prints any text copied to the clipboard without the need to paste the text into a text editor or word processor prior to printing. I was recently asked if it might be possible to have an option to save the text to a pdf file rather than printing. So I've added the option to print to pdf.

Copy any text to the clipboard and run the script. The first dialog shows the content of the clipboard

clipboarddialog

Click OK, and then the second dialog gives the option to Print directly (default option) or you can save as a pdf on your desktop. You can of course choose your own file name.

choosepdfname

You can download the AppleScript here.

http://macinchem.org/applescript/Applescripts/Print_clipboard.scpt.zip

If you want quick access to scripts I recommend selecting "Show Script menu in menu bar" in the Script Editor preferences.

scriptmenu

blog comments powered by Disqus