Hello again,
Well, I guess I´m dumb, everything is fine!
I had no project open, i just started the program and tryed to run the script without haveing a project open... I know i read the sentence here somewhere but still didnt connect the dots.
Merry christmas and thank you for a wonderfull script.