Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #8714
| References | <CAHxMgEgRQfmX0Y4y5-AFD2K+o+m5eKR2JCd0EdxVgdjqTrEYvw@mail.gmail.com> <CAMZYqRSm9sUBfS9qaqvFhU1tQdpbaC-nW8QSzaBHMtO__wRhqQ@mail.gmail.com> <CAHxMgEgZcvYFGLEd1rJoCMsK68yP0KMRteT9c=fGk=fQDGdZ2A@mail.gmail.com> |
|---|---|
| Date | 2011-07-02 20:08 -0700 |
| Subject | Re: web browsing short cut |
| From | Chris Rebert <crebert@ucsd.edu> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.580.1309662568.1164.python-list@python.org> (permalink) |
> On Sat, Jul 2, 2011 at 7:10 PM, Chris Rebert <clp2@rebertia.com> wrote: >> On Sat, Jul 2, 2011 at 6:21 PM, Dustin Cheung <dustin299@gmail.com> wrote: >> > Hey guys, >> > I am new to python. I want to make a shortcut that opens my websites >> > and re-sizes them to >> > point to to the right direction? Here is what I came up with so far.. >> >> The window positioning+resizing bit will likely require using >> platform-specific APIs. Since you appear to be on Windows, the >> relevant library would be pywin32 (http://pypi.python.org/pypi/pywin32 >> ). You would use it to invoke some COM API that does window >> positioning+resizing. I am unable to give more details as I'm on a >> Mac. >> >> Sidenote: Have you tried Firefox's "Bookmark All Tabs" feature? On Sat, Jul 2, 2011 at 7:34 PM, Dustin Cheung <dustin299@gmail.com> wrote: > Hey, > Thanks for showing me to pywin32. I'll look into it and see what i can come > up with. Also, I haven't tried the Firefox feature. I thought the bookmark > all feature only saved one browser with multiple tabs. Correct. I don't know your precise use-case and thought that this could possibly be sufficient but significantly less complicated. > I'm sorry but this > might be a stupid question but was do you mean by COM API? COM as in: http://en.wikipedia.org/wiki/Component_Object_Model API as in a programming interface: http://en.wikipedia.org/wiki/Application_programming_interface It's my understanding that most Windows GUI automation stuff tends to involve using COM. Again, I don't know specifics, I've just followed other Windows-specific posts on the mailinglist. Cheers, Chris
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: web browsing short cut Chris Rebert <crebert@ucsd.edu> - 2011-07-02 20:08 -0700
csiph-web