maccopy 371 B

123456789
  1. # Script to copy a file, and in the same moment
  2. # translate possible LF's to CR
  3. Duplicate -y "{1}" {TempFolder}maccopytemp
  4. SetFile -c 'MPS ' -t 'TEXT' {TempFolder}maccopytemp
  5. Translate ¶r ¶n < {TempFolder}maccopytemp > "{2}"
  6. SetFile -c 'MPS ' -t 'TEXT' "{2}"
  7. #SetFile -c 'MPS ' -t 'TEXT' "{2}" -l `Evaluate {3}*100`,`Evaluate {4}*100`
  8. Delete -y {TempFolder}maccopytemp