Jump to content
Reiner Knudsen

Hazel: Add PDF to existing note

Recommended Posts

Hi,

I'm a bit lost. I know I read a solution somewhere but I can't find it anymore :(

I find lots of solutions that tell me how to write scripts that create a new note in Evernote.
But what do I have to do when I just want to attach a new PDF to an existing note via Hazel?

The note's name could be "mynote" in notebook "mynotebook".

Can someone paste me a bit of code that will help me doing this?

Thanks!

Reiner

Share this post


Link to post
2 hours ago, Reiner Knudsen said:

what do I have to do when I just want to attach a new PDF to an existing note via Hazel?

I'm not a Hazel user, but the applescript for adding an attachment is     append theNote attachment aaaaa

You have to identify theNote as the existing note
Example code is:       tell application "Evernote" to set theNotes to find notes ("notebook:mynotebook intitle:mynote")

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...