LC8 dp9 Difficulty

2015-11-15 Thread William Prothero
I’m just getting used to the new object inspector in LC8 DP9. I’m trying to set 
a custom property. In older versions, there was a diamond shaped button to 
press, a dialog came up to name the custom property, then you put in a name. A 
value was set in the field below the list of propertynames.

In V8DP9, the custom properties are accessed in the object inspector, by 
clicking on an icon along the top. That’s fine. But, I can’t get it to either 
display or accept a custom property that I enter. The dropdown menu only has 
“customProperties” listed. If I click the little diamond symbol, I get the 
dialog, but it is asking for a “custom property set”. I only want to enter a 
single custom property. Then, it never displays the property that I put in.

This seems like a bug to me, or at least a very user unfriendly interface.

What am I doing wrong?

Bill

William Prothero, Ph.D.
University of California, Santa Barbara, Emeritus
proth...@earthednet.org




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: LC8 dp9 Difficulty

2015-11-15 Thread William Prothero
More info. When I mess around with the object inspector, I can get it to start 
showing some of the keys I put in. But, to duplicate my situation, I first 
create a new stack, then drag the “Label” field onto the stack, then try to set 
a custom property. It doesn’t work.
Bill

> On Nov 15, 2015, at 10:30 AM, William Prothero  
> wrote:
> 
> I’m just getting used to the new object inspector in LC8 DP9. I’m trying to 
> set a custom property. In older versions, there was a diamond shaped button 
> to press, a dialog came up to name the custom property, then you put in a 
> name. A value was set in the field below the list of propertynames.
> 
> In V8DP9, the custom properties are accessed in the object inspector, by 
> clicking on an icon along the top. That’s fine. But, I can’t get it to either 
> display or accept a custom property that I enter. The dropdown menu only has 
> “customProperties” listed. If I click the little diamond symbol, I get the 
> dialog, but it is asking for a “custom property set”. I only want to enter a 
> single custom property. Then, it never displays the property that I put in.
> 
> This seems like a bug to me, or at least a very user unfriendly interface.
> 
> What am I doing wrong?
> 
> Bill
> 
> William Prothero, Ph.D.
> University of California, Santa Barbara, Emeritus
> proth...@earthednet.org
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: LC8 dp9 Difficulty

2015-11-15 Thread William Prothero
Paul:
Yeah. I have started to spend a bit more time with it. But, it still isn’t 
ready for me to use, and I’m a pretty basic user who just discovered how much 
custom properties can help me.

But then, I know the platform has so many features that it is hard to get all 
of them, and it’s up to us to help with the testing. I’ll report a bug on this 
one. 

Best,
Bill

> On Nov 15, 2015, at 11:41 AM, Paul Hibbert  wrote:
> 
> Same problem here, can’t even set the custom props by message box or script, 
> this is on Mac OS X 10.11.1.
> 
> DP9 does seem to be quite buggy, lots of problems with the script editor, the 
> re-introduced geometry manager, the tools palette, the effects palette, the 
> list is getting longer each time I try something else. It seems to me that 
> relying on auto-testing isn’t revealing all the issues, because I’m sure if 
> anyone at LiveCode Ltd. tried these basic things manually they wouldn’t have 
> released this version so soon.
> 
> I would submit bug reports, but right now I have way too much going on and 
> not enough time to file so many reports, If I get some free time later I’ll 
> see what I can do, I don’t like complaining to the list and not doing 
> something positive to help LC Ltd. to address the problems.
> 
> LC8 does seem to be on a downhill trend as far as bugs are concerned, I 
> really hope that changes soon, I’ve had to go back to LC7 to continue my 
> projects with any form of reliability, but, on the positive side, I do like 
> the way LC8 is developing with new features/widgets etc..
> 
> Paul
> 
>> On Nov 15, 2015, at 10:47 AM, William Prothero  
>> wrote:
>> 
>> More info. When I mess around with the object inspector, I can get it to 
>> start showing some of the keys I put in. But, to duplicate my situation, I 
>> first create a new stack, then drag the “Label” field onto the stack, then 
>> try to set a custom property. It doesn’t work.
>> Bill
>> 
>>> On Nov 15, 2015, at 10:30 AM, William Prothero  
>>> wrote:
>>> 
>>> I’m just getting used to the new object inspector in LC8 DP9. I’m trying to 
>>> set a custom property. In older versions, there was a diamond shaped button 
>>> to press, a dialog came up to name the custom property, then you put in a 
>>> name. A value was set in the field below the list of propertynames.
>>> 
>>> In V8DP9, the custom properties are accessed in the object inspector, by 
>>> clicking on an icon along the top. That’s fine. But, I can’t get it to 
>>> either display or accept a custom property that I enter. The dropdown menu 
>>> only has “customProperties” listed. If I click the little diamond symbol, I 
>>> get the dialog, but it is asking for a “custom property set”. I only want 
>>> to enter a single custom property. Then, it never displays the property 
>>> that I put in.
>>> 
>>> This seems like a bug to me, or at least a very user unfriendly interface.
>>> 
>>> What am I doing wrong?
>>> 
>>> Bill
>>> 
>>> William Prothero, Ph.D.
>>> University of California, Santa Barbara, Emeritus
>>> proth...@earthednet.org
>>> 
>>> 
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
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: LC8 dp9 Difficulty

2015-11-15 Thread William Prothero
Reported bug: 145269

Seems like some of this would be found by just testing each action 
individually, by the developers.
Bill

> On Nov 15, 2015, at 1:22 PM, William Prothero  wrote:
> 
> Paul:
> Yeah. I have started to spend a bit more time with it. But, it still isn’t 
> ready for me to use, and I’m a pretty basic user who just discovered how much 
> custom properties can help me.
> 
> But then, I know the platform has so many features that it is hard to get all 
> of them, and it’s up to us to help with the testing. I’ll report a bug on 
> this one. 
> 
> Best,
> Bill
> 
>> On Nov 15, 2015, at 11:41 AM, Paul Hibbert  wrote:
>> 
>> Same problem here, can’t even set the custom props by message box or script, 
>> this is on Mac OS X 10.11.1.
>> 
>> DP9 does seem to be quite buggy, lots of problems with the script editor, 
>> the re-introduced geometry manager, the tools palette, the effects palette, 
>> the list is getting longer each time I try something else. It seems to me 
>> that relying on auto-testing isn’t revealing all the issues, because I’m 
>> sure if anyone at LiveCode Ltd. tried these basic things manually they 
>> wouldn’t have released this version so soon.
>> 
>> I would submit bug reports, but right now I have way too much going on and 
>> not enough time to file so many reports, If I get some free time later I’ll 
>> see what I can do, I don’t like complaining to the list and not doing 
>> something positive to help LC Ltd. to address the problems.
>> 
>> LC8 does seem to be on a downhill trend as far as bugs are concerned, I 
>> really hope that changes soon, I’ve had to go back to LC7 to continue my 
>> projects with any form of reliability, but, on the positive side, I do like 
>> the way LC8 is developing with new features/widgets etc..
>> 
>> Paul
>> 
>>> On Nov 15, 2015, at 10:47 AM, William Prothero  
>>> wrote:
>>> 
>>> More info. When I mess around with the object inspector, I can get it to 
>>> start showing some of the keys I put in. But, to duplicate my situation, I 
>>> first create a new stack, then drag the “Label” field onto the stack, then 
>>> try to set a custom property. It doesn’t work.
>>> Bill
>>> 
>>>> On Nov 15, 2015, at 10:30 AM, William Prothero  
>>>> wrote:
>>>> 
>>>> I’m just getting used to the new object inspector in LC8 DP9. I’m trying 
>>>> to set a custom property. In older versions, there was a diamond shaped 
>>>> button to press, a dialog came up to name the custom property, then you 
>>>> put in a name. A value was set in the field below the list of 
>>>> propertynames.
>>>> 
>>>> In V8DP9, the custom properties are accessed in the object inspector, by 
>>>> clicking on an icon along the top. That’s fine. But, I can’t get it to 
>>>> either display or accept a custom property that I enter. The dropdown menu 
>>>> only has “customProperties” listed. If I click the little diamond symbol, 
>>>> I get the dialog, but it is asking for a “custom property set”. I only 
>>>> want to enter a single custom property. Then, it never displays the 
>>>> property that I put in.
>>>> 
>>>> This seems like a bug to me, or at least a very user unfriendly interface.
>>>> 
>>>> What am I doing wrong?
>>>> 
>>>> Bill
>>>> 
>>>> William Prothero, Ph.D.
>>>> University of California, Santa Barbara, Emeritus
>>>> proth...@earthednet.org
>>>> 
>>>> 
>>>> 
>>>> 
>>>> ___
>>>> use-livecode mailing list
>>>> use-livecode@lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your 
>>>> subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> 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: Feature Exchange - Find and Replace

2015-11-19 Thread William Prothero
Folks:
I guess I am, perhaps like others, trying to wrap my head around what 
expectations are reasonable for use financed vs mother ship financed 
improvements to livecode. In the past, I have used commercial, purchased 
software, like Director, Supercard, Word, etc, where the model is that some 
profit-making entity creates a software package and sells it, then upgrades it 
as time and technology changes. There is a charge for each updated version and 
that supports the software development entity. I mention this only because that 
is my experience, mostly, in the software world. My only open source experience 
is with the software on my vps server at LiquidWeb, which has lots of open 
source software on it, but I only pay LiquidWeb, not (directly at least) for 
the software.

Now we have “open source” and a yearly license fee, plus user financed updates 
for specific features, not to mention added license fees for specific new 
components, like HTML5. I understand that the mothership needs to survive and 
to be sustainable and it takes resources to keep the software current. I worry 
that the special license deals given to the kickstarter contributors (I am one 
of them) has created a situation where the mothership has borrowed from the 
future and the yearly licensing fees have already been spent, thus the need for 
more kickstarter type funding to implement features that, in the normal world, 
would be classified as general updates to keep the tools alive and current. We 
have updates to 64 bit for OSX, which if not done, would eventually render the 
application unusable in OSX, and copy paste improvements that seem like basic 
features. 

So, I am somewhat scratching my head about this. Obviously if the mothership 
goes under, we all lose, big time, and I appreciate that. Also, if the 
resources at the mothership simply don’t exist for certain updates, then ….. 
they won’t get done without added funding from the users. I recently read a 
blog by an open source company that gave away so much of their product to open 
source, that they didn’t have anything to sell.

So, I’m just thinking out loud here and possibly expressing sentiment others 
might share.

Best,
Bill


> On Nov 19, 2015, at 5:33 AM, Robert Mann  wrote:
> 
> Hi! I'me a bit puzzled..  i've been waiting about 10 years for a comfortable
> audio framework within runrev/livecode that would allow all of us to use
> embed compressed audio within live code stacks and exchange kind of "audio
> cards" easily over the internet. Well, damn it... !
> 
> So.. an addition to find & replace, looks a bit.. out of place in my view. 
> QUESTION :: ==> WOuld it be SO VERY DIFFICULT for live code now to just have
> the possibility of storing any kind of really compressed audio format???
> Just that!! no frills.. just that! 
> 
> (to be precise, i did found a [complicated]  turnaround which involved
> recording in wave, than transcoding using lame as a separate program to be
> installed (and that made it just impracticable for a commercial product with
> the potential problems that occurred quickly with only 3 testers!!) and then
> converting to quicktime movie... and eventually storing into a cProp. But
> man... but man.. )
> 
> Sorry for that not so positive view.. and I know the mothership team did,
> does and will do climb mountains.. but.. such a little tiny hill bump would
> make a lot of us happy I think!
> 
> With a smile, Robert
> 
> 
> 
> 
> --
> View this message in context: 
> http://runtime-revolution.278305.n4.nabble.com/Feature-Exchange-Find-and-Replace-tp4698867p4698869.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


___
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: learning resources for kids

2015-11-21 Thread William Prothero
Scott:
These are great links! I’m very interested in game that teach difficult 
concepts. These examples will help a lot.
Best,
Bill

> On Nov 21, 2015, at 1:36 PM, Scott Rossi  wrote:
> 
> Maybe you guys can try looking here:
> 
> http://livecodegamedeveloper.com
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
> 
>> On Nov 21, 2015, at 12:15 PM, Monte Goulding  wrote:
>> 
>> Hi Folks
>> 
>> My son (9) is very keen to learn LiveCode. He has been doing some pretty 
>> cool things in Hopscotch, Scratch and Tinker. Hopscotch in particular has 
>> great tutorials. I went looking in my account for the game videos and other 
>> videos that I thought I had from kickstarter and I can’t find them in my 
>> account. I’m obviously happy to be a reference for him but it would be nice 
>> if there were something he could follow along with that is more game 
>> focussed (I’ve hardly even played games let alone written them). Anyone know 
>> of any good introductory game tutorials?
>> 
>> 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: learning resources for kids

2015-11-24 Thread William Prothero
Todd:
FYI: I guess I’m too old for this game, but it isn’t apparent to me how to play 
it. I clicked around, probably needed to pay more attention to help files.

BTW: on Apple: OSX 10.11.1, the dropdown menu won’t quit the app. I had to 
force quit it.

Best,
Bill

> On Nov 22, 2015, at 3:28 AM, Todd Fabacher  wrote:
> 
> Hi Monte,
> 
> We are releasing our Playland Armenia Social/Game App. It contains over 16
> games, some are played individually and others are online multiplayer
> player. The team wanted to create an App in honor of the 100 year
> anniversary of Armenian Genocide. So they focused on the positive and
> create a game for the children around the world to play together. It uses
> Gamification to teach language for 5-9 years old.
> 
> It is a MASSIVE app, but it fun to play and will teach all aspects of
> programing - including web services, Unicode, Animation and much more. We
> did reuse the tetris  game from Scott and a modified Chess game we found
> online.
> 
> Richard and I will be doing a FREE and open Google Hangout webinars going
> over the app and how to code it. So your son or any educator who is
> interested is welcome.
> 
> We will be releasing the code and a full Beta version in the next 2 weeks.
> The webinars will be over the next few months. You can find info on the
> game: http://playlandarmenia.com/
> 
> We won the national Open Game Challenge and are now headed to the European
> finals next month.
> 
> Best,
> 
> 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

BreakPoint problems in LC8DP10

2015-12-03 Thread William Prothero
I thought breakpoint problems were solved in DP10 and hoped to transfer to LC8 
permanently, but there seems to still be a problem.

I do a:
 dispatch  “myHandlerName" to grp  “MygroupName” 

There is a breakpoint in the handler “myHandlerName”
The handler is in the script of thegroup “myGroupName"

I put a breakpoint at the first line in the handler. I first set it with the 
red dot method, then put “breakpoint” in the first line of the script. It 
failed to trigger a breakpoint.

It works fine in latest version 7.

This happen to anybody else? I’ll try to duplicate it in a test stack and file 
a bug report if nobody has seen this.

Best,
Bill

William Prothero, Ph.D.
University of California, Santa Barbara, Emeritus
proth...@earthednet.org



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: BreakPoint problems in LC8DP10

2015-12-03 Thread William Prothero
Thanks, Peter”
That’s most likely it.
I hope to get a version of LC8 that I can actually use, soon.
Best,
Bill

> On Dec 3, 2015, at 1:37 PM, Peter TB Brett  wrote:
> 
> On 2015-12-03 21:33, William Prothero wrote:
>> I thought breakpoint problems were solved in DP10 and hoped to
>> transfer to LC8 permanently, but there seems to still be a problem.
>> I do a:
>> dispatch  “myHandlerName" to grp  “MygroupName”
>> There is a breakpoint in the handler “myHandlerName”
>> The handler is in the script of thegroup “myGroupName"
>> I put a breakpoint at the first line in the handler. I first set it
>> with the red dot method, then put “breakpoint” in the first line of
>> the script. It failed to trigger a breakpoint.
>> It works fine in latest version 7.
>> This happen to anybody else? I’ll try to duplicate it in a test stack
>> and file a bug report if nobody has seen this.
> 
> Hi William,
> 
> I think this bug report may be relevant to your interests:
> 
>http://quality.livecode.com/show_bug.cgi?id=16510
> 
> The fix for it will be released in LiveCode 8.0.0-dp-11.
> 
> Peter
> 
> -- 
> Dr Peter Brett 
> LiveCode Open Source Team
> 
> LiveCode on reddit! <https://reddit.com/r/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: [OT] Free pre-loaders

2015-12-09 Thread William Prothero
Richmond:
These look like animated gifs. Does Livecode support them?
Bill

> On Dec 8, 2015, at 11:22 PM, Richmond  wrote:
> 
> Look super to me:
> 
> https://pixelbuddha.net/freebies/tag/animation
> 
> Richmond.
> 
> ___
> 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: Release 8.0 DP 11

2015-12-10 Thread William Prothero
I’m really loving the widgets and new version 8. However, the first thing I did 
was make a new stack and fiddle with the widgets. Then, when I tried to close 
and remove the stack from memory from the file menu, it gave me the “really?” 
dialog, but didn’t remove the stack. It still showed.

So, still not ready for me to use.
Best,
Bill

> On Dec 10, 2015, at 10:27 AM, Peter Haworth  wrote:
> 
> Thanks Mark, I can confirm that it is there now.
> Pete
> 
> Pete
> lcSQL Software 
> Home of lcStackBrowser  and
> SQLiteAdmin 
> 
> On Thu, Dec 10, 2015 at 10:24 AM, Mark Waddingham  wrote:
> 
>> On 2015-12-10 19:21, Peter Haworth wrote:
>> 
>>> I've found two bugs already but the QCC does not have an option to specify
>>> DP11 in the version dropdown.
>>> 
>> 
>> Thanks for the heads up - there should now be a DP11 option.
>> 
>> 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
>> 
> ___
> 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: Release 8.0 DP 11

2015-12-10 Thread William Prothero
Bug reported.
Bill

> On Dec 10, 2015, at 2:29 PM, William Prothero  wrote:
> 
> I’m really loving the widgets and new version 8. However, the first thing I 
> did was make a new stack and fiddle with the widgets. Then, when I tried to 
> close and remove the stack from memory from the file menu, it gave me the 
> “really?” dialog, but didn’t remove the stack. It still showed.
> 
> So, still not ready for me to use.
> Best,
> Bill
> 
>> On Dec 10, 2015, at 10:27 AM, Peter Haworth  wrote:
>> 
>> Thanks Mark, I can confirm that it is there now.
>> Pete
>> 
>> Pete
>> lcSQL Software <http://www.lcsql.com>
>> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
>> SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>
>> 
>> On Thu, Dec 10, 2015 at 10:24 AM, Mark Waddingham  wrote:
>> 
>>> On 2015-12-10 19:21, Peter Haworth wrote:
>>> 
>>>> I've found two bugs already but the QCC does not have an option to specify
>>>> DP11 in the version dropdown.
>>>> 
>>> 
>>> Thanks for the heads up - there should now be a DP11 option.
>>> 
>>> 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
>>> 
>> ___
>> 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: Take a look back through 2015

2015-12-22 Thread William Prothero
I’m really looking forward to being able to move to Vers 8 for my development 
and using some of the widgets. I’m not quite there yet, given the issues that 
still remain. However, it is great that the mothership team is on this list and 
responding to questions. I do think it’s been a great year for Livecode, and 
appreciate how freakin’ difficult it is to get all this stuff working at the 
same time. 

So, have a great holiday, team, and personally, I’m looking forward to a great 
new year, bad bugs fixed, great widgets, great LC8 release, and all working 
well.

Peace, Peace, Peace on Earth and good will to all,
Bill

> On Dec 22, 2015, at 5:03 PM, Kay C Lan  wrote:
> 
> On Wed, Dec 23, 2015 at 4:25 AM, Mark Wieder  wrote:
> 
>> 
>> I'd also like to point out that it's not just Mark, but also Ali, Panos,
>> Peter, Fraser, et al, have been very helpful on the lists and forums, and
>> your presence is much appreciated.
>> 
>> Yes!!! Whilst the stats are very impressive and indicate that the Company
> and it's 'Code' is moving forward in leaps and bounds,  in my mind it is
> the noticeable increase in posts from @livecode, including Kevin, that has
> really put the 'Live' into LiveCode and has made 2015 the best ever and am
> really looking forward to 2016.
> 
> Oh, and lets not forget:
> 
> constant ListMum = "Heather"  --keeper of the best List ever
> ___
> 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

Weird crash when stack is in use

2016-01-01 Thread William Prothero
Folks:
First, Happy New Year. I’ve gotten obsessed with a very odd crash that’s 
stopping my progress, so here it is.

I am on Mac El-Capitan 10.11.2 and Livecode 7.1. I have a splash stack that 
launches my main stack, which has several substacks. When I load my main stack, 
I “start using “ all of the library stacks that I need. There is a handler in 
one of the library stacks that calls a script in the main stack’s stack script. 
This script (in the library stack) can’t find the handler in the stack that 
calls it. So, I tried to “start using “ the main stack. This crashes livecode. 

Is it bad practice to “start using “ the main application stack? When I look at 
“the target”, I get the reference to the button where the action was initiated, 
but the IDE says that it can’t find the handler.

Here’s the sequence:

--Launch splash app

—button click on splash app opens the main app

—script in cd 1 initializes the main app and “starts using” the library apps 
and substacks

Resut: If, in the initialization routine (in the card script of card 1 of the 
main app), I do:

put the name of this stack into sName
if not (the stacksinuse contains sName) then
start using sName
end if

—result: livecode crashes. No error messages, just disappears.

If I don’t put the above statements in the initialization routine, LC does not 
crash, but then
handlers in one of the library stacks can’t find the function handler in the 
main app stack script.

?? This is quite frustrating and caps of a day of tedious coding that I thought 
was finished, until this problem surfaced. Livecode crashes without any dialog, 
error report. It just disappears.

Any suggestions would be much appreciated.
Best,
Bill

William Prothero, Ph.D.
University of California, Santa Barbara, Emeritus
proth...@earthednet.org




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Weird crash when stack is in use

2016-01-01 Thread William Prothero
FYI, I made a test stack where the destination stack’s only script was the 
“start using” script referred to below. Livecode did not crash. I don’t know 
why it crashes my app, but I will investigate further to try and pin down the 
source, over the next day or so.
Bill

