Xshell Forum

xsh.Screen.Send "$i"?

Last post: Tuesday, October 4, 2016 12:02 AM by yul, 1 reply

 
Thursday, September 29, 2016 7:29 AM - li

xsh.Screen.Send "$i"?

 
Sub Main
xsh.Screen.Synchronous = true
For i = 1 to 10
xsh.Screen.Send "i"
xsh.Screen.Send VbCr
Next
End Sub

Send:
1
2
3
4
5
6
7
8
9
10

-------
i can not use this

Program Ver. : Xshell 4
Tuesday, October 4, 2016 12:02 AM - yul

Re: xsh.Screen.Send "$i"?

 
Try xsh.Screen.Send i.
Double quotations of "i" is not needed.