RogerW
February 19, 2022, 7:11pm
1
I have created my first HTML prompt and I am having a problem with the Cancel Button.
button name="Cancel" type="button" onclick="window.KeyboardMaestro.Cancel('Cancel')">Cancel</button
But the macro dose not cancel it runs. What am I missing? Should the macro just cancel or do I have to do something else to check what button has been clicked?
Thanks
Roger
No, that won't cancel the macro. You have to do something like this:
2 Likes
RogerW
February 19, 2022, 8:24pm
3
Thanks worked slick as ...
Awesome. Please mark my reply as the answer.
RogerW
February 19, 2022, 9:43pm
5
I did not know about that. I marked it but it said you solved it post 2. How do I mark it to show post 1?
Roger
It looks correct now. Thanks!