A brief reference to HackScript v.01

Basics:
-------
Lines are terminated by ';' characters.

Comments are enclosed in '/*' '*/ blocks.

Variables are preceded by '$' characters.

Assignment is done via '=';

Subroutines are formed by assigning a block of code to a variable
Example:
  $myCode = { tray $window; top $window; hide $window; };

Subroutines are executed via the 'eval' statement
Example:
  eval $mycode;
Note: function parameters are not yet supported.


Available Pre-Defined Variables:
--------------------------------
$window - the window matched by this function


Available Functions:
--------------------
size <window> <width> <height>
 - Sets the size of the window to the specified width and height.

move <window> <x> <y>
 - Moves the window to the specified x and y.

top <window>
 - Sets the window to stay on top.

untop <window>
 - Removes "always on top" status from the window.

tray <window>
 - Allows a window to minimize to a tray icon.

untray <window>
 - Removes the Hack-It provided tray icon for a window.

hide <window>
 - Hides a window.

show <window>
 - Shows a window.

maximize <window>
 - Maximizes a window.

minimize <window>
 - Minimizes a window.

restore <window>
 - Restores a window.

close <window>
 - Closes a window.

realtime <window>
 - Sets a window's main process to 'real-time' priority.

high <window>
 - Sets a window's main process to 'high' priority.

normal <window>
 - Sets a window's main process to 'normal' priority.

idle <window>
 - Sets a window's main process to 'idle' priority.

endtask <window>
 - Kill's a window's main process.

buttonpress <window>
 - Presses a window that is a button.
