# Unable to prevent CalloutCreateTool hotkeys or disable tool

**URL:** <https://pdfjs.community/t/unable-to-prevent-calloutcreatetool-hotkeys-or-disable-tool/962>\
**Category:** Technical Support\
**Created:** [August 25, 2021, 2:46pm UTC](https://pdfjs.community/t/unable-to-prevent-calloutcreatetool-hotkeys-or-disable-tool/962 "2021-08-25T14:46:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stherrien](https://avatars.discourse-cdn.com/v4/letter/s/71e660/32.png) [@stherrien](https://pdfjs.community/u/stherrien)\
**Post date:** [August 25, 2021, 2:46pm UTC](https://pdfjs.community/t/unable-to-prevent-calloutcreatetool-hotkeys-or-disable-tool/962/1 "2021-08-25T14:46:59Z")

</div>

Using instance.hotkeys.off(‘C’) I also tried ‘c’ and instance.hotkeys.Keys.C but I’m still able to use this hotkey.

version: 7.3.4  
docs:  
`C` string Select the AnnotationCreateCallout tool

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/ffbcd25c7d423db8d5acd5db201c272f4db306dd.png) [@system](https://pdfjs.community/u/system)\
**Post date:** [August 25, 2021, 2:47pm UTC](https://pdfjs.community/t/unable-to-prevent-calloutcreatetool-hotkeys-or-disable-tool/962/2 "2021-08-25T14:47:03Z")

</div>

**Hello, I’m Ron, an automated tech support bot 🤖**

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:
- [Real-time collaboration client](https://pdfjs.express/documentation/collaboration/realtime-collaboration-client.8)
- [Customize annotation tools - Disable/enable tools](https://pdfjs.express/documentation/annotation/customizing-tools.8#disable/enable-tools)
- [Rich text](https://pdfjs.express/documentation/annotation/rich-text.8)

APIs:
- [UI.Hotkeys](https://pdfjs.express/api/UI.Hotkeys.html#__anchor)
- [Core.Tools.CalloutCreateTool - disableImmediateActionOnAnnotationSelection()](https://pdfjs.express/api/Core.Tools.CalloutCreateTool.html#disableImmediateActionOnAnnotationSelection__anchor)
- [Core.Tools~FileAttachmentCreateTool - contextMenu(e)](https://pdfjs.express/api/Core.Tools.FileAttachmentCreateTool.html#contextMenu__anchor)

Forums:
- [Can not unSetToolMode](https://pdfjs.community/t/can-not-unsettoolmode/959/1)
- [Enable NotesPanel after selecting AnnotationCreateSticky Tool](https://pdfjs.community/t/enable-notespanel-after-selecting-annotationcreatesticky-tool/251/1)
- [PrintInBackground: print quality](https://pdfjs.community/t/printinbackground-print-quality/530/1)

---

<div class="post-metadata">

**Author:** ![driley](https://avatars.discourse-cdn.com/v4/letter/d/13edae/32.png) [@driley](https://pdfjs.community/u/driley)\
**Post date:** [August 27, 2021, 9:11pm UTC](https://pdfjs.community/t/unable-to-prevent-calloutcreatetool-hotkeys-or-disable-tool/962/3 "2021-08-27T21:11:58Z")

</div>

Hi Stherrien,

I am unable to replicate your issue in version: 7.3.9

This is how I am calling it:

```javascript
.then(instance => {
  instance.hotkeys.off(instance.hotkeys.Keys.C);
});

```

Try upgrading to 7.3.9 and running that snippet and see if it works for you

Cheers,  
Dustin
