Kodi Community Forum
SendClick() clarification?? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+--- Thread: SendClick() clarification?? (/showthread.php?tid=247124)



SendClick() clarification?? - badaas - 2015-11-10

Hi here code: https://raw.githubusercontent.com/im85288/skin.eunique/acdc439112278574efc6909e0dedc4199d22e108/16x9/Includes_Home.xml

I'm on button 60121 and onclick want to sendclick(6012) but nothing hapens?
What am i missing? (a brain!?) Smile

Also tried <onclick>Control.Message(6012,click)</onclick>

with no success?

thanks


RE: SendClick() clarification?? - ronie - 2015-11-10

i wonder if it works if you remove the wraplist (which has the same id as the button).
pretty sure you can only send a click to buttons and not to containers.


RE: SendClick() clarification?? - Hitcher - 2015-11-10

Yeah, I tried and you can't.


RE: SendClick() clarification?? - badaas - 2015-11-11

Yeah, buttons only. Thanks for replys.
This would be such a help to be able to SendClick/Control.Message to focused item in container Smile
I didn't test putting a button in the focused item, at a guess this wont revert click to container..


RE: SendClick() clarification?? - thedeadman - 2015-11-11

Just a thought..

Have you tried sending the click via action(select,{window id})?


RE: SendClick() clarification?? - badaas - 2015-11-11

(2015-11-11, 01:19)thedeadman Wrote: Just a thought..

Have you tried sending the click via action(select,{window id})?

Hmmm, why I not know the complete ins & outs of this command!? Wink
Will have a try, seems that sends to a window, so if I focus the container first in that window then action(enter,videos)... please work, would save soooo much d#cking about! Big Grin

thanks @thedeadman