Closed ars4l4n closed 3 months ago
I just want to open a file via hass.agent I tried a bunch of powershell commands off Google by entering them directly into Hass.Agent but none worked. Example:
Start-Process -FilePath "OBS restarten.AHK" -WorkingDirectory "C:\Users\arsi\Desktop\Autohotkey Scripts\fertige"
Solution: I have to do it via Invoke-Item "C:\Users\arsi\Desktop\Autohotkey Scripts\fertige\OBS restarten.ahk" instead.
Invoke-Item "C:\Users\arsi\Desktop\Autohotkey Scripts\fertige\OBS restarten.ahk"
I just want to open a file via hass.agent I tried a bunch of powershell commands off Google by entering them directly into Hass.Agent but none worked. Example:
Start-Process -FilePath "OBS restarten.AHK" -WorkingDirectory "C:\Users\arsi\Desktop\Autohotkey Scripts\fertige"
Solution: I have to do it via
Invoke-Item "C:\Users\arsi\Desktop\Autohotkey Scripts\fertige\OBS restarten.ahk"
instead.