The Wiki for Tale 4 is in read-only mode and is available for archival and reference purposes only. Please visit the current Tale 11 Wiki in the meantime.

If you have any issues with this Wiki, please post in #wiki-editing on Discord or contact Brad in-game.

User:Corrans/macros

From A Tale in the Desert
< User:Corrans
Revision as of 11:49, 17 December 2008 by Corrans (talk | contribs) (New page: copy the following to a *.ahk file, uses Autohotkey ---- ;Once it's started it will ask you to stand on a spot with slate, move the mouse to the slate icon and hit F1 ;After that it wil...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

copy the following to a *.ahk file, uses Autohotkey



Once it's started it will ask you to stand on a spot with slate, move the mouse to the slate icon and hit F1
After that it will automatically click on the slate icon whenever it detects it and return the mouse to the position it was in
To abort the macro use ctrl-z

interupt = 0 MsgBox please stand on a spot with slate, move the mouse to the slate icon and hit F1 WinActivate eGenesis Client

F1:: MouseGetPos, slatex, slatey PixelGetColor, slatecolor, slatex, slatey MsgBox The macro will now click the slate icon whenever it detects it WinActivate eGenesis Client Loop{

use sleep 5 for slate & sleep 20-30 for clay

sleep 5 PixelGetColor slate, slatex, slatey if(slate = slatecolor){ MouseGetPos, xpos, ypos MouseMove slatex, slatey, 0 Click MouseMove xpos, ypos, 0 } if(interupt = 1){ interupt = 0 MsgBox interupting macro Exit } } return

^i:: interupt = 1 return

^z:: ExitApp return