Question

Locked

How to call windows application with parameters using javascript in mozilla

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)

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Share your knowledge
Back to Web Development Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums