How to draw a line between objects or letters?
DunbarX at aol.com
DunbarX at aol.com
Fri Jun 5 14:24:27 EDT 2009
William:
on mouseUp
ask "Find which chars?"
put it into tChar
repeat 2
find chars tChar in fld yourField
put the foundLoc & return after tLocs
end repeat
--You now have the two coordinates in tLocs. Do you need help drawing
from this point on?
end mouseUp
I thought you had a problem because you had many instances to select from.
Am I right in that you will always have only two? If not, I wrote a script
that will find all instances of a single letter and give their coordinates,
but this leaves you with the problem of choosing which two to connect. Let me
know.
Craig Newman
**************
We found the real ‘Hotel California’ and the ‘
Seinfeld’ diner. What will you find? Explore WhereItsAt.com.
(http://www.whereitsat.com/#/music/all-spots/355/47.796964/-66.374711/2/Youve-Found-Where-Its-
At?ncid=emlcntnew00000007)
More information about the use-livecode
mailing list