Jump to content

Recommended Posts

Posted

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")
Posted (edited)

it works. thnx B)

--

what about win. (xp) sys. time?

---

wow :"> thanks Geert

Edited by maxd
Posted

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

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

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
×
×
  • Create New...