buzz44 Posted February 25, 2005 Share Posted February 25, 2005 (edited) hello all... i am looking to capture the click of a mouse but not make it do anything eg. When you click one of the mouse buttons ie .Left/Middle/Right .. instead of clicking i want it to do sumthing else .. get the colour infact.. i already have the coding to get the colour and it works when i click .. problem is ... say i want to get the colour of a button.. i move the mouse over the button and click.. it gets the colour but it also clicks on the button and does wateva it does .. another eg is if the cursor is over a file when u click it will highlight the file and thus change the colour that i want. is there any way i can sumhow "Block" or capture the mouse down thing b4 for it happens ? i was going to use BlockInput bu hen i realised if i use that u wont be able to click any way lol and help plz =) also .. is there a way i can change the mouse cursor ?? MouseGetCursors just gets wat the cursor is . is there a way i can (maybe throught dll call) change the cursor. Edited February 25, 2005 by burrup qq Link to comment Share on other sites More sharing options...
buzz44 Posted February 25, 2005 Author Share Posted February 25, 2005 anyone please lol ... i really wanna finish my script and i cant tell i figure these problems =). problem 1: how can i not make the mouse click click on an obect.. read above post if u dont understand plz problem 2: how do i change the cursor of a mouse? thx qq Link to comment Share on other sites More sharing options...
buzz44 Posted February 25, 2005 Author Share Posted February 25, 2005 (edited) anyone? exactly 8 hrs and no reply =( Edited February 25, 2005 by burrup qq Link to comment Share on other sites More sharing options...
buzz44 Posted February 25, 2005 Author Share Posted February 25, 2005 (edited) PEOPLE PLZZZZZZZ lol ... can i change the mouse cursor (1 can i stop the mouse from clicking on sumthing but it still perfoms sumthing else..? (2 eg.. the mouse is over a button .. instead of clicking the button it gets the colour beneath the mouse .. (the button is not GUI form autoit, it is a windows button) thx ANYONE PLEASE HELP edit: coming up to 11hrs with no reply's .. new record? Edited February 25, 2005 by burrup qq Link to comment Share on other sites More sharing options...
Andre Posted February 25, 2005 Share Posted February 25, 2005 Hi, I think it's only possible with an real Hook to the mouse because the _IsPressed UDF can read the key/mouse but also performs the action. Andre What about Windows without using AutoIt ?It would be the same as driving a car without an steering Wheel! Link to comment Share on other sites More sharing options...
buzz44 Posted February 25, 2005 Author Share Posted February 25, 2005 THANKYOU for reply andre... u always come and save me lol .. real hook? .. currently i am use the _Ispressed function but as u said .. it still performs the action =( ... do u know how to change the mouse cursor by anychance? qq Link to comment Share on other sites More sharing options...
Andre Posted February 25, 2005 Share Posted February 25, 2005 Hi, change the mousecursor by using a dllcall ? HCURSOR CreateCursor( HINSTANCE hInst, int xHotSpot, int yHotSpot, int nWidth, int nHeight, const VOID *pvANDPlane, const VOID *pvXORPlane ); and then use it ? SetCursor( ) But don't ask me how to do it because i don't have the time to play with the dllcall function. Andre What about Windows without using AutoIt ?It would be the same as driving a car without an steering Wheel! Link to comment Share on other sites More sharing options...
buzz44 Posted February 25, 2005 Author Share Posted February 25, 2005 yeah i was looking at that to but coulda figure out wat to do lol .. im not good with dll calls qq Link to comment Share on other sites More sharing options...
buzz44 Posted February 25, 2005 Author Share Posted February 25, 2005 anyone lol ... please i pray that someone will have replied by morning lol ....surley sum1 knows how to do it or has some ideas qq Link to comment Share on other sites More sharing options...
buzz44 Posted February 26, 2005 Author Share Posted February 26, 2005 OMFG ANYONE PLEASE >>> i have been checking this post FOREVER for DAYS and no one has replied...... arghhhhhhhhh qq Link to comment Share on other sites More sharing options...
Guest Guidosoft Posted February 26, 2005 Share Posted February 26, 2005 (edited) You guys make up a completley new wave of scripters. Like another generation coming in. lol. When I look at the active users, I see less an less of the usual members and more of new people with little posts all over the place lol. Welcome to AutoIt Forums to all of you new guys even though you 2 are not that new. You probably won't see me around much cause valik is working out his plan to get me banned so I thaught I would just greet you now. Edit: "OMFG......." Thou shalt not take the name of the lord thy GOD in vein. Edited February 26, 2005 by Guidosoft Link to comment Share on other sites More sharing options...
buzz44 Posted February 26, 2005 Author Share Posted February 26, 2005 yeah im just mad ... are people just ingoring or cant it be done ... qq Link to comment Share on other sites More sharing options...
buzz44 Posted February 26, 2005 Author Share Posted February 26, 2005 i find it hard that this has had 130 view .. possibly by 130 people .. and no one can help me qq Link to comment Share on other sites More sharing options...
buzz44 Posted February 27, 2005 Author Share Posted February 27, 2005 bump qq 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