Re: return "error" code from standalone compile

2020-12-09 Thread J. Landman Gay via use-livecode
I don't know much about this but it looks interesting. Is there a list of 
exit codes somewhere? When the OS receives the exit code, what happens? 
I.e., how would I use it?

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On December 9, 2020 7:48:10 PM Mark Wieder via use-livecode 
 wrote:



On 12/9/20 5:32 PM, Douglas A. Ruisaard via use-livecode wrote:

On the completion of a stack, can the compiled executable return an error
code like the old DOS ErrorLevel value(s)?  If so, how do you specify the
error code?  in the on closeStack call?


See the quit command in the dictionary.

quit 42

--
 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





___
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: return "error" code from standalone compile

2020-12-09 Thread Mark Wieder via use-livecode

On 12/9/20 5:53 PM, Douglas A. Ruisaard wrote:

Beauties!   .. thanks! ... should have remembered that!


Cool. And where you put it depends on your application.

--
 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: return "error" code from standalone compile

2020-12-09 Thread Douglas A. Ruisaard via use-livecode
Beauties!   .. thanks! ... should have remembered that!

Douglas Ruisaard


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Mark Wieder via use-livecode
Sent: Wednesday, December 9, 2020 5:46 PM
To: Douglas A. Ruisaard via use-livecode
Cc: Mark Wieder
Subject: Re: return "error" code from standalone compile

On 12/9/20 5:32 PM, Douglas A. Ruisaard via use-livecode wrote:
> On the completion of a stack, can the compiled executable return an error
> code like the old DOS ErrorLevel value(s)?  If so, how do you specify the
> error code?  in the on closeStack call?

See the quit command in the dictionary.

quit 42

-- 
  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


___
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: return "error" code from standalone compile

2020-12-09 Thread Mark Wieder via use-livecode

On 12/9/20 5:32 PM, Douglas A. Ruisaard via use-livecode wrote:

On the completion of a stack, can the compiled executable return an error
code like the old DOS ErrorLevel value(s)?  If so, how do you specify the
error code?  in the on closeStack call?


See the quit command in the dictionary.

quit 42

--
 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


return "error" code from standalone compile

2020-12-09 Thread Douglas A. Ruisaard via use-livecode
On the completion of a stack, can the compiled executable return an error
code like the old DOS ErrorLevel value(s)?  If so, how do you specify the
error code?  in the on closeStack call?

Douglas Ruisaard
Trilogy Software




___
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: Anyone using Lottie animations?

2020-12-09 Thread Rick Harrison via use-livecode
Hi Graham,

There is a company that will allow you to easily make
such animations - anyone can do it - no artists needed.

https://www.videoscribe.co/en 

The idea here is that you can make a video animation
with their software and then display/use the video
inside of LC.

They have a free 7 day trial too.

I hope that helps.

Rick

> On Dec 9, 2020, at 7:56 AM, Graham Samuel via use-livecode 
>  wrote:
> 
> I came across these recently, apparently JSON-based and cross-platform 
> including mobiles. Could be useful, but I wonder how hard it would be to use 
> them for an LC iOS app - the examples I’ve seen to things with Xcode and 
> Swift which are out of my star.
> 
> Does anyone know?
> 
> https://lottiefiles.com/what-is-lottie 
> 
> 
> Graham
> ___
> 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: Will Browser widget ever work on Linux?

2020-12-09 Thread Mark Wieder via use-livecode

On 12/9/20 8:40 AM, Curry Kenworthy via use-livecode wrote:

Yep, it actually feels great to be a Windows-first LiveCoder. 


I'm not gonna get sucked into religious wars here... 

Like the field, embedded Browser is a way to 
deliver and display so many different kinds of content that it should be 
considered a foundational part of LC. Can't afford to let it slip.


Yep. So... browser support on linux?

Now that I have an SSD, the LC script editor troubles are a thing of the 
past too. LC simply made the mistake of designing broadly-used software 
on high-end hardware, so it wasn't a great design, especially for the 
masses. (Strange because that's usually a beginner's mistake.)