> On Jan 1, 2016, at 9:50 AM, William Prothero  wrote:
> 
> Folks:
> First, Happy New Year. I’ve gotten obsessed with a very odd crash that’s 
> stopping my progress, so here it is.
> 
> I am on Mac El-Capitan 10.11.2 and Livecode 7.1. I have a splash stack that 
> launches my main stack, which has several substacks. When I load my main 
> stack, I “start using “ all of the library stacks that I need. There is a 
> handler in one of the library stacks that calls a script in the main stack’s 
> stack script. This script (in the library stack) can’t find the handler in 
> the stack that calls it. So, I tried to “start using “ the main stack. This 
> crashes livecode. 
> 
> Is it bad practice to “start using “ the main application stack? When I look 
> at “the target”, I get the reference to the button where the action was 
> initiated, but the IDE says that it can’t find the handler.
> 
> Here’s the sequence:
> 
> --Launch splash app
> 
> —button click on splash app opens the main app
> 
> —script in cd 1 initializes the main app and “starts using” the library apps 
> and substacks
> 
> Resut: If, in the initialization routine (in the card script of card 1 of the 
> main app), I do:
> 
> put the name of this stack into sName
> if not (the stacksinuse contains sName) then
>start using sName
> end if
> 
> —result: livecode crashes. No error messages, just disappears.
> 
> If I don’t put the above statements in the initialization routine, LC does 
> not crash, but then
> handlers in one of the library stacks can’t find the function handler in the 
> main app stack script.
> 
> ?? This is quite frustrating and caps of a day of tedious coding that I 
> thought was finished, until this problem surfaced. Livecode crashes without 
> any dialog, error report. It just disappears.
> 
> Any suggestions would be much appreciated.
> Best,
> Bill
> 
> William Prothero, Ph.D.
> University of California, Santa Barbara, Emeritus
> proth...@earthednet.org
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: One Rect For All specificaiton

2016-01-04 Thread William Prothero
Colin and Brahmanathaswami:
When this discussion topic is finally resolved, it would be wonderful and 
extremely useful if a summaryof the best practice, with comments on 
implementation consequences,  was posted somewhere. This is an important issue 
and will save the rest of us who haven’t faced this issue yet, a lot of time.

Best,
Bill

> On Jan 4, 2016, at 5:15 AM, Colin Holgate  wrote:
> 
> With showAll you are guaranteed to see all of the original card contents. On 
> a wider screen the height of the card is still fitted into the height of the 
> device, and the extra width is filled in with the content that was off the 
> edges of the card.
> 
> I’ve used showAll for books, where I wanted to be sure to not lose any of the 
> height, and games, where I wanted to be sure not to lose any of the width. 
> For one game though it was better to do the noBorder compromise, so that it 
> wasn’t geared towards either wider or not so wide devices. Suggesting 
> noBorder for you was after asking questions about whether you could work in 
> the same way.
> 
> 
>> On Jan 3, 2016, at 11:18 PM, Sannyasin Brahmanathaswami  
>> wrote:
>> 
>> Colin wrote: "You could use the 1024x768 iPad preset and then have extra 
>> content that extends out to 171 pixels either side of the card, that you 
>> don’t normally se while working on the stack.”
>> 
>> But then wouldn’t you have the issue of losing the top and bottom if you run 
>> the same app in iPhone 6+ landscape?
> 
> ___
> 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: Animation in LiveCode

2016-01-05 Thread William Prothero
Thanks, Richmond and Mike:

So…. the frame rate of the animated gif is set when the gif is made? And, the 
movement of the gif is controlled by the movespeed command. Obviously, these 
two speeds would need to be coordinated, or the tiger might look like its 
slipping on wet grass, pawing the ground. I wonder if there are any gotchas if 
the gif animation could get out of whack with the movespeed control of the 
figure across the screen.

Nice animation, and you both are amazing!
Bill


> On Jan 5, 2016, at 1:01 PM, Mike Bonner  wrote:
> 
> Alternatively, if you want more control of the animation, you could use a
> game loop, and move the tigers around (set the loc... ) as well as manually
> choosing which frame to show when using "currentFrame"
> 
> On Tue, Jan 5, 2016 at 1:59 PM, Mike Bonner  wrote:
> 
>> use "lock moves" before your moves, and add "without waiting" at the end
>> of each move command.
>> Unlock moves after you have all moves queued.
>> 
>> Also, rather than mess with setting the move speed a second time, just set
>> the loc of the images to where you want. Or even better, since they walk
>> off screen entirely, there is no reason to set them to invis, and since you
>> use "move" to tell them where to move from and to, you don't even need to
>> set the loc of them.
>> 
>> This is sufficient to the task.
>> on mouseup
>>   set the moveSpeed to 50
>>   lock moves
>>   move img "Tiger" from -59, 240 to 698, 240 without waiting
>>   move img "TigerBack" from 698, 160 to -59, 160 without waiting
>>   unlock moves
>> end mouseup
>> 


___
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

Http Header question

2016-01-19 Thread William Prothero
Folks:
I’m setting up a php sendmail script using phpSendmail and I’m trying to get 
the file upload for attachments part working. The examples I find are in html 
and the “type" is listed as “file”.

Basically, I’m trying to reproduce this, in a “post” command:


   
  
  
 
 

 
Sent file: 
File size: 
File type: 
 

  
  
   

I figure it is probably a change in the http header, to get php to recognize 
the file as an upload, but I don’t know how to do this. Somehow, the php needs 
to get the filepath that I provide it, but ….. 

Any help would be very appreciated.
Best,
Bill

PS: The php in the example I’m trying to duplicate is:

 2097152) {
 $errors[]='File size must be excately 2 MB';
  }
  
  if(empty($errors)==true) {
 move_uploaded_file($file_tmp,"images/".$file_name);
 echo "Success";
  }else{
 print_r($errors);
  }
   }
?>


William Prothero, Ph.D.
University of California, Santa Barbara, Emeritus
proth...@earthednet.org



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Http Header question

2016-01-19 Thread William Prothero
Dave:
That’s it! I knew there was something like that, but couldn’t remember it. 
Thanks!
Bill

> On Jan 19, 2016, at 3:51 PM, Dave Cragg  wrote:
> 
> Bill,
> 
> Take a look at libUrlMultipartForm and libUrlMultipartFormAddPart in the 
> dictionary. There are examples there that might help you.
> 
> Cheers
> Dave Cragg
> 
> 
>> On 19 Jan 2016, at 22:44, William Prothero  wrote:
>> 
>> Folks:
>> I’m setting up a php sendmail script using phpSendmail and I’m trying to get 
>> the file upload for attachments part working. The examples I find are in 
>> html and the “type" is listed as “file”.
>> 
>> Basically, I’m trying to reproduce this, in a “post” command:
>> 
>> 
>>  
>> 
>> 
>>
>>
>>  
>>
>>   Sent file: 
>>   File size: 
>>   File type: 
>>
>>  
>> 
>> 
>>  
>> 
>> I figure it is probably a change in the http header, to get php to recognize 
>> the file as an upload, but I don’t know how to do this. Somehow, the php 
>> needs to get the filepath that I provide it, but ….. 
>> 
>> Any help would be very appreciated.
>> Best,
>> Bill
> 
> ___
> 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: Http Header question

2016-01-19 Thread William Prothero
Folks:
Dave got me started, but I’m still confused, unfortunately. I am having trouble 
seeing how the variables and data are passed from the POST command to the php 
script. What I’m trying to reproduce is:

 2097152){
 $errors[]='File size must be excately 2 MB';
  }
  
  if(empty($errors)==true){
 move_uploaded_file($file_tmp,"images/".$file_name);
 echo "Success";
  }else{
 print_r($errors);
  }
   }
?>

   
  
  
 
 
  
  
   


I’m familiar with a php script getting variables from lines like:
$tName =  $_POST["name"];

But, in the above example, how do the file variables get sent? I suppose, in 
the headers? But, I don’t seem to be successful. The file doesn’t seem to be 
passing to the php. I’m thinking that the image data gets embedded in the 
header, but I don’t see the file on my server and nothing seems to be getting 
into the $_FILES variable.

Help?? thanks. 
Bill


> On Jan 19, 2016, at 3:55 PM, William Prothero  wrote:
> 
> Dave:
> That’s it! I knew there was something like that, but couldn’t remember it. 
> Thanks!
> Bill
> 
>> On Jan 19, 2016, at 3:51 PM, Dave Cragg  wrote:
>> 
>> Bill,
>> 
>> Take a look at libUrlMultipartForm and libUrlMultipartFormAddPart in the 
>> dictionary. There are examples there that might help you.
>> 
>> Cheers
>> Dave Cragg
>> 
>> 

___
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: Http Header question

2016-01-20 Thread William Prothero
Peter:
Thanks. Another option is to just upload the file using ftp, then attach it to 
the email once it’s on the server. It would be more trips to the server, but 
might give me more control.

I’m not yet giving up and have to investigate the php.ini settings to see if 
I’ve missed something.
Thanks for the input.
Bill

> On Jan 20, 2016, at 9:50 AM, Peter Haworth  wrote:
> 
> If you were doing this from an html form, the file in question would be
> uploaded to the server's temp directory and the php script can access it
> from there using the "tmp_name" key.  I think the $_FILES array is created
> as a result of the  enctype setting.  Not sure how you would replace all
> that via LC though.
> 
> On Tue, Jan 19, 2016 at 5:38 PM William Prothero 
> wrote:
> 
>> Folks:
>> Dave got me started, but I’m still confused, unfortunately. I am having
>> trouble seeing how the variables and data are passed from the POST command
>> to the php script. What I’m trying to reproduce is:
>> 
>> >   if(isset($_FILES['image'])){
>>  $errors= array();
>>  $file_name = $_FILES['image']['name'];
>>  $file_size =$_FILES['image']['size'];
>>  $file_tmp =$_FILES['image']['tmp_name'];
>>  $file_type=$_FILES['image']['type'];
>>  $file_ext=strtolower(end(explode('.',$_FILES['image']['name'])));
>> 
>>  $expensions= array("jpeg","jpg","png");
>> 
>>  if(in_array($file_ext,$expensions)=== false){
>> $errors[]="extension not allowed, please choose a JPEG or PNG
>> file.";
>>  }
>> 
>>  if($file_size > 2097152){
>> $errors[]='File size must be excately 2 MB';
>>  }
>> 
>>  if(empty($errors)==true){
>> move_uploaded_file($file_tmp,"images/".$file_name);
>> echo "Success";
>>  }else{
>> print_r($errors);
>>  }
>>   }
>> ?>
>> 
>>   
>> 
>>  
>> 
>> 
>>  
>> 
>>   
>> 
>> 
>> I’m familiar with a php script getting variables from lines like:
>> $tName =  $_POST["name"];
>> 
>> But, in the above example, how do the file variables get sent? I suppose,
>> in the headers? But, I don’t seem to be successful. The file doesn’t seem
>> to be passing to the php. I’m thinking that the image data gets embedded in
>> the header, but I don’t see the file on my server and nothing seems to be
>> getting into the $_FILES variable.
>> 
>> Help?? thanks.
>> Bill
>> 
>> 
>>> On Jan 19, 2016, at 3:55 PM, William Prothero 
>> wrote:
>>> 
>>> Dave:
>>> That’s it! I knew there was something like that, but couldn’t remember
>> it.
>>> Thanks!
>>> Bill
>>> 
>>>> On Jan 19, 2016, at 3:51 PM, Dave Cragg 
>> wrote:
>>>> 
>>>> Bill,
>>>> 
>>>> Take a look at libUrlMultipartForm and libUrlMultipartFormAddPart in
>> the dictionary. There are examples there that might help you.
>>>> 
>>>> Cheers
>>>> Dave Cragg
>>>> 
>>>> 
>> 
>> ___
>> 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: Modifying revErrorReport

2016-01-23 Thread William Prothero
Tom:
One problem with using the built-in error report feature is that if a user is 
operating on a public computer, it may not have local email support. For 
instance, I had an app that generated an error report on a Windows machine and 
it didn’t have outlook set up, so it didn’t happen. 

I’ve set up my server so I can send emails through it, from Livecode 
standalones. i think that’s a much more robust way of sending error reports. 
I’ve only just gotten it working so i can also upload and email attachments, 
mainly so student work can be sent to instructors, if needed. It’s php based. 
It was a pain getting the headers right and there was a bug in the example in 
the documentation that made it even more difficult to get working.

Anyway, let me know if you would like my tutorial stack when I get it done in a 
day or so.

Best,
Bill

