Tried to implement group handler and just gave up. Autohotkey is very intricate to do a bit more difficult things.