hi thank you for the quick answer. I want to realize it with perl and not with other languages/commands so why should this help me to search for an answer in a windows forum?! I know the Win32::GuiTest module and with this module you have no problems to emulate keyboard or mouse event and control windows and so on. So i was sure there gives a module in perl to find out mouse events like Button is pressed and which one is pressed at the moment.
regards, michbach