[python-win32] cgi fieldstorage

2007-11-16 Thread kNish
Hi, to get a text field value from a php page, getvalue function is used. . . form = cgi.FieldStorage() artist = form.getvalue('artist') To get a value from a drop down box, what function should be used. bRgds, kNish

[python-win32] How to Get a pixel color?

2007-11-16 Thread Cyril.Liu
*Hello All, I try to get a pixel color according to x,y pixel coordinates using this code, but it doesn't work.* import win32ui w = win32ui.FindWindow(None, 11) dc = w.GetWindowDC() color = dc.GetPixel(100,100) Traceback (most recent call last): File interactive input, line 1, in module

[python-win32] How to get URL of open browser window?

2007-11-16 Thread Robert
What is the best way to get the URL of current open webbrowser Window (topmost) into a utility script? At least for IE Mozilla's Robert ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] cgi fieldstorage

2007-11-16 Thread Tim Roberts
kNish wrote: Hi, to get a text field value from a php page, getvalue function is used. . . form = cgi.FieldStorage() artist = form.getvalue('artist') Well, that's one way. You can also use form['artist'].value, which is the style I've seen most