Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rutgers!cbmvax!peter From: peter@cbmvax.commodore.com (Peter Cherna) Newsgroups: comp.sys.amiga.tech Subject: Re: CygnusEdPro macros Message-ID: <13837@cbmvax.commodore.com> Date: 16 Aug 90 15:44:28 GMT References: Reply-To: peter@cbmvax (Peter Cherna) Organization: Commodore, West Chester, PA Lines: 46 In article david@starsoft.UUCP (Dave Lowrey) writes: >I just bought CygnusEdPro, and am having a few problems defining >macros. > >I want to bind "Save & Quit" to SHIFT-F3. >Any ideas on how I can do this???? Not with a macro. Since the macro recording is literal, it actually quits you without giving you a chance to save the macro. You may be able to do it with an ARexx script. Make one called SaveQuit.ced that does nothing. Then bind that to Shift-F3 with Amiga-m, then the menuitem "Send DOS/ARexx command" then type SaveQuit.ced into the requester, reply "yes" to the "store contents" query, then Amiga-m. Then modify the SaveQuit.ced script to actually do a save & quit. >Is there any way to list key bindings? No. >Also, I assume that ARexx scripts need to be in the REXX: directory. I forget the exact search path, but I think it's listed in the manual. CygnusEd does look in REXX: as part of its search. Use the default .ced extension to easily tell which scripts are for CED. >Is there any way to type macros in a file, then have CygnusEd read them? No. You'd have to use a script. >Are there any collections of CygnusEd programs/macros? I have DevKit off >of the fish disks. Are there any others? The DevKit that's released doesn't work right with CED Release 2. I'm working on an update. (CED's ARexx return codes have changed, among other things). > Dave Lowrey | david@starsoft or {uhnix1,moray}!starsoft!david Peter -- Peter Cherna, Software Engineer, Commodore-Amiga, Inc. {uunet|rutgers}!cbmvax!peter peter@cbmvax.cbm.commodore.com My opinions do not necessarily represent the opinions of my employer. "Very strange... the window is broken on both sides."