Re: [[ ANN ]] Release 10.0.0 DP-5

2023-04-18 Thread Mark Wieder via use-livecode

I would so like to like this release:
script widgets
expression constants (finally!)
etc...

but it's so wonky on linux that I'd have to write up a slew of bug 
reports. Essentially unusable for me in ways that dp4 behaves.


I'm looking forward to dp6.

--
 Mark Wieder
 ahsoftw...@gmail.com


___
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: [[ ANN ]] Release 10.0.0 DP-5

2023-04-18 Thread Mike Kerner via use-livecode
wupz. nevermind.
https://livecode.com/account/all-livecode-downloads

On Tue, Apr 18, 2023 at 3:53 PM Mike Kerner 
wrote:

> anyone try to download this version? i don't see where to do it
>
> On Tue, Apr 18, 2023 at 3:11 PM Mike Kerner 
> wrote:
>
>> i'm curious to hear if script widgets perform better than grouped
>> controls did.
>> one of the things that lcb widgets had was better performance and
>> responsiveness.
>>
>> On Tue, Apr 18, 2023 at 1:20 PM panagiotis merakos via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>
>>> Dear list members,
>>>
>>> We are pleased to announce the release of LiveCode 10.0.0 DP-5.
>>>
>>> LiveCode 10.0.0 DP-5 comes with some amazing new features, such as:
>>>
>>> - The initializing value for constant and local declarations can
>>> now be any constant expression
>>> - The suspend and resume messages are now supported on
>>> mobile platforms
>>> - A library has been added which gives access to the Sign-in with Google
>>> API on Android
>>> - Support for working with media controls on Android has been
>>> added
>>> - On Web, data required by the engine to run has been
>>> separated out into optional files thus reducing the size of the
>>> download required in many cases
>>> - A prototype implementation of the 'script widgets' feature has
>>> been included
>>>
>>> and many more :)
>>>
>>> You can find more details on the new features and the bug fixes of this
>>> new
>>> release here:
>>>
>>> https://livecode.com/livecode-10-dp-5-smaller-faster-richer
>>>
>>> You can find the release in your LiveCode account area or get it via the
>>> automatic updater.
>>>
>>> Enjoy!
>>>
>>> Kind regards
>>> The LiveCode Team
>>> --
>>> ___
>>> 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
>>>
>>
>>
>> --
>> On the first day, God created the heavens and the Earth
>> On the second day, God created the oceans.
>> On the third day, God put the animals on hold for a few hours,
>>and did a little diving.
>> And God said, "This is good."
>>
>
>
> --
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>and did a little diving.
> And God said, "This is good."
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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: [[ ANN ]] Release 10.0.0 DP-5

2023-04-18 Thread Mike Kerner via use-livecode
anyone try to download this version? i don't see where to do it

On Tue, Apr 18, 2023 at 3:11 PM Mike Kerner 
wrote:

> i'm curious to hear if script widgets perform better than grouped controls
> did.
> one of the things that lcb widgets had was better performance and
> responsiveness.
>
> On Tue, Apr 18, 2023 at 1:20 PM panagiotis merakos via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> Dear list members,
>>
>> We are pleased to announce the release of LiveCode 10.0.0 DP-5.
>>
>> LiveCode 10.0.0 DP-5 comes with some amazing new features, such as:
>>
>> - The initializing value for constant and local declarations can
>> now be any constant expression
>> - The suspend and resume messages are now supported on
>> mobile platforms
>> - A library has been added which gives access to the Sign-in with Google
>> API on Android
>> - Support for working with media controls on Android has been
>> added
>> - On Web, data required by the engine to run has been
>> separated out into optional files thus reducing the size of the
>> download required in many cases
>> - A prototype implementation of the 'script widgets' feature has
>> been included
>>
>> and many more :)
>>
>> You can find more details on the new features and the bug fixes of this
>> new
>> release here:
>>
>> https://livecode.com/livecode-10-dp-5-smaller-faster-richer
>>
>> You can find the release in your LiveCode account area or get it via the
>> automatic updater.
>>
>> Enjoy!
>>
>> Kind regards
>> The LiveCode Team
>> --
>> ___
>> 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
>>
>
>
> --
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>and did a little diving.
> And God said, "This is good."
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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: [[ ANN ]] Release 10.0.0 DP-5

2023-04-18 Thread Mike Kerner via use-livecode
i'm curious to hear if script widgets perform better than grouped controls
did.
one of the things that lcb widgets had was better performance and
responsiveness.

