Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #8714
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <crebert@ucsd.edu> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.007 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'python.': 0.04; 'url:pypi': 0.08; 'correct.': 0.09; 'pywin32': 0.09; 'shortcut': 0.09; 'tends': 0.09; 'api': 0.11; 'gui': 0.13; 'wrote:': 0.15; 'library': 0.15; 'apis.': 0.16; 'bookmark': 0.16; 'direction?': 0.16; 'far..': 0.16; 'feature?': 0.16; 'guys,': 0.16; 'url:pywin32': 0.16; 'cc:addr:python-list': 0.16; 'pm,': 0.16; 'possibly': 0.16; 'programming': 0.18; 'cheers,': 0.19; 'cc:2**0': 0.21; 'header:In-Reply-To:1': 0.22; 'stuff': 0.22; 'opens': 0.23; 'received:209.85.213.46': 0.23; 'received:mail- yw0-f46.google.com': 0.23; 'appear': 0.23; 'in:': 0.25; 'url:wiki': 0.25; 'hey': 0.26; 'windows': 0.26; 'tried': 0.27; "i'm": 0.27; 'sat,': 0.28; 'subject:web': 0.28; 'bit': 0.28; 'message-id:@mail.gmail.com': 0.28; 'cc:addr:python.org': 0.30; 'invoke': 0.30; 'thanks': 0.31; 'unable': 0.31; 'chris': 0.32; 'sufficient': 0.32; 'does': 0.32; "i'll": 0.33; "i've": 0.33; 'automation': 0.35; 'precise': 0.35; 'received:132': 0.35; 'question': 0.35; 'with.': 0.36; 'url:python': 0.37; 'some': 0.37; 'but': 0.37; 'could': 0.37; 'using': 0.37; 'received:google.com': 0.38; 'received:209.85': 0.38; 'url:org': 0.38; 'subject:: ': 0.38; 'posts': 0.38; 'showing': 0.38; 'url:en': 0.39; 'might': 0.39; 'received:209': 0.40; 'give': 0.60; 'your': 0.60; 'browser': 0.61; 'details': 0.65; 'here': 0.66; 'relevant': 0.69; 'hey,': 0.74; 'websites': 0.78; '8bit%:24': 0.84; 'cheung': 0.84; 'com.': 0.84; 'mac.': 0.84; 'stupid': 0.91; '8bit%:18': 0.95 |
| DKIM-Signature | v=1; a=rsa-sha256; c=simple/simple; d=ucsd.edu; i=crebert@ucsd.edu; q=dns/txt; s=041709-iport; t=1309662567; x=1341198567; h=mime-version:in-reply-to:references:date:message-id: subject:from:to:cc:content-transfer-encoding; z=MIME-Version:=201.0|In-Reply-To:=20<CAHxMgEgZcvYFGLEd1rJ oCMsK68yP0KMRteT9c=3DfGk=3DfQDGdZ2A@mail.gmail.com> |References:=20<CAHxMgEgRQfmX0Y4y5-AFD2K+o+m5eKR2JCd0EdxV gdjqTrEYvw@mail.gmail.com>=0D=0A=09<CAMZYqRSm9sUBfS9qaqvF hU1tQdpbaC-nW8QSzaBHMtO__wRhqQ@mail.gmail.com>=0D=0A=09<C AHxMgEgZcvYFGLEd1rJoCMsK68yP0KMRteT9c=3DfGk=3DfQDGdZ2A@ma il.gmail.com>|Date:=20Sat,=202=20Jul=202011=2020:08:11=20 -0700|Message-ID:=20<CAMZYqRTq4JE_aboP+FxRx1TpAYd3Ss8X2UB _36mXb9brYK_skA@mail.gmail.com>|Subject:=20Re:=20web=20br owsing=20short=20cut|From:=20Chris=20Rebert=20<crebert@uc sd.edu>|To:=20Dustin=20Cheung=20<dustin299@gmail.com>|Cc: =20Python=20<python-list@python.org> |Content-Transfer-Encoding:=20quoted-printable; bh=j0/FxicxuyG4OvptgSvWxyH9l66qKAx94o9mOmqP/rc=; b=rbWwCfL66f0CAsm4ASNTl7PJ7tU1hybylrAwQlWQUsvdaLcweUJx/frM dQfaEP1KUSRzrBe1O8V7ZfhMoZRzew+WVm5JYK3vfE45jsQuwkwlwmf0B LalvnrHbsY9YnCihC/F+7hufZbiDTAllqfYXpP09Katy+K5KGycXpPf0Q E=; |
| X-IronPort-Anti-Spam-Filtered | true |
| X-IronPort-Anti-Spam-Result | ArYFAHXcD06E7/kU/2dsb2JhbABShEKjOAh3iHqkfItohmqIeoErg3+BDASHP4p3hGqEYIJZPIN3 |
| X-IronPort-AV | E=Sophos;i="4.65,466,1304319600"; d="scan'208";a="561913102" |
| X-Spam-Status | No |
| X-Spam-Level | |
| MIME-Version | 1.0 |
| In-Reply-To | <CAHxMgEgZcvYFGLEd1rJoCMsK68yP0KMRteT9c=fGk=fQDGdZ2A@mail.gmail.com> |
| References | <CAHxMgEgRQfmX0Y4y5-AFD2K+o+m5eKR2JCd0EdxVgdjqTrEYvw@mail.gmail.com> <CAMZYqRSm9sUBfS9qaqvFhU1tQdpbaC-nW8QSzaBHMtO__wRhqQ@mail.gmail.com> <CAHxMgEgZcvYFGLEd1rJoCMsK68yP0KMRteT9c=fGk=fQDGdZ2A@mail.gmail.com> |
| Date | Sat, 2 Jul 2011 20:08:11 -0700 |
| Subject | Re: web browsing short cut |
| From | Chris Rebert <crebert@ucsd.edu> |
| To | Dustin Cheung <dustin299@gmail.com> |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | quoted-printable |
| Cc | Python <python-list@python.org> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.580.1309662568.1164.python-list@python.org> (permalink) |
| Lines | 43 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1309662568 news.xs4all.nl 21877 [2001:888:2000:d::a6]:52191 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:8714 |
Show key headers only | View raw
> 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