Important: The information in this document is obsolete and should not be used for new development.
TEFromScrap
TheTEFromScrapfunction copies the contents of the desk scrap to the TextEdit
private scrap.
FUNCTION TEFromScrap: OSErr;DESCRIPTION
You use this function to move monostyled text across applications or between an application and a desk accessory.ASSEMBLY-LANGUAGE INFORMATION
You can store a handle to the desk scrap in the global variableTEScrpHandleand the size of the desk scrap in the global variableTEScrpLength; get the desk scrap's handle and size by calling the Scrap Manager'sInfoScrapfunction.RESULT CODE
noErr 0 No error SEE ALSO
For more information about theInfoScrapfunction and the desk scrap, see the chapter "Scrap Manager" in Inside Macintosh: More Macintosh Toolbox.