> On Jan 23, 2016, at 3:42 PM, tbodine  wrote:
> 
> Hi All.
> 
> Last year, I modified revErrorReport in LC 6.5.1 in order to add more
> environment data (platform, version #, etc) to users' emailed Bug Reports.
> That worked well.
> 
> Now that I'm working in LC 7.1.1, I need to repeat those modifications to
> revErrorReport*. But upon saving the edited stack, I get an error: 
> "Can't save stack revErrorReport due to an error: Can't open stack backup
> file  Check the file path, and make sure you have sufficient permissions."
> 
> I have enabled all permissions (working on Win 7), but the save error
> persists.  Anyone know what "stack backup file" this refers to or have any
> other ideas about this?
> 
> Thanks,
> Tom
> * a substack of "revstandalonesettings.rev"
> 
> 
> 
> 
> 
> --
> View this message in context: 
> http://runtime-revolution.278305.n4.nabble.com/Modifying-revErrorReport-tp4700383.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


___
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

Sending emails, with attachments, on your server

2016-01-25 Thread William Prothero
Folks:
I’ve put together a little tutorial stack for those who want to send email from 
their server, rather than from the user’s local email system. This can be very 
useful when users sit at different and possibly public computers, where there 
may be no email system installed, or where the configuration may not be 
suitable for your app.

The tutorial provides the livecode script and a php script for you to put on 
your server. It allows you to send an attachment, and could be modified for 
more. 

Special note: you need to download php opensource software called “phpMailer” 
at:
https://github.com/PHPMailer/PHPMailer <https://github.com/PHPMailer/PHPMailer>

You only need to use the PHPMailerAutoload.php and the class.phpmailer.php 
files from phpMailer. But it provides other examples that you can use, if you 
need more than I provide.

The documentation of the example for   
libURLMultipartFormAddPart(tForm,"userfile", tFile, tType, tEnc) has an error, 
also.  The example should say: 

  if libURLMultipartFormAddPart(tForm,"userfile", tFile, tType, tEnc) is 
not empty then
 ##handle error and exit
 exit mouseUp
  end if  

The “is not” part of the If line is the error in the documentation. For 
somebody struggling with headers, this is a major pain in the butt and it 
creates confusion when trying to figure it out.

Here is the link, in case you have a need for this:
Download the file from this page.
http://es.earthednet.org/SoftwareForEducation 
<http://es.earthednet.org/SoftwareForEducation>

I hope this helps somebody who wants their server to send email from their app.

Regards,
Bill

William Prothero, Ph.D.
University of California, Santa Barbara, Emeritus
proth...@earthednet.org



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Global Warming Reader App, Recruiting Collaborators

2016-01-29 Thread William Prothero
Jim:
A pertinent topic. I’m a bit unsure of what the goal of the app is, though. It 
seems to be an index of web sites related to global warming. I could see a use 
for something that organizes and educates. Would this be like an expanded 
version of RealClimate.com? So, I’m wondering what the goal of the app is and 
how it might educate folks more than the available info already available on 
the web?

Best,
Bill

William Prothero, Ph.D.
University of California, Santa Barbara, Emeritus
proth...@earthednet.org



> On Jan 29, 2016, at 1:52 PM, James Little  wrote:
> 
> 
> Hi Livecoders,
> 
> The U.N. COP21 Conference in Paris this past December secured a remarkable 
> international agreement of over 190 nations to cut carbon emissions and to 
> limit global warming to less than 2 deg C.  But now the hard part begins, to 
> ensure that individuals, corporations and nations limit carbon emissions and 
> transition to clean energy.  This requires mass education, dialogue and 
> political action.  It requires correcting misinformation.  My hope is that 
> Livecode programmers can play a role is assisting with this challenging 
> global transition. 
> I’ve posted a project on MIT Climate CoLab to develop a Global Warming Reader 
> App using Livecode.  I invite all to register and add comments.  We have 30 
> days to finalize this project.
> 
> http://climatecolab.org/web/guest/plans/-/plans/contestId/1303501/phaseId/1313706/planId/1327125
> 
> I’ve posted a beta Global Warming Reader App at  
> GlobalWarmingApps.org/downloads.html  with downloads for Mac & Windows 
> desktop.  The Mac download mostly works by my testing, though there are still 
> some bugs.  I’ve not been able to test the Windows version, as yet.  Please 
> let me know of any bugs you find.  
> 
> My son Todd says the user interface is old school.  I’m beginning to use the 
> push button and tree view widgets to try to modernize the UI.  
> 
> If you would like to improve on this app, please email me 
> (j...@globalwarmingapps.org) and I will send you a link to download the 
> livecode file.  It is being developed using 8.0 DP12.  
> 
> The basic idea of the MIT Climate CoLab project is to develop the best 
> possible Global Warming Reader App over the next 6 months.  Please consider 
> improving on the app that I’ve started or starting anew and developing an app 
> from scratch. 
> 
> Regards,
> 
> Jim L
> 
> 
> 
> ___
> 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: Ken Burn's Effect Library for Livecode

2016-01-31 Thread William Prothero
> Brahmanathaswami:
I like it! Have you thought about, for some of this, using those whiteboard 
animations? They seem to draw attention. And I’ve seen another type where a 
hand brings in symbols, one by one, as a narration continues. This might be 
more suitable for livecode. The animated drawing would have to have some kind 
of path that could be extracted from images or diagrams, probably svg paths. 
Might get complex, but then again, it would be generally useful to have that 
capability.

Best,
Bill

> On Jan 31, 2016, at 10:29 AM, Sannyasin Brahmanathaswami  
> wrote:
> 
> Puzzle is working now.
> 
> go stack url 
> "http://dev.himalayanacademy.com/stacks/SivasHawaiiRev/SivasHawaiiRev.livecode”
> 
> getting back to Ken Burns.
> 
> On January 31, 2016 at 5:57:21 AM, Sannyasin Brahmanathaswami 
> (bra...@hindu.org) wrote:
> 
> see current iteration here
> 
> go stack url 
> "http://dev.himalayanacademy.com/stacks/SivasHawaiiRev/SivasHawaiiRev.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: Ken Burn's Effect Library for Livecode

2016-01-31 Thread William Prothero
> Brahmanathaswami:
I like it! Have you thought about, for some of this, using those whiteboard 
animations? They seem to draw attention. And I’ve seen another type where a 
hand brings in symbols, one by one, as a narration continues. This might be 
more suitable for livecode. The animated drawing would have to have some kind 
of path that could be extracted from images or diagrams, probably svg paths. 
Might get complex, but then again, it would be generally useful to have that 
capability.

Best,
Bill

> On Jan 31, 2016, at 10:29 AM, Sannyasin Brahmanathaswami  
> wrote:
> 
> Puzzle is working now.
> 
> go stack url 
> "http://dev.himalayanacademy.com/stacks/SivasHawaiiRev/SivasHawaiiRev.livecode”
> 
> getting back to Ken Burns.
> 
> On January 31, 2016 at 5:57:21 AM, Sannyasin Brahmanathaswami 
> (bra...@hindu.org) wrote:
> 
> see current iteration here
> 
> go stack url 
> "http://dev.himalayanacademy.com/stacks/SivasHawaiiRev/SivasHawaiiRev.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

Using Imagemagick

2016-02-04 Thread William Prothero
Folks:
I just downloaded ImageMagick, which seems like a very useful image converter. 
However, since there is no UI and it’s command line only, I wonder if anybody 
has made a simple UI for it in Livecode, to generate the necessary shell 
commands to do commonly needed operations.

I wonder how it compares to the stack distributed awhile ago that was called 
“scalini”. 

ImageMagick makes animated gifs and can do a lot of useful conversions.

I’ve also been using a program called iDraw, which has many nice features and 
seems to be oriented toward mobile development too.

I’m using OSX, El Capitan.

Best,
Bill

William Prothero, Ph.D.
University of California, Santa Barbara, Emeritus
proth...@earthednet.org




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Using Imagemagick

2016-02-04 Thread William Prothero
James:
Yeah, I knew that. Actually, I forgot. I have Graphic. Haven’t used it much, 
but since Fireworks got too expensive, I got iDraw, the Graphic. It’s probably 
a better solution
than ImageMagick because it has an actual user interface and can do drawing,

Thanks for the reminder.

Best,
Bill

> On Feb 4, 2016, at 4:15 PM, James Hale  wrote:
> 
> IDraw is now called AutoDesk Graphic, http://graphic.com
> 
> And yes, it is really quite good.
> 
> James
> 
> ___
> 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: connecting db sqlserver with my app livecode, how?

2016-02-06 Thread William Prothero
David:
Try this link to a stack that demonstrates how to get started with an app that 
sends to php, which connects to mysql database.
http://es.earthednet.org/SoftwareForEducation 


The link to the sample stack is near the bottom.
Good luck,
Bill

> On Feb 6, 2016, at 10:57 AM, david alfredo zuñiga soto 
>  wrote:
> 
> sr.Livecoders, good day
> I have an application that I need to drive android.Esta app. gets its data 
> from SQL Server 2008 R2.I have a lot off problems, ps, I used to make free 
> hostings connection, and these are quite limited and my app does not give me 
> permission to coneccion.Al apparently can not make direct communication to 
> the Hosted bd in hosting. se need to use php to Communicate? Where can I 
> learn about it livecoded like server free ?.So, I tried using LiveCode 
> comunity server.but I am new to programming the server side and I have no 
> idea where to start.if someone could explain or tell me where I can start 
> serious pretty cool.
> Thanks  !!  
> ___
> 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

Set textfont color in IDE? LC8DP14

2016-02-10 Thread William Prothero
Folks:
I notice there is no way to set the textfont color of text in a field, in the 
project browser in LC8Dp14. Is this intentional? I can set it in the toolbar 
menu, but it seems an omission in the IDE.

Best,
Bill



William Prothero, Ph.D.
University of California, Santa Barbara, Emeritus
proth...@earthednet.org




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Set textfont color in IDE? LC8DP14

2016-02-11 Thread William Prothero
Folks:
Sorry. My Bad. I meant the Application Browser. The new LC8DP14 doesn’t have a 
way to set the font color of text in a field. You need to go to the toolbar 
menu. Sorry for the confusion. 
Bill

> On Feb 10, 2016, at 2:39 PM, William Prothero  wrote:
> 
> Folks:
> I notice there is no way to set the textfont color of text in a field, in the 
> project browser in LC8Dp14. Is this intentional? I can set it in the toolbar 
> menu, but it seems an omission in the IDE.
> 
> Best,
> Bill
> 
> 
> 
> William Prothero, Ph.D.
> University of California, Santa Barbara, Emeritus
> proth...@earthednet.org
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Set textfont color in IDE? LC8DP14

2016-02-11 Thread William Prothero
Roger:
Thanks, yeah, it was the property inspector. Sorry for the confusion. 

The 3rd icon from the left along the top, in LC8DP14 (pencil icon) has a number 
of items that can be set. Foreground color, background color, etc. There is no 
textcolor choice. In LC 7, the property inspector with the “Colors and 
Patterns” pane showing, there is a textcolor choice. 

I use that choice a fair amount, so I miss it.

Best,
Bill


> On Feb 11, 2016, at 9:26 AM, Roger Guay  wrote:
> 
> Hey Bill,
> 
> There again, I don’t remember there was ever a way to do that. If you mean 
> the Property Inspector, then the 4th icon from the left in Property 
> Inspector’s menu (under the titlebar) will allow to set the text color.
> 
> HTH
> 
> Cheers,
> 
> Roger
> 
> 
> 
>> On Feb 11, 2016, at 9:32 AM, William Prothero  
>> wrote:
>> 
>> Folks:
>> Sorry. My Bad. I meant the Application Browser. The new LC8DP14 doesn’t have 
>> a way to set the font color of text in a field. You need to go to the 
>> toolbar menu. Sorry for the confusion. 
>> Bill
>> 
>>> On Feb 10, 2016, at 2:39 PM, William Prothero  
>>> wrote:
>>> 
>>> Folks:
>>> I notice there is no way to set the textfont color of text in a field, in 
>>> the project browser in LC8Dp14. Is this intentional? I can set it in the 
>>> toolbar menu, but it seems an omission in the IDE.
>>> 
>>> Best,
>>> Bill
>>> 
>>> 
>>> 
>>> William Prothero, Ph.D.
>>> University of California, Santa Barbara, Emeritus
>>> proth...@earthednet.org
>>> 
>>> 
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
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: Set textfont color in IDE? LC8DP14

2016-02-11 Thread William Prothero
Too many multi-tasks, transferring host server to a new implementation, plus a 
bunch of other distractions.
Best,
Bill

> On Feb 11, 2016, at 9:26 AM, Roger Guay  wrote:
> 
> Hey Bill,
> 
> There again, I don’t remember there was ever a way to do that. If you mean 
> the Property Inspector, then the 4th icon from the left in Property 
> Inspector’s menu (under the titlebar) will allow to set the text color.
> 
> HTH
> 
> Cheers,
> 
> Roger
> 
> 
> 
>> On Feb 11, 2016, at 9:32 AM, William Prothero  
>> wrote:
>> 
>> Folks:
>> Sorry. My Bad. I meant the Application Browser. The new LC8DP14 doesn’t have 
>> a way to set the font color of text in a field. You need to go to the 
>> toolbar menu. Sorry for the confusion. 
>> Bill
>> 
>>> On Feb 10, 2016, at 2:39 PM, William Prothero  
>>> wrote:
>>> 
>>> Folks:
>>> I notice there is no way to set the textfont color of text in a field, in 
>>> the project browser in LC8Dp14. Is this intentional? I can set it in the 
>>> toolbar menu, but it seems an omission in the IDE.
>>> 
>>> Best,
>>> Bill
>>> 
>>> 
>>> 
>>> William Prothero, Ph.D.
>>> University of California, Santa Barbara, Emeritus
>>> proth...@earthednet.org
>>> 
>>> 
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
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: Set textfont color in IDE? LC8DP14

2016-02-11 Thread William Prothero
Peter:
Yep, you’re right. It’s called the Text in vers 7 and I actually didn’t even 
try foregroundcolor. Since textcolor wasn’t mentioned, I just quickly went on.

But, why not call it what it is? Since this is an app for "everybody" why not 
just call it textcolor? That’s what it actually is. If we can use syntax like: 
“put 3 into x” instead of “x=3”, why not try to carry through the entire system 
with the same philosophy and keep the “jargony” things as minimized as possible.

Slight rant: To get livecode to do useful things, you have to actually 
“program”. Whatever the syntax, folks are going to have to look at the 
tutorials, read the dictionary, and be precise. Some of the operations have 
quite sophisticated behaviors. I remember the issue on the way messages are 
sent hither and yon and the different ways of referring to various controls. I 
do feel that the remnants of the hypercard syntax puts off many prospective LC 
coders who have had experience with other languages. It did me and it took 
Director’s demise to get me to look at RunRev/Livecode.

That said, I think the widgets development is a great new feature. But I still 
hate the “put 4 into y” syntax. Just me. I’m over it now.’

PS: Some things ARE truly much easier to set up in livecode, especially 
interface elements.

Best,
Bill

> On Feb 11, 2016, at 10:19 AM, Peter TB Brett  wrote:
> 
> On 11/02/2016 18:12, William Prothero wrote:
>> Roger:
>> Thanks, yeah, it was the property inspector. Sorry for the confusion.
>> 
>> The 3rd icon from the left along the top, in LC8DP14 (pencil icon) has a 
>> number of items that can be set. Foreground color, background color, etc. 
>> There is no textcolor choice. In LC 7, the property inspector with the 
>> “Colors and Patterns” pane showing, there is a textcolor choice.
>> 
> 
> Hi Bill,
> 
> Aren't the text colour and foreground colour the same?
> 
>  Peter
> 
> -- 
> Dr Peter Brett 
> LiveCode Open Source Team
> 
> LiveCode 2016 Conference https://livecode.com/edinburgh-2016/
> 
> ___
> 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

sqlite db password?

2016-02-11 Thread William Prothero
Folks:

I have an sqlite database created in Adobe Director using an old Xtra (Arca). 
It has a password. Can livecode open an sqlite database that is password 
protected? I can’t tell from the dictionary, how to open a password protected 
db that is local.

Thanks for any info.
Best,
Bill


William Prothero, Ph.D.
University of California, Santa Barbara, Emeritus
proth...@earthednet.org




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: [ANN] mergExt News

2016-02-17 Thread William Prothero
Me too. Wonderful news!
Thanks for your wonderful additions to livecode, Monte!
Bill




William Prothero, Ph.D.
University of California, Santa Barbara, Emeritus
proth...@earthednet.org




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Assigning behaviors

2016-02-17 Thread William Prothero
Folks:
This is not a really big deal, but since I started using behaviors, I find the 
method of attaching a behavior to a control to be clumsy. Anybody got a 
smoother method than typing in the command to set a behavior into the message 
box?

Not a big deal, but it does seem this action is not as integrated into the IDE 
as other common actions.

Or perhaps I haven’t noticed an addition to the IDE that does this.

Best,
Bill

William Prothero, Ph.D.
University of California, Santa Barbara, Emeritus
proth...@earthednet.org




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Assigning behaviors

2016-02-17 Thread William Prothero
Ali:
Wonderful! I’ll be looking forward to it. Behaviors are so useful that getting 
them more "front and center” in the property inspector will be very nice.
Best,
Bill

> On Feb 17, 2016, at 7:16 AM, Ali Lloyd  wrote:
> 
> Hi Bill, you may be pleased to know that the property inspector editor for
> the behavior property has been 'beefed up' for 8.0 DP 15:
> https://github.com/livecode/livecode-ide/pull/840
> 
> On Wed, Feb 17, 2016 at 2:54 PM William Prothero 
> wrote:
> 
>> Folks:
>> This is not a really big deal, but since I started using behaviors, I find
>> the method of attaching a behavior to a control to be clumsy. Anybody got a
>> smoother method than typing in the command to set a behavior into the
>> message box?
>> 
>> Not a big deal, but it does seem this action is not as integrated into the
>> IDE as other common actions.
>> 
>> Or perhaps I haven’t noticed an addition to the IDE that does this.
>> 
>> Best,
>> Bill
>> 
>> William Prothero, Ph.D.
>> University of California, Santa Barbara, Emeritus
>> proth...@earthednet.org
>> 
>> 
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Assigning behaviors

2016-02-17 Thread William Prothero
Dr. Hawkins:
Sounds interesting. If you’re willing to share, I’d love to take a peek at it.
My email: proth...@earthednet.org
Best,
Bill

William Prothero, Ph.D.
University of California, Santa Barbara, Emeritus
proth...@earthednet.org



> On Feb 17, 2016, at 8:02 AM, Dr. Hawkins  wrote:
> 
> On Wed, Feb 17, 2016 at 6:54 AM, William Prothero 
> wrote:
> 
>> Anybody got a smoother method than typing in the command to set a behavior
>> into the message box?
> 
> 
> I have a script that automatically runs on a version increments change that
> cycles through the stacks & cards, and uses cues like names and custom
> properties to adjust other properties, keys in the database, and so forth.
> 
> 
> -- 
> 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


___
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: Assigning behaviors

2016-02-17 Thread William Prothero
Thanks!
Bill

> On Feb 17, 2016, at 12:46 PM, Dr. Hawkins  wrote:
> 
> On Wed, Feb 17, 2016 at 10:30 AM, William Prothero 
> wrote:
> 
>> Sounds interesting. If you’re willing to share, I’d love to take a peek at
>> it.
> 
> 
> It's very specific to how my program functions; the code wouldn't translate
> directly.  But something to the effect of
> 
> repeat for each word stk in (your list of stacks, or the openStacks)
> 
> 
> put the long id of stack stk into tgStk
> 
> ---do some processing here
> 
> 
> repeat with i = 1 to the number of cards in stack stk
> 
> put the long id of card i of tgStk into gCd
> --do some card pre-processing
> 
> -- put the long ids of the cards, and possibly add groups on the cards,
> into lines of srcCdList
> 
> end repeat
> 
> repeat  for each line tgCd in srcCdList
> 
> repeat with j = 1 to the number of controls on tgCd
> 
> put the long id of control i of tgCd into tgTg
> 
> put the short name of tgTg into fldNam
> 
> if fldNam="Label Field" then
> 
> 
> --do stuff to deal with the size of the labels, if needed, based on their
> custom properties
> next repeat
> 
> end if
> 
> --if not a label field, it generally has a purpose
> 
> switch word 1 of the name of tgTg
> 
> case "field"
> 
> --if it got here, it's a data field
> --make sure it has an appropriate typeface
> 
> --put it's short name into the display field properties for this group or
> cards.
> 
> --if fldNam starts with "ck_" it's a custom checkbox; handle it's size &
> properties
> 
> --if the owner of fldNam starts with "cg_" it's part of one of my custom
> click-groups of checkboxes
> 
> 
> --and so forth
> 
> break
> 
> case group
> 
> --certain types go groups get handling
> 
> break
> 
> case . . .
> 
> 
> end switch
> 
> end repeat --j
> 
> --set properties of tgCd, such as it's display fields
> 
> end repeat --i
> 
> --set sack properties based on accumulated info
> 
> end repeat --stacks
> 
> --set global properties and lists based on accumulated info
> 
> 
> 
> -- 
> 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


___
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

Script Only stacks

2016-02-19 Thread William Prothero
Folks:
I decided to check out script only stacks. I am in LC8 (DP14). I noticed that 
there is a sub-menu item in “New Stack”, at the bottom of the list, for a 
“Script Only” stack. Fine and dandy. It shows up in the Project Browser. But, 
when I click on the icon to the left of the stack entry (in the project 
browser), it opens and a card appears below it. I thought script only stacks 
had only the stack, not cards. So, is the Project Browser converting the stack 
to a regular stack?

Just wondering about script only stacks. I use a lot of substacks to hold 
various script resources, and it looks like there might be just a bit less 
overhead in script only stacks. 

BUT, can script only stacks be substacks?

Best,
Bill



William Prothero, Ph.D.
University of California, Santa Barbara, Emeritus
proth...@earthednet.org




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: leap to future

2016-02-19 Thread William Prothero
Richard:
By the way, I didn’t find totally transparent, how to use your link to upload a 
file, very transparent when it came to standalones. I did figure it out after a 
lot of head-scratching and posted a link on this list, to the way i did it. 
http://es.earthednet.org/SoftwareForEducation 


It’s oriented to sending an email, but the same principles probably apply to 
straight uploads. I do use php on the server side, though.
Best,
Bill

> On Feb 19, 2016, at 12:23 PM, Richard Gaskin  
> wrote:
> 
> Sannyasin Brahmanathaswami wrote:
> 
> > SFTP was not on the list! That's continues to be such an irritation
> > that this is not prioritized.
> >
> > see bug: bug 6405
> > Please, everyone go and vote.
> 
> The voting system was retired years ago.  For the sake of keeping reports 
> actionable please add only technical details to reports that can further the 
> work of implementing them.
> 
> I agree that this would be a very valuable addition, and IIRC Kevin's said 
> previously that it would be included along with an even higher priority for 
> modern work, OAuth2, as part of the network library overhaul that was 
> included among the Kickstarter goals.
> 
> I believe that library will be written in LC Builder, which is coming 
> together as part of v8.0, in development now.
> 
> Exactly how soon after that the team will be in a position to work on the new 
> networking library is something only the team can comment on, but the 
> foundation needed for it is being worked on right now.
> 
> 
> > Please, Please PLEEZE! Prioritize this request. it is much more
> > important that your realize.  95% of all apps today must communicate
> > with the web. This means the teacher, the enterprise, the business,
> > the developer etc. must be transferring files to the web server.
> 
> As useful as SFTP is for many things, it may not be the best choice for all 
> of the use cases outlined there.
> 
> FTP/SFTP gives unbridled access to the entire server, at least as far as the 
> account can get to.  If uploading content to a web server, this means all 
> publicly accessible files on that server as well as private configuration 
> files. Unless used with great care, it's very easy to move, modify, or even 
> delete files on a server, perhaps unintentionally and with unpredictable 
> results.
> 
> For this reason most web sites that need content contributions from 
> distributed stakeholders create HTTP-based APIs for that.  This allows much 
> more control over what can be sent and how it's handled, and as such is much 
> more secure.  Extra bonus points that HTTP/HTTPS is often more more efficient 
> than FTP/SFTP.
> 
> Using LiveCode Server right now we can craft an upload receiver script in 
> minutes - the sample code has already been delivered with a tutorial:
> 
> 
> Some stakeholders may indeed need complete access to the server, but for the 
> most part those are developers, or at a minimum trusted team members with 
> reasonable technical skills.  Developers will probably already have shared 
> SSH keys in place so they can enjoy the greater efficiency of rsync for file 
> transfers, and once there's a shared SSH key in place rsync, scp, and other 
> file transfer tools can be used in automated solutions built with LiveCode 
> today using the shell function.
> 
> Once we get past the larger use case of folks with limited skills for which 
> the control of an HTTP-based API is a good fit, and developers who probably 
> already have a shared SSH key on the server, the remainder does indeed 
> represent a good case for which SFTP would be very useful.  But it is, in all 
> fairness, a subset getting ever smaller as more orgs develop APIs to automate 
> content transfer.
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> 
> ambassa...@fourthworld.comhttp://www.FourthWorld.com
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Script Only stacks

2016-02-19 Thread William Prothero
Thanks, Richard. That clears it up.
Bill

> On Feb 19, 2016, at 3:04 PM, Richard Gaskin  
> wrote:
> 
> William Prothero wrote:
> 
> > I decided to check out script only stacks. I am in LC8 (DP14). I
> > noticed that there is a sub-menu item in “New Stack”, at the bottom
> > of the list, for a “Script Only” stack. Fine and dandy. It shows up
> > in the Project Browser. But, when I click on the icon to the left of
> > the stack entry (in the project browser), it opens and a card appears
> > below it. I thought script only stacks had only the stack, not cards.
> > So, is the Project Browser converting the stack to a regular stack?
> 
> A script-only stack is just that:  a plain text file in which the first line 
> is:
> 
> stack "stackname"
> 
> ...and below that is the stack's script.  That's it.  You can see several 
> examples throughout the IDE install.
> 
> When the engine reads a text file with that header using any normal 
> stack-access syntax (e.g. "open stack" or "start using") it instantiates an 
> actual stack object from it.  And since a stack in LiveCode can't exist 
> without a card, the card comes along for the ride.
> 
> While it's in memory it behaves just like a LiveCode-native binary stack - 
> you can even set custom properties in it.  Just be aware that regardless what 
> you do with it while it's in memory, the only thing that will be saved in a 
> script-only stack is, as the name implies, the script.
> 
> 
> > Just wondering about script only stacks. I use a lot of substacks to
> > hold various script resources, and it looks like there might be just
> > a bit less overhead in script only stacks.
> >
> > BUT, can script only stacks be substacks?
> 
> No.  A substack is part of the native binary stack structure of a normal 
> stack.  As such, only other native binary stacks can be used as substacks, 
> and only in a native binary mainstack.
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> 
> ambassa...@fourthworld.comhttp://www.FourthWorld.com
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: [ANN] Release 8.0.0 DP 15

2016-02-22 Thread William Prothero
Peter:
I got a notice that Monte’s externals come with Indy licenses now. Is there a 
link where we can download them?
BTW, congrats on DP15! The widgets are going to be a game changer for LC as 
will the incorporation of Monte’s externals as widgets.

Bill

William Prothero, Ph.D.
University of California, Santa Barbara, Emeritus
proth...@earthednet.org




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: [ANN] Release 8.0.0 DP 15

2016-02-22 Thread William Prothero
Peter:
Thanks! No big rush.
Bill

> On Feb 22, 2016, at 1:41 PM, Peter TB Brett  wrote:
> 
> On 22/02/2016 18:37, William Prothero wrote:
>> Peter:
> 
>> I got a notice that Monte’s externals come with Indy licenses now. Is
>> there a link where we can download them? BTW, congrats on DP15! The
>> widgets are going to be a game changer for LC as will the
>> incorporation of Monte’s externals as widgets.
> 
> Hi Bill,
> 
> As Kevin and Monte have both noted here, and as mentioned in the blog post, 
> there is going to be some work to do to properly integrate the mergExt 
> externals into the LiveCode licensing system.
> 
> That work is underway, and I expect that there will be a further announcement 
> in the near future.
> 
>  Peter
> 
> -- 
> Dr Peter Brett 
> LiveCode Open Source Team
> 
> LiveCode 2016 Conference https://livecode.com/edinburgh-2016/
> 
> ___
> 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 a return from a dispatch to a function

2016-02-22 Thread William Prothero
Folks:
I think I’ve found a bug when trying to call a function and get a return value 
out of the message path.

I make a stack with a group containing 2 buttons, and a 3rd button to call the 
function>

Script of calling button
on mouseUp
   breakpoint
   put value("getValue",group "myGroup" of card "myCard") into tVal
end mouseUp

Script of group named “myGroup”
function getValue
   return "This is my value"
end getValue

When I click the calling button, I get “getValue” returned. The actual return 
value of the function is not returned.

I’ve tested this in 7.1.2-r3 and 8.0.0 DP15. 
I’m using Mac OSX, El Capitan.

Is it a bug?

Bill


William Prothero, Ph.D.
University of California, Santa Barbara, Emeritus
proth...@earthednet.org



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re Topic'd. Probable LC bug getting return from a Value function

2016-02-22 Thread William Prothero
Folks:
Sorry for the duplicate posting. But, the topic on my prev one was not 
descriptive and I need this to work.

I think I’ve found a bug when trying to call a function and get a return value 
out of the message path.

I make a stack with a group containing 2 buttons, and a 3rd button to call the 
function>

Script of calling button
on mouseUp
  breakpoint
  put value("getValue",group "myGroup" of card "myCard") into tVal
end mouseUp

Script of group named “myGroup”
function getValue
  return "This is my value"
end getValue

When I click the calling button, I get “getValue” returned. The actual return 
value of the function is not returned.

I’ve tested this in 7.1.2-r3 and 8.0.0 DP15. 
I’m using Mac OSX, El Capitan.

Is it a bug?

Bill


___
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: Re Topic'd. Probable LC bug getting return from a Value function

2016-02-22 Thread William Prothero
Scott:
You’re right! Lessons mal-function, though. I copied the code right out of 
http://lessons.livecode.com/m/4071/l/11787-how-to-call-a-function-or-command-in-another-object
 
<http://lessons.livecode.com/m/4071/l/11787-how-to-call-a-function-or-command-in-another-object>

quote: "put value("myFunction", group "myGroup" of card "myCard") into tResult”
Should be:  "put value(“myFunction()", group "myGroup" of card "myCard") into 
tResult”

Then a bit later on, they actually put in the parentheses.

So, yep, you’re right on the first part, but not on the “forgot” part.  That’s 
not to say that the “forgot” situation is unusual in other circumstances. I had 
tried “send”, then “dispatch”. None worked. Finally, I decided to try to find 
documentation.

Best,
Bill


> On Feb 22, 2016, at 5:20 PM, Scott Rossi  wrote:
> 
> It looks like you're missing the parentheses in the function name.  Try:
> 
>   put value("getValue()",group "myGroup" of card "myCard") into tVal
> 
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
> 
> 
> 
> 
> On 2/22/16, 5:08 PM, "use-livecode on behalf of William Prothero"
>  proth...@earthednet.org> wrote:
> 
>> Folks:
>> Sorry for the duplicate posting. But, the topic on my prev one was not
>> descriptive and I need this to work.
>> 
>> I think I¹ve found a bug when trying to call a function and get a return
>> value out of the message path.
>> 
>> I make a stack with a group containing 2 buttons, and a 3rd button to
>> call the function>
>> 
>> Script of calling button
>> on mouseUp
>> breakpoint
>> put value("getValue",group "myGroup" of card "myCard") into tVal
>> end mouseUp
>> 
>> Script of group named ³myGroup²
>> function getValue
>> return "This is my value"
>> end getValue
>> 
>> When I click the calling button, I get ³getValue² returned. The actual
>> return value of the function is not returned.
>> 
>> I¹ve tested this in 7.1.2-r3 and 8.0.0 DP15.
>> I¹m using Mac OSX, El Capitan.
>> 
>> Is it a bug?
>> 
>> Bill
>> 
>> 
>> ___
>> 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: Re Topic'd. Probable LC bug getting return from a Value function

2016-02-23 Thread William Prothero
I tried all of the suggestions folks listed. Here are my results (OSX El 
Capitan, LC8 DP15):
on mouseUp

