• 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
Re: Capturing File Names
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Capturing File Names


  • Subject: Re: Capturing File Names
  • From: John Delacour <email@hidden>
  • Date: Fri, 16 Aug 2002 09:42:35 +0100

At 1:30 am -0400 16/8/02, email@hidden wrote:

>Some say ask the Finder. Others will say use info for. I say: Use whatever's
>handy...


Finder events are slow and 'info for' gets far more info than is needed, so I'd not call either method handy; instead, I'd do this:


on open filelist
set the lList to {}
set text item delimiters to {":"}
repeat with aAlias in filelist
copy the last text item of ("" & aAlias) to the end of the lList
end
choose from list the lList with multiple selections allowed
end

-- JD
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Capturing File Names (From: email@hidden)

  • Prev by Date: RE: Finder scripting: OS 9 vs OS X
  • Next by Date: Re: How to Trigger keystrokes
  • Previous by thread: Re: Capturing File Names
  • Next by thread: Duplicating a File
  • Index(es):
    • Date
    • Thread