Page 2 of 2

Re: How capture a mouse click using REXX?

PostPosted: Sun Feb 14, 2010 9:13 pm
by Robert Sample
What do you mean "Use of 3270 is impossible"? You can access the mainframe via a 3270 session, or you can connect via telnet into a Unix System Services session. Based on what you've said so far, give up the idea of doing this. Mouse clicks can -- sometimes -- be used by a 3270 emulator, but without using a 3270 emulator there is no way for a mainframe to know the mouse button was clicked. Furthermore, you don't use ISPF (for example) without using a 3270 emulator.

Your request is not possible based on the parameters you have provided. Period.

Re: How capture a mouse click using REXX?

PostPosted: Mon Feb 15, 2010 12:00 am
by dick scherrer
Hi Smita,

You're welcome :)

Use of 3270 is also impossible!!
Well, i suspect your requirement "is impossible" with vanilla code. . . I mentioned the Find exercise so you could see a word highlighted among other text in the same "field".

Typically, a field is an attrribute-byte (for terminal instructions - unprotected, protected, hi-intensity, etc) and some number of data bytes. To do what you want, this definition must be accomplished "on the fly" so that only part of the field is affected (i.e. highlighted).

Re: How capture a mouse click using REXX?

PostPosted: Thu Mar 18, 2010 2:18 am
by Pedro
Its it not clear about what environment you are in.

If you are in the editor, use an edit macro to determine the cursor position and the contents at that position, then issue a FIND for that text.