RE: Coding help
1) provided you enter "notepad" (without the quotes) and you don't have any other script which messes up the text you entered, as markee has suggested, it is possible that notepad.exe isn't listed in your default path, hence the run command wouldn't be able to find it and be able to start it.
2) two ways:
a) create a textfile first and open this with notepad.
Either by simply specifying the temporary name of the textfile as the command line (this will open the textfile with your default associated program, which is probably notepad).
Or enter the temporary textfile as a parameter of notepad on the command line.
b) open up notepad, find the window, and use Windows APIs to fill the text in.
c) any method invovling parsing and/or sending keys (this includes copy/pasting) is not a proper method and should never be used.
This post was edited on 04-08-2007 at 09:13 AM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
|