On Sun Jun 22, 2008, Mark Schonewille wrote:
Hi James,Are you looking for something like this? on mouseUp select word clickedWord() of me end mouseUp function clickedWord put the clickChunk into myChunk return number of words of \ (char 1 to (word 2 of myChunk) of the text of the target) end clickedWord
This is by several dimensions better than James's and my own "kludge"-solution. I had something similar in the back of my mind - I think it was from Jacqueline - but I could not find it among my stored script examples.
This brings me to to the question: Is there anywhere a collection of useful one-liners and "few-liners"? If there isn't one, should we establish one and where should we put it for public access?
What about Hugh Senior's Scripter's Scrapbook? Regards, Wilhelm Sanke _______________________________________________ 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
