Path: utzoo!attcan!uunet!ncrlnk!ncrcae!hubcap!gatech!rutgers!mailrus!iuvax!purdue!decwrl!decvax!spray!anson From: anson@spray.CalComp.COM (Ed Anson) Newsgroups: comp.sys.mac.programmer Subject: Re: Copy to clipboard in MultiFinder Message-ID: <2491@spray.CalComp.COM> Date: 10 Nov 88 14:31:49 GMT References: <737@dukempd.phy.duke.edu> Reply-To: anson@spray.UUCP (Ed Anson) Organization: CalComp, A Lockheed Company, Hudson, NH, USA Lines: 26 In article <737@dukempd.phy.duke.edu> fang@dukempd.phy.duke.edu (Fang Zhong) writes: > > The following codes put a PICT drawing into the clipboard. >It works fine in Finder, but it fails to do the job in >MultiFinder. Can any shed a light on this problem? Thanks. There was a Tech Note on this subject some time ago, but I can't recall the number. The long and short of it is this: MultiFinder checks for selection of a menu item Edit/Copy. If this has not occurred, it doesn't bother moving the scrap to the other partition when switching applications. The assumption is that copying to the scrap is a user-initiated function. In other words, you can probably read back the scrap in the same application that wrote it, but not in another. Of course, that's probably not what you want to do. The best workaround I have found is to call MenuKey with a 'C'. This makes MultiFinder think the user did a Copy (assuming the menu item is present). I hope this helps. -- ===================================================================== Ed Anson, Calcomp Display Products Division, Hudson NH 03051 (603) 885-8712, anson@elrond.CalComp.COM