[comp.sys.mac.misc] Creating INITs - How to?

bradley@edinboro.edu (DJ) (05/03/91)

Hello, I have written a QuickBasic program to check for the existence of 
a certain disk and a certain file with certain information in the file.  This
program is to be used in a University lab environment where we require
students to use an activator disk scheme to access the systems.  The program
works fine as an application and to run at startup time with multifinder as
a selected set startup application.  Since it is very easy for a student to
change the set startup I am looking for a way to create some type of INIT or
startup document to do the same.  I don't know where to begin to creat an INIT
and if anyone has created INITs and would like to suggest some help I would
gladly appreciate it.  Or is there a way to keep a user from changing the
startup settings once they are set?  This may also be an init of some kind,
but I would really like to know what to use to create INITs.

		Thank You in advance,

		Dennis J. Bradley
		Computer and Communications Center
			Edinboro University of PA
			BRADLEY@EDINBORO.EDU
			(814)732-2931

peirce@outpost.UUCP (Michael Peirce) (05/08/91)

In article <3560@edinboro.edu>, bradley@edinboro.edu (DJ) writes:
> Hello, I have written a QuickBasic program to check for the existence of 
> a certain disk and a certain file with certain information in the file.  This
> program is to be used in a University lab environment where we require
> students to use an activator disk scheme to access the systems.  The program
> works fine as an application and to run at startup time with multifinder as
> a selected set startup application.  Since it is very easy for a student to
> change the set startup I am looking for a way to create some type of INIT or
> startup document to do the same.  I don't know where to begin to creat an INIT
> and if anyone has created INITs and would like to suggest some help I would
> gladly appreciate it.  Or is there a way to keep a user from changing the
> startup settings once they are set?  This may also be an init of some kind,
> but I would really like to know what to use to create INITs.

In System 7 there is a whole folder to contain startup applications
(or aliases to them).  You can put as many applications in there as
you wish.  Students shouldn't have any more propensity to remove things
in this folder than they would from the extentions folder (the new
place to put INITs (aka extensions).

I hope this will lead people to write small applications rather than
INITs.  I know INITs will still be needed for some tasks (like patching
the system).

My latest project uses small applications rather than INITs.  It's
a much nicer environment: no system heap hacking since you get your
very own heap; normal scheduling - no need to swip time by patching
traps; and you can even put up a window if you have to...

-- michael

--  Michael Peirce         --   outpost!peirce@claris.com
--  Peirce Software        --   Suite 301, 719 Hibiscus Place
--  Macintosh Programming  --   San Jose, California 95117
--           & Consulting  --   (408) 244-6554, AppleLink: PEIRCE