Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!uwvax!ai.cs.wisc.edu!neves From: neves@ai.cs.wisc.edu (David M. Neves) Newsgroups: comp.sys.mac.hypercard Subject: screen location of text in field? Message-ID: <9609@spool.cs.wisc.edu> Date: 24 Jan 90 20:35:14 GMT Sender: news@spool.cs.wisc.edu Organization: U of Wisconsin CS Dept Lines: 24 What is the best way of finding out where some text in a field appears on the screen -- i.e. its screen rectangle? The field text is word wrapped -- there are no return characters in it. The only way I could figure out how to do it is to write a function that starts at the beginning of the field and computes character positions with word wrap figured in until it gets the the text in question. Anyone done this? -Thanks, david p.s. Earlier I asked about good Hypertalk books. As other people have suggested, I went with Apple's HyperCard Script Language Guide. I wouldn't recommend it for beginners but it makes an excellent reference book. p.s.s. A second question: How can one reference a selected object from the message box? To quickly edit the script of any object I would like to mouse it and then type "edit" in the message box. -- neves@ils.nwu.edu Institute for the Learning Sciences, 1890 Maple, Evanston Il 60201