Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!apple!jdevoto From: jdevoto@Apple.COM (Jeanne A. E. DeVoto) Newsgroups: comp.sys.mac.hypercard Subject: Re: Keeping styled text using put in field command Keywords: styled text, put command vs. copy and paste Message-ID: <53430@apple.Apple.COM> Date: 29 May 91 04:28:34 GMT References: <3850@beguine.UUCP> Organization: Apple Computer Inc., Cupertino, CA Lines: 27 In article <3850@beguine.UUCP> mikef@bbs.acs.unc.edu (Michael Freedburg) writes: >Is it really the case that the put command does not retain styled text >or is there some other thing I need to do in order to maintain the text >as I typed it in?? >What is the story with HyperCard 2.1 and exporting styled text using the >write command? You aren't missing anything: "put" only deals with the text, not with the styles. I have heard tales from some people to the effect that they were working on XCMDs that would bring the style record along with the text, but I have not seen any actual, working code that does this. Yet. 2.1 has some expansions to the write command - in particular, it lets you write to a file starting at a specified position. But it doesn't have anything that lets you write styled text to a file. Copy and paste works OK for moving text styles, although it is a little more cumbersome (and has the disadvantage that it clobbers whatever was on the clipboard) than get/put. -- ========= jeanne a. e. devoto ======================================== jdevoto@apple.com | You may not distribute this article under a jdevoto@well.sf.ca.us | compilation copyright without my permission. ______________________________________________________________________ Apple Computer and I are not authorized | CI$: 72411,165 to speak for each other. |