Muddle-headed Kay (mhw) wrote,
Muddle-headed Kay
mhw

This journal has been placed in memorial status. New entries cannot be posted to it.

  • Mood:

Passing arguments to Helper Applications in Mozilla/Netscape? Help!

I hope this isn't a Really Stupid Question - I've looked everywhere that I could think of to find an answer, but so far no luck.

The situation's this: I have a visualisation app that runs on Windows. It accepts data files in various formats, and renders them in a window. The difficulty that I have is that the app doesn't do the sensible thing and decide which type of data file one's presenting it with by inspecting the file extension - what one must do is invoke it with a type argument followed by the name of the file.

So, schematically:
application -foo data.foo for 'foo' format data;
application -bar data.bar for 'bar' format data;
and so on.

How do I make Helper Applications entries to deal with this? There seems to be no way, so far as I can see, to pass arguments to an app via the Open it with: field, which seemed to me to be the obvious way to deal with the problem.

Any help very gratefully received!
Subscribe

  • Kay Dekker, 1959-2011

    I hope you've already heard this sad news, however I post here to reach those who have not heard. Kay Dekker died on the 7th July 2011, and was…

  • Thank you, and a bit of progress

    Thank you, everyone who sent messages of love and support. Very, very much appreciated, believe me! I saw Jerry, my GP, today about the mess of…

  • Easy caramelised onion and carrot chutney

    This recipe happened because of my friend Sue, who is also a volunteer at Willow View. She was enthusing to me about a sandwich that she'd had for…

  • Post a new comment

    Error

    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 7 comments