ok, now that i look at the code, you can actually get the information globally - not just from the scripts window.
you need to add this to keymap.xml:
Quote:<window>
<description>my scripts info specific actions</description>
<id>2004</id>
<action>
<description>clear debug python info</description>
<id>11</id>
<gamepad>white</gamepad>
<remote>info</remote>
<keyboard>i</keyboard>
</action>
</window>
that will do the clearing of the info (the info window has id 2004, and the action id is 11)
to be able to check the python script debug window from anywhere, you'll need to add:
Quote:<action>
<description>bring up debug python info</description>
<id>xbmc.activatewindow(2004)</id>
<gamepad>white</gamepad>
</action>
somewhere in the <global> section of keymap.xml.
note that whatever button you used will be a global mapping - make sure you don't have anything else on that button.
cheers,
jonathan