realshyfox Posted November 30, 2010 Share Posted November 30, 2010 Hy, I know that the mouse click question has been asked various times but I didn´t find an answer for my question (or I didn´t search where I should). Anyway, I would like to capture the mouse click or doubleclick on the active window (that could be any application). Any help would be apreciated. Thankyou Learn, learn and ... learn Link to comment Share on other sites More sharing options...
Chaosmeister Posted November 30, 2010 Share Posted November 30, 2010 (edited) Hy, I know that the mouse click question has been asked various times but I didn´t find an answer for my question (or I didn´t search where I should).Anyway, I would like to capture the mouse click or doubleclick on the active window (that could be any application).Any help would be apreciated. ThankyouThe helpfile says this but I'm not getting so far with it. maybe you understand it more and find what you need System EventSystem events - such as the GUI closing - are sent in a similar way to Control event, but the event type is defined by @GUI_CTRLID. The event is sent to the function defined with GUISetOnEvent. The possible system event values are shown here:$GUI_EVENT_CLOSE$GUI_EVENT_MINIMIZE$GUI_EVENT_RESTORE$GUI_EVENT_MAXIMIZE_______________________here are mousebuttonevents$GUI_EVENT_PRIMARYDOWN$GUI_EVENT_PRIMARYUP$GUI_EVENT_SECONDARYDOWN$GUI_EVENT_SECONDARYUP__________________________$GUI_EVENT_MOUSEMOVE$GUI_EVENT_RESIZED$GUI_EVENT_DROPPED Edited November 30, 2010 by Chaosmeister Link to comment Share on other sites More sharing options...
realshyfox Posted December 1, 2010 Author Share Posted December 1, 2010 (edited) The helpfile says this but I'm not getting so far with it. maybe you understand it more and find what you need System EventSystem events - such as the GUI closing - are sent in a similar way to Control event, but the event type is defined by @GUI_CTRLID. The event is sent to the function defined with GUISetOnEvent. The possible system event values are shown here:$GUI_EVENT_CLOSE$GUI_EVENT_MINIMIZE$GUI_EVENT_RESTORE$GUI_EVENT_MAXIMIZE_______________________here are mousebuttonevents$GUI_EVENT_PRIMARYDOWN$GUI_EVENT_PRIMARYUP$GUI_EVENT_SECONDARYDOWN$GUI_EVENT_SECONDARYUP__________________________$GUI_EVENT_MOUSEMOVE$GUI_EVENT_RESIZED$GUI_EVENT_DROPPEDThis is your AutoIt Gui functions. I want to trap an externall window double click. In fact I want to monitor a specific window of a specific app and when I detect a double click on it I want to fire up an event. It´s an ms access app so I can´t access controls on that window but if I could detect an double click (that is made only ine one situation) I could fire up my trigger. Thank you. Edited December 1, 2010 by realshyfox Learn, learn and ... learn Link to comment Share on other sites More sharing options...
Champak Posted December 1, 2010 Share Posted December 1, 2010 I'm looking for the same info as well. Trying to detect double click of mouse on none gui window...specifically within random txt input controls. Link to comment Share on other sites More sharing options...
realshyfox Posted December 1, 2010 Author Share Posted December 1, 2010 (edited) Here GaryFrost has done what I was looking for. Now I am going to work a litle on it to see if I can put it my way (receive notifications from an external window). I shall come back when I´m done. Edit:_Kurt has done it for me long time ago. If someone else is interested then go to Edited December 1, 2010 by realshyfox Learn, learn and ... learn Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now