Announcement

Collapse
No announcement yet.

How do I run Hs.TriggerEvent from single script command

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • simonmason
    replied
    Thank you! This issue comes up about once every year or so and I completely forget to check for this.

    Leave a comment:


  • jon00
    replied
    For the end quotation mark, you have used a ” rather than a "

    Try

    &hs.TriggerEvent("TurnPoolHeaterOff")

    (copy/paste)

    Leave a comment:


  • How do I run Hs.TriggerEvent from single script command

    I am trying to run hs.triggerevent from an immediate single script command in an event.

    &hs.TriggerEvent("TurnPoolHeaterOff”) or &hs.TriggerEvent "TurnPoolHeaterOff” - neither work. Error: init error: Unterminated string constant

    I am sure I am missing something basic here? Thanks.
Working...
X