Applescript: Indesign Grep – return text

Hi All

I have the following code.

tell application “Adobe InDesign CC 2014”
activate
set find what of find grep preferences to “.+IMG”
set MyFoundWords to find grep
end tell

.which returns.

{text from character 58 to character 67 of story id 223255 of document id 10 of application “Adobe InDesign CC 2014”, text from character 273 to character 282 of story id 223255 of document id 10 of application “Adobe InDesign CC 2014”, text from character 465 to character 474 of story id 223255 of document id 10 of application “Adobe InDesign CC 2014”, text from character 752 to character 761 of story id 223255 of document id 10 of application “Adobe InDesign CC 2014”}

How can I change these to a list of the found words in the actual text rather than a reference?

many thanks

Shane

	repeat with i from 1 to count of MyFoundWords
		set item i of MyFoundWords to contents of item i of MyFoundWords
	end repeat

Thanks Shane