web browsing short cut

Chris Rebert clp2 at rebertia.com
Sat Jul 2 22:10:26 EDT 2011


On Sat, Jul 2, 2011 at 6:21 PM, Dustin Cheung <dustin299 at 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  display on different areas on the screen. I looked
> around but i had no luck. Is that possible with python? if so can someone
> 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?

Cheers,
Chris



More information about the Python-list mailing list