Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!ames!lll-winken!uunet!brunix!cs004004 From: cs004004@brunix (Jon Feinberg) Newsgroups: comp.sys.mac.hypercard Subject: Button Name Message-ID: <6035@brunix.UUCP> Date: 10 May 89 04:13:41 GMT Sender: news@brunix.UUCP Reply-To: cs004004@cslab9d.UUCP (Jon Feinberg) Organization: Brown University Department of Computer Science Lines: 24 Summary:Help! I am having a rather frustrating problem... the solution is probably obvious, so please enlighten me. I am simply trying to have a button modify its own name like so: on mouseUp if name of me is "ShowIt" then set name of me to "HideIt" else set name of me to "ShowIt" end if end mouseUp I have tried infinite variations on this theme, including having the button refer to itself by id, etc. Furthermore, if I have the button start out named "HideIt," the first mouseUp sent to it will indeed change the name to "ShowIt," but subsequent presses are utterly ineffectual. I have written some lovely and funky scripts, but this sucker ne marche pas. Help!! Jonathan Feinberg cs004004@pebbles.cs.brown.edu