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

2011-07-05 Thread Wolfgang Schmoller
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

[Ironpython-users] IronPython, Daily Digest 7/4/2011

2011-07-05 Thread no_reply
Hi ironpython, Here's your Daily Digest of new issues for project "IronPython". In today's digest:ISSUES 1. [New comment] Scope is not remembered after an import 2. [New comment] Feature request: implement PYTHONINSPECT env var support -- ISSUES 1.

Re: [Ironpython-users] Assembly references: file does not exist?

2011-07-05 Thread Dave Peterson
Hi Markus, > Did you solve your problem yet? > > If not, could you try the following: Try to load the assembly using one of > the static > methods here: > http://msdn.microsoft.com/de-de/library/system.reflection.assembly.aspx > > (You can do "from System.Reflection import Assembly" and then cal

[Ironpython-users] Using pyc.py get import error on minimal WPF app

2011-07-05 Thread Chaim Krause
Runs fine in IronPython IDE /Visual Studio 2010, but... Using minimal code: import wpf from System.Windows import Application, Window class MyWindow(Window): def __init__(self): wpf.LoadComponent(self, 'WpfApplication1.xaml') if __name__ == '__main__': Application().Run(MyWin

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

2011-07-05 Thread Jimmy Schementi
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

[Ironpython-users] [IronPython] UI Automation: Wrong values for ControlType,

2011-07-05 Thread Furqan Malik
Hi yngipy hernan, I am not sure if you still in this email list. I was reading the blog here http://lists.ironpython.com/pipermail/users-ironpython.com/2010-June/013094.html regarding using AutomationElement class fork ironpython. My quick question to you is that what is the name of the C# lib

Re: [Ironpython-users] SQLite3

2011-07-05 Thread Jeff Hardy
On Fri, Jul 1, 2011 at 2:24 PM, Steve Baugh wrote: > Jeff, > > Thank you for doing the updated file. I have downloaded it. > > I have got it working but the plot thickens! > > I put the new IronPython.SQLite.dll + sqlite3.dll into the DLLs > directory. > Doing import sqlite3 gave the _sqlite3 not

Re: [Ironpython-users] Undesired Side Effects of sending digests to the list as emails

2011-07-05 Thread Jeff Hardy
Hi Dave, Can you forward me one of your digest emails (directly, not to the list) so that I can see them? The (poorly-named) digests sent to the list are supposed to just be an issue tracker summary (which, sadly, Codeplex gives very limited options for), and not the digest of the list itself. If

Re: [Ironpython-users] Using pyc.py get import error on minimal WPF app

2011-07-05 Thread Jeff Hardy
Hi Chaim, My guess is that it can't find the wpf module - which, in 2.7 at least, is IronPython.Wpf.dll. You'll probably need to put that file (from the DLLs directory of IronPython) into the same folder as your .exe. - Jeff On Tue, Jul 5, 2011 at 6:59 AM, Chaim Krause wrote: > Runs fine in Iron

Re: [Ironpython-users] Using pyc.py get import error on minimal WPF app

2011-07-05 Thread Chaim Krause
I tried that, with no luck. However, that is the same way I am leaning. Especially if I use /target:exe instead of /target:winexe as I then get an exception immediately in the console window: [C:\work\Iron Python Sandbox\WpfApplication1]WpfApplication1.exe Unhandled Exception: IronPython.Run

Re: [Ironpython-users] Using pyc.py get import error on minimal WPF app

2011-07-05 Thread Chaim Krause
If I copy the dll into the same directory as the exe AND modify the code to... import clr clr.AddReferenceToFileAndPath("IronPython.Wpf.dll") import wpf THEN it works. So, yes. It appears that something is wrong with the import. Has anybody else experienced this with the latest beta? Can s

Re: [Ironpython-users] Using pyc.py get import error on minimal WPF app

2011-07-05 Thread Jeff Hardy
On Tue, Jul 5, 2011 at 10:21 AM, Chaim Krause wrote: > If I copy the dll into the same directory as the exe AND modify the code > to... > > import clr > clr.AddReferenceToFileAndPath("IronPython.Wpf.dll") > import  wpf > > THEN it works. So, yes. It appears that something is wrong with the import.