Why Is One of My Prompt for User Inputs Not Working

Why isnt one of my Prompt for User input not working

Python Arrays.kmmacros (15 KB)

and is there a better way of structuring these?

Ben

Which one isn’t working and what exactly do you mean by “not working”? Tell us what you expect to happen and what actually happens.

1 Like

Hey Ben,

Why indeed?

If you haven't read this it's worth a couple of minutes of your time.

Tip: How Do I Get The Best Answer in the Shortest Time?

--
Take Care,
Chris

(Keyboard Maestro Moderator)

1 Like

Thanks for the tip. I'll use this next time.

So if I choose "Modify the value in a specific element", the input form refuses to show.

When I run your macro it fails. KM briefly shows an alert, and the KM log file contains this:

2021-09-20 12:37:22 Set Variables to JSON failed with JSON “”
2021-09-20 12:37:22 Set Variables to JSON failed with JSON “”. Macro “Python Arrays” cancelled (while executing Set Variables with Prefix “Two_Booleans” to JSON “%Variable%Access%”).

In other words, your macro never gets to execute your "input form".

This is the action that's failing: