You are not logged in.
There will be no hidden weapons here. In fact, I'm going to go so far as to give away this weapon of mass instruction to any crazy scripter who wants it. That weapon is called text item delimiters and, ladies and land lovers, it is a formidable ally as you will soon see.
Text item delimiters, also known as 'TIDs', are one of the most powerful tools in an AppleScripter's arsenal. Powerful because it possesses two very important attributes: speed and flexibility. Meaning, when performing tasks using text item delimiters, you'll get the job done faster than an MX missile and it'll do things to make a Navy Seal green with envy.
TIDs are the key to native AppleScript find-and-replace techniques, gathering of special strings within a larger text file and limitless text cleaning abilities. To put TIDs to work in your own string battles, you mostly need to understand that by working with TIDs, you're changing with the way AppleScript separates or 'delimits' text (aka strings). By doing so, we can wield power of which military dictators around the world would be envious.
Let's get started. In the first example, we'll simply declare a string all by itself. (See below) (In most real world situations, you'll be working with text coming from previous commands like file names or read-in text from a file.)
T.J.
tj@tjmahaffey.com
Offline
Hmm, I'm looking at this, but none of the graphics are appearing... :-\
Offline