further into
the API you find they make specific mention of an interactive program
- that the display off notification would be used to tell the program
to stop rendering to the display.
On Dec 30, 12:06 pm, V A <va91...@gmail.com> wrote:
> I don't think you will find an applet or a script which will do this job. As
> Mohammad said you need to hook into Window APIs. The functions are described
> here:
>
> http://msdn.microsoft.com/en-us/library/aa373195%28v=vs.85%29.aspx
>
> As you can see, the program you want will have to be a service running in
> the background, which has registered itself for power events and waits for
> the display off event.
>
> Here's a piece of source code which uses this function but this seems to be
> a part of an interactive program (which displays something on the screen)
> rather than a background service program:
>
> http://www.hanselman.com/blog/TheWeeklySourceCode8.aspx
>
> The blogger mentions CodePlex. Maybe you can find other source code which
> might help you.
>
> All the best in your search!
>
> On Tue, Dec 28, 2010 at 10:41 PM, Holophote <h_marks...@hotmail.com> wrote:
> > I create scripts that automate all kinds of repetitive
> > processes. I'm not a programmer, but without scripts
> > I wouldn't have enough time to eat, sleep, etc!
>
> > There are endless apps that will power your monitor up or
> > down. Some are set to work at a specific time, or after a
> > download completes. I need a little applet that responds
> > to Windows own power options.
>
> > Let's say you set your monitor to turn off after 15 or 20
> > minutes of system inactivity. The applet I'm searching
> > for would detect when the monitor is powered down and
> > run a simple command, like launching an executable or
> > a simulated key press.
>
> > Among the blizzard of monitor apps there must be one
> > that will do the job. If it exists, I can't find it.
>
> > Thanks guys.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Computer Tech Support" group.
> > To post to this group, send email to
> > computer-tech-support@googlegroups.com.
> > To unsubscribe from this group, send email to
> > computer-tech-support+unsubscribe@googlegroups.com<computer-tech-support%2Bunsubscribe@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/computer-tech-support?hl=en.
--
You received this message because you are subscribed to the Google Groups "Computer Tech Support" group.
To post to this group, send email to computer-tech-support@googlegroups.com.
To unsubscribe from this group, send email to computer-tech-support+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/computer-tech-support?hl=en.
0 comments:
Post a Comment