Kodi Community Forum
[PC][REQ]Shutdown pc with confirmation popup - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+--- Thread: [PC][REQ]Shutdown pc with confirmation popup (/showthread.php?tid=38517)



[PC][REQ]Shutdown pc with confirmation popup - Coeluh - 2008-10-06

Hi there.

I've been using XBMC some time now and it's awesome. The 10 feet UI is great, I do not have to leave my sofa or bed to change anything. But I would like to shut down my pc via my remote. I know the shutdown button of the remote isnt used yet, but if you would press it accidentally, your pc would shutdown. So I would like if you press the button, a popup comes up which asks you wether you want to shut the pc down or not. Is this possible and can someone make it?


- topfs2 - 2008-10-25

Coeluh Wrote:Hi there.

I've been using XBMC some time now and it's awesome. The 10 feet UI is great, I do not have to leave my sofa or bed to change anything. But I would like to shut down my pc via my remote. I know the shutdown button of the remote isnt used yet, but if you would press it accidentally, your pc would shutdown. So I would like if you press the button, a popup comes up which asks you wether you want to shut the pc down or not. Is this possible and can someone make it?

if you change keymap from XBMC.Shutdown() to XBMC.ActivateWindow(ShutdownMenu) this will happen.

Cheers,
Tobias.


- Coeluh - 2008-11-16

Not working. I can choose shutdown, but my PC won't shut down, only XBMC.