> On Sat, Jul 2, 2011 at 7:10 PM, Chris Rebert <c...@rebertia.com> wrote: >> On Sat, Jul 2, 2011 at 6:21 PM, Dustin Cheung <dustin...@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 <dustin...@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 -- http://mail.python.org/mailman/listinfo/python-list