• 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: Getting a count of dropped items before processing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting a count of dropped items before processing


  • Subject: Re: Getting a count of dropped items before processing
  • From: Michelle Steiner <email@hidden>
  • Date: Thu, 27 Jul 2006 22:31:03 -0700

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:
This email sent to email@hidden


References: 
 >Getting a count of dropped items before processing (From: Romy Opena <email@hidden>)

  • Prev by Date: Getting a count of dropped items before processing
  • Next by Date: Re: Getting a count of dropped items before processing
  • Previous by thread: Getting a count of dropped items before processing
  • Next by thread: Re: Getting a count of dropped items before processing
  • Index(es):
    • Date
    • Thread