Jump to content
Sign in to follow this  
Ram

Number of down arrow

Recommended Posts

Ram

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
Somerset

try

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

 

Spoiler

 

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  

×