Browser

2020-06-22 Thread Terence Heaford via use-livecode
That’s the solution I was thinking about.

It’s probably necessary to capture the screen image at a larger size for 
printing as I suspect otherwise the
printed output will be rather blurred.

Thanks

Terry


> On 21 Jun 2020, at 13:46, Andrew at MidWest Coast Media 
>  wrote:
> 
> 
>> I am again looking at implementing Javascript charts within a LC browser.
>> Looking at amCharts.
>> Got a chart displaying easily within the browser widget.
>> Tries to print the card but the widget does not print.
> 
> 
> I’m using amCharts in another project and ran into the same problem: 
> everything looked right in Live view but would disappear when I tried to 
> print a PDF. The only way I could get them to appear right was by taking a 
> picture of the browser and using that image instead of the live JavaScript in 
> the browser (widget). I think hh keyed me into this with his epic knowledge 
> of this tool
> 
>   set the width of templateImage to the width of widget "Browser"
>   set the height of templateImage to the height of widget "Browser"
>   export snapshot from rect globalRect(the rect of widget "Browser") to 
> tSnapshot as JPEG
>   create image “renderedBrowser"
>   set the visible of widget “Browser” to FALSE
>   put tSnapshot into image tSnapshotName
>   set the name of image tSnapshotName to tSnapshotName
>   set the loc of image tSnapshotName to the loc of widget “Browser"
> 
> —Andrew Bell
___
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] This Week in LiveCode 231

2020-06-22 Thread panagiotis merakos via use-livecode
Hi all,

Read about new developments in LiveCode open source and the open source
community in today's edition of the "This Week in LiveCode" newsletter!

Read issue #231 here: https://bit.ly/2B1LWTh

This is a weekly newsletter about LiveCode, focussing on what's been
going on in and around the open source project. New issues will be
released weekly on Mondays. We have a dedicated mailing list that will
deliver each issue directly to you e-mail, so you don't miss any!

If you have anything you'd like mentioned (a project, a discussion
somewhere, an upcoming event) then please get in touch.

-- 
Panagiotis Merakos 
LiveCode Software Developer

Everyone Can Create Apps 
___
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


Chromebook apps?

2020-06-22 Thread prothero--- via use-livecode
Folks:
A LOT of elementary school teachers are using Chromebooks to teach online. So… 
I am wondering what the current situation is with Android (?) apps on 
Chromebooks.

Is anybody developing apps for Chromebooks? Are there gothchas? Any pointers to 
online Chromebook specific docs? I may invest in a Chromebook, for testing, but 
would like to scope out the landscape before I waste my time.

Thanks for any offerings.
Best,
Bill

William A. Prothero
Santa Barbara, CA. 93105
http://earthlearningsolutions.org/


___
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: Chromebook apps?

2020-06-22 Thread Colin Holgate via use-livecode
Would HTML5 be a better option?


> On Jun 22, 2020, at 10:51 AM, prothero--- via use-livecode 
>  wrote:
> 
> Folks:
> A LOT of elementary school teachers are using Chromebooks to teach online. 
> So… I am wondering what the current situation is with Android (?) apps on 
> Chromebooks.
> 
> Is anybody developing apps for Chromebooks? Are there gothchas? Any pointers 
> to online Chromebook specific docs? I may invest in a Chromebook, for 
> testing, but would like to scope out the landscape before I waste my time.
> 
> Thanks for any offerings.
> Best,
> Bill
> 
> William A. Prothero
> Santa Barbara, CA. 93105
> http://earthlearningsolutions.org/
> 
> 
> ___
> 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: Chromebook apps?

2020-06-22 Thread William Prothero via use-livecode
Colin:
Probably HTML5 would be better, ultimately. But, I look at the HTML5 postings, 
limitations, and quirks and it would most likely require me to become an expert 
in javascript and various server technologies that put me over the interest 
level that would be required. I’m fine with programming in livecode, but I 
don’t think the payoff for me to get into HTML5 is worth what I would get out 
of it. My programming is a combination of personal apps that I can use (like 
managing my 6 water meters and fruit tree drip system) and updating a plate 
tectonics app that students at UCSB use. My two sons are both 5’th grade 
teachers, one of whom uses chromebooks in his school, so collaborating with him 
on a nice app for his students is attractive, but only so far.

Thanks, Colin for your suggestion, though.
Best,
Bill

William A. Prothero
https://earthlearningsolutions.org

