# Make Cloze with shortcut key in HTML editor

**URL:** <https://forums.ankiweb.net/t/make-cloze-with-shortcut-key-in-html-editor/16458>\
**Category:** Suggestions\
**Created:** [January 7, 2022, 9:50am UTC](https://forums.ankiweb.net/t/make-cloze-with-shortcut-key-in-html-editor/16458 "2022-01-07T09:50:43Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![PilgrimLyieu](https://avatars.discourse-cdn.com/v4/letter/p/3ec8ea/32.png) [@PilgrimLyieu](https://forums.ankiweb.net/u/PilgrimLyieu)\
**Post date:** [June 25, 2022, 1:18am UTC](https://forums.ankiweb.net/t/make-cloze-with-shortcut-key-in-html-editor/16458/3 "2022-06-25T01:18:34Z")

</div>

I’ve written an [AutoHotkey](https://www.autohotkey.com/) script to achieve this.

I put the code in [Github](https://github.com/pilgrimlyieu/AutoHotkey-Script/blob/master/Specific/Anki/Cloze.ahk).

You can use Shift + F1(Or other you can change in the script) to reset the cloze number, F5 to Cloze or UnCloze(with number remaining, equivalent to Ctrl+Alt+Shift+C), F6 to Cloze or UnCloze(with number raising, equiavalent to Ctrl+Shift+C) and Shift + ` to Save card and reset cloze number.

---

_[View the full topic](https://forums.ankiweb.net/t/make-cloze-with-shortcut-key-in-html-editor/16458)._
