On Dec 11, 2013, at 09:12, Walter Ian Kaye <[log in to unmask]> wrote:
> It seems I can get either a whose clause filtered list of file objects *or* an alias list, but I can't seem to get both. Been trying various syntax.
______________________________________________________________________

Hey Walter,

As far as I know it can't be done pre-Mavericks.

However this does work on Mavericks:

-------------------------------------------------------------------------------------------
tell application "Finder"
	set _target to target of front window as alias
	set fileList to (files of _target whose name extension is "dmg") as alias list
end tell
-------------------------------------------------------------------------------------------

Pre-Mavericks this is what I used to do when I wanted to convert Finder-References to an alias list:

-------------------------------------------------------------------------------------------
on makeAliasList(_list)
	tell application "Finder"
		repeat with i in _list
			set contents of i to (i as alias)
		end repeat
		return _list
	end tell
end makeAliasList
-------------------------------------------------------------------------------------------

tell application "Finder"
	set _target to target of front window as alias
	set fileList to (files of _target whose name extension is "dmg") as alias list
end tell

makeAliasList(fileList)

-------------------------------------------------------------------------------------------

--
Best Regards,
Chris