PDA

Click to See Complete Forum and Search --> : Interesting IE Situation


hyost
Feb 3rd, 2000, 05:51 AM
Hello,

I need to do something that is a little odd. I need to monitor a computer so that after a certain time of idleness, the system looks for a specific open web page.

If the web page is open, I need to maximize the page. If it's not, I need to see how many IE are up. If there are more than two, I need to change the last one to the specific web page. If there is only one up, I need to start a new IE (the page is default).

Question is, I tried to use the antics of a screen saver model for my idleness measure. It worked great, but now I'm having problems because by using FindWindow the specific page is ALWAYS there.

I think it has something to do with the temporary files, cache, and IE.

Any suggestions?

Thanks

Razzle
Feb 3rd, 2000, 06:08 PM
EnumWindows is very good to find windows!
I don't think it's a problem of the IE cache.
I've had this problem with Findwindow, too.
You can use EnumWindows to get a complete list of all open windows. Then it is possible to search the IE window in that list

------------------
Razzle
ICQ#: 31429438