Hazel to evernote script won't add tags

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Hazel to evernote script won't add tags Fri Jun 05, 2015 8:40 am • by tjordan
Hi there,

I want to get Hazel to check a folder, and if there are files in it send each file to evernote as a new note in a specified notebook with tags. I can get the script to work... almost, but it refuses to add the tags to the note it creates in evernote. The applescript in the Hazel rule is:

tell application "Evernote"
activate
create note from file theFile notebook {“reference"} tags {“home”, “reading”}
end tell

I have tried:
- re: copying and retyping the script into the editor
- double and triple checked that the tags I’m trying to use are not new tags (not sure if this should be an issue or note)
- re-booting
- uninstalling and reinstalling evernote

I’ve played around with sending the note to different notebooks and that works, for some reason Hazel won’t add the tags, or evernote won’t let it.

Any ideas?
tjordan
 
Posts: 2
Joined: Fri Jun 05, 2015 8:23 am

Re: Hazel to evernote script won't add tags Fri Jun 05, 2015 12:12 pm • by Mr_Noodle
Try running the script outside Hazel. It seems like it would be an Evernote issue if anything. If you find that it works outside Hazel but not from Hazel itself, then reply back here.
Mr_Noodle
Site Admin
 
Posts: 11868
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Hazel to evernote script won't add tags Sat Jun 13, 2015 11:04 am • by Jmills
Hi, I have almost exactly the same problem, but I have noticed that if the tags are new - ie do not exist in Evernote - the tags ARE added to the note. The next time the rule fires, without any change to the script, the tags are not added, but they now do exist in Evernote.

I then make one minor change to the tag in the script, that I know I don't have in Evernote (no other changes whatsoever), and the note once again is created with its new tag.

Extremely frustrating, and is putting in doubt my purchase of Hazel! I want this to work so bad!
Jmills
 
Posts: 2
Joined: Sat Jun 13, 2015 10:54 am

Re: Hazel to evernote script won't add tags Sat Jun 13, 2015 11:19 am • by Jmills
It's taken me all morning, but I have found this on the Evernote forum: https://discussion.evernote.com/topic/85315-applescript-not-assigning-tags-help/
Jmills
 
Posts: 2
Joined: Sat Jun 13, 2015 10:54 am


Return to Support