Depends on the application as to what inputs it will accept as a possible work around.
One idea would be to take a look at StickyKeys if the application allows. It may be a nasty, but cheap implementation. Never used StickyKeys in conjunction with an RPA design, has anyone else used this or know if it is a viable workaround?
If not you would need to possibly code your own global hook that sends a KeyDown event within one code stage, then perform your mouse clicks, then another code stage that sends a KeyUp event. I'm not too great with code stages, again just an idea, but maybe someone else could help with specifics.
Tom.