Re: Command or setting to force monitor on?



You could issue some keystrokes with a .vbs program. The
code below, when invoked, will do this:
- Pause for 20 seconds
- Invoke the Task Scheduler
- Pause for 10 seconds
- Send the keystrokes Alt+F4 to close the Task Manager

You should copy the lines below into c:\Windows\Keystrokes.vbs,
then insert this command into your wakeup script:
cscript c:\Windows\Keystrokes.vbs

Set WsShell=CreateObject("WScript.Shell")
WScript.Sleep(20000)
WsShell.Run("TaskMgr.exe")
WScript.Sleep(10000)
WsShell.sendkeys("%{F4}")


"Harko" <Harko@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:EA809476-1675-4B11-A3AD-3A395573926C@xxxxxxxxxxxxxxxx
Thanks Pegasus.

I set up a .cmd file to run the ping command you suggested and then tested
it by setting it to run a minute after the IE start task.

But the monitor still stayed off past the time I set the ping cmd file to
run until I jiggled the mouse; I just caught sight of the the command line
window as it finished the ping sequence and closed.

Any other ideas?

Cheers,
Harko

"Pegasus (MVP)" wrote:


"Harko" <Harko@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:CAB536A5-FD15-4109-91B2-48D5C1C2EC77@xxxxxxxxxxxxxxxx
Hi all,

I have two scheduled tasks: One to have wizmo force the computer to
standby
at 10 pm, the other to start Internet Explorer at 6:15 am to wake the
computer from standby.

Both tasks work fine, but upon wakeup, the monitor doesn't turn on. I
have
to move the mouse to wake up the monitor.

This isn't really a problem at all obviously as I have to move the
mouse
anyway; more of a discussion point/loose end to tie up:

Is there something to run at the command line to force the monitor to
turn
on? That way I could put the IE startup and the monitor wakeup command
in
a
batch file and run that instead at 6:15. If not, is there some setting
somewhere that will ensure the monitor wakes up when the computer does?

Thanks!

I would try launching an application after the wakeup, e.g. this command.
It will run for some 30 seconds.
ping.exe localhost -n 30





.



Relevant Pages

  • Re: Scheduled jobs dont run
    ... and the power settings are set so the monitor goes off after 20 minutes ... What command line can you see in the Task Scheduler for this job? ...
    (microsoft.public.windowsxp.general)
  • Re: 7.1 System Crashing
    ... Here's the output from the `last` command: ... As you can see, the system reboot several times, and crashed the most ... the dust off the motherboard and the fans. ... I installed Healthd on the system to monitor such things, ...
    (freebsd-questions)
  • Re: Command or setting to force monitor on?
    ... I set up a batch file containing the commands to first start IE, ... the keystrokes script. ... could move to the keystrokes command. ... But the monitor still stayed off past the time I set the ping cmd file to ...
    (microsoft.public.windowsxp.general)
  • Re: problem after installing fedora core 6
    ... the monitor's refresh-rate should be detected by most distro's... ... your monitor is necessary to get these specs). ... get you to a command prompt... ... I said you should issue 'nano /etc/X11/xorg.conf', nano is a text edit so ...
    (comp.os.linux.setup)
  • Re: [SLE] Wrong sync monitor setting - please hep
    ... > I was setting the video monitor sync frequency as a normal user under KDE ... > Now even if I try to retart the system in safe setting and once logged as ... > root user I run startx command the problem remain, ... but with SUSE Linux how I can resolve this problem?? ...
    (SuSE)

Quantcast