• 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: Michelle Steiner <email@hidden>
  • Date: Wed, 5 Apr 2006 14:13:33 -0700

On Apr 5, 2006, at 1:20 PM, Robert Poland wrote:

Is this what you mean;

	repeat with i from 1 to the count of droppedItems
		set currentItem to (item i of droppedItems)
		tell application "Finder" to set theKind to kind of currentItem
		if theKind is "Folder" then

Well, that could do it; if kind is not Folder, then it has to be a file. But I was hoping that there's a way to do it without stepping through the list of items one by one, but that could generate two lists--one of files and one of folders, without a loop.


-- Michelle

--
"Colorless green ideas sleep furiously."

_______________________________________________
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


  • Follow-Ups:
    • Re: Droplet
      • From: Mark Siple <email@hidden>
References: 
 >Droplet (From: Michelle Steiner <email@hidden>)
 >Re: Droplet (From: Robert Poland <email@hidden>)

  • Prev by Date: Re: OS 10.4.6 Update
  • Next by Date: Re: Searching for links to Release Notes
  • Previous by thread: Re: Droplet
  • Next by thread: Re: Droplet
  • Index(es):
    • Date
    • Thread