Announcement

Collapse
No announcement yet.

Execute command prompt statement from Homeseer?

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

  • taiello6683
    replied
    Think I found it. Still need to clean it up a little as it causes a cmd window to open but I think I read how to stop that. Thank you for your response!

    hs.launch "c:\adb\adb", "shell input keyevent 22","",0

    Leave a comment:


  • ksum
    replied
    There is an Event action to run a program or process. Have you tried that?

    Leave a comment:


  • taiello6683
    started a topic Execute command prompt statement from Homeseer?

    Execute command prompt statement from Homeseer?

    I am trying to execute a simple command line statement from an event in Homeseer to control an Android device via adb. On the command line it looks like this:

    C:\> adb shell input keyevent 22

    It works fine from the CMD window but I cannot find the correct syntax for a script command from Homeseer.

    Any thoughts?
Working...
X