Jump to content

AppleScript that would grab text from file and append to a specific note?


Recommended Posts

Right now I’m using a Mac app called Unclutter that I use to quickly create txt files in a specific folder. I run the following script to turn those files into individual notes in Evernote:

Quote

tell application "Evernote"
    activate
    create note from file theFile notebook {"*Inbox"}
end tell


But what I’d like to do is to amend the script so that it gets the text from the file, and appends it to a specific note, so that I ultimately only have one note in Evernote. Anybody know how to do this?

Link to comment
  • Level 5*
On 2016-11-05 at 3:32 PM, Babington said:

But what I’d like to do is to amend the script so that it gets the text from the file, and appends it to a specific note, so that I ultimately only have one note in Evernote. Anybody know how to do this?

Applescript is one of my favourite tools.

You can retrieve a note, using       tell application "Evernote" to set theNotes to find notes .....
                                                      repeat with
theNote in theNotes
and then append text using           append theNote ....

 

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...