Jump to content
Sign in to follow this  
ShySam

Counting in Send [Solved]

Recommended Posts

ShySam

With my friends, I tend to do a lot of counting. It's fun and pointless at the same time but it's my thing.

I'd much rather have a script do it then as a prank so they think I really am counting each time we chat.

Eh, we all have our own ways of having fun.

Is there a way to have a script send it to the window as an input?

Starting from a number I set it up as and having it go up 1 say every minute or 40 seconds?

I know in the examples, there was a countdown with a msgbox but I'm not sure if it will work like this?

Edited by ShySam

Share this post


Link to post
Share on other sites
Minikori

Look into For...Next loops. That is all.


For those who are asking questions, look in the help file first. I'm tired of people asking stupid questions about how to do things when 10 seconds in the help file could solve their problem.[quote name='JRowe' date='24 January 2010 - 05:58 PM' timestamp='1264381100' post='766337'][quote name='beerman' date='24 January 2010 - 03:28 PM' timestamp='1264372082' post='766300']They already have a punishment system for abuse.[/quote]... and his his name is Valik.[/quote]www.minikori.com

Share this post


Link to post
Share on other sites
Varian

With my friends, I tend to do a lot of counting. It's fun and pointless at the same time but it's my thing.

I'd much rather have a script do it then as a prank so they think I really am counting each time we chat.

Eh, we all have our own ways of having fun.

Is there a way to have a script send it to the window as an input?

Starting from a number I set it up as and having it go up 1 say every minute or 40 seconds?

I know in the examples, there was a countdown with a msgbox but I'm not sure if it will work like this?

That depresses me

Share this post


Link to post
Share on other sites
ShySam

For $i = 5 To 1 Step -1
MsgBox(0, "Count down!", $i) 
Next 
MsgBox(0, "", "Blast Off!")

For $m = 5 To 1 Step +1
Send($m)
Next

It's not that I didn't check it out.

I'm sorry.

I didn't understand how to change it.

I still don't even though I've tried to...

Still need help if anyone would still be willing.

Share this post


Link to post
Share on other sites
ShySam

For $i = 1 To 100 Step +1
    send($i)
Next

Send("Ready!")

I changed it to this but it counts it all in one huge line with no pause...

Share this post


Link to post
Share on other sites
BlackDawn187

Dont forget the WinActivate("Window title here")

Share this post


Link to post
Share on other sites
ShySam

Thanks :graduated:

Edited by ShySam

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  

×