I have a number of notes in Evernote that were created using "Print to Evernote" in the Print dialog. They are invoices, and our accounting system titles them all "Status.pdf." I want to rename these notes to reflect the name of the customer. I can see in the note, in the sixth line, the customer's name, so I want to scoop that up and set the note's title to that. The text in each note is selectable since they were created using Print to Evernote (that is, they are PDFs that began life on the Mac, not as scans), and the customer's name is always in the sixth line. It's a great candidate for scripting.
So.. how do I "get" the text of line six of the note using AppleScript? Can I somehow get it from the HTML content, or the ENML content, of the note? Seems like it could be possible. But I haven't figured it out.
Idea
christianboyce 3
I have a number of notes in Evernote that were created using "Print to Evernote" in the Print dialog. They are invoices, and our accounting system titles them all "Status.pdf." I want to rename these notes to reflect the name of the customer. I can see in the note, in the sixth line, the customer's name, so I want to scoop that up and set the note's title to that. The text in each note is selectable since they were created using Print to Evernote (that is, they are PDFs that began life on the Mac, not as scans), and the customer's name is always in the sixth line. It's a great candidate for scripting.
So.. how do I "get" the text of line six of the note using AppleScript? Can I somehow get it from the HTML content, or the ENML content, of the note? Seems like it could be possible. But I haven't figured it out.
Can anyone tell me how to do this?
Link to comment
4 replies to this idea
Recommended Posts
Archived
This topic is now archived and is closed to further replies.