From: Failure
Still doesn't send ::reward [from 100000-1000000]
SendKeys doesn't work how u want it.. ur probably trying to send keys to an inactive window.. and thats just not the case.. The window you want to send keys to, must be active and TopMost..
You can always try TypeSendEx instead of sendkeys, but again the window must be active. Only way to "Sendkeys" to an inactive window is to use ::SendMessage..
U'd have to write an extension for that though or a plugin because Simba doesn't have Windows API functionality.
For an extension you'd do something like:
Function FindWindow(ClassName, WindowName: PChar): HWND; external 'FindWindowA@User32.dll stdcall'; // <-- That will find the window u want to send it to..
Function SendMsg(Handle: HWND, Msg: Cardinal, WP: WPARAM, LP: LPARAM): &Long; external 'SendMessageA@User32.dll stdcall'; //<-- Will send the msg to inactive window..
I don't know how to make a function return a pointer to a long in simba so instead I put &Long.. Get someone to show u how and u can make ur own extension for doing that..