FixBug.bjs
[gitlive] / WindowLog.js
1 //<script type="text/javascript">
2 /**
3  * log desktop actions..
4  * 
5  * mouse:
6  * xdotool getmouselocation
7  *
8  * xwit -property WM_NAME -print 
9  * 0x3a13d6c: x=1 y=25 w=1109 h=747 d=32 'root@wideboy: /home/alan'
10  * root@wideboy:/home/alan# xwit -property WM_CLASS -print 
11  * 0x3a13d6c: x=1 y=25 w=1109 h=747 d=32 'gnome-terminal'
12  * root@wideboy:/home/alan# 
13  * 
14  * 
15  * Not sure how we handle last key press...
16  * 
17  * -- log to a remote url.
18  * 
19  * LOG:
20  * DATE / TIME / Application / Title
21  * if cursor same as before.. - SEND 'IDLE'... (twice, then stop sending..)
22  * 
23  * For commits... (we send out every 1 minute as well, it's upto the other end to determine if that means updating
24  * or creating a new record..
25  * yyyy-mm-dd /12:00 / GIT / XXXXX
26  * 
27  */
28
29
30