On Tue, Jun 24, 2008 at 3:25 PM, John Chandler <[EMAIL PROTECTED]> wrote:
> Below is a bit of code that should work, you might want to change ieregex
> because right now it will close anything that has "Microsoft Internet
> Explorer" in the title bar. Have fun.
The simplest way to do this is use w
On 25/06/2008, Jeff Peery <[EMAIL PROTECTED]> wrote:
> hello,
> I'm using internet explorer to print out html documents and I'm not sure how
> to close it once it is created. How do I do this? below is the simple bit of
> code I use to print documents.
>
> ie =
> win32com.client.Dispatch("I
Below is a bit of code that should work, you might want to change ieregex
because right now it will close anything that has "Microsoft Internet
Explorer" in the title bar. Have fun.
import win32con
import win32gui
import win32process
import re
def getHwnds():
def callback(hwnd, hwnds):
hello,
I'm using internet explorer to print out html documents and I'm not sure how
to close it once it is created. How do I do this? below is the simple bit of
code I use to print documents.
thanks!
Jeff
ie = win32com.client.Dispatch("InternetExplorer.Application")