la
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net
Original message From: Pierre Sahores
Date:04/23/2015 16:14 (GMT-05:00)
To: How to use LiveCode ,LiveCode
Developer List Subject: Re:
mobileControlDo
Hi Mark,
Many thanks for your helpful gui
Hi Mark,
Many thanks for your helpful guidance !
Understood : mobileControlDo returns the last line of the executed javascript «
as this » , so all works as expected with :
on mouseup
-- mobileControlCreate "browser", "Browser1" inited in the preOpenStack
handler --
MobileControlDo
Hi Pierre,
There is definitely code in the engine to feed the (string) result from
the JS script back to 'the result' variable. I've just tried (on iOS):
mobileControlDo sBrowserId, "execute", "1+1"
answer the result
For me at least, this results in an answer dialog popping up containing
the
> Le 22 avr. 2015 à 10:46, David Bovill a écrit :
>
> Hi Pierre. Thanks fir the input Mike. I'd like to get to the bottom of this
> as well.
>
> Pierre if you could post the code you are testing that would be great?
>
> I'd like to know how this sots with near-future Javascript plans. Is this
Hi Pierre. Thanks fir the input Mike. I'd like to get to the bottom of this
as well.
Pierre if you could post the code you are testing that would be great?
I'd like to know how this sots with near-future Javascript plans. Is this
something that is being looked at being addressed with the intended
No shared clipboard between the js instance and the mobile browser instance
said, at some point, RunRev...
> Le 22 avr. 2015 à 04:19, Mike Bonner a écrit :
>
> Ah k. I had just looked at this thread(
> http://forums.livecode.com/viewtopic.php?f=53&t=11730&p=55347&hilit=mobilecontroldo#p55347
>
Ah k. I had just looked at this thread(
http://forums.livecode.com/viewtopic.php?f=53&t=11730&p=55347&hilit=mobilecontroldo#p55347
), and (if I understand what you're asking) it seemed to be working at some
point in the past. Unreliably, but still working.
Hopefully someone can help.
On Tue, Apr
Don’t work there. The problems seems to rely on the fact that mobilecontroldo
acts as a pure command (no return value at all in it or in the result)…
Thanks anyway,
Pierre
> Le 22 avr. 2015 à 00:35, Mike Bonner a écrit :
>
> You do actually have a 'return' in your js code right?
>
> You migh
You do actually have a 'return' in your js code right?
You might test with something simple like
function donothing() {
return 10;
}
After the mobilecontroldo it the result should be 10.
If you ARE returning a value, you might simplify and make sure you aren't
returning nothing. I THINk that