AFAIK you can't do that in a Script-Fu.
But do you know about "Edit > Keyboard shortcuts"?
On 09/11/2021 23:14, Rodrigo Morales via gimp-user-list wrote:
Hello everyone!
My question is: How to map a key through the Script-Fu console? Is there
any built-in function for doing that?
I know
Hello everyone!
My question is: How to map a key through the Script-Fu console? Is there
any built-in function for doing that?
I know that I can bind keys by writing proper commands in menurc, but
AFAIK these commands are only read at startup and I sometimes want to
bind a key while GIMP is