allright I got it.
the most tricky part was loading python from the marking menus. It wouldn't work because I didn't load maya.cmds in my .py now it's working, oh the glory...
Well, I pat myself on the back I guess!
Last edited by yoruneko; 26-07-2012 at 05:25 PM.