That's nice. I'd forgotten that System Events could so roundly whip the Finder with filter forms. The Finder takes a full 10 seconds to grind out the equivalent on my i7 MacBook Pro.
Barry: here's another alternative.
try
set prefsFolder to quoted form of (POSIX path of (path to preferences folder from user domain))
set shellCMD to "find " & prefsFolder & " -name \"*widget.weather*\" -depth 1 | egrep -iv \".plist$\""
set oldTIDS to AppleScript's text item delimiters
set AppleScript's text item delimiters to return
set foundFiles to text items of (do shell script shellCMD)
set AppleScript's text item delimiters to oldTIDS
repeat with ndx from 1 to length of foundFiles
tell foundFiles to set item ndx to POSIX file item ndx as alias
end repeat
foundFiles
# tell application "Finder" to delete foundFiles
on error errMsg number errNum
beep
display dialog "Error: " & errMsg & return & "Error Number: " & errNum
end try
It's not pretty, but it's quick. It deletes to the Trash, so if you goof you can recover.