Mark_FreeSoftware
asked on
Get tooltop from tray icon
how can i get (read) the tooltip from the tray icon from an other program?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
i want to read the number of email messages from gmail notifier
gonna take a look at that link
ASKER
that registry value is not updating,
it says no unread messages for gmail notifier, even if i received 16 emails
I don't know what program updates it or if you can tell the software (whatever it is) to update before you read the registry key.
Does GMail offer POP3 access to the mail boxs?
Does GMail offer POP3 access to the mail boxs?
ASKER
>>I don't know what program updates it or if you can tell the software (whatever it is) to update before you read the registry key.
i did look at it in regedit, and it did not change
>>Does GMail offer POP3 access to the mail boxs?
yeah, but i thought it was maybey easier to read the tooltip from the gmail notifier (i have it running all the time)
Probably a dumb question, but did you refresh (F5) the view of the registry key if you used regedit.exe to see the key?
I havn't tested this out so I don't know - I didn't know about the key until I came across it in the other question.
Unless that key does work - the easiest way to determine how many messages (if any) you have in your GMail account would be to log in to the POP3 server and get a count. Trying to find out how to talk to the program that runs beside the clock could be a lengthy hack unless it is well documented some where.
I havn't tested this out so I don't know - I didn't know about the key until I came across it in the other question.
Unless that key does work - the easiest way to determine how many messages (if any) you have in your GMail account would be to log in to the POP3 server and get a count. Trying to find out how to talk to the program that runs beside the clock could be a lengthy hack unless it is well documented some where.
ASKER
it isnt a dumb question, but i tried already
since i know the name of the exe, (gnotify.exe) i can find the handle to it
is it possible to make some use of this?
Unless the application provides an interface for the data you are looking for you will need to find a way to forcefully pull the data out.
In your situation - I recommend logging into the POP3 server and getting an email count that way.
In your situation - I recommend logging into the POP3 server and getting an email count that way.
ASKER
too bad :(
//
thanks for your help
i'm going to award points to your second comment, because it is indeed the data i asked for
that windows doesnt update properly isnt your fault
mark
http://vbaccelerator.com/codelib/submit/e-checker.zip
Here is a working VB program that does what you seem to want.
(Code and all)
Here is a working VB program that does what you seem to want.
(Code and all)
ASKER
it doesnt work
i just discovered gmail uses ssl
There is no standard way - like VBs ToolTip property - to have this effect on tray icons. As a result - there is no standard way to collect this data from a program.
It is probably different between each and every program.
Perhaps there is another way to gather this info. What program are you trying to get data from? What data do you want - perhaps you can get it through an API call directly yourself.
Rob.