Applescripts are altered after Yosemite upgrade

Hi,
So before my Yosemite upgrade my applescript to add screenshots to evernote looked like this:
but then it switched to this and it won't accept my above applescript:
What am I doing wrong?
So before my Yosemite upgrade my applescript to add screenshots to evernote looked like this:
- Code: Select all
tell application "Evernote"
activate
create note from file theFile notebook {"098 BKamp Images"} tags {"screenshot”}
end tell
but then it switched to this and it won't accept my above applescript:
- Code: Select all
tell application "Evernote"
activate
«event EVRNcrnt» given «class kfil»:theFile, «class Ennb»:{"098 BKamp Images"}, «class Engg»:{"screenshot"}
end tell
What am I doing wrong?