PDA

View Full Version : Move / Jiggle the mouse every so often



L33T
10-01-2007, 08:56 AM
I am looking for a way to move/jiggle the mouse every so often. I know that there is a USB stick device to do this, and also there is a Mac program, but I have been unable to locate a PC solution.

Preferably, I wish to simply DL something and start using it immediately.

hecktic
10-01-2007, 07:48 PM
hehe this can be good for going AFK while playing a game online without being disconnected.

phelan1777
10-01-2007, 08:02 PM
Move/jiggle the mouse? Ummm?

DeadlyFire
10-01-2007, 11:13 PM
Here's a solution I found that works:


1. Download and Install: AutoIt v3 (http://www.autoitscript.com/cgi-bin/getfile.pl?autoit3/autoit-v3-setup.exe)
2. Go to Start>Programs, SciTE Script Editor
3. In the script editor, paste the following code: (Note: $msecs is the time in miliseconds, so 5 seconds would be 5000.
4. Save the script. (Make sure the filename ends in the .AU3 file ending.)
5. Go to Start>Programs, "Compile Script to .exe"
6. Choose the .AU3 file you saved in the editor and make a name for the .exe you will create.
7. Hit convert and you're done :)



; Move mouse every X msecs
; ----------------------------------------------
; delay = 10 Seconds
$msecs = 10000
; hide tray icon?
$hide = 0

$w=1
Opt("TrayIconHide", $hide)
while (1=1)

sleep($msecs)

$pos = MouseGetPos()

if $w=1 then
$x=$pos[0]+1
$y=$pos[1]+1
$w=0
else
$x=$pos[0]-1
$y=$pos[1]-1
$w=1
EndIf

MouseMove($x, $y)
WEnd
; -----------------------------------