Home › Forums › XMetaL Tips and Tricks › Script Example: Functions for Selecting the Next or Previous Word › Reply To: Script Example: Functions for Selecting the Next or Previous Word
Reply to: Script Example: Functions for Selecting the Next or Previous Word
January 14, 2016 at 4:58 pmHi,
I have a requirement to get previous word in the current document and the based on the previous value, quotes ” have to changed to open curly quotes or closed curly quotes . I tried to use getPreviousWord(false).text to get the previous value but it is not working. I am getting the error message . object doesn't support this property or method. Kindly help.