mouseDoubleUp
Posted: Mon Nov 29, 2010 6:21 pm
I am trying to get a double click in a text field to
1. copy the hilited text to the clipboard so it can be pasted into a different text field
2. set the textStyle of the hilited text to Link
I have tried
on mouseDoubleUp
get the selectedChunk of me
set textStyle of the selectedChunk to "Link"
end mouseDoubleUp
but no luck. Any suggestions?
Also ...
What script would I put in the receiving field so that when the mouse is clicked in it the text copied from the first field is inserted at that point?
1. copy the hilited text to the clipboard so it can be pasted into a different text field
2. set the textStyle of the hilited text to Link
I have tried
on mouseDoubleUp
get the selectedChunk of me
set textStyle of the selectedChunk to "Link"
end mouseDoubleUp
but no luck. Any suggestions?
Also ...
What script would I put in the receiving field so that when the mouse is clicked in it the text copied from the first field is inserted at that point?