RE: Get fillGradient props

2016-07-07 Thread Erik Beugelaar
According Richard's scripting guide the use of 'c' is used for objects 
containing behavior scripts to denote their special use as a sort of class 
definition as it is commonly done in lower-level languages.

Regards,
Erik


Sent from solidit

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
Monte Goulding
Sent: vrijdag 8 juli 2016 04:19
To: How to use LiveCode 
Subject: Re: Get fillGradient props


> On 8 Jul 2016, at 10:00 AM, Alex Tweedly  wrote:
> 
> What do you use for handler-local variables ?

`t` for temporary. I believe we fairly closely follow Richard’s scripting style 
guide http://fourthworld.com/embassy/articles/scriptstyle.html#Variables

However the team does use `c` instead of `u` for custom properties. I’m not 
sure why there’s that variance but I vaguely recall a previous version of the 
style guide recommended `c` so we may continue to use it for historical 
reasons… That would be back in the dark ages of the Revolution 1.0 beta. When a 
wee little Kevin and his mates had a vision ;-)

Cheers

Monte

> 
> Thanks
> 
> Alex
> 
> On 07/07/2016 23:16, Monte Goulding wrote:
>>> On 8 Jul 2016, at 7:52 AM, Scott Rossi  wrote:
>>> 
>>> I've always thought lowercase "L" is a poor choice to prefix a 
>>> variable name.  Is it an L? It is a capital i? Is it a pipe?
>> For what it’s worth we use `s` in the team for script locals. There are some 
>> older scripts like libURL that use some other prefixing conventions.
>> 
>> 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
> 
> 
> ___
> 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

Getting Library Stacks into Memory

2016-07-07 Thread Sannyasin Brahmanathaswami
Our new app was loading nicely on the iPhone.. .we externalized a lot of code 
to scripts that are meant to be used in front, back and as behaviors… with the

go stack

cmd


logInfo "Loading frontscript" && tStackPath

go stack (getPathForSharedLibraries() & tStackPath)

insert the script of stack tStackName into front


and like this:


put getPathForSharedLibraries() & "mobilecontrols.livecodescript" into 
tBehaviorStackPath

logRaw "info",tBehaviorStackPath

go invisible stack tBehaviorStackPath

I have a gut feeling that this might not be happy on mobile.

Any insights? sometimes my "suspicions" are completely wrong.

But on the iPHone when it starts up we get a black screen… and a whole series 
of iPhone answer dialogs, one after another that are not in our code. all the 
groups on the home screen are being declared with an "OK" button.

homeHeaderNavBat
OK

portal_links  # a big group on card 1
OK

home_gems # a subgroup of the above on cd 1
OK…

ten of these, declaring every single group on the card of the stack that is 
trying to be loaded "home.livecode"  and if we click OK on each one. finally 
the finish and the loader stack is sitting there, but not the stack that is 
supposed to be the first one to appear.

Really weird.




___
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 fillGradient props

2016-07-07 Thread Monte Goulding

> On 8 Jul 2016, at 10:00 AM, Alex Tweedly  wrote:
> 
> What do you use for handler-local variables ?

`t` for temporary. I believe we fairly closely follow Richard’s scripting style 
guide http://fourthworld.com/embassy/articles/scriptstyle.html#Variables

However the team does use `c` instead of `u` for custom properties. I’m not 
sure why there’s that variance but I vaguely recall a previous version of the 
style guide recommended `c` so we may continue to use it for historical 
reasons… That would be back in the dark ages of the Revolution 1.0 beta. When a 
wee little Kevin and his mates had a vision ;-)

Cheers

Monte

> 
> Thanks
> 
> Alex
> 
> On 07/07/2016 23:16, Monte Goulding wrote:
>>> On 8 Jul 2016, at 7:52 AM, Scott Rossi  wrote:
>>> 
>>> I've always thought lowercase "L" is a poor choice to prefix a variable
>>> name.  Is it an L? It is a capital i? Is it a pipe?
>> For what it’s worth we use `s` in the team for script locals. There are some 
>> older scripts like libURL that use some other prefixing conventions.
>> 
>> 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
> 
> 
> ___
> 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: Get fillGradient props

2016-07-07 Thread Mike Bonner
Ah, it was u not c thats right.  Thanks richard, that and "extending the
message path" stuff helped me get my grok on.  I think I saw c being used
for custom properties somewhere else and it stuck for some reason.

On Thu, Jul 7, 2016 at 7:51 PM, stephen barncard <
stephenrevoluti...@barncard.com> wrote:

> RG:
>
> "You can quickly identify whether a variable is local or global, or whether
> it was passed in as an argument, if you preceed the descriptive name with a
> lower-case letter to determine its type."
> Char Meaning Example
>
> g
> Global variable gMyGlobal
>
> t
> Local ("temporary") variable tMyVar
>
> s
> Script-local var* (sometimes called "static") sMyVar
>
> p
> Parameter (also called an argument) pMyParam
>
> k
> Constant* kMyNumber
>
> u
> User-defined (or custom) properties uMyProp
>
>
>
>
> Stephen Barncard - Sebastopol Ca. USA -
> mixstream.org
>
> On Thu, Jul 7, 2016 at 6:50 PM, stephen barncard <
> stephenrevoluti...@barncard.com> wrote:
>
> > from Richard Gaskin:
> >
> > http://www.fourthworld.com/embassy/articles/scriptstyle.html
> >
> > Stephen Barncard - Sebastopol Ca. USA -
> > mixstream.org
> >
> > On Thu, Jul 7, 2016 at 6:41 PM, Mike Bonner  wrote:
> >
> >> Somewhere I once ran across a list of suggested lc naming conventions,
> it
> >> helped me greatly. If I recall it was s for script locals, t for handler
> >> locals (t for temporary) g for globals, k for constants, c for custom
> >> properties. and I don't know if it was in the same list, but I add a
> >> trailing A for arrays.  Sure makes it easy to keep track of whats what,
> so
> >> to whoever wrote that list.. Thank you!
> >>
> >> On Thu, Jul 7, 2016 at 6:00 PM, Alex Tweedly  wrote:
> >>
> >> > What do you use for handler-local variables ?
> >> >
> >> > Thanks
> >> >
> >> > Alex
> >> >
> >> >
> >> > On 07/07/2016 23:16, Monte Goulding wrote:
> >> >
> >> >> On 8 Jul 2016, at 7:52 AM, Scott Rossi 
> wrote:
> >> >>>
> >> >>> I've always thought lowercase "L" is a poor choice to prefix a
> >> variable
> >> >>> name.  Is it an L? It is a capital i? Is it a pipe?
> >> >>>
> >> >> For what it’s worth we use `s` in the team for script locals. There
> are
> >> >> some older scripts like libURL that use some other prefixing
> >> conventions.
> >> >>
> >> >> 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
> >> >>
> >> >
> >> >
> >> > ___
> >> > 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
>
___
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 fillGradient props

