• 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: a secure delete droplet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: a secure delete droplet


  • Subject: Re: a secure delete droplet
  • From: Nigel Garvey <email@hidden>
  • Date: Tue, 11 Mar 2003 00:48:01 +0000

email@hidden (Michael Slomski) wrote on Mon, 10 Mar 2003
08:42:59 +0100:

>Hello Roy,
>
>Someone pointed out, that if you drag an alias on a dropplet, the alias is
>always resolved first. So your dropplet will delete the original, not the
>alias!
>So be shure, that you want this behavior. I don't know how to fix this, but
>we have a lot of applescripters here on the list, so perhaps one will
>enlighten us/me :-)

You could make use of the fact that items dragged to a droplet have
necessarily been selected first and simply tell the Finder to delete the
selection. This is obviously only good for items dragged from a Finder
window. Many would advise against relying on the Finder's 'selection', as
it might change in the instant between the drop and the script's
reaction; but that's unlikely and I don't know of any other recourse in
this case - apart from doing something radical like dragging the stuff
straight to the trash instead of to a droplet. ;-)

NG
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Where is the event for property of list?
  • Next by Date: Re: Script Editor could not be opened
  • Previous by thread: Re: a secure delete droplet
  • Next by thread: Re: a secure delete droplet
  • Index(es):
    • Date
    • Thread