background preloader

Tutorial: Macro and Hotkey Creation

Tutorial: Macro and Hotkey Creation
This brief introduction will help you start scripting your own macros and hotkeys right away. Tutorial Contents Creating a script Each script is a plain text file containing commands to be executed by the program (AutoHotkey.exe). A script may also contain hotkeys and hotstrings, or even consist entirely of them. To create a new script: Download and install AutoHotkey. In the line above, the first character "#" stands for the Windows key; so #space means holding down the Windows key then pressing the spacebar to activate the hotkey. Save and close the file. Notes: Multiple scripts can be running simultaneously, each with its own icon in the taskbar notification area. Launching a program or document The Run command is used to launch a program, document, URL, or shortcut. Run Notepad Run C:\My Documents\Address List.doc Run C:\My Documents\My Shortcut.lnk Run Run A hotkey can be assigned to any of the above examples by including a hotkey label. ^! Related:  AutoHotKey

AutoHotKey Video Software Review AutoHotKey Synopsis AutoHotKey (AHK) is a quick and simple program that automates common tasks on your PC. AutoHotKey Full Review Note: Also check out Jayme's AHK Guide for Beginners to learn more about these useful tools. We could talk all day about what AutoHotKey can do for an online poker player, but you probably don't have all day. Get started by downloading and installing AutoHotKey - Multi-table automation - AHK scripts can open tables for you, place them in preset places on your screen, show you which tables need your attention, and then top off your stack any time it gets below a certain level. Simple game tasks - AHK can allow you to control the betting slider in no-limit and pot-limit games with your mouse wheel, play with a Playstation controller, hide pop-ups, and hundreds of other tasks. Datamining - AHK can open tables, keep them open, and help you get the data from them without any work or input from you. Member Reviews

Fun with aspell word lists The GPL spell checking program aspell has support for many languages, including my native language, Dutch. Since it's open source, so are the dictionaries, which means that we should be able to extract a word list. And complete word lists for a language are simply fun to play with. Unfortunately aspell is too advanced to use a plain text word list. aspell dump master This will print the entire word list for your default language. aspell -l nl dump master The argument to -l is the ISO 639 language code (see man aspell for details). When we run aspell dump master for Dutch we get something unexpected: blaat/MWPG bloeit/KU bloot/G blootte blote/N There are strange tags attached to the end of many words. aspell -l nl dump master | aspell -l nl expand That's better: blaat geblaat blaatten blaatten blaatte blaten bloeit opbloeit uitbloeit bloot gebloot blootte blote bloten If we now pipe this through tr we get all variations on separate lines as well. SFX M N 13 SFX M 0 ben b SFX M 0 den d ...

The Beginner’s Guide to Using an AutoHotkey Script AutoHotkey scripts are a great way to customize your computer, but may seem daunting at first. Don’t worry – getting started is much easier than it looks! Read on to see. [Image: mlinksva] Getting AutoHotkey The first thing you want to do is download and install AutoHotkey. Click the first one, the installer for AutoHotkey_L. A Bit of History: Why Are There Two Versions? You may be wondering why the download page offers both AutoHotkey_L and AutoHotkey Basic. Installing AutoHotkey Okay, now that you’ve downloaded the executable, it’s time to set it up. We recommend to keep this at the default, Unicode 32-bit. Getting The Script: Saving a Snippet Now that you’ve got AutoHotkey set up, it’s time to get your first script. Now run Notepad and paste the script in. Next, save the file somewhere on your computer. Pro Tip: Understanding Character Encodings Getting The Script: Saving a File Some scripts go on for more than just a few lines; these are often offered as files rather than pasted in-page.

International English wordlist (DOS format) A list of 109582 English words compiled and corrected in 1991 from lists obtained from the Interociter bulletin board. The original file said that the list came from Public Brand Software. This word list includes inflected forms, such as plural nouns and the -s, -ed and -ing forms of verbs. Thus the number of lexical stems represented in the list is considerably smaller than the total number of words. Homophones (comma-delimited database format) The list of American English homophones is based on the book _Handbook of Homophones_ by William Cameron Townsend, 1975. Each set of homophones is on a single line separated by commas.

How to Save Time by Automating Tedious Tasks with AutoHotkey Have you ever needed to perform the same mindless task over and over on your PC? Instead of wasting hours clicking buttons and hitting keys, this is the perfect time to use your AutoHotkey skills to make your PC do the work for you. Note: This particular example is a real one that I used earlier today to save a small amount of time, but these are techniques that I’ve used many times over the years to literally save myself days worth of time. The Scenario I was trying to go through and clean out a bunch of incorrect broadcast messages in our email newsletter account, when I realized that their interface required me to manually click the Delete button and then confirm it on every single message—we’re talking about 300 incorrect messages that needed to be deleted. Instead of doing that, I created a new AutoHotkey script and quickly wrote up a script to do the work for me. Luckily the Delete button is automatically highlighted, so you can simply hit the Space key to confirm. Loop 300 { }

Wing Balans by Varier The best kneeling chair ever created. Quick-ship chairs ship within 1-2 business days. Below we have included swatches for upholsteries that qualify as quick-ship. If you are interested in an upholstery not listed as quick-ship, please visit our special order Wing Balans page. Like all of the chairs in Varier's balans family, the Wing balans opens the angle between the thighs and torso. Instead of the static, upright position of traditional chairs, the Wing Balans allows the spine to find its natural curve. An adjustable lift and knee pad makes the Wing Balans an ideal option for a variety of work heights and users. The Varier Wing Balans is the perfect instrument for the ever-changing demands of today's work places and lifestyles. The benefits are not just for adults, as the posture, breathing, and energy enhancements of active sitting have been directly correlated with improved homework performance in adolescents. Humans were created to move, not to sit still. Wing Balans Features

