Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 07-14-2014, 10:47 PM
mark99k's Avatar
mark99k mark99k is offline Addin-specific keyboard shortcuts refuse to turn off Windows 7 32bit Addin-specific keyboard shortcuts refuse to turn off Office 2010 32bit
Novice
Addin-specific keyboard shortcuts refuse to turn off
 
Join Date: Oct 2012
Location: California USA
Posts: 20
mark99k is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
There's nothing apparent from what you've posted that you ever clear or disable the new keybindings. In any event, once they're set, they're available to all documents. If you wanted to limit their scope to documents based on a particular template, I believe you'd need to add/enable & clear/disable them via WindowActivate & WindowDeactivate events.
Hi Paul. I actually have tried both disabling and clearing but it made no difference, and I've since read in the documentation for the Keybinding.Disable method, "You don't need to remove or rebind a KeyBinding object before adding it elsewhere."

I'm certain it's possible to limit the scope of a shortcut to a single document with the CustomizationContext property; I do it often in other add-ins, and there are examples in the documentation for it (and I did it just now with a simple add-in to prove I'm not hallucinating...).

I'm tempted to pour all the code from the this add-in into an emptied-out version of one where it works.... I was just hoping for a revelation that would save me from that.
Reply With Quote
 

Tags
code, disable, keyboard shortcuts



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create keyboard shortcuts for a specific font ravl13 Word 2 04-07-2013 05:45 AM
Is there a way to list all keyboard shortcuts? Jennifer Murphy Word 1 08-02-2012 01:48 PM
Addin-specific keyboard shortcuts refuse to turn off Can I turn off keyboard shortcuts? martinlest Outlook 1 06-10-2012 09:49 PM
Impermanent keyboard shortcuts Subligaria Word 2 11-01-2011 12:41 PM
Customizing Keyboard Shortcuts zextrot Outlook 0 11-11-2010 01:43 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:04 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft