View Single Post
Old 05-15-2012, 02:07 PM   #139
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
I'm still unsure why the Quit() would not work. I guess something else is getting in between. Then your suggestion wouldn't work either. When you want to execute programs from Lua, you have to use os.execute("here goes the command"), e.g. os.execute("killall kindlevncviewer"). Well, try to see if that fixes your problem.

I rather guess the K2 has some slightly differing key codes. You can use Lua's "print(...)" function to print some debug output to the standard output - so try if you manage to find out the right key codes. I would be interested :-)
hawhill is offline   Reply With Quote