Can you add a ahk control to a commercial app? What I'm looking for is a little like Barnacle but not a toolbar. Take CALC.exe for example. Can you place a button over one of the existing buttons on the calculator? Anybody have any examples?


Control, Hide,,Button37, ahk_class CalcFrame
ControlSetText, Button38,:-), ahk_class CalcFrame
#IfWinActive, ahk_class CalcFrame
LButton::
WinGet, x, ID, ahk_class CalcFrame
MouseGetPos,,, xwin, xcontrol
if ( x == xwin AND xcontrol = "Button38")
ToolTip, hello world
else
Click
return
#IfWinActiveOriginal address: https://www.donationcoder.com/forum/index.php?topic=31265.0