Jump to content

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

Link to comment
  • Level 5*
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")

Link to comment

Archived

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

×
×
  • Create New...