One suggestion if you are going public with this is having the ability to support foreign keyboard setups by taking template files as config input to support a different keyboard button layout, such as Swedish letter ÅÄÖ etc!
LoneWolf : Of course I would go public this script. Need to consider your suggestion and other keyboard system. Good point thanks.
dgovil : The script is not available to download now, need to add more comments and rename function name, After that I would upload somewhere
The script is base on PySide. [PyQt] was my mistake,