I am trying to export notes from Evernote v.3.3.0 in HTML format to disk space using AppleScript. The task at hand does not seem particularly difficult, but my relatively new for Evernote and completely new for AppleScript does not help much ...;)
Here is what I came up with so far - any comments are greatly appreciated!
tell application "Evernote" set allmynotes to find notes set outputpath to "/Users/{myusername}/Desktop/Test" export allmynotes to outputpath format HTML end tell
From what I understand, exporting in HTML format creates one file per note, so I suggested that I need to specify the name of the output folder instead of the name of the output file. Another assumption is that a double-click script will run with the credentials of the active user; on my machine this user has sufficient permissions to write to the specified folder.
The results so far are Evernote got an error: Unable to remove existing output file." number 1 and Evernote got an error: Unable to create output directory. .. Any ideas?
Thank you very much in advance!:)
source share