Created
January 25, 2014 12:17
-
-
Save erkkap/8615482 to your computer and use it in GitHub Desktop.
This AppleScript converts the clipboard contents to plain text and shows a notification
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment