Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old February 9th, 2004, 10:46 PM
mugane mugane is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Charlottesville, VA USA
Posts: 425 mugane User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via AIM to mugane Send a message via Yahoo to mugane
tracking mouse/keyboard activity

Hey, interesting problem: I want to display my office phone number on my web site when I am sitting at my computer, and I want to display my home number when I am sitting at my computer at home. When I am not sitting at either, I want to display my voicemail number. The thing is this: is there any way to track the mouse movement (and preferably keyboard too) so that I can tell my site when I am away?

I could do it from an open browser window, but the window would not have focus most of the time... any client will work, I can use whatever is best (I know netscape/mozilla has more efficient onmousemove handling functionality)

I would even consider installing some kind of windows software to get this working, it just needs to interact with the web site...

Thanks for any input!

Peter

Reply With Quote
  #2  
Old February 10th, 2004, 06:04 AM
zombie zombie is offline
Codewalkers Intermediate (1500 - 1999 posts)
 
Join Date: Apr 2007
Location: serbia
Posts: 1,876 zombie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
RE: tracking mouse/keyboard activity

why don't you simply bild a page with 3 buttonsffice, home and away, and whenever you go to a different location, just go to the same page, and click the button..

Reply With Quote
  #3  
Old February 10th, 2004, 06:40 AM
Andrew's Avatar
Andrew Andrew is offline
Moderator
Click here for more information. Click here for more information
 
Join Date: Apr 2007
Location: United Kingdom
Posts: 1,943 Andrew User rank is Private First Class (20 - 50 Reputation Level)Andrew User rank is Private First Class (20 - 50 Reputation Level)  Folding Points: 2429 Folding Title: Novice Folder
Time spent in forums: 4 Days 5 h 8 m 21 sec
Reputation Power: 3
RE: tracking mouse/keyboard activity

My friend tried to do something similar he wrote a C++ client so it runs on his pc/PDA and he just opens it up and selects a status and it changes his site to suit but i dont know if that would be going too far but its worth a try. But zombies idea looks like the best.

Reply With Quote
  #4  
Old February 10th, 2004, 01:06 PM
mugane mugane is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Charlottesville, VA USA
Posts: 425 mugane User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via AIM to mugane Send a message via Yahoo to mugane
RE: tracking mouse/keyboard activity

Thanks for the ideas!

I tried the manual approach but I always forget to change it, and it is just crying out for automation. Besides, there are several applications I can think of that would benefit from such functinoality, so it would be a really useful thing to do.

I think a C++ client would be a fine idea, I just don't want to mess with it if it can be done (even with some kind of hack) using existing web-specific programming languages.

Thanks again,

P

Reply With Quote
  #5  
Old February 10th, 2004, 11:41 PM
zombie zombie is offline
Codewalkers Intermediate (1500 - 1999 posts)
 
Join Date: Apr 2007
Location: serbia
Posts: 1,876 zombie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
RE: tracking mouse/keyboard activity

i don't think it can be built with php/js/other web stuff..

but, i can build you a simple delphi client that will check for mouse movement every 5 minutes, and when there is mouse movement, it will simply start a php script on the some web server (on the internet).

then you just start it both at home and at work, but the one at home will "ping" an address like "http://mysite.com/ping.php?home" and at work will ping "http://mysite.com/ping.php?work"

that should do it..

Reply With Quote
  #6  
Old February 11th, 2004, 01:47 PM
mugane mugane is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Charlottesville, VA USA
Posts: 425 mugane User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via AIM to mugane Send a message via Yahoo to mugane
RE: tracking mouse/keyboard activity

Thanks! you don't have to go to that trouble, zombie

I would like to learn Delphi, perhaps this will be my first delphi program, I may ask you a few questions as I go along?

Thanks,

Peter

Reply With Quote
  #7  
Old February 15th, 2004, 08:47 PM
zombie zombie is offline
Codewalkers Intermediate (1500 - 1999 posts)
 
Join Date: Apr 2007
Location: serbia
Posts: 1,876 zombie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
RE: tracking mouse/keyboard activity

sure, no problem. i'll be glad to help..

just post in the general chat forum. ;)

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > tracking mouse/keyboard activity


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway