Jump to content

Time manipulation


Recommended Posts

hey all, i was wondering if anyone knows a way to manipulate the time on your pc. I mean like making it run slower, that for example 1 second lasts 5 seconds or the opposite, making the time fly... by making 5 seconds pass in only a few milliseconds...

This would be a great help to me.. thanks in advance

Link to comment
Share on other sites

and no you cant just slow down the time function :whistle:

Oh, but you can. :P Grab a copy of Auto3Lib and run this:

#include <A3LTime.au3>

; Pop open the clock so we can watch
Run("RunDll32.exe shell32.dll,Control_RunDLL timedate.cpl")
_Lib_WinWaitActive("Date and Time Properties")

; Get current time adjustments
$aInfo = _Time_GetSystemTimeAdjustment()

; Slow down clock
_Time_SetSystemTimeAdjustment($aInfo[1] / 10, False)
Sleep(5000)

; Speed up clock
_Time_SetSystemTimeAdjustment($aInfo[1] * 10, False)
Sleep(5000)

; Reset time adjustment
_Time_SetSystemTimeAdjustment($aInfo[1], True)
Edited by PaulIA
Auto3Lib: A library of over 1200 functions for AutoIt
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...