ShySam Posted August 31, 2010 Share Posted August 31, 2010 (edited) 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 November 2, 2010 by ShySam Link to comment Share on other sites More sharing options...
Minikori Posted August 31, 2010 Share Posted August 31, 2010 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 Link to comment Share on other sites More sharing options...
Varian Posted August 31, 2010 Share Posted August 31, 2010 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 Link to comment Share on other sites More sharing options...
ShySam Posted October 31, 2010 Author Share Posted October 31, 2010 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. Link to comment Share on other sites More sharing options...
ShySam Posted November 1, 2010 Author Share Posted November 1, 2010 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... Link to comment Share on other sites More sharing options...
Varian Posted November 1, 2010 Share Posted November 1, 2010 Try thisFor $i = 1 To 100 Step +1 send($i & @CRLF) Sleep(50) Next Send("Ready!") Link to comment Share on other sites More sharing options...
BlackDawn187 Posted November 1, 2010 Share Posted November 1, 2010 Dont forget the WinActivate("Window title here") Link to comment Share on other sites More sharing options...
ShySam Posted November 1, 2010 Author Share Posted November 1, 2010 (edited) Thanks Edited November 2, 2010 by ShySam Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now