Docker Leanote
exportEvernote() |
onexportEvernote() |
setoutputDirto (do shell script'echo ~/Downloads/') |
settheDatetocurrent date |
settimeStampto (do shell script'date +'%y-%m-%d-%T'') |
tellapplication'Evernote' |
repeatwitheachNotebookinevery notebook ofapplication'Evernote' |
setnotebookNametonameof eachNotebook |
settargetFileto outputDir &'evernote-backup_'& timeStamp &'_'& notebookName &'.enex' |
settheNotestoevery note in eachNotebook |
log'Exporting '& notebookName &' to '& targetFile |
--NOTE: You must use Evernote downloaded from evernote's website. The App Store version won't work with the export command. |
export theNotes to targetFile |
end repeat |
end tell |
display dialog'All notebooks exported to '& outputDir |
end exportEvernote |
The class JobManager serves as entry point. Your jobs need to extend the class Job.Create a JobRequest with the corresponding builder class and schedule this request with the JobManager. Before you can use the JobManager you must initialize the singleton. You need to provide a Context and add a JobCreator implementation after that. The JobCreator maps a job tag to a specific job class. Create a folder in Evernote called Imported: Then for each folder set the variable to the name of the folder: Known issues: doesn't copy images, scanned documents and embedded links (it's html). Workaround: select note contents, copy and paste into Evernote. Scanned documents can be exported to PDF and dragged into EverNote.) set foldername.
commented Jul 1, 2016
Evernote Markdown
- Export All Evernote Notebooks. GitHub Gist: instantly share code, notes, and snippets.
- Migrate from Evernote to 'Notes'. GitHub Gist: instantly share code, notes, and snippets.
Then you can import the notes into Apple's Notes.app as described at http://iphone.appleinsider.com/articles/16/02/08/notes-for-mac-to-support-evernote-file-imports-in-os-x-10114 |