2016-07-07 Thread stephen barncard
RG:

"You can quickly identify whether a variable is local or global, or whether
it was passed in as an argument, if you preceed the descriptive name with a
lower-case letter to determine its type."
Char Meaning Example

g
Global variable gMyGlobal

t
Local ("temporary") variable tMyVar

s
Script-local var* (sometimes called "static") sMyVar

p
Parameter (also called an argument) pMyParam

k
Constant* kMyNumber

u
User-defined (or custom) properties uMyProp




Stephen Barncard - Sebastopol Ca. USA -
mixstream.org

On Thu, Jul 7, 2016 at 6:50 PM, stephen barncard <
stephenrevoluti...@barncard.com> wrote:

> from Richard Gaskin:
>
> http://www.fourthworld.com/embassy/articles/scriptstyle.html
>
> Stephen Barncard - Sebastopol Ca. USA -
> mixstream.org
>
> On Thu, Jul 7, 2016 at 6:41 PM, Mike Bonner  wrote:
>
>> Somewhere I once ran across a list of suggested lc naming conventions, it
>> helped me greatly. If I recall it was s for script locals, t for handler
>> locals (t for temporary) g for globals, k for constants, c for custom
>> properties. and I don't know if it was in the same list, but I add a
>> trailing A for arrays.  Sure makes it easy to keep track of whats what, so
>> to whoever wrote that list.. Thank you!
>>
>> On Thu, Jul 7, 2016 at 6:00 PM, Alex Tweedly  wrote:
>>
>> > What do you use for handler-local variables ?
>> >
>> > Thanks
>> >
>> > Alex
>> >
>> >
>> > On 07/07/2016 23:16, Monte Goulding wrote:
>> >
>> >> On 8 Jul 2016, at 7:52 AM, Scott Rossi  wrote:
>> >>>
>> >>> I've always thought lowercase "L" is a poor choice to prefix a
>> variable
>> >>> name.  Is it an L? It is a capital i? Is it a pipe?
>> >>>
>> >> For what it’s worth we use `s` in the team for script locals. There are
>> >> some older scripts like libURL that use some other prefixing
>> conventions.
>> >>
>> >> 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
>> >>
>> >
>> >
>> > ___
>> > 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: Get fillGradient props

2016-07-07 Thread stephen barncard
from Richard Gaskin:

http://www.fourthworld.com/embassy/articles/scriptstyle.html

Stephen Barncard - Sebastopol Ca. USA -
mixstream.org

On Thu, Jul 7, 2016 at 6:41 PM, Mike Bonner  wrote:

> Somewhere I once ran across a list of suggested lc naming conventions, it
> helped me greatly. If I recall it was s for script locals, t for handler
> locals (t for temporary) g for globals, k for constants, c for custom
> properties. and I don't know if it was in the same list, but I add a
> trailing A for arrays.  Sure makes it easy to keep track of whats what, so
> to whoever wrote that list.. Thank you!
>
> On Thu, Jul 7, 2016 at 6:00 PM, Alex Tweedly  wrote:
>
> > What do you use for handler-local variables ?
> >
> > Thanks
> >
> > Alex
> >
> >
> > On 07/07/2016 23:16, Monte Goulding wrote:
> >
> >> On 8 Jul 2016, at 7:52 AM, Scott Rossi  wrote:
> >>>
> >>> I've always thought lowercase "L" is a poor choice to prefix a variable
> >>> name.  Is it an L? It is a capital i? Is it a pipe?
> >>>
> >> For what it’s worth we use `s` in the team for script locals. There are
> >> some older scripts like libURL that use some other prefixing
> conventions.
> >>
> >> 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
> >>
> >
> >
> > ___
> > 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: Getting the immediate "parent" group of an object

2016-07-07 Thread Sannyasin Brahmanathaswami
Indeed… it would work… some day I should read the user guide from beginning to 
end…

Scott:

Wouldn't "owner" work for this?
___
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 fillGradient props

2016-07-07 Thread Mike Bonner
Somewhere I once ran across a list of suggested lc naming conventions, it
helped me greatly. If I recall it was s for script locals, t for handler
locals (t for temporary) g for globals, k for constants, c for custom
properties. and I don't know if it was in the same list, but I add a
trailing A for arrays.  Sure makes it easy to keep track of whats what, so
to whoever wrote that list.. Thank you!

On Thu, Jul 7, 2016 at 6:00 PM, Alex Tweedly  wrote:

> What do you use for handler-local variables ?
>
> Thanks
>
> Alex
>
>
> On 07/07/2016 23:16, Monte Goulding wrote:
>
>> On 8 Jul 2016, at 7:52 AM, Scott Rossi  wrote:
>>>
>>> I've always thought lowercase "L" is a poor choice to prefix a variable
>>> name.  Is it an L? It is a capital i? Is it a pipe?
>>>
>> For what it’s worth we use `s` in the team for script locals. There are
>> some older scripts like libURL that use some other prefixing conventions.
>>
>> 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
>>
>
>
> ___
> 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: Progress on WP REST API

2016-07-07 Thread Alex Tweedly
The problem I am having with understanding / using Custom Post Types 
(CPTs) isn't the defining of them - it's trying to use them in display 
of anything other than the simplest output format. Wordpress has grown 
organically to be extremely powerful - but that growth has left it 
un-architected in many ways. Themes work with only some plugins, which 
work with only some CPTs - and there is no proper templating sub-system 
to handle display of those CPTs.


Visual Composer does indeed make it easy to define the layout / format 
for simple pages - but (in general) can't seem to handle CPTs.


pods is pretty effective, and (at a reasonable price) includes a 
template output system; I happily paid for it, but then found that it is 
thoroughly self-contained - you have to stop using VC for either index 
or individual pages.


types is (afaict from reading, haven;t yet tried it out) quite good - 
but they recommend using their "Views" tool to create templates for 
output - and that's a $150 cost. (OTOH it is (just in the couple of 
weeks) integrated with Visual Composer). If I had reasonable confidence 
that it would actually do what I want, I'd pay that without question - 
but I've had lots of experiences of themes / plugins / etc. in Wordpress 
that come with rather vague public documentation, and which turn out to 
require either premium add-ons, or shortcode programming, or even PHP 
programming, so I'm gun-shy of spending money to get to try something out.


So I'd request that whatever example app we come up with, we make show 
both WP as a web site *and* LC- WP-rest-api to build an app. Michael's 
suggestion of a member system sounds good. Another possibility would be 
booking (e.g. appointments, or classes) with Woocommerce handling the 
payments.


-- Alex.
btw - would it be worth having a separate forum for the whole lc-wp 
discussion ?  I would value benefitting from other' questions and your 
replies :-)
(Personally, I'd prefer an email list - but I realize that forums seem 
to be more popular nowadays).



