ok that seems to work i think i can polish that but i have one more Question the help file says
You can mark a 3state checkbox as indeterminate by specifying both -cu switches.

but that doesnt seem to work it wont uncheck the box without closing the dialog ?