Re: AppleScript and shell scripting
Re: AppleScript and shell scripting
- Subject: Re: AppleScript and shell scripting
- From: Bill Briggs <email@hidden>
- Date: Fri, 27 Jul 2007 22:38:06 -0300
At 1:20 AM +0100 7/28/07, Martin Orpen wrote:
>On 28 Jul 2007, at 00:04, Bill Briggs wrote:
>
>>At 11:55 PM +0100 7/27/07, Martin Orpen wrote:
>>>On 27 Jul 2007, at 23:27, Bill Briggs wrote:
>>>
>>>>Make new document at end of documents. Yeah, right. Like someone would care that a randomly opened collection of documents had a beginning and an end.
>>>
>>>That's a Cocoa *feature* that stops you making anything *at* anywhere that involves a container isn't it?
>>>
>>>It's odd, but at least it is *consistently* odd:
>>>
>>> tell application "System Events" to make new folder at end of desktop folder
>>>
>>>;-)
>>
>> Stop that or I'll have to slap you. :-)
>
>Take your pick:
>
> do shell script "apropos slap | awk '{print $1}'"
>
>Ed has gone bonkers.
I do wonder at his stance. Truth be told, I'm still pissed at Ed over the whole Script Scheduler business (details not included, but he knows what I'm talking about). A really great application that never saw the light of day. Which reminds me, I've never kicked Cal's butt over that either. I was trying to talk him into giving me a copy to play with, but it's a dead issue now.
>I've never considered AppleScript as some kind of pure programming language (as anybody can tell from the state of my scripts...). To me it's a lingua franca - something that I can call on to get different apps to talk to each other to get stuff done.
It's the programming equivalent of duct tape and bailing wire. Useful as can be, but still not as good as a proper set of wrenches.
>Why differentiate between shell processes and GUI'd applications?
>
>Purist AppleScripters are at best the children of Ludwik L. Zamenhof - not Shakespeare. The rest of us are pidgin, creole or patois users - but I don't see any shame in that because it gets the job done.
For me it's all about the work I don't have to do, and if it gets the job done, I'm good with it. More stuff done in less time is better. Purity doesn't even enter the equation.
>Anyhow, that's my theory and it makes perfect sense to me through the Syrah-tinted goggles that I am currently wearing..
At this end tonights goggles are gin and tonic. It was too hot for red wine. Still 26C out and it's nearly midnight. Tomorrow is looking like a 30+ day too. Not my cup of tea. I like it in the 15 - 25 range.
- web
_______________________________________________
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