On 07/07/2016 06:22, Todd Fabacher wrote:

Here are two plugins that will allow WP to become a customizable DB server
with little to no DB experience. Perfect for LC students and people who
want to get a DB setup online, but don't have the experience or know-how.

https://wordpress.org/plugins/advanced-custom-fields/
https://wordpress.org/plugins/acf-to-rest-api/


but also, I have found many Custom Post Type Plugins:

https://wordpress.org/plugins/custom-post-type-ui/
https://wordpress.org/plugins/types/
https://wordpress.org/plugins/pods/
https://wordpress.org/plugins/custom-post-type-maker/

We can look to adding this to the LiveCode WP Rest API library. I get
emails and I see some post of people asking how to setup a customized web
data server. These would do the trick. Plus most are open source and FREE,
but a few have a more feature rich commercial version.


We would like to focus on creating a sample App in LiveCode that utilized
WooCommerce. I think it is important to have several different example Apps
before we start to pitch to the WP community at large...any ideas

Any other questions [please let me know. I have had about 2 dozen people
email with questions and express interest in integrating WP with LiveCode.

--Todd
___
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: [ANN] Release 8.1.0 DP 2

2016-07-07 Thread PystCat
"Use the Force, Harry."
 --Gandalf

> On Jul 7, 2016, at 1:24 PM, Peter M. Brigham  wrote:
> 
>> On Jul 7, 2016, at 5:11 AM, Richmond wrote:
>> 
>> It is amazing how many "wise" sayings are attributed to many "Wise" people: 
>> Voltaire and Einstein included. This, I believe, is a human tendency to seek 
>> authority to their ideas by ascribing them to authority figures: like 
>> religious (and 'religious') people ascribing everything wise to their 
>> scripture.
> 
> The trouble with quotes on the internet is that sometimes they are attributed 
> to the wrong people. -- Benjamin Franklin
> 
> -- Peter
> 
> Peter M. Brigham
> pmb...@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: Get fillGradient props

2016-07-07 Thread Alex Tweedly

What do you use for handler-local variables ?

Thanks

Alex

On 07/07/2016 23:16, Monte Goulding wrote:

On 8 Jul 2016, at 7:52 AM, Scott Rossi  wrote:

I've always thought lowercase "L" is a poor choice to prefix a variable
name.  Is it an L? It is a capital i? Is it a pipe?

For what it’s worth we use `s` in the team for script locals. There are some 
older scripts like libURL that use some other prefixing conventions.

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



___
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 fillGradient props

2016-07-07 Thread J. Landman Gay

On July 7, 2016 4:47:35 PM Sannyasin Brahmanathaswami  wrote:


Sheesh… I gotta stick to conventions better.

I think I like jacque's using "s" as the being character for script local 
variable.


"l" for "local" just disappeared or looks like a "t"


I got it from Mark Waddingham. He's always right.


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: Get fillGradient props

2016-07-07 Thread Monte Goulding

> On 8 Jul 2016, at 7:52 AM, Scott Rossi  wrote:
> 
> I've always thought lowercase "L" is a poor choice to prefix a variable
> name.  Is it an L? It is a capital i? Is it a pipe?

For what it’s worth we use `s` in the team for script locals. There are some 
older scripts like libURL that use some other prefixing conventions.

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

Re: Getting the immediate "parent" group of an object

2016-07-07 Thread Scott Rossi
Wouldn't "owner" work for this?

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 7/7/16, 2:50 PM, "use-livecode on behalf of Sannyasin Brahmanathaswami"

wrote:

>If you don't want to enter mouseup handlers all over the UI, the usual
>means is to trap for the target in the card script or stack script.
>
>is there a way to get the immediate "parent" group of a group object?
>In case like this I have a number of "portal-link-label" as the subgroups
>are all made from a template.
>
>but the group name itself is unique
>
>group "home-read"
>
>so the long name of the target is:
>
>field "portal-link-label" of group "home_read" of group "portal-links" of
>card "home" of stack
>"/Users/Brahmanathaswami/Documents/App-Development/SivaSivaAppWorking/_Siv
>aSource/source/modules/home/home.livecode"
>
>So  then you have to so some parsing magic  to determine which is the
>send level group.. from this long string. Is there an easier way?
>
>It would be sweet if we could do something like
>
>get the parent group of the target
>
>where "parent" was the name of the group the object was in.
>BR
>
>
>___
>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: Get fillGradient props

2016-07-07 Thread Sannyasin Brahmanathaswami
Thanks Mark… I'll try it… too many hours at the screen all the letters start 
looking the same.. so this could help guard against the "stupido's"


From: use-livecode  on behalf of Mark 
Wieder 
Reply-To: How LiveCode 
Date: Thursday, July 7, 2016 at 11:44 AM
To: How LiveCode 
Subject: Re: Get fillGradient props

setting "Strict compilation mode" and declaring your variables
will help save you from this kind of error. That's what it's for.
Just sayin.
___
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 fillGradient props

2016-07-07 Thread Scott Rossi
I've always thought lowercase "L" is a poor choice to prefix a variable
name.  Is it an L? It is a capital i? Is it a pipe?

But that's just me.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 7/7/16, 2:46 PM, "use-livecode on behalf of Sannyasin Brahmanathaswami"

wrote:

>SheeshŠ I gotta stick to conventions better.
>
>I think I like jacque's using "s" as the being character for script local
>variable.
>
>"l" for "local" just disappeared or looks like a "t"
>
>
>sCurrentObjectProperties is better
>
>
>
>From: use-livecode  on behalf of
>Scott Rossi 
>Reply-To: How LiveCode 
>Date: Thursday, July 7, 2016 at 11:41 AM
>To: How LiveCode 
>Subject: Re: Get fillGradient props
>
>You have a typo in your variable name lCurrentObjectProperties when you
>put the keys but it looks like things should still work.
>
>This works here with a test graphic:
>
>on mouseUp
>   put the fillGradient of graphic 1 into theCurrentObjectProperties
>___
>



___
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


Getting the immediate "parent" group of an object

2016-07-07 Thread Sannyasin Brahmanathaswami
If you don't want to enter mouseup handlers all over the UI, the usual means is 
to trap for the target in the card script or stack script.

is there a way to get the immediate "parent" group of a group object?
In case like this I have a number of "portal-link-label" as the subgroups are 
all made from a template.

but the group name itself is unique

group "home-read"

so the long name of the target is:

field "portal-link-label" of group "home_read" of group "portal-links" of card 
"home" of stack 
"/Users/Brahmanathaswami/Documents/App-Development/SivaSivaAppWorking/_SivaSource/source/modules/home/home.livecode"

So  then you have to so some parsing magic  to determine which is the send 
level group.. from this long string. Is there an easier way?

It would be sweet if we could do something like

get the parent group of the target

where "parent" was the name of the group the object was in.
BR


___
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 fillGradient props

2016-07-07 Thread Sannyasin Brahmanathaswami
Sheesh… I gotta stick to conventions better.

I think I like jacque's using "s" as the being character for script local 
variable.

"l" for "local" just disappeared or looks like a "t"


sCurrentObjectProperties is better



From: use-livecode  on behalf of Scott 
Rossi 
Reply-To: How LiveCode 
Date: Thursday, July 7, 2016 at 11:41 AM
To: How LiveCode 
Subject: Re: Get fillGradient props

You have a typo in your variable name lCurrentObjectProperties when you
put the keys but it looks like things should still work.

This works here with a test graphic:

on mouseUp
   put the fillGradient of graphic 1 into theCurrentObjectProperties
___
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 fillGradient props

2016-07-07 Thread Mark Wieder
Sannyasin Brahmanathaswami  writes:

> 
> Goal: get an explicit list of gradient properties from an object.
> 
> 
> command getGradientProps
> 
> set the defaultstack to the topstack
> 
> put the fillGradient of graphic "portal-title-bkgnd" into
lCurrentObjectProperties
> 
> put the keys of tCurrentObjectProperties
> 
> repeat for each key x in lCurrentObjectProperties
> 
> put x & " | " & lCurrentObjectProperties[x] & cr after tCheckProperties
> 
> end repeat
> 
> put tCheckProperties
> 
> end getGradientProps
> 
> No matter how I try, I cannot fetch the keys of the gradient… the dictionary
does not indicated that we cannot read this array
> 
> any ideas?

Your code works fine.
With the exception of a typo "tCurrentObjectProperties".
You might try putting "after msg" after your put statements.

...and I know I keep saying this, but...
setting "Strict compilation mode" and declaring your variables
will help save you from this kind of error. That's what it's for.
Just sayin.

-- 
 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: Get fillGradient props

2016-07-07 Thread Scott Rossi
You have a typo in your variable name lCurrentObjectProperties when you
put the keys but it looks like things should still work.

This works here with a test graphic:

on mouseUp
   put the fillGradient of graphic 1 into theCurrentObjectProperties
   repeat for each key x in theCurrentObjectProperties
  put x & " | " & theCurrentObjectProperties[x] & cr after
theCheckProperties
   end repeat
   put theCheckProperties
end mouseUp




Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 7/7/16, 1:27 PM, "use-livecode on behalf of Sannyasin Brahmanathaswami"

wrote:

>Goal: get an explicit list of gradient properties from an object.
>
>
>command getGradientProps
>
>set the defaultstack to the topstack
>
>put the fillGradient of graphic "portal-title-bkgnd" into
>lCurrentObjectProperties
>
>put the keys of tCurrentObjectProperties
>
>repeat for each key x in lCurrentObjectProperties
>
>put x & " | " & lCurrentObjectProperties[x] & cr after tCheckProperties
>
>end repeat
>
>put tCheckProperties
>
>end getGradientProps
>
>No matter how I try, I cannot fetch the keys of the gradientŠ the
>dictionary does not indicated that we cannot read this array
>
>any ideas?
>
>BR
>
>___
>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


Get fillGradient props

2016-07-07 Thread Sannyasin Brahmanathaswami
Goal: get an explicit list of gradient properties from an object.


command getGradientProps

set the defaultstack to the topstack

put the fillGradient of graphic "portal-title-bkgnd" into 
lCurrentObjectProperties

put the keys of tCurrentObjectProperties

repeat for each key x in lCurrentObjectProperties

put x & " | " & lCurrentObjectProperties[x] & cr after tCheckProperties

end repeat

put tCheckProperties

end getGradientProps

No matter how I try, I cannot fetch the keys of the gradient… the dictionary 
does not indicated that we cannot read this array

any ideas?

BR

___
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: revUpdateGeometry throwing error

2016-07-07 Thread Dr. Hawkins
Hmm.

Accidentally opened the new 8.0 RC from the other day, and I get a
different error.

lib:error occurred on line: 0

863,0,0,runtime

864,0,0,chunk index out of range

865,0,0,palleteactons.lcb
866,0,0,400


After the above dialog, my error dialog uses a custom answer with three
choices.  In 7, the breakpoint if "pause" is chosen is obeyed; in this RC,
it is not.

On Fri, Jul 1, 2016 at 9:42 AM, Dr. Hawkins  wrote:

> *bump*
>
> Does anyone have an idea for this?  I've done everything I can to try to
> find a way to debug it, but I'm stuck.
>
> It still throws the error on program load.
>
> I've even deleted all the live code configuration files and reinstalled,
> yet the problem remains.
>
>
> On Sat, Jun 25, 2016 at 4:09 PM, Dr. Hawkins  wrote:
>
>> Sometime after processing the open scripts for my main stack, but before
>> processing messages sent from there with "send0", there is an error thrown
>> by revUpdateGeometry.  As near as I can tell, its has to do with the
>> message box.
>>
>> If I put
>>
>>
>> answer "!!!";breakppoint
>>
>>
>> at the beginning of the preOpenStack, the behavior doesn't manifest.
>>
>> Otherwise,
>>
>> whoops! 6/25/164:07 PM
>>
>> 1466896063910
>>
>>
>> lib: error occurred on line: 478
>>
>>
>> pParseError:
>>
>>
>>
>> pExecutionError:
>>
>> 573,478,1,revUpdateGeometry
>>
>> 587,478,1
>>
>> 241,464,1,controlsExpand
>>
>> 353,0,0,stack "/Applications/LiveCode Indy
>> 7.1.4.app/Contents/Tools/Toolset/palettes/revmessagebox.rev"
>>
>> 573,93,1,controlsExpand
>>
>> 253,93,1
>>
>> 241,90,1,preOpenStack
>>
>> 353,0,0,stack "/Applications/LiveCode Indy
>> 7.1.4.app/Contents/Tools/Toolset/palettes/revmessagebox.rev"
>>
>>
>> context:
>>
>> stack
>> "/Users/hawk/dhbk/16/1604/160404/dhLib.160404b.livecode",errorDialog,826
>>
>> gets sent to the errorDialgo handler:
>>
>> *on* errorDialog pExecutionError, pParseError
>>
>>cck  ("whoops! " & the date & the time & cr & the milliseconds & cr &
>> cr  \
>>
>>  & "lib: error occurred on line: " & item 2 of line 1 of
>> pExecutionError & cr & cr  \
>>
>>& "pParseError:" & cr & pParseError & cr & cr  \
>>
>>  & "pExecutionError:" & cr & pExecutionError & cr & cr &
>> "context:" & cr & the executionContexts & cr)
>>
>> where cck is a hack that dumps into a watch window.
>>
>> I'm stumped; I've been fighting this all day.
>>
>> After the error is thrown, all seems to work.
>>
>> Note that now pParseError is sent by the engine . . .
>> --
>> Dr. Richard E. Hawkins, Esq.
>> (702) 508-8462
>>
>
>
>
> --
> Dr. Richard E. Hawkins, Esq.
> (702) 508-8462
>



-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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 8.1.0 DP 2

2016-07-07 Thread Richmond
Personally I always ascribe everything to my Grandfather for a number of 
very good reasons:


1. He was a highly skilled surgeon of impeccable reputation, and read 
for pleasure

in both Latin and Classical Greek.

2. He never wrote down anything except medical papers.

3. He died in 1975.

4. I love his memory still.

There's absolutely no way of checking; so that's got to be good.

R.

On 7.07.2016 20:24, Peter M. Brigham wrote:

On Jul 7, 2016, at 5:11 AM, Richmond wrote:


It is amazing how many "wise" sayings are attributed to many "Wise" people: 
Voltaire and Einstein included. This, I believe, is a human tendency to seek authority to their 
ideas by ascribing them to authority figures: like religious (and 'religious') people ascribing 
everything wise to their scripture.

The trouble with quotes on the internet is that sometimes they are attributed 
to the wrong people. -- Benjamin Franklin

-- Peter

Peter M. Brigham
pmb...@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


Tree Widget- Is it Working? + JSON

2016-07-07 Thread Sannyasin Brahmanathaswami
we are seeing major caveats/issues with the new browser widget, so before I try 
using the new tree widget I wanted to ask

1) Is it working well on iOS and Android?
2) has anyone got a script that use the new JSON lib to read JSON and install 
that into the tree?

