Ok. Very difficult for my programming level. I only copy code from other files.sh... hahaha. Well I will try my idea.
BTW, your latest version of UNCaGED has got a bigger frontend. Now it is perfect for me. Thanks
EDIT: 8(( Reader.lua is running after nickel is killed
Quote:
Originally Posted by sherman
It depends, if you run before koreader launches and Nickel is still running, then yes that should work, otherwise no.
The main thing is that Nickel needs to be running for qndb to work.
Unfortunately, toasts are for a set duration only. I can think of a (really) dirty hack though.
If you call qndb -m dlgConfirmNoBtn <title> <body>, this opens a message dialog. Then 'record' the touch of pressing the 'close' icon using something like cat /dev/input/event1 > touchfile.
Then, you can display the message, and from your shell script you can pipe/redirect the contents of touchfile back into /dev/input/event1 to simulate a touch which should close the message box.
I might see if I can figure out a way of doing something more elegant in NDB itself.
|