Path: utzoo!utgpu!water!watmath!clyde!att!rutgers!mit-eddie!bloom-beacon!athena.mit.edu!twleung From: twleung@athena.mit.edu (Theodore W. (Ted) Leung) Newsgroups: comp.sys.mac.hypercard Subject: More Hypercard XCMD's Message-ID: <6749@bloom-beacon.MIT.EDU> Date: 20 Aug 88 21:47:51 GMT Sender: daemon@bloom-beacon.MIT.EDU Reply-To: twleung@athena.mit.edu (Theodore W. (Ted) Leung) Distribution: na Organization: Massachusetts Institute of Technology Lines: 19Thanks to those who sent me help about the XCMD. I've been away on vacation, but I now have a working XCMD that can send Hypertalk messages. There is a hitch, though. The if I try to execute 'doMenu "New Card"' from the XCMD, I get 5 new cards and then an error about too much recursion. In reading Gary Bond's description about SendCardMessage, he warns that moving to a different card causes the new card to become the current card AND become the recipient of the message sent by SendCardMessage. This explains the apparent recursion, since New Card creates a card and moves there, the newly created card gets a New Card . . . . . I tried using SendHCMessage, which is supposed to bypass the inheritance hierarchy, but I also get the "too much recursion" error. What am I doing wrong? Ted Leung ------------------------------------------------------------------------------- Ted Leung MIT/Project Athena UUCP:...mit-eddie!athena.mit.edu!twleung Internet: twleung@athena.mit.edu