RunRev solution to selection problems

Muaadh Salih Ms1 at soas.ac.uk
Sat Aug 6 10:56:24 EDT 2005


 Now I have a solution from runrev (who are extremely helpful):

-----------------------------------
However, one workaround would be to have each word be an individual textrun and reversing the order of words so that the order is correct.

word1 word2 word3 word4 - internal (4 text runs)
word4 word3 word2 word1 - displayed (4 text runs)

You can do this by separating each word by an "english" space for
example. The idea is to break up the Arabic text run. 

You can then get a function to reverse the order of these words when placed in a field.
This shoud then solve the clicktext issue. We have plans to improve unicode support in Revolution but unfortunately that would not happen
until after your deadline. 
___________________________

A second possible one is to script for aan opening the field,doubleclick, getting the selection and locking the field again.

on mouseup
set the locktext of the target to false
click at the clickloc
click at the clickloc
get the selection
set the locktext of target to true 
put it into myword
put my word after field wordbank
put uniencode(space,"UTF8") after field wordbank

Any help in scripting for the proposed function or debugging the second solution ? 

Many thanks

Muaadh





More information about the use-livecode mailing list