Many thanks to Ken  with his solution. Again it does not work as long as you 
click on a locked stack. The reason is as explained below by 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 ( what i think is more practical and less 
complicated)to script for an 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 ?



_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to