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
property line_feed : (ASCII character 10) | |
property md_line_feed : (ASCII character 32) & (ASCII character 32) & (ASCII character 10) | |
property as_delims : AppleScript's text item delimiters | |
property export_style : "HTML" | |
property export_destination : "Evernote" | |
--Text Note HTML | |
property text_prefix : "<p style=\"font-size: 14px;\">" | |
property text_body_wrap_front : "<span style=\"font-family: 'Helvetica Neue';\">" |
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
tell application "System Events" | |
if not (exists process "OmniOutliner") then | |
do shell script "open -a \"OmniOutliner\"" | |
end if | |
end tell | |
tell application "Skim" | |
set all_notes to every note of front document | |
set pdf_name to (name of front document) |
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
tell application "System Events" to keystroke "c" using {command down} | |
-- if OO document is minimized unminimize | |
tell application id "com.omnigroup.OmniOutliner4" | |
if miniaturized of front window is true then | |
set miniaturized of front window to false | |
end if | |
end tell | |
-- send clipboard text to handler |
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
tell front document of application "OmniOutliner" | |
if (count of selected rows) < 2 then | |
display dialog "Select rows to merge." buttons "Cancel" default button "Cancel" | |
end if | |
set row_start to (index of first selected row) --skip non-selected rows | |
set row_end to (index of last selected row) --record last row for deletion | |
repeat with n from 1 to (count of selected rows) --# of rows selected |
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
tell application "System Events" | |
if not (exists process "OmniOutliner") then | |
do shell script "open -a \"OmniOutliner\"" | |
end if | |
end tell | |
tell application "Skim" | |
set all_notes to every note of front document | |
set pdf_name to (name of front document) |
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
#!/usr/bin/python | |
import sys; | |
import re; | |
import slate; | |
import pickle; | |
import nltk; | |
import glob; | |
import os; |
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 argv | |
set query to argv as text | |
set final_list to {} | |
tell application id "com.evernote.Evernote" | |
set notebook_list to every notebook | |
set compiled_list to {} | |
repeat with book_ in notebook_list | |
set book_name to {its name} | |
set note_list to every note of book_ |
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
set query to the text returned of (display dialog "Enter Your Search Term" default answer "QUERY" with title "Search OmniOutliner Front Document" with icon path to resource "OmniOutliner.icns" in bundle (path to application "OmniOutliner")) | |
tell application id "OOut" | |
try | |
set doc_name to name of front document | |
on error | |
activate | |
display dialog "No Document Open" | |
end try |
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 argv | |
set query to argv as text | |
tell application "Skim" | |
set matches to {} | |
set pg_hz to {} | |
set pg_nums to {} | |
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
<snippet> | |
<content><![CDATA[ | |
{{tll | |
| title = ${1} | |
| subtitle = ${2} | |
| tip = ${3} | |
| body = ${4} | |
| icon = ${5} | |
| color = ${6} | |
}} |
OlderNewer