breakpoint
put value("getValue()",group "myGroup" of card "myCard") into tVal1(Result: 
Works correctly)
--put value(getValue(group "myGroup" of card "myCard")) into tVal2  
(Result: Throws an error)
dispatch function "myFunction" to group "MyGroup" of card  “myCard”   Result: 
returns “unhandled")
dispatch function “myFunction()" to group "MyGroup" of card  “myCard”   Result: 
returns “unhandled")
put value("getBtnValue()", button "inGroup" of group "myGroup" of card 
"myCard") into tVal3 (Result: Works correctly)
put value("getBtnValue()", button "inGroup" of card "myCard") into tVal4 
(Result: Works correctly)
end mouseUp

Thanks for all the suggestions.
Note: There is still the error in the livecode lessons. I’ll post a bug report 
on that one.

Best,
Bill


> On Feb 22, 2016, at 5:40 PM, Mark Wieder  wrote:
> 
> On 02/22/2016 05:30 PM, William Prothero wrote:
> 
>> I had tried “send”, then “dispatch”. None worked. Finally, I decided to try 
>> to find documentation.
> 
> Dispatch should also work:
> 
> dispatch function "myFunction" to group "MyGroup" of card "myCard"
> 
> -- 
> 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: Send multiple variables to a URL with POST to SQLSRV + php

2016-02-24 Thread William Prothero
David:
Perhaps this link will help. There is a demo stack you can download.
http://es.earthednet.org/SoftwareForEducation 

Bill

> On Feb 24, 2016, at 3:09 PM, david alfredo zuñiga soto 
>  wrote:
> 
> Hi all, a little help please.
> in my app of LiveCode use this sentence:put "tIDUsr=" & IDUsr & 
> "&tPWD=" & PWD & "&tCorreo"&correo into tArgListpost tArgLists to URL 
> "http://172.16.2.130:8080/BuscarNombreUsr.php";put it into encodeNombre
> Presumably, sent the user id, password and mail my script of php.. but. This 
> only marks | Undefined index: tIDUsr in| and this is for all data sent..
> 
> my script php does this..
> 
>  $IDUsr=$_POST["tIDUsr"]; $nIDUsr=(int)$IDUsr; #convertir la cadena a 
> entero, para comparar con tynit en la bd $PWD=$_POST["tPWD"];
> $Correo=$_POST["tCorreo"];$query = "SELECT Nombre FROM tblusuarios 
> WHERE IDUsuario='$nIDUsr' and Contraseña='$PWD' and Correo='$Correo'";
> $stmt4 = sqlsrv_query( $conn, $query);if( $stmt4 === false){  
>echo "Error in query preparation/execution.\n";  die( 
> print_r( sqlsrv_errors(), true));}while( $row = 
> sqlsrv_fetch_array( $stmt4, SQLSRV_FETCH_ASSOC)){echo 
> $row['Nombre']."\n";}$stmt4 = null;$conn = null;?>
> any suggestions ?? thanks for everything
> 
> ___
> 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


KML anyone? Just checking

2016-02-26 Thread William Prothero
Folks:
Before I launch into a coding effort, I am curious if anybody has done any work 
getting kml into a livecode array, and is willing to share. I’m going to decode 
and plot world country outlines for an app I’m working on. I haven’t started 
yet, but I will probably use pieces, or all of the xml parser that livecode 
offers.

Best,
Bill

William Prothero, Ph.D.
University of California, Santa Barbara, Emeritus
proth...@earthednet.org




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: KML anyone? Just checking

2016-02-26 Thread William Prothero
Folks:
The structure of the geographical KML files that are available is quite simple 
(after a brief stint with a text editor). If anybody is interested on doing 
this, I’ll be glad to share what I create.
Best,
Bill

> On Feb 26, 2016, at 5:45 PM, William Prothero  wrote:
> 
> Folks:
> Before I launch into a coding effort, I am curious if anybody has done any 
> work getting kml into a livecode array, and is willing to share. I’m going to 
> decode and plot world country outlines for an app I’m working on. I haven’t 
> started yet, but I will probably use pieces, or all of the xml parser that 
> livecode offers.
> 
> Best,
> Bill
> 
> William Prothero, Ph.D.
> University of California, Santa Barbara, Emeritus
> proth...@earthednet.org
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: The Future of LiveCode in Education

2016-02-29 Thread William Prothero
Stephen:
Wonderful work you’ve done with Livecode and medical education. FYI, there’s a 
forum topic at;
http://forums.livecode.com/viewforum.php?f=107 
<http://forums.livecode.com/viewforum.php?f=107>

The forum addresses the topic of getting teachers involved. Your introductory 
book on livecode looks like just the ticket for new livecoders.

By the way, I too have pondered the popularity that Hypercard was able to 
achieve and compared it to Livecode. Certainly, a subset of livecode and 
hypercard are pretty identical. So, why isn’t it easier to get excited about 
it? I have some thoughts. First, there are other, competing platforms. Once a 
person learns one platform, they get “locked in” and find no reason to learn 
another. There is also the forest and trees effect, which you mention. That is 
the fewer options and commands in Hypercard compared to the 2,000 in Livecode. 
Livecode looks more intimidating than Hypercard did.

If you divide users between those experienced in programming, and those 
inexperienced in programming, there are going to be different challenges 
getting folks hooked. For those already familiar with other programming 
languages (I’m in that group), the syntax may look archaic and put folks off. 
It did me, at first. I was used to Fortran, Pascal, C, Lingo, etc, and the 
Hypercard syntax just seemed primitive compared to modern object-oriented 
syntax. BUT, when I looked at what Livecode was capable of, its future, and 
it’s features and lack of limitations that affected my goals, I became an avid 
user. For those who have no programming experience, I really don’t think the 
syntax will trigger the kind of resistance it did in me. For experienced 
programmers, it may require more of a hard sell. The widgets and powerful 
interface creation tools are very big, as far as I’m concerned. The open source 
version is wonderful too and removes an initial financial hurdle.

As was in Hypercard, I believe that educators and their students are a ripe 
pool of possible new LiveCode users. Also, your beginners book is a resource 
that should be put out in front so potential new users can find it. Perhaps, in 
your book, there could also be a chapter that dangles the advanced applications 
that could be, and have been built, to inspire further study.

Best,
Bill

William Prothero, Ph.D.
University of California, Santa Barbara, Emeritus
proth...@earthednet.org



> On Feb 29, 2016, at 7:33 AM, stgoldb...@aol.com wrote:
> 
> 
> 
> 
> What does LiveCode need to do to significantly increase its audience among 
> teachers and students of computer programming?
> 
> 
> I  taught medical students for 25 years at the University of Miami School of 
> Medicine. LiveCode has provided an opportunity to further improve medical 
> education.
> 
> My students, as well as others around the USA, have appreciated these 
> efforts. I received the George Paff Award for Best Teacher 11 times at the 
> University of Miami School of Medicine. I also received an unprecedented 
> invitation to be the keynote speaker at the graduating class commencement of 
> the Washington University at St. Louis School of Medicine, one of the most 
> prestigious medical schools in the US. The reason for the invite was for 
> contributions to medical education, part of which included development of 
> educational software.
> 
> I am president of the Medmaster medical publishing company and have used 
> LiveCode to create and distribute many educational programs, some of which 
> are available free for download at www.medmaster.net/freedownloads.html, 
> while others of a more complex nature are incorporated into Medmaster books 
> (I provide links below for the LiveCode readers of this forum):
> 
> Atlas of Microbiology (free).  I created this LiveCode program to accompany 
> Medmaster’s book, Clinical Microbiology Made Ridiculously Simple, which is 
> the best-selling microbiology book in the US. It links to the internet for 
> pictures and descriptions of all microbial organisms and diseases.
> 
> Atlas of Human Diseases (free).  This LiveCode program encompasses over 
> 10,000 known diseases in the world, with links to pictures and text on the 
> Internet. It may well be the largest atlas of its kind, the equivalent of 
> many thousands of printed pages, encompassing the vast array human diseases, 
> hereditary and non-hereditary. It took only a few days of programming using 
> LiveCode once the disease list was put together.
> 
> Neurologic Localization. This LiveCode program accompanies my book Clinical 
> Neuroanatomy Made Ridiculously, which for many years has been a best-seller 
> in the field. It provides the student with a thorough approach to the anatomy 
> of the nervous system and localization of neurologic diseases, along with a 
> complete lab course and quiz in neurologic loc

Re: Open source, closed source, and the value of code

2016-02-29 Thread William Prothero
Richmond:
I also find it hard to appreciate the seriousness of the problem. Seems like 
much ado about very little.
Best,
Bill

> On Feb 29, 2016, at 11:45 AM, RM  wrote:
> 
> Whichever way one cuts things, the most widely used programming languages 
> such as PASCAL and C++
> are as FREE as the air. As long as a language remains Unfree it is unlikely 
> to be adopted widely.
> While Runtime Revolution / Livecode have, until comparatively recently, only 
> had a closed source version of their programming environment, they have 
> almost always had a "cheap way in" in the form of a lines-of-code-limited 
> version, or a stacks-only-version; and had they not they wouldn't have got as 
> far as they did before they released their open source version.
> 
> At the moment I cannot entirely understand what the 'problem' is. There is a 
> FREE version of Livecode
> which to all intents and purposes is a very large subset of an Unfree 
> version.  The FREE version is so
> powerful that any "hobbyist" (a very, very fuzzy category if ever there was: 
> a 'hobbyist' is a bit like the boy who buys a small box of Lego bits . . .) 
> should be fully satisfied.
> 
> Richmond.
> 
> ___
> 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: The Future of LiveCode in Education

2016-02-29 Thread William Prothero
Richard;
Agreed. Perhaps it’s my age. Yes, of course it won’t be a good strategy to 
compare Livecode to Hypercard. I only brought it up in an attempt to contrast 
the wide early adoption of Hypercard by educators, to the current environment 
where there are so many choices and also where knowledge of specific 
programming languages seems to be tied to employment requirements at some IT 
companies. That said, I think that livecode has amazing potential in education 
and elsewhere. I hope to support that.
Best,
Bill

> On Feb 29, 2016, at 11:53 AM, Richard Gaskin  
> wrote:
> 
> William Prothero wrote:
> 
> > For those already familiar with other programming languages (I’m
> > in that group), the syntax may look archaic and put folks off. It
> > did me, at first. I was used to Fortran, Pascal, C, Lingo, etc,
> > and the Hypercard syntax just seemed primitive compared to modern
> > object-oriented syntax. BUT, when I looked at what Livecode was
> > capable of, its future, and it’s features and lack of limitations
> > that affected my goals, I became an avid user.
> 
> FWIW when I present LC at conferences I never mention HyperCard or HyperTalk, 
> unless of course someone brings it up specifically during Q&A.
> 
> Comparing a vibrant, living system to one whose owner chose to kill it rarely 
> makes for a useful story. :)
> 
> Besides, most folks today have never used HyperCard, and it's getting ever 
> rarer that people I meet have even heard of it.
> 
> I've found it better to compare it to things they know, e.g.:
> 
> "It's event-drive like JavaScript, but with more intuitive syntax, esp for 
> object references: rather than constantly typing 
> 'document.getElementByID(tElemID)' I just type 'field 1'".
> 
> "It's at least as easy to learn as Python if not easier, but has GUI objects 
> built in as direct language elements rather than tacked on later  as an 
> afterthought through someone else's external package, so your UI code flows 
> as smoothly as your business logic."
> 
> "It's as productive as VB and in some ways more so, but isn't limited to a 
> single vendor's OS, deploying to Mac, Linux, iOS, Android, and Raspberry Pi 
> as well - with a Server version too."
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> 
> ambassa...@fourthworld.comhttp://www.FourthWorld.com
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: The Future of LiveCode in Education

2016-02-29 Thread William Prothero
Richard:
Agreed. It always seemed odd to me that I had to rebuild, for every app, 
standard UI interfaces that most folks use. The Widgets capability in LC is 
masterful. It’s definitely a biggie.

My problem is getting my friends to actually try Livecode. I think I’ll need to 
do a bit of demo-ing of my own app and selling at UCSB to get interest.

One drum I am beating hard on this list is how badly there needs to be an 
interface to the commonly used Learning Management Systems, like Moodle 
(“Common Cartridge”, LTI, etc). I am simply loathe to dip my toes into that 
world. But perhaps, I’m just apprehensive of the “crocodiles” lurking beneath 
the surface. Looking further into this topic is on my “to do” list though.

Best,
Bill

> On Feb 29, 2016, at 12:16 PM, Richard Gaskin  
> wrote:
> 
> William Prothero wrote:
> 
> > Richard;
> > Agreed. Perhaps it’s my age. Yes, of course it won’t be a good
> > strategy to compare Livecode to Hypercard. I only brought it up in
> > an attempt to contrast the wide early adoption of Hypercard by
> > educators, to the current environment where there are so many
> > choices and also where knowledge of specific programming languages
> > seems to be tied to employment requirements at some IT companies.
> > That said, I think that livecode has amazing potential in education
> > and elsewhere. I hope to support that.
> 
> Personally I see no reason LiveCode can't become the go-to choice for 
> teaching CS basics.
> 
> Right now we see Scratch used for some of that, but the boundaries of any 
> point-and-click system are encountered pretty quickly.  For young users it 
> can be a good starting point, but most outgrow it fairly quickly.
> 
> I've seen some who move students directly from Scratch to JavaScript or even 
> Java, and I'm no educator but I've read just enough Piaget to believe that's 
> not a good choice.
> 
> By far the most popular learning language today is Python, which is in most 
> respects a pretty great language.  But the distance between "I want to build 
> an app" and "Look, I built an app!" needs to be as short as possible to keep 
> young learners engaged, and since Python follows the traditional approach of 
> treating UI as an afterthought a lot of foundational work needs to be done 
> with learners before they can build even a simple app.
> 
> With LC, of course, the UI stuff is as deeply integrated directly in the 
> language as event handlers and control structures, so the programming logic 
> tends to reflect the end-user experience more than how the computer delivers 
> that experience.  And since all of us use computers, it seems to gel more 
> quickly to work from a UI-centric perspective.
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> 
> ambassa...@fourthworld.comhttp://www.FourthWorld.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: The Future of LiveCode in Education

2016-02-29 Thread William Prothero
Jeff:
Hmm…. I am developing an app, rewritten from Director, that I am calling “Earth 
Explorer”. Am I infringing? I probably got hold of you CDROM in the ancient 
past, though. 

My first version of my “Earth Explorer” app (was named differently then) was 
actually written in Hypercard. Then ported to Supercard, then to Director. 
Gaads, will I never stop porting this resource? Of course, now the data are 
much more up to date.

A link to a video describing my first version that was written in LC is at:
http://earthednet.org/ptExplorer/Cover.html 

Now, I’ve made a lot of improvements and am adding resources to make it ready 
for wider (free) availability.
Best,
Bill

> On Feb 29, 2016, at 1:03 PM, Jeff Reynolds  wrote:
> 
> Yes was true for me as well even though i had programmed in a few different 
> languages in the past. At the time HC came out i was in grad school 
> {molecular biology) and not programming. After 10 minutes of looking at HC 
> and poking at it i realized how much fun and useful things i could do so 
> quickly and easily. Like Jacqueline I did not think in a few years that HC 
> (and later MC, then LC) would be one of the main things i would do in my work 
> for the next 25+ years of multimedia and exhibit design and production!
> 
> Years later HC was the system I did one of Apple’s first (and very few) 
> Multimedia CD-ROMs (Earth Explorer). Everyone, including Apple (I had to 
> convince them and they were a little chagrinned I had to convince them!), 
> thought it could run on HC and not require C++. Programming and debugging 
> costs would have been much higher if we had! I would have never gotten on 
> that path if HC was not preinstalled on that little Mac plus…
> 
> The CD-ROM sold very well at the height of the CD-ROM boom there, but had 
> only a minor impact in Education as only a fraction of schools had the money 
> to spend buying the copies they needed even with the package deals Apple ed 
> had. But within a year of so they started shipping the CD-ROM with every 
> school mac. This made a profound impact in education for a few years as it 
> was out there all over the place being use and not costing the schools 
> effectively (and could be used on older equipment by sharing the cdrom). I 
> think our company made way more at the dollar a disc bulk license than they 
> ever did with the retail and education sales that has all sorts of costs 
> associated eating up the larger profit margin! for Apple the dollar or two 
> increase was minimal in a computer’s cost and it got them lots of good will 
> from the schools as well as a positive impact on providing great content to 
> the schools not really available elsewhere at the time. Again would not have 
> happened if not shipped with every education mac.
> 
> So how about LC community shipping on all education macs? or on all macs for 
> that matter? I think Jacqueline hit it on the head that it being there and 
> easy to start playing with were the key to HC and the Mac’s success! Apple 
> needs to continue this tradition and LC fits the bill. LC made an impression 
> on Apple with getting into the iOS app development, so its not a total 
> stranger…
> 
> cheers
> 
> jeff
> 
> 
> 

___
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

LC8DP15 feedback-IDE Issues

2016-03-01 Thread William Prothero
Folks:
I’ve “bit the bullet” and started to work on my app with LC8-DP15. I’m on OSX 
El-Capitan. 

The first thing I’ve noticed is that selecting objects in the Project Browser 
and stack window is poor. In 7.1 versions and older, when I clicked on an 
object on the stack window, it would hilite the corresponding entry on the 
project browser. First off, I find that clicking on different objects in the 
stack screen, it often refuses to “select” a new object until I click around. 
Secondly, when I click on an object on the stack window, it should hilite in 
the project browser. This is very convenient when developing, and it doesn’t 
seem to happen in LC8.

So, I’m still on LC8, but the IDE, nice and shiny new as it is, still needs 
some work. Or, perhaps I just haven’t figured out all of its new options yet.

Best,
Bill



William Prothero, Ph.D.
University of California, Santa Barbara, Emeritus
proth...@earthednet.org




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: LC8DP15 feedback-IDE Issues

2016-03-01 Thread William Prothero
Tnx Peter: It’s indeed a feature! Thanks. 

Best,
Bill

> On Mar 1, 2016, at 2:39 PM, Peter TB Brett  wrote:
> 
> 
> 
> On 01/03/2016 22:28, William Prothero wrote:
> 
>> The first thing I’ve noticed is that selecting objects in the Project
>> Browser and stack window is poor. In 7.1 versions and older, when I
>> clicked on an object on the stack window, it would hilite the
>> corresponding entry on the project browser. First off, I find that
>> clicking on different objects in the stack screen, it often refuses
>> to “select” a new object until I click around. Secondly, when I click
>> on an object on the stack window, it should hilite in the project
>> browser. This is very convenient when developing, and it doesn’t seem
>> to happen in LC8.
> 
> Hi Bill,
> 
> Selected objects are now shown in the Project Browser with a highlighted 
> border.  You can "zoom to" an object by right-clicking on it (on the stack) 
> and selecting "Show in Project Browser".  This was an intentional change to 
> make it slightly easier to not "lose your place" in the Project Browser view 
> when you change the selected object in a stack with lots of controls.
> 
> I think I remember seeing a bug relating to selecting things, but I can't 
> find it right now... please go ahead and file a bug report if you can 
> reliably reproduce the problem.
> 
>> So, I’m still on LC8, but the IDE, nice and shiny new as it is, still
>> needs some work. Or, perhaps I just haven’t figured out all of its
>> new options yet.
> 
> Feedback is always appreciated.  Currently I'm finding that the LiveCode 8 
> IDE is actually a big improvement over the LiveCode 7 one for the things that 
> I use it for (but I'm aware that I'm a *very* atypical user!)
> 
> Peter
> 
> -- 
> Dr Peter Brett 
> LiveCode Open Source Team
> 
> LiveCode 2016 Conference https://livecode.com/edinburgh-2016/
> 
> ___
> 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

LC8 DP15 error message?

2016-03-01 Thread William Prothero
Folks:
I’m getting a long list of lines in the message box when I run my app. I’m 
creating text boxes in code. Among a lot of the lines, there is:

ERROR: Error when sending message ideNewControl:

Would this be an IDE bug, or mine? My app works as expected, so ??
Bill

Is this something I should be concerned about? Is it an IDE error, or mine?

From top down, here are a few of the lines:

ERROR: Error when sending message ideNewControl:

89,2654,1

69,2654,1,graphic id 74731 of group id 69783 of card id 1002 of stack 
"/Users/prothero/Oceanography Projects/LiveCode-RunRev Projects/PT_Explorer 
Projects/EarthExplorer_CurrentWkg/appStacks/datastacks/Map Display.livecode"

676,2654,1

241,2654,1,revIDEControlProperties

353,0,0,stack "/Applications/LiveCode Indy 8.0 (dp 
15).app/Contents/Tools/Toolset/libraries/revidelibrary.8.livecodescript"

219,1788,8,revIDEControlProperties

465,1788,8

241,1788,1,addControlToProjectBrowser

353,0,0,stack "/Applications/LiveCode Indy 8.0 (dp 
15).app/Contents/Tools/Toolset/palettes/project 
browser/revprojectbrowserbehavior.livecodescript"

573,118,1,addControlToProjectBrowser

253,118,1

253,118,1

241,113,1,ideNewControl

353,0,0,stack "/Applications/LiveCode Indy 8.0 (dp 
15).app/Contents/Tools/Toolset/palettes/project 
browser/revprojectbrowserbehavior.livecodescript"

675,1733,1,ideNewControl


___
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: LC8 DP15 error message?

2016-03-01 Thread William Prothero
Ok, back to LC 7.1.2. The IDE issue is generating a gazillion messages to my 
message box and I can’t get anything done in this way. So, hoping this bug gets 
fixed for DP16.
Best,
Bill

