Got it. Now need to keep going and learn uses for scripting.
Thank you
Announcement
Collapse
No announcement yet.
tenScripting 3.22 Now Available
Collapse
X
-
Let me know how it goes. Follow this:. http://tenholder.net/tenWare2/tenScr...tallation.aspx
Leave a comment:
-
don't know what I did. Maybe I should uninstall everything and start from scratch following the vids.
Leave a comment:
-
From your post, looks like your VS solution is goofy. CsScripts looks like it is the solution instead of tenscripting. Did you first load and run just the distributed solution files? Then add your script files to the CsScripts project?
Leave a comment:
-
Followed vids and got to the start button. Did not get any of the errors you showed but got a visual studio error.
Leave a comment:
-
Also, make sure you have read all of the topics located at:
http://tenholder.net/tenWare2/tenScr...4/default.aspx
Leave a comment:
-
While these videos are for version 3, they should give you an idea of how to get this all working.
http://tenholder.net/tenWare2/tenScripting/Videos.aspx
Let me know if this helps
Leave a comment:
-
Guests arriving for TG, will try and record a video for you this evening
Leave a comment:
-
Visual Studio v 17.4.1 HomeSeer HS4 ZEE S2 (Upg from HS3ZS2) Edition 4.2.16.0 (Linux) The download file was tenscripting 4_12. I have it unziped but don''t know if it is installed. When I click on open projects or solutions in visual studio, it points to the tenscripting4 file folder containing the unziped files. I was referring to tenscripting program window.
Leave a comment:
-
Originally posted by retiredjeff View PostHave visual studio and tenscript4 installed. I can get C# to work and write simple code. How do I get the Homeseer scripting window open?
Jeff
Are you able to write simpe C# code via tenScripting4? What do you mean by HomeSeer scripting window?
Leave a comment:
-
Have visual studio and tenscript4 installed. I can get C# to work and write simple code. How do I get the Homeseer scripting window open?
Jeff
Leave a comment:
-
Thanks. I had actually saved that code and considered it in this problem, but I struggle with how this would work in the context of both running in tenscripting3 or running directly in an event in HS3. I'm guessing when running natively as executed by an event, the "remote script" code isn't necessary. Not sure it would make sense as a universal solution. I'll keep thinking about it. I may just eliminate HomeSeer object functions from the DLL code.
Leave a comment:
-
Originally posted by tenholde View Post
The .NET way to reuse code is to compile the common code into a separate .dll and then add a reference to it. This is not as hard as it sounds.
tenholde I worked through how to compile a personal dll with common code and can reference it. I do have one problem I'm not experienced enough to work through and was hoping you could provide some advice. In my DLL any code that references hs.mumble calls fail as the hs object isn't initialized. I can see that initializing the hs object is done automatically in tenScripting3 but I can't quite figure out how to migrate that to my DLL. Can you suggest some code that will work?
Naturally anyone else who has a potential solution can chime in as well, I'd appreciate the assist. Thanks in advance!
Leave a comment:
Leave a comment: