-
Notifications
You must be signed in to change notification settings - Fork 439
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
30 additions
and
99 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"identifier": "com.pilotmoon.popclip.extension.omnifocus", | ||
"name": "OmniFocus", | ||
"icon": "omnitick.png", | ||
"app": { | ||
"link": "https://www.omnigroup.com/omnifocus/", | ||
"name": "OmniFocus 4", | ||
"bundleIdentifier": "com.omnigroup.OmniFocus4", | ||
"checkInstalled": true | ||
}, | ||
"popclipVersion": 4225, | ||
"after": "show-status", | ||
"description": "Create a new Inbox task in OmniFocus 4.", | ||
"applescriptFile": "omnifocus.applescript" | ||
} |
This file was deleted.
Oops, something went wrong.
52 changes: 0 additions & 52 deletions
52
source/OmniFocus.popclipext/OmniFocusAddInboxTask.applescript
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
OmniFocus | ||
========= | ||
# OmniFocus | ||
|
||
[OmniFocus] extension for PopClip | ||
OmniFocus 4 extension for PopClip. Adds selected text as task in inbox, with reference to source URL, where available. | ||
|
||
Credits | ||
------- | ||
First paragraph is the task title, and the rest of the text is added as a note. | ||
|
||
Originally created by Marc Abramowitz - see [https://github.com/msabramo/nvALT.popclipext](https://github.com/msabramo/nvALT.popclipext). Icon and further modifications by Nick Moore. | ||
Author: Nick Moore, based on previous extension by Mark Abramowitz. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
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 |