> On Mar 1, 2016, at 5:07 PM, William Prothero  wrote:
> 
> Folks:
> I’m getting a long list of lines in the message box when I run my app. I’m 
> creating text boxes in code. Among a lot of the lines, there is:
> 
> ERROR: Error when sending message ideNewControl:
> 
> Would this be an IDE bug, or mine? My app works as expected, so ??
> Bill
> 
> Is this something I should be concerned about? Is it an IDE error, or mine?
> 
> From top down, here are a few of the lines:
> 
> ERROR: Error when sending message ideNewControl:
> 
> 89,2654,1
> 
> 69,2654,1,graphic id 74731 of group id 69783 of card id 1002 of stack 
> "/Users/prothero/Oceanography Projects/LiveCode-RunRev Projects/PT_Explorer 
> Projects/EarthExplorer_CurrentWkg/appStacks/datastacks/Map Display.livecode"
> 
> 676,2654,1
> 
> 241,2654,1,revIDEControlProperties
> 
> 353,0,0,stack "/Applications/LiveCode Indy 8.0 (dp 
> 15).app/Contents/Tools/Toolset/libraries/revidelibrary.8.livecodescript"
> 
> 219,1788,8,revIDEControlProperties
> 
> 465,1788,8
> 
> 241,1788,1,addControlToProjectBrowser
> 
> 353,0,0,stack "/Applications/LiveCode Indy 8.0 (dp 
> 15).app/Contents/Tools/Toolset/palettes/project 
> browser/revprojectbrowserbehavior.livecodescript"
> 
> 573,118,1,addControlToProjectBrowser
> 
> 253,118,1
> 
> 253,118,1
> 
> 241,113,1,ideNewControl
> 
> 353,0,0,stack "/Applications/LiveCode Indy 8.0 (dp 
> 15).app/Contents/Tools/Toolset/palettes/project 
> browser/revprojectbrowserbehavior.livecodescript"
> 
> 675,1733,1,ideNewControl
> 
> 
> ___
> 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

Playing movies

2016-03-06 Thread William Prothero
Folks:
There has been discussion about a movie player being updated on the list. My 
question is: how should I play a simple movie in a livecode standalone? I don’t 
want to be dependent on Quicktime as I understand it is going obsolete and 
Windows users would need to download Quicktime. 

At least, I could play it in a browser window, but I wonder what’s the latest 
and greatest way?

Best,
Bill

William Prothero, Ph.D.
University of California, Santa Barbara, Emeritus
proth...@earthednet.org




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Playing movies

2016-03-06 Thread William Prothero
By the way, I note that the dictioary mentions Quicktime VR. I thought that was 
completely gone. I have some Quicktime VR movies that could be nice to include 
in my current work, but no use putting them in if it’sat EOL or defunct.
Best,
Bill

> On Mar 6, 2016, at 12:42 PM, William Prothero  wrote:
> 
> Folks:
> There has been discussion about a movie player being updated on the list. My 
> question is: how should I play a simple movie in a livecode standalone? I 
> don’t want to be dependent on Quicktime as I understand it is going obsolete 
> and Windows users would need to download Quicktime. 
> 
> At least, I could play it in a browser window, but I wonder what’s the latest 
> and greatest way?
> 
> Best,
> Bill
> 
> William Prothero, Ph.D.
> University of California, Santa Barbara, Emeritus
> proth...@earthednet.org
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Problems creating a field in LC8 DP16

2016-03-19 Thread William Prothero
Trevor:
Thanks. I reported it, with a sample stack.
Best,
Bill

William Prothero, Ph.D.
University of California, Santa Barbara, Emeritus
proth...@earthednet.org



> On Mar 18, 2016, at 3:08 PM, Trevor DeVore  wrote:
> 
> On Thu, Mar 17, 2016 at 9:58 PM, William Prothero 
> wrote:
> 
>> Folks:
>> My plot routines use fields as labels. Fields are created on the fly, the
>> plot image is captured, and the fields are deleted. In LC8 DP16, I find
>> that the field heights are messed up. I create the field and put text in it
>> using the following function:
>> 
>> I know that fields work differently in version 8, but I thought the
>> formattedHeight and formattedWidth should adjust the rect to make all of
>> the text visible. This works fine in version 7
>> 
> 
> Bill,
> 
> Changes were made to how formattedHeight is calculated in LC 8. There are
> issues with figuring out the formattedHeight for some fonts though. See the
> comments on this commit:
> 
> https://github.com/livecode/livecode/pull/3633
> 
> I would suggest filing a bug report.
> 
> -- 
> Trevor DeVore
> ScreenSteps
> www.screensteps.com-www.clarify-it.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


Problems creating a field in LC8 DP16

2016-03-19 Thread William Prothero
Folks:
My plot routines use fields as labels. Fields are created on the fly, the plot 
image is captured, and the fields are deleted. In LC8 DP16, I find that the 
field heights are messed up. I create the field and put text in it using the 
following function:

I know that fields work differently in version 8, but I thought the 
formattedHeight and formattedWidth should adjust the rect to make all of the 
text visible. This works fine in version 7
function iml_makeField tName,tText

if there is no cd fld tName then

create field tName

end if

put tText into fld tName

set the visible of fld tName to FALSE

set the showBorder of fld tName to FALSE

set the style of fld tName to "transparent"

set the textAlign of fld tName to "center"

set the textfont of fld tName to "Arial"

set the textSize of fld tName to 12

set the borderWidth of fld tName to 0

set the margins of fld tName to 2,3,0,0

set the dontWrap of fld tName to true

set the textHeight of fld tName to 20

--wait for 0 seconds with messages

set the fontStyle of fld tName to bold

set the rect of fld tName to "0,0,"&(the formattedWidth of fld 
tName)&","&(the formattedHeight of fld tName)

return the rect of fld tName

end iml_makeField


Any ideas?
Bill

___
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


Version 8, DP16 Tutorial Runthrough

2016-03-19 Thread William Prothero
Folks:
I just downloaded LC 8 DP16 and tried out the tutorial. I suspect that the 
authors of this would appreciate my notes as I went through the tutorial. 
First, off, it’s really nice and does show that Livecode can make very cool 
apps. Great job!

Since this is the first intro a newbie might get to Livecode, it’s really vital 
that the tutorial process be flawless. That’s why I’m hoping my comments below 
are helpful, and I do know how hard it can be, when the IDE may be a slightly 
moving target and there is LOTS to do.

As you can read from my notes below, I took the perspective of a new user who 
has never been exposed to livecode. There were a few gotchas that even had me 
scratching my head a bit. One very important thing when teaching newbies, is to 
scrupulously pay attention to how the instructions actually match what the 
newbie sees on the screen. There were a number of instances where I got stuck, 
but then got by by guessing what was meant. These are noted below.

——— My Notes 
1. When open the property inspector for the stack, you have to click on the 
property inspector to get the instruction.
Careful to match instructions with actual labels on IDE. 
(e.g. “Set the Navigation names of” ? There is no listing in the property 
inspector named “Navigation Names”)
(e.g. Line Thickness.  you mean Line size)

2. It says in several places, to click on the “grey icon”. You mean the black 
icon.
Clicking the property inspector icon doesn’t always open the property 
inspector. Double clicking on the control does.

3. I got stuck on setting the contents property of the Label field. Whoops, 
figured it out.
The “Contents” property is not listed on the property inspector. It is 
called “Styled Text"

4. I got to where I grouped the header and footer to make it a shared. Whoops, 
the property inspector opened for one of the elements of the group. I used the 
right hand (upper) dropdown menu on the property inspector and it looked like 
there was a listing for a group. I selected that. It worked! A newbie probably 
wouldn’t find it.

5. Setting up the chart. “Line colors”, the IDE shows “Graph Colors”

6. Setting "navigation names" doesn’t match the property inspector.

7. The tutorial refuses to advance once the “Code” button is clicked. The 
window opens, but the instruction pane stays where it was. Whoops, had to first 
click on the footer control.

8. Last card: It says “Open the property Inspector” . The dropdown menu shows 
“Card Inspector”

9. Setting up the navigation bar, the tutorial states to put in items as 
“Calculator,Chart,Services”. But, each time a new item is added, a separate box 
is created for the entry.

———

I hope this helps the dev team.
Best,
Bill

William Prothero, Ph.D.
University of California, Santa Barbara, Emeritus
proth...@earthednet.org




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Problems creating a field in LC8 DP16

2016-03-19 Thread William Prothero
HH, and Richard:
Richard: Thanks for noticing the error in setting the textStyle.

Is this a bug? Shouldn’t the formattedHeight and formattedWidth show the text? 
I’m content to use my margins adjustment, but hope it doesn’t need to be 
revisited in the future. If so, it’s a small thing, but...

hh: 
Thanks for your suggestions. The problem that I have with your solution is that 
it works for very short texts, but for longer, the field is not resized to show 
the entire text string. The only way I can get this to work and show all of the 
text in the field is to set the margins to a value that works. The final 
solution I have is below:

function iml_makeField tName,tText

if there is no cd fld tName then

create field tName

end if

put tText into fld tName

set the visible of fld tName to FALSE

set the showBorder of fld tName to FALSE

set the style of fld tName to "transparent"

set the textAlign of fld tName to "center"

set the textfont of fld tName to "Arial"

set the textSize of fld tName to 12

set the margins of fld tName to "4,2,4,6"

set the dontWrap of fld tName to true

set the textHeight of fld tName to 20

set the fixedLineHeight of fld tName to TRUE

set the textStyle of fld tName to bold

put "0,0,"&(the formattedWidth of fld tName)&","&(the formattedHeight 
of fld tName) into tRect

set the rect of fld tName to tRect

return the rect of fld tName

end iml_makeField

> On Mar 18, 2016, at 12:05 AM, -hh  wrote:
> 
> William P. wrote:
>> So, I guess we can't count on the formattedHeight and formattedWidth
>> to return dimensions of a rect that will show all of the text in a field?
> 
> Sorry? The (modified) function works here as it should, I wrote "works fine
> here".
> I think that simply the fixedTextHeight isn't set to true any more by
> default.
> 
> 
> 
> --
> View this message in context: 
> http://runtime-revolution.278305.n4.nabble.com/Problems-creating-a-field-in-LC8-DP16-tp4702326p4702332.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

___
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: Problems creating a field in LC8 DP16

2016-03-19 Thread William Prothero
I got it working better by increasing the settings of the margins and setting 
the textHeight to 0.

Bill

> On Mar 17, 2016, at 6:58 PM, William Prothero  wrote:
> 
> Folks:
> My plot routines use fields as labels. Fields are created on the fly, the 
> plot image is captured, and the fields are deleted. In LC8 DP16, I find that 
> the field heights are messed up. I create the field and put text in it using 
> the following function:
> 
> I know that fields work differently in version 8, but I thought the 
> formattedHeight and formattedWidth should adjust the rect to make all of the 
> text visible. This works fine in version 7
> function iml_makeField tName,tText
> 
>   if there is no cd fld tName then
> 
>   create field tName
> 
>   end if
> 
>   put tText into fld tName
> 
>   set the visible of fld tName to FALSE
> 
>   set the showBorder of fld tName to FALSE
> 
>   set the style of fld tName to "transparent"
> 
>   set the textAlign of fld tName to "center"
> 
>   set the textfont of fld tName to "Arial"
> 
>   set the textSize of fld tName to 12
> 
>   set the borderWidth of fld tName to 0
> 
>   set the margins of fld tName to 2,3,0,0
> 
>   set the dontWrap of fld tName to true
> 
>   set the textHeight of fld tName to 20
> 
>   --wait for 0 seconds with messages
> 
>   set the fontStyle of fld tName to bold
> 
>   set the rect of fld tName to "0,0,"&(the formattedWidth of fld 
> tName)&","&(the formattedHeight of fld tName)
> 
>   return the rect of fld tName
> 
> end iml_makeField
> 
> 
> Any ideas?
> Bill
> 
> ___
> 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: Version 8, DP16 Tutorial Runthrough

2016-03-19 Thread William Prothero
Ali:
That’s true. I had the Property Labels set to “Description”. I actually never 
set it, but it was that way from earlier versions, probably. 
Best,
Bill

> On Mar 17, 2016, at 4:18 PM, Ali Lloyd  wrote:
> 
> I think some of your issues may be because you have the property inspector
> set to Property Labels -> Name of LiveCode property rather than Description
> of Option. I'll add a bug report to make sure the latter option is selected
> during the tutorial.
> 
> The double click on the inspector icon is actually a very subtle bug:
> http://quality.livecode.com/show_bug.cgi?id=17154
> 
> All the rest is very helpful feedback, thank you!
> 
> On Thu, Mar 17, 2016 at 10:41 PM William Prothero 
> wrote:
> 
>> Folks:
>> I just downloaded LC 8 DP16 and tried out the tutorial. I suspect that the
>> authors of this would appreciate my notes as I went through the tutorial.
>> First, off, it’s really nice and does show that Livecode can make very cool
>> apps. Great job!
>> 
>> Since this is the first intro a newbie might get to Livecode, it’s really
>> vital that the tutorial process be flawless. That’s why I’m hoping my
>> comments below are helpful, and I do know how hard it can be, when the IDE
>> may be a slightly moving target and there is LOTS to do.
>> 
>> As you can read from my notes below, I took the perspective of a new user
>> who has never been exposed to livecode. There were a few gotchas that even
>> had me scratching my head a bit. One very important thing when teaching
>> newbies, is to scrupulously pay attention to how the instructions actually
>> match what the newbie sees on the screen. There were a number of instances
>> where I got stuck, but then got by by guessing what was meant. These are
>> noted below.
>> 
>> ——— My Notes 
>> 1. When open the property inspector for the stack, you have to click on
>> the property inspector to get the instruction.
>> Careful to match instructions with actual labels on IDE.
>> (e.g. “Set the Navigation names of” ? There is no listing in the property
>> inspector named “Navigation Names”)
>> (e.g. Line Thickness.  you mean Line size)
>> 
>> 2. It says in several places, to click on the “grey icon”. You mean the
>> black icon.
>> Clicking the property inspector icon doesn’t always open the property
>> inspector. Double clicking on the control does.
>> 
>> 3. I got stuck on setting the contents property of the Label field.
>> Whoops, figured it out.
>>The “Contents” property is not listed on the property inspector. It is
>> called “Styled Text"
>> 
>> 4. I got to where I grouped the header and footer to make it a shared.
>> Whoops, the property inspector opened for one of the elements of the group.
>> I used the right hand (upper) dropdown menu on the property inspector and
>> it looked like there was a listing for a group. I selected that. It worked!
>> A newbie probably wouldn’t find it.
>> 
>> 5. Setting up the chart. “Line colors”, the IDE shows “Graph Colors”
>> 
>> 6. Setting "navigation names" doesn’t match the property inspector.
>> 
>> 7. The tutorial refuses to advance once the “Code” button is clicked. The
>> window opens, but the instruction pane stays where it was. Whoops, had to
>> first click on the footer control.
>> 
>> 8. Last card: It says “Open the property Inspector” . The dropdown menu
>> shows “Card Inspector”
>> 
>> 9. Setting up the navigation bar, the tutorial states to put in items as
>> “Calculator,Chart,Services”. But, each time a new item is added, a separate
>> box is created for the entry.
>> 
>> ———
>> 
>> I hope this helps the dev team.
>> Best,
>> Bill
>> 
>> William Prothero, Ph.D.
>> University of California, Santa Barbara, Emeritus
>> proth...@earthednet.org
>> 
>> 
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

LC8 DP16 oddities, dataGrid?

2016-03-22 Thread William Prothero
Folks:
I’ve been using DP16 for awhile, and find
1: When setting the alignment of text in a text field, with the property 
inspector, you have to click twice to get it to set the alignment. Minor, but…

2: Datagrid. The property inspector for the datagrid is now totally opaque. The 
V7 version was much more obvious.

Are there any documents on how to use the new property inspector for dataGrid?

Best,
Bill

William Prothero, Ph.D.
University of California, Santa Barbara, Emeritus
proth...@earthednet.org




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

iOS deployment question

2016-03-22 Thread William Prothero
I’m getting an error when I try to build an iOS standalone. It is:
“Could not find a valid identity to use with the selected iOS profile.”

Where should I look? I’ve downloaded a certificate and set the bundle  of the 
provisioning profile to org.earthednet.wWaterDetective, and it shows up in the 
Profile setting, and I set the internal App ID to 
org.earthednet.wWaterDetective.

I’m in LC 8 DP 16, using Xcode 6.2.1. 

Very frustrating. It would be really wonderful if, sometime, there was a list 
of possible complaints the standalone builder would make, with possible 
solutions, or at least some diagnostic things one could do.

Any suggestions would be much appreciated.

Best,
Bill

William Prothero, Ph.D.
University of California, Santa Barbara, Emeritus
proth...@earthednet.org




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: iOS deployment question

2016-03-22 Thread William Prothero
I can see, after Googling around a bit, that getting the certificates signed 
and set up correctly is quite complicated, with lots of ways of going wrong. 
With out-dated certificates, old provisioning profiles, etc.

I wonder if there is a way to make this more robust and transparent. Like some 
app that will go through the settings, certificates, and provisioning profiles 
and give a diagnostic. Or perhaps, could the Livecode diagnostics give more 
information to help figure out what’s going wrong? This seems like a real need 
to me.

Maybe it’s too much to hope for. It takes me a day or two of hair-pulling to 
get this set up after being away from making iOS apps for awhile. 

Best,
Bill

> On Mar 22, 2016, at 7:29 PM, William Prothero  wrote:
> 
> I’m getting an error when I try to build an iOS standalone. It is:
> “Could not find a valid identity to use with the selected iOS profile.”
> 
> Where should I look? I’ve downloaded a certificate and set the bundle  of the 
> provisioning profile to org.earthednet.wWaterDetective, and it shows up in 
> the Profile setting, and I set the internal App ID to 
> org.earthednet.wWaterDetective.
> 
> I’m in LC 8 DP 16, using Xcode 6.2.1. 
> 
> Very frustrating. It would be really wonderful if, sometime, there was a list 
> of possible complaints the standalone builder would make, with possible 
> solutions, or at least some diagnostic things one could do.
> 
> Any suggestions would be much appreciated.
> 
> Best,
> Bill
> 
> William Prothero, Ph.D.
> University of California, Santa Barbara, Emeritus
> proth...@earthednet.org
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: iOS deployment question

2016-03-22 Thread William Prothero
Never mind…… Got it to work.
Bill

> On Mar 22, 2016, at 8:17 PM, William Prothero  wrote:
> 
> I can see, after Googling around a bit, that getting the certificates signed 
> and set up correctly is quite complicated, with lots of ways of going wrong. 
> With out-dated certificates, old provisioning profiles, etc.
> 
> I wonder if there is a way to make this more robust and transparent. Like 
> some app that will go through the settings, certificates, and provisioning 
> profiles and give a diagnostic. Or perhaps, could the Livecode diagnostics 
> give more information to help figure out what’s going wrong? This seems like 
> a real need to me.
> 
> Maybe it’s too much to hope for. It takes me a day or two of hair-pulling to 
> get this set up after being away from making iOS apps for awhile. 
> 
> Best,
> Bill
> 
>> On Mar 22, 2016, at 7:29 PM, William Prothero  
>> wrote:
>> 
>> I’m getting an error when I try to build an iOS standalone. It is:
>> “Could not find a valid identity to use with the selected iOS profile.”
>> 
>> Where should I look? I’ve downloaded a certificate and set the bundle  of 
>> the provisioning profile to org.earthednet.wWaterDetective, and it shows up 
>> in the Profile setting, and I set the internal App ID to 
>> org.earthednet.wWaterDetective.
>> 
>> I’m in LC 8 DP 16, using Xcode 6.2.1. 
>> 
>> Very frustrating. It would be really wonderful if, sometime, there was a 
>> list of possible complaints the standalone builder would make, with possible 
>> solutions, or at least some diagnostic things one could do.
>> 
>> Any suggestions would be much appreciated.
>> 
>> Best,
>> Bill
>> 
>> William Prothero, Ph.D.
>> University of California, Santa Barbara, Emeritus
>> proth...@earthednet.org
>> 
>> 
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: iOS deployment question

2016-03-23 Thread William Prothero
I’m wondering if there is a way to smooth out this error for the user.

When I try to load my app onto my iPhone for testing, I get the following 
message from XCode:

T"he entitlements specified in your application’s Code Signing Entitlements 
file do not match those specified in your provisioning profile. (0xE8008016).”

I’m wondering if there is a way for Livecode to provide more diagnostic 
information about the validity of the provisioning profile. The message above 
from XCode doesn’t give much help. 

Best,
Bill

> On Mar 23, 2016, at 7:35 AM, Earthednet-wp  wrote:
> 
> Graham,
> I can take some notes. What I did to fix it was to delete all my developer 
> certificates from my keychain and re-activate them. That was after I realized 
> that the reference to "identity" actually meant that it couldn't find a valid 
> certificate. Now it seems obvious, but didn't at first. I remember some 
> postings a while back re the need to get a new certificate. In the process, I 
> mucked up my entire keychain and had to recover it using the wonderful "Time 
> Machine". 
> 
> Now I'm fiddling with the provisioning profile to make its setup match with 
> the standalone settings for iOS. One thing I see as I fiddle, is multiple 
> provisioning profile in the drop down menu on iOS settings. Each new change 
> and download on the Apple dev site creates a new one and the name doesn't 
> change unless I do in in the apple developer website. Haven't figured out a 
> way to delete old ones yet, but that will come.
> 
> I'm just giving these details of my thought so that if somebody decides to 
> write up this, with all it's messiness, they might see what newbies go thru. 
> I'm not a newby anymore, but I only work with iOS occasionally and the 
> process seems to always be painful.
> 
> I'll take some notes and if they seem relevant, I'll post them somewhere.
> 
> Best,
> Bill
> 
> William Prothero
> http://es.earthednet.org
> 
>> On Mar 23, 2016, at 2:46 AM, Graham Samuel  wrote:
>> 
>> Care to write it up, William? 
>> 
>> AFAICS, coding in LiveCode is a trouble-free activity compared to deployment 
>> on iOS (or indeed on LiveCode Server, Android etc). Arcane rules, 
>> certificates, permissions… even the vocabulary seems to have been 
>> re-invented to confuse the honest programmer. Of course, that’s just my 
>> view, and I am not young. Still, it seems to me that one of the biggest 
>> challenges for LiveCode is to make the whole process, from having the idea 
>> for the app all the way to successfully publishing it, a journey with no 
>> u-turns, dead ends, or deep frustration at lack of progress.
>> 
>> Just my two eurocents
>> 
>> Graham
>> 
>>> On 23 Mar 2016, at 04:34, William Prothero  wrote:
>>> 
>>> Never mind…… Got it to work.
>>> Bill
>>> 
>>>> On Mar 22, 2016, at 8:17 PM, William Prothero  
>>>> wrote:
>>>> 
>>>> I can see, after Googling around a bit, that getting the certificates 
>>>> signed and set up correctly is quite complicated, with lots of ways of 
>>>> going wrong. With out-dated certificates, old provisioning profiles, etc.
>>>> 
>>>> I wonder if there is a way to make this more robust and transparent. Like 
>>>> some app that will go through the settings, certificates, and provisioning 
>>>> profiles and give a diagnostic. Or perhaps, could the Livecode diagnostics 
>>>> give more information to help figure out what’s going wrong? This seems 
>>>> like a real need to me.
>>>> 
>>>> Maybe it’s too much to hope for. It takes me a day or two of hair-pulling 
>>>> to get this set up after being away from making iOS apps for awhile. 
>>>> 
>>>> Best,
>>>> Bill
>>>> 
>>>>> On Mar 22, 2016, at 7:29 PM, William Prothero  
>>>>> wrote:
>>>>> 
>>>>> I’m getting an error when I try to build an iOS standalone. It is:
>>>>> “Could not find a valid identity to use with the selected iOS profile.”
>>>>> 
>>>>> Where should I look? I’ve downloaded a certificate and set the bundle  of 
>>>>> the provisioning profile to org.earthednet.wWaterDetective, and it shows 
>>>>> up in the Profile setting, and I set the internal App ID to 
>>>>> org.earthednet.wWaterDetective.
>>>>> 
>>>>> I’m in LC 8 DP 16, using Xcode 6.2.1. 
>>>>> 
>>>&

