Jump to content
Babington

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?

Share this post


Link to post
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 ....

 

Share this post


Link to post

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...