I’m setting a variable to a specific value. Because I want to get rid of the filetype at the end of that value (.aiff), I use the following code to change the final destination of the file:
set new_nam to characters 1 thru -5 of new_nam as string
set sav_dir to "Darwin:Users:dakota:Desktop:"
set sav_nam to sav_dir & new_nam
When I step through the script it looks OK. But when I put together this save file + a new file designation the value now has spaces between all of the characters. For example:
Any way to fix this? What am I doing wrong here?
Thanks.
SA