Applescript and UNIX
By drc at Tue, Dec 18 2007 4:29pm |
I recently gave a talk at the Scientific Computing meeting at Cambridge University on using Applescript to build a User interface for Unix command-line applications.
The presentation is available here. As an experiment the online display of the Keynote presentation was created using the Carousel plugin for Rapidweaver. If anyone would like a copy of the slides and the scripts let me know. When I've tided up the scripts I'll put everything online.




Comments
very cool
Hey, I didn't know AppleScript could do that! Looks like I have something new to tinker with over the holidays. I would like a copy of the slides and the scripts, please. The slides online are a little hard to read. Cheers.
Slides
Hi,
Copies sent,
I'm not sure what the electronic equivalent of "It's in the post" is :-)
Interesting
Hi,
very good work! I'd like a copy of your presentation and the scritp. Can you send me a email ?
Thanks
Copy of the presentation and scripts
I'd love to receive a copy of the slides and the scripts.
Cheers
---
I'm not telling you that you should believe me. Learn the facts, and the origins behind the facts, and make up your own damn mind. That's why you have one.
Presentation
Done,
Enjoy.
Chris
Slides and scripts
Very nice and instructive. Just what I was looking for.
I would also like to receive a copy of the slides and the scripts.
Berend
I can't get the presentation
I can't get the presentation to load, so I apologize if this is superfluous, but I've made some generic shell script osascript gui functions that people might find to be of use.
These are completely general Osascript (Applescript for the command-line) functions to invoke menus (lists, file browsers, display dialogs, direcotry browsers) that make writing osascript/shellscripts much easier. These are the man pages:
osa_choose_list
osa_direc_browser
osa_display_dialog
osa_file_browser
Example:
osa_display_dialog foo bar defaultgives a display with three buttons, the last being the default option. Pushing the button returns the value of the corresponding argument.
Pashua offers a more extensive interface.
The actual functions can be downloaded from here
Presentation
Hi,
These are very nice, i've also sent you a copy of the presentation.
Chris
Droplet link to UNIX
I was asked for an example of an applescript droplet that links to a command-line application so here is a very simple example applescript_unix_droplet link
doesn't work in opera
drc,
I currently use ubuntu and opera browser.
but your presentation doesn't work in opera :(
can you send me a copy of the presentation ?
my mail is janet.kellman @ gmail.com
thanks
Janet Kellman, software reviews editor