Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Observing Operating System events?

0 views
Skip to first unread message

Preethi Rathnam

unread,
Nov 11, 2009, 12:36:35 PM11/11/09
to
Is there a hook to read the Operating System events from an extension
and take a desired action. - e.g. detect an OS shutdown or standby
event.

Eric Jung

unread,
Nov 13, 2009, 6:40:15 PM11/13/09
to dev-ext...@lists.mozilla.org

> _______________________________________________
>


Not by default. You'd have to write a C++ component to do that, assuming the
OS in question issues such events to begin with (Windows sure does).

Eric

Preethi Rathnam

unread,
Nov 16, 2009, 1:58:01 AM11/16/09
to
On Nov 13, 3:40 pm, Eric Jung <eric.j...@yahoo.com> wrote:
> On Wed, Nov 11, 2009 at 12:36 PM, Preethi Rathnam <preethi.rath...@gmail.com
>
> > wrote:
> > Is there a hook to read theOperatingSystem events from an extension

> > and take a desired action. - e.g. detect an OS shutdown or standby
> > event.
> > _______________________________________________
>
> Not by default. You'd have to write a C++ component to do that, assuming the
> OS in question issues such events to begin with (Windows sure does).
>
> Eric

Thanks Eric!
I will try this approach and I am working on Windows OS.

0 new messages