You could make a javascript/html thing to switch between running apps. Don't know if there are better ways, but you could use
xdotool from twobob to simply hide/show apps windows:
Download link
Usage samples
For a custom dialog sample, quite similar to the one you are going to make, give a glance to KindleTask app in
Kindle Menu package (even if it only allows to terminates/kills process, not to switch between them).
This is what you should do in my opinion, step by step:
- make a list of the executables you want to be shown in your switcher
- check which ones are currently running (with "ls" command, for example)
- build a custom dialog (html page) with a link for each of them
- associate to each link an onclick event, that through nativeBridge maximizes/minimizes the corresponding window, using xdotool
- launch the custom dialog
Ah, as you can see, the app switcher thingy was already between Kindle Menu TODOs... even if I didn't make it yet because I don't find it so necessary, to me at least.