Ham123 Posted May 10, 2009 Posted May 10, 2009 I understand how to loop a key However, lets say I have to do this a hundred times, with different keys. Rather than copy pasting this sequence over and over again, is there an easier way? Thank you.
FadetoGrey Posted May 10, 2009 Posted May 10, 2009 I understand how to loop a keyHowever, lets say I have to do this a hundred times, with different keys. Rather than copy pasting this sequence over and over again, is there an easier way? Thank you.$i = 1While $i <= 100$i = $i + 1Send ("a")WEndYou could try that, I think what it does is keep adding 1 onto $i, so when it reaches 100 it will stop. In the Send ("a") bit you just put what key you want to use.
Ham123 Posted May 10, 2009 Author Posted May 10, 2009 $i = 1While $i <= 100$i = $i + 1Send ("a")WEndYou could try that, I think what it does is keep adding 1 onto $i, so when it reaches 100 it will stop. In the Send ("a") bit you just put what key you want to use.Yup, thats what i did before, i was thinking of how to do this somewhat differently though.For example:Send( "{FORWARD ARROW KEY}" ) for 4.02 secondsis there any way to do this?
CodyBarrett Posted May 10, 2009 Posted May 10, 2009 what ever happened to good old fashioned For loops? For $i = 0 to 99 next [size="1"][font="Tahoma"][COMPLETED]-----[FAILED]-----[ONGOING]VolumeControl|Binary Converter|CPU Usage| Mouse Wrap |WinHide|Word Scrammbler|LOCKER|SCREEN FREEZE|Decisions Decisions|Version UDF|Recast Desktop Mask|TCP Multiclient EXAMPLE|BTCP|LANCR|UDP serverless|AIOCR|OECR|Recast Messenger|AU3C|Tik-Tak-Toe|Snakes & Ladders|BattleShips|TRON|SNAKE_____________________[u]I love the Helpfile it is my best friend.[/u][/font][/size]
Ham123 Posted May 10, 2009 Author Posted May 10, 2009 what ever happened to good old fashioned For loops?For $i = 0 to 99nextthat does lighten the load hah didnt know about the command "next"thank you
qazwsx Posted May 11, 2009 Posted May 11, 2009 For example:Send( "{FORWARD ARROW KEY}" ) for 4.02 secondsis there any way to do this?SendKeyDownDelay
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