[MAC] How do use "XBMC.RunScript" on a Mac?
#1
Hi

Hope someone can help.

I wan't to map a button on my Harmony remote that launches a .py script.

My script works fine, but I don't know how to use the XBMC.RunScript command in OS X.

The command normally looks like this:

XBMC.RunScript(q:\scripts\test.py)

But how should I point to my script when using OS X?

It's the "q:\scripts\test.py" bit that confuses me.

Normally I use "/" forward slash on the Mac and what is "q:" mapped to in the XMBC Mac?

Thanks
Martin
Reply
#2
Q: is deprecated. Search the wiki for "special protocol".
Reply
#3
Ayla Wrote:Hi

Hope someone can help.

I wan't to map a button on my Harmony remote that launches a .py script.

My script works fine, but I don't know how to use the XBMC.RunScript command in OS X.

The command normally looks like this:

XBMC.RunScript(q:\scripts\test.py)

But how should I point to my script when using OS X?

It's the "q:\scripts\test.py" bit that confuses me.

Normally I use "/" forward slash on the Mac and what is "q:" mapped to in the XBMC Mac?

Thanks
Martin

Well, to answer my own question.

I just tried this:
XBMC.RunScript(/Users/htpc/F3.py)

And it works! Smile
Reply

Logout Mark Read Team Forum Stats Members Help
[MAC] How do use "XBMC.RunScript" on a Mac?0