Appscript
Appscript 1.5.1
Your rating: Now say why...

(1) 4.75

Use Python as an alternative to AppleScript.   Free
Add to my Watch List
Email me when discounted
Appscript is a high-level, user-friendly Apple event bridge that allows you to control scriptable Mac OS X applications using ordinary Python scripts. Appscript makes Python a serious alternative to Apple's own AppleScript language for automating your Mac.

Simple, all-in-one installers for Python 2.3+ contain the latest appscript modules, documentation, tools and dependencies; everything you need to control "Applescriptable" applications from Python.
What's New
Version 1.5.1:
  • This release fixes several minor bugs and is recommended for all Appscript Installer 1.5 users.
Requirements
  • Intel/PPC
  • Mac OS X 10.3 or later
  • Python 2.3 or later








    Be the first to recommend a similar software title.
Appscript User Discussion (Write a Review)
ver. 1.x:
(1)
Your rating: Now say why...
Overall:
(1)

sort: smiles | time
burypromote

+42
CA commented on 25 May 2006
In dispensable. That's all I have to say about Appscript :)
[Version 1.3.2]


burypromote


Anonymous reviewed on 27 Jun 2005
great!
the fastest way to do apple-scripting
[Version 1.1]


burypromote


Anonymous reviewed on 20 Mar 2005
Unfortunately it still seems to mess up the permissions. The permissions on root where changed after I re-installed Appscript 1.01.
[Version 1.01]


burypromote


Anonymous reviewed on 17 Feb 2005
if this works it'll be a gift from heaven... i hate hate HATE HATE applescript
[Version 1.0]

8 Replies

burypromote
Anonymous commented on 17 Feb 2005
I love love LOVE LOVE added functionality to OSes and Applications. Hating a particular scripting or programming language is idiotic.
burypromote
Anonymous commented on 17 Feb 2005
...unless the language in question is applescript, the world's only read-only language
burypromote
Anonymous commented on 17 Feb 2005
to the LOVE LOVE guy: you obviously haven't done much programming if you don't hate any programming languages ;)
burypromote
Anonymous commented on 17 Feb 2005
I know various programming languages and I can only hate bad-programming. I'm pretty sure you can write a very bad python script, and be sure I'll hate it ;-)
As for Appscript, seems a very interesting alternative, but I can't find real differences with AppleScript. If scriptability is not very well implemented in a particular app, what's the difference between calling it from A or B, if results are odd, at all? A simple syntax question? Or this Appscript is much better implemented than AppleScript? (concerning only to IAC, not the language itself)
burypromote
Anonymous commented on 17 Feb 2005
I'm going to guess that the point is that some people (myself included) just like Python more than AppleScript, and more options are always a good thing. Moreover, some people (myself included) probably know a lot more Python than AppleScript and would rather not have to learn the AppleScript syntax. In general, if not necessarily in the Mac community, Python is much more widely known than AppleScript, so the ability to use it will be of use to anyone who already knows it and wants to script applications (myself included). ;)
burypromote
Anonymous commented on 19 Feb 2005
> As for Appscript, seems a very interesting alternative, but I can't find real differences with AppleScript.

Appscript is designed to look and behave as much like AppleScript's own application scripting support as possible, so hopefully this is a good thing. :)

> Or this Appscript is much better implemented than AppleScript? (concerning only to IAC, not the language itself)

I'd say they're roughly equal at the moment. AppleScript has a few clumsy quirks with things like keyword collisions and always getting code to compile correctly. Appscript still has some rough edges and perhaps the odd bug still to be hammered out, but they'll be gone eventually. Both use the same system APIs to talk to scriptable applications, so ultimately both are only as good as the Mac OS and individual applications' scripting support allows them to be.

Of course, the biggest difference is that appscript allows you to write your scripts in Python, which is a much more powerful and robust language than AppleScript. Basic functionality like replacing text and sorting lists is built in, and there's a huge range of libraries freely available for math, regular expressions, XML, and most anything else you can think of.

As for appscript itself, perhaps the nicest advantage is its built-in interactive help system, which is great for exploring an application's terminology and object model. To demonstrate, type /usr/bin/pythonw to launch the Python interpreter in Terminal.app and import appscript using:

from appscript import *

To view the Finder's inheritance and relationship structures, type:
app('Finder').help('-i -r')

To view the full terminology for the folder class:

_.help('-t folder')

To view the current property and element values of the user's Home folder:

_.home.help('-s')

And so on. (Be warned: it gets addictive!;)

HTH
burypromote
Anonymous commented on 17 Jun 2005
why do you hate applescript?
burypromote

+62
Hendo replied on 28 Aug 2006
This is neat, but I still prefer applescript. Applescript is extremely easy to learn and is the most human language in existence. In the right hands applescript can be incredibly powerful. but for people who do prefer python, this is an excellent application.
There are currently no troubleshooting comments. If you are experiencing a problem with this app, please post a comment.

There are currently no ratings. Write a comment or review now.

Downloads:8,627
Version Downloads:2,264
Type:Utilities : AppleScript
License:Free
Date:26 Mar 2007
Platform:PPC 32 / Intel 32 / OS X
Price:Free0.00
Overall (Version 1.x):
Features:
Ease of Use:
Value:
Stability:
Displaying 1-4 of 4
-
-
-
Please login or create a new
MacUpdate Member account
to use this feature
Watch Lists are available to
MacUpdate Desktop Members
Upgrade Now
Install with MacUpdate Desktop.
Save time moving files & cleaning
up space wasting archives.
Appscript is a high-level, user-friendly Apple event bridge that allows you to control scriptable Mac OS X applications using ordinary Python scripts. Appscript makes Python a serious alternative to Apple's own AppleScript language for automating your Mac.

Simple, all-in-one installers for Python 2.3+ contain the latest appscript modules, documentation, tools and dependencies; everything you need to control "Applescriptable" applications from Python.


- -