With AHK I have made a transparent window /form with some buttons on them. It was always on top. And the buttons had sendkeys behind them. The clickable buttons where behind my party frames in order so I knew what would be rejuv, regrowth, etc. That way I could clickheal by multiplexing the keypresses bound on the buttons to other sessions. Since I don't need the heailng now I havn't spend much time on it and it seemed a bit laggy at the time. But it was clickhealing, and I believe it can be made for better performance.
I have posted my code beneath this but it is not finished in the way I used it before. This is a mashup of two code-examples I had in my mail somewhere. And only one button. I am at work so I can't access my code at home. But it's not that hard to make this something working and extend on it.
* Make a dragable window after a keypress showing the window for dragging.
* Make a configurationwindow / configuration file for profiling.
* Optimising the sendkey code
* override all other keys send, because they can make for strange reaction when clicking
* Nice button styles (so you can emulate the WoW icons for clarity)
* etc.
Code:
CustomColor = EEAA99 ; Can be any RGB color (it will be made transparent below).
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow ; +ToolWindow avoids a taskbar button and an alt-tab menu item.
Gui, Color, %CustomColor%
Gui, Add, Button, x6 y9 w20 h20 , 1
; Gui, Font, s32 ; Set a large font size (32-point).
; Gui, Add, Text, vMyText cLime, XXXXX YYYYY ; XX & YY serve to auto-size the window.
; Make all pixels of this color transparent and make the text itself translucent (150):
WinSet, TransColor, %CustomColor% 150
; SetTimer, UpdateOSD, 200
; Gosub, UpdateOSD ; Make the first update immediate rather than waiting for the timer.
Gui, Show, x20 y20 NoActivate ; NoActivate avoids deactivating the currently active window.
WinSet AlwaysOnTop, On, WoW
WinSet, Style, -0xC00000, A
return
Button1:
ControlSend,,1,test.ahk
Return
GuiClose:
ExitApp
I don't know why I did not share this before, but it is something I have not seen yet (maybe this is false let me know who implemented something like this if that is the case). In this discussion something alike came forward and this is the poormanszipper so to speak.
edit: sorry for the thread hijack, maybe I should make a seperate post or something. And if the wiki folks want me to get it in there I will
Connect With Us