Prompt for Yes / No

In one of my scripts I want a yes/no dialog.

Something like “do you want the first row of the CSV to be treated as a header row?”

What would be the best way?

Hey Martin,

See the Prompt for User Input action.

-Chris

Thanks. That’s what I ended up using. It’s a bit of a sledgehammer to crack a nut.

Hey Martin,

Not in its simplest form.

Press “Y” for YES and “N” for NO when the dialog comes up.

-Chris


Prompt for User Input with Hotkeys for Buttons v1.00.kmmacros (5.5 KB)

2 Likes