Wim






'********************************
'Now we have the complete webpage
'loaded into a string we can
'search for the road list block
'and drop all data infront
'and after the block.
'********************************
'Occassionally there is a negative string lenght which
'obviously isn't possible to caught this calculate the
'lenght first and make sure that it's => 0
CalcLenght = Len(strWebPage) - InStr(strWebPage, strRoadListTag) + 1
If CalcLenght < 0 Then CalcLenght = 0
strWebPage = "<ul class=" & Right(strWebPage, CalcLenght )
CalcLenght = InStr(strWebPage, strRoadListEndTag ) - 1
If CalcLenght < 0 Then CalcLenght = 0
strWebPage = Left(strWebPage, CalcLenght)
'********************************
'We have the data block.
'If the user wants this be split
'to seperate roads then do it
'here otherwise place all file
'information into one device.
'********************************
If blMultiDevices Then
'-----------------------
'Multiple devices



IsHsTouch = true 'True or False'
InfoFolder = "c:/Program Files/HomeSeer HSPRO/html/AZTools/" 'De folder waar de bestanden komen.


1. Ik zie op jouw schermafdruk IsHTML op NO staan. Neem aan dat dit te maken heeft met jouw android. Het werkt bij mij alleen als ik op YES zet. Ter info voor jou.
2. Ik wil nu heel graag de achtergrondkleur en lettertype/grootte aanpassen. Ik krijg het niet voor elkaar. Heb het geprobeerd in het script, maar ik ben totaal a-technisch mbt scripting.... Ook in HStouch aangeven werkt uiteraard niet. Ook 'style' werkt niet aangezien er elke keer een nieuwe pagina gemaakt word. Heb jij en tip? Oplossing?
<BODY bgcolor="yellow" text="red" link="pink" alink="purple" vlink="brown" > strOutput = "<HTML><BODY>" & strOutput & "</BODY></HTML>"


Return to Homeseer Scripts Forum
Users browsing this forum: No registered users and 1 guest