Display a KM Variable in a Custom HTML Prompt

For the variable LocalItems, drop this line of JavaScript in your HTML:

document.write(window.KeyboardMaestro.GetVariable('LocalItems'));
1 Like