deh0314 0 Posted November 30, 2020 Share Posted November 30, 2020 Couldn’t find anything in the forums. Just wondering if anyone has something like in the title they’d be willing to share. Link to comment
Level 5* DTLow 5,744 Posted November 30, 2020 Level 5* Share Posted November 30, 2020 34 minutes ago, deh0314 said: Applescript, Automator Action or Keyboard Maestro action to pick and export a single note I'm an Evernote Legacy user. Here's a sample Applescript tell application "Evernote" set fileBackup to "/Users/DTLow/Desktop/test" << replace with your filename set fileBackup to POSIX path of fileBackup set theNotes to get selection export theNotes to fileBackup format HTMLend tell Link to comment
deh0314 0 Posted November 30, 2020 Author Share Posted November 30, 2020 When I try to compile this script I get an error. (screenshot attached) It happens on the third line with "theNote" Link to comment
Level 5* DTLow 5,744 Posted November 30, 2020 Level 5* Share Posted November 30, 2020 18 minutes ago, deh0314 said: When I try to compile this script I get an error. (screenshot attached) It happens on the third line with "theNote" I edited the post and replaced the script with a clearer example Link to comment
deh0314 0 Posted November 30, 2020 Author Share Posted November 30, 2020 A continued Thanks for your help. The script compiled. I clipped a new page and ran the script. The results were not as expected. Might this be possible because I have Evernote 7.14? I'm pretty certain I can grab an older copy of EN from a backup. Link to comment
Level 5* DTLow 5,744 Posted November 30, 2020 Level 5* Share Posted November 30, 2020 I'm running the direct download Legacy version What results did you get? Link to comment
deh0314 0 Posted November 30, 2020 Author Share Posted November 30, 2020 Attached is a screenshot of the original note then what the script output is. Can I export from the script as ENEX? THE BEST HAM SALAD - The Country Cook.html Link to comment
deh0314 0 Posted November 30, 2020 Author Share Posted November 30, 2020 OK. So in your script, I changed "export theNotes to fileBackup format HTML" to "export theNotes to fileBackup format ENEX" And in "set fileBackup to "/Users/DTLow/Desktop/test" I changed test to Newest-Note.enex. That makes it so I can import that to Apple Notes. One last question (I hope🌞) what would I have to do so the file-name.enex was today's date & time instead of Newest-Note? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now