[Ironpython-users] get/set cursor position in HTML

Wolfgang Schmoller w.schmoller at gmx.de
Sun Jul 10 12:57:36 CEST 2011

I get a System.Windows.Browser.ScriptObject, when I'm calling  
"window.getSelection", but I can't invoke "getRangeAt(0)" on that object,  
neither by the direct call of "getRangeAt(0)" on the Object, nor by  
"Invoke("getRangeAt(0)")", which causes an exception. According to the  
official Website, the method should exist  

Can anyone please tell me, what I might do wrong?

Best regards

Am 05.07.2011, 11:31 Uhr, schrieb Wolfgang Schmoller <w.schmoller at gmx.de>:

> Hello,
> is it possible to get/set the cursor position with python from an  
> HTML-page like in Javascript with the selection-methods?
> Best regards
> Wolfgang
> _______________________________________________
> Ironpython-users mailing list
> Ironpython-users at python.org
> http://mail.python.org/mailman/listinfo/ironpython-users

More information about the Ironpython-users mailing list