Announcement

Collapse
No announcement yet.

Terminate Application??

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

    Terminate Application??

    Hi All,
    Can someone help figure out the best way to terminate an application? I used to use the Termination.exe, executed by an event with the application set as an optional varitiable, when I was using HS1.7. Now that I'm using HS v2, Terminate.exe doesn't seem to work. In some of my scripts, I've used command code to close applications like "hs.close("C:\Program Files\WinTV\WinTV2K.EXE")". When running this in HS v2, I get an error message""hs.close" not a recognized command.

    I've also tried this method. Once the application is open, I'll use the "Keys" method to close the app down
    i.e.
    sub main()
    HS.Keys "c","WINAMP",1
    end sub

    The keys functions are not working either.........

    Any suggestions?

    #2
    hs.close is used to close the HS application and that is all. There a plugin that will terminate apps in this thread:
    http://board.homeseer.com/forumdisplay.php?f=773
    💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

    Comment


      #3
      http://board.homeseer.com/showthread.php?t=101909

      Comment

      Working...
      X