PDA

View Full Version : SS3 Scripting Explained


Dazed_and_Confused
April 11th, 2004, 09:07 PM
As I continue to wade through the vast features of TDS-3, I was wondering if someone would explain SS3 Scripting to me, please. I've read a quite lenghty post in the Private DCS forum that just served to confuse me more.

Maybe I'm wrong, but from what I can tell, the SS3 scripting feature allows one to run some type of code written by the user. But I fail to understand the benefit of doing so. While I'm not a programmer by trade, I have done some VBA work with MS Access. What type of programming lingo are we talking about here? I might want to learn it. And maybe someone could post a short example of code that might demonstrate why this feature is so useful. Thanks!

Jooske
April 12th, 2004, 12:28 AM
Hi D&C

in the TDS private SS3 scripting forum are several examples, you should configure the forum there to show all postings from the beginning to get some ideas and working with the examples available for download from the TDS download page. In the forum here are several examples too, in the Test/Demo sticky posting among others i pointed to one example of the several in this forum, a nice integration with speech, msagent, interactive use of scripting with TDS.
SS3 is kind of enhanced VB or VBS, while TDS reads JS and VBS too. To have some idea one could best get the manuals for those and try if SS3 does that for you too. SS3 was intended to add extra functions for yourself, but people use it for whole bigger programs the more they get into the scripting. But many people don't post their products there, so we don't know everything created unfortunately.

Dazed_and_Confused
April 12th, 2004, 07:17 PM
Hi Jooske,

I found some example scripts (actually one posted by you ;) ) and tried to get it going. In TDS-3 when I try to open the SS3 Editor I get a message saying "SS3Edit.exe Not Found (http://www.wilderssecurity.com/attachment.php?attachmentid=&stc=1)" ??? . Am I supposed to have this file?

FanJ
April 12th, 2004, 07:44 PM
Hi D&C,

Did you have a look at this page:

http://tds.diamondcs.com.au/index.php?page=download

-{ Quote: "
Other Downloads

Scripts Pack - TDS3 is programmable! It has a powerful scripting capability and supports VBScript, JavaScript, and all other script languages supported by the Microsoft Script Engine. This scripts pack contains over a hundred scripts as well as a script editor. To install, simply extract all files from the zip to your TDS3 directory - a Scripts subdirectory will be created during extraction. DOWNLOAD (484kb)

Speech Pack - TDS3 can speak to you! You can even combine this capability with scripts to automate speech. To enable speech, simply download spchapi.exe from Microsoft and run it. DOWNLOAD (828kb)
" }-

My file ss3edit.exe is in the TDS-3 sub-dir Scripts

Does that help?

Regards, Jan.

Jooske
April 13th, 2004, 03:16 AM
And i'm not 100% sure where the ss3edit.exe should be located as i copied it to both the TDS directory and the Scripts main folder, so try when it works for you.
To run the scripts choose Load script and double click it to make it running.
If you want to know what it is about open notepad and drag the script to it so you can look without trying to run it. They are rather descriptive as examples.

Robyn
April 13th, 2004, 04:18 AM
Jookse helped me out with the ss3edit.exe as I had the same error notice. I opened the TDS directory with Windows explorer and found it with the files (not in folders) I then followed Jooke's instructions to copy it and have the editor available now without the error.

Dazed_and_Confused
April 13th, 2004, 07:30 PM
All,

Working great. Thanks (I think - now i'm going to be up all night playing with this now toy)! ;)