[Pythonmac-SIG] PyOSA preview
Daniel Lord
daniellord at mac.com
Fri Mar 2 17:23:26 CET 2007
has,
Thanks for all your hard work on this.
I am going to work with it a bit when I get some time.
I use Komodo a lot these days, it will be interesting to see if/how I
can merge the two a bit.
I saw Matt's article and I bookmarked for reading this weekend.
Haven't tried Ruby yet, I should work with it a little also.
I wish Apple would figure this out. Apple Event IPC is great,
Applescript is pathetic for the reasons, skimming the article, Matt
mentions.
They need to take Ruby and Python and make them the core scripting
languages for the Mac
When I think of the time and resources they spent on Applescript
Studio that could have been spent on PyObjC Studio, it saddens me.
Apple should leave Applescript as a simple language functioning as
Automator glue for non-programmers or quick tasks but open that to
Ruby and Python too.
Daniel
On Mar 1, 2007, at 13:48, has wrote:
> Hi all,
>
> PyOSA, my second attempt at implementing a full Python OSA component,
> is starting to come together. This is an early version, may be buggy/
> incomplete, use at own risk, etc. Most of the major features are
> working in the large - saving/loading (works on PPC, currently breaks
> on i386 due to OS bug), compiling, running, displaying results, event
> handling, appscript integration - so should give a good flavour of
> where it's going. You can grab the relevant files via subversion:
>
> - PyOSA (XCode project, readme, license and samples):
>
> svn checkout http://svn.macosforge.org/repository/appscript/py-
> osacomponent/trunk/
>
> - py-appscript 0.17.2 unstable:
>
> svn checkout http://svn.macosforge.org/repository/appscript/py-
> appscript/branches/py-appscript-0.17.2-unstable/
>
> See PyOSA's ReadMe file and sample scripts for more information.
>
> If Script Editor tries to compile your Python code as applescript
> (there are some known bugs in SE's language menu on 10.4), try
> setting the default language in SE's preferences. Failing that,
> osascript works just fine, or you could grab a demo copy of Script
> Debugger and temporarily use that.
>
> Enjoy,
>
> has
>
> p.s. For anyone interested in what's going on in the rest of the
> appscript world these days, Matt Neuburg's just done a very nice
> article at O'Reilly's MacDevCenter: <http://www.macdevcenter.com/pub/
> a/mac/2007/02/27/replacing-applescript-with-ruby.html>. Not that you
> need to drop py-appscript and rush to the Dark Side - both bridges
> provide the same level of application scripting support - but it's
> great to see the word getting around. The ObjC port of appscript is
> also shaping up nicely; see my sig for the link.
>
> --
> http://appscript.sourceforge.net
> http://rb-appscript.rubyforge.org
> http://appscript.sourceforge.net/objc-appscript.html
>
> _______________________________________________
> Pythonmac-SIG maillist - Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
More information about the Pythonmac-SIG
mailing list