Jump to content

Recommended Posts

Posted (edited)

hi,

sorry - I don't get an answer when I post my question in an existing thread:

my MouseTrap function needs to be permanently active - the mouse is being unblocked, when I change the active window (alt+tab)

(while the script is still running in the background)

sth like that:

#include <Misc.au3> 
_MouseTrap(0,0,0,0) 
sleep(5000)

does anyone have an idea? a link to an existing solution/explanation would be great too!

thx ;)

Edited by bambamfox
Posted

If I'm honest, that sort of thing sounds more like a nasty weapon than a nice tool.

Try this

While 1
    _Deploy mouse weapon(forever)
    For $i = 1 To infinity
       If user is pissed off Then
           MsgBox(0,"Ha Ha", "lol")
       EndIf
       Infinity +=1
    Next
Wend

Func _Deploy mouse weapon($time)
   Piss user off
EndFunc

;)

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...