Jump to content

Count


Recommended Posts

Is there a way to have autoit count how long the script has been loaded in a tool tip at the bottom of the screen? If possible I would like it to count how many times it has done functions in the script. If I cant do that I will just have it count how long the script has been loaded if that is possible.

Link to comment
Share on other sites

Is there a way to have autoit count how long the script has been loaded in a tool tip at the bottom of the screen? If possible I would like it to count how many times it has done functions in the script. If I cant do that I will just have it count how long the script has been loaded if that is possible.

maybe you could find a similar script in Autoit Wrappers ( in my sig )

.... otherwise, show us "some effort" by displaying how "you tried" in a script

pplace it here with..

[autoit ] ; no spaces

; paste code

[/autoit ] ; no space

8)

8)

NEWHeader1.png

Link to comment
Share on other sites

Is there a way to have autoit count how long the script has been loaded in a tool tip at the bottom of the screen? If possible I would like it to count how many times it has done functions in the script. If I cant do that I will just have it count how long the script has been loaded if that is possible.

$time = TimerInit() 
$sec = 0 
$min = 0 
$hour = 0
$size = 1000

While 1 
    If TimerDiff($time) > $size then 
        $sec += 1 
        If $sec = 60 then 
            $sec = 0 
            $min += 1 
            If $min = 60 then 
                $hour += 1 
                $min = 0 
            EndIf 
        EndIf 
        ToolTip($hour & ':' & $min & ':' & $sec, @DesktopWidth - 50, @DesktopHeight - 50) 
        $size += 1000 
    EndIf 
Wend

Does that help?

Edited by Piano_Man
My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list]
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...