• 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: KOENIG Yvan <email@hidden>
  • Date: Sat, 5 May 2007 08:28:50 +0200


Le 4 mai 07 à 22:36:40, J. Stewart a écrit :

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


I get the same behaviour without the repeat 1 times loop:

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

or

repeat with x from 1 to 10
	if x < 3 or x >8 then
		log x
	end if
end repeat

This is what I proposed in my late message.

repeat with aprefix in my myprefixlist
repeat with aName in my masternames

set temp to (contents of aprefix & "-" & contents of aName)
considering case
if temp is not in filenames then set end of my missingfiles to temp -- if file is not present
end considering

end repeat
end repeat


Yvan KOENIG _______________________________________________
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: Philip Aker <email@hidden>
References: 
 >Re: How to compare contents of a folder against a list? (From: "J. Stewart" <email@hidden>)

  • Prev by Date: Re: Determine whether spot color is RGB or CMYK in Illustrator CS2
  • Next by Date: Re: How to compare contents of a folder against a list?
  • 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