Custom remote control commands

Is there a way i can create custom functions like running two commands at once with remote control? Like for example if i could make a command that clicks 30 120 then screenshots?
Was this page helpful?