different results after setting variable


tell application "DEVONthink Pro"
	tell its database "Shop"
		tell its content "godown_bend"
			set x to cells
		end tell
	end tell
end tell
get item 2 of x


tell application "DEVONthink Pro"
	tell its database "Shop"
		tell its content "godown_bend"
			set x to item 2 of cells
		end tell
	end tell
end tell

Why are the results different for both scripts?

I don’t own the app but I guess that you would get better results with this syntax :

set x to item 2 of (get cells)

Yvan KOENIG running Sierra 10.12.0 in French (VALLAURIS, France) mardi 11 octobre 2016 16:07:59

Yes, you are right. Thanks.