Path: utzoo!attcan!uunet!hodge!pnet06!mark From: mark@pnet06.cts.com (Mark Murphy) Newsgroups: comp.sys.mac.hypercard Subject: Re: Non-User Typing into fore-ground fields Message-ID: <228@hodge.UUCP> Date: 16 Jun 88 19:32:12 GMT Sender: rusty@hodge.UUCP Organization: People-Net [pnet06], Orange, CA Lines: 21 dss@cblpn.ATT.COM (Dan Stoops) writes: >When I go to "put" things into a fore-ground field from a script, or get the >location of a fore-ground field from a script (ie. get the loc of field 1) >the response is "Never heard of Bkgnd field number 1". Well, the solution for that is simple. Fore-grounds, as you call them, are cards. Card fields or buttons need to have the adjective "card" placed before them. Examples: get the loc of field 1 - Will return the location of background field one. If none, then an error. get the loc of card field 1 - Will return the location of card field one. If none, then an error. Without the adjective, HT assumes you want the background field, not the card (fore-ground?) field. Hope this helps... Mark Murphy, Tyrell Co. UUCP: {crash uunet}!pnet06!mark Voice: (714) 491-8110 ARPA: crash!pnet06!mark@nosc.mil The Desktop BBS: (714) 491-1003 INET: mark@pnet06.cts.com