[comp.sys.amiga.tech] Workbench private lists

fche@db.toronto.edu (Frank Eigler) (03/09/89)

Hello net,

	A friend and I are writing a program that would need to
access some private lists that WorkBench maintains.  For one, we
need to find and scan the list of selected icons, so our program
can, like WorkBench, format a selected disk, for example.

	The selected icons I mean are not the wb_Arg things that
a program is passed when it is run, but an on-demand list of icons
that is highlighted at any given moment during the duration of the
program.

	I know that this is horrible and illegal and all the rest.
But when any new versions of the OS come out we would happily update
the program to converse with the new WorkBench, or drop it altogether.

	Our question, thus, is how we could find some of the private
lists of WorkBench, especially the ones mentioned in the Amiga Programmer's
Handbook from SYBEX.  Some kind of offset from some base is all we need.

	Thanks for any help.  I repeat, I know this is `illegal', but it
would benefit our program greatly.



-- 
..............................................................................
Frank Ch. Eigler		"Don't ask me!  I'm new here!"
		fche@csri.toronto.edu
		fche@db.toronto.edu
"I don't know what I am doing; I sure hope the compiler does!"