Using Delphi 4
I am making a program that will open an already existing exe, it does that, now i need it to type what you would usually input with a keyboard, I found the procedure keypress but am unsure of what to type to get the code working. I have this so far and don't know how to fix it:
keypress: procedure (var key : char);
What needs to go where in order for this to work and can i get a list from somewhere to know all keys?
Another easy question:
ShellExecute(Handle, 'open', PChar('http://www.whatever.com'
), nil, nil, SW_SHOW);
What needs to be added to uses it was something like shellopen api or something like that i forget now
I want Delphi to type the keys i tell it to into the exe i had it open, when delphi opens the other exe the cursor is already placed in the correct editbox all i need is for delphi to do the keys for me and hit return, thanks in advance.