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[";1"] .getService(Components.interfaces.nsIURI)
uri.spec = url
Components .classes[";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.

Thread display: Collapse - | Expand +

All Answers

Share your knowledge

Related Discussions

Related Forums