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 = ""; | |
/* 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
(* | |
-- Initial dialogs for path and real page number. | |
-- 3 notes creation eliminated. It uses the 5 created beforehand with http://organognosi.blogspot.com.es/2011/03/how-to-create-correctly-skim-notes.html | |
-- Note numbers to retrieve info from is changed. | |
-- Colors and codes changed. | |
-- Stephen Margheim | |
-- 10/18/13 | |
-- open source | |
https://gist.github.com/smargh/7046486 |
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
--Based in http://www.organognosi.com/export-skim-notes-according-to-their-highlight-colors/ | |
--Modified with http://drosophiliac.com/2012/09/an-academic-notetaking-workflow.html | |
--Colors and codes changed. | |
tell application "Skim" | |
set the clipboard to "" | |
set numberOfPages to count pages of document 1 | |
activate | |
set myColorCodes to my chooseColor() | |
display dialog "Do you want to export all the notes or some of them?" buttons {"All", "Some"} default button 1 |