How detect if filemanager window is loaded
#1
I'm trying to figure out how to detect, from a script, if the filemanager window is loaded. To detect if the player is playing I use

if xbmc.Player().isPlaying():

How can I do this for the filemanager window? Something like

xbmc.Window(filemanager).isLoaded() ?
Reply
#2
python:
xbmc.getCondVisibility('Window.IsVisible(filemanager)')


see:
https://codedocs.xyz/xbmc/xbmc/group__py...cb79caef6f
https://kodi.wiki/view/List_of_boolean_conditions
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
(2021-07-02, 11:23)ronie Wrote:
python:
xbmc.getCondVisibility('Window.IsVisible(filemanager)')


see:
https://codedocs.xyz/xbmc/xbmc/group__py...cb79caef6f
https://kodi.wiki/view/List_of_boolean_conditions
That's working, thanks for the links.
Reply

Logout Mark Read Team Forum Stats Members Help
How detect if filemanager window is loaded0