MasterFocus' AHK Page


Antonio França aka MasterFocus aka Tunis

Electronic Engineering student in Federal University of Rio de Janeiro (UFRJ). Considers programming a hobby.

Unless differently specified, all code here (and posted on the forum) is licensed under GNU LGPL (v3.0).

All code is up-to-date as of     20/JUL/2010 17:00h BRT


LIBRARIES:
    GPF v1.1c 08/JUN/2010 Online Reference Documentation
         Overlay DirectX8/9 applications with multiple texts and one image. Also takes screenshots and shows FPS.
    Type Functions 17/JUN/2010 Online Reference
         A group of functions to check, retireve and compare AHK variable types.

FUNCTIONS:
    WaitPixelColor 19/JUL/2009 Online Reference Example
         Waits for a pixel to be of a certain color. Features optional timeout.
    GetControlsInfo 11/AUG/2009 Online Reference Example
         Retrieves name, handle, position and size of all controls from a matching window.
    WRandom 12/AUG/2009 Online Reference Example
         Weighted random. Specify a weight for each field: the returned value is the number of the randomized field.
    RandomVar 25/AUG/2009 Online Reference Example
         Creates any kind of random content for a variable. Options include type (AHK variable type), length and ASCII range.
    GetDriveByLabel 29/SEP/2009 Online Reference
         Retrieves the letter of the first drive that matches the given label.
    ClearArray 16/MAR/2010 Example
         Clears the specified consecutive elements of an array without accidentally creating new elements/variables.
    GetFromList 16/MAR/2010 Online Reference (outdated) Example
         Retrieves a certain number of random items or all items containing a substring with optional matching position.
    RegExSort 27/APR/2010 Online Reference Example
         Returns a sorted version of an input list based on a RegEx needle and a precedence order for any subpatters.
    Dec2Roman & Roman2Dec 05/JUN/2010 Online Reference Example
         A pair of functions created to perform convertions between decimal and roman numbers.
    ImageSearchList 09/JUN/2010 Online Reference Example
         Finds multiple instances of a specified image on screen and returns a list of matching coordinates.
    GetTuples 22/JUN/2010 Online Reference Example
         Arrange the given elements into N-tuples, where N must also be provided.

TEMPLATES:
    Checkboxes 15/SEP/2009 Online Reference
         Use a simple GUI with checkboxes to work with selectable items.
    WinTrigger 15/MAR/2010 Online Reference (outdated)
         Perform actions upon (de)activation or (un)existance of certain windows/programs.

MY CONTRIBUTIONS TO ROSETTACODE:
    Hailstone Sequence 10/MAR/2010 Online Reference
         Calculates the Hailstone sequence (and its length) for a provided initial number.
    Price Fraction 10/APR/2010 Online Reference
         A specialised rounding function to work according to a certain table.
    Number Reversal Game 10/APR/2010 Online Reference
         A game where you get a jumbled list of numbers (1-9) and must attain the ascending order by only reversing them from the left side.
    String Repetition 10/APR/2010 Online Reference
         An example showing the simplest way to repeat a string in AutoHotkey.
    Dot Product 10/APR/2010 Online Reference
         A simple function which computes the dot product (aka scalar product) of two vectors.
    The N-Queens Problem 05/MAY/2010 Online Reference
         A function that uses a few global variables and solves the N-Queens Problem.
    Missing Permutations 09/MAY/2010 Online Reference
         Function designed to find one or more missing permutations of a given set.
    HQ9+ Interpreter 19/MAY/2010 Online Reference
         A small simple function which executes a HQ9+ code.

Unorganized functions and snippets:
-- Click Here --