Can you use a different keyboard. I do not know what operating system you have but it may be possible to select the appropriate keyboard there. Try searching for: "powershell change keyboard mapping".
The table in the Keyboard library assumes a US-English keyboard layout. It will press the matching key on a US keyboard. To press the right key for a Swedish keyboard you have to use the character in the matching position on the US keyboard. Since there are no AltGraph characters on the US keyboard, there is no way to get the right AltGraph character just by using a character. You have to press "KEY_LEFT_ALT" or "KEY_RIGHT_ALT".
Your OS will translate the key presses back to character basedd on your currently selected keyboard layout.