🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #4894

Re: CygnusEdPro macros

#4894
From: Peter Cherna
Date: Thu, 16 Aug 1990 15:44
46 lines
2204 bytes
In article <david.5634@starsoft.UUCP> 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."
Technical Details
Message-ID: <13837@cbmvax.commodore.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rutgers!cbmvax!peter
References: <david.5634@starsoft.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <david.5634@starsoft.UUCP>
Reply-To: peter@cbmvax (Peter Cherna)
Organization: Commodore, West Chester, PA
Lines: 46