Home Apple choice – Easiest method to create a clickable listing in MacOS that can trigger chosen applications to run

choice – Easiest method to create a clickable listing in MacOS that can trigger chosen applications to run

0
choice – Easiest method to create a clickable listing in MacOS that can trigger chosen applications to run

[ad_1]

I am in search of one thing which runs below MacOS that can let me do the next:

Suppose I’ve a file referred to as “program.listing” with contents one thing like this:

"Program 1" "/usr/native/bin/program 1"
"Program 2" "/usr/native/bin/program 2"
"Program 3" "/usr/native/bin/other-program xyz"
"Program 4" "/usr/native/bin/something-else"
... and so on. ...

I might wish to feed this file to a program which, for instance, may very well be referred to as “run-from-list”, and which I may invoke as follows:

run-from-list program.listing

… and when that command is invoked, the next would present up on the display screen in a scrollable listing:

Program 1
Program 2
Program 3
Program 4
... and so on. ...

And no matter line I click on on, the related program will run. For instance, if I click on on “Program 1”, it’ll run the “/usr/native/bin/program 1” program.

Is there any method to write “run-from-list” in MacOS with out compiling supply code into an executable? A scripting language could be appropriate. Or is there some form of current utility that I may obtain which I may use equally for this goal?

Thanks upfront for any ideas and recommendations.

[ad_2]

LEAVE A REPLY

Please enter your comment!
Please enter your name here