Jump to content

Recommended Posts

Posted (edited)

Hi,

Whats _TimeToTicks exactly?

I just cant figure out. :)

AlmarM

EDIT: Oh and _TicksToTime :o

Edited by AlmarM

Minesweeper

A minesweeper game created in autoit, source available.

_Mouse_UDF

An UDF for registering functions to mouse events, made in pure autoit.

2D Hitbox Editor

A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.

Posted

As best as I can tell it converts between milliseconds, and hours: minutes: seconds.

Which may be useful if you know how many hours and minutes you want to delay, but the sleep() command only takes milliseconds as a parameter

Posted

Converts the specified hours, minutes, and seconds to ms.

#include <Date.au3>

$iHours = 00
$iMins = 00
$iSecs = 01

$StartTicks = _TimeToTicks($iHours,$iMins,$iSecs)
ConsoleWrite($iHours&":"&$iMins&":"&$iSecs&@cr)
ConsoleWrite($StartTicks &@cr)
Posted

So _TimeToTicks converts for example @HOUR:$MIN:$SEC into MS

And _TicksToTime converts MS into $HOUR:$MIN:$SEC ?

AlmarM

Minesweeper

A minesweeper game created in autoit, source available.

_Mouse_UDF

An UDF for registering functions to mouse events, made in pure autoit.

2D Hitbox Editor

A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.

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...