![]() |
|
#1
|
|||
|
|||
|
How can:
1. Get active window title 2. Close it 3. Determine active window(application) filename 4. To be notified when active window changes or another application is executed Medniex |
|
#2
|
|||
|
|||
|
Code:
1. Handle := GetForegroundWindow; Code:
2. SendMessage(GetForegroundWindow, WM_CLOSE, 0, 0); 4. Using hooks, veeery difficult try searching this forum for the term HOOK, I've no mood for looking that up for you either, sorry ![]() Hope that helps... ![]() gLes |
![]() |
| Thread Tools | |
| Display Modes | |
|
|