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

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

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

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>

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

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 recal

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 subsc

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 fo

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

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 tendenc

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

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 rig

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

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 th

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 fill

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

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

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 Dat

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 tCurren

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 theCurrentObjectPropert

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 lCurrentObjectP

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

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 l

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 _

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

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

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

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

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 star

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 codec

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 T

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 oth

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 t

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 th

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

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 scr

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

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,

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 Med