Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Starting in what row/column?from 1-4 lines
You have 'copy/appended' 1 to 4 strings of numbers. Then you PASTE this string at 21,12 and then do another copy/append ALL the data in the entire screen, so that you end up with a screen's worth of data PLUS the 1 to 4 strings of numbers?Then I go to line 21,12 and paste, enter, copyappend the whole screen
which indicates that the code loops thru these 4 rows and ens up with a string 53265476547989565879618567421I have a screen that has > 5326547
> 65479895
> 6587961
> 8567421
The screen could have any where from 1-4 lines. I need to copy the first line after the first > (just the numbers) then go to the next line and copyappend "if it exists" and so on until I copy each line of numbers.
so you 'paste' 53265476547989565879618567421 at 21,12 hit ENTER and then copy/append the current screen?Then I go to line 21,12 and paste, enter, copyappend the whole screen,
dim r as integer, sVal as string
'concatenate numeric strings
sVal = ""
for r = 10 to 13
if IsNumeric(Trim(Sess0.Screen.getstring(r, 69, 9))) then
sVal = sVal & Trim(Sess0.Screen.getstring(r, 69, 9))
else
exit for
end if
next
Sess0.Screen.PutString sVal 21,12
Sess0.Screen.SendKeys("<ENTER>")
Sess0.Screen.Copy
dim r as integer, sVal as string
'concatenate numeric strings
sVal = ""
for r = 10 to 13
Sess0.Screen.MoveRelative 1, 1, 1
Sess0.Screen.SendKeys("<XYZ_Screen>")
Do Until .WaitForCursor(3, 19) 'these coordinates resting position for screen XYZ_Screen
DoEvents
Loop
if IsNumeric(Trim(Sess0.Screen.getstring(r, 69, 9))) then
sVal = sVal & Trim(Sess0.Screen.getstring(r, 69, 9))
Sess0.Screen.PutString sVal 21,12
Sess0.Screen.SendKeys("<ENTER>")
Sess0.Screen.Copy
'etc code....
else
exit for
end if
next
Sess0.Screen.PutString sVal 21,12
Sess0.Screen.SendKeys("<ENTER>")
Sess0.Screen.Copy