0
votes

My script is only activating when I press the numpad enter, is it possible for it to work if I press the big enter?

Here is what I have, when I type test + numpad enter then it invokes ctr+shift+u

:*:test`n::test^+u

I need the other enter to work or both if possible.

Thanks

1

1 Answers

0
votes

I tried this:

:*:test`n::bob

And it types bob no matter which enter key I push. If you use n, that doesn't necessarily indicate that you are pushing anyenterkey - it just means you are inserting a carriage return - so eitherenter` key will do that. But your text area must be able to receive and insert a carriage return.

That means, that if you are working in a single-line text box, it can't receive a carriage return, in which case, using `n won't work for you.

You might also assure that the active window is able to receive ^!u and do something with that.