AlmarM

AutoIt powered mouse events, _Mouse_UDF

17 posts in this topic

#1 ·  Posted (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. :D

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 by AlmarM
4 people like this

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.

Share this post


Link to post
Share on other sites



Sorry to be a pain, but would you be able to wrap this up in a ZIP file. Thanks


_AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_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 parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 04/09/2015

Share this post


Link to post
Share on other sites

Sorry to be a pain, but would you be able to wrap this up in a ZIP file. Thanks

No problem, check first post. :D


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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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. :P


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.

Share this post


Link to post
Share on other sites

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!


_AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_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 parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 04/09/2015

Share this post


Link to post
Share on other sites

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. :P

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.

Share this post


Link to post
Share on other sites

OK. $g_ would have been suffice. Thanks.


_AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_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 parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 04/09/2015

Share this post


Link to post
Share on other sites

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).


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites

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. :D

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. :graduated:


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.

Share this post


Link to post
Share on other sites

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. :P

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)

Share this post


Link to post
Share on other sites

Nice work! Thanks~ AlmarM

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

getting error  [error: missing separator character before keyword.] in the UDF while executing the example.au3

Share this post


Link to post
Share on other sites

#15 ·  Posted (edited)

getting error  [error: missing separator character before keyword.] in the UDF while executing the example.au3

I 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 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.

Share this post


Link to post
Share on other sites
>"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

Paster - Main function is to paste text, but has more functions.

OpenW - Open With... alternative, Open any file with any application, set it's icon, set application as default.

Renamer - Rename files and folders, remove portions of text from the filename etc.

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

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.

Firefox Profile Backup - Backup/restore previously saved profile.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

 

Share this post


Link to post
Share on other sites
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. :)

1 person likes this

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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now