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
javascript: Promise.all([import('https://unpkg.com/turndown@6.0.0?module'), import('https://unpkg.com/@tehshrike/readability@0.2.0'), ]).then(async ([{ | |
default: Turndown | |
}, { | |
default: Readability | |
}]) => { | |
/* Optional vault name */ | |
const vault = "VaultV2"; | |
/* Optional folder name such as "Clippings/" */ |
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
(* | |
Opens the support note for an OmniFocus task/project in Evernote. Creates the note if necessary, linking the note back to the task/project. | |
NB: If you set this up by hand, the evernote:/// URL in OmniFocus needs to be enclosed in <> for the script to find it. | |
Put this script in ~/Library/Application Scripts/com.omnigroup.omnifocus2. Then you can add the script as a custom toolbar item. | |
version 1.0: Initial release | |
*) |
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
-- Drop an action | |
-- Mark it "Complete" and add front tag of "❌ Dropped" | |
-- | |
tell application "OmniFocus" | |
tell front document | |
try | |
set droppedTag to first tag where its name contains "Dropped" | |
on error | |
display alert "No tag found whose name ends with “" & "Dropped”" | |
return |
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
#!/usr/bin/ruby | |
# Uses textutil, available on Mac only (installed by default) | |
# Usage: rtftomarkdown.rb FILENAME.rtf | |
# Outputs to STDOUT | |
if ARGV.length == 0 | |
puts "#{__FILE__} expects an RTF input file as an argument" | |
exit | |
end |
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
Show hidden characters
[ | |
{ | |
"keys": ["ctrl+k"], "command": "prettify_markdown_table" | |
} | |
] |