Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: if statement



Thanks.
Text 6 thru 7 of nm worked. "Text" would work if testing for more than one character. Text 6 of nm does not work.
Ruby

-----Original Message-----
From: email@hidden [mailto:email@hidden] On Behalf Of Steve Mills
Sent: Wednesday, November 26, 2003 12:21 PM
To: email@hidden
Subject: Re: if statement

On Nov 26, 2003, at 11:03, Ruby Madraswala wrote:

> (2) If characters 6 thru 7 of nm = "id" - doesn't work, no error
> message, script exits and does not process remaining files in the
> folder.
> Move file (hotfolder & nm) to folder errorfolder with replacing
> End if
> (3) If characters 6 thru 7 of nm = "gs" - works
> Move file (hotfolder & nm) to folder errorfolder with replacing
> End if

Try "text 6 thru 7 of nm" instead of "characters".

Steve Mills
Drummer, Mac geek
http://sjmills5.home.mchsi.com/
_______________________________________________
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.
_______________________________________________
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.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.