Jump to content

How do you


Orgins
 Share

Recommended Posts

Not sure what its called but I've seen some scripts that have a little box that displays current info. Like how long its been running number of loops ect.

I want to have one in my script that will display what its doing. Ether the current line of code or how many times its looped.

I'm a newbie.Sorry if I don't reposed to your replays very fast.

Link to comment
Share on other sites

Not sure what its called but I've seen some scripts that have a little box that displays current info. Like how long its been running number of loops ect.

I want to have one in my script that will display what its doing. Ether the current line of code or how many times its looped.

I'd be happy to add appropriate Tooltips into your code, but I'd have to see it...

Or you can do it yourself by looking here

ToolTip

Edited by Paulie
Link to comment
Share on other sites

Ok I got everything rite but a few I cant figure out.

Theirs a few While/WEnd I got on time out. Can I have a count down box showing how much time has passed/have left?

And I have a few do/untill can I have it say how many do's are left unto the untill is done?

Edit*is there a way to have 2 tooltips or more? at a time

Edited by Orgins

I'm a newbie.Sorry if I don't reposed to your replays very fast.

Link to comment
Share on other sites

Want to share your code?

One way to make a countdown timer is to use the Timer functions (TimerInit(), TimerDiff() etc), when you use TimerDiff($init) it returns how long its been since TimerInit(). You can restart by doing TimerStop() and TimerStart()

Not sure if theres simply TimerRestart() though I havent used it much.

..On the otherhand, if your countdown is just for a loop (like $i = 0 to 500) then you can just display Abs($i - 500), which if its 50 would be Abs(-450) = 450 loops remaining

As far as the tooltips go, you need a sleep for how long they last... post your code for more help on that

Link to comment
Share on other sites

I tryed CHRIS95219 thing but I'd like to have where it says 100 a var

$i = 0

Do

$i = $i + 1

TrayTip("On: " & $i, "of", $DaVar)

ect

ect

ect

until $i = $DaVar

but it didn't work. It jsut sayd on 1 of on 2 of on 3 of and so on.

Edit* Nvm think I got it.

Edited by Orgins

I'm a newbie.Sorry if I don't reposed to your replays very fast.

Link to comment
Share on other sites

Edit*is there a way to have 2 tooltips or more? at a time

Not that i know of, buy they can be multi-lined quite simply

Just use @CRLF to indicate a new line

Global $i = 0
Global $x =1000
While 1
     Tooltip("Line 1 Counter: "&$i&@CRLF&"Line 2 Counter: "&$x&@CRLF&"Sum: "&$i+$x, 5, 5)
     $i = $i +1
     $x= $x -1
     Sleep(100)
Wend
Edited by Paulie
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...