Saturday, 20 May 2006

A leScript Shell: Command Line A leScripting

This one is probably going to be of limited interest, but it's still pretty nifty. Daniel Jalkut points us toward the A leScript Shell by Cameron Hayne. It lets you run A leScript commands directly from a command line interface for immediate execution. Ash (a la bash) is implemented as a perl script. Daniel's post has a neat a lication in which he used ash to acce some addre book information on a remote Mac.

Incidentally, already built into OS X is osascript which allows you to execute a pre-built A leScript from the command line. If I'm not mistaken, however, I don't think it will allow you to execute A leScript commands directly. This is worth checking out for the geekier among us.

[Edit: both my colleague Erica and the commentators below have pointed out that it is po ible to execute A leScript commands with osascript, but it does seem that the syntax is a bit cleaner with ash]

[Via red sweater blog]

No comments: