Page 1 of 1
Kiosk Mode
Posted: Thu Feb 27, 2014 4:41 pm
by meticulo
I need to prevent the user from exiting out of the app on a windows machine, overriding ctrl+alt+delete and alt+tab, any suggestions to easy solutions recommended?
Re: Kiosk Mode
Posted: Thu Feb 27, 2014 8:42 pm
by PyTom
It's not a Ren'Py solution, but perhaps running through a guide like this would work:
http://sysadministrivia.blogspot.com/20 ... ows-7.html
You'd also want to edit the Ren'Py keymap to remove any untoward commands. Ren'Py tries pretty hard to ensure it won't lock the system, so you'll have to work pretty hard to ensure the user can't get out.
Re: Kiosk Mode
Posted: Thu Feb 27, 2014 10:01 pm
by Asceai
One of the things ren'py does is quit if you ask it to quit too many times in short succession (so you can still get out even if you screwed up the yes/no quit dialogue or your quit label doesn't go anywhere.)
I think you can entirely remove this possibility by:
config.keymap["quit"] = []
and keeping the game in fullscreen mode (fullscreen it by default and remove any preferences to change this) so there's no pesky close button.