Browser selections

JJS jjs at krutt.org
Tue Apr 9 13:33:33 EDT 2019


Who are you referring to Jacque? hh or me?


If it's me, then:

i echo only one line of text with the php file which is called after the 
api routine succeeded.

this way i can just look for that one sentence, it goes so fast you 
can't see it and the app switches to another card


Op 8-4-2019 om 20:52 schreef J. Landman Gay via use-livecode:
> Actually, I need to hilite a portion of the text in the browser rather 
> than just get the whole content. Are you doing that?
>
> Eventually I may need to get the user's drag-selection too, but not yet.
>
>
> On 4/8/19 12:22 PM, JJS via use-livecode wrote:
>> you can use this:
>>
>> *put*thehtmlTextofwidget"browser"intotT
>>
>>
>> i use this now for an api which redirects to a php file which echoes 
>> a line of text (as normally it would use the URL scheme, but this 
>> does not work with the widget)
>>
>> this way i could use the  browser widget and stay in the app(mobile) 
>> instead of using a external browser and retunring to the app 
>> afterwards which is an ugly thing and leaves the url open in an 
>> extenal browser.
>>
>> if the text in the browser is my text then it moves on(and i'm 
>> checking like 10 times)
>>
>> It works great!
>>
>>
>> Op 7-4-2019 om 21:34 schreef J. Landman Gay via use-livecode:
>>> Is there a way to get/set selected text in a browser widget? I 
>>> couldn't find anything.
>>>
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your 
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>




More information about the use-livecode mailing list