IDM Clear Completed Downloads
This mode cleans up as soon as the IDM window appears on the screen.
Author: BCRTVKCS
This mod automatically cleans up completed downloads every time you open the Internet Download Manager (IDM) window.
What Does It Do?
When IDM's main window opens, the mod kicks in and automatically performs the following:
- Deletes completed downloads - Triggers IDM's "Delete completed downloads" command
- Auto-dismisses the confirmation dialog - Hides the confirmation popup and clicks "Yes"
- Targets only the main window - Ignores other IDM windows like Settings, download dialogs, etc.
How It Works
The mod hooks the ShowWindow function in the Windows API. When IDM makes a window visible:
- Checks if the window's class name is
#32770 (standard dialog class)
- Verifies the window is ownerless (no owner) and has a menu bar
- Only the IDM main window satisfies both conditions, so other windows are filtered out
- If conditions are met, the cleanup task is launched in a separate thread
Target Process
- This mod is only for targets the
idman.exe process and does not affect other programs.