Is it possible to override user input prompt in a submacro?

I have a macro A which prompt a user input for a number. Is it possible to create another macro B which call macro A with value 10 to override macro A's user input?

Thanks.

There's a bunch of ways to do this. Perhaps the simplest is to have Macro A check its %TriggerValue% -- if it's a number (and only a number) it was supplied by Macro B so use it, otherwise put up the prompt.

Macro A.kmmacros (4.6 KB)
Macro B.kmmacros (1.8 KB)

Images

...and...

Obviously, you don't want set set Macro A with an unmodified numeric hot key :wink:

1 Like

Thanks!