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 usual document and window variables are available in Python files which are
executed via script tags; imported modules do not have those variables set.
See http://www.ironpython.net/browser/docs.html#interacting-with-markup
FYI, document.selection is an IE-only feature.
~Jimmy
On Jul 5
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
[email protected]
http://mail.python.org/mailman/list