I have kind of dismissed the km macro as it is very confusing and doesn’t work reliably in favour of a vim plugin for Dash which works as it is supposed to every time.
As I mentioned previously, it has some Actions specifically for Script Editor and AppleScript. The prompt you are seeing is to ask the user whether or not to use a Dash type prefix. If you don't want that, just delete or disable the relevant Actions.