KnowBrainer Speech Recognition
Decrease font size
Increase font size
Topic Title: How to create a command to remove highlight from a selection in Microsoft Word?
Topic Summary:
Created On: 11/12/2021 01:08 PM
Status: Post and Reply
Linear : Threading : Single : Branch
 11/12/2021 01:08 PM
User is offline View Users Profile Print this message

Author Icon
wristofdoom
Top-Tier Member

Posts: 347
Joined: 09/03/2020

I have a Microsoft Word command called "remove highlight" that makes use of the "alt" hotkeys and the Word command ribbon. So my command was as follows:

 

Sub Main
    SendKeys "%h"
    Wait 0.1
    SendKeys "i"
    Wait 0.1
    SendKeys "n"
End Sub

But now I have a conflicting command from an Autohotkey script that uses %h.

 

I don't want to disable this Autohotkey script, because it's useful in Microsoft Word as well as in other contexts. 

 

So I'm wondering, is there a more direct way  to activate the "remove highlight" function in Microsoft Word?



I looked through the hotkeys in Microsoft Word, but I can't find one that maps directly to removing a highlight.

 

I would love to program the remove highlight function in Microsoft Word to some hotkey, like ^%+h and then be able to activate it via both my voice command and the keyboard.

 



-------------------------

Dragon Professional Individual v15.6. Windows 10. Knowbrainer 2017.

Statistics
32634 users are registered to the KnowBrainer Speech Recognition forum.
There are currently 2 users logged in.
The most users ever online was 12124 on 09/09/2020 at 04:59 AM.
There are currently 169 guests browsing this forum, which makes a total of 171 users using this forum.

FuseTalk Standard Edition v4.0 - © 1999-2023 FuseTalk™ Inc. All rights reserved.