Re: Automatic display resolution settings
- From: John John <audetweld@xxxxxxxxxxx>
- Date: Fri, 23 Mar 2007 10:09:59 -0300
Cleaning up after myself, shorter version that will run on Windows 2000.
======================================================================
@echo off
for /f "tokens=1 delims=/.- " %%A in ('echo %date%') do (set day=%%A)
for /f "tokens=1-2 delims=:." %%a in ('echo %time%') do (set tm=%%a%%b)
if /i %day%==sun goto peekaboo
if /i %day%==sat goto peekaboo
if /i %tm% LSS 915 goto peekaboo
if /i %tm% GTR 1515 goto peekaboo
reschangecon.exe -width=800 -height=600
goto :eof
:peekaboo
reschangecon.exe -width=1024 -height=768
================================================================================
reschangecon.exe is available here: http://www.12noon.com/reschange.htm
John
Dear experts,
I am not sure if this is the right group to ask this question.
I have an unusual requirement.
Whenever I start my machine between 9:30 AM to 3:15 PM on Monday through
Friday, I want the machine to boot up with 800x600 resolution.
At all other times, it should boot up with 1024x768 resolution.
A little bit of programming is OK with me.
I want this done badly!
Any takers?
Thanks in advance for your help.
If this is not the right group to ask this question, please guide me as to
where should I post this question.
Regards,
AppaBalwant
.
- Follow-Ups:
- Re: Automatic display resolution settings
- From: AppaBalwant
- Re: Automatic display resolution settings
- References:
- Automatic display resolution settings
- From: AppaBalwant
- Re: Automatic display resolution settings
- From: John John
- Automatic display resolution settings
- Prev by Date: Re: How to use pskill or kill ... to kill a process with a name like "Hello There"
- Next by Date: Norton Ghost -- Today vs Yesterday
- Previous by thread: Re: Automatic display resolution settings
- Next by thread: Re: Automatic display resolution settings
- Index(es):