![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| Plugin Source Code Sample - VB6 |
|
|
#1 (permalink)
|
|
Toolkit Creator
Join Date: May 2006
Location: Cincinnati, Ohio
Posts: 2,168
![]() |
I have uploaded the Source Code for my Bombsight Calculator Plugin for anybody interested in creating their own Plugin. This sample is written in the Visual Basic 6 programming Language and uses the UserDocument project type, which is basically a web control. (So, obviously, you must have Visual Basic 6 with all the Service Packs installed on your computer to run or compile this code.)
You can write plugins in any language that you want. The plugin just has to be able to be displayed in a Internet Explorer browser, that's all there is to it. Behind the scenes, your Plugin can do whatever you like. You can access data from a game if it is available, websites, or whatever you can think of. Hope somebody finds this useful.... ![]() Check it out here. WBK
__________________
(a.k.a. Snacko) Touchscreen: Innovatek TM-868 8"; Running Local Mode on XP Pro ![]() |
|
|
|
| Re: Plugin Source Code Sample - VB6 |
|
|
#2 (permalink) |
|
Addict
Join Date: Sep 2008
Posts: 5
![]() |
Hey Bill, do you know if there is a chance to send TB keystrokes to the game as well as to flash files added as a plugin to the profile. I.E. I have a flv that listens to a "G" keystroke to run a 3Green/3Red animation.
![]() |
|
|
|
| Re: Plugin Source Code Sample - VB6 |
|
|
#3 (permalink) |
|
Toolkit Creator
Join Date: May 2006
Location: Cincinnati, Ohio
Posts: 2,168
![]() |
No, I don't know how you would do that. TB just sends keystrokes to the current window, usually the game. It also let's you specify a Windows Window using the OS name for it, but the result is the same. You cannot send a keystroke to the game and also to something else.
__________________
(a.k.a. Snacko) Touchscreen: Innovatek TM-868 8"; Running Local Mode on XP Pro ![]() |
|
|
|
| Re: Plugin Source Code Sample - VB6 |
|
|
#4 (permalink) |
|
Addict
Join Date: Sep 2008
Posts: 5
![]() |
Can't i specify two receiving windows in a macro or maybe in the server transfer protocol..?. It would be so great to have mfds that show at least the current button function next to them
|
|
|
|
| Re: Plugin Source Code Sample - VB6 |
|
|
#5 (permalink) |
|
Toolkit Creator
Join Date: May 2006
Location: Cincinnati, Ohio
Posts: 2,168
![]() |
Nobody has tried this that I now of... But you could specify your flash window in the Macro 'Send To' textbox, and have the TouchBuddy window (Default tab in the Toolkit) just send it to the current window. (leave it blank like it is, or try using it somehow..)
You'll have to read about how to use that Send to feature. So a search on the forums if you want. It's usually just the name in the titlebar of the window, but your flash does not have a titlebar window. So you will have to use a tool to figure it out..
__________________
(a.k.a. Snacko) Touchscreen: Innovatek TM-868 8"; Running Local Mode on XP Pro ![]() |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://www.touch-buddy.com/forums/skinning-customization/1014-plugin-source-code-sample-vb6.html
|
||||
| Posted By | For | Type | Date | |
| Official TouchBuddy Forum - Powered by vBulletin | This thread | Refback | 04-02-2008 07:48 PM | |