Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Droplet



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:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden
References: 
 >Droplet (From: Michelle Steiner <email@hidden>)
 >Re: Droplet (From: Robert Poland <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.