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
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
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
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://
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 once in a
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
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 happy to
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:
On
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 4-Jul-05,
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, that
11 matches
Mail list logo