Search: Home | Atlas | Guides | Tests | Research | Index | Recent Changes | Preferences | Login

Macros > Autohotkey > Grass Brick

Simple macros for Autohotkey

To use simply paste into a document with a .ahk extension.

You may need or wish to play with the formatting as the wiki deletes/inserts extra lines. Shame there's no <pre> tag available (that I am aware of).


; ATITD shortcuts/Macros.

; Hotkeys for brickracks to save RSI ; Ensure ; 1. hotkeys for brickracks turned OFF ; 2. Position mouse to left of menu ON ; 3. Larger font size in chat area. ; You also need the chat window minimised to take the bricks (hit enter/return) Numpad0::

  Reload ;  Reload the script. Which stops all running threads.
return

; Swap F1 and Alt-L keys.

  $F1::send, !l
  $!l::send, {F1}

For bricks works best left-to-right, with a little space between racks. Rotate screen so that racks are aligned horizontally.

$f::

  ;MsgBox, F was pressed.
  send, t
  MouseClick, L, 0, 0, , , , R
  MouseClick, L, 30, -15, , , , R ; make firebricks
  MouseMove 5, 15, ,R
return

$b::

  ;MsgBox, B was pressed.
  send, t
  MouseClick, L, 0, 0, , , , R
  MouseClick, L, 30, -30, , , , R ; make bricks
  MouseMove 5, 30, ,R
return

; Grass

Simple version
Just click at 2.5 sec intervals.
; to use, set up a long grass run, position mouse over grass icon and press hotkey "g"

$g::

  loop, 30
  { 
    MouseClick, L, 0, 0, , , , R]
    sleep, 2500
  }
return


Home | Atlas | Guides | Tests | Research | Index | Recent Changes | Preferences | Login
You must log in to edit pages. | View other revisions
Last edited October 16, 2004 5:02 pm by Blogot (diff)
Search: