S
Scott Corrigall
I run an application (WinAmp) that allows me to set up hotkeys. I want to
write a macro that will send such a key stroke so that it will be sent from
Word, interpreted as a hotkey usage and thus intercepted by the hotkey
application. (Context: I'm doing transcription of audio files and will use
toolbar buttons and voice commands to do things like Play, Pause, etc so
that my hands won't have to control audio playback; I can keep typing and
simply say "back" to "rewind" as my fingers catch up.)
All the overhead works (toolbars, voice commands, etc) but using the
SendKeys function doesn't get the job done because it sends the simulated
keyboard use directly to Word. It never gets processed as a potential
hotkey.
The only workaround I've found is finding the hotkey's application,
switching it to the foreground and sending the keystroke that way. Although
this works for the hotkey, it fails overall because I can't keep typing
("catching up") once Word loses focus.
Is there any way to use SendKeys or a similar function so that the simulated
keystoke can be intercepted as a hotkey?
write a macro that will send such a key stroke so that it will be sent from
Word, interpreted as a hotkey usage and thus intercepted by the hotkey
application. (Context: I'm doing transcription of audio files and will use
toolbar buttons and voice commands to do things like Play, Pause, etc so
that my hands won't have to control audio playback; I can keep typing and
simply say "back" to "rewind" as my fingers catch up.)
All the overhead works (toolbars, voice commands, etc) but using the
SendKeys function doesn't get the job done because it sends the simulated
keyboard use directly to Word. It never gets processed as a potential
hotkey.
The only workaround I've found is finding the hotkey's application,
switching it to the foreground and sending the keystroke that way. Although
this works for the hotkey, it fails overall because I can't keep typing
("catching up") once Word loses focus.
Is there any way to use SendKeys or a similar function so that the simulated
keystoke can be intercepted as a hotkey?