Rules no longer work...

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

Moderator: Mr_Noodle

Rules no longer work... Tue Dec 15, 2020 4:02 am • by CHRSP2020
Good morning,

I have been using Hazel with the same rules for over 3 years.

I scan into a folder, if Hazel finds a file in this folder, the PDF is put into an Evernote folder, taken from the scanner input folder and moved to an archive folder.

The access permissions are all still set etc.

Enclosed are informations from the log an the rules.
We have created this rule for different folders, none of the rules still work
Do you have an idea where the error could come from?

Name....
If any of the following conditions are met
Extension is not blank
Extension is blank

Do the following to the matched file or folder:
Run AppleScript --> embedded script
Move to the folder : Archiv Posteingang Buchhaltung

Embedded Script:

tell application "Evernote"
activate
«event EVRNcrnt» given «class kfil»:theFile, «class Ennb»:"EIPL -1- Posteingang allgemein", «class Engg»:"EIPL"
end tell

Log:

2020-12-14 15:55:46.332 hazelworker[1032] Scanner_20201214_140313.pdf: Rule Posteingang Buchhaltung nach Evernote matched.
2020-12-14 15:55:46.365 hazelworker[1032] [Error] AppleScript failed: Error executing AppleScript on file /Volumes/scan/Posteingang Buchhaltung/Scanner_20201214_140313.pdf.
2020-12-14 15:55:46.366 hazelworker[1032] OSAScript error: {
NSLocalizedDescription = "Evernote got an error: Can\U2019t continue \U00abevent EVRNcrnt\U00bb.";
NSLocalizedFailureReason = "Can\U2019t continue \U00abevent EVRNcrnt\U00bb.";
OSAScriptErrorAppAddressKey = "<NSAppleEventDescriptor: [0x0,26026 \"Evernote\"]>";
OSAScriptErrorAppNameKey = Evernote;
OSAScriptErrorBriefMessageKey = "Can\U2019t continue \U00abevent EVRNcrnt\U00bb.";
OSAScriptErrorMessageKey = "Evernote got an error: Can\U2019t continue \U00abevent EVRNcrnt\U00bb.";
OSAScriptErrorNumberKey = "-1708";
OSAScriptErrorRangeKey = "NSRange: {0, 0}“;
CHRSP2020
 
Posts: 1
Joined: Mon Dec 14, 2020 10:55 am

Re: Rules no longer work... Tue Dec 15, 2020 10:48 am • by Mr_Noodle
Evernote has apparently removed AppleScript support in recent versions. You should contact them about the issue.
Mr_Noodle
Site Admin
 
Posts: 11868
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support