> On Jun 22, 2020, at 10:05 AM, Colin Holgate via use-livecode 
>  wrote:
> 
> Would HTML5 be a better option?
> 
> 
>> On Jun 22, 2020, at 10:51 AM, prothero--- via use-livecode 
>>  wrote:
>> 
>> Folks:
>> A LOT of elementary school teachers are using Chromebooks to teach online. 
>> So… I am wondering what the current situation is with Android (?) apps on 
>> Chromebooks.
>> 
>> Is anybody developing apps for Chromebooks? Are there gothchas? Any pointers 
>> to online Chromebook specific docs? I may invest in a Chromebook, for 
>> testing, but would like to scope out the landscape before I waste my time.
>> 
>> Thanks for any offerings.
>> Best,
>> Bill
>> 
>> William A. Prothero
>> Santa Barbara, CA. 93105
>> http://earthlearningsolutions.org/
>> 
>> 
>> ___
>> 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: Chromebook apps?

2020-06-22 Thread Richard Gaskin via use-livecode

William Prothero wrote:

> Probably HTML5 would be better, ultimately. But, I look at the HTML5
> postings, limitations, and quirks and it would most likely require me
> to become an expert in javascript and various server technologies that
> put me over the interest level that would be required.

If your app doesn't depend on server tech beyond downloading, a web app 
wouldn't either.


That said, I hear you on this:

> I’m fine with programming in livecode, but I don’t think the payoff
> for me to get into HTML5 is worth what I would get out of it. My
> programming is a combination of personal apps that I can use (like
> managing my 6 water meters and fruit tree drip system) and updating a
> plate tectonics app that students at UCSB use. My two sons are both
> 5’th grade teachers, one of whom uses chromebooks in his school, so
> collaborating with him on a nice app for his students is attractive,
> but only so far.

Writing in HTML/CSS/JavaScript is a world apart from LiveCode.  When the 
business opportunity merits it, it can be rewarding (oh the joys of 
never needing to genuflect at an OS vendor's app store, or give up a 
third of your revenue for the privilege of their control).


And because the nature of the browser is so radically different from 
native app development, I agree that attempting to port LC stacks to the 
web via the Emscripten option is pretty much a non-starter for most 
things people have ever made in LC.


I haven't yet deployed to a Chromebook so I have nothing to offer there 
with regard to LC compatibility. But with the core of Android well 
represented in ChromeOS, I would hope it's no more difficult than 
deploying to a tablet.  Please keep us posted with what you learn.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.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: Chromebook apps?

2020-06-22 Thread John McKenzie via use-livecode


 Could you not just deploy a Linux desktop Livecode app to a
Chromebook? ChromeOS is a Linux distribution, if admittedly a stripped
down one, after all.

 You can install some regular desktop Linux software such as regular
Libre Office on Chromebooks. Some software you cannot install though
and I do not know what the limiting factors are. I do not have a
Chromebook to test out LC apps on but thought I would mention this
point. Apologies if there some obvious reason not to try this that I
missed.


___
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: Chromebook apps?

2020-06-22 Thread William de Smet via use-livecode
I am a longtime user of Chromebooks in education and most 'cheap'
Chromebooks' come with only 4 GB RAM.
The Chrome browser itself uses a lot of RAM already and my experience with
Android apps on Chromebooks is that they are slow (lack of available RAM)
or sometimes not fully functional/compatible.


greetings,

William




Op ma 22 jun. 2020 om 20:53 schreef Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com>:

> William Prothero wrote:
>
>  > Probably HTML5 would be better, ultimately. But, I look at the HTML5
>  > postings, limitations, and quirks and it would most likely require me
>  > to become an expert in javascript and various server technologies that
>  > put me over the interest level that would be required.
>
> If your app doesn't depend on server tech beyond downloading, a web app
> wouldn't either.
>
> That said, I hear you on this:
>
>  > I’m fine with programming in livecode, but I don’t think the payoff
>  > for me to get into HTML5 is worth what I would get out of it. My
>  > programming is a combination of personal apps that I can use (like
>  > managing my 6 water meters and fruit tree drip system) and updating a
>  > plate tectonics app that students at UCSB use. My two sons are both
>  > 5’th grade teachers, one of whom uses chromebooks in his school, so
>  > collaborating with him on a nice app for his students is attractive,
>  > but only so far.
>
> Writing in HTML/CSS/JavaScript is a world apart from LiveCode.  When the
> business opportunity merits it, it can be rewarding (oh the joys of
> never needing to genuflect at an OS vendor's app store, or give up a
> third of your revenue for the privilege of their control).
>
> And because the nature of the browser is so radically different from
> native app development, I agree that attempting to port LC stacks to the
> web via the Emscripten option is pretty much a non-starter for most
> things people have ever made in LC.
>
> I haven't yet deployed to a Chromebook so I have nothing to offer there
> with regard to LC compatibility. But with the core of Android well
> represented in ChromeOS, I would hope it's no more difficult than
> deploying to a tablet.  Please keep us posted with what you learn.
>
> --
>   Richard Gaskin
>   Fourth World Systems
>   Software Design and Development for the Desktop, Mobile, and the Web
>   
>   ambassa...@fourthworld.comhttp://www.FourthWorld.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
>
___
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: Chromebook apps?