BR

___
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 8.1.0 DP 2

2016-07-07 Thread Peter M. Brigham
On Jul 7, 2016, at 5:11 AM, Richmond wrote:

> It is amazing how many "wise" sayings are attributed to many "Wise" people: 
> Voltaire and Einstein included. This, I believe, is a human tendency to seek 
> authority to their ideas by ascribing them to authority figures: like 
> religious (and 'religious') people ascribing everything wise to their 
> scripture.

The trouble with quotes on the internet is that sometimes they are attributed 
to the wrong people. -- Benjamin Franklin

-- Peter

Peter M. Brigham
pmb...@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 8.1.0 DP 2

2016-07-07 Thread Jacques Clavel
I don't know if Einstein was a genius or not, but if I had a quarter of the
genius of Einstein, Ill be very, very, very happy :-))

2016-07-07 15:45 GMT+02:00 Lagi Pittas :

> If we are going to bring up einstein , he is the "scientist"  I think who
> everybody defers to and yet he was basically a 100% fraud and a plagiarist.
>
> His equation  was publshed by the italian physicist De pretto and many
> others.
>
> While I was making sure I remembered my facts I found this - and other than
> a couple of new ones on me (Isaac Newton and Preston - all the others I had
> heard of)
>
>
> https://www.physicsforums.com/threads/einstein-did-not-derive-e-mc2-first.28362/
>
> But he missed out Lorentz so I found this:
>
>
> naturalphilosophy.org/site/harryricker/2015/05/23/the-origin-of-the-equation-e-mc2/
>
> One thing to not is that Poincare sent einstein a lecture he was going to
> give a few days before eistein publish his paper (using Poincare's paper -
> with no acknowledgement)  in face His papers had
> no footnots, credits or anything and it was still published.
>
> Now here is the kicker Eienstein (the Genius ) didn't get his Nobel
> prize in 1906 or 1907 but in 1921 and not for the theory of relativity but
> for
>
>  "for his services to Theoretical Physics, and especially for his discovery
> of the law of the photoelectric effect".
>
> Why? because although many of the people who knew he was a fraud had died -
> there where still people alive who knew the truth so they could't bring
> themselves to give it to him for
> "the greatest equation ever".
> )
> Some years  before he died he admitted that the equation stemmed from
> Maxwells equations (a true Genius if ever there was one, up their with R.P.
> Feynman  Feynman and Nikola Tesla)
>
> |I know this is off topic but I have known about thus liar and fraud for so
> may years.  When we say he's an Einstein we should be saying he's a TESLA.
>
> Einsteins wife  Mileva was probably the brains read about his philandering
> and payment to here to keep quiet.
>
> In Walter Isaacson's biography we get a list of the conditions he gave to
> Mileva
>
> *A. You will make sure:*
>
> *1. that my clothes and laundry are kept in good order;*
> *2. that I will receive my three meals regularly in my room;*
> *3. that my bedroom and study are kept neat, and especially that my desk is
> left for my use only.*
>
> *B. You will renounce all personal relations with me insofar as they are
> not completely necessary for social reasons. Specifically, You will
> forego:*
>
> *1. my sitting at home with you;*
> *2. my going out or travelling with you.*
>
> *C. You will obey the following points in your relations with me:*
>
> *1. you will not expect any intimacy from me, nor will you reproach me in
> any way;*
> *2. you will stop talking to me if I request it;*
> *3. you will leave my bedroom or study immediately without protest if I
> request it.*
>
> *D. You will undertake not to belittle me in front of our children, either
> through words or behavior.*
>
>
>
> *
> http://www.openculture.com/2013/12/albert-einstein-imposes-on-his-first-wife-a-cruel-list-of-marital-demands.html
> <
> http://www.openculture.com/2013/12/albert-einstein-imposes-on-his-first-wife-a-cruel-list-of-marital-demands.html
> >*
>
>
> But Isaacson still drinks the coolaid of Einstein as a genius.
>
> One thing to note all other papers he ever wrote where with others -
> (probably totally written by the other) but using Einsteins name to add
> gravitas to the paper.
>
> I have not seen one quote attributed to Einstein that somebody else had not
> said before, but  the one we are talking about here
>
> https://en.wikiquote.org/wiki/Rita_Mae_Brown
>
> Before I finish
>
> Here is where I check if a quote is attributable to someone. I found it
> years ago when I got so pissed off with yes you read my mind all these
>  quotes from the Genius Einstein that I knew where either Voltaire, Twain,
> Disraeli and so many more (they do the same with Winston Churchill btw).
>
>
> http://quoteinvestigator.com/2013/04/06/fish-climb/
>
> Thanks Richmond I have another hour or more of programming to catch up on.
>
> Now don't get me started on OBAMA with the Nobel peace prize - Cognitive
> Dissonance anyone?
>
> 
>
> Kindest Regards
>
> Lagi
>
> btw read the book "Genius"by John Gribben  about the real Genius Richard
> Feynman and you will find a few anecdotes that will add fuel to this
> particular funeral Pyre
>
> And While your at it
> "Surely your joking Mr Feynman"
> and
>  "What do you care what other people think" both by Ralph Leighton.
>
> I don't care if you're not into science - you won't put them down they are
> that  good (How to pick up Women and Crack safes - and the Space Shuttle
>  Challenger story).
>
> https://www.youtube.com/watch?v=ZOzoLdfWyKw
>
>
> On 7 July 2016 at 10:11, Richmond  wrote:
>
> > It is amazing how many "wise" sayings are attributed to many 

