Path: utzoo!mnetor!uunet!husc6!think!ames!pacbell!att-ih!ihnp4!inuxc!iuvax!pur-ee!uiucdcs!uxc.cso.uiuc.edu!uxe.cso.uiuc.edu!leonardr From: leonardr@uxe.cso.uiuc.edu Newsgroups: comp.sys.mac.hypercard Subject: Printing Fields XCMD Message-ID: <220100010@uxe.cso.uiuc.edu> Date: 22 Mar 88 16:11:00 GMT Lines: 27 Nf-ID: #N:uxe.cso.uiuc.edu:220100010:000:1620 Nf-From: uxe.cso.uiuc.edu!leonardr Mar 22 10:11:00 1988 I have been working on an XCMD that will allow you to print a Scrolling Field in Hypercard. I thought I had the little bugger done until, while testing, I discovered that the GetField... calls all return handles to STRINGs and not to text therefore limiting the fields to 255 chars. So out the window went all my previous code and it was back to the drawing board. My current solution (though not entirely working yet) is to use the Open File and Write File commands in HyperTalk to write th file out to disk and then call my XCMD with the name of the file. The XCMD then reads the text file, Prints it out and then deletes it (since it doesn't need to stay around). Does anyone have a better solution than this? Has anyone already written one of these and want to save me from more wasted time? Dan, how about some way to get a WHOLE FIELD back in that Handle instead of just a string?? +---------------------------------+-----------------------------------+ + + Any thing I say may be taken as + + Leonard Rosenthol + fact, then again you might decide+ + President, LazerWare, inc. + that it really isn't, so you + + + never know, do you?? + + leonardr@uxe.cso.uiuc.edu + + + GEnie: MACgician + + + Delphi: MACgician + + + + + +---------------------------------+-----------------------------------+