Scripts and Macros Table of Contents Introduction The Top of the Script (the Auto-execute Section): This portion executes automatically when the script starts. Escape Sequences: When to use `% and `, to indicate a literal percent sign or comma. Introduction Each script is a plain text file containing lines to be executed by the program (AutoHotkey.exe). The program loads the script into memory line by line, and each line may be up to 16,383 characters long. The Top of the Script (the Auto-execute Section) After the script has been loaded, it begins executing at the top line, continuing until a Return, Exit, hotkey/hotstring label, or the physical end of the script is encountered (whichever comes first). A script that is not persistent and that lacks hotkeys, hotstrings, OnMessage, and GUI will terminate after the auto-execute section has completed. Escape Sequences AutoHotkey's default escape character is accent/backtick (`), which is at the upper left corner of most English keyboards. MsgBox This is ok.

Mechanical Keyboard Guide Terminology First, it's worth noting that modern keyboards use a matrix to detect when keys are pressed. This is required so each individual key (of which there may be over 100) doesn't need to be connected to the board controller separately. Ghosting The event when two keys on the board are pressed, and a third key that you didn't press is triggered. Key Blocking The event when maximum key rollover is reached and the computer doesn't register certain keys that are pressed. This can be a little hard to comprehend, so consider this example: Imagine the keys Q, W and E are set up on the board so that if you press Q and W then E might is triggered due to ghosting. Key Rollover (#KRO & NKRO) NKRO is the ideal rollover for a keyboard, no ghosting or key blocking issues and any number of key combinations can be used at the same time. Note that despite the precise definition, there are two different versions of NKRO, true NKRO and simulated NKRO. Inputs Advantages: Disadvantages:

Tutorial for Newbies Tutorial for Newbies As a person who started using AHK having absolutely zero programming experience (never taken a class or read a book on computers in my life), I will give you my 2 cents on learning it. I think exploring the forum works great if you have even a little bit of background in this area. If, like me, you have none, I would learn it in the following order (this is how I would do it if I had to do it over again). My reasoning here is that for a person starting from scratch, you need to learn concepts before learning commands, and the forum is geared more towards commands. First read the Tutorial, the Scripts page, and then the FAQ. When you're wondering how to accomplish a specific task in AHK, remember that most of the commands have a common naming scheme to identify what they do. Commands dealing with files start with File.Commands dealing with windows start with Win.Commands dealing with text start with String. Similarly:

The Large Touchpad - like Ergonomic Touchpad, but larger. Perfect for touchpad, touchpad mouse, laptop mouse, gps touchpad. In stock, Usually ships the next day, Questions Contact Sometimes bigger is better. Extra large touchpads have the same functions as the standard sized Ergonomic Touchpads but they are almost 3 times the size. Thin, Water Resistant, Durable and fast, Works on all computers, PC, Mac, Laptops, Desktops, Tablet PC, and more... Works right along side your current mouse or touchpad. Put it anywhere so you don't always have to reach for your mouse, on tables, desks, in cars and workshops. Almost 3 times the size of the standard touchpad! FREE TOUCHPAD PROGRAMOur touchpads work automatically when plugged in but if you want Gestures, more speed, control, precision 8 different scrolling options, rotation, programmable features, motion extenders and much more.........For Windows 8, Windows 7, Vista, XP and 64 bit versions Windows:Works with Windows 8 / Windows 7 / Vista / XP / 2000 Automatically starts working when plugged in!

FAQ Language Syntax Common Tasks Hotkeys, Hotstrings, and Remapping Language Syntax When are quotation marks used with commands and their parameters? Double quotes (") have special meaning only within expressions. When exactly are variable names enclosed in percent signs? Variable names are always enclosed in percent signs except in cases illustrated in bold below: 1) In parameters that are input or output variables: StringLen, OutputVar, InputVar 2) On the left side of an assignment: Var = 123abc 3) On the left side of traditional (non-expression) if-statements: If Var1 < %Var2% 4) Everywhere in expressions. When should percent signs and commas be escaped? Literal percent signs must be escaped by preceding them with an accent/backtick. When commas or percent signs are enclosed in quotes within an expression, the accent is permitted but not necessary. Common Tasks Why do some lines in my script never execute? #space:: ; Win+Spacebar Run Notepad WinWaitActive Untitled - Notepad WinMaximize return ^!

Truly Ergonomic Keyboard (Review) This page is a review of the “Truly Ergonomic keyboard” (TEK). This one is from It comes with a palm rest that can be detached. Key Layout Design This is a superb keyboard. Frequently used special keys {Enter ↵, ⌦ Delete, Tab ↹}, are placed in the middle, to be pressed by strong index finger, instead of on the side by weak pinky.Key groups are angled for each hand, so you don't have to bend your wrists. For detail about traditional PC keyboard problems, see: Keyboard Hardware Design Flaws. One extra point for this keyboard is that it kept the {F1, F2, …} keys, and in 3 separate groups. Key Switch Mechanism and Hardware Quality This keyboard is also quality build. The keyboard has 6-key rollover. 〔☛ Keyboard Ghosting & N-key Rollover〕 Size Comparison Note that sizes from photos can be deceiving. The design of this one seems one of the best. TEK Key Config Tool The firmware updater is for Microsoft Windows only, so you need to have access to a Windows machine.