Get List of Certain Desktop Filetypes
Get List of Certain Desktop Filetypes
- Subject: Get List of Certain Desktop Filetypes
- From: Gnarlodious <email@hidden>
- Date: Wed, 05 Dec 2001 08:17:04 -0700
I am trying to get a list of specified filetypes on my Desktop:
(Akua)
tell application "Finder"
set x to items in desktop whose file type is in ({"M822", "TEXT"} as alias)
repeat with i in x
open alias i
ETC.
What is the best/right way to do this? Because I get error "Can't make
{"M822", "TEXT"} into a alias"
Thanks