Pass argument from Firefox to a script

I'm trying to find a way to reach this result: User opens a local file in Firefox where he has to choose between A, B or C (buttons). The user's choice influences the behaviour of a script to launch the correct command-line command (let's say echo A, or echo B or echo C). The whole thing is contained within a thumbdrive and runs in Windows XP & 7.

Any idea on how to do this, if it's possible at all?

Thanks
Jay
jiiins2Asked:
Who is Participating?
 
Michel PlungjanIT ExpertCommented:
Have you considered running a simple web server on the box that needs to run the scripts?
0
 
jiiins2Author Commented:
Not yet. Can it be done on a usb thumbdrive? The fact is that the users should be able to carry around the whole thing easily.
0
 
Michel PlungjanIT ExpertCommented:
It can actually. Please give more details
0
 
jiiins2Author Commented:
Very simple: depending on the user's selection in the browser (link, button, or whatever), an application must be launched with a different argument, i.e. app.exe -A, app.exe -B or app.exe -C.

Thanks!
J
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.