Jump to content
Sign in to follow this  
thecheese1191

HOw do i disable the mouse?

Recommended Posts

BlockInput () But that affects the keyboard aswell.

Share this post


Link to post
Share on other sites

GUICtrlSetCursor ( controlID, 7 )


[center]AutoIT + Finger Print Reader/Scanner = COOL STUFF -> Check Out Topic![/center][center][font=Arial Black]Check out ConsultingJoe.com[/font][/center][center]My Scripts~~~~~~~~~~~~~~Web Protocol Managing - Simple WiFi Scanner - AutoTunes - Remote PC Control V2 - Audio SpectrascopePie Chart UDF - At&t's TTS - Custom Progress Bar - Windows Media Player Embed[/center]

Share this post


Link to post
Share on other sites

GUICtrlSetCursor ( controlID, 7 )

Actually, I don't know if you could use this on any and all windows? Can you get the controlID of the current control that the mouse is over?

[center]AutoIT + Finger Print Reader/Scanner = COOL STUFF -> Check Out Topic![/center][center][font=Arial Black]Check out ConsultingJoe.com[/font][/center][center]My Scripts~~~~~~~~~~~~~~Web Protocol Managing - Simple WiFi Scanner - AutoTunes - Remote PC Control V2 - Audio SpectrascopePie Chart UDF - At&t's TTS - Custom Progress Bar - Windows Media Player Embed[/center]

Share this post


Link to post
Share on other sites

i dont get what a control is... heres the program

#include <GuiConstants.au3>

HotKeySet("{ENTER}", "catchguikey")

$gui = GuiCreate("xxxxx")

GuiCtrlCreateLabel("xxxxx", 0, 0)

GuiSetState()

While 1

$msg = GUIGetMsg()

If $msg = $GUI_EVENT_CLOSE Then ExitLoop

Wend

Func catchguikey()

Local $opt = Opt("WinTitleMatchMode", 4)

If @HotKeyPressed = "{ENTER}" Then

$pos = MouseGetPos()

Mouse moves

EndIf

Opt("WinTitleMatchMode", $opt)

EndFunc

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
Sign in to follow this  

×
×
  • Create New...