Re: iOS deployment question

2016-03-23 Thread William Prothero
Folks:
I’m stuck.  I keep getting the error message:

"The entitlements specified in your application’s Code Signing Entitlements 
file do not match those specified in your provisioning profile. (0xE8008016)."

Folks:

So: Is this a problem with the certificate, or with the options I select on the 
iOS settings in Livecode?
It sounds like it is complaining about the code signing certificate. I have 
checked, downloaded, tried, to no avail. 

I’m stuck. Any comments or direction would  be MUCH appreciated. One problem 
for me is the jargon that Apple uses doesn’t match up well with the Livecode 
jargon, so it’s very difficult to tell where to go to figure out what’s going 
on. Not to mention that the Apple documentation doesn’t always match up with 
xcode screen.

Bill

> On Mar 23, 2016, at 12:44 PM, William Prothero  
> wrote:
> 
> I’m wondering if there is a way to smooth out this error for the user.
> 
> When I try to load my app onto my iPhone for testing, I get the following 
> message from XCode:
> 
> T"he entitlements specified in your application’s Code Signing Entitlements 
> file do not match those specified in your provisioning profile. (0xE8008016).”
> 
> I’m wondering if there is a way for Livecode to provide more diagnostic 
> information about the validity of the provisioning profile. The message above 
> from XCode doesn’t give much help. 
> 
> Best,
> Bill
> 
>> On Mar 23, 2016, at 7:35 AM, Earthednet-wp  wrote:
>> 
>> Graham,
>> I can take some notes. What I did to fix it was to delete all my developer 
>> certificates from my keychain and re-activate them. That was after I 
>> realized that the reference to "identity" actually meant that it couldn't 
>> find a valid certificate. Now it seems obvious, but didn't at first. I 
>> remember some postings a while back re the need to get a new certificate. In 
>> the process, I mucked up my entire keychain and had to recover it using the 
>> wonderful "Time Machine". 
>> 
>> Now I'm fiddling with the provisioning profile to make its setup match with 
>> the standalone settings for iOS. One thing I see as I fiddle, is multiple 
>> provisioning profile in the drop down menu on iOS settings. Each new change 
>> and download on the Apple dev site creates a new one and the name doesn't 
>> change unless I do in in the apple developer website. Haven't figured out a 
>> way to delete old ones yet, but that will come.
>> 
>> I'm just giving these details of my thought so that if somebody decides to 
>> write up this, with all it's messiness, they might see what newbies go thru. 
>> I'm not a newby anymore, but I only work with iOS occasionally and the 
>> process seems to always be painful.
>> 
>> I'll take some notes and if they seem relevant, I'll post them somewhere.
>> 
>> Best,
>> Bill
>> 
>> William Prothero
>> http://es.earthednet.org
>> 
>>> On Mar 23, 2016, at 2:46 AM, Graham Samuel  wrote:
>>> 
>>> Care to write it up, William? 
>>> 
>>> AFAICS, coding in LiveCode is a trouble-free activity compared to 
>>> deployment on iOS (or indeed on LiveCode Server, Android etc). Arcane 
>>> rules, certificates, permissions… even the vocabulary seems to have been 
>>> re-invented to confuse the honest programmer. Of course, that’s just my 
>>> view, and I am not young. Still, it seems to me that one of the biggest 
>>> challenges for LiveCode is to make the whole process, from having the idea 
>>> for the app all the way to successfully publishing it, a journey with no 
>>> u-turns, dead ends, or deep frustration at lack of progress.
>>> 
>>> Just my two eurocents
>>> 
>>> Graham
>>> 
>>>> On 23 Mar 2016, at 04:34, William Prothero  wrote:
>>>> 
>>>> Never mind…… Got it to work.
>>>> Bill
>>>> 
>>>>> On Mar 22, 2016, at 8:17 PM, William Prothero  
>>>>> wrote:
>>>>> 
>>>>> I can see, after Googling around a bit, that getting the certificates 
>>>>> signed and set up correctly is quite complicated, with lots of ways of 
>>>>> going wrong. With out-dated certificates, old provisioning profiles, etc.
>>>>> 
>>>>> I wonder if there is a way to make this more robust and transparent. Like 
>>>>> some app that will go through the settings, certificates, and 
>>>>> provisioning profiles and give a diagnostic. Or perhaps, could the 
>>>>> Livecode diagnostics give more i

Re: iOS deployment question

2016-03-23 Thread William Prothero
Panos:
Thanks for the idea. Nope, beta version isn’t checked.
I’m using a Development profile.

Todd:
Yes, there is a major need for more information and help getting mobile apps 
through the process. It’s really ugly for newbies. It’s made even more 
difficult because Apple keeps making changes and even their documentation gets 
out of date. Mobile development is a major capability of Livecode and it seems 
that very little attention (or at least insufficient) attention is being given 
to making it as seamless as the platform promises.

Best,
Bill

> On Mar 23, 2016, at 1:45 PM, panagiotis merakos  wrote:
> 
> Hi Bill,
> 
> Just a thought:
> Could it be the case that you have checked the "Beta version" checkbox in
> the standalone application settings for iOS, but you sign the app using a
> Development profile?
> 
> I think the "Beta version" checkbox has to be used *only* with a
> Distribution profile.
> 
> Regards,
> Panos
> --
> 
> On Wed, Mar 23, 2016 at 9:44 PM, William Prothero 
> wrote:
> 
>> I’m wondering if there is a way to smooth out this error for the user.
>> 
>> When I try to load my app onto my iPhone for testing, I get the following
>> message from XCode:
>> 
>> T"he entitlements specified in your application’s Code Signing
>> Entitlements file do not match those specified in your provisioning
>> profile. (0xE8008016).”
>> 
>> I’m wondering if there is a way for Livecode to provide more diagnostic
>> information about the validity of the provisioning profile. The message
>> above from XCode doesn’t give much help.
>> 
>> Best,
>> Bill
>> 
>>> On Mar 23, 2016, at 7:35 AM, Earthednet-wp 
>> wrote:
>>> 
>>> Graham,
>>> I can take some notes. What I did to fix it was to delete all my
>> developer certificates from my keychain and re-activate them. That was
>> after I realized that the reference to "identity" actually meant that it
>> couldn't find a valid certificate. Now it seems obvious, but didn't at
>> first. I remember some postings a while back re the need to get a new
>> certificate. In the process, I mucked up my entire keychain and had to
>> recover it using the wonderful "Time Machine".
>>> 
>>> Now I'm fiddling with the provisioning profile to make its setup match
>> with the standalone settings for iOS. One thing I see as I fiddle, is
>> multiple provisioning profile in the drop down menu on iOS settings. Each
>> new change and download on the Apple dev site creates a new one and the
>> name doesn't change unless I do in in the apple developer website. Haven't
>> figured out a way to delete old ones yet, but that will come.
>>> 
>>> I'm just giving these details of my thought so that if somebody decides
>> to write up this, with all it's messiness, they might see what newbies go
>> thru. I'm not a newby anymore, but I only work with iOS occasionally and
>> the process seems to always be painful.
>>> 
>>> I'll take some notes and if they seem relevant, I'll post them somewhere.
>>> 
>>> Best,
>>> Bill
>>> 
>>> William Prothero
>>> http://es.earthednet.org
>>> 
>>>> On Mar 23, 2016, at 2:46 AM, Graham Samuel  wrote:
>>>> 
>>>> Care to write it up, William?
>>>> 
>>>> AFAICS, coding in LiveCode is a trouble-free activity compared to
>> deployment on iOS (or indeed on LiveCode Server, Android etc). Arcane
>> rules, certificates, permissions… even the vocabulary seems to have been
>> re-invented to confuse the honest programmer. Of course, that’s just my
>> view, and I am not young. Still, it seems to me that one of the biggest
>> challenges for LiveCode is to make the whole process, from having the idea
>> for the app all the way to successfully publishing it, a journey with no
>> u-turns, dead ends, or deep frustration at lack of progress.
>>>> 
>>>> Just my two eurocents
>>>> 
>>>> Graham
>>>> 
>>>>> On 23 Mar 2016, at 04:34, William Prothero 
>> wrote:
>>>>> 
>>>>> Never mind…… Got it to work.
>>>>> Bill
>>>>> 
>>>>>> On Mar 22, 2016, at 8:17 PM, William Prothero <
>> proth...@earthednet.org> wrote:
>>>>>> 
>>>>>> I can see, after Googling around a bit, that getting the certificates
>> signed and set up correctly is quite complicated, with lots of ways of
>> going wrong. With ou

Re: iOS deployment question

2016-03-23 Thread William Prothero
Folks:
Ok, what I got working was a profile that was named “iOS Team Provisioning 
Profile”. There was a wildcard version, and a version with my app ID attached. 
Both worked. The specific profiles I created for the app itself gave the error.

Since this is an app that I will only use myself, on my iPhone, that’s good 
enough.

I’ll go back and carefully check your suggestions, though Scott. At present, I 
need some lunch. Been staring at the screen too long.

Best,
Bill

> On Mar 23, 2016, at 2:09 PM, Scott Rossi  wrote:
> 
> This might be a naming issue.  In standalone settings, make sure that the
> last item in the entry for Internal App ID matches the app name you set up
> in your provisioning profile in Apple's developer portal.  The Internal
> App ID should look like this:
> 
> com..
> 
>  is the part that needs to match whatever you set up in the
> portal.
> 
> Also make sure that you have the correct item selected in the  Profile
> pulldown.
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
> 
> 
> 
> 
> On 3/23/16, 1:54 PM, "use-livecode on behalf of William Prothero"
>  proth...@earthednet.org> wrote:
> 
>> Folks:
>> Iąm stuck.  I keep getting the error message:
>> 
>> "The entitlements specified in your applicationąs Code Signing
>> Entitlements file do not match those specified in your provisioning
>> profile. (0xE8008016)."
>> 
>> Folks:
>> 
>> So: Is this a problem with the certificate, or with the options I select
>> on the iOS settings in Livecode?
>> It sounds like it is complaining about the code signing certificate. I
>> have checked, downloaded, tried, to no avail.
>> 
>> Iąm stuck. Any comments or direction would  be MUCH appreciated. One
>> problem for me is the jargon that Apple uses doesnąt match up well with
>> the Livecode jargon, so itąs very difficult to tell where to go to figure
>> out whatąs going on. Not to mention that the Apple documentation doesnąt
>> always match up with xcode screen.
>> 
>> Bill
>> 
>>> On Mar 23, 2016, at 12:44 PM, William Prothero
>>>  wrote:
>>> 
>>> Iąm wondering if there is a way to smooth out this error for the user.
>>> 
>>> When I try to load my app onto my iPhone for testing, I get the
>>> following message from XCode:
>>> 
>>> T"he entitlements specified in your applicationąs Code Signing
>>> Entitlements file do not match those specified in your provisioning
>>> profile. (0xE8008016).˛
>>> 
>>> Iąm wondering if there is a way for Livecode to provide more diagnostic
>>> information about the validity of the provisioning profile. The message
>>> above from XCode doesnąt give much help.
>>> 
>>> Best,
>>> Bill
>>> 
>>>> On Mar 23, 2016, at 7:35 AM, Earthednet-wp 
>>>> wrote:
>>>> 
>>>> Graham,
>>>> I can take some notes. What I did to fix it was to delete all my
>>>> developer certificates from my keychain and re-activate them. That was
>>>> after I realized that the reference to "identity" actually meant that
>>>> it couldn't find a valid certificate. Now it seems obvious, but didn't
>>>> at first. I remember some postings a while back re the need to get a
>>>> new certificate. In the process, I mucked up my entire keychain and had
>>>> to recover it using the wonderful "Time Machine".
>>>> 
>>>> Now I'm fiddling with the provisioning profile to make its setup match
>>>> with the standalone settings for iOS. One thing I see as I fiddle, is
>>>> multiple provisioning profile in the drop down menu on iOS settings.
>>>> Each new change and download on the Apple dev site creates a new one
>>>> and the name doesn't change unless I do in in the apple developer
>>>> website. Haven't figured out a way to delete old ones yet, but that
>>>> will come.
>>>> 
>>>> I'm just giving these details of my thought so that if somebody
>>>> decides to write up this, with all it's messiness, they might see what
>>>> newbies go thru. I'm not a newby anymore, but I only work with iOS
>>>> occasionally and the process seems to always be painful.
>>>> 
>>>> I'll take some notes and if they seem relevant, I'll post them
>>>> somewhere.
>>>> 
>>>> Best,
>>>> Bill
>>>> 
>>>> William

Re: iOS deployment question

2016-03-23 Thread William Prothero
Last post on this subject:
I also got it working by changing my provisioning profile to include both iPad 
and iPhone. Previously I had only checked the iPhone option. But, I guess I 
must have entered a device description for my iPad too. H… what an obtuse 
system.
Bill

> On Mar 23, 2016, at 2:23 PM, William Prothero  wrote:
> 
> Folks:
> Ok, what I got working was a profile that was named “iOS Team Provisioning 
> Profile”. There was a wildcard version, and a version with my app ID 
> attached. Both worked. The specific profiles I created for the app itself 
> gave the error.
> 
> Since this is an app that I will only use myself, on my iPhone, that’s good 
> enough.
> 
> I’ll go back and carefully check your suggestions, though Scott. At present, 
> I need some lunch. Been staring at the screen too long.
> 
> Best,
> Bill
> 
>> On Mar 23, 2016, at 2:09 PM, Scott Rossi  wrote:
>> 
>> This might be a naming issue.  In standalone settings, make sure that the
>> last item in the entry for Internal App ID matches the app name you set up
>> in your provisioning profile in Apple's developer portal.  The Internal
>> App ID should look like this:
>> 
>> com..
>> 
>>  is the part that needs to match whatever you set up in the
>> portal.
>> 
>> Also make sure that you have the correct item selected in the  Profile
>> pulldown.
>> 
>> Regards,
>> 
>> Scott Rossi
>> Creative Director
>> Tactile Media, UX/UI Design
>> 
>> 
>> 
>> 
>> On 3/23/16, 1:54 PM, "use-livecode on behalf of William Prothero"
>> > proth...@earthednet.org> wrote:
>> 
>>> Folks:
>>> Iąm stuck.  I keep getting the error message:
>>> 
>>> "The entitlements specified in your applicationąs Code Signing
>>> Entitlements file do not match those specified in your provisioning
>>> profile. (0xE8008016)."
>>> 
>>> Folks:
>>> 
>>> So: Is this a problem with the certificate, or with the options I select
>>> on the iOS settings in Livecode?
>>> It sounds like it is complaining about the code signing certificate. I
>>> have checked, downloaded, tried, to no avail.
>>> 
>>> Iąm stuck. Any comments or direction would  be MUCH appreciated. One
>>> problem for me is the jargon that Apple uses doesnąt match up well with
>>> the Livecode jargon, so itąs very difficult to tell where to go to figure
>>> out whatąs going on. Not to mention that the Apple documentation doesnąt
>>> always match up with xcode screen.
>>> 
>>> Bill
>>> 
>>>> On Mar 23, 2016, at 12:44 PM, William Prothero
>>>>  wrote:
>>>> 
>>>> Iąm wondering if there is a way to smooth out this error for the user.
>>>> 
>>>> When I try to load my app onto my iPhone for testing, I get the
>>>> following message from XCode:
>>>> 
>>>> T"he entitlements specified in your applicationąs Code Signing
>>>> Entitlements file do not match those specified in your provisioning
>>>> profile. (0xE8008016).˛
>>>> 
>>>> Iąm wondering if there is a way for Livecode to provide more diagnostic
>>>> information about the validity of the provisioning profile. The message
>>>> above from XCode doesnąt give much help.
>>>> 
>>>> Best,
>>>> Bill
>>>> 
>>>>> On Mar 23, 2016, at 7:35 AM, Earthednet-wp 
>>>>> wrote:
>>>>> 
>>>>> Graham,
>>>>> I can take some notes. What I did to fix it was to delete all my
>>>>> developer certificates from my keychain and re-activate them. That was
>>>>> after I realized that the reference to "identity" actually meant that
>>>>> it couldn't find a valid certificate. Now it seems obvious, but didn't
>>>>> at first. I remember some postings a while back re the need to get a
>>>>> new certificate. In the process, I mucked up my entire keychain and had
>>>>> to recover it using the wonderful "Time Machine".
>>>>> 
>>>>> Now I'm fiddling with the provisioning profile to make its setup match
>>>>> with the standalone settings for iOS. One thing I see as I fiddle, is
>>>>> multiple provisioning profile in the drop down menu on iOS settings.
>>>>> Each new change and download on the Apple dev site creates a new one
>>>>> and the name doesn't change

Re: iOS deployment question

2016-03-23 Thread William Prothero
Last post on this subject:
I also got it working by changing my provisioning profile to include both iPad 
and iPhone. Previously I had only checked the iPhone option. But, I guess I 
must have entered a device description for my iPad too. H… what an obtuse 
system.
Bill
> On Mar 23, 2016, at 2:23 PM, William Prothero  wrote:
> 
> Folks:
> Ok, what I got working was a profile that was named “iOS Team Provisioning 
> Profile”. There was a wildcard version, and a version with my app ID 
> attached. Both worked. The specific profiles I created for the app itself 
> gave the error.
> 
> Since this is an app that I will only use myself, on my iPhone, that’s good 
> enough.
> 
> I’ll go back and carefully check your suggestions, though Scott. At present, 
> I need some lunch. Been staring at the screen too long.
> 
> Best,
> Bill
> 
>> On Mar 23, 2016, at 2:09 PM, Scott Rossi  wrote:
>> 
>> This might be a naming issue.  In standalone settings, make sure that the
>> last item in the entry for Internal App ID matches the app name you set up
>> in your provisioning profile in Apple's developer portal.  The Internal
>> App ID should look like this:
>> 
>> com..
>> 
>>  is the part that needs to match whatever you set up in the
>> portal.
>> 
>> Also make sure that you have the correct item selected in the  Profile
>> pulldown.
>> 
>> Regards,
>> 
>> Scott Rossi
>> Creative Director
>> Tactile Media, UX/UI Design
>> 
>> 
>> 
>> 
>> On 3/23/16, 1:54 PM, "use-livecode on behalf of William Prothero"
>> > proth...@earthednet.org> wrote:
>> 
>>> Folks:
>>> Iąm stuck.  I keep getting the error message:
>>> 
>>> "The entitlements specified in your applicationąs Code Signing
>>> Entitlements file do not match those specified in your provisioning
>>> profile. (0xE8008016)."
>>> 
>>> Folks:
>>> 
>>> So: Is this a problem with the certificate, or with the options I select
>>> on the iOS settings in Livecode?
>>> It sounds like it is complaining about the code signing certificate. I
>>> have checked, downloaded, tried, to no avail.
>>> 
>>> Iąm stuck. Any comments or direction would  be MUCH appreciated. One
>>> problem for me is the jargon that Apple uses doesnąt match up well with
>>> the Livecode jargon, so itąs very difficult to tell where to go to figure
>>> out whatąs going on. Not to mention that the Apple documentation doesnąt
>>> always match up with xcode screen.
>>> 
>>> Bill
>>> 
>>>> On Mar 23, 2016, at 12:44 PM, William Prothero
>>>>  wrote:
>>>> 
>>>> Iąm wondering if there is a way to smooth out this error for the user.
>>>> 
>>>> When I try to load my app onto my iPhone for testing, I get the
>>>> following message from XCode:
>>>> 
>>>> T"he entitlements specified in your applicationąs Code Signing
>>>> Entitlements file do not match those specified in your provisioning
>>>> profile. (0xE8008016).˛
>>>> 
>>>> Iąm wondering if there is a way for Livecode to provide more diagnostic
>>>> information about the validity of the provisioning profile. The message
>>>> above from XCode doesnąt give much help.
>>>> 
>>>> Best,
>>>> Bill
>>>> 
>>>>> On Mar 23, 2016, at 7:35 AM, Earthednet-wp 
>>>>> wrote:
>>>>> 
>>>>> Graham,
>>>>> I can take some notes. What I did to fix it was to delete all my
>>>>> developer certificates from my keychain and re-activate them. That was
>>>>> after I realized that the reference to "identity" actually meant that
>>>>> it couldn't find a valid certificate. Now it seems obvious, but didn't
>>>>> at first. I remember some postings a while back re the need to get a
>>>>> new certificate. In the process, I mucked up my entire keychain and had
>>>>> to recover it using the wonderful "Time Machine".
>>>>> 
>>>>> Now I'm fiddling with the provisioning profile to make its setup match
>>>>> with the standalone settings for iOS. One thing I see as I fiddle, is
>>>>> multiple provisioning profile in the drop down menu on iOS settings.
>>>>> Each new change and download on the Apple dev site creates a new one
>>>>> and the name doesn't change

Re: iOS deployment question

2016-03-23 Thread William Prothero
Scott:
Yes, I’ve experienced this. I do think there could be some kind of “advice” 
document, blog, or something that puts some of the Apple jargon into livecode 
understandable terms, though. From the XCode error message, I thought the 
problem was the certificate (wild goose chase) but it was actually a minor 
detail in the provisioning profile that looked like it had nothing to do with 
my installation.

