Michael McMahon
Posts: 56
Joined: 2005-05-03
|
hi there,
I'm working on an office addin which needs to capture the word save / save as events. I've been able to hook into the events for the file save / save as menu and command bar buttons okay but don't know how to access the events for F12 and Ctrl S. Does anyone else know how to do this. Right now I'm checking the documentBeforeSave event to determine when Ctrl S or F12 is clicked but this is not ideal.
Thanks in advance for any assistance you can offer on this subject.
Mike |
|
Sergey Grischenko
Add-in Express team
Posts: 7235
Joined: 2004-07-05
|
Hi Mike.
You need to do the following:
1. Add a new button on your command bar
2. Set the Visible property to False.
3. Set the ShortcutText property to Ctrl+S
4. Add the event handler for this button in the VS designer.
As to F12, there is a little issue with this key. I will send you a solution soon. |
|