AutoHotkey Community

It is currently May 26th, 2012, 4:41 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: March 30th, 2009, 7:42 am 
Offline

Joined: December 3rd, 2008, 5:37 am
Posts: 158
Location: chennai,india
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?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 30th, 2009, 8:02 am 
Offline

Joined: November 4th, 2008, 9:23 am
Posts: 1045
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 31st, 2009, 7:27 am 
Offline

Joined: December 3rd, 2008, 5:37 am
Posts: 158
Location: chennai,india
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 31st, 2009, 7:31 am 
Offline

Joined: November 4th, 2008, 9:23 am
Posts: 1045
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Thanks
PostPosted: March 31st, 2009, 9:13 am 
Offline

Joined: December 3rd, 2008, 5:37 am
Posts: 158
Location: chennai,india
Thanks for your idea. i ll search and find it.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 31st, 2009, 9:45 pm 
Offline

Joined: December 3rd, 2008, 5:37 am
Posts: 158
Location: chennai,india
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:-)


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Miguel, notsoobvious, Yahoo [Bot] and 12 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group