troglo Posted January 3, 2008 Share Posted January 3, 2008 I want to capture a movement of a mouse wheel and therefore I started a search in the "Example Scripts" Forum.I found a topic written about 6 months ago by Toady.There I found a script Zoom.au3 and I wanted to study it.I copied it in Scite and run it but I got a lot of errors all of following type:e:\Program\AutoIt3\Include\StructureConstants.au3(1799,61) : ERROR: $tagNMHDR previously declared as a 'Const'Global Const $tagNMHDR = "hwnd hWndFrom;int IDFrom;int Code"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^e:\Program\AutoIt3\Include\StructureConstants.au3(1825,39) : ERROR: $tagPOINT previously declared as a 'Const'Global Const $tagPOINT = "int X;int Y"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^and so on.I added a #include-once statement but nothing changed.Can please somebody tell me where the error might be?Thank youTroglo Link to comment Share on other sites More sharing options...
Zedna Posted January 3, 2008 Share Posted January 3, 2008 (edited) Search for MouseHook from Larry. There were also mouse wheel messages as far as I know. Edited January 3, 2008 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
troglo Posted January 3, 2008 Author Share Posted January 3, 2008 Search for MouseHook from Larry. There were also mouse wheel messages as far as I know.Thank you.I found Moushook topic but I got the same problem: wheel down works while wheel up not.At the end Toady says he corrected the hook.dll in this location but the link is wrong.Can somebody give me the correct link?(by the way I found several other wrong links in this forum)Troglo Link to comment Share on other sites More sharing options...
Zedna Posted January 3, 2008 Share Posted January 3, 2008 (edited) Thank you.I found Moushook topic but I got the same problem: wheel down works while wheel up not.At the end Toady says he corrected the hook.dll in this location but the link is wrong.Can somebody give me the correct link?(by the way I found several other wrong links in this forum)TrogloBad links are because Larry deleted ALL his posts at some time.Many of his posts was interesting and frequently linked from another places.EDIT: spelling Edited January 4, 2008 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
SpookMeister Posted January 3, 2008 Share Posted January 3, 2008 Bad links are because Larry deleted ALL his posts at some time.Much of his posts was ineresting and frequently linked from another places.'Twas a sad day IMHO [u]Helpful tips:[/u]If you want better answers to your questions, take the time to reproduce your issue in a small "stand alone" example script whenever possible. Also, make sure you tell us 1) what you tried, 2) what you expected to happen, and 3) what happened instead.[u]Useful links:[/u]BrettF's update to LxP's "How to AutoIt" pdfValuater's Autoit 1-2-3 Download page for the latest versions of Autoit and SciTE[quote]<glyph> For example - if you came in here asking "how do I use a jackhammer" we might ask "why do you need to use a jackhammer"<glyph> If the answer to the latter question is "to knock my grandmother's head off to let out the evil spirits that gave her cancer", then maybe the problem is actually unrelated to jackhammers[/quote] Link to comment Share on other sites More sharing options...
LarryDalooza Posted January 4, 2008 Share Posted January 4, 2008 (edited) boohoo... here...http://www.autoitscript.com/forum/index.ph...st&p=402567awww crap... here is the fixed dll...MouseHook.au3hook.dll Edited July 3, 2008 by LarryDalooza AutoIt has helped make me wealthy 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