Since it's a slow day, thought I would pump the korg brain-trust with a challenge ...

Can anybody think of a way, using RUN or SHELL or maybe even COM (wsh what have you) to be able to do the following ...

At the beginning of the script, start an instance of an exe (say - notepad.exe for example), have notepad running "in the background", yet get control returned back to your script (because the script needs to do stuff while notepad is displayed), then (and here's the trick) ... be able to AUTOMATICALLY close-down notepad when the script terminates (without explicitly killing the notepad process) ...

Say for example, the assumption would be that notepad would be some kind of "child" process that would automatically terminate when the parent process (kix32) terminated.

If this is not possible (not sure if it is), then kill the notepad process somehow, without alot of muss and fuss. But ideally, if this child process could be killed by default, that would be the best.

Thoughts anyone ?

For example... the script would start like this. The following is the script ... see the script below ... the script is coming next, here it is ...

Code:

Break On
; Your code here
Exit 0




-Shawn