[comp.sys.mac.programmer] DiskTop HotKey : implementation ???

pvoirol@eagle.wesleyan.edu (03/15/91)

	Does anybody know how the DiskTop HotKey (to pop-up the DA)
	might work ?

	Is there a way of fixing McSink with a similar feature ?

	Just wondered...
	pv.

d88-jwa@byse.nada.kth.se (Jon W{tte) (03/15/91)

In article <> pvoirol@eagle.wesleyan.edu writes:



	   Does anybody know how the DiskTop HotKey (to pop-up the DA)
	   might work ?


I suppose the "right" way to make a "hot key" is to patch
_KeyTrans, which supposedly gets called for all keyDowns.
You could also patch _MenuKey if you include command in the
hot-key modifier combination.

All you have to do there is to OpenDeskAcc() and be done
with it.

						h+@nada.kth.se
						Jon W{tte
--
"The IM-IV file manager chapter documents zillions of calls, all of which
seem to do almost the same thing and none of which seem to do what I want
them to do."  --  Juri Munkki in comp.sys.mac.programmer