DescriptionThis plugin allows you full access to the Media Center Programming Interface
using Scripts written in either C# or VB.NET.
These can be compiled and run on the fly with Media Center open!
The programming interface is exactly the same one as used by all the interface
plugins out there.
The Script's have full access to the .NET framework. Theres next to nothing you can't do.
ScreenshotThis image
here shows what the plugin looks like when running.
Pre-requesitsMake sure you have the latest version of the .NET Framework 2.0. This is installed as standard in Windows Vista, 7, 8 etc but may need installing for Windows XP.
.NET 2.0 must be installed. .NET 3.0/.NET 4.0 on their own will not suffice.
Where do I get it?Now available here for instant download
This is a beta version
Click Here Go to Download Site InstallationClose Media Center before Installation.
Go through the setup program.
Open Media Center,
Go to Services and Plugins in the tree.
Scripting plugin should be there.
AcknowledgmentsThis plugin would not be possible without the exceptional genius of Oleg Shilo
who wrote the C# Scripting engine
http://www.codeproject.com/csharp/cs-script_for_CP.asphttp://www.members.optusnet.com.au/~olegshiloor the use of #Develops Editor
http://www.icsharpcode.net/OpenSource/SD/Default.aspxCurrent Build Status as of 23/06/2007>Release Candidate 1 Version 0.6.5.0
- Minor Release Fixing Kill Bug
[0.6.0.0]
* Scripts are now started using a helper command line tool ScriptRunner.exe
* Scripts start in their own Application Domain, allowing handling of events
and threads etc.
* Scripts can be started without the script plugin
* Textbox output is now performed using standard output
Current Plugin Supports
>
VB Scripts New!>Template Scripts to start you off
>Real Time Editing of scripts (You type, it saves)
>Undo/Redo by Ctrl-Z, Ctrl-Y
>Creating of new scripts
>Renaming Scripts (You type it renames, You type the wrong thing it breaks)
>Exploring Script Directory
>Output for Compile Errors
>Compilation and running of scripts
>Starting One Script From Another!
>Script running on a new thread
>LED Indication of Thread Running
>Ability to kill that thread
>Detection of file changes
>Ability to output strings to the output textbox (Via TextBox reference)
>Syntax Highlighting
>Line Numbers
>#Develops Editor
There are some obvious desirables in the future
such as
>Java Script? (If People want it)
>Remote starting of a script
>Script Backup System
>Optional non real-time editing interface
>Running Scripts on Startup of MC
>Refresh to find new scripts
>Modifying of Templates (You can edit these in another editor if you like, they are under The template in the MC Plugin Directory\Script Plugin)
>Conversion of Scripts to .EXE's (Scripting engine can do this to!)
>Intellisense?
>Your Idea here
What will the next build center on?Unknown
Known BugsKill Script Not Available When it should be...
Usage notes...>Don't change the init method declaration else my plugin won't be able to find it!
>Theoretically you can create another class in the same script file and then create
an instance of that class from init
>Source Code will be made public as soon as I have time to tidy it up a bit, and make it worth reading!
>MediaCenter Interface is described here
http://www.jrmediacenter.com/DevZone/MJAutomation.html>If you really want the source code in it's current form just ask!
Sample ScriptsCan be found
hereFeel free to add to them!