Tcl-bb

From BB4Win Wiki

Jump to: navigation, search
Tcl-bb
Developer(s) Tresni
Platforms BBLean, xoblite
Category Scripting
Stable Version 2.4.8
Development Version NONE

Contents

About Tcl-bb

Tcl-bb (pronouced "Tickle BB" or "Tickle for BB") is the first, and currently only, plugin for BB4Win that adds true scripting to BB4Win. Originally written around June of 2004, Tcl-bb was not released to the public until September 27, 2005. While it had been given to certain community members for testing, the response had been quite dull, leading Tresni to believe there was no market for this functionality. It wasn't until SpyderBlade, Nightbreed, and other community members started trying to expand the functionality of BBInterface using VBScript that Tcl-bb seemed to fill a niche.

Still very experimental, Tcl-bb has been used to control WinAmp and iTunes, along with posting information to BBInterface elements from other plugins. Support for controlling external programs is usually done via various Tcl packages, to date tcom, dll (modified to support passing null values), and twapi have been used.

With the latest release was added the ability to create custom Broam command messages, even using current plugin supported Broams.

Requirements

Tcl-bb requires .Net 1.1 be installed. It also requires that the MSVC 7 runtimes. No other libraries are required to run Tcl-bb.

RC Settings

tcl-bb.rc
tcl-bb.start.eval string Path to a Tcl script to execute on startup
tcl-bb.var.<name> string <name> should be the name of a tcl-bb namespace'd variable, setting should be the variable's value

Broams

@tcl Shorthand for @tcl-bb eval
@tcl-bb eval Take a Tcl statement as an argument and executes said statement
@tcl-bb evalfile Take the path to a Tcl script as an argument and executes said Tcl script
Personal tools