Re: AppleScript and shell scripting
Re: AppleScript and shell scripting
- Subject: Re: AppleScript and shell scripting
- From: Martin Orpen <email@hidden>
- Date: Sat, 28 Jul 2007 01:20:10 +0100
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'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.
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.
Anyhow, that's my theory and it makes perfect sense to me through the
Syrah-tinted goggles that I am currently wearing..
--
Martin Orpen
<http://www.idea-digital.com/>
_______________________________________________
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