Login
Register
Login at Kodi Home
Welcome to Kodi Community Forum!
Please login using the form on the right.
Not our member yet? What are you waiting for?
Register
Remember me
Login
Lost password
Toggle navigation
News
Wiki
Code
Bug Tracker
Download
Donate
Development
Kodi Application
Get current Window name or ID in python script
Donate
Get current Window name or ID in python script
puenktchen
Fan
Posts: 515
Joined: Jul 2012
Reputation:
18
puenktchen
Fan
Posts: 515
#1
2015-01-13, 05:10
Hai guys,
what would be the code to get the currents window name or id in python?
Reply
Find
Reply
Quick Edit
Full Edit
ironic_monkey
Closed Account
Posts: 1,506
Joined: Nov 2013
ironic_monkey
Closed Account
Posts: 1,506
#2
2015-01-13, 11:03
id - xbmcgui.getCurrentWindowId()
name - xbmc.getInfoLabel('currentwindow')
Reply
Find
Reply
Quick Edit
Full Edit
puenktchen
Fan
Posts: 515
Joined: Jul 2012
Reputation:
18
puenktchen
Fan
Posts: 515
#3
2015-01-13, 12:11
Thank you so much!
Reply
Find
Reply
Quick Edit
Full Edit
View a Printable Version
Subscribe to this thread
Home
Search
Help
Logout
Mark Read
Team
Forum Stats
Members
Help
Get current Window name or ID in python script
0