• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Get List of Certain Desktop Filetypes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Get List of Certain Desktop Filetypes
      • From: Matthew Smith <email@hidden>
    • Re: Get List of Certain Desktop Filetypes
      • From: Jon Pugh <email@hidden>
  • Prev by Date: Re: Tell default browser to open a URL
  • Next by Date: Re: Tell default browser to open a URL
  • Previous by thread: Re: Dropping a Clipping into Tex-Edit
  • Next by thread: Re: Get List of Certain Desktop Filetypes
  • Index(es):
    • Date
    • Thread