Ok i just programmed myself a workaround. Not perfect but works..

Thanks for your help.