There are many ways to do it through code: C# is probably best for windows apps, attaching a native java agent would also work for runescape, can be done with AHK without much knowledge - probably some copy pastes available for this somewhere, etc. but I don't remember any that can be done without programming knowledge
There may be some windows options but they would definitely not provide as much functionality as can be achieved through code