I was woundering is there is any Documentation for DC Hub ? I would also like to learn how to make scripts.. I am no dummy in programming as I used to program in RPG and Basic some Cobal..
So where can I get the nessary tools to learn and Write
Scripts for My new hub?
Thank you
Docs. and Scripts
Moderator: Moderators
-
Becky636
- Posts: 7
- Joined: 2003-01-05 22:12
Docs. and Scripts
Becky636 makeitso.dyndns.tv or enterprisenx01.dyndns.tv
-
jeza
- Posts: 17
- Joined: 2003-01-28 18:40
- Location: SLOVENIJA
-
ButterflySoul
- Posts: 210
- Joined: 2003-01-23 22:24
- Location: Nevada
Let's see ... For the DC Hub documentation, you have a basic description of the objects and events (help.script) included in the files of the hub software download itself, and Jeza posted you the details of the protocol.
The language is Visual Basic Script, which is essentially Visual Basic with no variable types other than variants, with a few features removed from classic VB, but also a few features specific to VBS which you won't find in VB (like RegExp objects or creating you own classes, for example)
If you download this, you will now also have a nice tutorial to VBS (the "User's Guide" section) and a complete language reference (the "reference" section).
Eventually, you might want another script editor than the one built in the hub software. I'd suggest AEdiX which has a bunch of nice features (like synthax highlighting, for example) and happens to be free.
It might look a bit funny the first time you start it, but if you modify AEdiXmain.amf to this :
things should look a bit better.
Guess you're all set now ? =)
The language is Visual Basic Script, which is essentially Visual Basic with no variable types other than variants, with a few features removed from classic VB, but also a few features specific to VBS which you won't find in VB (like RegExp objects or creating you own classes, for example)
If you download this, you will now also have a nice tutorial to VBS (the "User's Guide" section) and a complete language reference (the "reference" section).
Eventually, you might want another script editor than the one built in the hub software. I'd suggest AEdiX which has a bunch of nice features (like synthax highlighting, for example) and happens to be free.
It might look a bit funny the first time you start it, but if you modify AEdiXmain.amf to this :
Code: Select all
Program MainAEditScript;
{ You Can use this script to customize AEdiX, anyway
it is better that you make a backup copy before change
The chages on this file wil take effects only when you restart AEdiX
}
Procedure OnInit;
begin
Editor.SetTabWidth(3);
Editor.SetSmartTabs(False);
Editor.SetRightEdge(0);
end;
Procedure OnFileLoad(Name:string);
begin
if (trim(extractfileext(uppercase(name)))='.SCRIPT') then Document.SynSelectChange(7);
end;
Begin
//do not write nothing here
end.things should look a bit better.
Guess you're all set now ? =)
Who is online
Users browsing this forum: Google [Bot] and 0 guests