Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!wuarchive!usc!apple!jkc From: jkc@Apple.COM (John Kevin Calhoun) Newsgroups: comp.sys.mac.hypercard Subject: Re: self-knowing scripts possible? Keywords: script identity Message-ID: <48254@apple.Apple.COM> Date: 18 Jan 91 19:51:48 GMT References: <1991Jan18.164956.22659@ccad.uiowa.edu> Organization: Apple Computer Inc., Cupertino, CA Lines: 15 In article <1991Jan18.164956.22659@ccad.uiowa.edu> emcguire@ccad.uiowa.edu (Ed McGuire) writes: >If the button script could learn the identity of the button that has it,... >I could then get the position of the button. >Is there some means for a script to learn the identify of its holder >button, field, card, whatever? Yes. You can, for example, get 'the rect of me', to get the position of a button whose script is executing. Kevin Calhoun HyperCard Team Apple Computer, Inc.