I’m looking for some sort of launcher that will allow me to specify a list of commands that a user can pick from. The aim is basically to be able to bypass MAME’s SDL interface on a very slow laptop.
For example, I might want to have users choose from the options on the left, that would then run the command on the right:
Sorry, I case you are not familiar with Yab: is like Basic, but allow to create visual applications for Haiku. Is not suited for very complex applications, but to just create a frontend for a CLI command, is more than enough.
Put your scripts in /boot/home/config/non-packaged/bin. Create that directory if it doesn’t exist
[Optional] give your scripts some nice icons. If you dont feel like fighting with Icon-o-Matic, the old BeOS bitmap icons still work and there are thousands of them on BeShare.
Drag the scripts, one by one, into LaunchBox onto some empty buttons.
Alternatively, put the scripts in /boot/home/config/non-packaged/data/deskbar/menu/Applications (again, create that directory if it doesn’t exist) and they will automagically appear in your Deskbar’s Application menu. You can even create a MAME subdirectory for them if you like.
As I need this for tomorrow, I’ve used @humdinger’s hdialog solution. I ended up changing my method, creating one bash script for each game. They’re all based around a single script, but removing lines for machines that are incompatible with each game/app.