Jump to content

counting down traytip with timer variable


Recommended Posts

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?

Link to comment
Share on other sites

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