home *** CD-ROM | disk | FTP | other *** search
- on yenises
- repeat with a = 1 to 5000
- set tname to the name of cast a
- if tname <> 0 then
- set dene to char 1 to 2 of tname
- if (dene <> "sf") and (char 1 of dene = "s") and (the castType of cast a = #sound) then
- set part1 to word 1 of the name of cast a
- set part2 to word 2 of the name of cast a
- if part2 = "100" then
- set part2 to "Y"
- end if
- set tname to part1 & part2 & ".AIF"
- put tname
- if tname <> "sescopy.AIF" then
- set the fileName of cast a to "HABITAT:SES:" & tname
- end if
- end if
- end if
- end repeat
- put dene
- end
-