i found the answer :
if manualy we use keyboard command for this probleb like this KEYBOARD '{ALT+-}' for child windows it cause an error.but if we record that in a macro file and play that macro it works.i did that and made one for main windows and one for child windows and saved them in a macro and when i nedd them i play one of them.
Thank you so much Christof because of your help on keys
Ali Mohammad Hossein Zadeh