🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #34699

How to Foul DA Handler

#34699
From: Paul G. Nevai
Date: Tue, 22 Nov 1988 12:39
26 lines
1663 bytes
     HELP!!!      HELP!!!      HELP!!!

In MultiFinder with plenty of unfragmented RAM available I still
 frequently cannot open DAs because the DAHandler tells me that 
there isn't enough memory and suggests to quit other applications etc.

I got sick of this and so I am designing my own DA Handler program
 (in LSP). The only problem is that when I say OpenDeskAcc then the 
DA gets automatically loaded into the DA Handler and that's precisely
what I want to avoid. Of course, I can hold down the Option Key and then
everything works OK. But I'd like to automate the process so I would 
not have to press the Option Key while loading my favorite DAs. 

Thus I have the question:

How can I foul the Mac into thinking that the Option Key is down? Can I
modify the event queue or what? Anyone has hint or an example in Pascal? 

Please Email answer! 10^6 thanks!

Paul Nevai                                pgn@osupyr.mast.ohio-state.edu 
Department of Mathematics                 TS1171@OHSTVMA.bitnet
The Ohio State University                 73057,172.Compu$erve
231 West Eighteenth Avenue                1-614-292-5310.office
Columbus, OH 43210, U.S.A.                1-614-292-4975.dept
Technical Details
Message-ID: <1088@osupyr.mast.ohio-state.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!rutgers!tut.cis.ohio-state.edu!osupyr.mast.ohio-state.edu!pgn

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!rutgers!tut.cis.ohio-state.edu!osupyr.mast.ohio-state.edu!pgn
From: pgn@osupyr.mast.ohio-state.edu (Paul G. Nevai)
Newsgroups: comp.sys.mac,comp.sys.mac.programmer
Subject: How to Foul DA Handler
Message-ID: <1088@osupyr.mast.ohio-state.edu>
Date: 22 Nov 88 12:39:10 GMT
Reply-To: pgn@osupyr.mast.ohio-state.edu (Paul G. Nevai)
Organization: Mathematical Sciences Computer Lab, Columbus, OH
Lines: 26