Having developed a few AppleScripts for Evernote at this point, I have tried to keep track of both my own issues and those of my fellow scripters who post here. I thought I'd make a new post where I'd share a few observations to perhaps identify places where the implementation needs help and also to (hopefully) generate interest and good ideas for the future!
[*:1e69hvlq]Fixes. As I've recently discovered, "Get Every Note in Notebook" also returns notes that are in the Trash (a.k.a., "Inactive Notes") -- but only active notes are returned if using the "find notes" query. It would probably make sense to make the "every note" command work the same way as "find notes" but, if there is a reason not to do that, could we at least have an "active" modifier made available through AS so that we can avoid the trashed notes? [*:1e69hvlq]Selected Note / Selected Notebook. If these were detectable via AS, we could really do some fun stuff with keyboard shortcuts and use Evernote's interface to select which notes we wanted to run our scripts on. [*:1e69hvlq]More note elements "scriptable". Currently, note text (or even the raw XML) isn't visible through AppleScript. For example -- if I wanted to script a "find and replace" function, I would have to export the notes that I wanted to parse, run a script on them that does the find-and-replace of the exported files, and then I'd have to reimport the changed notes (while attempting to preserve the other data in situ). Seems like it would be easier if we could do something like:
set EVText to the body text of selected note
Is that dreaming the impossible dream? [*:1e69hvlq]Tags and Attachments. Tags and Attachments are currently only "GET" enabled, not "SET" enabled. As a result, I currently have to create a whole new note if I want to change a note's tag via Applescript. I know that the "many to many" relationship between tags and notes is an issue, but it would be nice to have it editable on a per-note basis, a la:
set tag of (note X) to "y"
Adding deeper access to attachments would be nice as well... can we get a direct, scriptable link to the attachment? [*:1e69hvlq]URI Links to Notes In Evernote. If I export a note from Evernote to another app, it would be nice to have a link back to it available, a la Apple Mail, DEVONthink, OmniFocus, or Yojimbo's URI links. [*:1e69hvlq]Author. Author property needs to be writable. [*:1e69hvlq]Append / Prepend / Note Merge. I think we should be able to do this to our notes via script as well.
Idea
Veritrope 3
Having developed a few AppleScripts for Evernote at this point, I have tried to keep track of both my own issues and those of my fellow scripters who post here. I thought I'd make a new post where I'd share a few observations to perhaps identify places where the implementation needs help and also to (hopefully) generate interest and good ideas for the future!
[*:1e69hvlq]Fixes. As I've recently discovered, "Get Every Note in Notebook" also returns notes that are in the Trash (a.k.a., "Inactive Notes") -- but only active notes are returned if using the "find notes" query. It would probably make sense to make the "every note" command work the same way as "find notes" but, if there is a reason not to do that, could we at least have an "active" modifier made available through AS so that we can avoid the trashed notes?
[*:1e69hvlq]Selected Note / Selected Notebook. If these were detectable via AS, we could really do some fun stuff with keyboard shortcuts and use Evernote's interface to select which notes we wanted to run our scripts on.
[*:1e69hvlq]More note elements "scriptable". Currently, note text (or even the raw XML) isn't visible through AppleScript. For example -- if I wanted to script a "find and replace" function, I would have to export the notes that I wanted to parse, run a script on them that does the find-and-replace of the exported files, and then I'd have to reimport the changed notes (while attempting to preserve the other data in situ). Seems like it would be easier if we could do something like:
Is that dreaming the impossible dream?
[*:1e69hvlq]Tags and Attachments. Tags and Attachments are currently only "GET" enabled, not "SET" enabled. As a result, I currently have to create a whole new note if I want to change a note's tag via Applescript. I know that the "many to many" relationship between tags and notes is an issue, but it would be nice to have it editable on a per-note basis, a la:
Adding deeper access to attachments would be nice as well... can we get a direct, scriptable link to the attachment?
[*:1e69hvlq]URI Links to Notes In Evernote. If I export a note from Evernote to another app, it would be nice to have a link back to it available, a la Apple Mail, DEVONthink, OmniFocus, or Yojimbo's URI links.
[*:1e69hvlq]Author. Author property needs to be writable.
[*:1e69hvlq]Append / Prepend / Note Merge. I think we should be able to do this to our notes via script as well.
Anyone else have any thoughts?
Link to comment
12 replies to this idea
Recommended Posts
Archived
This topic is now archived and is closed to further replies.