• 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: Finding Filenames that contain a certain string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finding Filenames that contain a certain string


  • Subject: Re: Finding Filenames that contain a certain string
  • From: Doug McNutt <email@hidden>
  • Date: Fri, 20 Jul 2007 15:49:00 -0600

At 13:12 -0700 7/20/07, Michelle Steiner wrote:
>Thing is that the "pure applescript" solution is understandable even  by beginners,

Dammit. That's just NOT true. Perhaps beginners can think they understand when reading a script carefully crafted to look like English poetry but they certainly cannot produce that kind of stuff without a couple of years of monitoring this list. Forcing object-oriented programming concepts on beginners - hah!

At 13:12 -0700 7/20/07, Michelle Steiner continued:
> whereas the regex solution is pure gibberish to anyone who doesn't already know regex.

I can agree that concise symbology can look difficult but there is little guessing required to figure things out. The books - like the famous Camel - are much more accurate than the official documentation for AppleScript. One can produce working perl code after an evening's effort with Learning Perl and the Camel.

With apologies to:  Dan. the  Psychoceramic Emeritus; South Jersey, USA, Earth

<>!*''#
^"`$$-
!*=@$_
%*<>~#4
&[]../
|{,,SYSTEM HALTED

Becomes, in English-like Applescript:

   Waka waka bang splat tick tick hash,
   Caret quote back-tick dollar dollar dash,
   Bang splat equal at dollar under-score,
   Percent splat waka waka tilde number four,
   Ampersand bracket bracket dot dot slash,
   Vertical-bar curly-bracket comma comma CRASH.


--

Applescript syntax is like English spelling:
Roughly, though not thoroughly, thought through.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Finding Filenames that contain a certain string
      • From: Bill Briggs <email@hidden>
    • Re: Finding Filenames that contain a certain string
      • From: "Gary (Lists)" <email@hidden>
References: 
 >Re: Finding Filenames that contain a certain string (From: "Stockly, Ed" <email@hidden>)
 >Re: Finding Filenames that contain a certain string (From: "Mark J. Reed" <email@hidden>)
 >Re: Finding Filenames that contain a certain string (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: Finding Filenames that contain a certain string
  • Next by Date: Re: Finding Filenames that contain a certain string
  • Previous by thread: Re: Finding Filenames that contain a certain string
  • Next by thread: Re: Finding Filenames that contain a certain string
  • Index(es):
    • Date
    • Thread