On Tue, Apr 18, 2023 at 1:20 PM panagiotis merakos via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Dear list members,
>
> We are pleased to announce the release of LiveCode 10.0.0 DP-5.
>
> LiveCode 10.0.0 DP-5 comes with some amazing new features, such as:
>
> - The initializing value for constant and local declarations can
> now be any constant expression
> - The suspend and resume messages are now supported on
> mobile platforms
> - A library has been added which gives access to the Sign-in with Google
> API on Android
> - Support for working with media controls on Android has been
> added
> - On Web, data required by the engine to run has been
> separated out into optional files thus reducing the size of the
> download required in many cases
> - A prototype implementation of the 'script widgets' feature has
> been included
>
> and many more :)
>
> You can find more details on the new features and the bug fixes of this new
> release here:
>
> https://livecode.com/livecode-10-dp-5-smaller-faster-richer
>
> You can find the release in your LiveCode account area or get it via the
> automatic updater.
>
> Enjoy!
>
> Kind regards
> The LiveCode Team
> --
> ___
> 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
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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


[[ ANN ]] Release 10.0.0 DP-5

2023-04-18 Thread panagiotis merakos via use-livecode
Dear list members,

We are pleased to announce the release of LiveCode 10.0.0 DP-5.

LiveCode 10.0.0 DP-5 comes with some amazing new features, such as:

- The initializing value for constant and local declarations can
now be any constant expression
- The suspend and resume messages are now supported on
mobile platforms
- A library has been added which gives access to the Sign-in with Google
API on Android
- Support for working with media controls on Android has been
added
- On Web, data required by the engine to run has been
separated out into optional files thus reducing the size of the
download required in many cases
- A prototype implementation of the 'script widgets' feature has
been included

and many more :)

You can find more details on the new features and the bug fixes of this new
release here:

https://livecode.com/livecode-10-dp-5-smaller-faster-richer

You can find the release in your LiveCode account area or get it via the
automatic updater.

Enjoy!

Kind regards
The LiveCode Team
--
___
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: "get in widget"?? How can I get a value out of a browser widget into LiveCode?

2023-04-18 Thread Ben Rubinstein via use-livecode
I've found a solution. For the benefit of others (and myself, because I'll 
have forgotten this next time I want it), this can be done using "the 
javascriptHandlers".


So you can set up a handler to be called from the browser:
set the javascriptHandlers of widget "Browser" to "myJSHandler"

... and then have javascript pass the expression to that handler:

do "liveCode.myJSHandler(document.title);" in widget "browser"



On 17/04/2023 16:17, Ben Rubinstein via use-livecode wrote:

Thanks Klaus, I tried both of those!

So for example I can execute
 do "alert(document.title)" in widget "browser"

and see the expected string in an alert box. But
 do "document.title" in widget "browser"; put it

or
 do "document.title" in widget "browser"; put the result

just put empty.

Any other ideas? I don't know whether I need to do something different in the 
livecode end (probably) or in the javascript end.


TIA,

Ben


On 17/04/2023 16:11, Klaus major-k via use-livecode wrote:

Hi Ben,

Am 17.04.2023 um 16:37 schrieb Ben Rubinstein via use-livecode 
:


Thanks to this list, I know about "do in widget" that can cause some 
javascript to be evaluated in the current page in the browser widget. Which 
is great.


But how do I get (into LiveCode) the result of a javascript expression?


if in doubt try either -> IT or -> the result :-)


TIA,

Ben


Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
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


___
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: Unable to load Preferences LC 9.6.9rc3 and Levure 9.0.5

2023-04-18 Thread Mark Smith via use-livecode
Marty, apologies, I forgot to add I am doing this on an “M” chip. 

Mark


> On 18 Apr 2023, at 10:42 am, Mark Smith  wrote:
> 
> Hi Marty, this worked like a charm. I was trying to open Trevor's 
> dataview_demo and was getting the same “An error occurred while initialising 
> the application…” msg. This fixed it. Thanks
> 
> Mark
> 
> 
>> On 14 Apr 2023, at 10:35 pm, Marty Knapp via use-livecode 
>>  wrote:
>> 
>> I don’t have an “M” chip Mac here to test at the moment but here’s something 
>> to try:
>> 
>> In the Levure framework open the helpers folder and then the preferences 
>> folder
>> Modify the helper.yml file by deleting the section under externals so the 
>> file just contains the following
>> 
>> externals:
>> libraries:
>> - filename: preferences.livecodescript
>> extensions:
>> - filename: nsuserdefaults.lcm
>>   engine version: ">=9.0"
>>   platform: macos,ios
>> 
>> Then try a build and see how that works. I just tried it on my Intel iMac 
>> and preferences are working OK without the previous content.
>> 
>> Please let me know how it works on your “M” mac
>> 
>> 
>> Marty
>> 
>>> On Apr 10, 2023, at 3:23 AM, Mark Waddingham via use-livecode 
>>>  wrote:
>>> 
>>> On 2023-04-08 14:58, bob--- via use-livecode wrote:
 I'm wondering if anyone might be able to help me out. I’m trying to
 use LC 9.6.9rc3 with an app built with Levure. With LC 9.6.9rc2 I am
 able to open the app in the IDE with no issue.
 When I try to open the app with LC 9.6.9rc3 I get “An error occurred
 while initializing the application [unable to load external
 Preferences]”. I’m tracing through the Levure script now and can see
 in fact the Preference stack is not being loaded. I’ve confirmed
 Preferences.bundle is at the location referenced in the script.
 Can anyone steer me in a direction for a fix to this?
