• 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: How to compare contents of a folder against a list?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to compare contents of a folder against a list?


  • Subject: Re: How to compare contents of a folder against a list?
  • From: "J. Stewart" <email@hidden>
  • Date: Fri, 4 May 2007 16:36:40 -0400

On 5/4/07 at 5:37 AM, KOENIG Yvan <email@hidden> spake thusly:

I assumes that some small complementary changes may be made because I don't understand the need for a "repeat 1 times" loop.

That's so the rest of the inner loop will not be executed if the file is there.


Run this in your script editor with event logging active, check the logged result :)

--> script <--
repeat with x from 1 to 10
	repeat 1 times
		if x > 2 and x < 9 then exit repeat
		log x
	end repeat
end repeat
--> end script <--

JBS
--
If lawyers are disbarred and clergymen defrocked, doesn't it follow that electricians can be delighted, musicians denoted, cowboys deranged, models deposed, tree surgeons debarked, and dry cleaners depressed? - George Carlin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users


This email sent to email@hidden
  • Follow-Ups:
    • Re: How to compare contents of a folder against a list?
      • From: KOENIG Yvan <email@hidden>
References: 
 >Re: How to compare contents of a folder against a list? (From: KOENIG Yvan <email@hidden>)

  • Prev by Date: Re: Puzzling Error Again
  • Next by Date: Determine whether spot color is RGB or CMYK in Illustrator CS2
  • Previous by thread: Re: How to compare contents of a folder against a list?
  • Next by thread: Re: How to compare contents of a folder against a list?
  • Index(es):
    • Date
    • Thread