Sign in to follow this  
Followers 0
ecstatic

counting down traytip with timer variable

5 posts in this topic

Hey guys. How do i fix this.

Traytip("D2AI", "Sleeping For " & $Timer & " seconds")
        Sleep(10)

$Timer is a variable for a global timer which is in miliseconds.

How do i display the traytip by making $Timer in seconds rather than miliseconds?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Hey guys. How do i fix this.

Traytip("D2AI", "Sleeping For " & $Timer & " seconds")
        Sleep(10)

$Timer is a variable for a global timer which is in miliseconds.

How do i display the traytip by making $Timer in seconds rather than miliseconds?

$Timer*1000 ?

And if you do not want a hell of alot of decimals use Round($timer*1000,0)

If this is what you want, that is.

Edited by colafrysen

[font="Impact"]Use the helpfile, It´s one of the best exlusive features of Autoit.[/font]http://support.microsoft.com/kb/q555375ALIBI Run - a replacement for the windows run promptPC Controller - an application for controlling other PCs[size="1"]Science flies us to the moon. Religion flies us into buildings.[/size][size="1"]http://bit.ly/cAMPZV[/size]

Share this post


Link to post
Share on other sites

$Timer*1000 ?

And if you do not want a hell of alot of decimals use Round($timer*1000,0)

If this is what you want, that is.

what does the ,0 do?

Thanks.

Share this post


Link to post
Share on other sites

what does the ,0 do?

Thanks.

do you have a help file?

Round ( expression [, decimalplaces] )

8)


NEWHeader1.png

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