Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!emory!wuarchive!waikato.ac.nz!canterbury!otago.ac.nz!michael From: michael@otago.ac.nz Newsgroups: comp.sys.mac.programmer Subject: DA's, copying, and MultiFinder Message-ID: <1991Mar20.144345.178@otago.ac.nz> Date: 20 Mar 91 03:21:10 GMT Organization: University of Otago, Dunedin, New Zealand Lines: 25 I have a problem here with a desk accessory I am fixing up (yes, I know, I would rather it was a small application too). I would like to have a button that does a Copy of the text the DA is displaying and closes it in one action. It would seem this is not possible under MultiFinder, because in the words of Tech Note 181: > MultiFinder 6.0 and earlier keeps separate scrap variables for each > partition. MultiFinder only checks to see whether or not to increment the other > partitions scrapCount variables in response to a user-initiated Cut or Copy. > To do this, it watches for a call to _SysEdit (SystemEdit) or a menu event to > determine if an official Cut or Copy command has been issued. Because my "Copy and close" button isn't official according to MultiFinder it doesn't export the scrap to other applications. If I try to make it official from within the DA by calling SystemEdit(3) weird and unpleasant things happen. Has anyone else encountered this? Is there a legitimate solution? Thanks, Michael(tm) Hamel, Computing Services Centre, University of Otago, New Zealand MASSACHUSETTS (pl. n.) Those items and particles which people who, after blowing their noses, are searching for when they look into their hankies.