oBrowser field $data

Mike Matthews - Omnis omnis at lineal.co.uk
Wed Nov 15 11:48:38 UTC 2023

Hello Kelly,

I have thought about this, but the sticking point is I only want to do an action if the page has certain info.  So a double fetch is not really the answer, but a last resort.


Lineal Software Solutions
Commercial House, The Strand<x-apple-data-detectors://1/1> Barnstaple, Devon, EX31 1EU<x-apple-data-detectors://1/1>

omnis at lineal.co.uk<mailto:mike.matthews at lineal.co.uk>



On 15 Nov 2023, at 02:57, Kelly Burgess <kellyb at montana.com<mailto:kellyb at montana.com>> wrote:

Caution: This is a message which has originated from outside the organisation. Ensure the sender is trusted and the content is safe before opening links or attachments.

Hi Mike,

This isn't getting it directly from the oBrowser, but if what you want is worth another fetch....

       HTTPPage ($cinst.$objs.xBrowser.$urlorcontrolname) Returns htmlText  ## get the page
       Calculate htmlText as mid(htmlText,pos(chr(13,10,13,10),htmlText)+4)  ## strip the headers

Manage your list subscriptions at https://linkprotect.cudasvc.com/url?a=https%3a%2f%2flists.omnis-dev.com&c=E,1,PrmpU85wVuMGxialpv4Fx4gZqTEd5JDMJ1lerWhg4bIR_rMnSrRD3uiQouYkuTLK8rVqTbXI1YpjXBC0rySv3Oox_hQNgbn8yZvtrSaCLVYnZzwMoA,,&typo=1
Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com

More information about the omnisdev-en mailing list