I don't know anything about instant viewer, but it sounds like there's already a hotkey. So why not just make your own keyboard shortcut and have it send the original hotkey.
If you want to use the default instant viewer hotkey for something else, you can do that also.