View unanswered posts | View active topics It is currently Thu Jul 29, 2010 2:25 pm



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 447 posts ]  Go to page 1, 2, 3, 4, 5 ... 30  Next
 Tcl-bb 
Author Message
Site Admin
User avatar

Joined: Sun Dec 05, 2004 8:59 pm
Posts: 1316
Location: Boise, Idaho
Reply with quote
Post 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.html

Stable: 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
Report this post
Profile ICQ YIM WWW
Sponsored Links
Google Adsense


Moderator

Joined: Mon Dec 06, 2004 1:43 am
Posts: 109
Reply with quote
Post 
Any examples/ideas on what we could do with this really?


Mon Oct 03, 2005 6:04 am
Report this post
Profile
Site Admin
User avatar

Joined: Sun Dec 05, 2004 8:59 pm
Posts: 1316
Location: Boise, Idaho
Reply with quote
Post 
Anything you can do with BB(C|K)ommand :P Actually check this out as well"
http://www.lostinthebox.com/viewtopic.php?p=3744#3744

_________________
-- Brian


Mon Oct 03, 2005 10:22 pm
Report this post
Profile ICQ YIM WWW
BBAdult

Joined: Sun Aug 14, 2005 9:27 am
Posts: 24
Reply with quote
Post 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
Report this post
Profile
Moderator

Joined: Mon Dec 06, 2004 1:43 am
Posts: 109
Reply with quote
Post 
Show us what you can do, I'm still a little confuzzled.


Mon Oct 10, 2005 2:37 am
Report this post
Profile
Moderator
User avatar

Joined: Mon Dec 06, 2004 12:06 am
Posts: 405
Location: Kungsbacka, Sweden
Reply with quote
Post 
Hmm, the old copy I had was 56 kB, the new one is 756 kB...? ;)

Debug build? :P

BR//Karl -> qwilk


Mon Oct 10, 2005 4:58 pm
Report this post
Profile WWW
Lawful Good Response Troll

Joined: Wed Jan 12, 2005 4:44 am
Posts: 275
Reply with quote
Post 
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

_________________
Image


Mon Oct 10, 2005 5:13 pm
Report this post
Profile
BBSage
User avatar

Joined: Wed Sep 21, 2005 10:29 pm
Posts: 132
Reply with quote
Post 
Yea, this has the TCL libraries compiled into it.

So... bigger size, more flexibility. :-)

_________________
-Elric


Mon Oct 10, 2005 5:47 pm
Report this post
Profile ICQ YIM
Site Admin
User avatar

Joined: Sun Dec 05, 2004 8:59 pm
Posts: 1316
Location: Boise, Idaho
Reply with quote
Post 
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
Report this post
Profile ICQ YIM WWW
BBWise

Joined: Fri Jul 29, 2005 4:44 pm
Posts: 45
Reply with quote
Post 
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
Report this post
Profile
Site Admin
User avatar

Joined: Sun Dec 05, 2004 8:59 pm
Posts: 1316
Location: Boise, Idaho
Reply with quote
Post 
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
Report this post
Profile ICQ YIM WWW
BBAdult

Joined: Sun Nov 20, 2005 8:57 pm
Posts: 34
Reply with quote
Post 
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 :oops:

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
Report this post
Profile
BBWise

Joined: Sun Nov 06, 2005 3:46 am
Posts: 56
Reply with quote
Post 
Thanks for this, tresni. 8)


Wed Nov 23, 2005 9:33 am
Report this post
Profile WWW
Site Admin
User avatar

Joined: Sun Dec 05, 2004 8:59 pm
Posts: 1316
Location: Boise, Idaho
Reply with quote
Post 
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 :oops:

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
Report this post
Profile ICQ YIM WWW
BBAdult

Joined: Sun Nov 20, 2005 8:57 pm
Posts: 34
Reply with quote
Post 
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
Report this post
Profile
Sponsored Links
Google Adsense


Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 447 posts ]  Go to page 1, 2, 3, 4, 5 ... 30  Next


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

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.