Jump to content
Sign in to follow this  

Send RIGHT arrow Key n number of times

Recommended Posts


Hi Forum,

Here is my code,

WinWaitActive("Go To Line")
ControlSend("Go To Line", "", "", $linenum)
ControlSend("Go To Line", "", "", "{ENTER}")
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.

Share this post

Link to post
Share on other sites

Sorry Forum for posting this Dumb Question, I got the Answer

Send("{RIGHT " & $columnnum & "}")

Share this post

Link to post
Share on other sites

helpfile is your friend:

If you wish to use a variable for the count, try
    $n = 4
    Send("+{TAB " & $n & "}")

E. :)

[color=rgb(255,0,0);][font="'comic sans ms', cursive;"]FukuLeaks[/color][/font]

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  

  • Similar Content

    • TrippingSync
      By TrippingSync
      Hello guys, I'm trieng to get my script to send arrow left 134 times rapidly to set the type position to a set point, I can't get this to work as {25 134} will send 25 134 times, instead of arrow left.
      here is a snippet of my code:
      Send("[url=https://google.com][color=lime][b][/b][/color][/url][right][acronym='TrippingSync is awesome!'][color=grey][sup]Hover over me[/sup][/color][/acronym][/right]") Send(25, 134) I tried several methods, but none seem to work :S
      Thanks in advance,