Problem
Am looking to automatically move the mouse cursor and simulate mouse button clicks from the command-line using an external script. Am not lookin
README
instructionssudo apt-get install swig x11proto-xext-dev libx11-dev libxtst-dev cd /usr/local/src tar zxf xaut-0.2.0.tar.gz ./configure
src/Makefile
CFLAGS
line as follows:CFLAGS = -Wall -fPIC -fno-stack-protector
make
/usr/local/src/xaut-0.2.0/python/build/lib/*
to a new directory.mm.py
:import xaut mouse = xaut.mouse() delay mouse.move_delay( 100 ) mouse.move( 500, 500 )
python mm.py