Hi All,
I have been searching the forum pages and I cannot get any scripts to run without throwing errors. What I am looking to do is write a event log each time an event is triggered. I started off by trying:
Command to execute immediately, but when I do, I get the following error.
&hs.writelog("Title","Log Text!")
Error -> 'Running script(2) &hs.writelog("Title","Log Text!")("Main"), init error: Class doesn't support Automation: 'hs.writelog'
Any help here would be appreciated as I am at a loss as to why this simple command will not execute.
aslo tried with same results.
&nhs.writelog("Title","Log Text!")
I have been searching the forum pages and I cannot get any scripts to run without throwing errors. What I am looking to do is write a event log each time an event is triggered. I started off by trying:
Command to execute immediately, but when I do, I get the following error.
&hs.writelog("Title","Log Text!")
Error -> 'Running script(2) &hs.writelog("Title","Log Text!")("Main"), init error: Class doesn't support Automation: 'hs.writelog'
Any help here would be appreciated as I am at a loss as to why this simple command will not execute.
aslo tried with same results.
&nhs.writelog("Title","Log Text!")
Comment