Re: Creating a new folder (Was: [OT])
Re: Creating a new folder (Was: [OT])
- Subject: Re: Creating a new folder (Was: [OT])
- From: Joseph Weaks <email@hidden>
- Date: Mon, 10 May 2004 02:17:28 -0500
On May 10, 2004, at 12:54 AM, Gnarlodious wrote:
Entity Walter Ian Kaye spoke thus:
"Beware the march of ideas."
Beware the ideas of Martha. :-)
Beware the march of Martha Stewart.
set aPattern to "\\<id[A-Za-z][A-Za-z]\\>" -- *see note below
set bPattern to "\\<mar[A-Za-z]"
set aScript to "grep " & quoted form of aPattern & "
/usr/share/dict/words"
set bScript to "grep " & quoted form of bPattern & "
/usr/share/dict/words"
set aList to words of (do shell script aScript)
set bList to words of (do shell script bScript)
set theText to "Beware the " & (some item in aList) & " of " & (some
item in bList)
return theText
* I wanted the pattern to find any word of 4 to 7 letters in length
beginning with "id" and ending in "s", but "\\<id[A-Za-z]{1,4}s" cause
a type one error. Dunno why.
Cheers,
Joe Weaks
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.