3-macosx10.3.zip
>
>
> On Mar 1, 2006, at 1:06 PM, Keith Ray wrote:
>
> > so I do this (please excuse the different names than in previous msgs)
> >
> > $ python
> >>>> import open_test_file
> >
> > and get this:
> >
> > Traceback (
so I do this (please excuse the different names than in previous msgs)
$ python
>>> import open_test_file
and get this:
Traceback (most recent call last):
File "", line 1 ,in ?
File "open_test_file.py" ,line 10, in ?
from appscript import *
File "/Library/Python/2.3/site-packages/appsc
Once you install 2.4.1, does everything python-related just
automatically start working with it, or do you need to re-install
packages like appscript, PyFIT, and so on that have installed
themselves off of
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packges/...
?
(W
t; > that.
> >
> > Bill
> ___
> Pythonmac-SIG maillist - Pythonmac-SIG@python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
>
--
C. Keith Ray
<http://homepage.mac.com/keithra
off the installers:
pyobjc-1.3.7-py2.3-macosx10.4
Appscript-Installer-1.2
On 2/20/06, Ronald Oussoren <[EMAIL PROTECTED]> wrote:
>
> On 20-feb-2006, at 23:35, Keith Ray wrote:
>
> > I'm trying to use python/appscript to send apply-events to a cocoa
> > applicatio
I'm trying to use python/appscript to send apply-events to a cocoa
application, but it seems to be choking on parsing the aete... possibly
because the aeta has been replaced by 'sdef' for holding scripting
terminology.
help?
Traceback (most recent call last): File "/fitEtc/PyFIT/fit/fit/TypeAdapt
PyFIT gives me ascii strings,and I am trying to call cocoa (and
eventually some applescript) functions from Python. I tried
from Foundation import NSString
from AppKit import NSWorkspace
import os.path
etc...
ws = NSWorkspace.sharedWorkspace()
uapplicationpath = unicode(self.
astr = '%s'" % astr )
self.server.broadcastMessageString_( astr ) # convert to NSString
NSLog( u"called self.server.broadcastMessageString_." )
def applicationWillTerminate_(self,aNotification):
NSLog( u"applicationWillTerminate_ ." )
if NO ==