Viewing 1 to 8 of 8 items
Tag Archives: write

Shell command to open Notepad through javascript, then write?

Question by Nikki: Shell command to open Notepad through javascript, then write? I’m using this javascript code snippet to open Notepad.exe: function exportNotepad() { var oShell = new ActiveXObject(“Shell.Application”); var commandtoRun = “C:\Winxp\Notepad.exe”; oShell.ShellExecute(commandtoRun, “”,””, “open”, “1”); } I want Notepad to contain the context of an html control TextArea, “QAtextbox”. How do I write  Full Article…

0