home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.hp48
- Path: sparky!uunet!kithrup!hoptoad!pacbell.com!iggy.GW.Vitalink.COM!cs.widener.edu!eff!sol.ctr.columbia.edu!usc!zaphod.mps.ohio-state.edu!cs.utexas.edu!mercury.unt.edu!sol!cgw
- From: cgw@sol.acs.unt.edu (christopher williams)
- Subject: Re: Emulating a keypress in sys_RPL???
- Message-ID: <cgw.722454400@sol>
- Originator: cgw@sol.acs.unt.edu
- Sender: usenet@mercury.unt.edu (UNT USENet Adminstrator)
- Organization: University of North Texas
- References: <1992Nov16.090229.12183@waikato.ac.nz> <2b08485b.2181.1comp.sys.hp48.1@hpcvbbs.cv.hp.com> <1ear87INN4gv@clover.csv.warwick.ac.uk> <By3z4E.66o@news.cso.uiuc.edu>
- Date: Sun, 22 Nov 1992 17:46:40 GMT
- Lines: 39
-
- In <By3z4E.66o@news.cso.uiuc.edu> rmg53668@uxa.cso.uiuc.edu (Ryan M. Grant) writes:
- >After seeing JKH's key sysevals table:
- >So who's gonna make up the first HP macro recorder?
- >Is it a useful thing?
- >- Ryan Grant
-
- er, that would be the _second_ macro recorder. here's one that records
- what you do to the stack:
-
-
- %%HP:T(3);
- @
- @ MACRO - a keystroke recorder for the HP48.
- @
- @ Author: Mark Warburton
- @ mwarburt(at)sirius.UVic.CA
- @
- @ Download this program to your HP48 and store it as MACRO.
- @ The program must be named MACRO so that, when you've finished
- @ recording your keystrokes and you hit MACRO, the command "MACRO"
- @ is not recorded as well.
- @
- @ The program will kick the HP48 out of User mode when it finishes,
- @ regardless of its previous status. If you use User mode, you can
- @ just remove the -62 CF from the program.
- @
- @ Instructions: Hit MACRO to start recording. A "3" (sideways "M" which
- @ stands for Macro) will appear in the status line to indicate
- @ that recording is active. Hit MACRO again to stop
- @ recording. The completed program will be returned to
- @ the stack.
- @
- \<< IF -63 FC? THEN "\<<" 'MDAT' STO
- \<< \-> s \<< IF s "MACRO" \=/ THEN 'MDAT' " " s + STO+ END \>> \>>
- '\GbENTER' STO
- \<< \-> s \<< 'MDAT' " " s + STO+ s OBJ\-> \>> \>> '\GaENTER' STO
- -62 SF -63 SF 3 SF
- ELSE -62 CF -63 CF 3 CF MDAT OBJ\-> { \GaENTER \GbENTER MDAT } PURGE END
- \>>
-