| View previous topic :: View next topic |
| Author |
Message |
chandru155
Joined: 03 Dec 2008 Posts: 158 Location: chennai,india
|
Posted: Mon Mar 30, 2009 6:42 am Post subject: check whether the user is browsing or not |
|
|
| I need to find whether a user is browsing or not. for this i wrote one ahk program which assumes tat whenever iexplorer.exe is exist, the user is browsing through the net. but this program is not good. because, even if the user opens a html file in the system, my program is telling the user is browsing. is there any way to find whether the internet explorer is using net connection or not. can anyone HELP me? |
|
| Back to top |
|
 |
animeaime
Joined: 04 Nov 2008 Posts: 1045
|
Posted: Mon Mar 30, 2009 7:02 am Post subject: |
|
|
You could check if internet explorer is the active window - that's browsing, right? See WinActive for details.
What other cases of browsing do you want to check? _________________ As always, if you have any further questions, don't hesitate to ask.
Add OOP to your scripts via the Class Library. Check out my scripts. |
|
| Back to top |
|
 |
chandru155
Joined: 03 Dec 2008 Posts: 158 Location: chennai,india
|
Posted: Tue Mar 31, 2009 6:27 am Post subject: |
|
|
| winactive is used to check wheather internet explorer is active or not. But it wont help us to find whether the user is browsing in the net or just opens and see the html file saved in the computer. I am writing one program for controllin and monitoring systems in lan for my final year college project. So can u give me some other way to detect whether the user is browsing in net or just open sees the html page in a system. |
|
| Back to top |
|
 |
animeaime
Joined: 04 Nov 2008 Posts: 1045
|
Posted: Tue Mar 31, 2009 6:31 am Post subject: |
|
|
The address bar. You can use COM or DDE to see what the address is opened. A website, means the user is surfing, and if a computer file is open, then the user is not surfing. Do a search on the forms for info on them. I would use DDE, as COM only works with IE, whereas DDE can be used for IE, firefox, and opera. _________________ As always, if you have any further questions, don't hesitate to ask.
Add OOP to your scripts via the Class Library. Check out my scripts. |
|
| Back to top |
|
 |
chandru155
Joined: 03 Dec 2008 Posts: 158 Location: chennai,india
|
Posted: Tue Mar 31, 2009 8:13 am Post subject: Thanks |
|
|
| Thanks for your idea. i ll search and find it. |
|
| Back to top |
|
 |
chandru155
Joined: 03 Dec 2008 Posts: 158 Location: chennai,india
|
Posted: Tue Mar 31, 2009 8:45 pm Post subject: |
|
|
| Hello, i got com and dee. also i got many posts under those two. but i referred some of the programs given under the topic. but i couldnt understand some of the coding. and also i couldnt find what i am looking for. so, if you tell me some other tips means tat will be usefull for me. or if you provide the code that ll be very very very helpfull:-) |
|
| Back to top |
|
 |
|