Hi PsaltyDS and thanks for replay, I scan all _GuiCtrlMenu_* functions but i did not findout how i can click the menu. I need to do the follow and it would be fantastic if you can help me, I need to get the menu of current windows and walk throw all menu element, click each of them and make the screen capture from the active windows. I can do all in above task but Click on menu Item . by using WinMenuSelectItem(), I can just select the known menuitem. while i have no idea about the menues in opened windows. Any Idea? Thanks in advacned