Hi to all,
i've made a .vbs for launch spotify and play my favourites playlist and this work fine from windows.
in domoticz I created a virtual switch with the command to start the VBS files but nothing happens even in the logs seems everything started correctly
Where is the problem!?
VBS Work on windows but not in Domoticz
Moderator: leecollings
Re: VBS Work on windows but not in Domoticz
What happens if you execute the script from a .bat file?
-
- Posts: 952
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: VBS Work on windows but not in Domoticz
Hi,
I would do it in this way:
create a cmd file e.g. c:\playmagnifica.cmd
put on it:
cmd /c start cscript c:\playmagnifica.vbs
In this way you will go back to Domoticz very quickly, otherwise could fail if more than 10 seconds.
And this should work.
lets try.
I would do it in this way:
create a cmd file e.g. c:\playmagnifica.cmd
put on it:
cmd /c start cscript c:\playmagnifica.vbs
In this way you will go back to Domoticz very quickly, otherwise could fail if more than 10 seconds.
And this should work.
lets try.
-
- Posts: 31
- Joined: Friday 24 February 2017 12:01
- Target OS: Windows
- Domoticz version:
- Contact:
Re: VBS Work on windows but not in Domoticz
@SweetPants idem if execute VBS script from a .bat
If i launch .bat from windows work if ilaunch from Domoticz in log "Execute script.." but nothing happens.
@zak45 .cmd work on windows but in domoticz no way and in log "Error: SQLHelper: Error script not found 'C:\playmagnifica.cmd'" it seems that domoticz might not start as a .cmd script
If i launch .bat from windows work if ilaunch from Domoticz in log "Execute script.." but nothing happens.
@zak45 .cmd work on windows but in domoticz no way and in log "Error: SQLHelper: Error script not found 'C:\playmagnifica.cmd'" it seems that domoticz might not start as a .cmd script
-
- Posts: 31
- Joined: Friday 24 February 2017 12:01
- Target OS: Windows
- Domoticz version:
- Contact:
Re: VBS Work on windows but not in Domoticz
it's very strange...
in Taskmgr i see this
but Spotify don't start...
Same if i use .bat or .vbs
in Taskmgr i see this
but Spotify don't start...
Same if i use .bat or .vbs
Who is online
Users browsing this forum: No registered users and 1 guest