Hi!

I'm trying to write my first PSPad extension, I wish it will be to execute some
batch tasks based on a configuration file and a project select. I'm doing it at
first for windows. I'm writing it in JS.


I've read this:
https://namingexception.wordpress.com/2010/10/17/writing-pspad-hello-world-exten
sion/, It's great and works fine. And I've modified this tutorial to run a shell
command with this code:

var oShell = new ActiveXObject("Shell.Application");
var iRetVal = oShell.ShellExecute("my_command.cmd", "", "", "open", "1");

But I can't capture the shell command output. How can I do it? 

Second question is ... There is any way to interact with an html document in a
plugin as user interface?  

Thanks for any answer.
Pablo.

-- 
<http://forum.pspad.com/read.php?2,68800,68800>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem