Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!seismo!rutgers!sri-unix!hplabs!ucbvax!CZHRZU1A.BITNET!K538915
From: K538915@CZHRZU1A.BITNET
Newsgroups: comp.sys.atari.st
Subject: RE: Starting desk-accessorys without the menu-bar
Message-ID: <8701140036.AA15628@ucbvax.Berkeley.EDU>
Date: Tue, 13-Jan-87 20:34:10 EST
Article-I.D.: ucbvax.8701140036.AA15628
Posted: Tue Jan 13 20:34:10 1987
Date-Received: Wed, 14-Jan-87 03:23:51 EST
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The ARPA Internet
Lines: 29

Over the christmas holidays I spent some time playing around with the
AES-functions appl_find and appl_write (besides writing a Kermit
implementation for UniTerm), to get the application id of
another application (always a desk-accessory since the current application
always has a id of 0 (the one exception see below!)) call appl_find with
the filename in CAPITAL letters (without extension!) this will return
the id if it was sucessful or -1 if it wasn't. You can then send the
application a message with appl_write (with msg_buffer[0] = 40 to start
a accessory), this works very well as long as the receiving accessory
doesn't check for it's menu id in msg_buffer[4], in which case you would
just have to try all menu id's between 0 and 5. You can also send messages
to the AES screen manager (filename: SCRENMGR). If anybody want's the
OSS/CCD Pascal source code of a program which plays around with
these calls, I could post it.

                         Simon Poole
                         K538915@CZHRZU1A.BITNET

PS: A lot of people have been e-mailing to me if I could send them
    a copy UniTerm on disk. I will do this if you can get a disk and
    postage to my home address, BUT don't forget that I live in
    Switzerland, so try to get from somewhere near you first!

                My address:

                Simon Poole
                Bahnhofstrasse 51 b
                CH-5430 Wettingen
                Switzerland