Getting list of files from multi-file search in Text Wrangler

I’m trying to script Text Wrangler, and what I’d like to know is: How does one get a list of files returned from a multi-file search?

The I have is:

tell application “TextWrangler”
activate
set fndResults to (find “foo” searching in {alias “MyHD:files:”}
options {search mode:literal, case sensitive:false, match words:false,
extend selection:false})

    set theResults to search results browser 1 

end tell

What’s return from find (fndResults) is a list, but when I open the TextWrangler dictionary the dictionary says find returns a ‘Search Match’. How do I get a Search match object?

Or is there a different way to get a list of the files returned from the search?

Thanks,

Jeff

Is this what you want??

set biglist to {}
tell application "TextWrangler"
	--activate
	set fndResults to found matches of (find "test" searching in alias "Hard Disk:Users:USERNAME:Desktop:TESTS" options {search mode:literal, case sensitive:false, match words:false, extend selection:false, returning results:true})
	repeat with i from 1 to count of items in fndResults
		set this_item to result_file of item i of fndResults
		copy this_item to end of biglist
	end repeat
	
end tell
biglist