select specific field and compare text

error good <[email protected]> Sun, 21 Feb 2016 16:08:29 +0100
Newsgroups gmane.comp.java.tn5250j.devel
Message-ID <CAPpOGdU3FqCm6YMZX4e79kTUuZir0UwwtZEtQghQg3mBxnH+sw@mail.gmail.com>
--===============2732781840320805520==
Content-Type: multipart/alternative; boundary=001a1143ff70c606be052c491671

--001a1143ff70c606be052c491671
Content-Type: text/plain; charset=UTF-8

Hi everybody,

i'm using tn5250j on my work, now i try to create a plugin with jython,

for my first test, i need to get text from a specific field and compare if
text exist on this screen example in pseudocode:

------------------------------------------
cursor position:17/10 (problem is here)

find = "Log off"

if find == "Log off":
    return True
else:
    return False
-------------------------------------------

my problem is i don't know how i can get text from current positionning
cursor, what function i need?

did you have a idea how we can do that?

Thanks advance for your futur reply.

--001a1143ff70c606be052c491671
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi everybody,<div><br></div><div>i&#39;m using tn5250j on =
my work, now i try to create a plugin with jython,</div><div><br></div><div=
>for my first test, i need to get text from a specific field and compare if=
 text exist on this screen example in pseudocode:</div><div><br></div><div>=
------------------------------------------</div><div>cursor position:17/10 =
(problem is here)</div><div><br></div><div>find =3D &quot;Log off&quot;</di=
v><div><br></div><div>if find =3D=3D &quot;Log off&quot;:</div><div>=C2=A0 =
=C2=A0 return True</div><div>else:</div><div>=C2=A0 =C2=A0 return False</di=
v><div>-------------------------------------------</div><div><br></div><div=
>my problem is i don&#39;t know how i can get text from current positionnin=
g cursor, what function i need?</div><div><br></div><div>did you have a ide=
a how we can do that?</div><div><br></div><div>Thanks advance for your futu=
r reply.</div><div><br></div></div>

--001a1143ff70c606be052c491671--


--===============2732781840320805520==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
--===============2732781840320805520==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Tn5250j-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tn5250j-develop

--===============2732781840320805520==--