Ok, I'll give an example of what I would like to achieve.
nircmd makes use of script.ncl files, which are just multi line text files with extension ncl.
Lets say I have a script which starts vmware services:
(a script.ncl file simply containing the following on three lines)
service auto "VMwareHostd"
service auto "VMUSBArbService"
service auto "VMAuthdService"
service start "VMwareHostd"
At the moment If I wanted to use the dopus command editor box, I could ONLY input something like this:
@admin
nircmd.exe service auto "VMwareHostd"
nircmd.exe service auto "VMUSBArbService"
nircmd.exe service auto "VMAuthdService"
nircmd.exe service start "VMwareHostd"
However nircmd.exe is called up 4 times, which is not the correct way to be used. The above works fine in this case, but If I want to use it for say sending keystrokes, unfortunately the behaviour is jittery/unreliable/not executed at all.
It would make things much easier for me if I dispense the need to use 'proprietry' ncl files, and just 'hardcode' the commands into dopus itself + edit whenever, rather than create and store many separate ahk / ncl etc. files. I already know you can embed vbscripts.
So in other words, I would like nircmd to think that dopus passed a ncl file with this text.
ie. a method to create such 'scripts' on the fly, similar to the way ms-dos batch files are created (eg. 'script.ncl' could be generated in a temp folder, and its path passed to the program).
Is there a simple way to achieve this? Am I correct to think you could create a universal dopus user command template that can be adjusted depending on the type of extension wanted? But unfortunately this is beyond me. Any help in the right direction greatly appreciated.