Page 1 of 2

How capture a mouse click using REXX?

PostPosted: Sat Feb 13, 2010 4:21 am
by smita
I want to capture the mouse click using rexx; as I want to initiate a function as the mouse clicks?

Can any one shed any light on it?

Thanks,
Smita

Re: How capture a mouse click using REXX?

PostPosted: Sat Feb 13, 2010 5:38 am
by MrSpock
I'm not aware of any REXX functions or constructs (we ARE talking about TSO/E REXX here, right?) that would deal with such a concept.

Re: How capture a mouse click using REXX?

PostPosted: Sat Feb 13, 2010 8:30 am
by Robert Sample
Googling rexx mouse click found some hits but they are mostly OS/2 or VM / CMS, not z/OS. There may be a 3270 emulator or two that can do this, but you'll have to convince your organization to spend the money to purchase the software.

Re: How capture a mouse click using REXX?

PostPosted: Sat Feb 13, 2010 4:50 pm
by smita
Thanks Mrspock for the reply!!

Did you say it's possible through TSO/E REXX? If yes; please tell me how?

Thanks,
Smita

Re: How capture a mouse click using REXX?

PostPosted: Sat Feb 13, 2010 10:14 pm
by dick scherrer
Hello,

Did you say it's possible through TSO/E REXX?
No, MrSpock did not say that. MrSpock was confirming that your question related to tso/e rather than the pc or something else.

As Robert mentioned, there may be a 3270-emulator product that supports this, but it would have to be identified, approved, and purchased by your organization. It is not a standard feature on the 3270 terminal.


.

Re: How capture a mouse click using REXX?

PostPosted: Sat Feb 13, 2010 11:46 pm
by smita
Thanks Dick!!

Is it possible to highlight a portion of a string in rexx & display?

- Smita

Re: How capture a mouse click using REXX?

PostPosted: Sun Feb 14, 2010 1:15 am
by dick scherrer
Hello,

If a string (and the mainframe does not process striings) is highlighted, it is already displayed. . . :?

What you want to do needs clarification.

From the line of questions, i suggest you learn what a "3270" can do and design/code within those capabilities.

If you want a "Windows" presentation, suggest you write the presentation code in other than "3270". If this is not already being done in your organization, it may be quite difficult to convince management to move in this direction. . .

Re: How capture a mouse click using REXX?

PostPosted: Sun Feb 14, 2010 1:32 am
by smita
Thanks again Dick for replying so promptly!!

Ok... Let me explain clearly what is there in my mind.

I work in mainframes; and was planning to develop a tool which will enable to find some words in a dataset in a betteway.

My idea is when we click on some of the words; it should highlight the word and on pressing certain key it should search that word inside the program or a dataset. Now I am clear that this mouse click funcation can't be caputred using rexx too. But I know that I can findout the current cursor position using rexx. So what I will do is instead of enabling the tool by a mouseclck; I will enable it a certain key & try to search with word on which the cursor is placed. But I want to highlight the word I am seraching. I don't know how to high light the word using rexx.

I hope you have a solution for it. Looking forward for your reply. Thanks again!!

Thanks,
Smita

Re: How capture a mouse click using REXX?

PostPosted: Sun Feb 14, 2010 9:45 am
by dick scherrer
You're welcome :)

The 3270 can do some of what you want. . .

Suggest you edit "something" in tso/ispf (preferably something that is regular text). Looking at the text, choose a word that appears multiple times, enter "f thetext" in the command line, and press Enter. Notice that the cursor goes to the first occurrence of the value and it is highlighted. Pressing F5 moves the cursor to the next occurrence of the value.

Re: How capture a mouse click using REXX?

PostPosted: Sun Feb 14, 2010 7:41 pm
by smita
Thanks Dick :lol: !!

I know that; by typing the word with Find command (F the text) will do the same function. But I don't want to type the word or the Find command in the command line. I want it to be automated by storing in a buffer & then initiating the find with the help of a key. That's why want to highlight the sting to be searched.

Use of 3270 is also impossible!!

Thanks,
Smita