• 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: Droplet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Droplet


  • Subject: Re: Droplet
  • From: Luca Pozzato <email@hidden>
  • Date: Fri, 7 Apr 2006 03:32:47 +0200

Hi Michelle,

these use Satimage regexp and may have some limitations if you select files that are not at the same level…

ciao

Luca

on open these_items
set folderList to {}
set fileList to {}
tell application "Finder"
set mylist to (every item of these_items) as string
set myHOME to container of item -1 of these_items as text
end tell
set myitems to change myHOME in mylist into return & myHOME
try
set folderList to find text ".+:$" in myitems with regexp, all occurrences and string result
end try
try
set fileList to find text ".+[^\\:]+$" in myitems with regexp, all occurrences and string result
end try
set result_list to {"-files-"} & fileList & {"-folders-"} & folderList
set mychoice to choose from list result_list
end open
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Droplet (From: Michelle Steiner <email@hidden>)

  • Prev by Date: paste image into iChat?
  • Next by Date: Re: Hours of CPU operation
  • Previous by thread: Re: Hours of CPU operation
  • Next by thread: Re: Droplet
  • Index(es):
    • Date
    • Thread