CyBoRgWaR

SEND a Specific Key * x times.. where x is the user input value..

3 posts in this topic

Hi , 

as per the title , 

 

i want to send a Key to n number of times , but that n var should be assigned by input box or custom value,

 

i tried to check but need little help in that .

$i = 10
$j = ("{DOWN $i}")

sleep (5000)
MouseClick("left",741,660,1)
send($j)
sleep (1000)
send ("{ENTER}")

 

Please help me out ..

Share this post


Link to post
Share on other sites



Have a look at Send in the Help File, it has a number of examples of sending based on a variable for example:

$n = 4
Send("+{TAB " & $n & "}")

 

Share this post


Link to post
Share on other sites

thanks bro , just before i read the example file and got the same 

thanks ..

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