Re: applescript-users digest, Vol 2 #1042 - 2 msgs
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