The below works for me running Evernote 6.7.1 (453574) on macOS 10.11.4.
I moved most of the log entry creation to a single KM Variable, which is read by the AppleScript. This will allow you to easily adjust the log data and form in the KM macro.
I also completely rewrote the AppleScript to streamline and use more standard coding practices (at least the one's I use). Note, one major change is that ONLY one Note is appended if multiple notes are found. It appends to the first Note found.
Please feel free to ask any questions.
###MACRO: Timetracker (JMichaelTX)
~~~ VER: 1.0 2016-08-29 ~~~
Timetracker (JMichaelTX).kmmacros (4.3 KB)
- Macro is disabled as uploaded
%TriggerValue% used in the
TT__Log% variable is the Title of the new window that triggered the macro.
- You should review script setup to ensure it has the proper settings for your Evernote account
- If multiple Notes are found, only the log is appended ONLY to the first Note.
###Example Results in Evernote Note