I cannot seam to figure this out please help me run "run.cmd" onclick of button from my nwjs application.
<button onclick="runHelperProcess()">Run Process</button>
.
<script type="text/javascript">
function runHelperProcess() {
gui.Shell.openItem('run.cmd');
}
</script>
run.cmd is located in the root dir of the nw application.
Aucun commentaire:
Enregistrer un commentaire