I'm debugging a combination of a script and ASP page in HomeSeer and would like to ask HomeSeer users to do me a favor.
I'm calling a function in the script from the asp page. I need to find out which versions of HomeSeer will get a return value in the asp page (if any).
I've got a script file and an asp file. I need people to save these files to their HomeSeer directories, call the asp page, and post the resulting page.
This file, return_test.txt, should go in the scripts directory under HomeSeer:
This file, return_test.asp, should go in the html directory under HomeSeer:
If you bring up this page in a browser, you should get a very simple text result. Use something like this URL (depending on how you have the HomeSeer web server set up):
If you could try this and post the results, along with the version of HS you are running, I'd appreciate it.
Thanks.
I'm calling a function in the script from the asp page. I need to find out which versions of HomeSeer will get a return value in the asp page (if any).
I've got a script file and an asp file. I need people to save these files to their HomeSeer directories, call the asp page, and post the resulting page.
This file, return_test.txt, should go in the scripts directory under HomeSeer:
Code:
'return_test.txt
function return_data()
return_data = "test"
end function
Code:
'return_test.asp
sub main(link)
dim data
data = hs.RunEx("return_test.txt","return_data","")
response.send "<html><body>return_test<p>"
response.send "result = " & data & "<p>"
response.send "</body></html>"
end sub
Code:
http://192.168.0.100:80/return_test.asp
If you could try this and post the results, along with the version of HS you are running, I'd appreciate it.
Thanks.