Reiner Knudsen 1 Posted January 9, 2018 Share Posted January 9, 2018 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* DTLow 5,735 Posted January 9, 2018 Level 5* Share Posted January 9, 2018 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
Reiner Knudsen 1 Posted January 10, 2018 Author Share Posted January 10, 2018 Thank you. I will try playing around with that. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.