When I worked at Apple I was always the guy who wanted to use the older 
hardware while everyone else was jumping for the latest models because I 
was dead set on finding compatibility bugs. My favorite discovery was 
uncovering a bug in the MPW C compiler because it had only previously 
been tested on the latest shiny new hardware.


--
 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: Will Browser widget ever work on Linux?

2020-12-09 Thread Curry Kenworthy via use-livecode



Mark:

> It's actually OSX where CEF usage was
> dropped, not Windows.

Yep, it actually feels great to be a Windows-first LiveCoder. 
Ironically, things "just work." In fact I'm doing a Windows app right 
now, using - guess what - the Browser widget. Works a treat.


It's hard to overstate how important embedded Browser support is. Along 
with, of course, the field object, which can do much more than most 
people realize. (The cliques and promoters/repeaters in this LC 
community always breathlessly push certain resources, at the expense of 
awareness about others.) Like the field, embedded Browser is a way to 
deliver and display so many different kinds of content that it should be 
considered a foundational part of LC. Can't afford to let it slip.


And the Browser needs to work fairly seamlessly cross-platform, to a 
reasonable extent. That's why we're all here, right?


About Windows: Once upon a time I was a big Mac guy and Mac-first 
shareware author. I was all about Mac...until Apple made some dumb and 
hypocritical UI decisions, contradicting their own doctrine repeatedly 
and destructively. They took a crowbar to the beloved Mac OS and made it 
much less convenient and satisfying to use.


I never jumped ship onto the Linux rowboat. Nice to have that platform - 
and by all means it should be supported. I'm still an enthusiastic 
Mac-second developer, and I welcome Linux work on occasion, but I 
adopted Windows as my primary OS since their UI had some advantages. To 
this day I'm very happy to be firmly cross-platform and proudly 
Windows-first.


Now that I have an SSD, the LC script editor troubles are a thing of the 
past too. LC simply made the mistake of designing broadly-used software 
on high-end hardware, so it wasn't a great design, especially for the 
masses. (Strange because that's usually a beginner's mistake.) Remember 
how the newly open-source LC was going to open up the world of coding to 
the third-world masses? Nope, not gonna happen, not with that kind of 
disk usage! I always design on budget hardware, so that at least the 
middle class can use the end product too.


But now SSD has become the standard for new budget hardware, so very 
soon that will be moot - once again LC runs just fine with modern 
antivirus and Windows 10. (Talking about a real Windows computer - hi 
Richmond - and not a partition or virtualized system. Real PC, real Mac 
is the way to go.) So for users stuck on "the dark side" of Mac or Linux 
- the grass really is greener over here at the moment. Fingers crossed.


Best wishes,

Curry Kenworthy

Custom Software Development
"Better Methods, Better Results"
LiveCode Training and Consulting
http://livecodeconsulting.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: Anyone using Lottie animations?

2020-12-09 Thread Brian Milby via use-livecode
Looks like Skia has support for rendering the format.  That could provide a 
path for implementation inside of LC, but someone that knows a bit more about 
it would need to take a look to confirm.

Sent from my iPhone

> On Dec 9, 2020, at 7:57 AM, Graham Samuel via use-livecode 
>  wrote:
> 
> I came across these recently, apparently JSON-based and cross-platform 
> including mobiles. Could be useful, but I wonder how hard it would be to use 
> them for an LC iOS app - the examples I’ve seen to things with Xcode and 
> Swift which are out of my star.
> 
> Does anyone know?
> 
> https://lottiefiles.com/what-is-lottie 
> 
> 
> Graham
> ___
> 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


Anyone using Lottie animations?

2020-12-09 Thread Graham Samuel via use-livecode
I came across these recently, apparently JSON-based and cross-platform 
including mobiles. Could be useful, but I wonder how hard it would be to use 
them for an LC iOS app - the examples I’ve seen to things with Xcode and Swift 
which are out of my star.

Does anyone know?

https://lottiefiles.com/what-is-lottie 

Graham
___
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