OS X Scripting: Vol 2 #1023
OS X Scripting: Vol 2 #1023
- Subject: OS X Scripting: Vol 2 #1023
- From: T Talleur <email@hidden>
- Date: Sat, 1 Sep 2001 13:04:44 -0400
Tim: Part V of O'Reilly's Applescript in a Nutshell addresses these
issues to a limited degree ... limited in that OS X interface to the
BSD CLI is still limited. The appeal of Applescript will be as a GUI
scripting interface from Aqua to the CLI. In OS 9 and prior, any
scripting capability at all was welcome (hence Applescript) because
there was no CLI. Now, if you know UNIX, you don't need Applescript
unless you wish to script from the Aqua interface.
You can create, compile, and execute Applescripts from terminal app
by taking standard input from a shell script and run it through as
compiled Applescript code via the osascript command and 3 related
pieces: osacompile, osalang, and osascript.
OS X includes two new window objects: finder and inspector windows
(like get info windows); and does away with suitcase and desk
accessory files. Those apps native to Applescript in OS X are the
Finder (and therefore the Desktop), Terminal App, Mail, and Textedit.
It'll be interesting to see what progress Apple Engineers have made
linking GUI to the CLI in 10.1 and beyond.
Message: 6
Date: Sat, 01 Sep 2001 12:17:35 +1000
Subject: Re: Applescript and OS X
From: Timothy Bates <email@hidden>
To: Don Thompson <email@hidden>, AppleScriptUsers List
<email@hidden>
On 9/1/01 5:15 AM, "Don Thompson" <email@hidden> wrote:
Hi,
Can anyone recommend a source of information that would discuss to what
extent and how you can access the OS X Unix features via Applescript?
check out the scripting extensions at
http://www.osaxen.com/index.php?keywords=macosxfolder
I'm interested in everything from executing shell scripts, to utilities
such as tar, grep, etc.
That is what these extensions allow us to do. quite neat. now all we need is
for apple to release a version of OS X with php not broken.
tim
--