Sign in to follow this  
Followers 0
Ram

Number of down arrow

2 posts in this topic

Hi,

I am writing a script to use it on another application. In that application I want the down arrow to be pressed according to the numbers given.

For ex: if number 10 is given. I want autoit to press down arrow 10 times.

I tried

$a = 10 
Send ("{Down $a}")

but autoit pressed only once and not 10 times.

Can any one let me know what is the exact syntax to get this working?

Awaiting your response!

Share this post


Link to post
Share on other sites



try

$a = 10 
Send ("{Down" & $a & "}")

 

Spoiler

shoot_zpsfd329d66.png
dontbelieveeverythingyouthink_zps0e1e900

Madness is the first step to understanding...

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  
Followers 0