The issue is that you're getting more than one output for one key press. It is impossible to do that unless you are hacking the game's applet in order to add additional key bindings. It's possible to do it using an external program but that is not 1 input to 1 output. This RuneScape Gold is one input (Esc or F10) to multiple outputs (cursor movements and clicks.) The best you can do is force esc to do the mouse click. This makes it pointless since you could achieve that using Mousekeys.
If you're not yet done so, you should also try Royal Trouble because it lets you make more money for the coffers. I'm guessing that you won't on the internet for long periods of time, so, as soon as you can make sure you put 7.5m within the best ways to make money on osrs coffers (talk with Advisor Ghrimm. Select "Manage"), and adjust Maples for MAX employees and herb to 50% workers.