Created
September 12, 2010 16:14
-
-
Save finsprings/576210 to your computer and use it in GitHub Desktop.
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
| on run {input, parameters} | |
| set now to (do shell script "date '+%Y-%m-%d-%H-%M-%S'") as string | |
| set home to (path to home folder) as string | |
| set filename to home & "Dropbox:notesy:" & input & " (" & now & ")" & ".txt" | |
| set snippet to the clipboard as «class utf8» | |
| set fd to open for access filename with write permission | |
| write snippet to fd as «class utf8» | |
| close access fd | |
| say "created " & input | |
| end run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment