home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ST-Computer Leser 1998 October
/
STC_CD_10_1998.iso
/
SYSTEM
/
OLGANISA
/
OLGANSTR.ENG
< prev
next >
Wrap
Text File
|
1998-09-26
|
3KB
|
55 lines
Thomas Künneth
tskuenne@linguistik.uni-erlangen.de 25/1/97
OLGANSTR...??? You may wonder what this strange name means. Well, I
guess an apropriate translation might be 'OLGAnizer', something that
does not make much sense, though, too... :-) Throughout this document I
will use its German name OLGAnisator...
You may have heard of the OLGA protocol created by Thomas Much. OLGA is
an acronym for 'object linking for GEM applications'. It allows the
user to include sounds, texts, images, ... in documents of certain
applications. When a file in a so called server-application is saved
the client program is told about that and can update its document. Let
me give you an example: My program STELLA (some sort of database
program) organizes your files on your hard disk, CD-ROMs, even
documents in the Internet and tries to create small preview images. If
you double-click on a record that represents an image file the
apropriate server-application, i.e. a paint programm is launched. You
can modify the file and whenever it is saved STELLA notices that and
updates the preview image. The only problem is that applications have
to support the OLGA protocol. To avoid this problem I invented the
OLGAnisator.
Here is a short description of what you have to do to make any
application participate in the OLGA protocol. For further information
on the protocol itself please refer to its documentation.
In order to fulfil its task the OLGAnisator has to be mentioned in the
olga.inf file as if it were an ordinary client program. An example:
Imagine we have the word processor xyz.app with its document files
*.STX. If you want xyz.app to become part of the protocol we have to
edit the olga.inf:
.STX=x:\...\olganstr.app
As xyz.app does not know about the protocol it would not make much
sense to include it in the olga.inf; we use the OLGAnisator instead.
Whenever a client application wishes to edit .STX files OLGAnisator is
launched. As it does not know much about STX files ;-) it will run
xyz.app. To tell the OLGAnisator where to find xyz.app we have a file
olganstr.inf, whichs looks as follows:
.STX=x:\...\...\xyz.app
Nothing else has to be done.. You may ask how the OLGAnisator works.
Well, it simply checks if file time and/or date has changed (which
means tht the file was saved); if this is the case OLGAnisator sends
the apropriate messages. You can specify the time between two cheks in
olganstr.inf
DELAY=xxxxx
with xxxxx the time given in millisecs.
Well, that should do... I hope you do have no problems with the
program. If you have questions, please feel free to ask. BTW, the
program is freeware. Please do not change parts of the program or its
documentation.