Sign in to follow this  
Followers 0
maxd

Monitor: Resolution, Color(32/16) and System Time

7 posts in this topic




For automatically changing screen res en color depth I use a little external program ResSwitch

Your script could run it.

If @DesktopWidth <> 1024 Then Run("ResSwitch.exe 1024 768 32 60")

Share this post


Link to post
Share on other sites

Change system time

$NewTime = "8:30"
Run(@ComSpec & " /c  time " & $NewTime, "", @SW_HIDE)

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

it works. thnx B)

--

what about win. (xp) sys. time?

---

wow :"> thanks Geert

Edited by maxd

Share this post


Link to post
Share on other sites

time???

Local $RUNDLL32 = @SystemDir & "\rundll32.exe"
 Run($RUNDLL32 & " shell32.dll,Control_RunDLL timedate.cpl,,0")
 

; to update it
; send tab+tab
; send alt+U
 
; to change the time
; run it hidden.. use controlcommand

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

it works. thnx B)

--

what about win. (xp) sys. time?

---

wow :"> thanks Geert

Does my second post ´Post #3´ not work?

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

$NewDate = "25.11.2005"
$NewTime = "8:30"
Run(@ComSpec & " /c  time " & $NewTime, "", @SW_HIDE)
Run(@ComSpec & " /c  date " & $NewDate, "", @SW_HIDE)

B)

--

p/s it's o.k

Edited by maxd

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0