Announcement

Collapse
No announcement yet.

'Run another program' in Event doesn't work - Dolved!

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

    'Run another program' in Event doesn't work - Dolved!

    The "Run another program or process" in an event doesn't work, as it seems to be confusing forward slashes and back slashes in the file name. for example:

    When I selected the program notepad.exe in the windows directory the event selected the link: /windows/notepad.exe and use slash instead of backslash.

    Then I put C:\windows\notepad.exe in the adress field by just entering text.

    When saved the event, HS3 put an "/" before the line and it becomes:

    /C:\windows\notepad.exe
    In the log there is an error like: Event failed as the file could not be found.

    I tried this also with other programs.

    This suggests that HS3 is trying to use "/" instead of "\" in directory names.

    I found this error in earlyer bugreports and the report there that the problem was fixed in the Pi version of HS3
    But I have the problem now in HS3 standard Windows version. I am a new user, so I don't know if this is a new or old bug.

    Is there anyone who had this functionality works or had a work arround?

    #2
    Works fine for me on Windows:

    Click image for larger version

Name:	Capture.jpg
Views:	1
Size:	14.2 KB
ID:	1186253

    There's no issue with the forwards slashes, so I would recommend entering it as:

    /windows/notepad.exe

    Cheers
    Al
    HS 4.2.8.0: 2134 Devices 1252 Events
    Z-Wave 3.0.10.0: 133 Nodes on one Z-Net

    Comment


      #3
      Wow cool... people still use DOS .BAT files?
      Blair

      HomeSeer: HS3 Pro | Blue-Iris 4 on Windows10Pro
      | Devices: 832 | Events: 211 |
      Plug-Ins: Z-Wave | RFXCOM | UltraRachio3 | Sonos
      BLLAN | BLLOCK | NetCAM | Global Cache Pro | Blue-Iris4

      Comment


        #4
        Originally posted by BlairG View Post
        Wow cool... people still use DOS .BAT files?
        Hell yes. For quick and dirty job it's great, otherwise the joys of PowerShell!

        Comment


          #5
          Thnx. I found the problem. HS3 is running as a service on my computer. HS3 started notepad also as a service. I dont know why. But it does.
          In that way you don't see notepad on the desktop.
          When I launche HS3 as a program, it launches notepad OK.

          I'm gone try the .bat file trick

          Comment

          Working...
          X