test1
Last active
April 28, 2024 22:46
-
-
Save pilotmoon/fa2365832340b351be48976112b03c05 to your computer and use it in GitHub Desktop.
blah
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
| -- #popclip | |
| -- name: OF4 | |
| -- after: show-status | |
| -- lang: applescript | |
| if length of "{popclip browser url}" > 0 then | |
| set theSource to "From web page: {popclip browser url}" | |
| else | |
| set theSource to "From application: {popclip app name}" | |
| end if | |
| set theNote to theSource & " on " & ((current date) as string) & return & return & "{popclip text}" | |
| tell application id "com.omnigroup.OmniFocus4" | |
| tell default document | |
| make new inbox task with properties {name:first paragraph of "{popclip text}", note:theNote} | |
| end tell | |
| end tell |
!!!!!!!!!!!!!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(The above block is an extension snippet — select it then click "Install Extension" in PopClip.)