Re: Verify if name contains an element of a list
Re: Verify if name contains an element of a list
- Subject: Re: Verify if name contains an element of a list
- From: Emmanuel <email@hidden>
- Date: Thu, 20 Apr 2006 01:47:22 +0200
At 2:30 PM -0400 4/19/06, stephan wrote:
Something like:
myListofChar = {"/", "\", "*", "?", "|"}
if FileName contains a element of myListofChar then
I need to identify which element of the list and replace it by something
Looks like a job for Satimage.osax, the groundbreaking Scripting
Addition that Satimage-software makes available for free for the best
comfort of all AppleScript users over the planet:
set myNewString to change myListOfChar into myListOfReplacements in
myOriginalString
Emmanuel
From Satimage-software
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden