Classic Finder v OS X Finder
Classic Finder v OS X Finder
- Subject: Classic Finder v OS X Finder
- From: Shay Telfer <email@hidden>
- Date: Wed, 1 Aug 2001 15:17:34 +0800
Hi...
The following script runs with the Classic Finder, but when run under
OS X the 'list' part of 'as list' is highlighted and the error
"Finder got an error: A descriptor type mismatch occurred" is
reported.
set searchFolder to "Random path:" as alias
set suffix to ".mcp"
tell application "Finder"
set the item_list to (every item of the entire contents of
the searchFolder whose name ends with the suffix) as list
end tell
Any suggestions? (other than using a search OSAX :)
Thanks,
Shay
--
=========================== Shay Telfer ================================
Perth, Western Australia Technomancer Sponsor WA's Solar Car
Opinions for hire [POQ] Sungroper
email@hidden fnord <
http://sungroper.asn.au/>