2009-07-04, 03:02
[Python Help]
im wondering if someone can pls help me perform some task?
i really want to map a dos command to a remote button, but for the sake os experiment, im testing with keyboard input from keymap.xml
ive inserted the following into keymap.xml under keyboard actions;
<one>
"C:\Program Files\XBMC\system\notepad.py"
</one>
my notepad.py has the following text
import sys
import os
os.system(r"C:\Documents and Settings\Damien\Desktop\Notepad++\ansi\notepad++.exe")
now it seems to me that xbmc reacts to my number 1 button on keyboard, as mouse pointer disappears for a second . However, i cant work out how to trigger the python script?
thanks in advance any help,
Dam0
im wondering if someone can pls help me perform some task?
i really want to map a dos command to a remote button, but for the sake os experiment, im testing with keyboard input from keymap.xml
ive inserted the following into keymap.xml under keyboard actions;
<one>
"C:\Program Files\XBMC\system\notepad.py"
</one>
my notepad.py has the following text
import sys
import os
os.system(r"C:\Documents and Settings\Damien\Desktop\Notepad++\ansi\notepad++.exe")
now it seems to me that xbmc reacts to my number 1 button on keyboard, as mouse pointer disappears for a second . However, i cant work out how to trigger the python script?
thanks in advance any help,
Dam0