Keyboard shortcuts to navigate weather locations?
#1
I was wondering if there are any keyboard shortcuts to navigate between the 3 different weather locations? Or any way to set keyboard shortcuts for that action?

Having to navigate to the little up/down arrows takes quite a few remote control key presses. I'd like to be able to set, for example, page up/page down to cycle through the 3 locations.
Reply
#2
sure, map this command to one of your keys:
Control.Message(3,movedown)
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
#3
Brilliant! Works perfectly. Thank you.

Your response has got me thinking and I have a few questions...

Which control is id="3" in the weather window? Is it the little up/down buttons? Are they button controls or a spin control?

How did you know the id of this control - by trawling through code, or is there some reference table/manual?

As you've probably guessed, I've been reading these...
http://wiki.xbmc.org/index.php?title=XBM...ing_Manual
http://wiki.xbmc.org/index.php?title=Controls
Reply
#4
protogen Wrote:Brilliant! Works perfectly. Thank you.

Your response has got me thinking and I have a few questions...

Which control is id="3" in the weather window? Is it the little up/down buttons? Are they button controls or a spin control?
yes, it's the spincontrol that has the little arrows to change the location.

protogen Wrote:How did you know the id of this control - by trawling through code, or is there some reference table/manual?

i just looked it up in MyWeather.xml, but there's a reference in the wiki too:
http://wiki.xbmc.org/index.php?title=Lis...eather.xml
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
#5
Thank you ronie. Exactly the info I was looking for.

Give a man a fish and you feed him for a day; teach a man to fish and you feed him for a lifetime. Now, I'll be able to work out the answer to these kinds of questions myself in future.

Cheers!
Reply

Logout Mark Read Team Forum Stats Members Help
Keyboard shortcuts to navigate weather locations?0