
Can anyone tell me where I can find decent info for beginners on writing short applescripts to use with Hazel?
I currently make use of a small script to get all sorts of documents into Evernote, but now want to point them to Apple Note instead. The script I have is like this:
tell application "Evernote"
create note from file theFile notebook {"Notebook Name"} tags {"tag1", "tag 2", "tag 3", "tag 4"}
end tell
So, it all works perfectly for evernote, but when I replace "Evernote" with "Notes", there is an error. The word 'note' in the second line is highlighted with the error message "Expected end of line, but found class name."
Any help would be appreciated.