
HowTo use commandline parameters with an MSched exe ...
Moderators: JRL, Dorian (MJT support)
I "checked that" but I didn't see exactly how to do the command line parameters trick.. could you summarize?
I have to do things one level more tricky: I've used "writeln" to create a script file and I need to run:
PROGRAM arg arg arg arg <SCRIPTFILE
Is that possible? My best guess right now is to do it with an additional
file: create "DOIT.BAT", do a single writeln of teh above line to it, and then runcmd the DOIT.BAT file...
I have to do things one level more tricky: I've used "writeln" to create a script file and I need to run:
PROGRAM arg arg arg arg <SCRIPTFILE
Is that possible? My best guess right now is to do it with an additional
file: create "DOIT.BAT", do a single writeln of teh above line to it, and then runcmd the DOIT.BAT file...
/Bernie\
I wanted to trigger a compiled MSched script (screenshot.exe) from within another NON-MSched script (the same way as you would execute it from a commandline, by using additional parameters). As MSched-executables seems not to work with standard parameters (%1 %2 ...) I had a try using a backdoor aka "the clipboard"but I didn't see exactly how to do the command line parameters trick

a) push the parameters to the clipboard
b) execute the executable
c) the executable takes the clipboards content and separate its content into single parameters/variables
d) be impressed
