How run VB script
#1
hey,...

i m continue to discover,... Smile

how is possible to run an VB script from xbmc,....Huh
Reply
#2
There are various ways to do this. Whick way is beast for you depends on what exactly you're trying to do.

My preference would be to write a short Python script to launch wscript.exe, then you can map a keypress to run the script or hack the skin to add a button to run it. The script would look something like:

Code:
import subprocess

child = subprocess.Popen("wscript.exe C:\whatever\myscript.vbs")
rc = child.wait()

You can omit the child.wait() call if you don't need to wait for the script to finish.

JR
Reply
#3
...

Thx for your answer,...

i will take a look into python script,...
Reply

Logout Mark Read Team Forum Stats Members Help
How run VB script0