Popular Post AlmarM Posted October 17, 2013 Popular Post Share Posted October 17, 2013 (edited) Hiya! I'm currently working on a project which involves the mouse and its properties. For this I was in need for a mouse UDF which could capture certain events. I have found some of the many here on the forums, but quite some are using DLL's. I'm not saying this is bad, it's good! But, my application crashed for unknown reasons when compiled to x64. The way this UDF works, is that it checks every tick for certain conditions to be met. For example: if you have registered a double click event, it will check every frame for double click condition and then call the given function if necessary. So I decided to write my own little _Mouse_UDF powered in autoit itself and share it with the rest of the community. Feel free to leave any feedback, negative or positive. Current events $EVENT_MOUSE_IDLE - triggers when the mouse is idle $EVENT_MOUSE_MOVE - triggers when the mouse moves $EVENT_PRIMARY_CLICK - triggers when the primary button is clicked $EVENT_PRIMARY_DBLCLICK - triggers when the primary button is double clicked $EVENT_PRIMARY_RELEASED - triggers when the primary button is released $EVENT_PRIMARY_DOWN - triggers when the primary button is pressed $EVENT_PRIMARY_UP - triggers when the primaty button is not pressed $EVENT_SECONDARY_CLICK - same as primary conditions, but for this button $EVENT_SECONDARY_DBLCLICK - same as primary conditions, but for this button $EVENT_SECONDARY_RELEASED - same as primary conditions, but for this button $EVENT_SECONDARY_DOWN - same as primary conditions, but for this button $EVENT_SECONDARY_UP - same as primary conditions, but for this button $EVENT_MIDDLE_CLICK - same as primary conditions, but for this button $EVENT_MIDDLE_DBLCLICK - same as primary conditions, but for this button $EVENT_MIDDLE_RELEASED - same as primary conditions, but for this button $EVENT_MIDDLE_DOWN - same as primary conditions, but for this button $EVENT_MIDDLE_UP - same as primary conditions, but for this button $EVENT_X1_CLICK - same as primary conditions, but for this button $EVENT_X1_DBLCLICK - same as primary conditions, but for this button $EVENT_X1_RELEASED - same as primary conditions, but for this button $EVENT_X1_DOWN - same as primary conditions, but for this button $EVENT_X1_UP - same as primary conditions, but for this button $EVENT_X2_CLICK - same as primary conditions, but for this button $EVENT_X2_DBLCLICK - same as primary conditions, but for this button $EVENT_X2_RELEASED - same as primary conditions, but for this button $EVENT_X2_DOWN - same as primary conditions, but for this button $EVENT_X2_UP - same as primary conditions, but for this button Current properties $MOUSE_X - current mouse x $MOUSE_Y current mouse y $MOUSE_PREV_X - previous mouse x $MOUSE_PREV_Y - previous mouse y $MOUSE_VEL_X - current mouse x velocity $MOUSE_VEL_Y - current mouse y velocity Current functions _Mouse_RegisterEvent($iEventType, $sCallBack, $avArgs = -1) - registers a function to an event, use an array for arguments _Mouse_UnRegisterEvent($iEventType) - unregister a function from an event _Mouse_Update() - the main update loop, updates the mouse udf logic _Mouse_GetColor($iColorType, $hWnd = Default) - gets the current mouse xy pixel color, in 3 different color type available; decimal, hex and rgb Mouse UDF.zip Edited March 10, 2016 by AlmarM mvk25, Zmy, IgImAx and 2 others 5 Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes. Link to comment Share on other sites More sharing options...
guinness Posted October 17, 2013 Share Posted October 17, 2013 Sorry to be a pain, but would you be able to wrap this up in a ZIP file. Thanks UDF List: _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _BinaryBin() • _CheckMsgBox() • _CmdLineRaw() • _ContextMenu() • _ConvertLHWebColor()/_ConvertSHWebColor() • _DesktopDimensions() • _DisplayPassword() • _DotNet_Load()/_DotNet_Unload() • _Fibonacci() • _FileCompare() • _FileCompareContents() • _FileNameByHandle() • _FilePrefix/SRE() • _FindInFile() • _GetBackgroundColor()/_SetBackgroundColor() • _GetConrolID() • _GetCtrlClass() • _GetDirectoryFormat() • _GetDriveMediaType() • _GetFilename()/_GetFilenameExt() • _GetHardwareID() • _GetIP() • _GetIP_Country() • _GetOSLanguage() • _GetSavedSource() • _GetStringSize() • _GetSystemPaths() • _GetURLImage() • _GIFImage() • _GoogleWeather() • _GUICtrlCreateGroup() • _GUICtrlListBox_CreateArray() • _GUICtrlListView_CreateArray() • _GUICtrlListView_SaveCSV() • _GUICtrlListView_SaveHTML() • _GUICtrlListView_SaveTxt() • _GUICtrlListView_SaveXML() • _GUICtrlMenu_Recent() • _GUICtrlMenu_SetItemImage() • _GUICtrlTreeView_CreateArray() • _GUIDisable() • _GUIImageList_SetIconFromHandle() • _GUIRegisterMsg() • _GUISetIcon() • _Icon_Clear()/_Icon_Set() • _IdleTime() • _InetGet() • _InetGetGUI() • _InetGetProgress() • _IPDetails() • _IsFileOlder() • _IsGUID() • _IsHex() • _IsPalindrome() • _IsRegKey() • _IsStringRegExp() • _IsSystemDrive() • _IsUPX() • _IsValidType() • _IsWebColor() • _Language() • _Log() • _MicrosoftInternetConnectivity() • _MSDNDataType() • _PathFull/GetRelative/Split() • _PathSplitEx() • _PrintFromArray() • _ProgressSetMarquee() • _ReDim() • _RockPaperScissors()/_RockPaperScissorsLizardSpock() • _ScrollingCredits • _SelfDelete() • _SelfRename() • _SelfUpdate() • _SendTo() • _ShellAll() • _ShellFile() • _ShellFolder() • _SingletonHWID() • _SingletonPID() • _Startup() • _StringCompact() • _StringIsValid() • _StringRegExpMetaCharacters() • _StringReplaceWholeWord() • _StringStripChars() • _Temperature() • _TrialPeriod() • _UKToUSDate()/_USToUKDate() • _WinAPI_Create_CTL_CODE() • _WinAPI_CreateGUID() • _WMIDateStringToDate()/_DateToWMIDateString() • Au3 script parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018 Link to comment Share on other sites More sharing options...
AlmarM Posted October 17, 2013 Author Share Posted October 17, 2013 Sorry to be a pain, but would you be able to wrap this up in a ZIP file. Thanks No problem, check first post. Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes. Link to comment Share on other sites More sharing options...
joseLB Posted October 18, 2013 Share Posted October 18, 2013 Hi Almar Thanks for sharing. In a mouse tablet, like in notebooks (win 7, at least), you can also make zoom, rotate, etc. Do you believe that you could include in your UDF the detections of kind of interactions? They are standard? Thanks Jose Link to comment Share on other sites More sharing options...
AlmarM Posted October 18, 2013 Author Share Posted October 18, 2013 Hi Almar Thanks for sharing. In a mouse tablet, like in notebooks (win 7, at least), you can also make zoom, rotate, etc. Do you believe that you could include in your UDF the detections of kind of interactions? They are standard? Thanks Jose I'm not familiar with those mouse tablets. My UDF is using the _IsPressed UDF from Misc.au3. If you know the keycode for those buttons you mentioned, I can include it. Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes. Link to comment Share on other sites More sharing options...
guinness Posted October 19, 2013 Share Posted October 19, 2013 Thanks. Hopefully people use 7-Zip or such-like to decompress the rar file. Now on to your UDF. I notice that in certain areas of your UDF/Example you're using 'magic numbers', please refrain from using them and opt for constant variables instead e.g. -3 should be $GUI_EVENT_CLOSE as it's obvious to the end user what is happening. Dim is deprecated in AutoIt (though still exists for backwards compatibility). For $___aiMousePos it should be Local, as it's Local to the scope and not used elsewhere. OR wrap in a function. You might want to re-think about your Global variable names, as I dare say someone who uses your UDF will more than likely have a variable somewhere called $abOldStates or such-like. Perhaps a prefix of $g_ME_VarName would be a better choice. You decide which is unique to you. All in all it didn't crash on 64-bit Windows 7, so well done! UDF List: _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _BinaryBin() • _CheckMsgBox() • _CmdLineRaw() • _ContextMenu() • _ConvertLHWebColor()/_ConvertSHWebColor() • _DesktopDimensions() • _DisplayPassword() • _DotNet_Load()/_DotNet_Unload() • _Fibonacci() • _FileCompare() • _FileCompareContents() • _FileNameByHandle() • _FilePrefix/SRE() • _FindInFile() • _GetBackgroundColor()/_SetBackgroundColor() • _GetConrolID() • _GetCtrlClass() • _GetDirectoryFormat() • _GetDriveMediaType() • _GetFilename()/_GetFilenameExt() • _GetHardwareID() • _GetIP() • _GetIP_Country() • _GetOSLanguage() • _GetSavedSource() • _GetStringSize() • _GetSystemPaths() • _GetURLImage() • _GIFImage() • _GoogleWeather() • _GUICtrlCreateGroup() • _GUICtrlListBox_CreateArray() • _GUICtrlListView_CreateArray() • _GUICtrlListView_SaveCSV() • _GUICtrlListView_SaveHTML() • _GUICtrlListView_SaveTxt() • _GUICtrlListView_SaveXML() • _GUICtrlMenu_Recent() • _GUICtrlMenu_SetItemImage() • _GUICtrlTreeView_CreateArray() • _GUIDisable() • _GUIImageList_SetIconFromHandle() • _GUIRegisterMsg() • _GUISetIcon() • _Icon_Clear()/_Icon_Set() • _IdleTime() • _InetGet() • _InetGetGUI() • _InetGetProgress() • _IPDetails() • _IsFileOlder() • _IsGUID() • _IsHex() • _IsPalindrome() • _IsRegKey() • _IsStringRegExp() • _IsSystemDrive() • _IsUPX() • _IsValidType() • _IsWebColor() • _Language() • _Log() • _MicrosoftInternetConnectivity() • _MSDNDataType() • _PathFull/GetRelative/Split() • _PathSplitEx() • _PrintFromArray() • _ProgressSetMarquee() • _ReDim() • _RockPaperScissors()/_RockPaperScissorsLizardSpock() • _ScrollingCredits • _SelfDelete() • _SelfRename() • _SelfUpdate() • _SendTo() • _ShellAll() • _ShellFile() • _ShellFolder() • _SingletonHWID() • _SingletonPID() • _Startup() • _StringCompact() • _StringIsValid() • _StringRegExpMetaCharacters() • _StringReplaceWholeWord() • _StringStripChars() • _Temperature() • _TrialPeriod() • _UKToUSDate()/_USToUKDate() • _WinAPI_Create_CTL_CODE() • _WinAPI_CreateGUID() • _WMIDateStringToDate()/_DateToWMIDateString() • Au3 script parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018 Link to comment Share on other sites More sharing options...
AlmarM Posted October 19, 2013 Author Share Posted October 19, 2013 Thanks. Hopefully people use 7-Zip or such-like to decompress the rar file. Now on to your UDF. I notice that in certain areas of your UDF/Example you're using 'magic numbers', please refrain from using them and opt for constant variables instead e.g. -3 should be $GUI_EVENT_CLOSE as it's obvious to the end user what is happening. Dim is deprecated in AutoIt (though still exists for backwards compatibility). For $___aiMousePos it should be Local, as it's Local to the scope and not used elsewhere. OR wrap in a function. You might want to re-think about your Global variable names, as I dare say someone who uses your UDF will more than likely have a variable somewhere called $abOldStates or such-like. Perhaps a prefix of $g_ME_VarName would be a better choice. You decide which is unique to you. All in all it didn't crash on 64-bit Windows 7, so well done! Thanks for the feedback! I have updated my UDF and example. The fun fact is, I already thought I should use some kind of prefix, so that's why $___aiMousePos does have it. No clue why I stopped and didn't replace all other variables though. I replaced them all with $Q__ which seems pretty unique in my eyes. Should I also think of something for $MOUSE_X, $MOUSE_Y, etc? I have also updated the UDF a little bit with another function. Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes. Link to comment Share on other sites More sharing options...
guinness Posted October 19, 2013 Share Posted October 19, 2013 OK. $g_ would have been suffice. Thanks. UDF List: _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _BinaryBin() • _CheckMsgBox() • _CmdLineRaw() • _ContextMenu() • _ConvertLHWebColor()/_ConvertSHWebColor() • _DesktopDimensions() • _DisplayPassword() • _DotNet_Load()/_DotNet_Unload() • _Fibonacci() • _FileCompare() • _FileCompareContents() • _FileNameByHandle() • _FilePrefix/SRE() • _FindInFile() • _GetBackgroundColor()/_SetBackgroundColor() • _GetConrolID() • _GetCtrlClass() • _GetDirectoryFormat() • _GetDriveMediaType() • _GetFilename()/_GetFilenameExt() • _GetHardwareID() • _GetIP() • _GetIP_Country() • _GetOSLanguage() • _GetSavedSource() • _GetStringSize() • _GetSystemPaths() • _GetURLImage() • _GIFImage() • _GoogleWeather() • _GUICtrlCreateGroup() • _GUICtrlListBox_CreateArray() • _GUICtrlListView_CreateArray() • _GUICtrlListView_SaveCSV() • _GUICtrlListView_SaveHTML() • _GUICtrlListView_SaveTxt() • _GUICtrlListView_SaveXML() • _GUICtrlMenu_Recent() • _GUICtrlMenu_SetItemImage() • _GUICtrlTreeView_CreateArray() • _GUIDisable() • _GUIImageList_SetIconFromHandle() • _GUIRegisterMsg() • _GUISetIcon() • _Icon_Clear()/_Icon_Set() • _IdleTime() • _InetGet() • _InetGetGUI() • _InetGetProgress() • _IPDetails() • _IsFileOlder() • _IsGUID() • _IsHex() • _IsPalindrome() • _IsRegKey() • _IsStringRegExp() • _IsSystemDrive() • _IsUPX() • _IsValidType() • _IsWebColor() • _Language() • _Log() • _MicrosoftInternetConnectivity() • _MSDNDataType() • _PathFull/GetRelative/Split() • _PathSplitEx() • _PrintFromArray() • _ProgressSetMarquee() • _ReDim() • _RockPaperScissors()/_RockPaperScissorsLizardSpock() • _ScrollingCredits • _SelfDelete() • _SelfRename() • _SelfUpdate() • _SendTo() • _ShellAll() • _ShellFile() • _ShellFolder() • _SingletonHWID() • _SingletonPID() • _Startup() • _StringCompact() • _StringIsValid() • _StringRegExpMetaCharacters() • _StringReplaceWholeWord() • _StringStripChars() • _Temperature() • _TrialPeriod() • _UKToUSDate()/_USToUKDate() • _WinAPI_Create_CTL_CODE() • _WinAPI_CreateGUID() • _WMIDateStringToDate()/_DateToWMIDateString() • Au3 script parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018 Link to comment Share on other sites More sharing options...
FireFox Posted October 19, 2013 Share Posted October 19, 2013 I was expecting a real event function but it's not. You call repeatedly a function to check if a click has happened, but I see the UDF is well done and your objective was to make it user friendly. Concerning the others UDF crashing, either there are some mistakes or it AutoIt has its limits (I would choose the first option). Link to comment Share on other sites More sharing options...
AlmarM Posted October 19, 2013 Author Share Posted October 19, 2013 I was expecting a real event function but it's not. You call repeatedly a function to check if a click has happened, but I see the UDF is well done and your objective was to make it user friendly. Concerning the others UDF crashing, either there are some mistakes or it AutoIt has its limits (I would choose the first option). I have updated my first post to say how this UDF works. Thanks for the heads-up. I'm not sure why my compiled script crashed when using the other UDF which used DllCalls. If anyone else ever experienced it, and they can't figure out a solution, they might find this useful. Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes. Link to comment Share on other sites More sharing options...
joseLB Posted October 25, 2013 Share Posted October 25, 2013 I'm not familiar with those mouse tablets. My UDF is using the _IsPressed UDF from Misc.au3. If you know the keycode for those buttons you mentioned, I can include it. Sorry Almar, mouse TOUCHPAD, not tablet, present in all notebooks, like synaptics brand and others. On these devices, besides pointing, we also have zoom, rotate, etc.. I have no idea if they are specific for each touchpad (I think not, as graphical programs run on any notebook), browsers are expanded (zoomed in-out), by these movements, etc. So the idea would be to have events like $EVENT_MOUSE_ZOOM, $EVENT_MOUSE_ROTATE and properties like $MOUSE_ZOOM (-100 t0 100) and $MOUSE_ROTATE (-360 to 360) Link to comment Share on other sites More sharing options...
techbard Posted February 18, 2014 Share Posted February 18, 2014 Nice work! Thanks~ AlmarM AlmarM 1 Link to comment Share on other sites More sharing options...
ozmike Posted July 31, 2014 Share Posted July 31, 2014 Hi yes I experienced problems with the other UDFs (presumibly MouseSetEvent) when running a compiled EXE on 64 bit windows. So I created >MouseTrapEvent UDF which might work better on the 64 bit. cheers. Link to comment Share on other sites More sharing options...
Chrishna Posted January 12, 2016 Share Posted January 12, 2016 getting error [error: missing separator character before keyword.] in the UDF while executing the example.au3 Link to comment Share on other sites More sharing options...
AlmarM Posted January 14, 2016 Author Share Posted January 14, 2016 (edited) getting error [error: missing separator character before keyword.] in the UDF while executing the example.au3I have not touched the code for a long time, I think my UDF is not compatible with newer version of AutoIt anymore. As soon as I get home, I will take a look at it. EDIT: I have downloaded and started the example.au3 myself on the latest AutoIt version and I am having no issues. What AutoIt version are you using? Where are you getting the error? Edited January 14, 2016 by AlmarM Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes. Link to comment Share on other sites More sharing options...
careca Posted March 9, 2016 Share Posted March 9, 2016 expandcollapse popup>"C:\Program Files (x86)\AutoIt3\SciTE\..\AutoIt3.exe" "C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /run /prod /ErrorStdOut /in "C:\Users\careca\Desktop\Example.au3" /UserParams +>13:55:39 Starting AutoIt3Wrapper v.15.920.938.0 SciTE v.3.6.0.0 Keyboard:00000816 OS:WIN_10/ CPU:X64 OS:X64 Environment(Language:0409) +> SciTEDir => C:\Program Files (x86)\AutoIt3\SciTE UserDir => C:\Users\careca\AppData\Local\AutoIt v3\SciTE\AutoIt3Wrapper SCITE_USERHOME => C:\Users\careca\AppData\Local\AutoIt v3\SciTE >Running AU3Check (3.3.14.2) from:C:\Program Files (x86)\AutoIt3 input:C:\Users\careca\Desktop\Example.au3 "C:\Users\careca\Desktop\_Mouse_UDF.au3"(202,28) : error: missing separator character before keyword. If (__CheckMouseDown(0))Then ~~~~~~~~~~~~~~~~~~~~~~~~^ "C:\Users\careca\Desktop\_Mouse_UDF.au3"(207,26) : error: missing separator character before keyword. If (__CheckMouseUp(0))Then ~~~~~~~~~~~~~~~~~~~~~~^ "C:\Users\careca\Desktop\_Mouse_UDF.au3"(227,28) : error: missing separator character before keyword. If (__CheckMouseDown(1))Then ~~~~~~~~~~~~~~~~~~~~~~~~^ "C:\Users\careca\Desktop\_Mouse_UDF.au3"(232,26) : error: missing separator character before keyword. If (__CheckMouseUp(1))Then ~~~~~~~~~~~~~~~~~~~~~~^ "C:\Users\careca\Desktop\_Mouse_UDF.au3"(252,28) : error: missing separator character before keyword. If (__CheckMouseDown(2))Then ~~~~~~~~~~~~~~~~~~~~~~~~^ "C:\Users\careca\Desktop\_Mouse_UDF.au3"(257,26) : error: missing separator character before keyword. If (__CheckMouseUp(2))Then ~~~~~~~~~~~~~~~~~~~~~~^ "C:\Users\careca\Desktop\_Mouse_UDF.au3"(277,28) : error: missing separator character before keyword. If (__CheckMouseDown(3))Then ~~~~~~~~~~~~~~~~~~~~~~~~^ "C:\Users\careca\Desktop\_Mouse_UDF.au3"(282,26) : error: missing separator character before keyword. If (__CheckMouseUp(3))Then ~~~~~~~~~~~~~~~~~~~~~~^ "C:\Users\careca\Desktop\_Mouse_UDF.au3"(302,28) : error: missing separator character before keyword. If (__CheckMouseDown(4))Then ~~~~~~~~~~~~~~~~~~~~~~~~^ "C:\Users\careca\Desktop\_Mouse_UDF.au3"(307,26) : error: missing separator character before keyword. If (__CheckMouseUp(4))Then ~~~~~~~~~~~~~~~~~~~~~~^ C:\Users\careca\Desktop\Example.au3 - 10 error(s), 0 warning(s) !>13:55:39 AU3Check ended. Press F4 to jump to next error.rc:2 +>13:55:39 AutoIt3Wrapper Finished. >Exit code: 2 Time: 0.5948 Same here. Spoiler Renamer - Rename files and folders, remove portions of text from the filename etc. GPO Tool - Export/Import Group policy settings. MirrorDir - Synchronize/Backup/Mirror Folders BeatsPlayer - Music player. Params Tool - Right click an exe to see it's parameters or execute them. String Trigger - Triggers pasting text or applications or internet links on specific strings. Inconspicuous - Hide files in plain sight, not fully encrypted. Regedit Control - Registry browsing history, quickly jump into any saved key. Time4Shutdown - Write the time for shutdown in minutes. Power Profiles Tool - Set a profile as active, delete, duplicate, export and import. Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes. NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s. IUIAutomation - Topic with framework and examples Au3Record.exe Link to comment Share on other sites More sharing options...
AlmarM Posted March 10, 2016 Author Share Posted March 10, 2016 On 9-3-2016 at 2:57 PM, careca said: [snip] Same here. Aaah! There was a space missing. I have updated the zip file and should be working now. careca 1 Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes. 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