Hello Larry
I thought I would try using your script info. until the events issue gets worked out. Here's what I did. I renamed Speaker-1 LivingRoom in the INI file and it shows up on HS just fine. I then put the below script in Notepad and saved it as a vbs. file. I then put it in the scripts folder in HS.
&hs.plugin("lrSpeak").SpkrOn("LivingRoom")
I made and event to run this script and get the following error in my log.
<TABLE cellSpacing=2 cellPadding=0 width="100%" border=0><TBODY><TR><TD class=LOGDateTime0 noWrap align=left>8/23/2007 10:29:54 PM </TD><TD class=LOGType0 align=left colSpan=3>Info </TD><TD class=LOGEntry0 align=left colSpan=8>Event Trigger "Living Room Speakers On"</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>8/23/2007 10:29:54 PM </TD><TD class=LOGType1 align=left colSpan=3>Info </TD><TD class=LOGEntry1 align=left colSpan=8>Running script in background: LivingRoom.vbs</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>8/23/2007 10:29:54 PM </TD><TD class=LOGType0 align=left colSpan=3>Error </TD><TD class=LOGEntry0 align=left colSpan=8>Running script, script run or compile error in file: LivingRoom.vbs1024:Expected statement in line 1 More info: Expected statemen
</TD></TR></TBODY></TABLE>
Can you let me know what I'm doing wrong?
Thanks
Lance
I thought I would try using your script info. until the events issue gets worked out. Here's what I did. I renamed Speaker-1 LivingRoom in the INI file and it shows up on HS just fine. I then put the below script in Notepad and saved it as a vbs. file. I then put it in the scripts folder in HS.
&hs.plugin("lrSpeak").SpkrOn("LivingRoom")
I made and event to run this script and get the following error in my log.
<TABLE cellSpacing=2 cellPadding=0 width="100%" border=0><TBODY><TR><TD class=LOGDateTime0 noWrap align=left>8/23/2007 10:29:54 PM </TD><TD class=LOGType0 align=left colSpan=3>Info </TD><TD class=LOGEntry0 align=left colSpan=8>Event Trigger "Living Room Speakers On"</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>8/23/2007 10:29:54 PM </TD><TD class=LOGType1 align=left colSpan=3>Info </TD><TD class=LOGEntry1 align=left colSpan=8>Running script in background: LivingRoom.vbs</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>8/23/2007 10:29:54 PM </TD><TD class=LOGType0 align=left colSpan=3>Error </TD><TD class=LOGEntry0 align=left colSpan=8>Running script, script run or compile error in file: LivingRoom.vbs1024:Expected statement in line 1 More info: Expected statemen
</TD></TR></TBODY></TABLE>
Can you let me know what I'm doing wrong?
Thanks
Lance
Comment