2020-06-22 Thread Richard Gaskin via use-livecode

John McKenzie wrote:


 Could you not just deploy a Linux desktop Livecode app to a
Chromebook? ChromeOS is a Linux distribution, if admittedly a stripped
down one, after all.


Alas, while ChromeOS is based on the Linux kernel, everything above the 
kernel is different (desktop manager, compositor, UI inputs, etc.).


And of course the current LC build for Linux is compiled for x86 
processors.  Since Frazier left we haven't seen any further development 
of an ARM-based compile of the LC Linux engine.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.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: Chromebook apps?

2020-06-22 Thread Richard Gaskin via use-livecode

William de Smet wrote:

I am a longtime user of Chromebooks in education and most 'cheap'
Chromebooks' come with only 4 GB RAM.
The Chrome browser itself uses a lot of RAM already and my experience with
Android apps on Chromebooks is that they are slow (lack of available RAM)
or sometimes not fully functional/compatible.


Ouch.

Thanks for that info, William. It's disappointing, but I'd much rather 
be disappointed by real constraints than invest in deployment plans that 
can't come to fruition.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.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: Chromebook apps?

2020-06-22 Thread Stephen MacLean via use-livecode
> On Jun 22, 2020, at 3:17 PM, Richard Gaskin via use-livecode 
>  wrote:
> 
> John McKenzie wrote:
> 
>> Could you not just deploy a Linux desktop Livecode app to a
>> Chromebook? ChromeOS is a Linux distribution, if admittedly a stripped
>> down one, after all.
> 
> Alas, while ChromeOS is based on the Linux kernel, everything above the 
> kernel is different (desktop manager, compositor, UI inputs, etc.).
> 
> And of course the current LC build for Linux is compiled for x86 processors.  
> Since Frazier left we haven't seen any further development of an ARM-based 
> compile of the LC Linux engine.
> 


Looks like ARM  just became a MUCH bigger issue!

___
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: Chromebook apps?

2020-06-22 Thread Dev via use-livecode
Then we are going to need to get Frazier back with Apple’s new all in 
commitment to ARM chips!

kelly

> On 22-Jun-2020, at 1:17 PM, Richard Gaskin via use-livecode 
>  wrote:
> 
> John McKenzie wrote:
> 
>> Could you not just deploy a Linux desktop Livecode app to a
>> Chromebook? ChromeOS is a Linux distribution, if admittedly a stripped
>> down one, after all.
> 
> Alas, while ChromeOS is based on the Linux kernel, everything above the 
> kernel is different (desktop manager, compositor, UI inputs, etc.).
> 
> And of course the current LC build for Linux is compiled for x86 processors.  
> Since Frazier left we haven't seen any further development of an ARM-based 
> compile of the LC Linux engine.
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> 
> ambassa...@fourthworld.comhttp://www.FourthWorld.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
> 


___
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: Chromebook apps?

2020-06-22 Thread Mark Wieder via use-livecode

On 6/22/20 12:21 PM, Stephen MacLean via use-livecode wrote:


Looks like ARM  just became a MUCH bigger issue!


*MUCH*
Fortunately, I've seen github notifications for the last few months that 
point toward ARM capability, so I'm guessing we're on track for this. 
For OSX anyway.


--
 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: Chromebook apps?

2020-06-22 Thread John McKenzie via use-livecode


 Despite using Raspberry Pi devices allot I somehow did not think of
ARM chips. I did not know Chromebooks were based on them.

___
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: Chromebook apps?

2020-06-22 Thread Prothero-ELS via use-livecode
Thanks for the info, folks! I don’t see anything that would draw me to 
Chromebooks.
Seems it’s another world. Too bad. Education really needs good apps at all 
levels and chromebooks are a bright target.

 EST,
Bill

William Prothero
https://earthlearningsolutions.org

