Re: text item delimiters maddness
Re: text item delimiters maddness
- Subject: Re: text item delimiters maddness
- From: Philippe GRUCHET <email@hidden>
- Date: Tue, 4 Feb 2003 06:31:17 +0100
Oops, I forgot (set text item delimiters to ":")
=>
-- sos --
set aPath to "TiBook1:Documents:jpb Projects:News24
Houston:scenes:News24in_02.lws"
set text item delimiters to ":"
if "_" is in aPath's last text item then
set conDir to (aPath's words 1 thru -5 as string) & ":"
else if "_" is not in aPath's last text item then
set conDir to (aPath's words 1 thru -3 as string) & ":"
end if
-- eos --
Kind regards,
Philippe Gruchet/SVM Mac
VNU Publications France
http://svmmac.vnunet.fr
_______________________________________________
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.