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
| The AppleScript code is the following: | |
| --2011-03-25 | |
| --http://organognosi.blogspot.com | |
| tell application id "com.devon-technologies.thinkpro2" | |
| set these_items to the selection | |
| if these_items is {} then error "Please select some contents." | |
| repeat with this_item in these_items | |
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
| --2011-04-02 | |
| --http://organognosi.blogspot.com | |
| tell application "Skim" | |
| display dialog "Give the written page number:" default answer "" buttons {"Cancel", "OK"} default button 2 | |
| set writtenNumber to text returned of the result as integer | |
| set numberNote5 to (get text for note 5 of page 1 of document 1) | |
| set numberInThePDF to writtenNumber - numberNote5 | |
| go document 1 to page numberInThePDF of document 1 |
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
| --2011-06-10 | |
| --http://organognosi.blogspot.com/ | |
| 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 | |
| set answer to button returned of the result | |
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
| --2011-06-10 | |
| --http://organognosi.blogspot.com/ | |
| tell application "Skim" | |
| set the clipboard to "" | |
| set numberOfNote5 to (get text for note 5 of page 1 of document 1) as string | |
| set pdfTitle to get (extended text of note 4) of page 1 of document 1 as string | |
| set numberOfPages to count pages of document 1 | |
| activate | |
| set myColorCodes to my chooseColor() --εκτός των loops πρέπει να βρίσκεται, μια φορά το θέτεις |
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 id "com.devon-technologies.thinkpro2" | |
| set these_items to the selection | |
| if these_items is {} then error "Please select some contents." | |
| repeat with this_item in these_items | |
| set RecordLink to the reference URL of this_item | |
| set DevonThinkLink to RecordLink & "?page=0" | |
| set PdfPath to get the path of this_item | |
| set PdfName to the name of this_item |
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
| 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/" */ |
OlderNewer