Laszlo
Joined: 14 Feb 2005 Posts: 4668 Location: Boulder, CO
|
Posted: Thu Aug 03, 2006 5:17 pm Post subject: |
|
|
This is a workaround, based on Shimanov's code | Code: | #Persistent
CoordMode Mouse, Screen
Settimer Info
Return
Info:
MouseGetPos X, Y, WinID
WinGet PID, PID, ahk_id %WinID%
h_process := DllCall("OpenProcess", UInt,0x418, Int,0, UInt,PID)
VarSetCapacity(Proc, 255)
DllCall("psapi.dll\GetModuleFileNameExA", UInt,h_process, UInt,0, Str,Proc, UInt,255)
DllCall("CloseHandle", h_process)
ToolTip %Proc%
Return |
|
|