Posts: 38
Joined: May 2005
Reputation:
0
Eddict
Junior Member
Posts: 38
2012-03-07, 23:00
is there a way to popup a msgbox like the built-in Notification command, but with eg. Yes and No buttons which can each have there own command(s) behind them.
regards Eddict
Posts: 7,256
Joined: Nov 2008
Reputation:
121
You don't need to write an add-on to do this, just write a Python script and run it by mapping the RunScript function to the input of your choice.
JR
Posts: 38
Joined: May 2005
Reputation:
0
Eddict
Junior Member
Posts: 38
2012-03-12, 13:31
(This post was last modified: 2012-03-12, 13:32 by Eddict.)
ok that's good news. i was already diggin into some 'how to write an xbmc add-on' pages, but, although i am a developer, that seemed not that easy...
anybody has an eample available of an Pyhton script using a Yes/No Msgbox ? (i did some Googling, but quite some links point to EasyGui library. is this needed?)
Posts: 38
Joined: May 2005
Reputation:
0
Eddict
Junior Member
Posts: 38
very useful, thanks a lot!
Posts: 246
Joined: Sep 2018
Reputation:
3
Thanks a lot for this example and builtin link is very helpful and let me do a lot of Ideas. Thanks a lot guys! but what if I want to send this dialog to another Kodi or xbmc user in my network?
Thanks for all