vesseur@fwi.uva.nl (Joep JJ Vesseur (I88)) (05/05/91)
hello,
i'm trying to write a sort of texfile-displayer for my st. i would like
to replace the standard displayer (show-print-cancel-alert box from the
desktop) but this seems a little too ambitious to me. i have thought of
one alternative, and that is to write an accessory which displays all
the selected files from the desktop (i prefer this over a file-select
box).
does anybody know if there is a place in memory where the st keeps the
names of the selected files, the abstract data structure they are kept
in and (probably most important): if this place is 'official' (i.e.: is
this place guaranteed for *all* TOS versions?)
if this is not known or not guaranteed,does anybody know how to replace
the standard 'more'? is it just a vector in RAM or is it put in ROM?
thanx in advance,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
joep vesseur, e-mail: vesseur@fwi.uva.nl
--- work: Faculty of Mathematics and Computer Sience,
University of Amsterdam,
Plantage Muidergracht 24, 1018 TV Amsterdam, Netherlands.
tel. +31 20 5256082
--- home: tel. +31 20 6620294
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I'm not disorganized, just flexible.klamer@mi.eltn.utwente.nl (Klamer Schutte) (05/06/91)
In <1991May4.232626.17395@fwi.uva.nl> vesseur@fwi.uva.nl (Joep JJ Vesseur (I88)) writes:
->hello,
->i'm trying to write a sort of texfile-displayer for my st. i would like
Which texfiles? only .dvi files or also the other garbage (which is ascii?)
->to replace the standard displayer (show-print-cancel-alert box from the
->desktop) but this seems a little too ambitious to me. i have thought of
->one alternative, and that is to write an accessory which displays all
->the selected files from the desktop (i prefer this over a file-select
->box).
->does anybody know if there is a place in memory where the st keeps the
->names of the selected files, the abstract data structure they are kept
->in and (probably most important): if this place is 'official' (i.e.: is
->this place guaranteed for *all* TOS versions?)
I doubt this. The desktop just is a application. He does not export anything.
->if this is not known or not guaranteed,does anybody know how to replace
->the standard 'more'? is it just a vector in RAM or is it put in ROM?
You can replace the standard default action box by making your program
take all files in your desktop.inf file. Let *.* go to your program.
Klamer
--
Klamer Schutte
Faculty of electrical engineering -- University of Twente, The Netherlands
klamer@mi.eltn.utwente.nl {backbone}!mcsun!mi.eltn.utwente.nl!klamer