• 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
A simple deletion script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A simple deletion script


  • Subject: A simple deletion script
  • From: John Clark <email@hidden>
  • Date: Mon, 12 May 2003 17:37:43 +0100

HS Photo
You need Jon's Commands to achieve this

http://www.seanet.com/~jonpugh/


set a to choose folder with prompt "small jpeg"
set b to choose folder with prompt "big jpeg"

set w to list folder a without invisibles
set z to list folder b without invisibles



repeat with i from 1 to number of items in z
set this_item to item i of z
if w does not contain this_item then
set deleteimage to b & this_item as text
moveFile deleteimage to (path to trash)
end if
end repeat

You don't have to trash the images you can move them to another folder.
Just edit
moveFile deleteimage to (path to trash) to ......
moveFile deleteimage to path of your choice



Regards



John Clark
_______________________________________________
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.

  • Follow-Ups:
    • Re: A simple deletion script/thanks John
      • From: "H.S. Photo" <email@hidden>
  • Prev by Date: Re: SE2beta contextual Find feature request
  • Next by Date: Updating windows in Mail
  • Previous by thread: Re: A simple deletion script
  • Next by thread: Re: A simple deletion script/thanks John
  • Index(es):
    • Date
    • Thread