Monthly Archives: October 2008
Database driven scripts
| October 24, 2008 | Posted by The Futtock under Other Stuff |
Comments off
|
I am currently working on a Scala InfoChannel project where the entire script needs to be database driven so clients can log into an online portal, and change the order of screens without the need for any technical knowledge.This is done by the Scala script talking to a VBScript that in turn gets the …
Connect to MSSQL database
| October 21, 2008 | Posted by The Futtock under Other Stuff |
Comments off
|
The following code can be used in VBScript to connect to a database. It uses both a timout and ping to make sure there is a connection to the database.
This is very handy when creating database driven Scala Infochannel scripts. It also uses error traping to make sure the script does not stop running …
Change Cursor Colour
| October 21, 2008 | Posted by The Futtock under Other Stuff |
When using input text boxes in Scala InfoChannel Designer, the default colour for the cursor seems to be yellow. There does not seem to be an obvious way to set this colour. The way around this is to change the yellow in the pallet to what ever colour you want or go straight to …
Offline database driven scripts
| October 21, 2008 | Posted by The Futtock under Other Stuff |
Running a database driven scala script is great but what do you do if the connection to the database goes down?
The solution is to not have a database driven script!
Seriously though, make the script text file driven, so that all the data required by the script comes from a text file. Then have a …
Scala InfoChannel Get Player Name
| October 21, 2008 | Posted by The Futtock under Other Stuff |
In Scala InfoChannel if you want to get the name of the player there are two ways to do this:
1.
The variable Billing.PlayerName will return it.
Ex: playername = Billing.PlayerName;
2.
If using VBScript the following will get the player name
Set WshNetwork = CreateObject(“WScript.Network”)
playername = WshNetwork.ComputerName
Recent Comments