Mouse & keyboard macros, hotkeys, remapping of keyboard & mouse

C

Chris Mallett

AUTOHOTKEY OVERVIEW

Customize your keyboard and mouse with an open source, hotkey scripting
language that is backward compatible with AutoIt v2. If you're new to
scripting, there is an automatic script writer available that records your
keystrokes and mouse clicks and converts them into a working script (thanks
to Larry Keys). The help file is also filled with working examples of how
to automate everyday tasks.

AutoHotkey is more powerful than most commercially available hotkey
applications, able to make virtually *any* mouse button, keyboard key, or
combination into a hotkey. In addition, it can individually disable or
override Windows' own shortcut keys, such as Win-E and Win-R. It can also
create substitutes for Alt-Tab.


MAJOR AUTOMATION FEATURES

Retrieve or change virtually any setting of any soundcard.

Remap keys and mouse buttons.

Send keystrokes and mouse clicks to any window (without even needing to
activate it).

Launch programs, shortcuts, URLs, and documents.

Activate, hide, close, or resize any window.

Automate game actions using high-performance hotkeys and commands such as
PixelGetColor.

Retrieve and change the clipboard's contents, even if it contains files
copied from the Explorer.

Copy, move, delete, or change the timestamp/attributes of selected files and
folders.

Enumerate files and folders that match a wildcard pattern, allowing
virtually any operation to be performed on them all, one at a time.

Read, write, and parse text files more easily than in most other languages.

Work with the registry and INI files using the included interface commands.

Display scripted dialogs to interact with the user: MsgBox, FileSelectFile,
FileSelectFolder, InputBox.

Compile any script into an EXE.


LATEST UPDATES

Improved InputBox to allow a custom size and position to be specified. In
addition, the window can now be resized by dragging its borders.

Added built-in variable %A_IdleTimePhysical%, which is the amount of time
that has passed since the mouse or keyboard was last used [NT/2K/XP only].
It is similar to %A_IdleTime% except that it ignores artificial input (the
kind generated by scripts and programs), and thus may be more useful for
detecting whether the user is truly present.

Added command StringSplit, which divides a string into an array of
substrings using the specified delimiters.

Added new type of loop: string-parse. It retrieves substrings (fields) from
a string one by one (similar to StringSplit but uses less memory).

Added new type of loop: file-read. It reads the contents of a file (line by
line) with higher performance than FileReadLine.


Homepage: http://www.autohotkey.com
 
D

Dos-Man

Chris Mallett said:
AUTOHOTKEY OVERVIEW

Customize your keyboard and mouse with an open source, hotkey scripting
language that is backward compatible with AutoIt v2. If you're new to
scripting, there is an automatic script writer available that records your
keystrokes and mouse clicks and converts them into a working script (thanks
to Larry Keys). The help file is also filled with working examples of how
to automate everyday tasks.


Can it disable my mouse and keyboard for a specified amount of time? Usually
just a minute or two for me to clean them off with a wipy. I tried to do
this with AutoIt but it didn't disable anything. I'm using windows 98.

Dos-Man
__________________________________________________________

Author of PSassano's Legacy Pad text editor
 
C

Chris Mallett

Can it disable my mouse and keyboard for a specified amount of time?
Usually
just a minute or two for me to clean them off with a wipy. I tried to do
this with AutoIt but it didn't disable anything. I'm using windows 98.

The following short script should disable the keyboard and mouse for 90
seconds on Windows 98/Me (it will probably not work on Win95, however):

BlockInput, On
Sleep, 90000
BlockInput, Off

However, I can't explain why this same technique didn't work for you with
AutoIt (assuming this is the technique you tried). So if it doesn't, let me
know and I'll test it on Win98 here to see if I can discover a solution.
 
D

Dos-Man

Chris Mallett said:
However, I can't explain why this same technique didn't work for you with
AutoIt (assuming this is the technique you tried). So if it doesn't, let me
know and I'll test it on Win98 here to see if I can discover a solution.

It worked this time. AutoHotKey did an excellent job.
Another solid option for creating executable utilities.
I haven't been this happy since I added automatic word completion
to my launcher. :D

Thanks,

Dos-Man
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top