Thanks for your reply. I hope my convoluted description didn’t give the impression I was critising your script. Since I found the reference that it was supposed to be stay-open, it’s been behaving very solidly.
I did think at first that it was being overwhelmed by the number of items in my Downloads folder, but I changed my mind after tests with the “ordinary” droplet I mentioned, whose code is:
on open files_
display dialog (count files_) as text
When the entire contents of my Downloads folder are dropped onto this at once, it triggers once for the non-quarantined items and again for a particular subset of the quarantined items. It doesn’t trigger a third time for the remaining quarantined items, which suggests that these may simply not be getting through, which in turn would mean there was nothing your script could do about them. (I used a variation of this ordinary droplet to write the names of the items in each triggering to separate TextWrangler documents and your other script to determine their quarantine status.)
Testing with the much smaller number of items on my Desktop, I found that the mere inclusion of one of my quarantined .dmg files in the drop was enough to exclude all the other quarantined items dropped with it. This is no doubt what happens with the Downloads folder items too, except that quarantined .zips, .pkgs, and .dmgs seem to get along.
Further tests this morning:
Select one quarantined .zip (downloaded by Safari), two quarantined .pngs (created thus as screenshots), and three non-quarantined .scpts. Drop all six onto the “ordinary” droplet. Effect: the droplet triggers twice, showing 1, then 3.
Deselect the .zip and try again. Effect: the droplet triggers twice, showing 2, then 3.
Select only the .zip and the three .scpts and try again. Effect: the droplet triggers twice, showing 1, then 3.
Select only the .zip and the two .pngs and try again. Effect: nothing.
Try again to be sure. Effect: still nothing.
Add the three .scpts to the selection and try again. Effect: the droplet triggers four times, showing 1, then 1, then 1, then 2!