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

Re: A simple deletion script/thanks John


  • Subject: Re: A simple deletion script/thanks John
  • From: "H.S. Photo" <email@hidden>
  • Date: Mon, 12 May 2003 22:57:11 +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
> _______________________________________________
John,

Thanks so much for trying to help me out here! your time is much
appreciated. I downloaded Jon's Commands and will try to make heads or tails
of it.

In the meantime I tried your text in text editor and got the following error
result when checking the syntax: "expected end of line, etc. but found
identifier" as syntax error message and "deleteimage" in the script
highlighted. I am sure I am doing something silly, if you have the patience
to correct me that would be wonderful.

Thanks,

Hans
--
Hans Staartjes
email@hidden
_______________________________________________
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.

References: 
 >A simple deletion script (From: John Clark <email@hidden>)

  • Prev by Date: Re: My operator can beat up your operator.
  • Next by Date: Re: Order of operations (was: Eigenvalues &/or eigenvectors,
  • Previous by thread: A simple deletion script
  • Next by thread: Targeting selection in Mail outgoing message
  • Index(es):
    • Date
    • Thread