I've tried it now. It works great, just what i wanted...
But, there is one more thing that i want it to do (if it's possible)... and that is to hide the icon in the system tray. Cause if i open teamviewer and then the hide program, i will still see the teamviewer icon in the tray. And if i click it, the teamviewer window pop's up for like a half second or so and then it hides again.
If it doesn't work, i'll have to figure out another way to hide it. Thanks a lot