Re: Rust

2021-04-28 Thread Monte Goulding via use-livecode



> On 29 Apr 2021, at 1:34 pm, David Bovill via use-livecode 
>  wrote:
> 
> I need to interface with an open-source project that is being ported to rust 
> (from C++). I would like to make an extensions library to add new syntax to 
> my scripts.
> 
> Is the way to go to create some C code that interfaces with rust - 
> https://docs.rust-embedded.org/book/interoperability/rust-with-c.html

If you read the page you link then you will know the answer is yes ;-)

Also from the looks of things you should be able to make a shared library you 
can call from LCB by following the directions there.

Cheers

Monte


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Rust

2021-04-28 Thread David Bovill via use-livecode
I need to interface with an open-source project that is being ported to rust 
(from C++). I would like to make an extensions library to add new syntax to my 
scripts.

Is the way to go to create some C code that interfaces with rust - 
https://docs.rust-embedded.org/book/interoperability/rust-with-c.html

Or?
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: access DOM in browser widget?

2021-04-28 Thread Tore Nilsen via use-livecode
Have you had a look at "do in widget" in the Dictionary? You can actually 
perform JavaScript from LC on content in the browser widget.

Best regards
Tore

> 28. apr. 2021 kl. 20:33 skrev Ben Rubinstein via use-livecode 
> :
> 
> 
> Thanks for responding Tom
> 
>> But if yoiu need any more of a direct way accessing itI don't know of 
>> one.
> Yes, that's what I'm after: to have a browser widget in a LiveCode stack, and 
> be able to access the DOM (not the htmlText) in LiveCode script.
> 
> It's not my page so I can't add javascript to it.
> 
> Does anyone know if this is possible?
> 
> TIA,
> 
> Ben
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Stacks not removed from memory?

2021-04-28 Thread Marty Knapp via use-livecode
Is anybody else experiencing with LC 9.6.2 rc5 that stacks with destroyStack 
set to true are not always removed from memory when they're closed? It's been 
happening to me in the IDE and standalones but not every time. And even when I 
specifically go to another stack, set that stack to the defaultStack, that any 
script with “of this stack” throws an error because it thinks "this stack" it's 
the stack I just closed.

Marty
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: access DOM in browser widget?

2021-04-28 Thread Ben Rubinstein via use-livecode



Thanks for responding Tom

But if yoiu need any more of a direct way accessing itI don't know of 
one.
Yes, that's what I'm after: to have a browser widget in a LiveCode stack, and 
be able to access the DOM (not the htmlText) in LiveCode script.


It's not my page so I can't add javascript to it.

Does anyone know if this is possible?

TIA,

Ben

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: access DOM in browser widget?

2021-04-28 Thread Tom Glod via use-livecode
Hi Ben.. You can run JS in the browser widget.

Found this 

https://forums.livecode.com/viewtopic.php?t=31730

But if yoiu need any more of a direct way accessing itI don't know of
one.


On Wed, Apr 28, 2021 at 1:34 PM Ben Rubinstein via use-livecode <
use-livecode@lists.runrev.com> wrote:

>
> Is there a way to access the DOM from the browser widget?
>
> TIA,
>
> Ben
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
Tom Glod
Founder & Developer
MakeShyft R.D.A (www.makeshyft.com)
Mobile:647.562.9411
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


access DOM in browser widget?

2021-04-28 Thread Ben Rubinstein via use-livecode



Is there a way to access the DOM from the browser widget?

TIA,

Ben

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Simple Datagrid task?

2021-04-28 Thread hakan--- via use-livecode
Just got a Déjà Vu :)

:-Håkan

> On 27 Apr 2021, at 17:19, Martin Koob via use-livecode 
>  wrote:
> 
> Look online for a solution to a problem, find the answer and then find that I 
> had written it

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode