Skip to content

Instantly share code, notes, and snippets.

View erkkap's full-sized avatar

Erkka Peitso erkkap

View GitHub Profile
@erkkap
erkkap / PlainTextClipboard
Created January 25, 2014 12:17
This AppleScript converts the clipboard contents to plain text and shows a notification
-- This AppleScript converts the clipboard contents to plain text
set the clipboard to (get the clipboard as text)
-- Show notification with a preview
display notification (the clipboard) with title ("PlainTexted!")
-- Add a small delay so the notification has the time to launch
delay 2