10-31-2024
06:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
10-31-2024
06:45 AM
You can use the UserInteraceEvents.OnEnviromentChange event to enable/disable your commands based on the current environment. A disabled command doesn't trigger the extra up/arrow arrow key selection for duplicate shortcuts. There's the added benefit of preventing the "Repeat <last command>" context menu commands from executing when they shouldn't.