LiveFX using IronPython

Several folks have asked how to get started using LiveFX with IronPython.

Here is a quick Getting Started guide:

    1. Download and install the latest IronPython console from [here]
    2. Grab the sample LiveOE.py file from [here]
    3. Edit the LiveOE.py file and change the line
         sdkLibsPath = r"..\LiveFrameworkSDK\Libraries\.Net Library"
      to reflect the path where you’ve installed the LiveFX SDK .NET libraries
    4. Launch the IronPython console from the command line: [ipy.exe -X:TabCompletion]
    5. At the console, you can now type something like:

         import LiveOE
         livefx = LiveOE.Connect("username@live.com", "password")
         for i in livefx.Mesh.MeshObjects.Entries : print i.Resource.Title

That about does it.

Published 09 November 08 04:45 by oriamiga

Comments

# robmen said on November 10, 2008 2:22 AM:

In LiveOE.ConnectLocal, I think you want to return the livefx object rather than returning the result of livefx.ConnectLocal().

def ConnectLocal():

   livefx = LiveOperatingEnvironment()

   livefx.ConnectLocal()

   return livefx

works for me.

# Angus Logan's Blog said on November 10, 2008 8:44 AM:

Ori (Group Program Manager of Live Framework dev plat) has started a blog over here. His first post is

# oriamiga said on November 11, 2008 9:24 PM:

robmen... thanks for catching that.  fixed.

Anonymous comments are disabled

About oriamiga

Ori Amiga is the Principal Group Program Manager of the Live Developer Platform team responsible for driving the developer platform efforts across the Live Platform Services (LPS) group including Microsoft’s new Mesh platform. He joined Microsoft in 1999 as a Program Manager in the Enterprise Server division. In 2002 he transferred to the Mobile and Embedded Devices division, and drove the development platform offering for Windows Mobile. In 2004 he continued his efforts driving the mobile platform as the Group Program Manager for the Visual Studio for Devices team in the Developer Division. Most recently, Ori was the Group Program Manager for the Visual Studio Tools Platform team, managing tactical and strategic planning and execution of the product team driving the Visual Studio 2005 release. In his spare time, Ori is an avid traveler, enjoys motoring, gaming, and tennis.

Search

This Blog

Tags

No tags have been created or used yet.

Syndication

Page view tracker