Hi all,
executing the following code fails on Tiger 4.1, Xpress 6.x:
#!/usr/bin/pythonw
from appscript import *
qxp = app('QuarkXPress')
qxp.documents[1].print_()
Xpress will quit unexpectedly.
Console:
Command: QuarkXPress
Path:/Applications/QuarkXPress 6.1/QuarkXPress.app/Contents/MacOS/
I run Python from BBEdit although I have used the Python IDE, too. All
was fine up to a week ago, then today running from BBEdit through the
terminal caused a long delay then an error message that Numeric could
not be found. The Python IDE would not start up (long delay then a
'quit' automati
Dear list,
I have decided to try to practice pyObjC by translating (or trying to..)
the Objective-C examples of Aaron Hillegass' Cocoa Programming for MacOS
X, as I need to get up to date on Cocoa through Python.
I am trying to figure out how to translate the obj-C init method of the
SpeakLine ex
Well,
it works now;
apparently somebody chose a strange name for the **synthetizer** class:
NSSpeechSynthesizer !!
The following method (actually copying more closely the spelling of
Hillegass' example) works:
def init(self):
NSLog("init")
Aldo --
PyObjC classes (that is, Python classes that extend ObjC ones, like
you're trying there) don't use the standard __init__ mechanism (at
least, not in a useful way). They do use the standard alloc/init
mechanism from ObjC, so you're on the right track in your last try:
> def init
On Jul 4, 2005, at 6:23 AM, Jacob Kaplan-Moss wrote:
> Aldo --
>
> PyObjC classes (that is, Python classes that extend ObjC ones, like
> you're trying there) don't use the standard __init__ mechanism (at
> least, not in a useful way). They do use the standard alloc/init
> mechanism from ObjC, so
On Jul 4, 2005, at 12:39 PM, Bob Ippolito wrote:
> Also, READ THE DOCS and examples please, this is most definitely
> covered a thousand times :)
Lighten up, Bob; this isn't explicitly mentioned anywhere -- it only
shows up once in a comment on the intro page (http://
pyobjc.sourceforge.net/d
On Jul 4, 2005, at 9:31 AM, Jacob Kaplan-Moss wrote:
> On Jul 4, 2005, at 12:39 PM, Bob Ippolito wrote:
>
>> Also, READ THE DOCS and examples please, this is most definitely
>> covered a thousand times :)
>>
>
> Lighten up, Bob; this isn't explicitly mentioned anywhere -- it
> only shows up o
On Jul 4, 2005, at 2:31 PM, Jacob Kaplan-Moss wrote:
> Perhaps this one should be added to the FAQ?
>
... which, I now see, doesn't seem to exist (http://
pyobjc.sourceforge.net/faq/ is a 404).
Should we write one? I'm happy to coordinate putting one together if
people want to send me questi
On Jul 4, 2005, at 9:48 AM, Jacob Kaplan-Moss wrote:
> On Jul 4, 2005, at 2:31 PM, Jacob Kaplan-Moss wrote:
>
>
>> Perhaps this one should be added to the FAQ?
>>
>>
>
> ... which, I now see, doesn't seem to exist (http://
> pyobjc.sourceforge.net/faq/ is a 404).
>
> Should we write one? I'm hap
There is a FAQ on the macpython wiki:
http://www.pythonmac.org/wiki/FAQ
It seems to have been rather drastically refactored, I remember there
being many more questions before.
--Dethe
On 4-Jul-05, at 1:43 PM, Bob Ippolito wrote:
>
> On Jul 4, 2005, at 9:48 AM, Jacob Kaplan-Moss wrote:
>
>
>>
It's not refactored, someone truncated it.
On Jul 4, 2005, at 12:54 PM, Dethe Elza wrote:
> There is a FAQ on the macpython wiki:
>
> http://www.pythonmac.org/wiki/FAQ
>
> It seems to have been rather drastically refactored, I remember there
> being many more questions before.
>
> --Dethe
>
> On
On 3-jul-2005, at 23:07, Jonathan 'Wolf' Rentzsch wrote:
>
> It would be super if sometime over the next two or three weeks there
> could be an official release with these changes (assuming no one minds
> them, of course). I want to make my text to make it look so easy to
> pick
> up PyObjC, tha
13 matches
Mail list logo