Jump to content

Send RIGHT arrow Key n number of times


Recommended Posts

Hi Forum,

Here is my code,

$linenum="101"
$columnnum="10"
 
mouseclick("left",481,660,1)
sleep(1000)
Send("^{F3}")
WinWaitActive("Go To Line")
ControlSend("Go To Line", "", "", $linenum)
sleep(1000)
ControlSend("Go To Line", "", "", "{ENTER}")
sleep(1000)
Send("{RIGHT && "$columnnum" &&}")

 

The problem I am facing here is i dont know how to send my Variable $columnnum in Send("{RIGHT && "$columnnum" &&}")

Simply to say i need send right arrow button n number of times, $columnnum is an Argument,

 

Please guide,

Thanks in Advance

Sathish V.

Link to comment
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
 Share

×
×
  • Create New...