>>> 
>>> So you'll need to (for now) use `Get Info` on LiveCode.app in Finder, and 
>>> ask it to 'open in rosetta'... Then when building any standalones, disable 
>>> generating a the arm64 slice (you can do this in the MacOS pane of 
>>> standalone settings).
>>> 
>>> The reason is isn't working is that the preferences external included in 
>>> Levure does not have a ARM64 slice - so won't load when the engine is 
>>> running using that architecture.
>>> 
>>> The preferences external will need to be rebuilt with an arm64 slice and 
>>> included in Levure.
>>> 
>>> (When looking at this the other day, I did notice that Levure has an LCB 
>>> extension which can do preferences stuff on macOS - bypassing the need for 
>>> an external, but I couldn't see how you opt to use that instead of the 
>>> external).
>>> 
>>> Warmest Regards,
>>> 
>>> Mark.
>>> 
>>> -- 
>>> Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
>>> LiveCode: Build Amazing Things
>> 
>> 
>> ___
>> 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


Re: Unable to load Preferences LC 9.6.9rc3 and Levure 9.0.5

2023-04-18 Thread Mark Smith via use-livecode
Hi Marty, this worked like a charm. I was trying to open Trevor's dataview_demo 
and was getting the same “An error occurred while initialising the 
application…” msg. This fixed it. Thanks

Mark


> On 14 Apr 2023, at 10:35 pm, Marty Knapp via use-livecode 
>  wrote:
> 
> I don’t have an “M” chip Mac here to test at the moment but here’s something 
> to try:
> 
> In the Levure framework open the helpers folder and then the preferences 
> folder
> Modify the helper.yml file by deleting the section under externals so the 
> file just contains the following
> 
> externals:
> libraries:
>  - filename: preferences.livecodescript
> extensions:
>  - filename: nsuserdefaults.lcm
>engine version: ">=9.0"
>platform: macos,ios
> 
> Then try a build and see how that works. I just tried it on my Intel iMac and 
> preferences are working OK without the previous content.
> 
> Please let me know how it works on your “M” mac
> 
> 
> Marty
> 
>> On Apr 10, 2023, at 3:23 AM, Mark Waddingham via use-livecode 
>>  wrote:
>> 
>> On 2023-04-08 14:58, bob--- via use-livecode wrote:
>>> I'm wondering if anyone might be able to help me out. I’m trying to
>>> use LC 9.6.9rc3 with an app built with Levure. With LC 9.6.9rc2 I am
>>> able to open the app in the IDE with no issue.
>>> When I try to open the app with LC 9.6.9rc3 I get “An error occurred
>>> while initializing the application [unable to load external
>>> Preferences]”. I’m tracing through the Levure script now and can see
>>> in fact the Preference stack is not being loaded. I’ve confirmed
>>> Preferences.bundle is at the location referenced in the script.
>>> Can anyone steer me in a direction for a fix to this?
>> 
>> So you'll need to (for now) use `Get Info` on LiveCode.app in Finder, and 
>> ask it to 'open in rosetta'... Then when building any standalones, disable 
>> generating a the arm64 slice (you can do this in the MacOS pane of 
>> standalone settings).
>> 
>> The reason is isn't working is that the preferences external included in 
>> Levure does not have a ARM64 slice - so won't load when the engine is 
>> running using that architecture.
>> 
>> The preferences external will need to be rebuilt with an arm64 slice and 
>> included in Levure.
>> 
>> (When looking at this the other day, I did notice that Levure has an LCB 
>> extension which can do preferences stuff on macOS - bypassing the need for 
>> an external, but I couldn't see how you opt to use that instead of the 
>> external).
>> 
>> Warmest Regards,
>> 
>> Mark.
>> 
>> -- 
>> Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
>> LiveCode: Build Amazing Things
> 
> 
> ___
> 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