Re: (no subject)
Re: (no subject)
- Subject: Re: (no subject)
- From: Michelle Steiner <email@hidden>
- Date: Mon, 22 Jan 2001 14:44:47 -0800
On 1/22/01 1:44 PM, Shane Stanley <email@hidden> wrote:
>
if myType is "W8BN" then
>
set name of aFile to (name of aFile & ".doc")
>
else if myType is "xyza" then
>
set name of aFile to (name of aFile & ".xyz")
set fileName to name of File
set filename to trunc(filename)
if myType is "W8BN" then
set name of aFile to (Filename & ".doc")
else...
on trunc(myfile)
if length of myfile is greater than 27 then
set myfile to text 1 thru 27 of myfile
end if
return myfile
end trunc
This ensures that the filename doesn't exceed 31 characters.
--Michelle
----------------------------------------------------------------------
| Michelle Steiner | Hard as it may be to believe, my |
| email@hidden | life has been based on a true story. |
----------------------------------------------------------------------