How capture a mouse click using REXX?



IBM's Command List programming language & Restructured Extended Executor

How capture a mouse click using REXX?

Postby smita » Sat Feb 13, 2010 4:21 am

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
smita
 
Posts: 15
Joined: Tue Dec 01, 2009 1:20 am
Has thanked: 0 time
Been thanked: 0 time

Re: How capture a mouse click using REXX?

Postby MrSpock » Sat Feb 13, 2010 5:38 am

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.
User avatar
MrSpock
Global moderator
 
Posts: 809
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times

Re: How capture a mouse click using REXX?

Postby Robert Sample » Sat Feb 13, 2010 8:30 am

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.
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: How capture a mouse click using REXX?

Postby smita » Sat Feb 13, 2010 4:50 pm

Thanks Mrspock for the reply!!

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

Thanks,
Smita
smita
 
Posts: 15
Joined: Tue Dec 01, 2009 1:20 am
Has thanked: 0 time
Been thanked: 0 time

Re: How capture a mouse click using REXX?

Postby dick scherrer » Sat Feb 13, 2010 10:14 pm

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.


.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: How capture a mouse click using REXX?

Postby smita » Sat Feb 13, 2010 11:46 pm

Thanks Dick!!

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

- Smita
smita
 
Posts: 15
Joined: Tue Dec 01, 2009 1:20 am
Has thanked: 0 time
Been thanked: 0 time

Re: How capture a mouse click using REXX?

Postby dick scherrer » Sun Feb 14, 2010 1:15 am

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. . .
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: How capture a mouse click using REXX?

Postby smita » Sun Feb 14, 2010 1:32 am

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
smita
 
Posts: 15
Joined: Tue Dec 01, 2009 1:20 am
Has thanked: 0 time
Been thanked: 0 time

Re: How capture a mouse click using REXX?

Postby dick scherrer » Sun Feb 14, 2010 9:45 am

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.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: How capture a mouse click using REXX?

Postby smita » Sun Feb 14, 2010 7:41 pm

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
smita
 
Posts: 15
Joined: Tue Dec 01, 2009 1:20 am
Has thanked: 0 time
Been thanked: 0 time

Next

Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post