Returning a character
Returning a character
- Subject: Returning a character
- From: Sean Malone <email@hidden>
- Date: Thu, 06 Sep 2001 19:09:21 -0700
I was trying to think of what to call this, though "returning a character"
may not be specific enough.
I'm using FaceSpan for this, and I realize this isn't a FaceSpan list, but I
wanted to give you the context for what I'm doing, in order to get to the
necessary script to achieve it.
I've made my own music font, which allows you to write music-analytical
symbols in text. In FaceSpan I'm making a kind of equation editor for the
font, so that you can easily construct strings without having to know all of
the keystrokes for the font. These string are then copied to the clipboard
and pasted into whatever text-app you're working with.
The interface is set up with all of the characters laid out, and when you
click on a particular symbol, that symbol appears in the textbox. Now, what
I'm not sure about is, the script I have to accommodate this command places
the symbol that's clicked in the textbox. But I want to be able to have one
after another as if you're typing. The way the script is now, I'm "setting
the contents of textbox 1" with the object that you click, but this only
permits one thing at a time.
Could someone tell me how the script needs to change so that the contents of
textbox 1 can be filled with as many or few "objects" that the user clicks
on?
=================
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
=================
Each subsequent character that I click should follow the previous character,
as if you're typing.
Any help would be appreciated, I hope I've been clear enough.
Thanks,
Sean