CompuServe Thread

RexxArp Help

9 messages in this thread
#36761From: ROGER LE VINESep 8, 1993 7:33 AM
Bob – First thanks for all the help. If I can figure out a few things the RexxArpLib may be a great deal of help. The first problem is that I want to use programs with Arexx ports, SbPro4 and SuperPlan, for example, and switch back and forth between them. I can launch the programs from ARexx, but I can't use screentofront/back without their public screen names. Where do I find them ??? Not in the docs for sure. Can I use CreateHost to launch the Apps, and if so what is the best way to do this (syntax)? I really feel stupid, like I'm missing something obvious, but after messing around with no luck I decided the easiest way is to ask. Thanks in advance for your help // RSL Finally entering the 20th century \\// Via Autopilot
#36766From: Roy S. LauferSep 8, 1993 6:12 PM
Roger, Interesting signature you have at the bottom of your message <g>… // I'm gonna wait for \X/ the A5000! <G> -RSL-
#36779From: ROGER LE VINESep 9, 1993 7:22 AM
Roy Well I've had an A3000 for some time now and I've just downloaded AP. Before that I used a little program called Wombat(Xmodem for data transfer). I never downloaded Whap. And I've never even tried to use AREXX until last month. I guess I feel like I'm at least a generation behind. Anyway since the 21st in close upon us I guess it's time to enter the 20th. // RSL Finally entering the 20th century \\// Via Autopilot
#36790From: Roy S. LauferSep 9, 1993 7:18 PM
Roger, Actually my comment was meant to be humorous. If you look at the end of my message you will see that my Amiga check as well as my initials are similar to yours! // I'm gonna wait for \X/ the A5000! <G> -RSL-
#36791From: ROGER LE VINESep 9, 1993 9:42 PM
Roy, Even though I'm set in my ways, so was mine // RSL Finally entering the 20th century \\// Via Autopilot
#36771From: Larry ShanahanSep 8, 1993 8:26 PM
Roger: Usually, the public screen name appears on the screen titlebar. If for some reason these programs don't put it there (and I have no idea why they wouldn't) try using a program like the Amiga Real Time Monitor (ARTM) to find the screen names. Creathost() isn't used to launch programs. You use that when you need to start an ARexx function host for use with RexxArpLib. If you can find them, get the issues of Amiga World Tech Journal containing the articles on rexxarplib written by Marv Weinstein. They explain everything about communicating with function hosts, using rexxarplib, and some tricks on addressing DOS from Arexx. Stay cool B-) -Larry
#36840From: Robert WilcoxSep 12, 1993 6:51 PM
Could be that these programs don't use public screens [Ds.
#36794From: Bob ChapmanSep 10, 1993 12:53 AM
Roger – > Can I use CreateHost to launch the Apps . . . ? To start SbPro4 from ARexx, don't you want to do something like: . . . . . . /* Make sure libs are open */ if ~show('l','rexxsupport.library') then if ~addlib('rexxsupport.library',0,-30,0) then exit 20 if ~show('l','rexxarplib.library') then if ~addlib('rexxarplib.library',0,-30,0) then exit 20 address command 'run SBase4:SBase4pro <nil: >nil:' do 50 while ~show('P', 'SBase4') /* wait for it to start */ call delay 10 end if ~show('P', 'SBase4') then /* didn't start – bail out */ exit 20 . . . . . Note: 'SBase4' is the port name for SBase Professional 4 V1.2 you may want to use 'show('P')' to verify the port name for your version. > I can't use screentofront/back without their public screen names. Have you tried using one of the 'system monitor' type programs to see screen and/or window names? (Although I couldn't guarantee that there will be a useable name.) For example: AmigaTech LIB 11 ! [76703,2006] ARTM.LHA/Bin Bytes: 45199, Count: 31, 12-Aug-93 Title : ARTM v1.7, Amiga Real Time Monitor Keywords: ARTM MONITOR TASKS WINDOWS DEVICES PORTS JANSEN MERTENS ARTM v1.7, Amiga Real Time Monitor. Displays and controls system activity such as tasks, windows, libraries, devices, resources, ports, residents, interrupts, vectors, memory, mounts, assigns, locks, fonts, hardware, res_cmds, a little SystemMonitor and display the last Alert. Shareware. By Dietmar Jansen and F. J. Mertens REC ——
#36798From: Paul ToalSep 10, 1993 4:39 AM
Bob- In ARTM you can delve into Tasks and find memory locations. Does this tell us how much memory aa program is using? Does this include all the little extra things it keeps around? What about the chip ram for screen/window? –Paul < Motorola Inside >