Thread: Script request
View Single Post
Posts: 875 | Thanked: 918 times | Joined on Sep 2010
#7
http://asui.garage.maemo.org/_download/screen-launcher

Code:
screen-launcher -c "echo 123" &
killall screen-launcher
When screen is tapped it runs the command and quits. The command should be a script that opens the keyboard in the foreground (no &) and then runs screen-launcher again with the same command to open keyboard. If you use a script to launch your game then add the screen-launcher command in there, before running the game in the foreground (no &) and then put the killall command after the game so it gets killed when the game exits.

The source is located at http://asui.garage.maemo.org/_downlo...een-launcher.c

Edit: be sure to chmod 755 screen-launcher
 

The Following User Says Thank You to auouymous For This Useful Post: