gracias a todos por las respuestas
El 16/01/2013 09:14, "Angel "Java" Lopez" <webmas...@ajlopez.com> escribió:

> Lo que se podria investigar, es cual ventana tiene el foco de mouse o de
> teclado.  Recuerdo que alguien había sugerido eso, en otro proyecto de hace
> anios: monitorear el foco, no importa tanto que tenga Excel y Word, como
> cual tiene el foco.****
>
> ** **
>
> No parece fácil, hay algo para leer en****
>
> ** **
>
> http://www.microsoft.com/msj/0397/Win32/Win320397.aspx****
>
> owever, if you now activate a window created by another application
> (Notepad in my example), LISWatch shows the dialog box in *Figure 5*.
> Here, LISWatch shows the Calculator thread's local-input state reporting
> that no window in the system has focus, no window is active, and no window
> has captured the mouse. In fact, to really understand exactly how all this
> local-input state stuff works, you should run multiple instances of
> LISWatch and set up each instance so that it's monitoring the local-input
> states of a different thread. Then, start clicking on various windows to
> see what each thread's local-input state reflects.****
>
> ** **
>
> Creo que lo encontre en
> http://stackoverflow.com/questions/466354/how-can-i-tell-if-a-window-has-focus-win32-api
> ****
>
> ** **
>
> ** **
>
> Otro tema a investigar, poner hooks para todo eso:****
>
> http://msdn.microsoft.com/en-us/magazine/cc188966.aspx****
>
>
> http://stackoverflow.com/questions/7150895/net-win32-event-to-detect-when-a-window-belonging-to-another-app-gets-focus
> ****
>
> ** **
>
> El tema de detectar cuales procesos y ventanas asociadas… hmmm… ver****
>
> ** **
>
>
> http://www.dreamincode.net/forums/topic/207233-get-a-list-of-active-windows-their-process-names/
> ****
>
>
> http://www.dreamincode.net/forums/topic/110811-getting-a-list-of-all-open-windows/
> ****
>
> ** **
>
> El tema de los sitios visitados… hmmmm… hay open source de bajo nivel, lo
> bueno que es no intrusivo, no modifica el browser como fiddler, creo****
>
> Investigar****
>
> http://en.wikipedia.org/wiki/Wireshark****
>
> http://en.wikipedia.org/wiki/Tcpdump****
>
> tal vez te sirva usarlos directamente, sin programar eso en tu programa***
> *
>
> ** **
>
> Angel “Java” Lopez****
>
> http://www.ajlopez.com****
>
> http://twitter.com/ajlopez****
>
> ** **
>
> ** **
>
> *De:* puntonet@mug.org.ar [mailto:puntonet@mug.org.ar] *En nombre de *
> Cristian
> *Enviado el:* Tuesday, January 15, 2013 5:46 PM
> *Para:* puntonet@mug.org.ar
> *Asunto:* [puntonet] Tracking de aplicaciones en uso****
>
> ** **
>
> Con un poco de humor, pareciera que tu usuario está usando un sistema
> operativo “multitareas”, justamente de eso se trata el multitareas… hacer
> un poquito en cada programa especializado y con eso ir resolviendo la tarea
> general… lo contrario sería volver al DOS, y que tu usuario ejecute un
> único y gigantesco programa por vez que le resuelva todo lo que tiene que
> hacer, *así no te fallan las estadísticas*!****
>
> ** **
>
> Se supone que si el usuario tiene abiertos el Word y Excel al mismo tiempo
> es porque necesita en algún momento de ambos (esto sí te lo da WMI). ¿El
> 90% del tiempo activo Word y el 10% restante activo el otro? ¿o  50% y 50%?
> ¿realmente importa cuánto y cuándo al detalle, si al final necesita de
> ambos para lograr su objetivo? ****
>
> ** **
>
> Pd: el usuario también tiene el IE9,chrome y firefox el 100% del tiempo,
> eso asumilo y descontalo…****
>
> ** **
>
> *From:* puntonet@mug.org.ar [mailto:puntonet@mug.org.ar] *On Behalf Of 
> *Leandro
> Halfon
> *Sent:* Tuesday, January 15, 2013 4:45 PM
> *To:* puntonet@mug.org.ar
> *Subject:* [puntonet] Tracking de aplicaciones en uso****
>
> ** **
>
> Gracias Leo. Feliz cumple atrasado :)****
>
> ** **
>
> Ya lo habia visto pero no supe como hacer para detectar, si tengo Excel y
> Word abiertos al mismo tiempo, cual estoy usando...****
>
> 2013/1/15 Leonardo Micheloni <leonardogabrielmichel...@gmail.com>****
>
> sería relativamente fácil saber qué aplicaciones corren con
> system.diagnostic o con  WMI
>
>
> http://msdn.microsoft.com/en-us/library/windows/desktop/aa394582%28v=vs.85%29.aspx
>
> lo que veo difícil es saber, por ejemplo, cuántas pestañas del
> navegador tiene abiertas y demás
>
> 2013/1/15 Leandro Halfon <leandrohal...@gmail.com>:
> > Hola Lista, necesito poder hacer un log de todas las aplicaciones que
> usa un
> > usuario en su pc.
> > Es decir, si abrio google, cuanto tiempo lo uso. Si uso, excel cuanto
> > tiempo.
> >
> > Estuve googleando un poco, pero no encuentro el enfoque.
> >
> > Alguna me podria guiar?
> >
> > Gracias!
>
>
>
> --
> Leonardo Micheloni
> @leomicheloni****
>
> ** **
>

Responder a