Re: What Newbies Expect

2016-07-07 Thread Sri
Warren Samples wrote
> There are several people on the 
> list wose habit is to start new topics by replying to a message in a 
> current thread rather than starting a new thread by posting a "new" 
> message. 

Ah, that must be it!
I don't see it too often, but now and again a thread has different subject
titles for different messages in it! As I start reading them without really
looking at the subject line each time, a message makes no sense to me and I
feel I have fallen down a rabbit hole!

Regards,
Sri



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/What-Newbies-Expect-tp4704871p4706436.html
Sent from the Revolution - User mailing list archive at Nabble.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: Progress on WP REST API

2016-07-07 Thread Michael Doub

Todd,

I think a good example app would be a simple membership management 
application that collects dues.  This would allow you to demonstrate how 
a user could create an account, collect and edit personal contact 
information (address, phone, email...) and pay their membership dues 
online.  You could also show how to do password recovery.   You could 
have a admin side that would show membership management and the admin 
side of the payment system.


I can see this being used a foundation for a lot of different online 
applications.  It seems like most systems have the notion of user 
accounts, password recovery,  payments,  and even though we don't see 
it, they all have an admin side.


Regards,

Mike




On 7/7/16 1:22 AM, Todd Fabacher wrote:

Here are two plugins that will allow WP to become a customizable DB server
with little to no DB experience. Perfect for LC students and people who
want to get a DB setup online, but don't have the experience or know-how.

