7/8/10
8:38 pm

Forum Question: AppleScript for Text Processing

Hi Gary,

First of all, thanks for replying to so many posts so fast! We all appreciate that!

I need to make a script that will take a highlighted string and transform it by removing spaces and punctuation, and converting the first letters to capitals.For example:
This is a long, random string.
becomes:
ThisIsALongRandomString

Using Keyboard maestro, I will probably need to run a bash script, but I have no idea how to use regular expressions.
Do you have any ideas on how to do it?

By the way, if you could make a couple of episodes on using applescript and automator, that would be so great!

Million Thanks!

— Maria

Comments: One Response to “AppleScript for Text Processing”

    7/8/10 @ 8:42 pm

    That’s a tough one. It is possible, of course, but it is hard to advise how to write a program like that. Do you have any programming skills? If so, then it is a matter of learning how to apply them to AppleScript. If not, then it is hard how to explain it all in a few paragraphs. You may need to hire a programmer if it is important.
    Not sure how else to reply.
    I’ve got a few tutorials on Automator here: http://macmost.com/tag/automator

Comments Closed.