Jump to content

Multiplying anwser from inputbox


Recommended Posts

I havent used Autoit in years, but now I tried so make a very simple script...

$1 = InputBox( "Clicker", "How many seconds?")
$2 = $1 x 1000
Sleep($2) 
MouseClick("left") 
MsgBox ( 0, "Clicker", "DONE!!")

Cant figure out how to work it, that the imput gets multiplied x 1000

... I know... i should know this

Thanks in advance :mellow:

Yes I know its a repost but I just read the "Why isn't my thread getting any replies" part in the wiki :P

Link to comment
Share on other sites

try

$1 = InputBox( "Clicker", "How many seconds?")
$2 = Int($1) * 1000
Sleep($2) 
MouseClick("left") 
MsgBox ( 0, "Clicker", "DONE!!")

010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Link to comment
Share on other sites

Yes I know its a repost but I just read the "Why isn't my thread getting any replies" part in the wiki :mellow:

Please edit your post next time instead of double-posting, we don't like that.

You edit the title from the first post, exactly like you created it in the first place (quite logical I say).

Link to comment
Share on other sites

try

$1 = InputBox( "Clicker", "How many seconds?")
$2 = Int($1) * 1000
Sleep($2) 
MouseClick("left") 
MsgBox ( 0, "Clicker", "DONE!!")

Thanks !!

Please edit your post next time instead of double-posting, we don't like that.

You edit the title from the first post, exactly like you created it in the first place (quite logical I say).

Sorry didn't know you could also edit the title :mellow:
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...