קוד:
titleinfo.dll
by hmemcpy
v1.0 04/11/04
-------------
This DLL allows you to capture the "hint" of any tray icon or a taskbar item, and show them in mIRC.
The available functions are:
---------------------------
GetTrayInfo - shows the hint of any tray icon
GetTitleInfo - shows the hint of a taskbar item
Usage:
-----
//say $dll(titleinfo.dll, FunctionName, Application.exe)
Examples:
--------
* Get the title of DC++ in tray:
//say $dll(titleinfo.dll, GetTrayInfo, DCPlusPlus.exe)
Output: D: 90.58 KiB/s (13) U: 2.43 KiB/s (3)
* Get title of Azureus in tray:
//say $dll(titleinfo.dll, GetTrayInfo, javaw.exe)
Output: 0 seeding, 4 downloading, D: 79.2 K/s, U: 0 K/s
* Get current song playing in Winamp, if not in tray:
Example 1:
---------
//say $dll(titleinfo.dll, GetTitleInfo, winamp.exe)
Output: 1489. Hypocrisy - Request Denied - Winamp
Example 2:
---------
//say $remove($dll(titleinfo.dll, GetTitleInfo, winamp.exe),- Winamp)
Output: 1489. Hypocrisy - Request Denied
--------------------------------------------------------------------------
Place the DLL in your mIRC directory, and begin using it