Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

tabutcher

macrumors newbie
Original poster
Jul 9, 2011
1
0
hi,

hoping to get some help and insight into some problems I've run into in regards to Applescript, specifically delimiters.

Basically at the beginning of the script I set the delimiter to "." so i can take parts of a string that is in a format such as (one.two.three.four).

Further down the script and this is where I run into a problem is when I need to change the delimiter to "-" to get parts of a string in a format such as (one-two-three-four).

It seems as though the script is setting the delimiter to "-" at the beginning so when I'm trying to get part of a string in the format of (one.two.three.four) I run into errors.

I hope someone can help.

thanks
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.