Jon Rosebaugh <[EMAIL PROTECTED]> writes:
> (And if I've got the wrong impression of PyObjC, I'm happy to be
> enlightened.)
You have the wrong impression of PyObjC. Nearly everything is much
less of a pain than toolbars :) (AIUI, I haven't actually implemented
a toolbar yet...)
Cheers,
mwh
--
Not that simple?
> Hi,
>
> I'd like to know what's the best method to detect a keystroke during
> the launch of an application.
> I have a py2app application with argv emulation enabled and I need
> (if it's possible) to know if a certain keyboard key was pressed or
> not during initialization.
>
On 26-Jul-05, at 11:12 PM, Jon Rosebaugh wrote:
> I know of PyObjC (which scares me, because Interface Builder and Cocoa
> scare me;
I also had an initial fear (or perhaps dislike) of Interface Builder
to begin with. Once you learn to use it, and PyObjC, you can be
incredibly productive. C
Robert Kern wrote:
> wxPython and Tk are so-so in this regard. They use the real thing
> underneath for most of their widgets.
Really? TK sure didn't used to do this.And does it use an native higher
level widgets? In any case, I haven't used TK in a long time, but
everything I've seen indicates
Where's the documentation? The webpage has a PyObjC version of Apple's
CurrencyConverter tutorial, which really doesn't teach you much except
how to align and connect things in IB and run py2app. The examples
(well, at least the iClass example, which appears to be the most
relevant one to my curren
you must be new here. ;-)
On Jul 27, 2005, at 12:53 PM, Jon Rosebaugh wrote:
> Where's the documentation?
[snip snip snip]
> This reminds me of trying to learn Twisted.
>
> On 7/27/05, Bob Ippolito <[EMAIL PROTECTED]> wrote:
>
>> You've got the wrong impression of PyObjC. Download it, play with
Actually, PyObjC is about as documented as it needs to be,
particularly if you start with Bob's more recent intro doc:
http://bob.pythonmac.org/archives/2005/07/05/pyobjc-first-steps/
Once you learn the PyObjC conventions, the only trickery at that point
is being able to read a bit of Objective-C
That's actually part of the intro documentation, it's just not on the
site since it was written after the last version was released:
http://svn.red-bean.com/pyobjc/trunk/pyobjc/Doc/intro.html
The intro documentation should be all you need to be able to
understand PyObjC and get started readin
I'm trying to use Appscript to send keystrokes to iPhoto (sadly,
there's no other way to get the job done), but I can't figure out how
to make it work. I thought it should work like this:
ipe = app("System Events").processes['iPhoto']
ipe.keystroke(u"foo")
But this yields the error:
>>> ipe.keys
On Jul 27, 2005, at 3:48 PM, Nathaniel Gray wrote:
> I'm trying to use Appscript to send keystrokes to iPhoto (sadly,
> there's no other way to get the job done), but I can't figure out how
> to make it work. I thought it should work like this:
>
> ipe = app("System Events").processes['iPhoto']
>
Nathaniel Gray wrote:
>I'm trying to use Appscript to send keystrokes to iPhoto (sadly,
>there's no other way to get the job done), but I can't figure out how
>to make it work. I thought it should work like this:
>
>ipe = app("System Events").processes['iPhoto']
>ipe.keystroke(u"foo")
As Bob say
11 matches
Mail list logo