tenWare Software

tenScripting Installation

tenScripting is distributed as a Microsoft Visual Studio 2005 Project, within a single .ZIP file.  Installation consists of downloading the file (see below), and extracting the files to your development computer.  Make sure that you retain the folder structure while extracting.  Start Visual Studio (or one of the related Microsoft products listed below) and then use the File/Open Project Menu to open the project file: \tenScripting\tenScripting.suo. If you are running one of the products newer than 2005, you will be asked if you want to upgrade the project.  Answer yes (no need to save a copy of the original 2005 project - you have the .zip file). 

Once the tenScripting project has loaded, you will see errors that references to both the HomeSeer2 and Scheduler assemblies are undefined.  You must add references to these HomeSeer assemblies.  First, make sure that you have the HomeSeer Speaker application installed on your development computer (or the full HomeSeer server application).  Then add the references:

In the Solution Explorer, right-click on References and select Add Reference... .  A dialog box will open.  Select the Browse tab and then browse to the HomeSeer folder (should be located in \Program Files\Homeseer 2\ or Homeseer HS2\ or Homeseer Speaker\.  Select both HomeSeer2.dll and Scheduler.dll and click OK.

 Now go ahead and run the tenScripting project.  It is likely that the first time you run the tenScripting project it will not be able to connect to HomeSeer and will display a dialog box.  Enter the IP address or network name of your HomeSeer computer (localhost if your development computer is the same as your HomeSeer computer).  You can leave the Port field blank.  Enter your Userid and Password for gaining access to HomeSeer  (usually default will work for both).  Click the Save and Exit button.  tenScripting will end.  Now run tenScripting again and it should successfully connect to HomeSeer.

You are now ready to begin developing your HomeSeer scripts using tenScripting.


tenScripting has been tested using the following Microsoft Development environments:

MS Visual Studio 2005
MS Visual Web Developer 2005
MS Visual Studio 2005 Express Edition
MS Visual Web Developer 2005 Express Edition
MS Visual Studio 2008
MS Visual Web Developer 2008
MS Visual Basic 2008 Express Edition
MS Visual Web Developer 2008 Express Edition
MS Visual Basic 2010 Express
MS Visual Web Developer 2010 Express
MS Visual Studio 2010

 If you do not have one of these products installed, you can download and install the FREE Visual Basic 2010 Express Edition or the FREE Visual Web Developer 2010 Express Edition products from Microsoft.  tenScripting is also distributed free of charge.

Version History:

 tenScripting Version 1.4.4  11/30/2010

Bug Fix:  If the HomeSeer computer system date format is different than the system date format on the client computer  (ie, 30/11/2010  vs  11/30/2010) then a failure would occur writing the HS log records to the tenScripting listbox.

 tenScripting Version 1.4.3  11/21/2010

Bug Fix: Index Out of Range in the HomeSeerLog Listbox DrawItem method

 tenScripting Version 1.4.2  2/8/2010

Added a warning if the default method is defined as main instead of Main.

  tenScripting Version 1.4.1  7/21/2009

Option added to pass parameters (separated by commas) to a script as an array of objects.  Compatible with HsTouch. 

Copies settings from prior version upon first execution of a new version of tenScripting.

  tenScripting _1_3_0.zip   Now copies Imports statements to each script in the .vb file

  tenScripting_1_2_0.zip    Added triggers, Specify port, Sequence # in logs, HS Debug Log enhanced

  tenScripting_1_1_0.zip    Multiple *.vb files, multiple entry points, HS Event logging

  tenScripting_1_0_0.zip    Original Release