[comp.sys.mac.programmer] How to get the current application

jjoshua@topaz.rutgers.edu (Jon Joshua) (06/18/90)

I am writing a DA that mounts and unmounts hard disks.  It isn't nice
to unmount a disk when the finder is the current application.  How can
I tell what the current application is?  I tried using the global
CurApName but this does not work very well under multi-finder.  Is
there some function or another global that I might have missed?

JOn.
-- 
                        /\                    ?               ________________ 
jjoshua@topaz.rutgers.edu \  ____   __       fgu             |.signature under|
 Anything is possible...   \ |  |  / |     orywlut-          |  construction  |
                            ==========    gfgsdfsdfsd        |________________|
_____________________________OO_____O___hfdhksjdhfksjdfs_______||__________||__