You should be able to use any mouse recorder program, and save a hotkey to it, so it performs the recorded action.
I know i used a program called "Macro Manager" to record my mouse for something un-related to RS awhile back, however i believe any simple one will work.
I could give you my hands because their a autoswitcher? Ha Nah bud im pretty sure if you type in google for a macro recorder their will be free autoswitchers just make sure the website is legit etc.