Question

  • Creator
    Topic
  • #2149765

    How to call windows application with parameters using javascript in mozilla

    Locked

    by tpramarao ·

    see the bellow code which i have

    const url = “E:\\ThunderBirdApplication\\Application.exe” “%1”
    var uri = Components .classes[“@mozilla.org/network/simple-uri;1”] .getService(Components.interfaces.nsIURI)
    uri.spec = url
    Components .classes[“@mozilla.org/uriloader/external-protocol-service;1”] .getService(Components.interfaces.nsIExternalProtocolService) .loadUrl(uri)

    if it is correct the above code to pass parameter then, how to call those parameters from windows application(Application.exe)

All Answers

Viewing 0 reply threads