This question already has an answer here:
I use a laptop with Italian keyboard, but I need the tilde ~ and the backtick ` characters, which my keyboard is not endowed with.
I got to know AutoHotKeys and it seems to fit. But I could not find a map to script. E.g., what are the key codes relative to the AltGr.
Briefly, I want to do the following:
AltGr + ' = `
AltGr + ì = ~