• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Creating a new folder (Was: [OT])
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Creating a new folder (Was: [OT])
      • From: Christopher Nebel <email@hidden>
References: 
 >Re: Creating a new folder [OT] (From: Gnarlodious <email@hidden>)

  • Prev by Date: Re: Creating a new folder [OT]
  • Next by Date: Re: Creating a new folder [OT]
  • Previous by thread: Re: Creating a new folder [OT]
  • Next by thread: Re: Creating a new folder (Was: [OT])
  • Index(es):
    • Date
    • Thread