Re: Satimage's "find text" command
Re: Satimage's "find text" command
- Subject: Re: Satimage's "find text" command
- From: Emmanuel <email@hidden>
- Date: Mon, 3 May 2004 11:23:25 +0200
At 3:19 AM -0500 03/05/04, Richard Covert wrote:
>
I am using Satimage's OSAX to do this.
>
But, I find that I need to surround the 'find text' command with a try
>
to trap out the files which DO not end with the pattern.
>
>
Satimage seems to consider a non-match an error so you have to trap the
>
error to process non-matches to 'find text'
>
Am I missing something??
You are not missing anything: you do have to trap the error of "find text".
As you have observed, "find text" may return strings, records, lists, lists of records etc. so it's more convenient to have it trigger an error than issue a special result to mean "not found".
Emmanuel
_______________________________________________
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.