AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

check whether the user is browsing or not

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
chandru155



Joined: 03 Dec 2008
Posts: 158
Location: chennai,india

PostPosted: Mon Mar 30, 2009 6:42 am    Post subject: check whether the user is browsing or not Reply with quote

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
View user's profile Send private message Yahoo Messenger
animeaime



Joined: 04 Nov 2008
Posts: 1045

PostPosted: Mon Mar 30, 2009 7:02 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
chandru155



Joined: 03 Dec 2008
Posts: 158
Location: chennai,india

PostPosted: Tue Mar 31, 2009 6:27 am    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
animeaime



Joined: 04 Nov 2008
Posts: 1045

PostPosted: Tue Mar 31, 2009 6:31 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
chandru155



Joined: 03 Dec 2008
Posts: 158
Location: chennai,india

PostPosted: Tue Mar 31, 2009 8:13 am    Post subject: Thanks Reply with quote

Thanks for your idea. i ll search and find it.
Back to top
View user's profile Send private message Yahoo Messenger
chandru155



Joined: 03 Dec 2008
Posts: 158
Location: chennai,india

PostPosted: Tue Mar 31, 2009 8:45 pm    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group