CompuServe Messages

Paste Function

#: 125312 S10/ProgrammingForum unknown
    18-May-88 21:06:12
Sb: #125279-Paste Function
Fm: John Sobernheim(TCR) 76625,1210
To: Ray Lambert 76077,1653

This message turned up in search, but its forum couldn’t be identified from the original transcript, so it may not be linked into its thread.

I think what you are trying to achieve would be best brought about by using ARexx for Inter Process Communications. What you _could_ do is latch on to ARexx and listen in to all of the ARexx messages running around on an ARexx'd system. The user would then be able to write ARexx macros from inside his application that would call your calculator. Your calculator would perform the calculation and then return the answer through the ARexx message port to his application. Your calculator wouldn't even have to come up on the screen, or, it could come up, if the user so desired. There is a simple calculator program provided on the ARexx distribution disk called calc.rexx. Through another application that has an ARexx interface, I can latch the command 'call Arexx, run calc.rexx, with this argument — expect a returned value, place it where my cursor is now' to a key sequence on my keyboard. If I typed 39.95*.6 in a field and then did a R-Amiga C key sequence it would perform the above ARexx macro and come back and leave 21.37 in the field where I had called it from. Does this sound like what you want to be able to do? If so, I suggest that you go out and buy ARexx (and WShell) as soon as possible and start lobbying every software artist to include an ARexx interface in their application.