Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!jpl-devvax!beowulf!dmittman From: dmittman@beowulf.JPL.NASA.GOV (David Mittman) Newsgroups: comp.sys.mac.hypercard Subject: Re: self-knowing scripts possible? Keywords: script identity Message-ID: <11103@jpl-devvax.JPL.NASA.GOV> Date: 18 Jan 91 17:52:50 GMT References: <1991Jan18.164956.22659@ccad.uiowa.edu> Sender: news@jpl-devvax.JPL.NASA.GOV Reply-To: dmittman@beowulf.JPL.NASA.GOV (David Mittman) Organization: Jet Propulsion Laboratory, Pasadena, CA. Lines: 19 When the user clicks on an object (Button, Field, Card), the container "target" contains the identification of that object. The script you want to use would look something like this: on mouseUp set the top of cd fld 1 to the bottom of the target set the left of cd fld 1 to the left of the target end mouseUp This is just a very rough script. If you need more assistance, please don't hesitate to ask. - David P.S. As always, the documentation is many times the most definitive source for HyperTalk languauge definitions. Note that there is some discussion to be found in the documentation which outlines the somewhat esoteric differences between "the target" and "target".