koobo / HippoPlayer

HippoPlayer - a module player for the classic Amiga
MIT License
105 stars 18 forks source link

Feature request - launch program/script/arexx on start and quit #12

Open kowoba opened 2 years ago

kowoba commented 2 years ago

Path to program/script/arexx command that will be launched on startup and on quit. Usecase - install a "HiP" menu in Workbench (via arexx on v45+) on startup and remove it again on quit.

koobo commented 2 years ago

You could probably do an ARexx script that

kowoba commented 2 years ago

How do one wait for HiP to finish? Part of the problem is that HiP detaches itself, so the only way to "wait for exit" is to have script running in the background with the only purpose of regularly check if HiP is still running. Or did I miss something obvious?

koobo commented 2 years ago

Yeah, it should be an ARexx script that starts and polls for Hippo ARexx port to find out if it is running or not. This approach was used by a notifier application that displays the current module being played, I don't remember the name unfortunately. This app worked with some other module players, not Hippo, but the idea was similar.