Need some instructions to build a simple scritp
#1
Hello to all!

I'm a newbie in python, so it´s very hard to get some points.

I just need to build a script, that read the content from a txt file, and set a skin,string. I will execute this script in a button with <onclick>RunScript(my.script)</onclick> .

It´s possible?

thanks in advance!

Cheers!
Reply
#2
Perhaps you can start reading here: https://kodi.wiki/view/Script_sources
Reply
#3
sure, shouldn't be too hard.

here's some relevant links to our python docs:

reading a file:
https://codedocs.xyz/xbmc/xbmc/group__py...3fcbff3e7d

setting a skin string:
https://codedocs.xyz/xbmc/xbmc/group__py...c14e926015
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply

Logout Mark Read Team Forum Stats Members Help
Need some instructions to build a simple scritp0