Oh well. Thanks for the comments,
Bill

> On Mar 23, 2016, at 3:34 PM, Scott Rossi  wrote:
> 
> Speaking as someone who took a stab at this
> (http://tactilemedia.com/download/How_to_publish_on_iOS_83013.pdf),
> it's a major amount of work that almost needs to be a part time job.  Not
> only does Apple change details of the process and add features to the
> system, but it updates/rearranges the tools and changes the layout of
> developer portal.  And once Apple makes changes, LiveCode makes changes to
> accommodate them.  So all the screenshots and step by step instructions
> you provide easily become out of date.
> 
> All of this, in addition to things that just come of nowhere, like the
> recent expiration of Apple's Worldwide Developer Certificate, make
> documenting the process a demanding effort.
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
> 
> 
> 
> 
> On 3/23/16, 1:29 PM, "use-livecode on behalf of Todd Fabacher"
> 
> wrote:
> 
>> Hello Bill,
>> 
>> Please please if you have any info on the steps of how to submit to  the
>> OSX Store. We are facing the same problems. I can find almost ZERO info on
>> what needs to be done to submit the app.
>> 
>> Thanks,
>> 
>> Todd
>> 
>>> On Mar 22, 2016, at 7:29 PM, William Prothero 
>>> earthednet.org> wrote:
>>> 
>>> I¹m getting an error when I try to build an iOS standalone. It is:
>>> ³Could not find a valid identity to use with the selected iOS profile.²
>>> 
>>> Where should I look? I¹ve downloaded a certificate and set the bundle
>>> of the provisioning profile to
>> org.earthednet.wWaterDetective, and it shows up in the Profile
>> setting, and I set the internal App ID to
>> org.earthednet.wWaterDetective.
>>> 
>>> I¹m in LC 8 DP 16, using Xcode 6.2.1.
>>> 
>>> Very frustrating. It would be really wonderful if, sometime, there was
>>> a list of possible complaints the
>> standalone builder would make, with possible solutions, or at least
>> some diagnostic things one could do.
>>> 
>>> Any suggestions would be much appreciated.
> 
> 
> 
> ___
> 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

Can a widget be in the background?

2016-03-23 Thread William Prothero
I’m about the replace a menubar with the menubar widget in DP16. What I’m 
wondering is if this can be set up so it’s on every card, like objects can.

Best,
Bill



William Prothero, Ph.D.
University of California, Santa Barbara, Emeritus
proth...@earthednet.org




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Can a widget be in the background?

2016-03-23 Thread William Prothero
Please excuse me for the trivial questions. I found that a group can be a 
shared background object. 
But, I’m wondering if for a stack with quite a few cards, a new group with a 
shared background setting will only appear on new cards. 

If I create a new stack with several cards, load several UI elements on the 
first card, group them, then set them to “Background Behavior”, they do not 
show up on all of the existing cards.

So, is there a way to make that background group then show up on all cards? Or, 
is it simply a matter of copying that group to each card that I want it on and 
setting “Shared behavior” in the inspector?

Best,
Bill

> On Mar 23, 2016, at 4:37 PM, William Prothero  wrote:
> 
> I’m about the replace a menubar with the menubar widget in DP16. What I’m 
> wondering is if this can be set up so it’s on every card, like objects can.
> 
> Best,
> Bill
> 
> 
> 
> William Prothero, Ph.D.
> University of California, Santa Barbara, Emeritus
> proth...@earthednet.org
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

LC8 DP16

2016-03-24 Thread William Prothero
Folks:
I’m noticing a problem with the Project Browser in DP16. If you have two stacks 
open, then try to create a new card in the stack in the front, it creates 
doesn’t create a card in the selected stack. It appears at the top of the 
Project Browser, on a line by itself or in the other stack.

Closing the other stack (the one that you are not putting the new card on), 
doesn’t help. The card listing goes to the top of the project browser window.

Anybody else see this oddity? I’m trying hard to convert over to LC8, but some 
of these oddities are a bit troublesome. 

Best,
Bill



___
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: LC8 DP16

2016-03-24 Thread William Prothero
Kay,
Tnx for trying this out. My stacks were more complex and I was trying to 
convert a stack that used mobGUI elements and I couldn’t get rid of them. Then 
I was trying to copy code from one stack to another and the IDE appeared to get 
confused.

I’ll fiddle with it more and see if I can come up with a prescription,

Best,
Bill

> On Mar 24, 2016, at 8:13 PM, Kay C Lan  wrote:
> 
> On Fri, Mar 25, 2016 at 4:41 AM, William Prothero
>  wrote:
>> If you have two stacks open, then try to create a new card in the stack in 
>> the front, it creates doesn’t create a card in the selected stack. It 
>> appears at the top of the Project Browser, on a line by itself or in the 
>> other stack.
>> 
> Not seeing that on OS x 10.9.5 LC8dp16
> 
> I just started LC 8
> New stack - named it Test Stack 1
> New stack - named it Test Stack 2
> Opened the Object Browser
> Named Card 1 of Test Stack 1 'ts1cd1'
> Named Card 2 of Test Stack 2 'ts2cd1'
> Opened the Project Browser
> Clicked on the Project Browser and each stack so that it would show
> the tree view with each card.
> With Test Stack 2 front most I created a New Card. It popped up in the
> Project Browser in the correct place. I named it 'ts2cd2'
> Bought Test Stack 1 to the front then New Card. It also popped up in
> the Project Browser in the correct place.
> 
> HTH
> 
> ___
> 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: LC8 DP16

2016-03-24 Thread William Prothero
Kay,
Tnx for trying this out. My stacks were more complex and I was trying to 
convert a stack that used mobGUI elements and I couldn’t get rid of them. Then 
I was trying to copy code from one stack to another and the IDE appeared to get 
confused.

I’ll fiddle with it more and see if I can come up with a prescription,

Best,
Bill

> On Mar 24, 2016, at 8:13 PM, Kay C Lan  wrote:
> 
> On Fri, Mar 25, 2016 at 4:41 AM, William Prothero
>  wrote:
>> If you have two stacks open, then try to create a new card in the stack in 
>> the front, it creates doesn’t create a card in the selected stack. It 
>> appears at the top of the Project Browser, on a line by itself or in the 
>> other stack.
>> 
> Not seeing that on OS x 10.9.5 LC8dp16
> 
> I just started LC 8
> New stack - named it Test Stack 1
> New stack - named it Test Stack 2
> Opened the Object Browser
> Named Card 1 of Test Stack 1 'ts1cd1'
> Named Card 2 of Test Stack 2 'ts2cd1'
> Opened the Project Browser
> Clicked on the Project Browser and each stack so that it would show
> the tree view with each card.
> With Test Stack 2 front most I created a New Card. It popped up in the
> Project Browser in the correct place. I named it 'ts2cd2'
> Bought Test Stack 1 to the front then New Card. It also popped up in
> the Project Browser in the correct place.
> 
> HTH
> 
> ___
> 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: LC8 DP16

2016-03-27 Thread William Prothero
I see similar behaviors in the IDE in DP16. It seems to forget which stack is 
in focus and does unexpected things.
Bill

> On Mar 26, 2016, at 12:17 PM, Sannyasin Brahmanathaswami  
> wrote:
> 
> I had an odd incident in a different context but similar "paradigm"  i.e. as 
> if the IDE lost track or the focused object/stack.  I had a stack open, a 
> button selected, and the inspector open, and the graphics effects selected in 
> the inspector. I pressed delete to delete the button. Instead of deleting the 
> button, one of the buttons of the stack inspector for graphics effects 
> disappeared... after that "all hell broke loose" with respect to selecting 
> any object and trying to open an inspector for it. IDE had gone to the looney 
> farm. Totally unqualified of course... which is impossible to bug report.
> 
> I just quit, rebooted LC and started again.. never able to reproduce this. 
> So, this is not the same as a card, but loss of "where am I exactly"  smells 
> like similar rotten mango, if you get my meaning.
> 
> Which stack is on First?
> 
> BR
> 
> 
> On March 25, 2016 at 2:11:33 PM, p...@livecode.org 
> (p...@livecode.org) wrote:
> 
> Bill,
> 
> I tried this and saw the problem once!, but now I’m not seeing it happen 
> again. That’s kind of a familiar scenario with LC8 for me, often makes me 
> think I’m doing something wrong, but then I can’t find enough evidence to 
> make a recipe for a bug report.
> 
> When I get a few minutes spare I’ll try again with some different stacks, I 
> do see odd results with the PB from time to time and the only way to get rid 
> of them is to close and re-open the PB palette, that’s why I suggested a 
> refresh button, but Mark Waddingham doesn’t want to go down that route. I do 
> understand, but it is still frustrating at times.
> 
> Paul
> ___
> 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: iOS deployment question

2016-03-29 Thread William Prothero
Ben:
This sounds reasonable. Then I don’t have to translate the terms from Xcode 
terminology to Livecode terminology.
Best,
Bill

> On Mar 29, 2016, at 1:31 AM, Ben Rubinstein  wrote:
> 
> FWIW, this really isn't a LiveCode issue.  Back when we were doing a lot of 
> iOS app development, submission - which should have been a matter of pressing 
> a few buttons - invariably took many hours of hair tearing - and this in 
> spite of the fact that we were making new submissions virtually every week; 
> solving the problems one week didn't stop us having another load of problems 
> the next week.
> 
> When doing development (as opposed to submission) my practise now when I get 
> a problem in LiveCode is to spend almost no time trying to fix it in LC; 
> instead jump immediately to a dummy app on Xcode, and make sure I can deploy 
> that first; mostly I find the same problem there, so can debug it with one 
> less step in the chain, and when I have that working, go back to LC.
> 
> And yes, I long for a hand-holding guide, but I think the problems keep 
> changing.
> 
> My 2p
> 
> Ben
> 
> On 23/03/2016 22:14, William Prothero wrote:
>> Last post on this subject:
>> I also got it working by changing my provisioning profile to include both 
>> iPad and iPhone. Previously I had only checked the iPhone option. But, I 
>> guess I must have entered a device description for my iPad too. H… what 
>> an obtuse system.
>> Bill
>>> On Mar 23, 2016, at 2:23 PM, William Prothero  wrote:
>>> 
>>> Folks:
>>> Ok, what I got working was a profile that was named “iOS Team Provisioning 
>>> Profile”. There was a wildcard version, and a version with my app 
>>> IDattached. Both worked. The specific profiles I created for the app itself 
>>> gave 
> the error.
>>> 
>>> Since this is an app that I will only use myself, on my iPhone, that’s good 
>>> enough.
>>> 
>>> I’ll go back and carefully check your suggestions, though Scott. At 
>>> present, I need some lunch. Been staring at the screen too long.
>>> 
>>> Best,
>>> Bill
>>> 
>>>> On Mar 23, 2016, at 2:09 PM, Scott Rossi  wrote:
>>>> 
>>>> This might be a naming issue.  In standalone settings, make sure that the
>>>> last item in the entry for Internal App ID matches the app name you set up
>>>> in your provisioning profile in Apple's developer portal.  The Internal
>>>> App ID should look like this:
>>>> 
>>>> com..
>>>> 
>>>>  is the part that needs to match whatever you set up in the
>>>> portal.
>>>> 
>>>> Also make sure that you have the correct item selected in the  Profile
>>>> pulldown.
>>>> 
>>>> Regards,
>>>> 
>>>> Scott Rossi
>>>> Creative Director
>>>> Tactile Media, UX/UI Design
>>>> 
>>>> 
>>>> 
>>>> 
>>>> On 3/23/16, 1:54 PM, "use-livecode on behalf of William Prothero"
>>>> >>> proth...@earthednet.org> wrote:
>>>> 
>>>>> Folks:
>>>>> Iąm stuck.  I keep getting the error message:
>>>>> 
>>>>> "The entitlements specified in your applicationąs Code Signing
>>>>> Entitlements file do not match those specified in your provisioning
>>>>> profile. (0xE8008016)."
>>>>> 
>>>>> Folks:
>>>>> 
>>>>> So: Is this a problem with the certificate, or with the options I select
>>>>> on the iOS settings in Livecode?
>>>>> It sounds like it is complaining about the code signing certificate. I
>>>>> have checked, downloaded, tried, to no avail.
>>>>> 
>>>>> Iąm stuck. Any comments or direction would  be MUCH appreciated. One
>>>>> problem for me is the jargon that Apple uses doesnąt match up well with
>>>>> the Livecode jargon, so itąs very difficult to tell where to go to figure
>>>>> out whatąs going on. Not to mention that the Apple documentation doesnąt
>>>>> always match up with xcode screen.
>>>>> 
>>>>> Bill
>>>>> 
>>>>>> On Mar 23, 2016, at 12:44 PM, William Prothero
>>>>>>  wrote:
>>>>>> 
>>>>>> Iąm wondering if there is a way to smooth out this error for the user.
>>>>>> 
>>>>>> When I try to load my app onto my iPho

Deleting a Control in LC8 DP16 in the IDE

2016-03-29 Thread William Prothero
In Version 7, I can delete a control, by selecting the control in the Project 
Browser, and clicking “Delete”. This doesn’t happen in LC8 DP16, on OSX. 

Bug? I can delete it by selecting it on the stage and clicking “Delete”. I 
remember something about this mentioned on the list, but can’t find it.

Best,
Bill



William Prothero, Ph.D.
University of California, Santa Barbara, Emeritus
proth...@earthednet.org




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Script Only Stack Architecture

2016-03-29 Thread William Prothero
Richard:
Some of the items were mentioned in Bramanathaswami’s post. Some, of course, is 
just taste. I put almost all of my code in substacks, but haven’t tried text 
only stacks yet. I can’t see having a jillion small text files to keep track 
of. But then, a lot of folks seem to love them, so I wonder at the advantages. 
Of course, there’s the github thing. I work by myself, so that isn’t a factor, 
but I can see it would be major for teams.

Code that’s portable between apps is important. Perhaps that would be something 
to discuss. And I really haven’t messed with implementing personal code 
“Libraries”. The requirement for strict ID’s for behaviors makes them less 
portable. Do text only stacks help in this regard?

So, I think what I’m “seconding” is that a higher lever than “newby” tutorials 
on code organization through Libraries, Text only stacks, substacks, etc, would 
be useful and I would give it a hard look-see. Currently, I’m pretty satisfied 
with my current approach, but over the last year, I’ve changed it so much as I 
learned more about LiveCode, that I wonder what I’m missing.

Thanks, Richard, for all your comments and help on this list.
Best,
Bill

> On Mar 29, 2016, at 1:58 PM, Richard Gaskin  
> wrote:
> 
> William Prothero wrote:
> 
>> Organizing the code in a project is really important and there are lots of 
>> ways to go wrong.
> 
> Can you describe some?
> 
> While documenting good patterns can be useful, sometimes documenting 
> anti-patterns is just as useful.
> 
> Several years ago at one of the LC conferences in Monterey Ken Ray and I did 
> a talk called "LiveCode Patterns and Anti-Patterns".  So much has changed 
> since then (behaviors, before and after messages, script-only stacks, etc.) 
> that it would be very helpful to hear your concerns as I prepare to dive into 
> my archives for the old notes
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> 
> ambassa...@fourthworld.comhttp://www.FourthWorld.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Deleting a Control in LC8 DP16 in the IDE

2016-03-29 Thread William Prothero
Arrrggghhh! I knew about the trash can, but forgot it. Dang! In my process, I 
accidentally deleted a group and I thought it was just going to disappear from 
the card it was on, and it deleted the entire group. Fortunately, I’m just 
playing with the UI controls, etc, and it was quickly fixed, but ……

Just trying to get used to the new IDE. There are some things I really like, 
though. I think the next DP will be focussing on the IDE, which badly needs a 
thorough run-through to get rid of those pesky idiosyncrasies.

Best,
Bill

> On Mar 29, 2016, at 6:43 PM, Mark Wieder  wrote:
> 
> On 03/29/2016 06:31 PM, Paul Hibbert wrote:
>> Bill,
>> 
>> There is a ‘Trash’ icon in the bottom row of tools in the PB, the only 
>> downside is it asks for confirmation before deleting, or you can double 
>> click the control in the PB, it should be selected if the card is visible, 
>> then you can hit delete.
> 
> Yeah, be *very* careful with that, though... I have several times now deleted 
> the wrong control thinking that it was selected just because it was 
> highlighted. Er... hilited. Anyway, there's no "undo" option, so save your 
> work before attempting this.
> 
> -- 
> 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: Using Behaviors for Triggering UI Design - Run Time

2016-03-30 Thread William Prothero
I’m wondering, does a script only behavior stack have to be loaded first with 
“Start Using stack xyz” or once the behavior is set, LC automatically loads and 
connects it to the control. What I’m thinking is that if a lot of behaviors are 
used, and the appear in the project browser as stacks, there may be a lot of 
stacks showing up, and to avoid confusion, behavior stacks may want to be named 
so they appear together and maybe at the bottom of the alphabetical list.

True?

Bill

> On Mar 30, 2016, at 8:40 AM, Ali Lloyd  wrote:
> 
> NB the behavior entry in the dictionary has been rewritten and will be
> correct in the next release of 8.0. You can check out the raw text of it
> here if you want:
> https://github.com/livecode/livecode/blob/develop/docs/dictionary/property/behavior.lcdoc
> 
> On Wed, Mar 30, 2016 at 2:53 PM Richard Gaskin 
> wrote:
> 
>> Sannyasin Brahmanathaswami wrote:
>>> Let's say we have a series of fields that have just a few words of
>>> text in them we want to center vertically. Text varies. Our designers
>>> may want to change the words over time.  I don't want to have to go
>>> in and manually adjust the top and bottom margins to achieve the
>>> position.
>>> 
>>> So then this is were dynamic runtime GUI layout/typesetting may be
>>> the way to go. Once the UI is all finished one could turn it off
>>> because the properties would be set for the fields.
>>> 
>>> We could create a behavior (ideally an external.livecodescript text
>>> file) with this in it
>>> 
>>> command centerTextVertically
>>> put the formattedheight of me into tTotalTextHeight
>>> put ( the height of me - tTotalTextHeight ) / 2 into tTopBottomMargins
>>> set topmargin of me to tTopBottomMargins
>>> end centerTextVertically
>>> 
>>> put the long ID of the button that contains that into the field; then
>>> make multiple copies of that field place them on the UI.
>>> 
>>> 1)  When, how and what is the most efficient way...to trigger this?
>>> in a preopenstack or preopencard handler? so that the UI fields are
>>> all centered when the card renders?
>>> 
>>> But then it needs to be a behavior of the stack or card, but then the
>>> reference to "me" fails to target the fields which all have the same
>>> name.
>> 
>> If it makes sense to put those fields into a group you can use
>> preOpenControl.
>> 
>> 
>>> 2) Still waiting on how to set a behavior to an
>>> external.livecodescript. Dictionary only descripts the long id of a
>>> button method.
>> 
>> Behaviors can be either buttons or stacks, and the stacks need not be
>> script-only.
>> 
>> When setting any behavior the syntax is:
>> 
>>   set the behavior of  to 
>> 
>> ...where  is usually the long ID of a button, but
>> can be any unambiguous object reference.
>> 
>> FWIW you can use "the long id" for any object, even stacks.
>> 
>> In all cases, once set a behavior is resolved to a "rugged long ID", a
>> long ID where the stack portion is changed from the full file path as we
>> normally find it to just the stack name, allowing portability.
>> 
>> For example:
>> 
>>button id 1004 of cd id 1003 of stack
>> "/home/rg/something/rsrc.livecode"
>> 
>> ...becomes:
>> 
>>button id of cd id 1003 of stack "rsrc"
>> 
>> 
>> So when using a stack as a behavior you can write:
>> 
>>set the behavior of btn "Something" to the long id of stack "rsrc"
>> 
>> ...or even more simply, since stack names are already unique:
>> 
>>set the behavior of btn "Something" to the name of stack "rsrc"
>> 
>> 
>> --
>>  Richard Gaskin
>>  Fourth World Systems
>>  Software Design and Development for the Desktop, Mobile, and the Web
>>  
>>  ambassa...@fourthworld.comhttp://www.FourthWorld.com
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
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: Script Only Stack Architecture

2016-03-31 Thread William Prothero
Folks:
Reading this kinda makes my head spin. Now I’m thinking it is going to be a 
heck of a lot more robust for my situation, as a single developer, to not use 
behaviors at all, but to have a single (possibly script only) substack that 
holds all of the handlers that I would normally use as behaviors, and just put 
a call to that handler in each button. I can use “the target”  or “me” as a 
passed variable to make the action specific to a particular control.

This approach seems a lot less prone to idiosyncrasies and more easily 
transportable to other apps, to me. It also means that all of my “behavior type 
scripts” would sit in a single script-only stack, which would make it a lot 
more convenient to access and edit than a bunch of small script only stacks 
sitting in my project browser.

Am I wrong. misguided, foolish, or brilliant?

Best,
Bill

> On Mar 31, 2016, at 8:04 AM, Richard Gaskin  
> wrote:
> 
> Sannyasin Brahmanathaswami wrote:
> 
> > On March 30, 2016 at 6:17:20 PM, Richard Gaskin wrote:
> >
> >> in brief:
> >> 1. Open them
> >
> > # this did not work for me earlier today
> 
> What exactly happened?
> 


___
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: Script Only Stack Architecture

2016-03-31 Thread William Prothero
Thierry:
Thanks! As an afterthought, I should have added an “all of the above” choice 
because I visit each of those intellectual realms frequently.
Best,
Bill

> On Mar 31, 2016, at 8:46 AM, Thierry Douez  wrote:
> 
>> Am I wrong. misguided, foolish, or brilliant?
>> 
> 
> ​You are brilliant !!!
> 
> Mmm, as long as you don't need behaviors :)
> 
> Kind regards,
> 
> Thierry
> 
> ---​
> 
> Thierry Douez - http://sunny-tdz.com
> sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
> ___
> 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: Script Only Stack Architecture

2016-03-31 Thread William Prothero
Thanks, Richard:
My previous exposure to the behaviors methodology was in Adobe Director. A 
behavior was assigned to a particular control, field, button, whatever, and in 
its script, it defined a set of properties that could be set custom for each 
instantiation. That way, a “set” of graphics for a button, for example, could 
be assembled as part of a behavior where the “up”, “down”,”over”, “disabled” 
etc, states linked to a particular graphic. Of course, you don’t have to do 
that in Livecode, but that was the idea.

