The Wiki for Tale 5 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.

Takhetu/Macros

From ATITD5
Revision as of 04:09, 21 October 2010 by Takhetu (talk | contribs) (Created page with "First test. <pre> ;Ctrl+R to reload ;Ctrl+P to pause ;Release Date: Oct 12, 2010 ;Author: Cegaiel IfWinExist eGenesis Client { WinGet, GameWinHandle, ID, eGenesis Client }...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

First test.

;Ctrl+R to reload
;Ctrl+P to pause
;Release Date: Oct 12, 2010
;Author: Cegaiel

	IfWinExist eGenesis Client
	{
		WinGet, GameWinHandle, ID, eGenesis Client
	} else {
		Msgbox, eGenesis client not running, exiting...
	Exit
	}


WinActivate, eGenesis Client
WinGetActiveStats, win_Title, Xmax, Ymax, win_Xpos, win_Ypos
StartXGUI := Xmax+win_Xpos-215
StartYGUI := win_Ypos+35
Gui, +AlwaysOnTop +ToolWindow -Border +Background 
Gui, Add, Text, x2 y0 w40 h20 +Limit, Rows:
Gui, Add, Edit, x60 y0 w40 h20 , 4
Gui, Add, Text, x2 y20 w40 h20 , Columns:
Gui, Add, Edit, x60 y20 w40 h20 , 4
Gui, Add, Button, gClose x160 y0 w40 h20 , Close 
; Generated using SmartGUI Creator 4.0
Gui, Show, X%StartXGUI% Y%StartYGUI% w200 h50, New GUI Window
Return

Close:
ExitApp