SigX 2.1.6 - Released on June 23, 2005
What i hope to accomplish here is to show you what new features came out in 2.1.6 and how to take advantage of them
The feature I am most happy to introduce is the new
VBscript execute feature, it allows the users to create and share external scripts which have endless amount of features. The scripts I included with 2.1.6 are just a few sample scripts that show off the abilities of VBscript. You can get html output, parse XML files, get local system information, get email status, whatever you want (as long as you know how to do it) .
The way this works
First off you write a script, lets start off with a simple "hello world" script for example.
Code:
' the Path is the name of our file
Const Path = "helloworld.txt"
Set fs = CreateObject("Scripting.FileSystemObject")
Set outFile = fs.CreateTextFile(Path, True)
outfile.write "Hello World"
Note: You must save the output txt file with the identical file name as the VBscript file name.So now we save the above code as
helloworld.vbs. And next we place the helloworld.vbs inside your SigXC, scripts folder. To test and debug our code we simply double click on the vbs file and it will create a helloworld.txt file in the same folder or throw an error.
To use the VBscript file in our SigX we have to edit the
templates.txt filde which is also found inside the SigXC folder.
Working with the templateOpen up templates.txt folder and paste the following code into it at the end.
Code:
"HelloWorld" "{script}=scripts/helloworld.vbs,60"
The first part
"HelloWorld" is what you will see in the drop down box inside SigX.
The second part tells SigX what to do
"{script}=scripts/helloworld.vbs,60"
The number
60 is in minutes. Which would mean that you want the vbscript file to execute every 1 hour or 60 minutes.
Conclusion
Obviously I gave a very simple example how SigX uses VBscripts but they are very powerfull. I have included an RSS reader with version 2.1.6 that allows you to to read RSS from your favorite news sites, or even your own blog and show them on the SigX image.