• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: applescript-users digest, Vol 2 #1042 - 2 msgs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: applescript-users digest, Vol 2 #1042 - 2 msgs


  • Subject: Re: applescript-users digest, Vol 2 #1042 - 2 msgs
  • From: email@hidden
  • Date: Fri, 7 Sep 2001 01:19:34 EDT

In a message dated 9/7/01 1:08:16 AM,
email@hidden writes:

>=================
>For example:
>
>1. on click theObj at theClickLoc upon thePart
> --handles when the user selects a character
>2. copy character to textbox "txtName1"
> --puts it in the textbox
>3. end click
>=================

I don't have FaceSpan, so I don't know if this is syntax specific to FS or
not, but the basic principle that you need instead of line two is something
like:

copy character to theChar
set textbox "txtName1" to ((textbox "txtName1") & theChar)

Also, a quick unrelated point: I notice that you place your comments after
the line that they refer to. I think it's pretty standard to comment a line
of code BEFORE the code that it refers to. It makes comprehension easier when
reading the script. Just a suggestion.

Ken Fleisher
email@hidden


  • Follow-Ups:
    • Re: applescript-users digest, Vol 2 #1042 - 2 msgs
      • From: John W Baxter <email@hidden>
  • Prev by Date: Re: Folder actions
  • Next by Date: Re: Returning a Character
  • Previous by thread: Re: Folder actions
  • Next by thread: Re: applescript-users digest, Vol 2 #1042 - 2 msgs
  • Index(es):
    • Date
    • Thread