SelectedChunk
Mikey
mikeythek at gmail.com
Sun Mar 20 23:38:16 EST 2005
Hmm. Per previous discussion, in an attempt to determine where the
cursor was when the user hit a key (in this case a tab key), I
generated the following script for the field in question
on tabKey
get the selectedChunk
answer it
end tabKey
the variable watcher reports that IT is empty. In addition, changing
the code to
on tabKey
put the selectedText into foo
answer foo
end tabKey
the variable watcher reports the same thing for foo. As one would
expect, in either case the answer is empty.
--
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
and did a little diving.
And God said, "This is good."
More information about the use-livecode
mailing list