Jump to content

Recommended Posts

Posted

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.

Posted

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]

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
×
×
  • Create New...