Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!ncar!noao!arizona!jhaslup From: jhaslup@cs.arizona.edu (Jason A. Haslup) Newsgroups: comp.sys.mac.programmer Subject: Copying Text Keywords: Text Copy Fkey Message-ID: <1263@caslon.cs.arizona.edu> Date: 25 Mar 91 03:44:26 GMT Distribution: usa Organization: U of Arizona CS Dept, Tucson Lines: 16 Hello - I have a quick question about an Fkey that I'm trying to write. What I need to do is copy any text that is currently hilited when my Fkey is called. I need to do this especially in dialog boxes - I will copy the text into a string, manipulate it a bit, and then paste the new string back into where the hilited text was. My first problem is how to copy the text into a string in my program. I'm creating this project with Think Pascal 3. Is it possible to copy the text and then paste it back in? Any help would be appreciated. -- --- Jason Haslup --- at the University of Arizona