Generate keystroke out of user prompt input

Hi there,

Is it possible to create a macro which asks the user for a specific number value and then have this value translated into a keystroke.

A little more detailed. I’m working on Avid Media Composer and would like to be able to cut a specific audio track into my sequence.

The audio track differs so I need the prompt dialogue to ask the user which audio track should be inserted.

If the user now for example replies ‚3‘ I would like Avid to execute the keystroke ‚Shift+3’ which is my shortcut for ‚Mark Audiotrack 3‘.

I hope I made myself clear.

Thanks in advance,

Simon

Here are a couple of options in one macro:

Prompt for Track to Cut In.kmmacros (28 KB)

Macro screenshot

The script assumes the process name to be "Avid Media Composer". I don't have it, so I can't check; change it if need be.

Cheers buddy!
Actually easier than I thought.

1 Like