| Author |
Message |
|
tresni
Site Admin
Joined: Sun Dec 05, 2004 8:59 pm Posts: 1316 Location: Boise, Idaho
|
 Tcl-bb
I wrote this quite a while ago [June of 04 from file stamps] but never bothered to release it.. Didn't see a need or want for this so yeah. This plugin allow you to utilize Tcl in xoblite/bblean. I wrote a readme, hope it's extensive enough Requires the MSVC 7.1 runtimes avialable at the bottom of http://xoblite.net/plugins.htmlStable: Tcl-bb 2.4.8.2 [released 30 June 2006]. Read this & this too!The README file is attached to this post, if you do not have it, please get it here!
Attachments:
File comment: README file. Updated for 2.4.8.2 Release!
tcl-bb.txt [7.15 KiB]
Downloaded 273 times
File comment: This is an old version and here for archival purposes only, do not download unless you are sadistic ;)
tcl4bb.zip [323.94 KiB]
Downloaded 730 times
_________________ -- Brian ♠ ♥ ♣
Last edited by tresni on Fri Feb 09, 2007 5:52 am, edited 18 times in total.
|
| Tue Sep 27, 2005 10:23 pm |
|
 |
|
Google
Sponsored Links
|
|
 |
|
freeb0rn
Moderator
Joined: Mon Dec 06, 2004 1:43 am Posts: 109
|
Any examples/ideas on what we could do with this really?
|
| Mon Oct 03, 2005 6:04 am |
|
 |
|
tresni
Site Admin
Joined: Sun Dec 05, 2004 8:59 pm Posts: 1316 Location: Boise, Idaho
|
Anything you can do with BB(C|K)ommand  Actually check this out as well"
http://www.lostinthebox.com/viewtopic.php?p=3744#3744
_________________ -- Brian ♠ ♥ ♣
|
| Mon Oct 03, 2005 10:22 pm |
|
 |
|
SpyderBlade
BBAdult
Joined: Sun Aug 14, 2005 9:27 am Posts: 24
|
 re:tcl
Oh my god! tresni, this is amazing! I don't care at all that it is not lua... heck the only lua i know is from li'l girder scripts. Now to learn tcl ...
Seriously, this plugin will "rock", and rock hard. After reading the readme, it does everything it needs to and I'd put this on a level close to bbinterface, in terms of what it can accomplish.
Gimme a few days .. i have ideas-a-hatchin'.
Great work man. and Woo i'm in a readme!
|
| Sun Oct 09, 2005 11:39 pm |
|
 |
|
freeb0rn
Moderator
Joined: Mon Dec 06, 2004 1:43 am Posts: 109
|
Show us what you can do, I'm still a little confuzzled.
|
| Mon Oct 10, 2005 2:37 am |
|
 |
|
qwilk
Moderator
Joined: Mon Dec 06, 2004 12:06 am Posts: 405 Location: Kungsbacka, Sweden
|
Hmm, the old copy I had was 56 kB, the new one is 756 kB...?
Debug build?
BR//Karl -> qwilk
|
| Mon Oct 10, 2005 4:58 pm |
|
 |
|
Malnilion
Lawful Good Response Troll
Joined: Wed Jan 12, 2005 4:44 am Posts: 275
|
qwilk, I'm not sure but I'm just going to take a wild guess that the version you had required ActiveTCL whereas this version operates entirely independent of ActiveTCL
_________________
|
| Mon Oct 10, 2005 5:13 pm |
|
 |
|
elricfate
BBSage
Joined: Wed Sep 21, 2005 10:29 pm Posts: 132
|
Yea, this has the TCL libraries compiled into it.
So... bigger size, more flexibility. 
_________________ -Elric
|
| Mon Oct 10, 2005 5:47 pm |
|
 |
|
tresni
Site Admin
Joined: Sun Dec 05, 2004 8:59 pm Posts: 1316 Location: Boise, Idaho
|
That's exactly it  The original builds [only distributed to qwilk and snkmchnb iirc] required ActiveTcl or tcl84.dll at a minimum [agian iirc]. I figured that would turn most people off, so it was easier to staticly link the Tcl library...
And I didn't bother compressing with UPX or anything...
_________________ -- Brian ♠ ♥ ♣
|
| Wed Oct 12, 2005 2:03 am |
|
 |
