Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!zaphod.mps.ohio-state.edu!sunybcs!boulder!rieman From: rieman@boulder.Colorado.EDU (John Rieman) Newsgroups: comp.sys.mac.hypercard Subject: Re: a new button is called "New Button" Message-ID: <17048@boulder.Colorado.EDU> Date: 16 Feb 90 17:36:18 GMT References: <10752@june.cs.washington.edu> Sender: news@boulder.Colorado.EDU Reply-To: rieman@boulder.Colorado.EDU (John Rieman) Organization: University of Colorado, Boulder Lines: 24 In article <10752@june.cs.washington.edu> moore@cs.washington.edu (Charles Moore) writes: >In article <46@exodus.Eng.Sun.COM>, woodard@troll.sun.com (Mike &) writes: >> >> Also, is there a way to specify a newly created object? >> How can I name, or otherwise talk about something thats >> brand new? ... > >When you create a new button it's name is initially set to "New Button". >Thus, the command you want is: > >set the name of button "New Button" to "junk" > ... Safer is: set the name of card button the number of card buttons to "junk" That way you'll always get the most recent button. With "New Button" you might get an earlier button that you hadn't renamed. Works for fields too, of course. -john rieman@boulder.colorado.edu U. of Colo.