Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!aramis.rutgers.edu!topaz.rutgers.edu!jjoshua From: jjoshua@topaz.rutgers.edu (Jon Joshua) Newsgroups: comp.sys.mac.programmer Subject: How to get the current application Message-ID: Date: 18 Jun 90 01:52:18 GMT Organization: Rutgers Univ., New Brunswick, N.J. Lines: 14 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_______||__________||__