> On Jun 22, 2020, at 2:02 PM, John McKenzie via use-livecode 
>  wrote:
> 
> 
> Despite using Raspberry Pi devices allot I somehow did not think of
> ARM chips. I did not know Chromebooks were based on them.
> 
> ___
> 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: Chromebook apps?

2020-06-22 Thread J. Landman Gay via use-livecode
I've had fairly good experiences running an Android app on Chromebook. The manufacturer 
matters. On my Lenovo there are a few glitches, on my client's Asus Flip there are a few 
different glitches, but in general they are minor. I've made two Android apps that also run on 
Chromebooks.


Both apps are limited to portrait mode only and that works very well as long as you don't flip 
the device between desktop and tablet. Whatever mode you open the app with, stay there. In 
desktop mode, the window appears at approximately the same size as the stack; in tablet mode 
(using fullscreenMode "showAll") it resizes beautifully and looks gorgeous. My client actually 
did demos at an educational conference with her Chromebook in tablet mode and was well 
received. But if you launch in tablet mode and then flip to desktop mode, the window resizes 
oddly. The same thing happens if you do it in reverse. LC isn't aware of the change, it's 
probably the same reason you can't change the desktop resolution on a PC in the middle of a 
session.


While my Lenovo performs as above, the Asus will sometimes crash the app if you switch device 
modes. Other manufacturers may behave differently.


I can't recall offhand what the other glitches were but they were minor and what happened on 
one Chromebook didn't happen on the other. If I remember right, some were visual artifacts that 
appeared on one Chromebook only. We do have a few students running one of the apps on 
Chromebooks (models unknown) and we haven't had any complaints.


Both our test Chromebooks have only 4 GB of RAM and I haven't noticed any slowness. But if you 
do, close down other apps and you should be fine. I suppose it would also depend on what your 
app is trying to do and how much RAM it takes. We're downloading some fairly sizeable images on 
demand and haven't had any trouble.


Internet connections work flawlessly (we do heavy server interactions) and LC in general 
functions as you'd expect. One thing to keep in mind is that you must build with 32-bit 
enabled, as the Android emulator on a Chromebook is only 32-bit. If you build with 64-bit only, 
the app will not launch. I always tick both checkboxes.


I'm sure there are some LC features that won't work but so far everything our apps do is 
working. As long as the dictionary says the command is Android compatible it seems to be okay.


BTW, I'm starting to love my Chromebook, it's an amazing device. Fast, extremely secure, and 
very reliable. I've starting doing almost everything on it except LC development. Installing 
and learning Linux is more than I want to do right now, but I'm thinking LC would work fine if 
I ever got that far.


I think you should go ahead and try it, you might be surprised. ChromeOS has come a long way in 
a very short time, and it gets better with every 6-week update.



On 6/22/20 2:12 PM, William de Smet via use-livecode wrote:

I am a longtime user of Chromebooks in education and most 'cheap'
Chromebooks' come with only 4 GB RAM.
The Chrome browser itself uses a lot of RAM already and my experience with
Android apps on Chromebooks is that they are slow (lack of available RAM)
or sometimes not fully functional/compatible.



--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.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: Chromebook apps?

2020-06-22 Thread J. Landman Gay via use-livecode

On 6/22/20 11:51 AM, prothero--- via use-livecode wrote:

I may invest in a Chromebook, for testing, but would like to scope out the 
landscape before I waste my time.


I forgot to mention that I recently saw that some of last year's Chromebooks are going for as 
low as $80. They don't have high-end specs, but you can get a better one for about $150 if you 
shop around. I should have made a note of the article but I'm so happy with my current one I 
didn't see a need.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.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: Chromebook apps?

2020-06-22 Thread William Prothero via use-livecode
Thanks, Jacqueline! I’ll file that info away for future pondering. I’m glad 
there was one positive response to the possibility of using Livecode on a 
chromebook.
Best,
Bill

William A. Prothero
https://earthlearningsolutions.org

> On Jun 22, 2020, at 2:52 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> On 6/22/20 11:51 AM, prothero--- via use-livecode wrote:
>> I may invest in a Chromebook, for testing, but would like to scope out the 
>> landscape before I waste my time.
> 
> I forgot to mention that I recently saw that some of last year's Chromebooks 
> are going for as low as $80. They don't have high-end specs, but you can get 
> a better one for about $150 if you shop around. I should have made a note of 
> the article but I'm so happy with my current one I didn't see a need.
> 
> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.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


___
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