Wim

Code: Select all
'********************************
'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)
Code: Select all
'********************************
'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
Code: Select all
IsHsTouch = true 'True or False'
InfoFolder = "c:/Program Files/HomeSeer HSPRO/html/AZTools/" 'De folder waar de bestanden komen.
Ja, dit had ik ook opgemerkt. Totaal onlogisch maar ja, dat android device dat ik gebruikte heeft een corrupte rom en moet nog eens proberen of ik hem opnieuw kan flashen. Maar bedankt voor de info.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.
Om dit op te lossen heb je een beetje html kennis nodig. Dat is niet moeilijk hoor.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?
Code: Select all
<BODY bgcolor="yellow" text="red" link="pink" alink="purple" vlink="brown" >
Code: Select all
strOutput = "<HTML><BODY>" & strOutput & "</BODY></HTML>"