Re: Finding Filenames that contain a certain string
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