LAB02-Research / HASS.Agent

Windows-based client for Home Assistant. Provides notifications, quick actions, commands, sensors and more.
https://hassagent.lab02-research.org
MIT License
1.56k stars 68 forks source link

Misc: Can't Open a Program via PowerShell #415

Closed ars4l4n closed 3 months ago

ars4l4n commented 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.