Re: [IronPython] Embedding IronPython in MS-Office (fwd)
A while back, Slide wrote: You'd have to write an add-in for office that hosted the .NET runtime and provided a hosting API that IP could interact with. I don't think this would be a small undertaking. Hmm. Is there any way to have MSO see IPY as a Scripting or Macro Language, like it sees VBA? I am familiar with writing console (or regular) apps in C# and using the Microsoft.Office.Interop assemblies - I could do this easily from IronPython but I'd rather it be usable from within the MSO environment. OpenOffice is better in this regard because it sees Python, Java, and Basic as just different scripting / macro languages, and therefore it's easy to write Python apps that EITHER run from within the environment or outside. Cheers, -JK -- - http://www.globalherald.net/jb01 GlobalHerald.NET, the Smarter Social Network! (tm) ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Re: [IronPython] Embedding IronPython in MS-Office (fwd)
VBA is embedded pretty tightly into Word and Excel; there's no way to swap it out for another scripting engine. On Sun, Nov 15, 2009 at 8:40 AM, Joshua Kramer j...@globalherald.netwrote: A while back, Slide wrote: You'd have to write an add-in for office that hosted the .NET runtime and provided a hosting API that IP could interact with. I don't think this would be a small undertaking. Hmm. Is there any way to have MSO see IPY as a Scripting or Macro Language, like it sees VBA? I am familiar with writing console (or regular) apps in C# and using the Microsoft.Office.Interop assemblies - I could do this easily from IronPython but I'd rather it be usable from within the MSO environment. OpenOffice is better in this regard because it sees Python, Java, and Basic as just different scripting / macro languages, and therefore it's easy to write Python apps that EITHER run from within the environment or outside. Cheers, -JK -- - http://www.globalherald.net/jb01 GlobalHerald.NET, the Smarter Social Network! (tm) ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Re: [IronPython] Embedding IronPython in MS-Office (fwd)
I think Office is tied to ActiveScripting which is COM based. I am not sure any ActiveScripting language will work either, they may have it tied directly to VBA as was said earlier. On Sun, Nov 15, 2009 at 8:16 AM, Curt Hagenlocher c...@hagenlocher.orgwrote: VBA is embedded pretty tightly into Word and Excel; there's no way to swap it out for another scripting engine. On Sun, Nov 15, 2009 at 8:40 AM, Joshua Kramer j...@globalherald.netwrote: A while back, Slide wrote: You'd have to write an add-in for office that hosted the .NET runtime and provided a hosting API that IP could interact with. I don't think this would be a small undertaking. Hmm. Is there any way to have MSO see IPY as a Scripting or Macro Language, like it sees VBA? I am familiar with writing console (or regular) apps in C# and using the Microsoft.Office.Interop assemblies - I could do this easily from IronPython but I'd rather it be usable from within the MSO environment. OpenOffice is better in this regard because it sees Python, Java, and Basic as just different scripting / macro languages, and therefore it's easy to write Python apps that EITHER run from within the environment or outside. Cheers, -JK -- - http://www.globalherald.net/jb01 GlobalHerald.NET, the Smarter Social Network! (tm) ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com -- slide-o-blog http://slide-o-blog.blogspot.com/ ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com