https://wordpress.org/plugins/advanced-custom-fields/
https://wordpress.org/plugins/acf-to-rest-api/


but also, I have found many Custom Post Type Plugins:

https://wordpress.org/plugins/custom-post-type-ui/
https://wordpress.org/plugins/types/
https://wordpress.org/plugins/pods/
https://wordpress.org/plugins/custom-post-type-maker/

We can look to adding this to the LiveCode WP Rest API library. I get
emails and I see some post of people asking how to setup a customized web
data server. These would do the trick. Plus most are open source and FREE,
but a few have a more feature rich commercial version.


We would like to focus on creating a sample App in LiveCode that utilized
WooCommerce. I think it is important to have several different example Apps
before we start to pitch to the WP community at large...any ideas

Any other questions [please let me know. I have had about 2 dozen people
email with questions and express interest in integrating WP with LiveCode.

--Todd
___
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: What Newbies Expect

2016-07-07 Thread Warren Samples

On 07/07/2016 07:35 AM, Sri wrote:

I am reading this thread on the web and I find two other threads (by Ray
Horsley-2) entangled with this one. What is going on? Do others see this?

Regards,
Sri





I see it in my current email client. There are several people on the 
list wose habit is to start new topics by replying to a message in a 
current thread rather than starting a new thread by posting a "new" 
message. Whether or not this results in disorganization or other issues 
is dependent on how (which email client or web interface) you view the 
list. Many email clients sort lists by subject rather than by the 
message ID in the headers, so not everybody is affected. I mentioned 
this once not too long ago and it didn't generate much response in 
general nor a positive response from those who do it.


Warren


___
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: AW: Intel QSV H.264 codec for AVFoundation and DirectShow

2016-07-07 Thread Richard Gaskin

Tiemo Hollmann wrote:

> FYI
> I asked Sorenson Media, whos video compressor I am using, if I have
> to pay license fees for the H.264 codec for encoding videos with
> Sorenson squeeze for a commercial product. They answered to me:
>
> " No, you do not need to pay any license fees to use any codecs
> included in Squeeze. Sorenson Media pays any license fees necessary
> for all the codecs contained in Squeeze. Once you have encoded your
> video with a licensed product, like Squeeze, you will never need to
> pay any licensing fees again."

That would seem reasonable.

My earlier comment was based around the misunderstanding that you were 
making software that included the codec.  If you're just using other 
people's software then of course their EULA describes their software's use.


It's nice to see that Sorensen has paid the extra multi-million dollar 
fee for their customers' commercial use that Apple didn't for Final Cut Pro.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for Desktop, Mobile, and 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: How do you stop editing a data grid cell

2016-07-07 Thread dunbarx
Hi.


If I leave a DG cell open for editing, it closes if I:


open, say, the Application Manager from the menuBar
select a menuItem from a comboBox
Select any tool from the tool palette.


What did you do, exactly, that kept the field open?


Craig Newman



-Original Message-
From: Ray 
To: use-livecode 
Sent: Thu, Jul 7, 2016 8:39 am
Subject: How do you stop editing a data grid cell

So a cell is open for editing in a data grid.  Click outside of the 
cell, it closes up (keeping the new data) and a 'closeFieldEditor' 
message is sent to the data grid group.  Good.

The problem is user don't always click outside the cell to manually 
close it up.  They may, for example, make a menu choice which opens a 
palette.  If they do, the new data in the cell is lost.  Sending 
'closeFieldEditor' does no good.

Ideas?

___
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: [ANN] Release 8.1.0 DP 2

2016-07-07 Thread Lagi Pittas
If we are going to bring up einstein , he is the "scientist"  I think who
everybody defers to and yet he was basically a 100% fraud and a plagiarist.

His equation  was publshed by the italian physicist De pretto and many
others.

While I was making sure I remembered my facts I found this - and other than
a couple of new ones on me (Isaac Newton and Preston - all the others I had
heard of)

https://www.physicsforums.com/threads/einstein-did-not-derive-e-mc2-first.28362/

But he missed out Lorentz so I found this:

naturalphilosophy.org/site/harryricker/2015/05/23/the-origin-of-the-equation-e-mc2/

One thing to not is that Poincare sent einstein a lecture he was going to
give a few days before eistein publish his paper (using Poincare's paper -
with no acknowledgement)  in face His papers had
no footnots, credits or anything and it was still published.

Now here is the kicker Eienstein (the Genius ) didn't get his Nobel
prize in 1906 or 1907 but in 1921 and not for the theory of relativity but
for

 "for his services to Theoretical Physics, and especially for his discovery
of the law of the photoelectric effect".

Why? because although many of the people who knew he was a fraud had died -
there where still people alive who knew the truth so they could't bring
themselves to give it to him for
"the greatest equation ever".
)
Some years  before he died he admitted that the equation stemmed from
Maxwells equations (a true Genius if ever there was one, up their with R.P.
Feynman  Feynman and Nikola Tesla)

|I know this is off topic but I have known about thus liar and fraud for so
may years.  When we say he's an Einstein we should be saying he's a TESLA.

Einsteins wife  Mileva was probably the brains read about his philandering
and payment to here to keep quiet.

In Walter Isaacson's biography we get a list of the conditions he gave to
Mileva

*A. You will make sure:*

*1. that my clothes and laundry are kept in good order;*
*2. that I will receive my three meals regularly in my room;*
*3. that my bedroom and study are kept neat, and especially that my desk is
left for my use only.*

