Hey there,
I was wondering if it is possible to mimic a keystroke with a onscreen button? Is it possible to have a button's <onclick> to be a keystroke, say up or down?
Appreciate the help.
Thieske
there's a list of 'build in functions' available in the
xbmc skinning manual
maybe this is the one you're looking for:
Quote:Control.Message(id,message,[windowid])
sends a given message to a control in a given window (or active window if omitted). Messages can be movedown, moveup, pagedown, pageup, click.
Thanx for the replay.
Can I mimic the arrow keys with this function?
Thieske
I think it depends on the control but generally the moveup,movedown etc will work with things like the spin control to change the value.
How ever you mention a button so wondering if you mean you want the <onclick> to change to a different control. Therefore for that purpose you would use <onup> <ondown> <onleft> <onright> with the id of the control you want to change to.
For example
<ondown>4</ondown> will move to the control with id 4 when cursor down key pressed.