View Single Post
Reference ambiguities can often by resolved (to the innermost scope) by using the keyword its

This works:

Code:
tell application id "OFOC"
	tell default document
		set oFolder to first folder
		set lstProj to (flattened projects where its folder is not missing value and its folder is oFolder)
	end tell
end tell