*B. You will renounce all personal relations with me insofar as they are
not completely necessary for social reasons. Specifically, You will forego:*

*1. my sitting at home with you;*
*2. my going out or travelling with you.*

*C. You will obey the following points in your relations with me:*

*1. you will not expect any intimacy from me, nor will you reproach me in
any way;*
*2. you will stop talking to me if I request it;*
*3. you will leave my bedroom or study immediately without protest if I
request it.*

*D. You will undertake not to belittle me in front of our children, either
through words or behavior.*



*http://www.openculture.com/2013/12/albert-einstein-imposes-on-his-first-wife-a-cruel-list-of-marital-demands.html
*


But Isaacson still drinks the coolaid of Einstein as a genius.

One thing to note all other papers he ever wrote where with others -
(probably totally written by the other) but using Einsteins name to add
gravitas to the paper.

I have not seen one quote attributed to Einstein that somebody else had not
said before, but  the one we are talking about here

https://en.wikiquote.org/wiki/Rita_Mae_Brown

Before I finish

Here is where I check if a quote is attributable to someone. I found it
years ago when I got so pissed off with yes you read my mind all these
 quotes from the Genius Einstein that I knew where either Voltaire, Twain,
Disraeli and so many more (they do the same with Winston Churchill btw).


http://quoteinvestigator.com/2013/04/06/fish-climb/

Thanks Richmond I have another hour or more of programming to catch up on.

Now don't get me started on OBAMA with the Nobel peace prize - Cognitive
Dissonance anyone?



Kindest Regards

Lagi

btw read the book "Genius"by John Gribben  about the real Genius Richard
Feynman and you will find a few anecdotes that will add fuel to this
particular funeral Pyre

And While your at it
"Surely your joking Mr Feynman"
and
 "What do you care what other people think" both by Ralph Leighton.

I don't care if you're not into science - you won't put them down they are
that  good (How to pick up Women and Crack safes - and the Space Shuttle
 Challenger story).

https://www.youtube.com/watch?v=ZOzoLdfWyKw


On 7 July 2016 at 10:11, Richmond  wrote:

> It is amazing how many "wise" sayings are attributed to many "Wise"
> people: Voltaire and Einstein included. This, I believe, is a human
> tendency to seek authority to their ideas by ascribing them to
> authority figures: like religious (and 'religious') people ascribing
> everything wise to their scripture.
>
> R.
>
> On 7.07.2016 11:09, Jacques Clavel wrote:
>
>> Mark wrote :
>>
>>
>>
>>
>>
>> *At any rate, the quote is variously ascribed to Einstein and to Benjamin
>> 

Re: What Newbies Expect

2016-07-07 Thread Sri
I am reading this thread on the web and I find two other threads (by Ray
Horsley-2) entangled with this one. What is going on? Do others see this?

Regards,
Sri



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/What-Newbies-Expect-tp4704871p4706430.html
Sent from the Revolution - User mailing list archive at Nabble.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


android sdk fyi

2016-07-07 Thread Mike Bonner
I recently started working with android again, and was having trouble
building successfully.  aapt.exe would crash every time.  If you happen to
run into this, go to the sdk manager and install the build tools 22.01,
then backup the aapt.exe in the most recent build tools (just in case) and
copy the aapt.exe from the 22.01 build tools in to replace it.

A version other than 22.01 might work, but during research of the problem I
ran across mention of that specific version. Unfortunately, I can't seem to
find it again, but hey, it worked!
___
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


How do you stop editing a data grid cell

2016-07-07 Thread Ray
So a cell is open for editing in a data grid.  Click outside of the 
cell, it closes up (keeping the new data) and a 'closeFieldEditor' 
message is sent to the data grid group.  Good.


The problem is user don't always click outside the cell to manually 
close it up.  They may, for example, make a menu choice which opens a 
palette.  If they do, the new data in the cell is lost.  Sending 
'closeFieldEditor' does no good.


Ideas?

___
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 8.1.0 DP 2

2016-07-07 Thread Richmond
It is amazing how many "wise" sayings are attributed to many "Wise" 
people: Voltaire and Einstein included. This, I believe, is a human 
tendency to seek authority to their ideas by ascribing them to
authority figures: like religious (and 'religious') people ascribing 
everything wise to their scripture.


R.

On 7.07.2016 11:09, Jacques Clavel wrote:

Mark wrote :





*At any rate, the quote is variously ascribed to Einstein and to Benjamin
Franklin, but probably originated with Voltaire:Lorsque l'on effectue une
action, atteint un mauvais résultat, puis répète l'action plusieurs fois
attendent un meilleur résultat, on est un peu fou de singe, non? --
Réflexions sur la jonque*

I have found the Wikiquote english site, which says that...
But this quote is not a correct sentence in french. Correct sentence would
be :
"Lorsque l'on effectue une action, atteint un mauvais résultat, puis répète
l'action plusieurs fois *en attendant* un meilleur résultat, on est un peu
fou de *recommencer*, non?"

And I have not found "Réflexion sur la Jonque" in the list of the text from
Voltaire. Perhaps it exists, but I have not found it.
Ah the Web data source...

2016-07-07 3:40 GMT+02:00 Mark Wieder :


On 07/06/2016 10:44 AM, Richmond wrote:


