DougExtra21
Programmer
Hi!!!
I was able to search for a String named "T628100", but I can not figure out how to make a comparison if it does not find the text.
Example: If you did not find this information, it would look on the bottom line and if it did not find it again press F8
Sorry, I do not speak fluent English and I'm a beginner in programming.
Help me please
I was able to search for a String named "T628100", but I can not figure out how to make a comparison if it does not find the text.
Example: If you did not find this information, it would look on the bottom line and if it did not find it again press F8
Code:
Set System = CreateObject("EXTRA.System")
Set Sessions = System.Sessions
Set Sess0 = System.ActiveSession
Set MyScreen = Sess0.Screen
MyScreen.MoveTo 2, 2
Set MyArea = MyScreen.Search("T628100")
MyScreen.MoveTo MyArea.Bottom, MyArea.Right + 1
MyScreen.SendKeys ("<Up>")
if .........
MyScreen.SendKeys ("<PF8>")
end if
Sorry, I do not speak fluent English and I'm a beginner in programming.
Help me please