Titan's Scripts.ahk

Advanced Benchmark

Benchmarks each section of code with a very high precision timer and calculates the standard deviation and performance ranks for comparison.

Version History

# Date Description
RC1 2007-05-13 Created

Anchor

Defines how controls should be automatically positioned relative to the new dimensions of a GUI when resized.

Version History

# Date Description
4.56 2008-01-06 Bug fixes
4.52 2008-01-05 Rewrite
4.1 2007-08-20 Changed last parameter to redraw option
4.0 2007-06-20 Replaced RegEx table with structs for increased performance
3.6 2007-05-22 Added support for controls and added reset functionality
3.5.1 2007-03-12 Added automatic escaping for special RegEx characters([\^$.|?*+())
3.5 2007-01-15 Simplified procedure with fewer loops and expressions
3.4.2 2006-12-16 Fixed bug with parsing height values
3.4.1 2006-11-27 Further improvements to RegEx
3.4 2006-11-26 Shortened script with RegEx and other expression shortcuts
3.3 2006-08-28 Added support for relative sizing
3.2 2006-08-15 Combined expressions and removed redundant code
3.1 2006-08-14 Added window-specific control management
3.0 2006-08-13 Rewrite - positions are automatically calculated
2.0 2006-08-12 Complete rewrite
1.2 2006-05-14 Improved optional parameter handling
1.1 2006-04-16 Minor rewrite
RC1 2005-10-31 Created

CMYK-RGB

These two functions convert CMYK values to RGB and vice versa.

Version History

# Date Description
1.2 2006-12-18 Shortened script
1.1 2006-06-20 Added rounding parameter torgb()
RC1 2006-06-19 Created

Currency

A basic currency converter that uses the latest rates from Yahoo! Finance .

Version History

# Date Description
RC1 2006-07-23 Created

Date Parser

Converts almost any date format to a YYYYMMDDHH24MISS value.

Version History

# Date Description
1.04 2007-07-01 Fixed am/pm time parsing bugs introduced in version 1.03
1.03 2007-06-30 Fixed error with certain times such as 12.30 am/pm
1.02 2007-06-25 Corrected float format setting
1.01 2007-06-25 Fixed ISO date bug
RC1 2007-06-23 Created

Decimal-Binary

Converts a binary string to an integer and vice versa.

Version History

# Date Description
1.2 2007-01-05 Added LSB-skip parameters
1.1 2006-10-23 Updated toInt() with a signed parameter and toBin() to return a specified number bits
RC1 2006-10-22 Created

Email Encryption

Encodes an email address into a string of alternating hexadecimal and decimal HTML entities which make it harder for spam bots to parse your web pages.

Version History

# Date Description
2.0 2007-03-19 Improved algorithm
RC1 2007-01-04 Created

Functions

A wrapper set of functions for commands which have an output variable.

Version History

# Date Description
1.5 2008-01-01 StdLib compliance
1.11 2006-10-26 Added EnvGet
1.1 2006-08-04 Added extra functions
RC1 2005-05-25 Created

grep

Find all matches of a regex in a string.

Version History

# Date Description
2.0 2007-09-28 Removed RegExMatchAll() and added grepcsv()
1.3 2007-05-26 Added more options to grep()
1.2 2007-02-12 Improved grep()
1.1 2007-01-29 Created, then updated grep() to return positions
RC1 2007-01-29 Created

Dynamic Hotstrings

Dynamically adds regular expression hotstrings.

Version History

# Date Description
2.0 2007-12-21 Rewrite
1.0 2007-02-04 Created
RC1 2007-02-04 Created

INI Library

A set of functions for modifying INI files in memory and writing them later to file. Useful for parsing a large data sets with minimal disk reads.

Version History

# Date Description
1.08 2007-12-19 Updated save and load functions to accept source as input rather than just files.
1.06 2007-12-19 Added two new functions for finding section names with regex and converting INI to XML.
1.04 2007-12-16 Fixed bug with writing new values.
1.02 2007-12-02 Fixed glitch with default value in read function.
1.01 2007-12-02 Added linfeed normalization for compatibility with DOS/MAC files.
RC1 2007-12-02 Created

LVX

Row colouring and cell editing functions for ListView controls.

Version History

# Date Description
1.04 2007-12-13 Fixed spacing and added accept/cancel hotkeys.
RC1 2007-12-12 Created

RegionWaitChange

Waits for a region of a window to change or stop changing.

Version History

# Date Description
1.01 2007-09-02 Minor bugfix
RC1 2007-08-15 Created

Uuencode

A set of Unix binary to text conversion functions.

Version History

# Date Description
1.2 2007-05-29 Minor improvements
1.1 2006-11-20 Shortened
RC1 2006-09-09 Created

UUID/GUID

Generates a time-based UUID string.

Version History

# Date Description
1.1 2006-12-15 Added option to use real clock and node IDs
RC1 2006-12-14 Created

XPath

Reads and writes values to a standard XML document.

Version History

# Date Description
3.12 2008-12-29 Numerous bug fixes and much improved documentation.
3.10 2007-11-22 Rewrite
2.05 2007-11-07 Fixed regex error with attribute parsing.
2.04 2007-10-31 Fixed file reading bug in load function.
2.03 2007-10-30 Complete rewrite.
1.03 2007-04-15 Several parser fixes
1.02 2007-04-10 Changed predicate expressions to also remove generated spaces
1.01 2007-04-06 Fixed parser to ignore unescaped closing tags and remove generated spaces
RC1 2007-03-17 Created

RegEx Analyzer

Screenshot of RegEx Analyzer This parses regex to show modifiers, subpatterns, alternations and repetitions in a hierarchical format. Special characters like \b and $ are defined and all groups are matched and displayed in a ListView.

Version History

# Date Description
Alpha 2 2007-05-04 Several parser and UI modifications
RC1 2007-05-02 Created
Copyright © 2007 - Valid XHTML - Valid CSS3