Make a Custom HTML Prompt Macro List Macro (v9.2)

Purpose:
Make a Custom HTML Prompt macro list. Click on an item will trigger the designated macro.
See my comments for instructions.

This allows us to make a custom KM macro shortcuts list. (Of course, you may add things other than keyboard shortcuts. The Custom HTML Prompt allows all kinds of customization).

The Custom HTML Prompt looks like this:

I've made 11 rows and 4 pairs of columns as a base. Therefore, you may add 44 shortcuts.

Custom HTML Prompt Macro List.kmmacros (16 KB)

NOTE: I've made an updated version (1.2).

3 Likes

Created : 02/01/2021, 6:46 PM ET
Modified : 02/02/2021, 6:53 AM ET
Version : 1.1
Version 1.1 release note: With Version 1.0, I was not able to close this "Custom HTML Prompt Macro List" window after the onclick="location.href=URL;" function. Version 1.1 adds another macro called "Custom KM Macro List - Close Window", which is used to close this "Custom HTML Prompt Macro List" window.

Custom HTML Prompt Macro List.kmmacros (19.1 KB)

Thanks but… where is the version 1.1?

I uploaded the wrong macro. :sweat_smile:
Thanks for letting me know.
It's corrected now. :stuck_out_tongue:

By : Martin Zhang
Created : 02/01/2021, 6:46 PM ET
Modified : 02/03/2021, 10:45 AM ET
Version : 1.2

Version 1.2 release note: The Custom HTML Prompt now shows up at the center of the screen. When you adjust the size, adjust the position as well. For instance, if you change the Height from 420 to 520, you need to change the number in position as well:

data-kmwindow="SCREEN(Front,MidX)-1300/2,SCREEN(Front,MidY)-520/2,1300,520"

Custom HTML Prompt Macro List.kmmacros (20.5 KB)

2 Likes

Thank you!