Hello.
I wonder if it is possible to capture the hint that is appearing when a mouse moves over a tray icon?
I would like to get, for example, the hint of Azureus BitTorrent client, which shows the current download/upload speed. Is there any way to do it with?
I'm thinking: Process("azureus.exe").TrayIcons.....
(I'm using Delphi, btw).
Thanks in advance.
Getting the hint off a tray icon?
Never mind, found it
I was trying to access the wrong process. The Azureus BitTorrent client is java-based, so the main executable is basically 'javaw.exe' instead of 'Azureus.exe'.
So if anyone wonders, I did it like this:
I was trying to access the wrong process. The Azureus BitTorrent client is java-based, so the main executable is basically 'javaw.exe' instead of 'Azureus.exe'.
So if anyone wonders, I did it like this:
Code: Select all
var s: string;
begin
s:= Process('javaw.exe').TrayIcons.Items[0].Hint;
end;