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: Getting a count of dropped items before processing



On Jul 27, 2006, at 10:09 PM, Romy Opena wrote:

This is my problem. I want to poll the number of items dropped into a
"drag and drop" script application before they get processed.

I can do the counting when it is contained in a folder but not when
multiple items are dropped simultaneously.

This will display the number of items dropped. If any of the items is a folder, though, it will not count the contents of the folder.


on open (theItems)
	display dialog (count of theItems) as text
end open

--
"The right to be heard does not automatically include the right to be taken seriously." -- Hubert H. Humphrey


_______________________________________________
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: 
 >Getting a count of dropped items before processing (From: Romy Opena <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.