|
Guess
BBWise
Joined: Fri Jul 29, 2005 4:44 pm Posts: 45
|
I have to use the broam for make it work, that tcl4bb.start.eval: C:\BBLean\plugins\tcl4bb\tcl4bb.tcl does not work.
If I use this @tcl-bb evalfile C:\BBLean\plugins\tcl4bb\tcl4bb.tcl and then do a @tcl-bb eval hidePlugins or @tcl-bb eval showPlugins it works, but if I do a @tcl-bb eval ToggleAll what I get is four (4) instances of the Edit Current Style.
This is when I use the config that comes with the zip file.
|
| Mon Oct 24, 2005 5:37 pm |
|
 |
|
tresni
Site Admin
Joined: Sun Dec 05, 2004 8:59 pm Posts: 1316 Location: Boise, Idaho
|
Try this build [version 1.2.0], it will give a message box if something isn't working right, no message box == everything is formatted correctly, doing exactly what it was told to [maybe not what it's suppose to though..]
Attachments:
tcl-bb.zip [324.99 KiB]
Downloaded 536 times
_________________ -- Brian ♠ ♥ ♣
|
| Mon Oct 24, 2005 10:09 pm |
|
 |
|
glurgle
BBAdult
Joined: Sun Nov 20, 2005 8:57 pm Posts: 34
|
Thanks for this tresni!
I have some questions about this plugin, first of all, how do you use the tcl-bb::readvar and tcl-bb::writevar commands? And what vars are they capable of reading? Could these get information from other plugins? (BBInterface for example)
This question is more of a win32 api one since I noticed you loaded the user32.dll for the window functions in your winamp seekbar script, and I know nothing of win32 programming
Would it be possible to alias GetCursorPos to get the current X Y coordinates of the cursor into a script? This would be very cool for use with BBInterface
Thanks again for this very handy plugin!
|
| Tue Nov 22, 2005 5:25 pm |
|
 |
|
quidmeister
BBWise
Joined: Sun Nov 06, 2005 3:46 am Posts: 56
|
Thanks for this, tresni. 
|
| Wed Nov 23, 2005 9:33 am |
|
 |
|
tresni
Site Admin
Joined: Sun Dec 05, 2004 8:59 pm Posts: 1316 Location: Boise, Idaho
|

glurgle wrote: Thanks for this tresni! No problem Quote: first of all, how do you use the tcl-bb::readvar and tcl-bb::writevar commands? Code: set x [tcl-bb::readvar "test"] Would read tcl-bb.var.test: from the rc file and copy it's value to the tcl variable "x" Code: tcl-bb::writevar "test" $x Would write the value of "x" to tcl-bb.var.test: Quote: And what vars are they capable of reading? Only variables in the tcl-bb.rc Quote: Could these get information from other plugins? (BBInterface for example) not at this time. Also using these to read an rc file might give unwanted behavior. For example, if a BBI element can be moved, but didn't update it's position in to the rc file every time and you right clicked the element [which executed a tcl-bb script] to show a menu at the elements location, then if the location wasn't updated then the menu would show in the wrong spot. Did that make sense? Basicly I don't know if reading other rc files would be reliable. Quote: This question is more of a win32 api one since I noticed you loaded the user32.dll for the window functions in your winamp seekbar script, and I know nothing of win32 programming nice piece of action no? Quote: Would it be possible to alias GetCursorPos to get the current X Y coordinates of the cursor into a script? This would be very cool for use with BBInterface 
Hmm.. Probably.. Though it does not appear that dll.dll can do it, and is above and beyond me at the moment as to how to implement what is needed [basicly support for array conversion, and sending].. You'd need to look into Ffidl or something [Good luck getting that setup, that's why I went with dll.dll]:
http://wiki.tcl.tk/1197
http://rutherglen.ics.mq.edu.au/~steffe ... ffidl/doc/
http://elf.org/ffidl/
If your looking at 2K+ only, then you could use http://twapi.sourceforge.net/ which seems easier to use/setup the ffidl.
http://wiki.tcl.tk/9886
http://twapi.sourceforge.net/input.html ... e_location is what you would want specificly.
If it was really needed and there was no better way of doing it, I could probably add a function in tcl-bb to do it.
_________________ -- Brian ♠ ♥ ♣
Last edited by tresni on Sat Nov 26, 2005 4:39 am, edited 1 time in total.
|
| Wed Nov 23, 2005 9:53 pm |
|
 |
|
glurgle
BBAdult
Joined: Sun Nov 20, 2005 8:57 pm Posts: 34
|
well twapi should do the job nicely, but if I'm not mistaken I would need a version of tcl-bb.dll that doesn't have static linked libraries to use it. Is it possible to get the old version of the plugin that uses activeTCL libs and so on?
|
| Thu Nov 24, 2005 9:40 pm |
|
 |
|
Google
Sponsored Links
|
|
 |
|
Who is online |
Users browsing this forum: No registered users and 1 guest |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|