Not true; Albert Einstein [The man who knew a lot about Physics and
Maths and not much else and


Best to stick to things you know something about, yes?


At any rate, the quote is variously ascribed to Einstein and to Benjamin
Franklin, but probably originated with Voltaire:

Lorsque l'on effectue une action, atteint un mauvais résultat, puis répète
l'action plusieurs fois attendent un meilleur résultat, on est un peu fou
de singe, non?

  -- Réflexions sur la jonque

--
  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: AW: Intel QSV H.264 codec for AVFoundation and DirectShow

2016-07-07 Thread Mark Waddingham

On 2016-07-07 09:16, Tiemo Hollmann TB wrote:

FYI
I asked Sorenson Media, whos video compressor I am using, if I have to 
pay
license fees for the H.264 codec for encoding videos with Sorenson 
squeeze

for a commercial product. They answered to me:

" No, you do not need to pay any license fees to use any codecs 
included in
Squeeze. Sorenson Media pays any license fees necessary for all the 
codecs

contained in Squeeze. Once you have encoded your video with a licensed
product, like Squeeze, you will never need to pay any licensing fees 
again."


This is what I would expect.

If you produce and distribute a program which includes an H.264 
compressor or decompressor then you need to pay patent license fees (in 
actual fact, I suspect even if you don't distribute said program, and 
use it to generate compressed video, you still need to pay patent 
license fees).


So, if you use a third-party product you have bought (like Squeeze), and 
OS included codecs to playback the video (like AVFoundation and 
DirectShow used in LiveCode) then that has already been taken care of 
for you.


In regards to the 'stepping' - it might worth asking Sorenson (who sound 
very helpful!) about that. In particular with regards DirectShow. Having 
a key frame every frame I'd have thought would vastly reduce the effacy 
of compression - so I wonder if there's some other tricks to encoding 
which would let it work in DirectShow, the way you want.


Alternatively, if you can find an open source program which *does* allow 
stepping through H.264 videos via DirectShow on Windows then let us know 
and we can see if it is possible to make DirectShow do that without 
special encoding options. (After all, if AVFoundation lets you do it for 
an arbitrary H.264 encoded video, then you'd think it would be possible 
for DirectShow to; on the other hand, AVFoundation I think is newer and 
perhaps 'better' than DirectShow due to that, so it is very hard to 
say!).


Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: 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


Re: [ANN] Release 8.1.0 DP 2

2016-07-07 Thread Jacques Clavel
Mark wrote :





*At any rate, the quote is variously ascribed to Einstein and to Benjamin
Franklin, but probably originated with Voltaire:Lorsque l'on effectue une
action, atteint un mauvais résultat, puis répète l'action plusieurs fois
attendent un meilleur résultat, on est un peu fou de singe, non? --
Réflexions sur la jonque*

I have found the Wikiquote english site, which says that...
But this quote is not a correct sentence in french. Correct sentence would
be :
"Lorsque l'on effectue une action, atteint un mauvais résultat, puis répète
l'action plusieurs fois *en attendant* un meilleur résultat, on est un peu
fou de *recommencer*, non?"

And I have not found "Réflexion sur la Jonque" in the list of the text from
Voltaire. Perhaps it exists, but I have not found it.
Ah the Web data source...

2016-07-07 3:40 GMT+02:00 Mark Wieder :

> On 07/06/2016 10:44 AM, Richmond wrote:
>
>> Not true; Albert Einstein [The man who knew a lot about Physics and
>> Maths and not much else and
>>
>
> Best to stick to things you know something about, yes?
>
>
> At any rate, the quote is variously ascribed to Einstein and to Benjamin
> Franklin, but probably originated with Voltaire:
>
> Lorsque l'on effectue une action, atteint un mauvais résultat, puis répète
> l'action plusieurs fois attendent un meilleur résultat, on est un peu fou
> de singe, non?
>
>  -- Réflexions sur la jonque
>
> --
>  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
>



-- 
Jacques Clavel
___
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

AW: Intel QSV H.264 codec for AVFoundation and DirectShow

2016-07-07 Thread Tiemo Hollmann TB
FYI
I asked Sorenson Media, whos video compressor I am using, if I have to pay
license fees for the H.264 codec for encoding videos with Sorenson squeeze
for a commercial product. They answered to me:

" No, you do not need to pay any license fees to use any codecs included in
Squeeze. Sorenson Media pays any license fees necessary for all the codecs
contained in Squeeze. Once you have encoded your video with a licensed
product, like Squeeze, you will never need to pay any licensing fees again."

Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Tiemo Hollmann TB
Gesendet: Dienstag, 5. Juli 2016 09:15
An: 'How to use LiveCode' 
Betreff: AW: Intel QSV H.264 codec for AVFoundation and DirectShow

Hi Richard,

thank you for your profund informations and helpful links.
I wasn't aware of this complex matter. I have to think about if I want to
let sleeping dogs lie.

Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Richard Gaskin
Gesendet: Montag, 4. Juli 2016 17:14
An: use-livecode@lists.runrev.com
Betreff: Re: Intel QSV H.264 codec for AVFoundation and DirectShow

Tiemo Hollmann wrote:

> I am looking for the most standardized state of the art codec to get a 
> maximum of compatibility on both platforms, so I think H.264 is the 
> right choice.
>
> My special requirement is, that I have to step thru the video frame by 
> frame controlled by LC.
>
> My sorenson squeeze compressor offers 4 different H.264 codecs: "Intel 
> QSV H.264", "MainConcept H.264", "Sorenson MPEG-4", "x264"
>
> My LC tests showed me, that I need to set a keyframe every single 
> frame to be able to step thru the video framebased (at least with 
> DirectShow). This option do only the intel QSV and the x264 codec offer.
>
> The x264 codec is a opensource codec and as far as I understand it is 
> not preinstalled on any system and at least on my Mac a x264 video 
> can't be played (perhaps there is a chance to manually install it, 
> what I would like to avoid for my customers)
>
> So up to now it seems to me that only the intel QSV H.264 is left of 
> my choices. It should be supported from Windows Vista on and from OS X
10.8 on.
>
> Has anybody experiences in this field of codecs, other experiences or 
> tipps or would negate some of my conclusions?

Choosing a codec is a complex issues given the scope and variety of their
patent licensing.

My lay person's understanding is that x264 is available under GPL, so it's
useful for GPL-governed works but as you've noted isn't as widely available
across the many platforms we may choose to support.

H.264 is a good codec technically and has wide distribution, but AFAIK
remains mired in a patent pool so complex it needs an FAQ to try to explain
it:


This article describes some of the legal considerations with H.264 in lay
terms:


One of the open questions for us software developers is the case of
distributing commercial tools that use H.264.  Apple and Microsoft have
their own license arrangements with the MPEG-LA consortium for distributing
the codec with their respective OSes (perhaps easier for Apple since they're
a member of that consortium), but we may need to review the OS EULA to
determine the allowable scope of use for the codec in our own commercial
software products.

For example, here are relevant sections of the Final Cut Pro X EULA, which
make it explicitly clear that despite the product's name professional use is
disallowed:

This product is licensed under the MPEG-4 Visual Patent Portfolio
License for the personal and noncommercial use of a consumer for
(i) encoding video in compliance with the MPEG-4 Visual Standard
("MPEG-4 Video") and/or (ii) decoding MPEG-4 video that was encoded
by a consumer engaged in a personal and non-commercial activity
and/or was obtained from a video provider licensed by MPEG LA
to provide MPEG-4 video. No license is granted or shall be implied
for any other use. Additional information including that relating
to promotional, internal and commercial uses and licensing may be
obtained from MPEG LA, LLC. See http://www.mpegla.com.

D. H.264/AVC Notice. To the extent that the Apple Software contains
AVC encoding and/or decoding functionality, commercial use of
H.264/AVC requires additional licensing and the following provision
applies: THE AVC FUNCTIONALITY IN THIS PRODUCT IS LICENSED HEREIN
ONLY FOR THE PERSONAL AND NON-COMMERCIAL USE OF A CONSUMER TO (i)
ENCODE VIDEO IN COMPLIANCE WITH THE AVC STANDARD ("AVC VIDEO")
AND/OR (ii) DECODE AVC VIDEO THAT WAS ENCODED BY A CONSUMER ENGAGED
IN A PERSONAL AND NON-COMMERCIAL ACTIVITY AND/OR AVC VIDEO THAT WAS
OBTAINED