Forum › Forums › New users › New Users and General Questions › Automatic Click Program › Reply To: Automatic Click Program
Read the xdoltool man page; here is a short abstract:
DOTOOL(1) XDOTOOL(1)
NAME
xdotool – command-line X11 automation tool
SYNOPSIS
xdotool cmd args…
Notation: Some documentation uses [window] to denote an optional window
argument. This case means that the argument, if not present, will
default to “%1”. See “WINDOW STACK” for what “%1” means.
DESCRIPTION
xdotool lets you programmatically (or manually) simulate keyboard input
and mouse activity, move and resize windows, etc. It does this using
X11’s XTEST extension and other Xlib functions.
There is some support for Extended Window Manager Hints (aka EWMH or
NetWM). See the “EXTENDED WINDOW MANAGER HINTS” section for more
information.
Comments: In essence this tool allows you to perform keyboard and mouse activities through the program. In your script, you are looping up to ten times, and you are repeating what appears to be ten mouse clicks each second, waiting a second, and repeating ten mouse clicks. I’m not an expert with this tool, having never used it, so I am not 100% positive that is the actual behavior, but that is what appears to be the intent, or something similar. By altering the parameters and numbers used in the script, you can alter the manner in which you use the tool.
Others who are more certain of the actual behavior may provide better, more precise and accurate explanations, but this is my “best guess” at what is taking place.
As far as xdotool, this IS a tool that could easily be installed (if not installed for some reason; Xecure states it IS installed by default). Run the command sudo apt-get update; sudo apt-get install xdotool and it should be possible to install it.
- This reply was modified 5 years, 5 months ago by Brian Masinick.
--
Brian Masinick
Alternate "Search B":
This search page