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
Cyril.Liu wrote:
> *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):
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 m
*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 "", line 1, in
win32ui: Ge
On Thu, 15 Nov 2007, Sten Spans wrote:
>
> I'm rewriting some iis management scripts in python,
> using the python wmi bindings from
> http://tgolden.sc.sabren.com/python/wmi.html
>
> Creating / Ennumerating sites works just fine.
> But I can't seem to figure out how to delete sites.
>
> import w
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