Thanks for the prescription. I’ll try it out. 

Let me know next time you’re in Santa Barbara. I’ll treat you to lunch.
Best,
Bill

> On Mar 31, 2016, at 9:52 AM, Richard Gaskin  
> wrote:
> 
> William Prothero wrote:
> 
> > Reading this kinda makes my head spin. Now I’m thinking it is going
> > to be a heck of a lot more robust for my situation, as a single
> > developer, to not use behaviors at all, but to have a single
> > (possibly script only) substack that holds all of the handlers that I
> > would normally use as behaviors, and just put a call to that handler
> > in each button. I can use “the target”  or “me” as a passed variable
> > to make the action specific to a particular control.
> >
> > This approach seems a lot less prone to idiosyncrasies and more
> > easily transportable to other apps, to me. It also means that all of
> > my “behavior type scripts” would sit in a single script-only stack,
> > which would make it a lot more convenient to access and edit than a
> > bunch of small script only stacks sitting in my project browser.
> >
> > Am I wrong. misguided, foolish, or brilliant?
> 
> Behaviors are very powerful for all sorts of things, whether you work alone 
> or in a team of twenty.
> 
> The biggest benefit for teamwork comes from the very separate question of 
> whether to use script-only stacks to define behaviors.  Script-only stacks 
> are an ideal solution for Github-based workflows, but have minimal value 
> (some, but not as much) for anyone not dependent on a version control system 
> designed for other languages.
> 
> Ditch script-only stacks for now and continue to explore behaviors. You'll 
> thank me.  You'll want to buy me lunch next time I'm in Santa Barbara.  I'll 
> accept.  Behaviors will change everything, very powerfully, the more you 
> explore and use them.
> 
> Once we step away from the very separate issue of script-only stacks, we have 
> really only two guidelines for using behaviors effectively:
> 
> - A behavior definition can be any button or stack.
> 
> - When using behaviors, the object containing the behavior script
>  must be in memory when anything relying on it is brought into
>  memory.
> 
> That's it.
> 
> When exploring a new feature I like to make a simple stack I can use as a 
> playground to poke around and experiment without mucking up anything 
> important I'm working on.
> 
> Here's a quick tutorial that may get you hooked on the power of behaviors:
> 
> 1. Make a new stack titled "Behavior Playground"
> 
> 2. Add a button named "MyClass"
> 
> 3. Set the script of that button to:
> 
>on mouseUp
>   answer the name of me
>end mouseUp
> 
> There - you've just created a behavior, defining an action for what will be 
> an entire class of custom button objects:
> 
> 4. Make a new button named "A"
> 
> 5. In the Message Box run:
> 
>   set the behavior of btn "A" to the long id of btn "MyClass"
> 
> 6. Make two copies of btn "A", naming them "B" and "C" respectively.
> 
> 7. Click any of them.
> 
> What you'll see is that each of them uses the script of button "MyClass" as 
> if it's their own, bringing up an answer dialog showing the unique name of 
> each.
> 
> At this point your mind is already thinking of a dozen times in recent 
> projects where you have several objects you wanted to work the same without 
> affecting any other scripts.  We could leave it here and you'd be off writing 
> behaviors very productively right now.
> 
> But we're going to take this one step further - we'll create a superclass:
> 
> 8. Make a new button named "MySuperClass"
> 
> 9. Set this script of that button to:
> 
>   on mouseDown
>  grab me
>   end mouseDown
> 
> 10. In the Message Box run:
> 
>  set the behavior of btn "MyClass" to the long id of btn "MySuperClass"
> 
> 11. Drag any of the "A", "B", or "C" buttons.
> 
> In

Re: Script Only Stack Architecture

2016-03-31 Thread William Prothero
Richard:
Ok, for the sake of argument (and my learning), compare that to:

1. Make  new stack and call it “Alt Behavior Playground”

2. Make a new button and enter the script:
on mouseDown

   put the long ID of the target into theTarg

   doABehavior theTarg

end mouseDown

3. Make a substack and call it “myBehaviorLib”  —just for the heck of it.
Put the following script in it:

on doABehavior tCtl

doTheGrab tCtl

end doABehavior


on doTheGrab tCtl

   grab tCtl

end doTheGrab

4. Better do: start using stack “myBehaviorLib”

Run it and drag the button you made. This will work in all stacks with the on 
mouseDown script in it.

So, the “myBehaviorLib” substack could be simply a script only stack that 
contains some reasonable number of separate behavior type scripts, and once the 
“start using” is invoked, say on a preopenStack script, all common code for 
button behaviors becomes a single code element. Inheritance, like adding new 
behavior is just adding another script to the “on doABehavior” handler in the 
“myBehaviorLib” stack. What you don’t get is the ability to have the same name 
for a bunch of different behaviors, but …… perhaps it’s easier to keep track of 
handler names that are different anyway.

Somehow, this seems more direct to me. It also avoids the need for a preloader 
stack the opens a bunch of small files that are behaviors.

What do you think?
Bill



> On Mar 31, 2016, at 9:52 AM, Richard Gaskin  
> wrote:
> 
> William Prothero wrote:
> 
> > Reading this kinda makes my head spin. Now I’m thinking it is going
> > to be a heck of a lot more robust for my situation, as a single
> > developer, to not use behaviors at all, but to have a single
> > (possibly script only) substack that holds all of the handlers that I
> > would normally use as behaviors, and just put a call to that handler
> > in each button. I can use “the target”  or “me” as a passed variable
> > to make the action specific to a particular control.
> >
> > This approach seems a lot less prone to idiosyncrasies and more
> > easily transportable to other apps, to me. It also means that all of
> > my “behavior type scripts” would sit in a single script-only stack,
> > which would make it a lot more convenient to access and edit than a
> > bunch of small script only stacks sitting in my project browser.
> >
> > Am I wrong. misguided, foolish, or brilliant?
> 
> Behaviors are very powerful for all sorts of things, whether you work alone 
> or in a team of twenty.
> 
> The biggest benefit for teamwork comes from the very separate question of 
> whether to use script-only stacks to define behaviors.  Script-only stacks 
> are an ideal solution for Github-based workflows, but have minimal value 
> (some, but not as much) for anyone not dependent on a version control system 
> designed for other languages.
> 
> Ditch script-only stacks for now and continue to explore behaviors. You'll 
> thank me.  You'll want to buy me lunch next time I'm in Santa Barbara.  I'll 
> accept.  Behaviors will change everything, very powerfully, the more you 
> explore and use them.
> 
> Once we step away from the very separate issue of script-only stacks, we have 
> really only two guidelines for using behaviors effectively:
> 
> - A behavior definition can be any button or stack.
> 
> - When using behaviors, the object containing the behavior script
>  must be in memory when anything relying on it is brought into
>  memory.
> 
> That's it.
> 
> When exploring a new feature I like to make a simple stack I can use as a 
> playground to poke around and experiment without mucking up anything 
> important I'm working on.
> 
> Here's a quick tutorial that may get you hooked on the power of behaviors:
> 
> 1. Make a new stack titled "Behavior Playground"
> 
> 2. Add a button named "MyClass"
> 
> 3. Set the script of that button to:
> 
>on mouseUp
>   answer the name of me
>end mouseUp
> 
> There - you've just created a behavior, defining an action for what will be 
> an entire class of custom button objects:
> 
> 4. Make a new button named "A"
> 
> 5. In the Message Box run:
> 
>   set the behavior of btn "A" to the long id of btn "MyClass"
> 
> 6. Make two copies of btn "A", naming them "B" and "C" respectively.
> 
> 7. Click any of them.
> 
> What you'll see is that each of them uses the script of button "MyClass" as 
> if it's their own, bringing up an answer dialog showing the unique name of 
> each.
> 
> At this point your mind is already thinking of a dozen times in recent 
> projects where you have s

Re: Script Only Stack Architecture

2016-03-31 Thread William Prothero
Thanks for the comments. Very interesting. And I guess the big advantage of 
behaviors over a library is the scope issue.

I’ll put this info into my toolchest.
Best,
Bill

> On Mar 31, 2016, at 3:33 PM, Ali Lloyd  wrote:
> 
> Or more accurately
> on preOpenStack
>  local tBehaviorLongID
>  put the long id of stack "" into tBehaviorLongID
>  set the behavior of field "FieldWithBehavior" of me to tBehaviorLongID
> end preOpenStack
> 
> On Thu, Mar 31, 2016 at 11:31 PM Ali Lloyd  wrote:
> 
>> My solution to this:
>> 
>> Stack "MyTestStack" has a field, which is assigned stack
>> "MyBehaviorStack" as its behavior property.
>> 
>> Stack "MyBehaviorStack" is a separate stack file.
>> 
>> would be to also include the behavior *setting* in the preOpenStack
>> handler of "MyTestStack".
>> 
>> on preOpenStack
>>  set the behavior of field "FieldWithBehavior" of me to > MyBehaviorStack>
>> end preOpenStack
>> 
>> This is the model used repeatedly for such things in the IDE.
>> 
>> On Thu, Mar 31, 2016 at 10:10 PM William Prothero 
>> wrote:
>> 
>>> Richard:
>>> Ok, for the sake of argument (and my learning), compare that to:
>>> 
>>> 1. Make  new stack and call it “Alt Behavior Playground”
>>> 
>>> 2. Make a new button and enter the script:
>>> on mouseDown
>>> 
>>>   put the long ID of the target into theTarg
>>> 
>>>   doABehavior theTarg
>>> 
>>> end mouseDown
>>> 
>>> 3. Make a substack and call it “myBehaviorLib”  —just for the heck of it.
>>> Put the following script in it:
>>> 
>>> on doABehavior tCtl
>>> 
>>>doTheGrab tCtl
>>> 
>>> end doABehavior
>>> 
>>> 
>>> on doTheGrab tCtl
>>> 
>>>   grab tCtl
>>> 
>>> end doTheGrab
>>> 
>>> 4. Better do: start using stack “myBehaviorLib”
>>> 
>>> Run it and drag the button you made. This will work in all stacks with
>>> the on mouseDown script in it.
>>> 
>>> So, the “myBehaviorLib” substack could be simply a script only stack that
>>> contains some reasonable number of separate behavior type scripts, and once
>>> the “start using” is invoked, say on a preopenStack script, all common code
>>> for button behaviors becomes a single code element. Inheritance, like
>>> adding new behavior is just adding another script to the “on doABehavior”
>>> handler in the “myBehaviorLib” stack. What you don’t get is the ability to
>>> have the same name for a bunch of different behaviors, but …… perhaps it’s
>>> easier to keep track of handler names that are different anyway.
>>> 
>>> Somehow, this seems more direct to me. It also avoids the need for a
>>> preloader stack the opens a bunch of small files that are behaviors.
>>> 
>>> What do you think?
>>> Bill
>>> 
>>> 
>>> 
>>>> On Mar 31, 2016, at 9:52 AM, Richard Gaskin 
>>> wrote:
>>>> 
>>>> William Prothero wrote:
>>>> 
>>>>> Reading this kinda makes my head spin. Now I’m thinking it is going
>>>>> to be a heck of a lot more robust for my situation, as a single
>>>>> developer, to not use behaviors at all, but to have a single
>>>>> (possibly script only) substack that holds all of the handlers that I
>>>>> would normally use as behaviors, and just put a call to that handler
>>>>> in each button. I can use “the target”  or “me” as a passed variable
>>>>> to make the action specific to a particular control.
>>>>> 
>>>>> This approach seems a lot less prone to idiosyncrasies and more
>>>>> easily transportable to other apps, to me. It also means that all of
>>>>> my “behavior type scripts” would sit in a single script-only stack,
>>>>> which would make it a lot more convenient to access and edit than a
>>>>> bunch of small script only stacks sitting in my project browser.
>>>>> 
>>>>> Am I wrong. misguided, foolish, or brilliant?
>>>> 
>>>> Behaviors are very powerful for all sorts of things, whether you work
>>> alone or in a team of twenty.
>>>> 
>>>> The biggest benefit for teamwork comes from the very separate question
>>> of whether to use script-only stacks to define behaviors.  Script-only
>>

Re: Script Only Stack Architecture

2016-04-01 Thread William Prothero
Richard and Matt:
I think the salient points are the various ways of getting behaviors to 
instantiate properly. There have been a number of ideas that all seem to work. 
So what I suggest, is that a brief description of each strategy (1-2 sentences) 
and a bit of sample code (where appropriate) like the sample that Ali provided. 
The long discussions about message paths, etc should be shortened to “just the 
beef”. The code snippets that demo the “working” way to implement the strategy 
would then make sure folks understood how to make it work.
Bill

> On Apr 1, 2016, at 3:04 PM, Richard Gaskin  wrote:
> 
> Matt Maier wrote:
>> I never suggested you write it.
> 
> The word "you" threw me off.  Thanks for the clarification.
> 
>> I objected to you advising the mailing list not to include this
>> discussion in the Dictionary because it would start down a slippery
>> slope towards "too big."
> 
> This discussion is many pages long and involves a wide range of keywords and 
> concepts, begging the question:  What should be written, and where?
> 
> Many here have expressed the opinion that something should be added 
> somewhere, but so far only two have offered specific suggestions, and they 
> differ from one another.
> 
> In both of those cases (and more than a few others) I've very explicitly 
> encouraged them to contribute their additions to the docs - once more in case 
> it was missed:
> 
>As I've noted here before, this blog post offers some helpful
>guidance for community members to get started contributing to
>the documentation to make it more of they want:
>
> 
> My "Yes" was indeed a "Yes, and.." with the "and" being to please be mindful 
> of the different types of documentation people use, and the intended audience 
> and scope for each.
> 
> Specifically, I wrote:  "Go for it, but please be brief in Dictionary 
> entries."
> 
> Hardly seems the stuff of wholesale discouragement.
> 
> And all the while the core question remains outstanding with no submission to 
> the docs: What should be written, and where?
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> 
> ambassa...@fourthworld.comhttp://www.FourthWorld.com
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Design Challenge -- Round Corner mask on images

2016-04-03 Thread William Prothero
Trevor:
Never tried to install a widget before. I downloaded your zip folder and copied 
the folder with its contents to the “extensions” folder. I don’t see it in the 
extensions manager. I’m in dp15. Any suggestions?
Bill


> On Apr 3, 2016, at 2:50 PM, Trevor DeVore  wrote:
> 
> On Sun, Mar 27, 2016 at 6:26 PM, Sannyasin Brahmanathaswami <
> bra...@hindu.org> wrote:
> 
>> Our design team finished a design for a mobile app. The used rounded
>> corners everywhere.
>> 
>> see
>> 
>> http://wiki.hindu.org/screenshots/radius-all-corners.jpg
>> 
>> Something I wished we had in LC for all controls (groups included) is
>> corner radius, but is is only available for graphics objects.
>> 
> 
> I thought this would make an interesting widget. I put together a widget
> that does the following:
> 
> 1. Allows you to turn on/off rounded corners for each corner of the widget.
> 2. Allows you to set the radius.
> 3. Allows you to set a filename of an image that will be displayed within
> the widget. Default is to draw the widget using the background color.
> 
> The source code can be found in my github repository under
> "rounded_corners".
> 
> https://github.com/trevordevore/livecode-extensions
> 
> I tried to package up an .lce version of the extension but then I couldn't
> find a way to install a packaged widget in the IDE. The only way I can see
> is to use the Extension Manager to install a widget that you are working
> on. So for now I've zipped up the folder that you should install in ~/My
> LiveCode/extensions.
> 
> https://www.dropbox.com/s/3o6m6uq6suj5wvs/community.livecode.trevordevore.roundedCorners.1.0.0.zip?dl=0
> 
> Let me know if this does what you need.
> 
> -- 
> Trevor DeVore
> ScreenSteps
> www.screensteps.com-www.clarify-it.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: Design Challenge -- Round Corner mask on images

2016-04-04 Thread William Prothero
Trevor:
Very nice! Thanks for the widget.
Best,
Bill

> On Apr 3, 2016, at 8:17 PM, William Prothero  wrote:
> 
> Trevor:
> Never tried to install a widget before. I downloaded your zip folder and 
> copied the folder with its contents to the “extensions” folder. I don’t see 
> it in the extensions manager. I’m in dp15. Any suggestions?
> Bill
> 
> 
>> On Apr 3, 2016, at 2:50 PM, Trevor DeVore  wrote:
>> 
>> On Sun, Mar 27, 2016 at 6:26 PM, Sannyasin Brahmanathaswami <
>> bra...@hindu.org> wrote:
>> 
>>> Our design team finished a design for a mobile app. The used rounded
>>> corners everywhere.
>>> 
>>> see
>>> 
>>> http://wiki.hindu.org/screenshots/radius-all-corners.jpg
>>> 
>>> Something I wished we had in LC for all controls (groups included) is
>>> corner radius, but is is only available for graphics objects.
>>> 
>> 
>> I thought this would make an interesting widget. I put together a widget
>> that does the following:
>> 
>> 1. Allows you to turn on/off rounded corners for each corner of the widget.
>> 2. Allows you to set the radius.
>> 3. Allows you to set a filename of an image that will be displayed within
>> the widget. Default is to draw the widget using the background color.
>> 
>> The source code can be found in my github repository under
>> "rounded_corners".
>> 
>> https://github.com/trevordevore/livecode-extensions
>> 
>> I tried to package up an .lce version of the extension but then I couldn't
>> find a way to install a packaged widget in the IDE. The only way I can see
>> is to use the Extension Manager to install a widget that you are working
>> on. So for now I've zipped up the folder that you should install in ~/My
>> LiveCode/extensions.
>> 
>> https://www.dropbox.com/s/3o6m6uq6suj5wvs/community.livecode.trevordevore.roundedCorners.1.0.0.zip?dl=0
>> 
>> Let me know if this does what you need.
>> 
>> -- 
>> Trevor DeVore
>> ScreenSteps
>> www.screensteps.com-www.clarify-it.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


___
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: Error: Unable to open the database file

2016-04-06 Thread William Prothero
Peter:
Glad my stack was a help. Be careful with my mySQL php scripts. The examples 
are meant only as starting points. They allow for injection attacks if the 
inputs aren’t carefully filtered in Livecode before being formed into the 
query. You could modify the php so that each script does only a single 
operation, and that’s probably a better approach.
Best,
Bill

> On Apr 6, 2016, at 12:57 PM, Peter Haworth  wrote:
> 
> This is where it gets interesting.  My original plan was to directly
> connect to mySQL from Livecode using the variableslist parameter to the
> various Livecode db functions, which should protect against sql injection.
> To be honest, I don't recall why I went away from that plan in favor of
> middleware.
> 
> Most web hosts will have a cPanel option to set up a mySQL database,
> usually using phpMyAdmin and it's pretty straightforward if you are already
> familiar with db structures.
> 
> The only wrinkle I remember is that you have to specify for each db user
> which hosts they can connect from in terms of an ip address or domains.
> 
> In fact, I think that's what decided me on using middleware since then all
> the db access is from your web hosts domain, thus one entry in the
> allowable hosts table.  In my case, my users were scattered across various
> domains and all had dynamic ip addresses so it would have a been a pain to
> keep all that up to date.
> 
> I got a great start on the middleware scripts by downloading Bill's library
> (thanks Bill).
> 
> Pete
> 
> On Wed, Apr 6, 2016 at 10:35 AM Ray  wrote:
> 
>> Yeah, my expectation is that we'll avoid injection issues using the PHP
>> middleware.
>> 
>> All in all, it seems like a pretty common need; to store on a server a
>> database that multiple users are going to be updating.  I wish there
>> were some sort of a Livecode lesson which detailed several approaches to
>> this including the necessary steps to set up the database on the remote
>> server.  Do you know of any?
>> 
>> On 4/6/2016 12:42 PM, Peter Haworth wrote:
>>> Hi Ray,
>>> Lots of things for you to think about!  As someone else mentioned, I
>>> thought you were using a network file system rather than a web server.
>>> 
>>> Just to set the record straight on a couple of things.
>>> 
>>> mySQL does have transactions, as do all SQL implementations.  They're
>> part
>>> of the SQL spec.  postGresql may well have advantages over mySQL but that
>>> isn't one of them.
>>> 
>>> It's quite feasible to implement multi-user sqlite applications.  There
>> are
>>> several examples on the SQLite web site and in fact their website is
>> driven
>>> by an sqlite database.  Of course it depends on the needs of the
>>> application, as it always does.
>>> 
>>> There are many ways to handle queuing of db access when the db is locked.
>>> There's a PRAGMA that controls how long the lock request should wait
>> before
>>> reporting it can't get the lock.  It's easy to program that yourself in a
>>> repeat loop/send in time structure too.
>>> 
>>> I started a thread a few months back about direct calls to server-based
>> SQL
>>> databases from Livecode versus middleware which generated a lot of
>> possible
>>> approaches.  I ended up going the middleware route using php scripts.  My
>>> Livecode app uses the POST command to send a code that indicates to the
>>> server which SQL operation is to be executed along with all the data
>> needed
>>> to execute it.  No SQL statements ever go over the connection so no sql
>>> injection issues. That's just one possible implementation of course and
>>> there are many other ways to do it.
>>> 
>>> Good luck!
>>> 
>>> On Wed, Apr 6, 2016 at 8:32 AM Ray  wrote:
>>> 
 Richard - thanks for this advice.  It's really quite helpful.  We've
 abandoned the sqLite idea but I think mySQL should work fine.  The
 purpose of this database is to maintain an index of bug reports. The bug
 reports themselves are actually Livecode stacks.  The database will
 serve as an index to all bug reports.  The plan is to have just single
 table of about four columns; username, bug name, date, and status.
 Hopefully it will stay this simple.
 
 Since we'll be updating an entire record at a time I don't think the
 lack of dependency will ever be a problem, but let me know what you
>> think.
 
 Thanks,
 
 Ray
 
 On 4/6/2016 11:14 AM, Dr. Hawkins wrote:
> On Wed, Apr 6, 2016 at 6:05 AM, Ray  wrote:
> 
>> I thought of downloading it, updating it, and then putting it back on
 the
>> server but that wouldn't work if two users simultaneously did so.
>> Since
>> I'll have many users using the database simultaneously everything has
 to be
>> done on the server.  I know only one user can write to an sqLite
 database
>> at a time, but that only takes about 20 milliseconds if done on the
 server
>> and the other writes get cued, something that wouldn't happen in the
>> downloa

  1   2   3   4   5   6   7   8   9   >