HTML Prompt > JavaScript > document.kmvar: Some variables missing

I'm developing a script called by my Custom HTML Prompt. I have been pulling variables from Keyboard Maestro via the document.kmvar object.

I don't know if it's something I did but elements of my script are no longer working because variables they call are coming up as undefined. To investigate I'm printing document.kmvar to the console in its entirety. Specific variables are not populating there, though they are present in Keyboard Maestro's list of variables.

What might I be missing?

EDIT: Good gracious, I didn't even think to restart the KM Engine but doing that got the variables populating correctly.

1 Like