Re: Help! I'm stuck

2021-04-08 Thread William Prothero via use-livecode
Richard:
What you suggest makes a lot of sense. As someone who doesn’t build complex 
apps very often, my first question is “why would I turn off error 
notifications?” Would I miss something by turning them off when making a build? 
Anyway I think it would be far more straightforward to just have a different 
(linked) app to do the build.

Also, if there is a separate app, why couldn’t it take care of a lot of the 
mystery of notarizing, adding certificates, etc, at the same time? That would 
be a huge help. Maybe it could even include an installer. Yikes, I would even 
pay a bit for that capability.

Best,
Bill

> On Apr 8, 2021, at 9:43 AM, Richard Gaskin via use-livecode 
>  wrote:
> 
> Standalone building needs to be moved to a separate process.
> 
> Handling it within the IDE process was fine as long as the only thing the 
> Standalone Builder did was bind a copy of the engine to a copy of the stack 
> file.
> 
> But today, building a standalone means deep modifications to the stack file, 
> and this has resulted in multiple successive layers of knock-on effects where 
> design complications are needed to compensate for design complications put in 
> place to compensate for earlier design complications.
> 
> The end result of attempting to build standalones within the current IDE 
> process is not merely cumbersome, but disruptive, confusing, and even 
> requires CODE CHANGES from EVERY USER to compensate even further just for the 
> build sequence.
> 
> LC has gone from the simplest way to build apps to something no less onerous 
> than most, and more confusing than many.
> 
> Standalone building needs to be moved to a separate process.
> 
> With that, LC can begin the return journey back on its path to the simplest 
> way to build apps.
> 
> --
> Richard Gaskin
> Fourth World Systems
> 
> 
> 
> Ralph DiMola wrote:
> 
> > I never built a non-mobile standalone for the first 5 years of using
> > LC. For a mobile build nothing gets closed and gets built from the
> > stack(s) files on disk. What a surprise I got when I built my first
> > desktop standalone. I initially thought that something was very wrong
> > with the IDE and restarted.
> > After some searches I found that this is the correct behavior??? I
> > guess there is a reason for closing the stack(s) but I find it very
> > odd indeed.
> >
> > Ralph DiMola
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

William Prothero
waproth...@gmail.com




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


Re: Help! I'm stuck

2021-04-07 Thread William Prothero via use-livecode
Ralph and Curry:
Fortunately, I took a break for a week before trying your solutions. For 
someone who doesn’t do this every day, it is a confusing mess and I suppose 
that somewhere there is an explanation in the help files of what to do, but my 
cursory searches didn’t find anything for such a complicated project I was 
trying to build. Thank heavens for this list!

I also agree that it would be a really good thing if the IDE, or the mothership 
provided more help for the ever-changing security requirements for Apple mobile 
and desktop builds.

Best,
Bill Prothero

> On Apr 7, 2021, at 10:20 AM, Ralph DiMola via use-livecode 
>  wrote:
> 
> I never built a non-mobile standalone for the first 5 years of using LC. For
> a mobile build nothing gets closed and gets built from the stack(s) files on
> disk. What a surprise I got when I built my first desktop standalone. I
> initially thought that something was very wrong with the IDE and restarted.
> After some searches I found that this is the correct behavior??? I guess
> there is a reason for closing the stack(s) but I find it very odd indeed.
> 
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
> 
> 
> -Original Message-
> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
> Of Curry Kenworthy via use-livecode
> Sent: Wednesday, April 07, 2021 1:03 PM
> To: use-livecode@lists.runrev.com
> Cc: Curry Kenworthy
> Subject: Re: Help! I'm stuck
> 
> 
> Jacqueline:
> 
>> It's not a bug, it was intentionally introduced to allow a couple  > of
> features, like retaining script local variables after a build.
>> Given the amount of extra scripting to work around it for existing  >
> stacks, I think it may have introduced more problems than it tried  > to
> cure.
> 
> Agreed! I was too busy the other day but wanted to chime in:
> This was a baffling case of doubling-down on a wonky and toxic "fix."
> 
> The problems introduced were far more numerous than those "fixed."
> I pointed this out right away, but it seems that hubris prevailed.
> LC Ltd needs a more consistent vision of what LC is and how it works.
> 
> Result: workarounds are often needed for standard builds.
> In what RAD paradigm should users have to workaround the IDE?
> If that's a question we're even needing to ask, we may be in trouble.
> 
> (My own stack design usually makes this a moot point. I wasn't affected.
> But I saw the expense and pain this caused, plus a troubling precedent.)
> 
> So ... isn't it great they teach everyone to double down these days?  :)
> Turning off messages - good tactic, although it won't work for everyone.
> 
> Back to work, take care all
> 
> Best wishes,
> 
> Curry Kenworthy
> 
> Custom Software Development
> "Better Methods, Better Results"
> LiveCode Training and Consulting
> http://livecodeconsulting.com/
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

William Prothero
waproth...@gmail.com




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


Re: Help! I'm stuck

2021-04-05 Thread William Prothero via use-livecode
Hot Dang! It built the App. 
Sean and Jacqueline, you made my day!
Thanks!
Bill

> On Apr 4, 2021, at 6:08 AM, Sean Cole (Pi) via use-livecode 
>  wrote:
> 
> You can also turn off messages and errors from the Toolbar before you
> build. This should prevent any pre/open or pre/close scripts from running.
> And make sure all inspectors, message box and project browser are closed
> too as well as any windows/stacks other than your main stack.
> 
> Sean
> 
> On Sun, 4 Apr 2021 at 13:57, Sean Cole (Pi)  wrote:
> 
>> ResolveID is referring to the stack, card and object IDs to tie it to your
>> breakpoints.
>> 
>> Focus on your main stack. In the Development menu bar, choose Clear All
>> Breakpoints. It’s a good idea to do this every time before a main
>> standalone build.
>> 
>> So, Delete all your breakpoints. Then resave. (Close and reopen your stack
>> and LC if you like). Rebuild. It will be ok.
>> 
>> Sean
>> 
>> On Sun, 4 Apr 2021 at 01:10, William Prothero via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> Matthias, or anybody:
>>> 
>>> I got side-tracked but am back to needing to build this standalone and
>>> guess what the error message from the builder means. This build problem has
>>> been known for some time, as Matthias kindly notified me.
>>> 
>>> My question is:Is it possible to tell what stacks are causing the
>>> problem, from the builder error codes. I have But it seems a bit odd that I
>>> would have to disable the preopenStack, openstack, closestack, preopencard,
>>> opencard, etc, etc ad-nauseum.
>>> 
>>> Before I cause myself a bunch of thrashing around changing a bunch of
>>> stacks, is there anything in the error dialog that’s attached that would
>>> give me a hint as to where this is happening? Also, I wonder if disabling
>>> all these open …. handlers during build might cause build problems. If it
>>> was a universal problem/bug, I would think it would have been fixed by LC
>>> version 9.6.2 (RC3).???
>>> 
>>> Thanks for any insight and direction. (I”m on Big Sur 11.2.2). I have 10
>>> stacks and a number of script only lib stacks in this project.
>>> 
>>> Bill
>>> 
>>> Links to the error dialog:
>>> page 1: https://www.dropbox.com/s/f4bmxx3zkuoy0zq/ErrorWindow-p1.png?dl=0
>>> <https://www.dropbox.com/s/f4bmxx3zkuoy0zq/ErrorWindow-p1.png?dl=0>
>>> page 2: https://www.dropbox.com/s/zc18s3gkzv92w2w/Errors-page-2.pdf?dl=0
>>> <https://www.dropbox.com/s/zc18s3gkzv92w2w/Errors-page-2.pdf?dl=0>
>>> 
>>>> On Mar 20, 2021, at 1:38 PM, matthias rebbe via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
>>>> 
>>>> Bill,
>>>> 
>>>> i've just checked the release notes of 9.0.x
>>>> The release notes of 9.0.2 contain updated information about this topic
>>> and an enhanced script example.
>>>> opencard scripts should also be adjusted.
>>>> https://downloads.livecode.com/livecode/9_0_2/LiveCodeNotes-9_0_2.pdf
>>>> 
>>>> Please excuse me for pointing to 9.0.1rc1 release notes yesterday.
>>>> 
>>>> 
>>>> Regards
>>>> Matthias
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> -
>>>> Matthias Rebbe
>>>> Life Is Too Short For Boring Code
>>>> 
>>>>> Am 20.03.2021 um 18:22 schrieb William Prothero via use-livecode <
>>> use-livecode@lists.runrev.com>:
>>>>> 
>>>>> Matthias:
>>>>> I see that openstack and closestack messages are inhibited during
>>> application build, using:
>>>>> 
>>>>> on closeStack
>>>>> if the mode of stack “revStandaloneProgress” > 0 then
>>>>> exit closeStack
>>>>> end if
>>>>> end
>>>>> 
>>>>> So, before I start adding this to all openstack, closestack, scripts
>>> of my 12 stacks, I'm’ wondering if I could mess up the build process by
>>> by-passing some of the scripts in these handlers. Is there any way to tell
>>> more precisely what is causing the problem? Any recommendations on
>>> strategy? Should I just change one stack at a time and look for changes in
>>> the error window, or just change all them and wonder what affect that would
>>> have on the integrity of the build pr

Re: Help! I'm stuck

2021-04-05 Thread William Prothero via use-livecode
Thanks so much, Sean and Jacqueline!
I’ll try that.
Bill

> On Apr 4, 2021, at 9:04 AM, J. Landman Gay via use-livecode 
>  wrote:
> 
> It's not a bug, it was intentionally introduced to allow a couple of 
> features, like retaining script local variables after a build. Given the 
> amount of extra scripting to work around it for existing stacks, I think it 
> may have introduced more problems than it tried to cure.
> 
> I did try turning off messages before a build but it didn't work.
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On April 3, 2021 7:13:25 PM William Prothero via use-livecode 
>  wrote:
> 
>> Also, I wonder if disabling all these open …. handlers during build might 
>> cause build problems. If it was a universal problem/bug, I would think it 
>> would have been fixed by LC version 9.6.2 (RC3).???
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

William Prothero
waproth...@gmail.com




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


Re: Help! I'm stuck

2021-04-03 Thread William Prothero via use-livecode
Matthias, or anybody:

I got side-tracked but am back to needing to build this standalone and guess 
what the error message from the builder means. This build problem has been 
known for some time, as Matthias kindly notified me.

My question is:Is it possible to tell what stacks are causing the problem, from 
the builder error codes. I have But it seems a bit odd that I would have to 
disable the preopenStack, openstack, closestack, preopencard, opencard, etc, 
etc ad-nauseum.

Before I cause myself a bunch of thrashing around changing a bunch of stacks, 
is there anything in the error dialog that’s attached that would give me a hint 
as to where this is happening? Also, I wonder if disabling all these open …. 
handlers during build might cause build problems. If it was a universal 
problem/bug, I would think it would have been fixed by LC version 9.6.2 
(RC3).???

Thanks for any insight and direction. (I”m on Big Sur 11.2.2). I have 10 stacks 
and a number of script only lib stacks in this project.

Bill

Links to the error dialog:
page 1: https://www.dropbox.com/s/f4bmxx3zkuoy0zq/ErrorWindow-p1.png?dl=0 
<https://www.dropbox.com/s/f4bmxx3zkuoy0zq/ErrorWindow-p1.png?dl=0>
page 2: https://www.dropbox.com/s/zc18s3gkzv92w2w/Errors-page-2.pdf?dl=0 
<https://www.dropbox.com/s/zc18s3gkzv92w2w/Errors-page-2.pdf?dl=0>

> On Mar 20, 2021, at 1:38 PM, matthias rebbe via use-livecode 
>  wrote:
> 
> Bill,
> 
> i've just checked the release notes of 9.0.x
> The release notes of 9.0.2 contain updated information about this topic and 
> an enhanced script example. 
> opencard scripts should also be adjusted.
> https://downloads.livecode.com/livecode/9_0_2/LiveCodeNotes-9_0_2.pdf
> 
> Please excuse me for pointing to 9.0.1rc1 release notes yesterday.
> 
> 
> Regards
> Matthias
> 
> 
> 
> 
> 
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>> Am 20.03.2021 um 18:22 schrieb William Prothero via use-livecode 
>> :
>> 
>> Matthias:
>> I see that openstack and closestack messages are inhibited during 
>> application build, using:
>> 
>> on closeStack
>>  if the mode of stack “revStandaloneProgress” > 0 then
>>  exit closeStack
>>  end if
>> end
>> 
>> So, before I start adding this to all openstack, closestack, scripts of my 
>> 12 stacks, I'm’ wondering if I could mess up the build process by by-passing 
>> some of the scripts in these handlers. Is there any way to tell more 
>> precisely what is causing the problem? Any recommendations on strategy? 
>> Should I just change one stack at a time and look for changes in the error 
>> window, or just change all them and wonder what affect that would have on 
>> the integrity of the build process?
>> 
>> Also, opencard scripts are also called when a stack in launched and I wonder 
>> if those need to be escaped too.
>> 
>> Best,
>> Bill
>> 
>>> On Mar 19, 2021, at 5:46 PM, matthias rebbe via use-livecode 
>>>  wrote:
>>> 
>>> Another thing. I am not sure if your problems are also a result of the 
>>> following, but you could giv it a try.
>>> 
>>> There was something changed in Standalonebuilder process starting  in LC 
>>> 9.0 or so to fix a problem. But this fix could cause other problems in some 
>>> situation.
>>> While before that fix the main stacks did not receive any openstack and 
>>> closestack messages during standalone build, now with the fixed standalone 
>>> builder they do.
>>> Therefore some lines of code need to be added to avoid this.
>>> 
>>> See here on page 2 for an explanation what you have to add to your 
>>> openstack and closestack handler
>>> https://downloads.livecode.com/livecode/9_0_1/LiveCodeNotes-9_0_1_rc_1.pdf 
>>> 
>>> 
>>> -
>>> Matthias Rebbe
>>> Life Is Too Short For Boring Code
>>> 
>>>> Am 20.03.2021 um 01:31 schrieb ELS Prothero via use-livecode 
>>>> :
>>>> 
>>>> It’s mystifying that all messages seem to come from the rev builder 
>>>> scripts, with no hint of what could be the problem.
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> William Prothero
>> waproth...@gmail.com
>> 
>> 
>> 
>> ___
>> use-l

Re: Help! I'm stuck

2021-03-20 Thread William Prothero via use-livecode
Matthias:
I see that openstack and closestack messages are inhibited during application 
build, using:

on closeStack
if the mode of stack “revStandaloneProgress” > 0 then
exit closeStack
end if
end

So, before I start adding this to all openstack, closestack, scripts of my 12 
stacks, I'm’ wondering if I could mess up the build process by by-passing some 
of the scripts in these handlers. Is there any way to tell more precisely what 
is causing the problem? Any recommendations on strategy? Should I just change 
one stack at a time and look for changes in the error window, or just change 
all them and wonder what affect that would have on the integrity of the build 
process?

Also, opencard scripts are also called when a stack in launched and I wonder if 
those need to be escaped too.

Best,
Bill

> On Mar 19, 2021, at 5:46 PM, matthias rebbe via use-livecode 
>  wrote:
> 
> Another thing. I am not sure if your problems are also a result of the 
> following, but you could giv it a try.
> 
> There was something changed in Standalonebuilder process starting  in LC 9.0 
> or so to fix a problem. But this fix could cause other problems in some 
> situation.
> While before that fix the main stacks did not receive any openstack and 
> closestack messages during standalone build, now with the fixed standalone 
> builder they do.
> Therefore some lines of code need to be added to avoid this.
> 
> See here on page 2 for an explanation what you have to add to your openstack 
> and closestack handler
> https://downloads.livecode.com/livecode/9_0_1/LiveCodeNotes-9_0_1_rc_1.pdf 
> 
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>> Am 20.03.2021 um 01:31 schrieb ELS Prothero via use-livecode 
>> :
>> 
>> It’s mystifying that all messages seem to come from the rev builder scripts, 
>> with no hint of what could be the problem.
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

William Prothero
waproth...@gmail.com



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


Re: LC, Mac Mail & Rules

2021-02-24 Thread William Prothero via use-livecode
I’ve noticed some odd behavior with Apple Mail since I upgraded to Big Sur, 
too. There has been some work on it and I don’t think it’s for the better.

Bill Prothero

> On Feb 24, 2021, at 2:22 PM, Rick Harrison via use-livecode 
>  wrote:
> 
> Thanks for the discussion link.  More confirmation it is a bug in Catalina 
> macOS Mail.
> Unfortunately, their work around for forwarding isn’t a fix.  One would have 
> hoped
> that Apple would have fixed it in the last 8 months, but they haven’t.  :-(
> 
> Thanks,
> 
> Rick
> 
>> On Feb 24, 2021, at 2:08 PM, J. Landman Gay via use-livecode 
>>  wrote:
>> 
>> You're not alone:
>> > >
>> 
>> There are a couple of work-around suggestions there, and a bug report has 
>> been filed. But they're talking about forwarding mail, not auto-responding.
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

William Prothero
waproth...@gmail.com




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


Re: Another question about multiple stack projects

2021-02-16 Thread William Prothero via use-livecode
What I should have done is search the help files first, but I somehow chose 
unhelpful search terms, so didn’t see this until this morning. Sorry.

So it appears that the only purpose of the “Stacks” setting is to set 
properties for each stack that locates them within the particular app 
directory. Very convenient.

For example, suppose one line of the stackfiles property is, by extracting a 
line from “the stackfiles of this stack":
appNavigation-Lib,resources/libStacks/appNavigation-Lib.livecodescript(= 
theSelectedLine)

put specialFolderPath("resources”)&”/“&(item 2 of theSelectedLine) into 
tFilePath
start using tFilePath

I see, in the IDE, anyway, that no matter where I am in the multiple stacks in 
the project, that if I do:
"put the stackfiles of this stack”, I get the list of stackfiles that was 
entered from the settings.

Best.
Bill


> On Feb 16, 2021, at 8:45 AM, Bob Sneidar via use-livecode 
>  wrote:
> 
> Listing them in the stack files gives LC the ability to find them when you 
> refer to them by name only (as opposed to the full path.) In the case of 
> script only Libraries, you can start using them at any time before you make a 
> call to them. For instance, I have a database setup card that configures the 
> database connection when the card is opened. I start using my database 
> library on openCard. 
> 
> Bob S
> 
> 
>> On Feb 15, 2021, at 9:40 PM, William Prothero via use-livecode 
>>  wrote:
>> 
>> Folks:
>> I have a question about multiple stack projects. My project starts with a 
>> splash stack. In the standalone preferences of this stack, I list all stacks 
>> the project uses, including script only stacks I use as libraries. Should I 
>> do a “Start using” on all of these stacks at this point? But I could have 
>> just done a “start using” for the required stacks for each of the other 
>> component stacks when they were first accessed, and got the same result?
>> 
>> I guess my question is: how does the build process make use of the list of 
>> stacks in the splash stack? Are they all built into the project in some way 
>> that doesn’t happen otherwise? I still seem to be required to “Start using” 
>> each of the library stacks anyway.
>> 
>> Best,
>> Bill
>> 
>> William Prothero
>> waproth...@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

William Prothero
waproth...@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


Another question about multiple stack projects

2021-02-15 Thread William Prothero via use-livecode
Folks:
I have a question about multiple stack projects. My project starts with a 
splash stack. In the standalone preferences of this stack, I list all stacks 
the project uses, including script only stacks I use as libraries. Should I do 
a “Start using” on all of these stacks at this point? But I could have just 
done a “start using” for the required stacks for each of the other component 
stacks when they were first accessed, and got the same result?

I guess my question is: how does the build process make use of the list of 
stacks in the splash stack? Are they all built into the project in some way 
that doesn’t happen otherwise? I still seem to be required to “Start using” 
each of the library stacks anyway.

Best,
Bill

William Prothero
waproth...@gmail.com




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


Re: How do I interpret this Build Error dialog?

2021-02-15 Thread William Prothero via use-livecode
Mark and Jacqueline:
Thanks. That’s very helpful!
Bill

> On Feb 15, 2021, at 5:54 PM, Mark Wieder via use-livecode 
>  wrote:
> 
> On 2/15/21 5:29 PM, J. Landman Gay via use-livecode wrote:
>> In Sample Stacks, search for LiveCode Error Lookup. I keep it my Plugins 
>> folder. You can paste the whole list of errors into it and it will tell you 
>> what they mean.
>> However, usually you only need the first line which is where a break would 
>> happen in the IDE. The other lines are, in reverse order, the messages that 
>> led up to the topmost error.
> 
> Actually, in this case the second line has more info.
> Line #1 (error #219: error in function handler) is a more generic error 
> message that I find singularly unuseful.
> Line #2 (error #118: Operators &: error in left operand) gives a more 
> specific reason.
> 
> At any rate, the problem seems to be on line 236 in the function 
> getDesktopFolderPath, and is probably around char 8, although that isn't 
> always accurate.
> 
> The stack frames leading up to the error were triggered by the build process 
> invoking preOpencard:
> 
> preOpenCard
> --> initFirstLoginScreen
> > checkForLastLogInFile
> --> getDesktopFolderPath
> 
> -- 
> 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

William Prothero
waproth...@gmail.com




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


Re: How do I interpret this Build Error dialog?

2021-02-15 Thread William Prothero via use-livecode
Sean:
Thank you, thank you!.
Bill

> On Feb 15, 2021, at 4:14 PM, Sean Cole (Pi) via use-livecode 
>  wrote:
> 
> Hi,
> The error panels show the events in reverse order, so last occurrence first.
> 
> The first number in each line is the error code and the second is the line
> number in the script that failed.
> Here's a list of the error codes:
> https://livecode.fandom.com/wiki/Error_codes
> 
> Going back from line 5 of your error:
> 353 - THe name of the object it enters (stack "loginLib")
> 241 - Handler: error in statement , line 236 of stack "LoginLib"
> 465 - put: error in expression , line 236
> 118 - Operators &: &: error in left operand , line 236
> 219 - Function: error in function handler , line 236 (function
> getDesktopFolderPath)
> 
> So, it's likely a compound problem with lots of things that likely led up
> to the fault. There are more 219 and 241 errors and it starts with a 490
> (repeat: error in statement). Work your way through the error codes and see
> what you find.
> 
> All the best
> Sean
> 
> On Mon, 15 Feb 2021 at 23:24, William Prothero via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Folks:
>> 
>> I have a pretty complex app that I’ve been adding onto for awhile and now
>> I’m getting a seemingly informative error dialog when I try to build it. It
>> works fine in the IDE. The app consists of numerous stacks and libraries
>> launched with a splash stack. I get an error dialog but have no idea how to
>> interpret its info. It’s not clear to me how to interpret the error dialog
>> and what made it fail. It seems to fail at the login stack, which is called
>> when the user clicks the Start button.
>> 
>> Was the failure point at the end of the error message? I haven’t actually
>> tried to build this app for a couple of years and its complexity has grown.
>> All of the stacks in the project have been entered into the “Stacks”
>> section of the standalone properties dialog. I’ve obviously done something
>> wrong and it would help a lot if I could interpret the error message (I
>> hope).
>> 
>> The following two links will display the first part of the error message
>> and the second (scrolled) part.
>> https://www.dropbox.com/s/brlvvtrbb8xeh6j/buildFail-1.png?dl=0 <
>> https://www.dropbox.com/s/brlvvtrbb8xeh6j/buildFail-1.png?dl=0>
>> 
>> https://www.dropbox.com/s/5cyq3huunp7wnl3/buildFail-2.png?dl=0 <
>> https://www.dropbox.com/s/5cyq3huunp7wnl3/buildFail-2.png?dl=0>
>> 
>> Any wisdom on how to proceed would be much appreciated.
>> 
>> Thanks,
>> Bill
>> 
>> William Prothero
>> waproth...@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

William Prothero
waproth...@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


How do I interpret this Build Error dialog?

2021-02-15 Thread William Prothero via use-livecode
Folks:

I have a pretty complex app that I’ve been adding onto for awhile and now I’m 
getting a seemingly informative error dialog when I try to build it. It works 
fine in the IDE. The app consists of numerous stacks and libraries launched 
with a splash stack. I get an error dialog but have no idea how to interpret 
its info. It’s not clear to me how to interpret the error dialog and what made 
it fail. It seems to fail at the login stack, which is called when the user 
clicks the Start button. 

Was the failure point at the end of the error message? I haven’t actually tried 
to build this app for a couple of years and its complexity has grown. All of 
the stacks in the project have been entered into the “Stacks” section of the 
standalone properties dialog. I’ve obviously done something wrong and it would 
help a lot if I could interpret the error message (I hope). 

The following two links will display the first part of the error message and 
the second (scrolled) part.
https://www.dropbox.com/s/brlvvtrbb8xeh6j/buildFail-1.png?dl=0 


https://www.dropbox.com/s/5cyq3huunp7wnl3/buildFail-2.png?dl=0 


Any wisdom on how to proceed would be much appreciated.

Thanks,
Bill

William Prothero
waproth...@gmail.com



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


Re: LC Roadmap

2021-02-15 Thread William Prothero via use-livecode
Jacqueline:
Thanks. Yes, I have it. Haven’t tried it yet. But I’ve downloaded it.
Best,
Bill


> On Feb 15, 2021, at 1:35 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> Do you use his notarization stack? Once you get it set up it's a huge 
> time-saver. No more Terminal commands.
> 
> On 2/15/21 2:21 PM, William Prothero via use-livecode wrote:
>> Codesigning is always a trudge for me because I don’t do it very often and 
>> Apple is regularly changing the parameters. So I also very much appreciate 
>> Matthias’ lesson.
>> Thanks from me too!
>> Bill
> 
> 
> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

William Prothero
waproth...@gmail.com




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


Re: LC Roadmap

2021-02-15 Thread William Prothero via use-livecode
Codesigning is always a trudge for me because I don’t do it very often and 
Apple is regularly changing the parameters. So I also very much appreciate 
Matthias’ lesson.
Thanks from me too!
Bill

> On Feb 15, 2021, at 11:32 AM, Roger Guay via use-livecode 
>  wrote:
> 
> I definitely owe an apology to Matthias Rebbe for not recognizing his 
> outstanding lesson “Codesigning and notarizing your LC standalone for 
> distribution outside the Mac Appstore- “, including the fact of the recent 
> update of Feb 9th. The amount of work involved in creating this lesson is 
> mind-boggling to me.
> 
> Thank you, Matthias!!
> 
> Roger
> 
>> On Feb 14, 2021, at 3:01 PM, Roger Guay via use-livecode 
>>  wrote:
>> 
>> I just noticed that the "Codesigning and Notarizing your LC Standalone etc” 
>> lesson was updated on Feb 9, 2021. Perhaps I misrepresented the real 
>> situation in my previous post.
>> 
>> Roger
>> 
>> 
>>> On Feb 14, 2021, at 2:35 PM, Roger Guay via use-livecode 
>>>  wrote:
>>> 
>>> Well, permit me to chime in here with full knowledge that I may be out of 
>>> date with what’s already available. 
>>> 
>>> Arguably the most important feature of LC is its muliplatformness. 
>>> Recognizing that it is a moving target, We/I need and want up to date easy 
>>> to use lessons on how to build standalones for all the platforms. Since it 
>>> is moving target these lessons should have revision cycles with clear up 
>>> front indication of what OS and LC versions are being  used in each lesson. 
>>> One of the problems I encounter is the bewildering platform jargon in 
>>> existing lessons. I wish more simple language could be used to perhaps 
>>> explain the jargon.
>>> 
>>> I am an Apple user (not a bigot) and it annoys the hell of me that I can no 
>>> longer build distributable standalones for the Mac. It’s not reasonable to 
>>> expect to change Apple, so we need to make it easier for us LC users. I 
>>> briefly looked at the current lesson for this some time ago and at first 
>>> glance it seemed unnecessarily complicated. I admit I might be me at fault 
>>> here but here we are…
>>> 
>>> Just trying to help,
>>> 
>>> Roger
>>> 
 On Feb 14, 2021, at 1:52 PM, Richard Gaskin via use-livecode 
  wrote:
 
 What do you want to learn?
 
 Let's identify topic areas, and then it will become much simpler to sort 
 out how they get addressed.
 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-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

William Prothero
waproth...@gmail.com




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


Re: LC Roadmap

2021-02-14 Thread William Prothero via use-livecode
Jacqueline:
I didn’t know about http://lessons.livecode.com . 
Thank you for letting me know of that resource. It looks very useful and I like 
the user feedback part.

To be clear, it is my intent to stimulate thought toward opportunities, not to 
complain.

In a way, my ignorance of the lessons link illustrates my point. Where is the 
marketing? Why aren’t these contributions mentioned in the “This Week In 
Llivecode” mailing? I am busy with many things other than programming. I read 
all of the emails from this list. Yet, I didn’t know about this compilation. 
These could be promoted/marketed, not only to potential new users, but to 
existing ones. 

I think if folks would check out the example site I mentioned, they would see 
more what I’m suggesting. http://macmost.com 

Andre Garza’s post about his planning to write a book on some aspect of 
Livecode programming got me thinking about this. First, I think writing books 
is useful, but the way many busy folks access information on the internet is in 
more as smaller more targeted bites. I play jazz keyboard. A couple of years 
ago, I subscribed to a site that gave me access to jazz song sheet music 
included in video lessons lasting 30-60 minutes each. At the same time, from a 
couple other  authors, I got regular (about once a week) emails with short free 
improv techniques that took me 5-10 minutes to read, but with offers (at a 
cost) that include more in-depth lessons. I find that I use the short lessons a 
lot and the longer lessons, that I have already paid for with my one year 
subscription, very little if at all. Perhaps I’m unusual with a very short 
attention span, but I suspect I'm more typical. I’m suggesting that there are 
unused marketing and support strategies that could be beneficial to the 
Livecode enterprise. Check out the macmost site to see what I’m talking about.

Peace to you all and thanks for all the help you have given me in my projects,

Be well,
Bill Prothero



> On Feb 14, 2021, at 10:43 AM, J. Landman Gay via use-livecode 
>  wrote:
> 
> There is a whole lot more at http://lessons.livecode.com. While these aren't 
> videos, the amount of info there is impressive and lessons are added all the 
> time.
> 
> Personally I find written instructions much easier to follow and they don't 
> require me to spend extra time watching a video and needing to 
> run/pause/run/search for the section I want to review.
> 
> The lessons site should be prominently displayed in the Help menu.
> 
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On February 14, 2021 11:27:24 AM ELS Prothero via use-livecode 
>  wrote:
> 
>> Curry,
>> Your comments echo some of my experiences with Livecode. In olden times, 
>> when I realized that I could significantly improve my students’ learning by 
>> enlisting computers, I began with HyperCard, went to Supercard, and when it 
>> failed at cross platform, I went to Macromedia Director.  I’ve programmed in 
>> FORTRAN, Pascal. When Adobe bought and killed Director, I switched my coding 
>> to LiveCode.
>> 

William Prothero
waproth...@gmail.com



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


Re: LC Community Ask Password

2021-01-24 Thread William Prothero via use-livecode
I tried it on LC 9.6.2 RC-2 in Big Sur and it worked, but it didn’t put the 
window title on the entry window.
on mouseUp

  ask password "Please log in:" titled "Password Test"

   answer it

end mouseUp


Bill

> On Jan 21, 2021, at 12:35 AM, panagiotis merakos via use-livecode 
>  wrote:
> 
> Hello Bob,
> 
> I just did a quick test in LC 9.6.2 RC-2 and I cannot reproduce this bug. I
> put this code in a button:
> 
> on mouseUp pButtonNumber
>   ask password "Please log in:" titled "Password Test"
> end mouseUp
> 
> I also tried putting this button in a modal stack.
> 
> In both cases, I can type in the ask password dialog, and the OK and Cancel
> buttons do respond.
> 
> Could you file a bug report and attach a sample stack that demonstrates the
> problem, so as we fix it asap?
> 
> Also, what is your MacOS version? I tested on Mojave.
> 
> Kind regards,
> Panos
> --
> 
> On Thu, 21 Jan 2021 at 02:30, Bob Sneidar via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Oddly 9.6.2 RC2 Community DOES solve the Standalone App settings bug I
>> mentioned in another post. This is all Mac BTW.
>> 
>> Bob S
>> 
>> 
>>> On Jan 20, 2021, at 4:21 PM, Bob Sneidar via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>> 
>>> Hi all.
>>> 
>>> Ask Password dialog pops but will not take input, nor can I click the
>> Cancel or OK buttons.
>>> 
>>> V9.6.2 RC2
>>> 
>>> Bob S
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-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

William A. Prothero
https://earthlearningsolutions.org

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


Re: Considering work with livecode server

2021-01-19 Thread William Prothero via use-livecode
Hmmm…. I see:
"Add WebAssembly build target in HTML5 deployment”, in the"team is working on 
right now” category. I guess, given all the delays and getting HTML5 up, I 
won’t hold my breath. But, I’ll certainly be watching for it. Gaads, another 
subscription to purchase. But getting real livecode dynamic features on the web 
would be a game-changer for me. 

Best,
Bill

> On Jan 19, 2021, at 12:50 PM, William de Smet via use-livecode 
>  wrote:
> 
> WebAssembly is on the roadmap.
> https://livecode.com/resources/roadmap/
> 
> 
> 
>> Op 19 jan. 2021 om 20:43 heeft William Prothero via use-livecode 
>>  het volgende geschreven:
>> 
>> Dan:
>> I just did a bit of Googling and wow! It sounds like a capability to compile 
>> to WebAssembly would put LiveCode in the big time. I wonder if there is any 
>> interest from the dev team. Sounds much more useful than HTML5.
>> 
>> Best,
>> Bill
>> 
>>> On Jan 19, 2021, at 11:13 AM, Dan Brown  wrote:
>>> 
>>> When livecode supports WebAssembly as a build target you'll be able to do 
>>> what you've asked
>>> 
>>> On Tue, 19 Jan 2021, 20:46 William Prothero via use-livecode, 
>>> mailto:use-livecode@lists.runrev.com>> 
>>> wrote:
>>> Thanks, all, for your comments. It would sure be nice if there was some 
>>> equivalent to shockwave, back in the days. Of course, downloadable plug-ins 
>>> like shockwave and flash apparently have too many security issues and are 
>>> not allowed anymore. 
>>> 
>>> HTML5 eventually? I assume HTML5 apps would run in a browser.
>>> 
>>> Thanks again,
>>> Bill
>>> 
>>>>> On Jan 19, 2021, at 8:57 AM, Bob Sneidar via use-livecode 
>>>>> mailto:use-livecode@lists.runrev.com>> 
>>>>> wrote:
>>>> 
>>>> If only!
>>>> 
>>>> Bob S
>>>> 
>>>> 
>>>>> On Jan 19, 2021, at 5:56 AM, Andre Garzia via use-livecode 
>>>>> >>>> <mailto:use-livecode@lists.runrev.com><mailto:use-livecode@lists.runrev.com
>>>>>  <mailto:use-livecode@lists.runrev.com>>> wrote:
>>>> 
>>>> A website from 1995
>>>> needs to be just as valid to the browser as one from 2021.
>>>> 
>>>> ___
>>>> use-livecode mailing list
>>>> use-livecode@lists.runrev.com <mailto:use-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://lists.runrev.com/mailman/listinfo/use-livecode>
>>> 
>>> William A. Prothero
>>> https://earthlearningsolutions.org <https://earthlearningsolutions.org/>
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com <mailto:use-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://lists.runrev.com/mailman/listinfo/use-livecode>
>> 
>> William A. Prothero
>> https://earthlearningsolutions.org
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

William A. Prothero
https://earthlearningsolutions.org


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


Re: Considering work with livecode server

2021-01-19 Thread William Prothero via use-livecode
Dan:
I just did a bit of Googling and wow! It sounds like a capability to compile to 
WebAssembly would put LiveCode in the big time. I wonder if there is any 
interest from the dev team. Sounds much more useful than HTML5.

Best,
Bill

> On Jan 19, 2021, at 11:13 AM, Dan Brown  wrote:
> 
> When livecode supports WebAssembly as a build target you'll be able to do 
> what you've asked
> 
> On Tue, 19 Jan 2021, 20:46 William Prothero via use-livecode, 
> mailto:use-livecode@lists.runrev.com>> wrote:
> Thanks, all, for your comments. It would sure be nice if there was some 
> equivalent to shockwave, back in the days. Of course, downloadable plug-ins 
> like shockwave and flash apparently have too many security issues and are not 
> allowed anymore. 
> 
> HTML5 eventually? I assume HTML5 apps would run in a browser.
> 
> Thanks again,
> Bill
> 
> > On Jan 19, 2021, at 8:57 AM, Bob Sneidar via use-livecode 
> > mailto:use-livecode@lists.runrev.com>> 
> > wrote:
> > 
> > If only!
> > 
> > Bob S
> > 
> > 
> > On Jan 19, 2021, at 5:56 AM, Andre Garzia via use-livecode 
> >  > <mailto:use-livecode@lists.runrev.com><mailto:use-livecode@lists.runrev.com 
> > <mailto:use-livecode@lists.runrev.com>>> wrote:
> > 
> > A website from 1995
> > needs to be just as valid to the browser as one from 2021.
> > 
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com <mailto:use-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://lists.runrev.com/mailman/listinfo/use-livecode>
> 
> William A. Prothero
> https://earthlearningsolutions.org <https://earthlearningsolutions.org/>
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com <mailto:use-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://lists.runrev.com/mailman/listinfo/use-livecode>

William A. Prothero
https://earthlearningsolutions.org

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


Re: Considering work with livecode server

2021-01-19 Thread William Prothero via use-livecode
Thanks, all, for your comments. It would sure be nice if there was some 
equivalent to shockwave, back in the days. Of course, downloadable plug-ins 
like shockwave and flash apparently have too many security issues and are not 
allowed anymore. 

HTML5 eventually? I assume HTML5 apps would run in a browser.

Thanks again,
Bill

> On Jan 19, 2021, at 8:57 AM, Bob Sneidar via use-livecode 
>  wrote:
> 
> If only!
> 
> Bob S
> 
> 
> On Jan 19, 2021, at 5:56 AM, Andre Garzia via use-livecode 
> mailto:use-livecode@lists.runrev.com>> wrote:
> 
> A website from 1995
> needs to be just as valid to the browser as one from 2021.
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

William A. Prothero
https://earthlearningsolutions.org


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


Re: Considering work with livecode server

2021-01-18 Thread William Prothero via use-livecode
Richard,
I did understand that the server was pretty much like php, but I didn’t know 
how much beyond that it could go in terms of dynamic interaction with screen 
objects.

The reason I wanted to look into it’s use in a browser is that for education, 
lower level grades use a lot of browser based materials because they don’t 
require kids to download apps and the most disadvantaged of kids can mostly use 
a browser. Also, teachers are pretty much max’d out and want to keep things the 
way students are accustomed. Building a single web-based app that avoids the 
world of all the mobile apps and desktop idiosyncrasies is attractive. My 
experience is that building the app in Livecode is the easy/fun part and 
getting it on the wide variety of platforms (Apple, windows, Chromebooks, 
iPads, the Android variations, etc, etc) is the time-consuming/mind-numbing 
challenge. I have build iOS apps and hate to spend my time fighting the 
deployment issues.

My comments are from the perspective of a guy who is retired, enjoys building 
useful education tools, and gives away my creations for free to pay back the 
National Science Foundation for all the support I got while working. So, I’m 
trying to maximize my satisfaction from this hobby.

I came to Livecode from Director and Shockwave. I love Livecode, but wish it 
could do the same in a browser that it does so well with desktop and apps.

Everybody: Be Well, Be Safe, it’s been a crazy year in the US, and in the world 
too.

Bill

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


Re: LiveCode Advanced Application Architecture eBook price reduced

2021-01-03 Thread William Prothero via use-livecode
Andre,
Thanks for this. I very much agree with you about the need for more Livecode 
books. For example, online education has become a big deal because of the 
pandemic. It won’t go away after it’s over, because media and content are being 
developed that will be applied to support live classes and their teachers. 
Topics that come to mind are how to connect Livecode apps to course management 
systems, how to make information presentation apps that are engaging, with 
elements of reader response and interaction, and ways of reporting to the 
teacher, etc.

I play jazz piano, as an amateur, though. I get emails from several jazz 
teachers that contain free stuff, to initiate subscriptions for more detailed 
instruction, available at their web site. If you could identify challenges that 
developers face and create books that address those challenges, it might work. 
Personally, I find many of the Livecode support dictionary very good at the 
details, but for solving particular higher level problems, it is weak. The 
discussions on this list are very helpful.

Livecode is touted as very easy to get started with. However, building a real 
application is not that easy. Deployment is an ever changing challenge. For 
myself, I have to relearn the deployment techniques every time, because I don’t 
deploy very often. I depend on folks who share their deployment help apps and 
knowledge on this list.

A big challenge is that the technology is constantly changing and keeping 
current is a big challenge. I see that a huge amount of online materials must 
work in a browser, which vastly simplifies cross platform issues. However, 
Livecode will probably need to do a lot more to support browser deployment than 
they have to date. Perhaps a book that addresses web deployment would be very 
popular, especially if it was able to implement some of the features that are 
normally limited to the desktop.

Thanks for reading some of my ramblings.

Good luck, Andre

William Prothero
https://earthlearningsolutions.org



William Prothero
https://earthlearningsolutions.org
> On Jan 3, 2021, at 10:27 AM, Andre Garzia via use-livecode 
>  wrote:
> 
> Kee, Lagi, Chip, and Bob,
> 
> Thanks again for the kind words. I hope you all enjoy the book. :-)
> 
> Let me clarify some things because I can see how people are confused about
> me messaging about the book now. So, the book hasn't changed, this is not
> an update on the content. This was a price reduction I made because I want
> to prepare myself to start selling books on Amazon. You may not be aware
> but if I price the book between 1.99 and 9.99 on Amazon, I get 70%
> royalties. But, if I price it above 9.99, I get only 35%. This means that I
> get more money from pricing it 9.99 than if I price it higher, unless I
> price it much higher. Basically, 9.99 gives the the same amount of
> royalties as if I priced it 20. That is of course only for Amazon. All the
> other players in the market give you 70% regardless of how you price it.
> Amazon makes this rule to force the prices down. And before you think this
> is good, be aware that this makes it a lot harder to make a living out of
> books. Which makes it detrimental to the quality of books being shipped
> since an author can't justify working longer or producing a larger book
> since they won't be able to charge a fair price. But that is publishing
> politics and I won't go too deep into it here, I just thought you folks
> should know.
> 
> So that little campaign was made to:
> 
> * Teach me how to use book brush which is an online tool to create
> specialized artwork for book authors/publishers. I used to make the nice
> art you might have seen on the FB group or the forum.
> * Let me see if people will actually buy a 9.99 book. My leanpub royalties
> page (which has some automatic statistical recommendation in it) was
> telling me to price the book higher than 20.
> * Check if people are OK buying directly from my site, which makes me much
> more confident of the process and in control.
> 
> I'm working towards switching from being a developer to being a writer.
> This is a long process and this was a step forward. The next step is
> producing a new LC book from scratch without relying on Leanpub and making
> it available in multiple stores. It will probably be a short book, very
> focused on some specific topic that I haven't yet decided on.
> 
> I believe that we need more books in our community :-)
> 
> Kind regards
> Andre
> 
>> On Wed, 30 Dec 2020 at 23:54, Lagi Pittas via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> Hi,
>> Sorry maybe it's October 8th  as I think you use American format dates.
>> Lagi
>> On Wed, 30 Dec 2020 at 00:28, Andre Garzia via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>> Hey Friends,
>>> I've reduced the price of my LiveCode eBook to £9.99. This book will
>> teach
>>> you advanced techniques, and contains a ton tips and tricks from a
>> seasoned
>>> LC developer.
>>> 

Re: Design Question

2020-11-20 Thread William Prothero via use-livecode
Scott:
You are absolutely correct. I have noticed, though, that busy profs prefer to 
use apps they are already familiar with and adding an app to look at student 
work for a single assignment would most likely put them off. So, I’m wanting to 
get student work in a format that can be either viewed with common apps (e.g. 
word, excel, etc) but possibly with a custom livecode app as an option.

I’m still working to finish the student part of the app itself, but this design 
rumination is very helpful.
Best,
Bill

William A. Prothero
https://earthlearningsolutions.org

> On Nov 17, 2020, at 4:42 PM, scott--- via use-livecode 
>  wrote:
> 
> For getting it FROM the student, why not just use a livecode stack file. It 
> could contain everything and be highly editable. For returning it TO the 
> student you could use a pdf. 
> --
> Scott Morrow
> 
> Elementary Software
> (Now with 20% less chalk dust!)
> web   https://elementarysoftware.com/
> email sc...@elementarysoftware.com
> booth1-360-734-4701
> ------
> 
>> On Nov 17, 2020, at 11:18 AM, William Prothero via use-livecode 
>>  wrote:
>> 
>> Richard,
>> I kinda like the pdf idea. Seems it would give me a way to encapsulate and 
>> format the text and images and perhaps a fairly defined pdf format would 
>> make it straightforward to edit it using Livecode as well.
>> Best,
>> Bill
>> 
>> William A. Prothero
>> https://earthlearningsolutions.org
>> 
>>> On Nov 17, 2020, at 10:10 AM, Richard Gaskin via use-livecode 
>>>  wrote:
>>> 
>>> William Prothero wrote:
>>> 
>>>> It seems the effort to make this app work with learning management
>>>> systems would be huge, something I’m definitely not up for.
>>> 
>>> It may not be.  I've made standards-compliant courseware in the past (a 
>>> while ago; the data format was XML ), and it wasn't as bad as I'd 
>>> thought.  With so much work on the modern standards I'd imagine they're far 
>>> better documented and based on more common conventions than they were in 
>>> yesteryear.
>>> 
>>> But maybe the key question is: are your customers asking for LMS 
>>> interoperability specifically?
>>> 
>>> In some segments it can make the difference between being a contender and 
>>> not being considered at all.
>>> 
>>> But I've seen many other segments that seem to have abandoned hope of a 
>>> standards-driven world of interoperable courseware, quite happy to kludge 
>>> together whatever they need to eventually arrive at a means of tracking 
>>> assessment.
>>> 
>>> If no one's asking you for LMS compatibility, there would seem to need to 
>>> bother.
>>> 
>>> If PDF suffices, it's certainly easy to do in LC.
>>> 
>>> -- 
>>> 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 Question

2020-11-19 Thread William Prothero via use-livecode
Jim:
What I’m thinking is that my app would allow students to write their text and 
create the images. I would export the “composition” in pdf format. That would 
be imported into the LMS or sent to the teacher external to my app. The teacher 
could then comment on the writing either in the LMS or an email to the student. 
One thing I'm careful of is making it difficult for a student to copy work from 
the web, so I try program to forbid paste operations. All of the figures also 
have the student’s login name on them.

I thank everyone who’s commented on this and in the process I’ve gotten some 
clarity on the best path forward.
Best,
Bill

William A. Prothero
https://earthlearningsolutions.org

> On Nov 17, 2020, at 12:45 PM, Jim Lambert via use-livecode 
>  wrote:
> 
> 
>> The application's core is access to Earth data (that scientists used to 
>> develop the theory of plate tectonics) and capturing and annotating plots 
>> that can be incorporated into student writing.
> 
> If the 'student writing' is created in some other program then wouldn't it be 
> sufficient to allow a student to copy text, data and plots from your program 
> and paste them into whatever writing program the student uses?
> 
> If the 'student writing' is created in your program could their work be 
> exported as PDF that is then imported into the 'learning management system" 
> and/or shared with the teacher?
> 
> Jim Lambert
> ___
> use-livecode mailing list
> use-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 Question

2020-11-17 Thread William Prothero via use-livecode
Richard,
I kinda like the pdf idea. Seems it would give me a way to encapsulate and 
format the text and images and perhaps a fairly defined pdf format would make 
it straightforward to edit it using Livecode as well.
Best,
Bill

William A. Prothero
https://earthlearningsolutions.org

> On Nov 17, 2020, at 10:10 AM, Richard Gaskin via use-livecode 
>  wrote:
> 
> William Prothero wrote:
> 
> > It seems the effort to make this app work with learning management
> > systems would be huge, something I’m definitely not up for.
> 
> It may not be.  I've made standards-compliant courseware in the past (a while 
> ago; the data format was XML ), and it wasn't as bad as I'd thought.  With 
> so much work on the modern standards I'd imagine they're far better 
> documented and based on more common conventions than they were in yesteryear.
> 
> But maybe the key question is: are your customers asking for LMS 
> interoperability specifically?
> 
> In some segments it can make the difference between being a contender and not 
> being considered at all.
> 
> But I've seen many other segments that seem to have abandoned hope of a 
> standards-driven world of interoperable courseware, quite happy to kludge 
> together whatever they need to eventually arrive at a means of tracking 
> assessment.
> 
> If no one's asking you for LMS compatibility, there would seem to need to 
> bother.
> 
> If PDF suffices, it's certainly easy to do in LC.
> 
> -- 
> 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


Design Question

2020-11-16 Thread William Prothero via use-livecode
Folks,
I’m refining an application I used to teach Plate Tectonics when I was a 
working prof. The application’s core is access to Earth data (that scientists 
used to develop the theory of plate tectonics) and capturing and annotating 
plots that can be incorporated into student writing.

I am adding features that give the student (and teacher) more direction about 
how to use the material. The final student product would be some kind of short 
writeup with figures, that presents student results of their exploration using 
the data in the application. The major goal is to have students learn about the 
process of doing science and writing about their results.

However, I am thinking hard about how to proceed. It seems the effort to make 
this app work with learning management systems would be huge, something I’m 
definitely not up for. Yet, an assignment with text and figures needs to be 
packaged in some way that is easy for students to use, but can be transmitted 
to the teacher (who will make comments, assign a grade, and return it to the 
student) in some efficient way. What I’m thinking, at the simplest level, is to 
export the text and figures of the student’s work and let the student create a 
final product using word, Pages, google classroom, or some other application I 
haven’t thought about  but which they would normally have access to.

I’d love to have any of you teachers’ ideas and/or experience with great ways 
to proceed.

Thanks,
Bill

William A. Prothero
https://earthlearningsolutions.org



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


Re: LC Server- Optimum setup

2020-10-19 Thread William Prothero via use-livecode
Thanks, Richard. Good info. I’m not quite ready to jump in on this yet, but 
soon, and probably with Trevore’s Levure app.
Best,
Bill

William A. Prothero
https://earthlearningsolutions.org

> On Oct 19, 2020, at 11:03 AM, Richard Gaskin via use-livecode 
>  wrote:
> 
> prothero wrote:
> 
> > I’ve been thinking about experimenting with Livecode server. I have
> > a vps and root access, but I’m wondering what are the speed and user
> > consequences of installing it at root level, or as a cgi. The cgi is
> > fairly large and I’m concerned about both speed and memory issues when
> > multiple users are accessing it.
> >
> > I know this has been discussed in the past, but would appreciate any
> > advice based on recent experience.
> 
> CGIs are CGIs, whether configured for all users via admin access to Apache 
> config, or for individual users on a shared host via .htacces.
> 
> Also, the size on disk is not reflective of real-world RAM requirements. You 
> can check RAM requirements in Terminal by calling the engine with a simple 
> script using the timing tool located at /usr/bin/time:
> 
>  /user/bin/time -v /path/to/your/lcserver somescript.lc
> 
> The -v flag is for "verbose", listing a wide range of runtime stats including 
> "Maximum resident set size" and "Average resident set size", with "set size" 
> referring to physical RAM used.
> 
> For example, running that on the script I posted earlier for my example CGI 
> yields:
> 
>User time (seconds): 0.02
>   System time (seconds): 0.02
>   Percent of CPU this job got: 97%
>   Elapsed (wall clock) time (h:mm:ss or m:ss): 0:00.04
>   Average shared text size (kbytes): 0
>   Average unshared data size (kbytes): 0
>   Average stack size (kbytes): 0
>   Average total size (kbytes): 0
>   Maximum resident set size (kbytes): 19728
>   Average resident set size (kbytes): 0
>   Major (requiring I/O) page faults: 0
>   Minor (reclaiming a frame) page faults: 1526
>   Voluntary context switches: 1
>   Involuntary context switches: 0
>   Swaps: 0
>   File system inputs: 0
>   File system outputs: 0
>   Socket messages sent: 0
>   Socket messages received: 0
>   Signals delivered: 0
>   Page size (bytes): 4096
>   Exit status: 0
> 
> 
> Separate from anything to do with LC, there is a modest performance 
> difference between using .htacess and making those directives available to 
> all users in Apache config: if you don't enable mod_rewrite, Apache doesn't 
> need to scan folders for .htaccess files.  This is a VERY minor difference, 
> however, and if you need the flexibility of mod_rewrite you should use it.
> 
> But FWIW most production servers set things up in Apache config, and since 
> you're not limited to the issues with shared hosting you might as well do it 
> the standard way.  It's more work, and you'll be using sudo a lot since 
> permissions are tighter.  But for a production server, more restrictive 
> permissions are exactly what we want.
> 
> -- 
> 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: Textsize of label of copied btn changes

2020-10-18 Thread William Prothero via use-livecode
Richard:
I found that when I created a button, the textsize property had not been set, 
even though the IDE showed it to be 13. I then went to the IDE to click the 
size up to `4, then back down to 13 and then, when I did:
put the texsize of btn “mybutton”, it showed the textsize correctly.

It’s just one of those frustrating mysteries one encounters. The copied btn 
textsize was probably picking up the textsize from the fields that I had 
already imported.

I’d have to call it a bug, I guess??

Best,
Bill

William A. Prothero
https://earthlearningsolutions.org

> On Oct 13, 2020, at 10:59 AM, Richard Gaskin via use-livecode 
>  wrote:
> 
> William Prothero wrote:
> 
> > I am copying a button from one card to another. The font size of the
> > label changes from that of the original to a large font and I can’t
> > figure out how to change the textsize of the label. I keep getting an
> > error.
> 
> set the textSize of btn "SoAndSo" to 14
> 
> The curious part is that it changed when you pasted it.  If you have a 
> textSize specified for the card it came from but not the card it was pasted 
> in, that would govern all controls that do not have their own testSize 
> property explicitly set.
> 
> -- 
> 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: SSL cPanel mySql setup

2020-10-16 Thread William Prothero via use-livecode
Sean:
You might find this download interesting, perhaps useful:
http://earthlearningsolutions.org/wp-content/uploads/2018/07/RemoteDbEncryption.livecode.zip
 


It is a demo of AES encryption that I use. The livecode app encrypts it, sends 
to a php file, which decrypts it and posts to a mysql database. You could even 
store the data encrypted if you want, but I like to access the db with 
phpMyAdmin.

Best,
Bill

William A. Prothero
https://earthlearningsolutions.org

> On Oct 16, 2020, at 2:51 AM, matthias rebbe via use-livecode 
>  wrote:
> 
> Hi Sean,
> 
> there was a discussion a few weeks ago with the topic "Strange behavior 
> between Mysql, MariaDB and SSL."
> I am not sure if the information in that discussion will solve your problem.
> 
> Another approach is the following. For security reasons we do not let 
> communicat our LC apps directly with MySQL Databases, if the Database is 
> hosted on a public server.
> 
> We using a Livecode Server Script on the Webserver for doing the complete DB 
> communication.
> Our standalones (Mobile and Desktop) send the requests (password encrypted 
> string) either as POST or GET to the LC Server script. The script encrypts 
> the  request string and executes it. The return from the DB is then returned 
> to our standalone.
> 
> Another way would be to use an LC server api HostM is providing for free.
> https://www.hostm.com/tutorials/livecode/api-mariadb-mysql
> 
> 
> Regards,
> Matthias
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>> Am 16.10.2020 um 10:34 schrieb Pi Digital via use-livecode 
>> :
>> 
>> Hi
>> 
>> I’ve found myself out of my depth and in need of advice. 
>> We have a cPanel webspace with mySQL running on a phpMyAdmin layer within 
>> the cPanel setup. Communicating with it from LC has been a breeze. However, 
>> doing a traffic scan we noticed that our queries and responses from the 
>> database are completely visible. Obviously a high security risk. 
>> 
>> Using an ssl certificate set, how do I implement this? How do I get cPanel 
>> to allow for it and get LC to make use of them when using revOpenDatabase? I 
>> have the useSSL flag set to Boolean ‘true’. I’ve tried using the set 
>> certificates pointing it at the three ssl files. But the data still is fully 
>> readable as plaintext in both direction when checked by our traffic scanner. 
>> 
>> Thanks
>> 
>> Sean
>> 
>> ___
>> use-livecode mailing list
>> use-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: Textsize of label of copied btn changes

2020-10-13 Thread William Prothero via use-livecode
Richard:

After the button is copied to the destination card, I do:

set the textsize of btnRef to the textsize of srcBtnRef
the contents of btnRef is:

btn "doNext2" of card "WhatsTheMystery-2" of stack 
"/Users/AfilePath/PlateTectonics.livecode"

srcBtnRef is pretty much the same thing with the card that holds the object 
library.

It has no effect. But then, I’ve been known to screw up these references, but 
since the copy works, I think it’s ok.

What’s odd, is that it seems to be picking up the fontsize of some of the other 
fields on the destination card. So, for now, I’ve given up and use a field for 
a button, which I like better anyway. I’ll look at this again to see if I made 
a stupid mistake.

Best,
Bill

William A. Prothero
https://earthlearningsolutions.org

> On Oct 13, 2020, at 10:59 AM, Richard Gaskin via use-livecode 
>  wrote:
> 
> William Prothero wrote:
> 
> > I am copying a button from one card to another. The font size of the
> > label changes from that of the original to a large font and I can’t
> > figure out how to change the textsize of the label. I keep getting an
> > error.
> 
> set the textSize of btn "SoAndSo" to 14
> 
> The curious part is that it changed when you pasted it.  If you have a 
> textSize specified for the card it came from but not the card it was pasted 
> in, that would govern all controls that do not have their own testSize 
> property explicitly set.
> 
> -- 
> 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


Textsize of label of copied btn changes

2020-10-13 Thread William Prothero via use-livecode
I am copying a button from one card to another. The font size of the label 
changes from that of the original to a large font and I can’t figure out how to 
change the textsize of the label. I keep getting an error.

I’m probably missing something, but …..

How do I change the textsize of the font in the label of a button?

Tnx,
Bill

William A. Prothero
https://earthlearningsolutions.org


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


Re: Anyone archived the information from http://andregarzia.com/async.irev

2020-10-11 Thread William Prothero via use-livecode
Matthias:
Try: 
https://use-livecode.runrev.narkive.com/faoKGyaT/revserver-tips-spreading-the-load-or-why-wise-developers-use-asynchronous-workflows
 

Bill

William A. Prothero
https://earthlearningsolutions.org

> On Oct 11, 2020, at 2:25 AM, matthias rebbe via use-livecode 
>  wrote:
> 
> Hi,
> 
> a very long time ago Andre Garzia posted some useful information about how to 
> use (Livecode) server processes effectively. 
> Unfortunately the link to that information 
> 
> "Spreading the load or why wise developers use asynchronous workflows"
> http://andregarzia.com/async.irev
> 
> is not working anymore.
> 
> Did someone archive that information and is willing to share it? I really 
> would appreciate that.
> 
> 
> Regards,
> Matthias
> 
> 
> 
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
> 
> ___
> use-livecode mailing list
> use-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: Basic question about behaviors

2020-08-26 Thread William Prothero via use-livecode
Thanks, Paul. That worked.
Bill

William A. Prothero
https://earthlearningsolutions.org

> On Aug 25, 2020, at 8:03 PM, Paul Hibbert via use-livecode 
>  wrote:
> 
> Bill, try this in the behaviour button script:
> 
> on mouseUp
>  put the long name of this me into theName  —theName will contain the long 
> name of the behaviour button.
> end mouseUp
> 
> put this me into theName - would put the value contained in the text property 
> of the behaviour button into theName. In standard, default and rectangle 
> buttons we don’t normally use the text property, but there’s nothing stopping 
> you from using it if you wish, you just need to populate it first. :)
> 
> Paul
> 
>> On 25Aug, 2020, at 15:48, William Prothero via use-livecode 
>> mailto:use-livecode@lists.runrev.com>> wrote:
>> 
>> on mouseUp
>>  put  this me into theName  —theName is blank.
>> 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


___
use-livecode mailing list
use-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: Basic question about behaviors

2020-08-25 Thread William Prothero via use-livecode
I assumed the script would be:
on mouseUp
   put  this me into theName  —theName is blank.
end mouseUP

However, it gave me a blank. 

I found that this works, though.
on mouseUP
   put the exectionContext into theName
end mouseUp

Thanks,
Bill

William A. Prothero
https://earthlearningsolutions.org

> On Aug 25, 2020, at 9:40 AM, Sean Cole (Pi) via use-livecode 
>  wrote:
> 
> I LOVE 'this me'. This extraordinary use of coding language is truly where
> LC  shines and why I love it so much, - sometimes. [sigh]
> 
> Sean
> ___
> use-livecode mailing list
> use-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: Playing movies in LC_ Docs??

2020-08-20 Thread William Prothero via use-livecode
Thank you, Paul!

William A. Prothero
https://earthlearningsolutions.org

> On Aug 20, 2020, at 3:38 PM, Paul Dupuis via use-livecode 
>  wrote:
> 
> Yes, there is a lot of information that circulates on the forums or lists or 
> in people's head that probably should be in the LC documentation
> 
> In the LC9.x.x series, the Player supports any audio or video formats 
> supported by Apple Video Foundation (AVF) on macOS - google the apple 
> developer docs for AVF formats supported by macOS version. The Player 
> supports any audio of video formats supported by DirectShow on Windows. 
> Google DirectShow formats supported to find those.
> 
> NOTE while there is over lap, there are also formats supported only on one 
> platform or the other.
> 
> Also, unfortunately, if you are planning on doing anything more complex that 
> placing a video in a player and letting the user play it, you should search 
> the LiveCode quality center for player bugs - there are many dozens. Some 
> minor, some more serious.
> 
> 
> 
> On 8/20/2020 6:15 PM, William Prothero via use-livecode wrote:
>> Folks:
>> I’m building an app that needs to play movies. It’s a desktop app that I 
>> need to work on Mac and Windows. But, when looking at the dictionary and the 
>> lessons, all I get is references to Quicktime and the dictionary is 
>> hopelessly uninformative about what formats are required.
>> 
>> I haven’t done this in a while. But, when I searched my emails from the 
>> users list, the most recent reference I have is 2016. What the heck? The 
>> dictionary entries are ancient and the lesson is totally useless. Sorry if 
>> I’m being critical about this, but “what the heck is up with movie 
>> players??”. Have I missed something? I really hope so.
>> 
>> Best,
>> Bill
>> 
>> William A. Prothero
>> https://earthlearningsolutions.org
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Playing movies in LC_ Docs??

2020-08-20 Thread William Prothero via use-livecode
Folks:
I’m building an app that needs to play movies. It’s a desktop app that I need 
to work on Mac and Windows. But, when looking at the dictionary and the 
lessons, all I get is references to Quicktime and the dictionary is hopelessly 
uninformative about what formats are required.

I haven’t done this in a while. But, when I searched my emails from the users 
list, the most recent reference I have is 2016. What the heck? The dictionary 
entries are ancient and the lesson is totally useless. Sorry if I’m being 
critical about this, but “what the heck is up with movie players??”. Have I 
missed something? I really hope so.

Best,
Bill

William A. Prothero
https://earthlearningsolutions.org


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


Re: Integrating Desktop or mobile application with LMS using LTI 1.3

2020-08-05 Thread William Prothero via use-livecode
Martin,
I’m very glad you are tackling this issue. It was discussed a couple of years 
ago, but nothing seemed to come of it. It’s even more relevent now with so much 
distance learning.

I’m very interested in what you come up with.

Best,
Bill

William Prothero
http://earthlearningsolutions.org

> On Aug 5, 2020, at 6:16 AM, Martin Koob via use-livecode 
>  wrote:
> 
> Hi all.
> 
> Thanks for the responses.  I am still actively working on this.  
> 
> I have hired a summer intern. Molly,  to work on this.  She has been getting 
> up to speed on LiveCode and LTI 1.3 and now she is turning her attention to 
> working on a proof of concept stack to connect with an LMS system and send 
> commands and receive responses and process them.  
> 
> Indeed we have found that LTI 1.3 is supported by many LMS’s to varying 
> degrees and some still just support LTI 1.1 currently. (There is a LTI 2.0 
> but that is a deprecated standard. 
> http://www.imsglobal.org/lti-security-announcement-and-deprecation-schedule)  
> The LMSs we have looked at also have their own APIs which seem to have 
> features beyond what the LTI feature set is but still looking at this. 
> 
> I am not at the point yet where I can open source it and I am not really sure 
> how to go about that. (Don’t know how I would sell it either but probably not 
> much of a market for it.)  I have my main app on GIT using Monte’s lcVCS but 
> if I did want to go open source with this library I want to to do something 
> simpler like a script only stack library and maybe do a Demo app based on 
> Trevor’s Levure App Framework 
> https://livecode.com/products/livecode-platform/levure/ to make it easier to 
> use git.   Does this sound like a good approach?
> 
> We are also looking for a way to access a sandbox with one of the LMS’s to 
> test the proof of concept app against.  If anyone has info on that that would 
> be appreciated.
> 
> Martin
> 
> 
>> On May 27, 2020, at 5:25 AM, Håkan Liljegren via use-livecode 
>>  wrote:
>> 
>> I don't think LTI is dead at all, most mayor LMSs support LTI today in one 
>> way on another. I'm also looking into this as we are using the Canvas LMS at 
>> our university (where I have my day-work) so I'm definitely interested in 
>> some participation in a LiveCode LTI library. I've just started my work so 
>> no code yet though...
>> 
>> Best wishes,
>> 
>> Håkan
>>> On 27 May 2020, 01:34 +0200, William Prothero via use-livecode 
>>> , wrote:
>>> Martin and Peter:
>>> I am retired, but still creating one (big) educational application. I 
>>> thought the LMS integration idea had died a death by silence, so I am so 
>>> glad you are looking into this. I’m very interested, but have not put forth 
>>> any effort in this direction.
>>> 
>>> Please keep me informed about what you find.
>>> Best,
>>> Bill
>>> 
>>> William A. Prothero
>>> https://earthlearningsolutions.org
>>> 
>>>> On May 25, 2020, at 3:28 PM, Peter Bogdanoff via use-livecode 
>>>>  wrote:
>>>> 
>>>> Hi Martin,
>>>> 
>>>> I’ve just begun looking into this myself, so I’m also interested in what 
>>>> anybody knows about this.
>>>> 
>>>> Peter Bogdanoff
>>>> ArtsInteractive
>>>> 
>>>> 
>>>>> On May 25, 2020, at 3:05 PM, Martin Koob via use-livecode 
>>>>>  wrote:
>>>>> 
>>>>> Hi list
>>>>> 
>>>>> I have been researching how to integrate a desktop application created 
>>>>> with LiveCode with a learning Management system (LMS) like Brightspace by 
>>>>> D2L, Moodle, Canvas etc. Last time I looked at this SCORM was the 
>>>>> standard with TinCan( aka xAPI) as a potential successor. This time 
>>>>> around I found those seem to have been superseded by LTI 1.1 going to LTI 
>>>>> 1.3.
>>>>> 
>>>>> In the documents I have found I see that one of the advantages of LTI 1.3 
>>>>> is that it can be used with desktop and mobile apps. LTI 1.1 only worked 
>>>>> with web based applications.
>>>>> 
>>>>> " Mobile Ready—The model is independent of web browsers, a better 
>>>>> solution for server-to-server, native desktop and mobile applications.”
>>>>> https://www.imsglobal.org/why-platforms-and-tools-should-adopt-lti-13 
>>>>> <https://www.imsglobal.org/why-platforms-and-tools-should-adopt-lti-13>
>>>>> 
&g

Re: Live code server with Debian 8 Jesse

2020-07-15 Thread William Prothero via use-livecode
Hery:
I know that I would appreciate this. I have been at the periphery of deciding 
to mess with the livecode server, and a good tutorial that is up to date would 
be very helpful. My server is on Centos 7, and I would probably debug locally 
on my Apple using MAMP, though. But, before I invest any time on it, I would 
want to make sure I could get it working on my LiquidWeb (CentOS) server.

Best,
Bill

William A. Prothero
https://earthlearningsolutions.org

> On Jul 14, 2020, at 9:03 AM, Heriberto Torrado via use-livecode 
>  wrote:
> 
> Thanks Richard, 
> 
> I'll do it and I'll create an English version of the article. 
> 
> Best, 
> 
> Hery 
> 
> El 13-07-2020 20:18, Richard Gaskin via use-livecode escribió:
> 
>> Good tutorial, Heriberto:
>> 
>>> I use Livecode server on several Linux machines:
>>> 
>>> Centos 7 / 8 and Ubuntu 14/16/18.
>>> 
>>> I didn't need 32bits libraries.
>>> 
>>> I created a brief installation tuto in my blog:
>>> 
>>> https://www.hermanotemblon.com/instalacion-de-livecode-server-en-ubuntu/
>>> 
>>> It is in Spanish, but you could use Google translator.
>> 
>> If you put those individual bash statements together into an executable 
>> script file you'd have a pretty handy installer.
>> 
>> --
>> 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: [off-topic-ish] do you prefer LC-related content as books or video courses?

2020-07-08 Thread William Prothero via use-livecode
FYI, I’ve found some of the MovAvi  apps to be 
good and very inexpensive. That said, I’m not doing a lot of video editing 
these days, but found the video editing app to be easier to use than iMovie. I 
used Final Cut Pro, but didn’t renew when Apple went to 64bit only.

Best,
Bill

William A. Prothero
https://earthlearningsolutions.org

> On Jul 8, 2020, at 11:13 AM, Stephen Barncard via use-livecode 
>  wrote:
> 
> I prefer video, but I feel demonstrations should have some production value
> other that just a screen share.
> Indicators, motion graphics, etc and not just a guy and his desktop.  And
> EDITING!!!
> I'm a Final Cut Pro video guy these days and have ALL the groovy plugins
> so I'm not being fair I guess.
> 
> iMovie is far better these days that it used to be, but strangely very
> difficult to upgrade an iMovie package to Final Cut, once one is there.
> Roadblocks everywhere. Typical Apple %$#%#%#$%#$.
> 
> sqb
> --
> Stephen Barncard - Sebastopol Ca. USA -
> mixstream.org
> 
> 
> On Wed, Jul 8, 2020 at 10:36 AM Jim Lambert via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Hi André,
>> 
>> I previously always favored printed books.
>> 
>> But now I prefer digital materials that are a combination of text (with
>> copiable code!), interactive elements, and supplementary video.
>> As Richard pointed out LC itself provides "the many learning benefits of
>> direct engagement with interactive media.”
>> 
>> IMO, Video is most appropriate when used to convey visual, spatial and
>> temporal examples. It’s can also provide a bit of a human touch to the
>> instruction, even though it’s utterly mechanical.
>> 
>> So, yeah, I like a combo.
>> 
>> Hope this helps!
>> 
>> Jim Lambert
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-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: What the heck? Writing and reading ios files??

2020-06-25 Thread William Prothero via use-livecode
Jacqueline:
Thanks for responding. I am really stuck on this. 

I can write the file, and get a list of the files I write, but when I try to 
read the file using the same code to create the filepaths, etc, the read 
routine says the file doesn’t exist. It all works in the dev environment. I had 
used a “_” char in the filenames, so I removed it. The read routine can’t find 
the file. Very wierd.

I’m going to try to make a very simple test case that I can run on my phone and 
post it, but I’m going to take a break. I’ve posted my file reading and writing 
code here, but there is probably too much to go through. 

Thanks for responding,
Bill


--saves an arbitrary array to the waterdetective local storage folder
--fname is the name of the db, tNameExt -"_Wkng" for added files, or "_Dwnld" 
for downloaded files.
on saveArrayToLocal fName,tArray
   put fixUpFName(fName) into fName
   if fname contains "meterReadingsA" then
  --breakpoint
   end if
   if the last char of fName is cr then
  delete the last char of fName
   end if
   put getPathToUserDocuments() into tFloc
   put tFloc into tFolder
   --put tFloc&"/"&"waterdetective" into tFolder
   checkCreateFolder tFolder
   put tFolder&"/" into tDataFile
   delete file tDataFile
   put arrayEncode(tArray) into temp
   put base64encode(temp) into tData
   put tData into URL ("binfile:")
   --put tData into URL ("file:")
   wait 2 seconds
   --This is for testing with debug
   if there is a file tDataFile then
  put "Yes" into x
  put tDataFile into theLocalPath
   else
  put "No" into x
   end if
end saveArrayToLocal


on deleteLocalTempFiles tFileNameAddon
   put checkCreateLocalFolder() into tFolderPath
   put getTheLocalFiles() into tFiles
   repeat for each line tFile in tFiles
  put tFile into theFileToDelete
  if not (char 1 of theFileToDelete is ".") then
 put tFolderPath&"/" into xFilePath
 delete file xFilePath
  end if
   end repeat
end deleteLocalTempFiles

function getTheLocalFiles
   put checkCreateLocalFolder() into tFolderPath
   set the defaultFolder to tFolderPath
   put files(tFolderPath) into tFiles
   return tFiles
end getTheLocalFiles

function isThereALocalFile fName
   put fixUpFName(fName) into fName
   put getPathToUserDocuments() into tFloc
   put tFloc&"/" into tDataFile
   if there is a file tDataFile then
  return TRUE
   else
  return FALSE
   end if
end isThereALocalFile

function fixUpFName fName
   replace "_" with "xx" in fName
   return fName
end fixUpFName


--creates local folder and returns the folderPath
function checkCreateLocalFolder tFolder
   put getPathToUserDocuments() into tFloc
   if tFolder = "" then
  return tFloc
  exit checkCreateLocalFolder
   end if
   put tFloc&"/" into tFolderPath
   checkCreateFolder tFolderPath
   return tFolderPath
end checkCreateLocalFolder

--retrieves an arbitrary array from the waterdetective local storage folder
function getArrayFromLocal fName
   put fixUpFName(fName) into fName
   if fname contains "meterReadingsA" then
  --breakpoint
   end if
   put getPathToUserDocuments() into tFloc
   put tFloc&"/" into tFile
   put isThereALocalFile(fName) into isAFile
   if isAFile is TRUE then
  put URL ("binfile:") into temp
  --put URL ("file:") into temp
  put base64decode(temp) into temp
  put arrayDecode(temp) into tArray
   else
  return "Can't find file."
   end if
   return tArray
end getArrayFromLocal

on deleteLocalFile fName
   put fixUpFName(fName) into fName
   put getPathToUserDocuments() into tFloc
   put tFloc&"/"&"waterdetective/" into tFile
   if there is a file tFile then
  delete file tFile
   end if
end deleteLocalFile

--tFolder is the complete path to the folder to be tested
on checkCreateFolder tFolder
   if there is not a folder tFolder then
  create folder tFolder
   end if
end checkCreateFolder

function getPathToUserDocuments tFolder
   put specialFolderPath("documents") into tPath
   if the environment contains "development" then
  put tPath&"/waterdetective" into tPath
   end if
   if tFolder = "" then
  return tPath
   else
  put tPath&"/" into tPath
   end if
   return tPath
end getPathToUserDocuments

William A. Prothero
https://earthlearningsolutions.org

> On Jun 24, 2020, at 9:22 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> Mobile is case-sensitive, desktop isn't. The "documents" folder should be all 
> lower case.
> 
> If that's not the problem then show us the lines of script that both create 
> the file path and retrieve it.
> 
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On June 24, 2020 10:06:45 PM prothero--- via use-livecode 
>  wrote:
> 
>> Added info:
>> I’ve tried putting the files in “cache”, in the “Documents” folder directly, 
>> and using
>>> put URL ("file:")
>> to store the data. Didn’t change anything.
>> I also looked at the lesson on reading and writing 

Re: Chromebook apps?

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

William A. Prothero
https://earthlearningsolutions.org

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


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


Re: Chromebook apps?

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

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

William A. Prothero
https://earthlearningsolutions.org

> On Jun 22, 2020, at 10:05 AM, Colin Holgate via use-livecode 
>  wrote:
> 
> Would HTML5 be a better option?
> 
> 
>> On Jun 22, 2020, at 10:51 AM, prothero--- via use-livecode 
>>  wrote:
>> 
>> Folks:
>> A LOT of elementary school teachers are using Chromebooks to teach online. 
>> So… I am wondering what the current situation is with Android (?) apps on 
>> Chromebooks.
>> 
>> Is anybody developing apps for Chromebooks? Are there gothchas? Any pointers 
>> to online Chromebook specific docs? I may invest in a Chromebook, for 
>> testing, but would like to scope out the landscape before I waste my time.
>> 
>> Thanks for any offerings.
>> Best,
>> Bill
>> 
>> William A. Prothero
>> Santa Barbara, CA. 93105
>> http://earthlearningsolutions.org/
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: Set Line color in dG?

2020-06-16 Thread William Prothero via use-livecode
Zryp:
Ah, now I get it.  Thanks for your patience. 
Best,
Bill

William A. Prothero
https://earthlearningsolutions.org

> On Jun 16, 2020, at 2:11 PM, zryip theSlug via use-livecode 
>  wrote:
> 
> Assuming the lesson you have taken in example is the following:
> http://lessons.livecode.com/m/datagrid/l/7332-how-can-i-colorize-individual-lines-in-a-table
> 
> Code for coloring rows is located in the button "My column default
> behavior".
> The code you shared is located in the "toggle line 3 color" but it is not
> enough for coloring a datagrid row. Having a row in color is not a standard
> datagrid feature. So that is the reason you have to change the  "default
> column" behavior script of your datagrid.
> 
> Do you have copied the  "My column default behavior" button in your project
> and if yes, do you have linked your datagrid to this button by using the
> code?
> 
> set the dgProp["default column behavior"] of grp "myDatagrid" to the long
> id of btn " My column default behavior " or what ever you named your column
> behavior script button.
> 
> where  "myDatagrid" is the name of your datagrid.
> 
> Hope I'm more clear in my explanation.
> 
> 
> Best Regards,
> 
> On Tue, Jun 16, 2020 at 10:08 PM Prothero-ELS via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Zryp,
>> Crap, accidentally sent the response without finishing.
>> 
>> I was checking that the code in my test button was actually talking to the
>> datagrid in question, and it returned the correct values, so I assumed it
>> was.
>> 
>> I don’t understand how “myBtn” would participate. I need to change colors
>> from some other script.
>> 
>> Best,
>> Bill
>> 
>> William Prothero
>> https://earthlearningsolutions.org
>> 
>>> On Jun 16, 2020, at 1:04 PM, Prothero-ELS <
>> proth...@earthlearningsolutions.org> wrote:
>>> 
>>> Zryp,
>>> What I wanted to do is make a distinction between data that was
>> retrieved from a database and data that was entered but not yet stored. A
>> datagrid is. Way overkill for what I’m doing, but  the button that
>> accesses the datagrid data to get the specific line is for testing only.
>>> 
>>> William Prothero
>>> https://earthlearningsolutions.org
>>> 
>>>> On Jun 16, 2020, at 12:52 PM, zryip theSlug via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>>> 
>>>> Bill,
>>>> 
>>>> The example you mention is probably using a custom column behavior
>> script
>>>> for accomplishing this.
>>>> Do you have copied the button in your project? The button must be
>> linked to
>>>> your datagrid by using the following code:
>>>> 
>>>> set the dgProp["default column behavior"] of grp "myDatagrid" to the
>> long
>>>> id of btn "myBtn"
>>>> 
>>>> 
>>>> Best Regards,
>>>> 
>>>> 
>>>>> On Tue, Jun 16, 2020 at 8:55 PM William Prothero via use-livecode <
>>>>> use-livecode@lists.runrev.com> wrote:
>>>>> 
>>>>> Folks:
>>>>> I’m having trouble getting the line color of a dataGrid to change. The
>>>>> lessons shows a very simple tutorial and the download example works.
>>>>> However, in my application, it doesn’t.
>>>>> 
>>>>> The code is:
>>>>> on mouseup
>>>>> 
>>>>>  put the dgDataOfLine[3] of group "meterReadings" of this cd into
>>>>> theDataA
>>>>> 
>>>>>  put not theDataA["line has error"] into theDataA["line has error"]
>>>>> 
>>>>>  set the dgDataOfLine[3] of group "meterReadings" of this cd to
>> theDataA
>>>>> 
>>>>> end mouseup
>>>>> 
>>>>> I get the expected values for the line shown on the datagrid, but the
>>>>> color doesn’t change. I’m running Catalina 10.15.5 on a pretty new Mac
>>>>> laptop. I’m using livecode 9.6.0 Business.
>>>>> 
>>>>> The mystery is that the downloaded example works as expected, but not
>> on
>>>>> my app.
>>>>> 
>>>>> Have I missed something?
>>>>> 
>>>>> Best,
>>>>> Bill
>>>>> 
>>>>> 
>>>

Set Line color in dG?

2020-06-16 Thread William Prothero via use-livecode
Folks:
I’m having trouble getting the line color of a dataGrid to change. The lessons 
shows a very simple tutorial and the download example works. However, in my 
application, it doesn’t. 

The code is:
on mouseup

put the dgDataOfLine[3] of group "meterReadings" of this cd into theDataA

put not theDataA["line has error"] into theDataA["line has error"]

set the dgDataOfLine[3] of group "meterReadings" of this cd to theDataA

end mouseup

I get the expected values for the line shown on the datagrid, but the color 
doesn’t change. I’m running Catalina 10.15.5 on a pretty new Mac laptop. I’m 
using livecode 9.6.0 Business.

The mystery is that the downloaded example works as expected, but not on my 
app. 

Have I missed something?

Best,
Bill


William A. Prothero
https://earthlearningsolutions.org


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


Zoom or others-and Livecode

2020-06-05 Thread William Prothero via use-livecode
Folks:
I’m curious if anybody has explored a way to interact over one of the online 
sharing resources, like Zoom of Google Groups, to interface with livecode apps. 
There is so much going on with folks trying to continue to teach during the 
pandemic, that a connection of one of these resources to livecode could be very 
useful.

FYI: I really love the ideas at this site, but they’re not online:
https://www.teachinteract.com/c/index.web?s@Spax93mIMdBJQ 


Best,
Bill

William A. Prothero
https://earthlearningsolutions.org

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


Re: Map Widget - how does it actually work?

2020-05-29 Thread William Prothero via use-livecode
Graham:
Here is a link to an example that I, with lots of help from Hermann created. 
Maybe it will be useful. All done in livecode, so it should work. Haven’t tried 
it since 2017, tho.
Bill

https://www.dropbox.com/s/kg5l80bi82u1sap/google-maps-demo.livecode?dl=0 


William A. Prothero
https://earthlearningsolutions.org

> On May 25, 2020, at 1:57 PM, Graham Samuel via use-livecode 
>  wrote:
> 
> Back to my problems with inadequate documentation on widgets. The Map widget 
> is probably very powerful, but the Dictionary entry simple tells you the 
> names of the parameters. I can’t work out anything about the format of the 
> data you can feed in, or what it looks like when it comes out. There isn’t 
> even enough info to start a meaningful experiment, IMHO.
> 
> Does anyone know of a source of helpful documentation on this? I am as ever 
> interested in the iOS version.
> 
> Thanks for any info.
> 
> Graham
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


Re: Integrating Desktop or mobile application with LMS using LTI 1.3

2020-05-26 Thread William Prothero via use-livecode
Martin and Peter:
I am retired, but still creating one (big) educational application. I thought 
the LMS integration idea had died a death by silence, so I am so glad you are 
looking into this. I’m very interested, but have not put forth any effort in 
this direction.

Please keep me informed about what you find.
Best,
Bill

William A. Prothero
https://earthlearningsolutions.org

> On May 25, 2020, at 3:28 PM, Peter Bogdanoff via use-livecode 
>  wrote:
> 
> Hi Martin,
> 
> I’ve just begun looking into this myself, so I’m also interested in what 
> anybody knows about this.
> 
> Peter Bogdanoff
> ArtsInteractive
> 
> 
>> On May 25, 2020, at 3:05 PM, Martin Koob via use-livecode 
>>  wrote:
>> 
>> Hi list
>> 
>> I have been researching how to integrate a desktop application created with 
>> LiveCode with a learning Management system (LMS) like Brightspace by D2L, 
>> Moodle, Canvas etc.  Last time I looked at this SCORM was the standard with 
>> TinCan( aka xAPI) as a potential successor.   This time around I found those 
>> seem to have been  superseded by LTI 1.1  going to LTI 1.3.
>> 
>> In the documents I have found I see that one of the advantages of LTI 1.3 is 
>> that it can be used with desktop and mobile apps.  LTI 1.1 only worked with 
>> web based applications.
>> 
>> " Mobile Ready—The model is independent of web browsers, a better solution 
>> for server-to-server, native desktop and mobile applications.”
>> https://www.imsglobal.org/why-platforms-and-tools-should-adopt-lti-13 
>> 
>> 
>> I am looking for examples of people doing this but have not found any 
>> online.(I don’t want to spend time on idly ddl  I looks like it would be 
>> possible to use it in an LiveCode application.  It uses oAuth 2 for 
>> authentication and JSON for messages both of which are available on the the 
>> latest version of LiveCode.
>> 
>> First I just want to confirm it has been done for a desktop application in 
>> general so I know that is a viable approach for integrating an App into an 
>> LMS.
>> 
>> Second I wonder if people have done it using LiveCode.
>> 
>> Thanks
>> 
>> 
>> 
>> Martin Koob
>> 
>> ___
>> use-livecode mailing list
>> use-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: Is it possible to get the clicked cell for a table field, if the table is empty?

2020-05-02 Thread William Prothero via use-livecode
Paul:
Well, I’ve gotten so many good tips from Mike. He is amazing! I never would 
have found that one.

Yes, it does actually work.

Thanks!
Bill

William A. Prothero
https://earthlearningsolutions.org

> On May 2, 2020, at 5:38 PM, Paul Hibbert via use-livecode 
>  wrote:
> 
> Mike Bonner posted this back on the 14th February 2020…
> 
> Found an interesting behavior.. I was trying to set up a custom control
> that keeps track of the current row and column and put the script in the
> group, but rawkeyup or rawkeydown messages never reach the group.  I'm
> wondering if its because the message is sent to the figmentary popup field
> rather than the table field, and that the popup is not part of the group.
> But "the target" refers to the table field itself, so i'm not sure thats
> whats happening.  Either way.. The following script works when put into a
> card or stack, NOT group, and not in the table field itself.  Kinda freaky
> that the message is sent, just not to where I expect, despite "the target"
> still pointing back at the table field.
> 
> on mouseup
>  getline
>  pass mouseup
> end mouseup
> on rawkeyup
>  getline
>  pass rawkeyup
> end rawkeyup
> 
> command getline
>  if the short name of the focusedobject contains "revCell-" then
>  put the short name of the focusedobject into tName
>  replace "revCell-" with empty in tname
>  set the cCol of the target to item 1 of tName
>  set the cRow of the target to item 2 of tName
>  end if
> end getline
> 
> I just tried a quick test and tName has the cell row and column.
> 
> Paul
> 
>> On May 1, 2020, at 22:21, William Prothero via use-livecode 
>>  wrote:
>> 
>> Folks:
>> I have an app that requires that I be able to get the cell row and column 
>> when I click on the cell. I know a dataGrid can do this, but is it possible 
>> with a table field? I know I can get the clicked line, but what about the 
>> cell, when the table is empty.
>> 
>> I use, to get the line (from the lessons), but it only returns the line 
>> number: 
>> on mouseUp
>> 
>> put the clickline into msg
>> 
>> put return & value (the clickline) after msg
>> 
>> set the itemdelimiter to tab
>> 
>> put return & item 1 of value (the clickline) && item 2 of value (the 
>> clickline) after msg
>> 
>> end mouseUp
>> 
>> Tnx for any suggestions.
>> Bill
>> 
>> William A. Prothero
>> https://earthlearningsolutions.org
>> 
>>> On May 1, 2020, at 5:49 PM, Bob Sneidar via use-livecode 
>>>  wrote:
>>> 
>>> Hi all. 
>>> 
>>> I’m gonna say that script only stacks cannot have behaviors eh? Reason is, 
>>> I’d like to move my nested data grid behavior to a script only stack, but 
>>> it occurs to me this might break the datagrid, since it’s next level 
>>> behavior is the old data grid behavior button (not sure why that’s still 
>>> there) then the actual script only datagrid library. 
>>> 
>>> Bob S
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-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


Is it possible to get the clicked cell for a table field, if the table is empty?

2020-05-01 Thread William Prothero via use-livecode
Folks:
I have an app that requires that I be able to get the cell row and column when 
I click on the cell. I know a dataGrid can do this, but is it possible with a 
table field? I know I can get the clicked line, but what about the cell, when 
the table is empty.

I use, to get the line (from the lessons), but it only returns the line number: 
on mouseUp

put the clickline into msg

put return & value (the clickline) after msg

set the itemdelimiter to tab

put return & item 1 of value (the clickline) && item 2 of value (the clickline) 
after msg

end mouseUp

Tnx for any suggestions.
Bill

William A. Prothero
https://earthlearningsolutions.org

> On May 1, 2020, at 5:49 PM, Bob Sneidar via use-livecode 
>  wrote:
> 
> Hi all. 
> 
> I’m gonna say that script only stacks cannot have behaviors eh? Reason is, 
> I’d like to move my nested data grid behavior to a script only stack, but it 
> occurs to me this might break the datagrid, since it’s next level behavior is 
> the old data grid behavior button (not sure why that’s still there) then the 
> actual script only datagrid library. 
> 
> Bob S
> 
> ___
> use-livecode mailing list
> use-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


Corona Virus app idea

2020-04-29 Thread William Prothero via use-livecode
Folks:
I had an idea for a Corona Virus app that Livecode is perfect for, and which 
could be coded up fairly quickly. I don’t have the time for doing it, but offer 
this idea just in case someone on the list wants a project for this.

The idea is to solve the problem that is now being created as folks who are 
severely impacted by the social lockdown policies being invoked in various 
countries. Here in the US, only “essential businesses” like grocery stores, 
hardware stores, post offices, etc are open, with the requirement that each 
person must stay 6 feet away from another, and wear a mask.

I am now observing increasing communications, on social media, advocating for 
open up more businesses so folks can get back to earning money to survive and 
get back to their normal lives. Retired folks generally have some kind of 
retirement pension or income, but younger ones work at jobs. As one of the 
retired group who is older and possibly more susceptible to the “death” side 
effect, I am fine with lockdown (bored maybe), but arguments are being made 
that many closed businesses (like restaurants) can be opened safely, with 
special distancing restrictions. This is in spite of the more informed 
policymakers advocating for caution.

So, here is my idea: 
Each business that wants to open would register on the app, possibly with the 
city administration able to approve. Maybe there would be a checklist of 
policies the business could check off. After registration, the business might 
get a “seal of approval” from the city (or responsible agency). After it is 
approved, each visitor (or the business staff) would “sign in” the visitor. 
This would be enforced by the business's staff. It would post the name of the 
business, customer contact info and time. This way, a database of visitors to 
all of the businesses (restaurants, haircut shops, beauty salons, etc) would be 
generated. A person who gets infected would also get an entry by ..?…someone 
(self/doctor/hospital?). The database would be available to city administration 
who could then do contact tracing. Obviously, this would require adoption by 
the city and hospital management. It’s a simple database entry project. I’d 
probably add some other features, like a checklist of current city 
requirements, best practices, etc.

Ok, yeah, this sounds like what Apple and Google are building. However, there 
is no attempt to detect all close contact persons using bluetooth (or 
whatever), with its privacy issues. But the businesses visited are identified, 
and this also would provide an incentive for them to be very careful. It’s a 
bit like a Yelp for Corona Virus. The app could be built quickly and get out as 
pressure to ease the lockdown restrictions builds. Businesses could get a 
“success score”. Visitors could do ratings.

This is such an easy app to build that a programming student could do it. The 
hardest part for me would be to get it into the Android and Apple stores, and 
also to promote it to the local pandemic “powers that be”. I’m retired and 
don’t want to take on a project of this size, but perhaps someone on the list 
would find it appealing.

Be Well,
Bill


William A. Prothero
https://earthlearningsolutions.org

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


Re: A short question about Xcode

2020-04-17 Thread William Prothero via use-livecode
Graham:
I’ve been where you are, with the maze of requirements to get an app on iPhone. 
One thing I found was that the trail of mis-steps left a confusing mess of 
invalid entries in the keychain and Xcode app, and in the other places in my . 
When I got rid of every entry that I had made and started over from scratch, I 
had success finally. So, every time I get to that point in the project, I do a 
housecleaning, then religiously followed the steps some of the livecode app 
gurus have posted. I’m fortunate in that I only need to use my app on my own 
iPhone and don’t have to go thru the apple store.

FYI— Sorry that I didn’t note the author of this snippet, but I found it very 
useful and stored it in my notes. It may not be the most current, as well.
Ah yes - one of the biggest GOTCHA’s there is when working on Apple 
certification…
 
I’ve found the best approach is to keep my dev machine scrupulously clean as 
regards old certificates, and a session with Keychain Access pays dividends. 
 
The same thing goes as regards old provisioning profiles - you should find all 
provisioning profiles on your mac stored at 
'/Users/https://earthlearningsolutions.org

> On Apr 16, 2020, at 2:57 PM, scott--- via use-livecode 
>  wrote:
> 
> Hello Graham,
> 
> When you created the development provisioning profile, I assume you added 
> your iPhone’s UUID to the list of allowed test devices. In the Standalone 
> Application Settings—> iOS—> Basic Settings (tab) did you select the correct 
> profile. (Simulator doesn’t care about profiles but your real devices need to 
> be specifically allowed.) If you just added one, be sure to restart LC so 
> that it sill see it.
> —
> Scott Morrow
> 
>> On Apr 16, 2020, at 1:20 PM, Graham Samuel via use-livecode 
>>  wrote:
>> 
>> Ralph, I am using a development provisioning profile for iPhone. It was 
>> created this month and expires next year. I will try to go over the whole 
>> process again. I did as much as I could to include all the icons and splash 
>> pages needed for all the phones I was likely to encounter (that was about 5 
>> different types). Do I have to include ones that nobody is going to use?
>> 
>> Graham
>> 
>>> On 16 Apr 2020, at 22:04, Ralph DiMola via use-livecode 
>>>  wrote:
>>> 
>>> You can ignore the "this version of Xcode (10.1) was not compatible with 
>>> the iOS 13 on my iPhone XS"
>>> 
>>> Make sure your using a development provisioning profile. Create a new one 
>>> and try using it. If I remember correctly I've also seen this when not all 
>>> Icons or Splash pages are included.
>>> 
>>> Ralph DiMola
>>> IT Director
>>> Evergreen Information Services
>>> rdim...@evergreeninfo.net
>>> 
>>> 
>>> -Original Message-
>>> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf 
>>> Of Graham Samuel via use-livecode
>>> Sent: Thursday, April 16, 2020 3:05 PM
>>> To: How to use LiveCode
>>> Cc: Graham Samuel
>>> Subject: Re: A short question about Xcode
>>> 
>>> Sadly, my test targets are just simulators. No real device is mentioned.
>>> 
>>> However, following Ralph’s advice (thanks), i reconnected with my phone 
>>> unlocked. Things looked promising, but then a message came up saying that 
>>> maybe this version of Xcode (10.1) was not compatible with the iOS 13 on my 
>>> iPhone XS, which is my main test device (it’s OK in the simulator). It then 
>>> tried to do the loading of the app into the phone and eventually said
>>> 
 The entitlements specified in your application’s Code Signing Entitlements 
 file are invalid, not permitted, or do not match those specified in your 
 provisioning profile. (0xE8008016).
>>> 
>>> I suppose that may be the end of that. I need a new iMac - the one I’ve got 
>>> won’t run a later version of Xcode. Sadly they are rather expensive. I 
>>> can’t visit anyone else’s, even if I could find one, since i’m in lockdown.
>>> 
>>> Nothing, but nothing, is simple when trying to deploy to iOS.
>>> 
>>> [Sound of grinding teethe]
>>> 
>>> Graham
>>> 
 On 16 Apr 2020, at 20:22, scott--- via use-livecode 
  wrote:
 
 I can’t recall whether this is specific to a particular LC license but 
 when physically attaching a device to the computer, on my setup that 
 mobile device appears under the menu Development —> Test Target (along 
 with simulator options) and can simply be selected as the test device… 
 which saves the added step of dragging into Xcode.
 
 --
 Scott Morrow
 
 Elementary Software
 (Now with 20% less chalk dust!)
 web   https://elementarysoftware.com/
 email sc...@elementarysoftware.com
 booth1-800-615-0867
 --
> On Apr 16, 2020, at 10:11 AM, Graham Samuel via use-livecode 
>  wrote:
> 
> I’m following the LC lesson 'How do I build an iOS application?’. I think 
> I’ve done everything they mention, and I have my Apple 

Re: Getting HTML5 going

2020-03-25 Thread William Prothero via use-livecode
Sean:
Sorry, I guess the discussion got going onto issues of how to keep an app 
updated, which was a major feature of web deployment.

Thanks for all your input, Sean. Very helpful.
Best,
Bill

William A. Prothero
https://earthlearningsolutions.org

> On Mar 25, 2020, at 5:37 PM, Pi Digital via use-livecode 
>  wrote:
> 
> My apologies for the misunderstanding. I thought we were all still talking 
> about HTML5 deployment with a small digression question regarding iOS. 
> Somehow I missed the part where it got steered off into every other platform 
> :)
> 
> Sean Cole
> Pi Digital
> 
> 
>> On 25 Mar 2020, at 23:34, William Prothero via use-livecode 
>>  wrote:
>> 
>> What I was thinking of was distributing a fairly basic educational 
>> application, then adding features and lessons as life goes on. Sounds like 
>> it would depend on how extensive the features were. Perhaps lessons would 
>> only trigger a problem if they required the addition of significant new 
>> features. Hmmm…..
>> Best,
>> Bill
>> 
>> William A. Prothero
>> https://earthlearningsolutions.org
>> 
>>> On Mar 25, 2020, at 2:23 PM, Mark Wieder via use-livecode 
>>>  wrote:
>>> 
>>>> On 3/25/20 1:58 PM, Mark Waddingham via use-livecode wrote:
>>>> 
>>>> However there are two rules which must be followed:
>>>> 1) Downloaded code must not allow the app to access any more system 
>>>> provided APIs that it could before.
>>>> 2) Downloaded code must not allow the app to 'morph' (as Richard put it) 
>>>> into something even slightly unrelated to what it was at the point of 
>>>> review; nor should it add significantly different features (particularly 
>>>> in terms of UI).
>>>> In practice conforming to (1) is easy - you aren't allowed to download LCB 
>>>> extensions, loading them at runtime, which use FFI to access system 
>>>> functions.
>>> 
>>> My reading of 1) is that LCB extensions that use FFI are allowed as long as 
>>> they don't expand the attack surface by introducing new system api calls 
>>> that the app doesn't already use.
>>> 
>>> But then I'm not in a position to make, review, or enforce those rules.
>>> 
>>> -- 
>>> 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
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: Getting HTML5 going

2020-03-25 Thread William Prothero via use-livecode
What I was thinking of was distributing a fairly basic educational application, 
then adding features and lessons as life goes on. Sounds like it would depend 
on how extensive the features were. Perhaps lessons would only trigger a 
problem if they required the addition of significant new features. Hmmm…..
Best,
Bill

William A. Prothero
https://earthlearningsolutions.org

> On Mar 25, 2020, at 2:23 PM, Mark Wieder via use-livecode 
>  wrote:
> 
> On 3/25/20 1:58 PM, Mark Waddingham via use-livecode wrote:
> 
>> However there are two rules which must be followed:
>>   1) Downloaded code must not allow the app to access any more system 
>> provided APIs that it could before.
>>   2) Downloaded code must not allow the app to 'morph' (as Richard put it) 
>> into something even slightly unrelated to what it was at the point of 
>> review; nor should it add significantly different features (particularly in 
>> terms of UI).
>> In practice conforming to (1) is easy - you aren't allowed to download LCB 
>> extensions, loading them at runtime, which use FFI to access system 
>> functions.
> 
> My reading of 1) is that LCB extensions that use FFI are allowed as long as 
> they don't expand the attack surface by introducing new system api calls that 
> the app doesn't already use.
> 
> But then I'm not in a position to make, review, or enforce those rules.
> 
> -- 
> 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: Getting HTML5 going

2020-03-25 Thread William Prothero via use-livecode
Richard and Sean:
My app is desktop. One of the actions is clicking on a map to specify a data 
(of various kinds) profile across a great circle path. You really need a mouse 
to accurately select a point (although there are ways of magnifying small area 
to get precise location).

Anyway, it does seem that if the app is sandboxed, it would be safer to 
download scripts. For now, I’m updating an older 32 bit version to work in 64 
bit and will then consider what kind of further upgrades I want to implement.

But, what I really would need to verify before I go that way, is whether 
Catalina allows livecode script to be downloaded and executed by the engine. 
Richard, it looks like you say it will, but Sean says no. 

Best,
Bill

William A. Prothero
https://earthlearningsolutions.org

> On Mar 25, 2020, at 12:07 PM, Richard Gaskin via use-livecode 
>  wrote:
> 
> Bill Prothero wrote:
> > Richard and Sean,
> > Good ideas. I had considered deploying it as a standalone that has
> > sections that udate from a server, but worried that the new security
> > requirements from Apple, in particular, discouraged (prohibited?)
> > downloading code. Is that not true?
> 
> Is this desktop or mobile?
> 
> Just curious, really. In either case, downloading scripts is quite different 
> from downloading executable object code.  Any sandboxing for the app is done 
> to the LC engine - swap out scripts all you like and you can't alter what the 
> user has allowed the standalone engine to do.
> 
> I think Apple's main concern would be an app that presents itself as one 
> thing and later morphs into something else.
> 
> But if we use downloads responsibly, scripts are really just another form of 
> data, much like spreadsheet formulas. I can't see a reason Apple or anyone 
> else would have an issue with an app downloading data, and I know a good many 
> devs using a wide range of scripting tools that update dynamically.
> 
> --
> 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: Getting HTML5 going

2020-03-24 Thread William Prothero via use-livecode
Sean:
You are performing a noble task. After a hiatus, I’m back working on an 
educational app teaching plate tectonics. When I think of pitfalls of 
distributing an actual app, I fondly look at web distribution, like I used to 
be able to do with Director in shockwave. Anyway, I’d gladly pay well for the 
“How To” book that I hope will come out of your efforts.
Best,
Bill

William A. Prothero
https://earthlearningsolutions.org

> On Mar 23, 2020, at 5:57 PM, Pi Digital via use-livecode 
>  wrote:
> 
> Bill
> 
> I get what you mean by both quirky and the need for other skills. I’m 
> gradually going through the code to remove the quirkiness but I’m doing this 
> while also trying to develop the solution for our clients. In the process I 
> will also either eliminate the need for learning the ‘other skills’ or at the 
> very least minimise it to a set of relatively easy steps. What I’ve achieved 
> in about a year on and off is evidence that it is capable once the ‘caveats‘ 
> get ironed out. Watch this space. 
> 
> Sean Cole
> Pi Digital
> 
> 
>> On 23 Mar 2020, at 21:57, William Prothero via use-livecode 
>>  wrote:
>> 
>> Sean:
>> It looks really nice If HTML5 deployment didn’t look so quirky and require 
>> such a variety of other than livecode skills, I’d give it a try. I hope it 
>> will mature before I get too old to care.
>> Bill
>> 
>> William A. Prothero
>> https://earthlearningsolutions.org
>> 
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: Getting HTML5 going

2020-03-23 Thread William Prothero via use-livecode
Sean:
It looks really nice If HTML5 deployment didn’t look so quirky and require such 
a variety of other than livecode skills, I’d give it a try. I hope it will 
mature before I get too old to care.
Bill

William A. Prothero
https://earthlearningsolutions.org



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


Re: Problem opening version 9.6.0 (dp3)

2020-03-20 Thread William Prothero via use-livecode
Doh:
Yeah, it helps. I got a new Macbook and it came with Catalina, which opens 
“unsafe” files differently than I was used to.
All good. Tnx for the help.
Bill

William A. Prothero
https://earthlearningsolutions.org

> On Mar 19, 2020, at 8:24 PM, Devin Asay via use-livecode 
>  wrote:
> 
> Bill,
> 
> Does this help? It was at the end of the release announcement:
> 
> Known issues
> 
> - This build (for Mac) is not notarized yet, so if your Mac is running
> MacOS Catalina (10.15.x) you will get a warning dialog saying that the app
> cannot be opened. In this case, you have to whitelist LiveCode in the
> System Settings -> Security and Privacy, and then right-click on LiveCode
> and choose "Open" from the contextual menu. Just double-clicking to open it
> will not work.
> 
> Note that you'll only need to do this once, the very first time you open
> LiveCode 9.6 DP-3. For more details and instructions see here:
> 
> 
> On Mar 19, 2020, at 8:29 PM, prothero--- via use-livecode 
> mailto:use-livecode@lists.runrev.com>> wrote:
> 
> Folks:
> I must be missing something. I downloaded 9.6.0 (dp3) and my Mac OS won’t let 
> me open it because claims Apple can’t check it for malware. Hmm…. I’m on a 
> Macbook running Catalina, with BitDefender, but turning BitDefender off 
> doesn’t change anything.
> 
> Something new?
> Bill
> 
> William A. Prothero
> Santa Barbara, CA. 93105
> http://earthlearningsolutions.org/
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: ... in iOS 13....

2019-10-20 Thread William Prothero via use-livecode
Folks:
I have a bit of a worry about the Apple Catalina update. I want to keep a 
bootable copy of the latest Mojave OS on an external disc. That way I can run 
any older 32 bit programs I might need. However, I have a backup program 
(Tri-Backup) that says it can’t make a bootable drive because of Apple 
security. That has raised a bit of a red flag to me. 

Currently, I use SuperDuper to make a bootable backup. SuperDuper isn’t updated 
for Catalina yet, it seems.

What my worry is, is that perhaps Catalina’s new security settings won’t allow 
booting from an external drive. That would completely eliminate my option of 
having a 32 bit OS option for running older 32 bit software.

Anybody have any info relevant to this issue? Or perhaps I’m just being 
paranoid (totally justifiably).
Best,
Bill

PS: sorry if this is a duplicate.

> On Oct 20, 2019, at 4:45 AM, Erik Beugelaar via use-livecode 
>  wrote:
> 
> Yes, I think you are right. I just dive into it after a long time but that 
> seems indeed the problem. As you know, running macOS from Hackintosh’s, 
> Security Boot must be disabled so as SIP (because of patching during boot). I 
> have not test yet to install Linux on my MacBook Pro though.
> 
> 
> 
> OT: An interesting thread about running Catalina on older Mac’s can be found 
> here: https://macandegg.com/2019/07/macos-catalina-patcher-10-15-on-old-macs/ 
> incase people want to install it on Mac ‘s before mid 2012.
> 
> 
> 
> 
> 
> From: JJS 
> Date: Sunday, 20 October 2019 at 12:52
> To: Erik Beugelaar , How to use LiveCode 
> 
> Subject: Re: ... in iOS 13
> 
> 
> 
> It seems that when Secure Boot and SIP is disabled, then using Refind 
> https://www.rodsbooks.com/refind/index.html as bootloader you can get Linux 
> working too.
> 
> I saw some discussions about the T2 and issues when powering off, unplug 
> power cable seems to trigger something.
> 
> https://sourceforge.net/p/refind/discussion/general/thread/1475e30077/
> 
> Op 20-10-2019 om 11:40 schreef Erik Beugelaar:
> The only thing what I don't like about the update policy of Apple is you 
> cannot use new apps from the Store if you cannot update to a new iOS version 
> without buying new hardware from Apple (esp. iPad's).
> And yes, the costs of the same specs of Apple hardware compared to PC 
> hardware are still 2 or 3 times more BUT the advantage is that you can run 
> iOS and Windows natively on the same machine. Since the introduction of 
> Apple's  T2 Security Chip it isn't possible to boot Linux on new Apple 
> hardware like the 2018 MacBook Pro and Mac Mini anymore as far as I know.
> Furthermore, because of bad experiences upgrading macOS's in the past, I 
> don't upgrade to a the newest macOS version if there is no need for. It has 
> saved me a lot of frustrations...
> But I am not an advocate, I both like to work on Apple (macOS) and PC 
> (Windows/Linux) machines.
> 
> On 20/10/2019, 11:18, "use-livecode on behalf of JJS via use-livecode" 
>  use-livecode@lists.runrev.com> wrote:
> 
> What's unfair about it. Don't be offended.
> 
> It's not against you or LC, it's not even entirely against Apple, they 
> have also good things. It's just an opinion.
> 
> I believe there are more discussions about Apple issues on this list 
> than i see about Windows or Linux or Android.
> 
> And for all 3 OS i also believe they are better backwards compatible. 
> (for Android i'm not talking about the sauce samsung and thelike pour 
> over it)
> 
> A lot of people i see who have an Macbook or iOs device, is because they 
> want to show off that they can afford it, not of the reason that it 
> would be better or easier.
> 
> I also understand that they want to close 32bit and move on, except many 
> customer are not ready. But slowly moving on.
> 
> If people want it it's ok, but i see a lot of hassle that i choose not 
> to go for.
> 
> 
> Op 19-10-2019 om 22:36 schreef Pi Digital via use-livecode:
> > Jjs
> >
> > That’s an unfair statement, especially based on topic. It is quite 
> likely it is only a tiny update for Monte to fix. My experience says that ALL 
> OS systems/devices break bar none unless they don’t update at all and stay 
> stagnant. So which system do you prefer JJS? And remember only to mention one 
> that is completely infallible and never likely to break. Id especially love 
> to know a device name that is completely 100% future proof I can pitch to my 
> customers. As yet, the ‘most’ reliable I have found from a whole heap of 
> testing and long term experience are iPad Pro and Macs. Even my ipad2 is 
> shockingly more reliable than any of my top end Samsung tabs (unless I strip 
> them right down and use custom OS).
> >
> > To confirm, I’m not offended or upset. I just think the comment was 
> unfair and exaggerated. They break for sure, but not to the extent to 
> ‘refuse’ it. Roids way of avoiding 

Questions about LC Server Apps

2019-10-08 Thread William Prothero via use-livecode
Folks:
I’m doing web stuff with php and Wordpress, and reading all of the postings 
about LC’s HTML5 deployment. Since I have done a lot of programming of LC and 
have a business license, it could be a lot easier to use LC in a server 
environment than struggling with my minimal php skills.

The lessons for HTML5 are very, very minimal and leave a LOT unanswered. But, 
here’s what I think and perhaps you can correct any mis-conceptions. 

HTML5 deployment is basically an app that is downloaded and runs in a browser. 
It’s kinda like Flash and Director, except that the “plugin” is downloaded with 
the app and the browser runs the app in its built-in javascript engine. 
However, the tutorials for HTML5 are pretty much non-existent and I would 
expect a lot of hair-pulling (not that I have a lot of excess) in trying to use 
it.

Using the livecode plugin is more in the style of php. Revigniter seems like a 
great application framework, and it uses the cgi mode of livecode. Revigniter 
seems like it would make building web sites using LC a lot easier, and would 
provide a lot of programming examples and handlers that would very much ease 
development.

Has anybody use LC for a wordpress plugin? Or perhaps a basic wordpress site 
could exist alongside the LC supported site.

What do you think? Feedback would be much appreciated.

Best,
Bill Prothero

William A. Prothero
http://earthlearningsolutions.org

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


Re: Writing a Book on LiveCode need your help

2019-09-16 Thread William Prothero via use-livecode
Patrick:
I also would find a book that covered server resident apps. I know HTML5 is in 
progress (I think) so regular updating may need to fit into your plans, as 
well. Hermann has produced some wonderful examples that combine Javascript and 
LC. Anyway, you will have to think about whether HTML5 is advanced enough to 
justify a book that will hopefully get out of date pretty quickly.

Best,
Bill

> On Sep 16, 2019, at 5:03 PM, Tom Glod via use-livecode 
>  wrote:
> 
> hahaha..perfect.
> 
> On Mon, Sep 16, 2019 at 5:41 PM Mark Wieder via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> On 9/16/19 11:39 AM, Tom Glod via use-livecode wrote:
>> 
>> Learning Rust, so I ordered a book to read in bed.
>> 
>> LOL.
>> 
>> 
>> 
>> --
>>  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


___
use-livecode mailing list
use-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: BasicGeoLib_v100

2019-09-12 Thread William Prothero via use-livecode
Nice contribution. 
Thanks!
Bill

> On Sep 12, 2019, at 1:16 PM, hh via use-livecode 
>  wrote:
> 
> Some specialists may be interested in the following, please report if you 
> have any problem with the stack.
> 
> BasicGeoLib is a collection of very basic functions for using geoPoints.
> 


___
use-livecode mailing list
use-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: Is HTML5 really practical?

2019-08-31 Thread William Prothero via use-livecode
Folks,
Thanks for your thoughts on LC HTML5 for web pages. I use LC increasingly only 
for my own projects, even though I own a commercial license. I’m retired and 
give away any education applications that I create. For simple web page 
projects, though, I start with WordPress. There is a lot of really nice 
instructional material for making WordPress plugins (php). With Wordpress doing 
a lot of the basic heavy lifting, doing a special plugin for a custom need in 
php is pretty straightforward.

BTW, Herman’s work with LC Html5 and javascript is really a nice contribution. 

Best,
Bill

William A. Prothero
http://earthlearningsolutions.org


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


Is HTML5 really practical?

2019-08-30 Thread William Prothero via use-livecode
Folks:
I’m considering making a web site that will use livecode’s html5 engine. Is 
this practical? 

What I want to create is a signup system for a kayaking club. Paddles are 
scheduled for each week and members enter their names for various paddle times. 
The member list would be in a database and there would also be a membership 
page with entries for various aspects of their skill levels.

HH’s demos see to show reasonable engine load times, but I’m wondering whether 
it might be easier and better to just use the engine as a cgi and do everything 
in css and html.

Frankly, I haven’t seen any compelling use case for livecode's html5. Is there 
one, at this time?

Any thoughts?

Best,
Bill

William A. Prothero
http://earthlearningsolutions.org

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


Reading a file from icloud on ipad

2019-05-20 Thread William Prothero via use-livecode
Folks:
Is it possible to read a file from the iCloud drive, in iOS, using LC?

I’m trying to read a csv file downloaded from my browser, into an application 
that will use that downloaded file.

I can’t immediately see how to do this. If I use a browser widget, where will a 
downloaded file go? I can also download it manually using Safari, which is ok, 
but then I need to access the file from the iCloud drive.

Any direction you can provide would be much appreciated.

Best,
Bill 

William A. Prothero
http://earthlearningsolutions.org

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

Re: Debugging in iOS 12?

2019-04-11 Thread William Prothero via use-livecode
Thanks, Ralph!
Bill

> On Apr 11, 2019, at 2:04 PM, Ralph DiMola via use-livecode 
>  wrote:
> 
> That 10.1 error message will not affect your development. You can still drag 
> apps into the devices window. You can also have both 10.1 and 10.2 on your 
> Mac. Use 10.1 for building iOS apps and run 10.2 to access the devices 
> window. If you have both versions then use 10.1 in the LC prefs. From the 
> command prompt you can set the version of the tools that LC will use for 
> building.
> 
> 2 commands
> 1) (xcode-select --print-path) will display the version in use
> 2) (sudu xcode-select -switch "path/to/xcode.app") will set the build tools 
> version
> 
> I keep multiple version of Xcode in a separate folder so I can use older 
> simulators.
> 
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
> 
> -Original Message-
> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf 
> Of William Prothero via use-livecode
> Sent: Thursday, April 11, 2019 4:38 PM
> To: Use-livecode Use-livecode
> Cc: William Prothero
> Subject: Debugging in iOS 12?
> 
> Folks:
> I’m just diving into debugging my iPhone app after a long hiatus. I have iOS 
> 12.2 on my iPhone and am using Xcode 10.1. Unfortunately, it appears that LC 
> 9.0.4 (rc2) won’t support Xcode 10.2 (from the web site) and I get the 
> following error message in Xcode:
> 
> "This iPhone 6 is running iOS 12.2 (16E227), which may not be supported by 
> this version of Xcode.”
> 
> Is there anything I can do except wait for the next version of livecode to 
> come out? I should have waited to update my iOS version. Arg! Such a pain to 
> wade into this thicket of provisions, certificates, etc. again. At least 
> there are more support docs from Livecode.
> 
> Any advice would be welcomed.
> 
> Best,
> Bill
> 
> William A. Prothero
> http://earthlearningsolutions.org
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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

Debugging in iOS 12?

2019-04-11 Thread William Prothero via use-livecode
Folks:
I’m just diving into debugging my iPhone app after a long hiatus. I have iOS 
12.2 on my iPhone and am using Xcode 10.1. Unfortunately, it appears that LC 
9.0.4 (rc2) won’t support Xcode 10.2 (from the web site) and I get the 
following error message in Xcode:

"This iPhone 6 is running iOS 12.2 (16E227), which may not be supported by this 
version of Xcode.”

Is there anything I can do except wait for the next version of livecode to come 
out? I should have waited to update my iOS version. Arg! Such a pain to wade 
into this thicket of provisions, certificates, etc. again. At least there are 
more support docs from Livecode.

Any advice would be welcomed.

Best,
Bill

William A. Prothero
http://earthlearningsolutions.org

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

Re: Standalone builder tells me that there is a stack ... already open and so on

2019-02-19 Thread William Prothero via use-livecode
Matthias:
Do you use Microsoft OneDrive? The following happened to me and I was, at 
first, blaming Livecode.

I couldn’t get Hermann’s turnImage contribution working, but then did a lot of 
work trying to clean my system of disc errors, then found that oneDrive was 
corrupting my boot drive (Mac OS 10.14.3). I’m pretty sure the problem is not 
completely fixed, but after cleaning my drive with DiskWarrior, it seems to 
work normally now, and I got turnImage to work correctly.

Best,
Bill

> On Feb 19, 2019, at 4:34 PM, Matthias Rebbe via use-livecode 
>  wrote:
> 
> Thanks to all who responded and please excuse that i answer so late.
> 
> I´ve checked all you suggestions. But nothing solved my problem.
> 
> I then opened the stack in LC 9.0.1 and was able to built a standalone 
> without a problem.
> 
> After that i was also able  to create a standalone again in LC 9.0.2 w/o a 
> problem. Whatever this has caused it,
> it´s not there anymore and all is fine again. Very strange.
> 
> Matthias
> 
> 
>> Am 15.02.2019 um 16:55 schrieb Bob Sneidar via use-livecode 
>> mailto:use-livecode@lists.runrev.com>>:
>> 
>> I just had an, "AHA!" moment. 
>> 
>> Bob S
>> 
>> 
>>> On Feb 14, 2019, at 10:15 , Richard Gaskin via use-livecode 
>>> mailto:use-livecode@lists.runrev.com>> 
>>> wrote:
>>> 
>>> The example there is uses two paths that differ based on the Unix shortcut 
>>> of "~" for the user's home folder, e.g.:
>>> 
>>> /home/matthias/workfolder/somestack.livecode
>>> 
>>> ...vs:
>>> 
>>> ~/workfolder/somestack.livecode
>>> 
>>> Both paths refer to the same file system object, but apparently the engine 
>>> maintains its handle to the file based on the given path rather than the 
>>> fully resolved path, so it believes those are two different files in which 
>>> the stack objects happen to have the same name.
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-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: Weird LiveCode Plugins Prefs writing problems

2019-02-12 Thread William Prothero via use-livecode
Folks:
Just in case you are getting the same "invalid bsd flags ….” when you try to do 
a disc first aid using disk utility, on your Macintosh SSD boot drive, it turns 
out that the recent versions of OneDrive are causing that error. I found that 
the error only occurs on the SSD drive. If I boot from an external drive, the 
error doesn’t occur. I found it while using Preview to view an email pdf 
attachment. The system hangs when I then try to export that pdf to someplace 
else. If I load, then export some other pdf file (not from mail), it works 
normally.

I’ve spent loads of time chasing this down and it seems there is something 
special about the SSD drive file system that OneDrive messes up. 

See:
https://onedrive.uservoice.com/forums/913525-onedrive-on-mac/suggestions/36302779-remove-warning-inode-val-object-invalid-bsd-fl
 


I have put a LOT of things on OneNote, so don’t want to delete OneDrive (which 
syncs the notes across devices). So, I’ll wait a bit and hope Microsoft does a 
fix.

Best,
Bill

> On Feb 8, 2019, at 3:34 PM, hh via use-livecode 
>  wrote:
> 
> Bill,
> 
> I had severe problems when starting with MacOS 10.14.
> As I know now these were mostly permission problems.
> 
> The Apple security hystery may help to that. I still
> have some files of zero size that are not deletable
> and change their name. I think this is caused by MacOS.
> But meanwhile I'm running 10.14.3 without problems.
> 
> For repairing and maintenace I use Onyx (which has for
> each main MacOS an own version):
> https://www.titanium-software.fr/en/onyx.html
> 
> I personally think that "bitDefender" and "CleanMyMac"
> make more harm than they help. Onyx is more transparent
> and helped me out of the problems described above.
> 
> 
> p.s. The revonline cache is deletable from the LC prefs.
> The LC caches are in /Library/Application\ Support/RunRev.
> You can open the folder from message box:
> 
> launch document $HOME&"/Library/Application Support/RunRev"
> 
> Good luck!
> 
> ___
> use-livecode mailing list
> use-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: Weird LiveCode Plugins Prefs writing problems

2019-02-10 Thread William Prothero via use-livecode
Problem solved, but first:
I found that BitDefender kept deleting the “Safe Application” setting for 
“Livecode Business 9.0.2”, so it blocked writing to the Devo Prefs file. The OS 
wouldn’t let me delete the library files associated with BitDefender. I also 
found that there were un-fixable errors in my boot drive, which is an SSD 
drive. I wanted to delete all anti-virus files and CleanMyMac, which contained 
both version 3 and X. I also needed to deal with the boot drive disc errors, 
which DiskUtility couldn’t fix. I was going to have to completely erase and 
reformat the boot drive. Fortunately, my boot drive was still functioning 
mostly normally.

First I booted my computer from an external drive that I had created a couple 
of weeks ago using SuperDuper. Then I deleted all Library files related to 
BitDefender and CleanMyMac. I think I got all of them, but may have missed 
something.

Next I created a disc image big enough to hold all of my boot drive content (on 
an external drive), so I could restore it after reformatting. I used SuperDuper 
to copy my boot drive content to the disc image. Then I reformatted my original 
boot drive and after that, used SuperDuper to copy the disc image contents back 
to my original boot drive.

I checked that the Devo prefs were being updated correctly, and yes, they were. 
Problem solved.

I’m a bit afraid to leave off a virus protection program though. Anybody have 
recommendations?

Best,
Bill


> On Feb 10, 2019, at 6:55 AM, Brian Milby via use-livecode 
>  wrote:
> 
> Guess I waited until the right time to go from 10.12 to 10.14 :grin:
> I’ll be doing that upgrade in the next couple weeks.
> 
> Thanks,
> Brian
> On Feb 10, 2019, 7:49 AM -0500, Sannyasin Brahmanathaswami via use-livecode 
> , wrote:
>> Little story: Yesterday, early the morning, I was on 10.4.2. "Sadly" I 
>> thought Navigator would not save preferences. Went back to work, thinking 
>> the IDE has lost some globals, or messages, it crashes for me all the time 
>> now, at least once a day. No point sending in reports, Panos says "cannot 
>> reproduce..."
>> 
>> Besides, two other programs unrelated, will suddenly "wink out" I say that, 
>> because, you may be doing something else, the application is not 
>> experiencing any "user operations". Suddenly it crashes and you get a crash 
>> report. It's as if a gremlin in the background is issuing a "Kill process." 
>> Although it also happens in the IDE, especially when dragging a control from 
>> the tool bar onto a stack. I always save, hold my breath now when create a 
>> button, drag it the tools pallet "Oh no! the IDE crashed, again...sigh" Now, 
>> that seems unrelated... but
>> 
>> Not paying much attention update notices. Busy getting work done. I hard to 
>> reboot. Ha! big update got installed. OS X 10.4.3
>> 
>> Now, this morning Navigator prefs are saved Yay! Having done nothing 
>> else, one is tempted to say, it was a "mysterious OS thing"
>> 
>> I never had time to investigate... Rick: I'll try Avast
>> 
>> BR
>> 
>> Bill wrote: So I used diskutility to repair the system drive, then updated 
>> the os to 10.14.3.
>> 
>> ___
>> use-livecode mailing list
>> use-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: Devolution Problem

2019-02-08 Thread William Prothero via use-livecode
Richard:
I just posted a more detailed description of the problem and it appears to 
affect other plugins too. I think I’ll try taking all of the plugins out of the 
plugins folder and trying just Devolution.

By the way Hermann said I should erase the livecode cache. I don’t know where 
that is, unless he was talking about the browser cache.

Best,
Bill

> On Feb 8, 2019, at 2:25 PM, Richard Gaskin via use-livecode 
>  wrote:
> 
> William Prothero write:
> 
> > Richard:
> > Hi, I am having a problem getting Devolution to save new projects in
> > the project browser. I enter a new project, it shows up and opens
> > normally, but if I quit Livecode, it doesn’t save the most recent
> > project I entered, although previously entered projects continue to be
> > listed. I haven’t tried to add new projects for awhile, so don’t know
> > if it the last Devo or OS upgrade broke something, or I’m doing
> > something wrong.
> >
> > I am on Mac OS 10.14.2, LC 9.0.2. But, I tried LC 8.2.0 (dp2) and Devo
> > behaves the same way. In the folder “../Plugins/FourthWorld.com/“
> > folder, the 4wDevolutionPrefs.pref  > /4wDevolutionPrefs.pref>” file has an empty file "4wDevolutionPrefs~”,
> > so it tried setting up the file, but couldn’t replace the existing
> > file. I changed the permissions of the prefs file to read/write for me
> > and everybody, but still same problem.
> >
> > What should I try next?
> 
> Just to be safe, run the disk scan and permissions repair tools in Apple's 
> Disk Utilities.
> 
> The presence of the "~" shows the devolution plugin is attempting to save its 
> prefs info as expected, but being an empty file suggests something is 
> preventing the write from happening in the middle of the operation.
> 
> It may also be that another plugin is intercepting the save or otherwise 
> interfering with normal operation.  If Disk Utility shows no issues with the 
> storage media or format then you may consider a test run in which you first 
> remove any third-party plugins which may interfere with other stacks' 
> activity.
> 
> Let me know what you find, either here or email or a phone call, whichever is 
> best for you.
> 
> -- 
> 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

Weird LiveCode Plugins Prefs writing problems

2019-02-08 Thread William Prothero via use-livecode
Folks:
Livecode 9.0.2 business Mac OSX 10.14.2

I can’t figure this out. I’m having problems with LiveCode Plugins writing 
prefs to the Plugins folder on my Mac. None of the prefs for the extensions are 
able to update. At first, I thought it was a problem with 4WDevolution, but now 
it’s with Navigator and won’t install Hermann’s Turnimage extension. The prefs 
files (not TurnImage, which throws an error) show up in the extensions folder 
with a “~” after them, indicating it’s a temporary file with 0 bytes and that 
the save has failed. So I can see that there is an attempt to write the prefs 
file in the correct place, but replacing the older file with the new file 
fails.r

I’ve got bitDefender and “CleanMyMac”. However, I can write, and update test 
data, with a livecode script, to the Plugins folder so I am really stuck and 
out of ideas.

This is very puzzling. Has anybody else seen this behavior?

Best,
Bill

 



William A. Prothero
http://earthlearningsolutions.org

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

Re: Widget TurnImage89_v100

2019-02-07 Thread William Prothero via use-livecode
Hermann:
I just downloaded the sample stack for the first time yesterday. But I’ll try 
this:
> ** And before going to "Sample Stacks" please clear the revonline
> cache in the LC preferences. **

Thanks,
Bill


> On Feb 7, 2019, at 5:36 PM, hh via use-livecode 
>  wrote:
> 
> Bill,
> 
> the installer button should work, did you use an earlier stack?
> The widget is not downloaded by the installer button but is a
> custom property of the downloaded stack:
> ** You have to download the sample stack for each new version. **
> Sorry, as soon as the "widgets store" works I'll use that.
> 
> Installing works here, please try again. Trash the old stack.
> 
> ** And before going to "Sample Stacks" please clear the revonline
> cache in the LC preferences. **
> 
> +++
> 
> Just uploaded a new version 1.2.0, that removes a bug that crashed LC
> when resizing the widget in pointer mode. This now does nothing with
> the images, the widget simply clips to its new size.
> 
> (Thanks Bernd for the report).
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-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

Devolution Problem

2019-02-07 Thread William Prothero via use-livecode
Richard:
Hi, I am having a problem getting Devolution to save new projects in the 
project browser. I enter a new project, it shows up and opens normally, but if 
I quit Livecode, it doesn’t save the most recent project I entered, although 
previously entered projects continue to be listed. I haven’t tried to add new 
projects for awhile, so don’t know if it the last Devo or OS upgrade broke 
something, or I’m doing something wrong.

I am on Mac OS 10.14.2, LC 9.0.2. But, I tried LC 8.2.0 (dp2) and Devo behaves 
the same way. In the folder “../Plugins/FourthWorld.com/“ folder, the 
4wDevolutionPrefs.pref ” file 
has an empty file "4wDevolutionPrefs~”, so it tried setting up the file, but 
couldn’t replace the existing file. I changed the permissions of the prefs file 
to read/write for me and everybody, but still same problem.

What should I try next?

Best,
Bill

William A. Prothero
http://earthlearningsolutions.org

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

Re: Widget TurnImage89_v100

2019-02-07 Thread William Prothero via use-livecode
Hermann:
I’m trying to install your turnImage sample stack. When I click on the “Install 
the turnImage widget for LC 8+9” button, I get an error message: “extension 
missing from “…/community.livecode.hermann.turnimage.1.0.0” So, I can’t install 
the widget.

I’m on MacOS, 10.14.2, LC 9.0.2. I downloaded the sample stack, nothing else. 
Is there something else to download?

Am I doing something wrong?
Best,
Bill


> On Feb 6, 2019, at 10:04 AM, hh via use-livecode 
>  wrote:
> 
>> Rick H. wrote:
>> A YouTube type video showing the effects, and  some instructional
>> examples of how to use the widget would be helpful.
> 
> The SAMPLE STACK (which works after installing the widget and then
> restarting LiveCode) has a few lines of help and
> ++ one ordinary widget (the Tiger) for use with it's context menu
> ++ two examples for using your own images with the widget
> ++ one example for using two LC-groups (here fields and buttons)
> as front and back of the widget (50 lines of script)
> ++ one advanced example for using the widget by grabbing frames from
> a browser video (not from a LC-player which is essentially blocking).
> 
> More than half of the code is written for the dictionary (and this
> needs a lot of time).
> 
> As soon as you have installed the widget from the sample stack you find
> DICTIONARY ENTRIES here:
> 
> (a) Dictionary > API > LiveCode Script > Filter > Associations > hhturn
> Find the overview by Dictionary > API > Search: hhturn
> The same for my other fat widgets:
> boundingbox, hhaclox, hhbclox ,hhdclox, hhcolor, hhdate, hhotext, hhpoly,
> hhprogress, hhgrid, hhimage and hhsvgt.
> 
> (b) tinyDictionary > LiveCode Builder > hermann.turnimage
> The same for my other widgets hermann.X
> Find the overview by tinyDictionary > LiveCode Builder > Search: hhturn
> or the names hh from (a).
> 
> The recommended way to look at one of my widgets is:
> 
> 1. Install the widget from the sample stack, then restart LiveCode.
> 
> 2. Make a new stack, create a widget (dragging works not always, but from
> menu Object> New Widget).
> Then open the property inspector and the overview from tinydict or Dict.
> No go through all tabs of the inspector and test the properties "live".
> (Find some properties on unusual tabs of the PI, this is because there
> are not enough appropriate tabs available.)
> 
> 3. Open the sample stack and look at the demos. Some are easy, some need
> advanced scripting like other LC controls.
> 
> I have a lot of unfinished projects. I will publish some while waiting
> for some progress with LC Builder and HTML5. May be I'll leave LC before
> some more items of the very long lists of promises of the last years will
> happily be realised.
> But before leaving I'll make some simpler example stacks: "Quick starter".
> I don't like teaching videos, sorry, not for giving and not for taking.
> 
> ___
> use-livecode mailing list
> use-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: Whoops: Getting the name of the script only stack an handler is in

2019-01-02 Thread William Prothero via use-livecode
Bob:
I tried it. Yes:
put the name of me  —returns the name of the control that hosts the behavior 
script
put the name of this me —returns the name of the behavior script

Best,
Bill

> On Jan 2, 2019, at 11:34 AM, Bob Sneidar via use-livecode 
>  wrote:
> 
> Ah yes then, me refers to the object the script belongs to. With behaviors, 
> me refers to the *instance* of the script which is "owned" by the object 
> being interacted with. "this me" refers to the actual behavior script. What 
> you want is "this me". 
> 
> Bob S
> 
> 
>> On Jan 2, 2019, at 08:35 , prothero--- via use-livecode 
>>  wrote:
>> 
>> Bob,
>> Thanks for the response. You are probably right, the filename of me should 
>> work. I don’t know whether it’s old age or not, but several times I have 
>> worked on a problem until I felt I had exhausted my ideas, posted a question 
>> to this list, then a solution immediately came to mind. If this happens, I 
>> will post an update with apologies. 
>> 
>> In the case you responded to, I was trying to find the name of the script 
>> only stack that contained the currently running handler. 
>> 
>> Put me into thisStack  —works fine
>> the short name of this stack —wrong, gives the name of the calling stack, in 
>> my case, anyway.
>> put the short name of the target —not it
>> 
>> “The target” is great for determining the control that initiated the script, 
>> but it does lose its original value when a “send in time” command is given, 
>> like commonly done during an animation.
>> 
>> Anyway, Bob, thanks for your response. 
>> 
>> William Prothero
>> http://es.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: Whoops: Getting the name of the script only stack an handler is in

2018-12-31 Thread William Prothero via use-livecode
Folks:
Ok, if there is a way to get the name of the stack containing a particular 
handler, I’ll use it. Otherwise, each “feature” stack will return a precoded 
name. I had to fiddle to get the polling to work without errors.

The impetus for this is to re-factor the code for a project that’s looking 
increasingly complicated, so I need to make sure I will be able to maintain it 
without chaos, and thanks to Andre’s book for some direction.

local actionsList

on actionsList tList
put tList after actionsList
end actionsList

—call this in the openstack handler
on pollTheActionsStacks
put "" into actionsList
dispatch  “pollActions"
end pollTheActionsStacks

—Each script only stack contains this:
—The name returned is set for each “feature” stack. I’d rather have it return 
the name of the “Feature” stack, but just 
—   returning the name is ok too
on pollActions
   put the short name of this stack into myAction
   put "CP_handwriting" into myAction
   dispatch "actionsList" to cd "Opening" of stack "CP_Main" with myAction
   pass pollActions
end pollActions

Happy New Year,
Bill

> On Dec 31, 2018, at 2:48 PM, William Prothero via use-livecode 
>  wrote:
> 
> Folks:
> Sorry, I accidentally sent the email before finishing it. Here’s the complete 
> message.
> But perhaps I’ve solved it. I only need to put the name of the “feature” 
> stack in the pollActions handler. Anyway, I still have my question.
> 
> I’m trying to implement a structure where I can simply add script only stacks 
> that seamlessly add capability to my app. To do this, I have all of the 
> “feature” stacks in a given folder, and when I initialize the app, I start 
> using all of the “feature” stacks. Then I want to initialize all of them, so 
> I send a message that gets passed in each “feature” stack.
> 
> I do, in each “feature” stack (which doesn’t give me the answer I want):
> 
> on pollActions
>   put the short name of the current stack into myAction  (I want the name 
> of the stack that contains this script)
>   dispatch "actionsList" to cd "Opening" of stack "CP_Main" with myAction
>   pass pollActions
> end pollActions
> 
> 
> In the main stack, I have:
> 
> local actionsList
> 
> on actionsList tList
>   put tList after actionsList
> end actionsList
> 
> 
> 
> My question:
> How do I get the name of the script only stack that holds the “Feature” code? 
> The above code gives me the name of the main stack, which is not useful for 
> my purposes.
> 
> 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

Whoops: Getting the name of the script only stack an handler is in

2018-12-31 Thread William Prothero via use-livecode
Folks:
Sorry, I accidentally sent the email before finishing it. Here’s the complete 
message.
But perhaps I’ve solved it. I only need to put the name of the “feature” stack 
in the pollActions handler. Anyway, I still have my question.

I’m trying to implement a structure where I can simply add script only stacks 
that seamlessly add capability to my app. To do this, I have all of the 
“feature” stacks in a given folder, and when I initialize the app, I start 
using all of the “feature” stacks. Then I want to initialize all of them, so I 
send a message that gets passed in each “feature” stack.

I do, in each “feature” stack (which doesn’t give me the answer I want):

on pollActions
put the short name of the current stack into myAction  (I want the name 
of the stack that contains this script)
dispatch "actionsList" to cd "Opening" of stack "CP_Main" with myAction
pass pollActions
end pollActions


In the main stack, I have:

local actionsList

on actionsList tList
put tList after actionsList
end actionsList



My question:
How do I get the name of the script only stack that holds the “Feature” code? 
The above code gives me the name of the main stack, which is not useful for my 
purposes.

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

Getting the name of the script only stack an handler is in

2018-12-31 Thread William Prothero via use-livecode
Folks:
I’m trying to implement a structure where I can simply add script only stacks 
that seamlessly add capability to my app. To do this, I have all of the 
“feature” stacks in a given folder, and when I initialize the app, I start 
using all of the “feature” stacks. Then I want to initialize all of them, so I 
send a message that gets passed in each “feature” stack.

I do, in each “feature” stack:
on pollActions

put the short name of the current stack into myAction

dispatch "actionsList" to cd "Opening" of stack "CP_Main" with myAction

pass pollActions

end pollActions



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

OT-Reading Old Quicken Files

2018-12-04 Thread William Prothero via use-livecode
Folks:
I’m just curious if anybody has tried to use Livecode to read pre-2004 Quicken 
files. They are in binary, and the current Quicken, and Quicken2007 (which I 
have) will no longer read them.

I’m trying to recover archives of old transactions and checking whether it’s 
even feasible.

Best,
Bill

William A. Prothero
http://earthlearningsolutions.org

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

Re: Array editing or Validate JSON string?

2018-11-17 Thread William Prothero via use-livecode
Folks:
I guess I could have been more clear. I am editing the JSON directly in a text 
field. If I make a mistake, then use JSONToArray, the program just fails 
silently. What I would like to do is get a dialog that the JSON wasn’t formed 
correctly. Of course, since I’m using it for my personal development of my app, 
I can know that it failed if I don’t get the answer dialog I put in after it. 
but, it seems a kludge. Shouldn’t there be some kind of an error result if the 
JSON is ill-formed?
Best,
Bill

> On Nov 16, 2018, at 1:57 PM, Mark Talluto via use-livecode 
>  wrote:
> 
> Hi Bill,
> 
> My favorite JSON validator is:  https://jsonformatter.curiousconcept.com 
> <https://jsonformatter.curiousconcept.com/>
> 
> 
> Best regards,
> 
> Mark Talluto
> livecloud.io <http://livecloud.io/>
> nursenotes.net <http://nursenotes.net/>
> canelasoftware.com <http://www.canelasoftware.com/>
> 
> 
> 
> 
>> On Nov 15, 2018, at 3:09 PM, William Prothero via use-livecode 
>>  wrote:
>> 
>> Hi, I’m editing a json string (for development uses) and wonder if there is 
>> an easy way to validate whether the string is a valid JSON string. 
>> 
>> Or, perhaps there is an easier way to display and edit a pretty simple array.
>> 
>> Suggestions would be helpful. Currently, I convert the array to JSON, put it 
>> in a text field, then edit the text field. It would be convenient if it 
>> could trap editing errors I might make. The simple way seems to just throw 
>> an error and stop execution of the script.
>> 
>> Best,
>> Bill
>> 
>> William A. Prothero
>> http://earthlearningsolutions.org
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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

Re: Array editing or Validate JSON string?

2018-11-15 Thread William Prothero via use-livecode
Thanks, Terry:
I’ll give it a whack.
Bill

> On Nov 15, 2018, at 5:19 PM, Terry Judd via use-livecode 
>  wrote:
> 
> Hi Bill - I convert the JSON (jsonImport) to an array then use a treeview 
> widget to display it. I then use an actionDoubleClick handler in the widget 
> script to grab the appropriate array element and display it in an ask dialog. 
> The value goes back into the array and I export the array back to JSON 
> (jsonExport). Works well as long as the JSON elements don't contain large 
> amounts of text - in which case you might need a custom dialog for displaying 
> and editing the contents.
> 
> Terry...
> 
> On 16/11/2018 10:10 am, "use-livecode on behalf of William Prothero via 
> use-livecode"  use-livecode@lists.runrev.com> wrote:
> 
>Hi, I’m editing a json string (for development uses) and wonder if there 
> is an easy way to validate whether the string is a valid JSON string. 
> 
>Or, perhaps there is an easier way to display and edit a pretty simple 
> array.
> 
>Suggestions would be helpful. Currently, I convert the array to JSON, put 
> it in a text field, then edit the text field. It would be convenient if it 
> could trap editing errors I might make. The simple way seems to just throw an 
> error and stop execution of the script.
> 
>Best,
>Bill
> 
>William A. Prothero
>http://earthlearningsolutions.org
> 
>___
>use-livecode mailing list
>use-livecode@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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

Array editing or Validate JSON string?

2018-11-15 Thread William Prothero via use-livecode
Hi, I’m editing a json string (for development uses) and wonder if there is an 
easy way to validate whether the string is a valid JSON string. 

Or, perhaps there is an easier way to display and edit a pretty simple array.

Suggestions would be helpful. Currently, I convert the array to JSON, put it in 
a text field, then edit the text field. It would be convenient if it could trap 
editing errors I might make. The simple way seems to just throw an error and 
stop execution of the script.

Best,
Bill

William A. Prothero
http://earthlearningsolutions.org

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

Re: using the map widget

2018-10-29 Thread William Prothero via use-livecode
Herman made an excellent stack that demos the use of Google Maps. I have a link 
to it here:
http://earthlearningsolutions.org/google-static-maps-demo/ 

You need to get an API key from Google, but the demo shows how to set it up. 
This may  be more useful than the widget, as there is a lot of documentation by 
Google on how to set it up, which is pretty easy.
Best,
Bill

> On Oct 29, 2018, at 7:48 PM, Mike for GDC via use-livecode 
>  wrote:
> 
> I am trying to implement the map widget within my app.  I have entered my
> api code in the inclusions and have looked at the example given in the
> livecode article but so far it has not worked.  Does anyone have an example
> of using it in an app?  What I want is to be able to retrieve the current
> location (lat and long) and then use that to present
> 
> my map in the map widget.  I would have hoped it would be fairly straight
> forward but I have never actually seen an example of script that works..  I
> would appreciate any help anyone might have.
> 
> Thanks.  Mike
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


Re: Will it ever be possible place controls over browser widget?

2018-10-28 Thread William Prothero via use-livecode
Hermann:
You are sooo DARN CREATIVE! I’m awed.
Bill

> On Oct 28, 2018, at 10:54 AM, hh via use-livecode 
>  wrote:
> 
> We already know that this is not possible by "ordinary" controls
> because the browser widget has a native layer.
> (Except we"bundle" your controls in a floating window.)
> 
> But there is one way more (I use it for updating my Textedit
> widget).
> 
> Of course you can overlay a browser widget with a browser widget:
> 
> Make using HTML/CSS a "Bar" (containing buttons etc.).
> The HTML/CSS of that is pretty simple and changeable without deep
> knowledge of HTML or CSS.
> You get a clickCallback via a javaScriptHandler and can simply use
> the scripts of your LCS objects from that javaScriptHandler.
> 
> I made a simple example stack with 6 rounded buttons here, may be
> I'll update it from time to time:
> 
> http://forums.livecode.com/viewtopic.php?p=172729#p172729
> 
> 
> 
> ___
> use-livecode mailing list
> use-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: Autocomplete Problem

2018-10-23 Thread William Prothero via use-livecode
Monte:
What is annoying to me is when I use brackets and quotes. Maybe it’s just the 
way I have gotten habituated, but it is always trying to put double quotes when 
I add a quote (or bracket at the end of a bracketed expression) at the end of a 
string. 
Best,
Bill

> On Oct 23, 2018, at 2:58 PM, Monte Goulding via use-livecode 
>  wrote:
> 
> 
> 
>> On 24 Oct 2018, at 1:23 am, Rick Harrison via use-livecode 
>>  wrote:
>> 
>> It keeps interfering with what I’m trying to type
> 
> 
> I’m wondering how it is interfering with what you are trying to type. Can you 
> provide an example. It shouldn’t do so unless you tab to complete. It could 
> be that as we have had the tab to auto-format feature for such a long time 
> that many people have become used to hitting tab a lot.
> 
> FWIW I get really annoyed with some editors that do autocomplete on return so 
> you type what you want and hit return and all of a sudden you get stuff you 
> don’t want so I completely understand the annoyance factor.
> 
> Cheers
> 
> Monte
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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

Re: 3WDevolution question

2018-09-06 Thread William Prothero via use-livecode
Richard,
Thanks for looking into this. My problem came when the Devo palette wouldn’t 
move to the left, even if the IDE tools palette was closed. But, it’s easy to 
fix by just moving the IDE Tools palette to the right until it lets me move the 
Devo palette to the left, then it no longer snaps right.

No worries, it’s just an idiosyncrasy that’s easily dealt with.
Best,
Bill

> On Sep 6, 2018, at 1:15 AM, Richard Gaskin via use-livecode 
>  wrote:
> 
> William Prothero wrote:
> 
> > Richard:
> > Here’s what I found on the palette thing. I’m no longer worried about
> > the backdrop because it was just me not seeing that there was a LC
> > toolbar menu item that would turn it off. In fact, I may have been
> > blaming Devo incorrectly, when it was LC’s responsibility.
> >
> > If you, in 9.0.1 RC 2 or 3, drag the 4W toolbar to the right, lift the
> > mouse, then drag it back to the left, I see it refusing to be dragged
> > fully to the left. In LC 8.2.0, it acts normally, but in  LC 9.0.1
> > RC3, it won’t return all the way left. It seems like it’s trying to
> > leave space for the IDE Tools palette, but it doesn’t matter whether
> > it’s visible or not.
> 
> I see what's happening there.  It appears the IDE team is attempting to use a 
> floating palette in a highly unusual way: rather than floating on top of a 
> document, it's assumed to be placed at the left and when it is the 
> windowBoundingRect is adjusted so that no other windows can be placed in a 
> way that overlap it.  When the tool palette is moved to any other location 
> sufficiently away from the left edge, the windowBoundingRect is apparently 
> restore to the normal bounds everyone normally expects.
> 


___
use-livecode mailing list
use-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: 3WDevolution question

2018-09-04 Thread William Prothero via use-livecode
Richard:
I’ve been playing around with this and noticed that if i move the IDE tools 
palette to the right far enough, the 4WDevo palette will move as far to the 
left as I want. So that tells me there is some interaction between the IDE 
tools palette and the 4W palette.

Again, if you can’t make it happen, I can live with it, especially now that 
I’ve played with it a bit more. It’s really pretty minor.
Best,
Bill

> On Sep 4, 2018, at 10:27 PM, William Prothero via use-livecode 
>  wrote:
> 
> Richard:
> Here’s what I found on the palette thing. I’m no longer worried about the 
> backdrop because it was just me not seeing that there was a LC toolbar menu 
> item that would turn it off. In fact, I may have been blaming Devo 
> incorrectly, when it was LC’s responsibility.
> 
> If you, in 9.0.1 RC 2 or 3, drag the 4W toolbar to the right, lift the mouse, 
> then drag it back to the left, I see it refusing to be dragged fully to the 
> left. In LC 8.2.0, it acts normally, but in  LC 9.0.1 RC3, it won’t return 
> all the way left. It seems like it’s trying to leave space for the IDE Tools 
> palette, but it doesn’t matter whether it’s visible or not.
> 
> Richard, I can live with this. I’m on a Mac. It should be very easy to 
> replicate, if it’s happening on your computer. I wonder if there was some 
> change in the messaging in 9.0.1 versions that causes this.
> 
> Best,
> Bill
> 
>> On Sep 4, 2018, at 8:12 PM, Richard Gaskin via use-livecode 
>>  wrote:
>> 
>> William Prothero wrote:
>> 
>>> Folks (Richard?):
>>> Ok, I know this is really easy, I did it when I first installed it,
>>> and I’m probably just not seeing something, but ……..
>>> 
>>> I’m on Apple, 10.13.3 and LC 9.0.1
>>> 
>>> How do I get rid of the white background that covers the desktop when
>>> 4WDevolution is launched? I have gotten used to Devolution and like
>>> it, but it has become a bit annoying lately.
>> 
>> Thanks for writing, Bill.  I got your email as well, still catching up
>> on my In Box after the long holiday weekend.  Replying here is just as good.
>> 
>> 4W devo does not alter the IDE's backdrop settings.  And unfortunately,
>> I'm not able to reproduce that here.
>> 
>> If you open LC's Prefs you should be able to turn off the backdrop from
>> there.
>> 
>> If you have any other details which might help me reproduce that I'll be
>> happy to see what I can do, but AFAIK there are no interactions between
>> 4W devo's prefs and LC's.
>> 
>> 
>> 
>>> Second question: Since 9.0.1 RC1 of livecode, the 4WDevo tool palette
>>> will not stay on the left side. It is exactly offset to show both the
>>> LCE tools palette and the 4WDevo tools palette. But, if I want to
>>> toggle between them, having it offset is a pain. I can move it over
>>> using the Desktop feature of 4WDevo, but then it pops back to the
>>> right after clicking on the 4WDevo palette. Or, just drag it to the
>>> right, then it won’t drag back to the left where it started.
>> 
>> Another oddity that I'm afraid I can't reproduce.  But then again, I
>> spend relatively little time in LC with the IDE's Tool Palette open.
>> I'll play around with it and see what I can find.  If you come up with a
>> step-by-step recipe for me to follow that would help.
>> 
>> Thanks for the report.
>> 
>> -- 
>> 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: 3WDevolution question

2018-09-04 Thread William Prothero via use-livecode
Richard:
Here’s what I found on the palette thing. I’m no longer worried about the 
backdrop because it was just me not seeing that there was a LC toolbar menu 
item that would turn it off. In fact, I may have been blaming Devo incorrectly, 
when it was LC’s responsibility.

If you, in 9.0.1 RC 2 or 3, drag the 4W toolbar to the right, lift the mouse, 
then drag it back to the left, I see it refusing to be dragged fully to the 
left. In LC 8.2.0, it acts normally, but in  LC 9.0.1 RC3, it won’t return all 
the way left. It seems like it’s trying to leave space for the IDE Tools 
palette, but it doesn’t matter whether it’s visible or not.

Richard, I can live with this. I’m on a Mac. It should be very easy to 
replicate, if it’s happening on your computer. I wonder if there was some 
change in the messaging in 9.0.1 versions that causes this.

Best,
Bill

> On Sep 4, 2018, at 8:12 PM, Richard Gaskin via use-livecode 
>  wrote:
> 
> William Prothero wrote:
> 
>> Folks (Richard?):
>> Ok, I know this is really easy, I did it when I first installed it,
>> and I’m probably just not seeing something, but ……..
>> 
>> I’m on Apple, 10.13.3 and LC 9.0.1
>> 
>> How do I get rid of the white background that covers the desktop when
>> 4WDevolution is launched? I have gotten used to Devolution and like
>> it, but it has become a bit annoying lately.
> 
> Thanks for writing, Bill.  I got your email as well, still catching up
> on my In Box after the long holiday weekend.  Replying here is just as good.
> 
> 4W devo does not alter the IDE's backdrop settings.  And unfortunately,
> I'm not able to reproduce that here.
> 
> If you open LC's Prefs you should be able to turn off the backdrop from
> there.
> 
> If you have any other details which might help me reproduce that I'll be
> happy to see what I can do, but AFAIK there are no interactions between
> 4W devo's prefs and LC's.
> 
> 
> 
>> Second question: Since 9.0.1 RC1 of livecode, the 4WDevo tool palette
>> will not stay on the left side. It is exactly offset to show both the
>> LCE tools palette and the 4WDevo tools palette. But, if I want to
>> toggle between them, having it offset is a pain. I can move it over
>> using the Desktop feature of 4WDevo, but then it pops back to the
>> right after clicking on the 4WDevo palette. Or, just drag it to the
>> right, then it won’t drag back to the left where it started.
> 
> Another oddity that I'm afraid I can't reproduce.  But then again, I
> spend relatively little time in LC with the IDE's Tool Palette open.
> I'll play around with it and see what I can find.  If you come up with a
> step-by-step recipe for me to follow that would help.
> 
> Thanks for the report.
> 
> -- 
> 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: 3WDevolution question

2018-09-04 Thread William Prothero via use-livecode
Must be a bad day. It’s 4World, of course.
Bill

>> 
>> Second question: Since 9.0.1 RC1 of livecode, the 4WDevo tool palette will 
>> not stay on the left side. It is exactly offset to show both the LCE tools 
>> palette and the 4WDevo tools palette. But, if I want to toggle between them, 
>> having it offset is a pain. I can move it over using the Desktop feature of 
>> 4WDevo, but then it pops back to the right after clicking on the 4WDevo 
>> palette. Or, just drag it to the right, then it won’t drag back to the left 
>> where it started.
>> 
>> Best,
>> Bill
>> 
>> William A. Prothero
>> http://earthlearningsolutions.org
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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

Re: 3WDevolution question

2018-09-04 Thread William Prothero via use-livecode
Oh, gaads. I found the View/Backdrop menu setting to move it to the background.
Never mind….
Ok, the tools palette offset is still annoying.
Bill

> On Sep 4, 2018, at 4:32 PM, William Prothero via use-livecode 
>  wrote:
> 
> Folks (Richard?):
> Ok, I know this is really easy, I did it when I first installed it, and I’m 
> probably just not seeing something, but ……..
> 
> I’m on Apple, 10.13.3 and LC 9.0.1
> 
> How do I get rid of the white background that covers the desktop when 
> 4WDevolution is launched? I have gotten used to Devolution and like it, but 
> it has become a bit annoying lately.
> 
> Second question: Since 9.0.1 RC1 of livecode, the 4WDevo tool palette will 
> not stay on the left side. It is exactly offset to show both the LCE tools 
> palette and the 4WDevo tools palette. But, if I want to toggle between them, 
> having it offset is a pain. I can move it over using the Desktop feature of 
> 4WDevo, but then it pops back to the right after clicking on the 4WDevo 
> palette. Or, just drag it to the right, then it won’t drag back to the left 
> where it started.
> 
> Could somebody remind me of how to hide the full screen background? Since 
> Devo only began the palette location wierdness since LC 9 RC 1, I assume it’s 
> a bug.
> 
> Best,
> Bill
> 
> William A. Prothero
> http://earthlearningsolutions.org
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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

3WDevolution question

2018-09-04 Thread William Prothero via use-livecode
Folks (Richard?):
Ok, I know this is really easy, I did it when I first installed it, and I’m 
probably just not seeing something, but ……..

I’m on Apple, 10.13.3 and LC 9.0.1

How do I get rid of the white background that covers the desktop when 
4WDevolution is launched? I have gotten used to Devolution and like it, but it 
has become a bit annoying lately.

Second question: Since 9.0.1 RC1 of livecode, the 4WDevo tool palette will not 
stay on the left side. It is exactly offset to show both the LCE tools palette 
and the 4WDevo tools palette. But, if I want to toggle between them, having it 
offset is a pain. I can move it over using the Desktop feature of 4WDevo, but 
then it pops back to the right after clicking on the 4WDevo palette. Or, just 
drag it to the right, then it won’t drag back to the left where it started.

Could somebody remind me of how to hide the full screen background? Since Devo 
only began the palette location wierdness since LC 9 RC 1, I assume it’s a bug.

Best,
Bill

William A. Prothero
http://earthlearningsolutions.org

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

Re: Best way to store videos

2018-08-24 Thread William Prothero via use-livecode
Martin:
Thanks for the input.

What I need, though is to display the same video on a web page, or in a 
livecode app. It’s the web page in a wordpress site that is the real problem.
Best,
Bill


> On Aug 24, 2018, at 6:16 AM, Martin Koob via use-livecode 
>  wrote:
> 
> If you go with AWS S3 for storage and .mp4 for videos you can play the videos
> directly in the LiveCode Player object and LiveCode has commands that allow
> you to interface with the AWS S3 API. So you can create your whole app in
> LiveCode without having to use the browser.   Search the LC 9 dictionary for
> the commands that start with AWS and AWSS3 to see what it available to you.
> 
> Martin Koob
> 
> 
> 
> 
> 
> 
> --
> Sent from: 
> http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html
> 
> ___
> use-livecode mailing list
> use-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: Best way to store videos

2018-08-23 Thread William Prothero via use-livecode
Peter:
I had self-hosted a few small videos, all in mp4 format. I hadn’t checked many 
video players, tho, but when I changed hosting services, for my wordpress site, 
the video appeared offset to the right (same code as prev hosting), in the 
iframe. I couldn’t get it to view correctly, and gave up. However, the Youtube 
and Vimeo versions played fine. Then, googling around led me to a bunch of 
probably obsolete examples of what needs to be done to play videos on a wide 
variety of browsers. So, in my search for a solution that would work for both 
livecode apps and my wordpress site, I tried Youtube and Vimeo. Vimeo has a low 
cost plan of $7/mo, which would fit my needs.

So, I’ll probably go with Vimeo. But, it’s good to know that mp4 will play in 
all browsers.

Best,
Bill


> On Aug 23, 2018, at 3:01 PM, Peter Bogdanoff via use-livecode 
>  wrote:
> 
> Bill: If your video is a common format like MPEG-4, then any browser will 
> play it.
> 
> Stephan: I’m aware of the streaming server versions issue. However, not all 
> video content needs to be optimized—it depends on what it is and in what 
> context it is displayed. But, it is true that Vimeo and YouTube handle format 
> conversion and optimization, which is very nice, and one can embed a browser 
> widget on a LC card to play it. Part of my point was that to create 
> interactivity with the media, it would have to be in a format that a player 
> control can use, which would necessitate appropriate files in media storage 
> somewhere.
> 
> I should have noted in my earlier post that to use callbacks in an LC player 
> in Windows, the media format needs to be WMV.
> 
> Peter
> 
> 
> 
> 
> 
> 
>> On Aug 23, 2018, at 2:05 PM, Stephen Barncard via use-livecode 
>>  wrote:
>> 
>> um... Peter.. streaming video is not just about having the storage space...
>> It's what the servers do to match up the devices calling with the
>> appropriate size and type file. Typically many versions of the same video
>> are created for each upload. The Vimeo and YouTube web apps handle all of
>> that.
>> 
>> Believe me I resisted for years and insisted on hosting my own video
>> content, but when the quality got to be HD for everyone, they dumped Flash®
>> and I figured out how one could turn off the ads, I was sold.
>> 
>> --
>> Stephen Barncard - Sebastopol Ca. USA -
>> mixstream.org
>> 
>> On Thu, Aug 23, 2018 at 1:43 PM, Peter Bogdanoff via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> Bill,
>>> 
>>> You could also look at Amazon AWS S3 storage.
>>> 
>>> It’s pretty much free for the first year. Then, depending on usage, could
>>> be only a few dollars a month.
>>> 
>>> https://aws.amazon.com/s3/pricing/
>>> 
>>> Videos could then be played directly in a Livecode player control, as well
>>> as on your website. One of the benefits of the LC player is that you can
>>> program events to happen in response to particular timings set in the
>>> video—callbacks. This is great for pedagogy—synchronized subtitles,
>>> comments, animations as a video (or audio) plays.
>>> 
>>> Peter
>>> 
>>>> On Aug 23, 2018, at 12:47 PM, Stephen Barncard via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
>>>> 
>>>> YouTube is great these days. If you take the time to become a verified
>>>> subscriber all the world will be revealed to you. They have many tools
>>> and
>>>> they re-written the whole thing, and it’s pretty good. It’s also free.
>>> You
>>>> can make playlists and decide what happens at the end, and add links and
>>>> other text.
>>>> 
>>>> After you earn your stars and are good for a while they will give you
>>> these
>>>> privileges.
>>>> 
>>>> And as far as video streaming, they actually appear to be the best. They
>>>> are so equipped with their mirror servers all over the world.
>>>> 
>>>> I used to shun YouTube for several years because of their lower quality
>>> at
>>>> the time but now they’ve come up to do not only great serving but live
>>>> streaming as well.
>>>> 
>>>> You can create extra users. And it has a better social features.
>>>> 
>>>> Vimeo streaming is still excellent but I like the extended distribution
>>>> that YouTube has.  And I have to pay over $100 a year to be able to
>>> upload
>>>> the quality I want quickly.
>>>> 
>>>>

Re: Best way to store videos

2018-08-23 Thread William Prothero via use-livecode
Peter, 
That sounds like a good idea. What has worried me, though, is that it can be a 
pain to implement the code that lets the video be played on any of the many 
browser variations. With Youtube or Vimeo, they take care of making the video 
play on any browser. 

That is, unless the technology for making videos cross-platform has improved 
and I’m not aware of it.

Best,
Bill

> On Aug 23, 2018, at 1:43 PM, Peter Bogdanoff via use-livecode 
>  wrote:
> 
> Bill,
> 
> You could also look at Amazon AWS S3 storage.
> 
> It’s pretty much free for the first year. Then, depending on usage, could be 
> only a few dollars a month.
> 
> https://aws.amazon.com/s3/pricing/
> 
> Videos could then be played directly in a Livecode player control, as well as 
> on your website. One of the benefits of the LC player is that you can program 
> events to happen in response to particular timings set in the 
> video—callbacks. This is great for pedagogy—synchronized subtitles, comments, 
> animations as a video (or audio) plays.
> 
> Peter
> 
>> On Aug 23, 2018, at 12:47 PM, Stephen Barncard via use-livecode 
>>  wrote:
>> 
>> YouTube is great these days. If you take the time to become a verified
>> subscriber all the world will be revealed to you. They have many tools and
>> they re-written the whole thing, and it’s pretty good. It’s also free. You
>> can make playlists and decide what happens at the end, and add links and
>> other text.
>> 
>> After you earn your stars and are good for a while they will give you these
>> privileges.
>> 
>> And as far as video streaming, they actually appear to be the best. They
>> are so equipped with their mirror servers all over the world.
>> 
>> I used to shun YouTube for several years because of their lower quality at
>> the time but now they’ve come up to do not only great serving but live
>> streaming as well.
>> 
>> You can create extra users. And it has a better social features.
>> 
>> Vimeo streaming is still excellent but I like the extended distribution
>> that YouTube has.  And I have to pay over $100 a year to be able to upload
>> the quality I want quickly.
>> 
>> On Thu, Aug 23, 2018 at 12:20 Tom Glod via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> just fyi..you can disable to recommened videos in the embedd code..
>>> you can also detect via java script when the video ends. so you really have
>>> more control than you think.  just got to send script to the browser .
>>> "do in widget".
>>> 
>>> I haven't done anything crazy ...but i know that there is more control than
>>> what is obvious at first.
>>> 
>>> On Thu, Aug 23, 2018 at 3:12 PM William Prothero via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
>>> 
>>>> Folks:
>>>> I have numerous videos that I would like to play on a wordpress web site,
>>>> and in livecode. I don’t want to host these on my own server for obvious
>>>> reasons of bandwidth, support for different browsers, etc.
>>>> 
>>>> This is not a commercial project, but an educational software project
>>>> where I give it away for free. So, I would rather not pay, but I have
>>>> looked into Vimeo and the lowest rate of $7/mo could work. I’ve tried
>>>> YouTube and it has so many privacy issues. Also,  when the video ends it
>>>> displays unrelated material that would be distracting to students.
>>>> 
>>>> I understand that any free service will probably want to grab users’ info
>>>> for marketing. That’s the world we are in.
>>>> 
>>>> Buuut.. do you have a strategy that you could recommend?
>>>> 
>>>> Best,
>>>> Bill
>>>> 
>>>> William A. Prothero
>>>> http://earthlearningsolutions.org
>>>> 
>>>> ___
>>>> use-livecode mailing list
>>>> use-livecode@lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your
>>>> subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> -- 
>> --
>> Stephen Ba

Re: Best way to store videos

2018-08-23 Thread William Prothero via use-livecode
Thanks, Tom. I did a fair amount of Googling and didn’t find any way to turn 
off recommended videos, but perhaps Google is inhibiting those searches. I did 
find a fair amount on a few options, but they weren’t what I wanted.

FYI, I just started with the embed code that youtube gives after uploading. 
Perhaps further investigation will turn up something.
Best,
Bill


> On Aug 23, 2018, at 12:20 PM, Tom Glod via use-livecode 
>  wrote:
> 
> just fyi..you can disable to recommened videos in the embedd code..
> you can also detect via java script when the video ends. so you really have
> more control than you think.  just got to send script to the browser .
> "do in widget".
> 
> I haven't done anything crazy ...but i know that there is more control than
> what is obvious at first.
> 
> On Thu, Aug 23, 2018 at 3:12 PM William Prothero via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Folks:
>> I have numerous videos that I would like to play on a wordpress web site,
>> and in livecode. I don’t want to host these on my own server for obvious
>> reasons of bandwidth, support for different browsers, etc.
>> 
>> This is not a commercial project, but an educational software project
>> where I give it away for free. So, I would rather not pay, but I have
>> looked into Vimeo and the lowest rate of $7/mo could work. I’ve tried
>> YouTube and it has so many privacy issues. Also,  when the video ends it
>> displays unrelated material that would be distracting to students.
>> 
>> I understand that any free service will probably want to grab users’ info
>> for marketing. That’s the world we are in.
>> 
>> Buuut.. do you have a strategy that you could recommend?
>> 
>> Best,
>> Bill
>> 
>> William A. Prothero
>> http://earthlearningsolutions.org
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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

Best way to store videos

2018-08-23 Thread William Prothero via use-livecode
Folks:
I have numerous videos that I would like to play on a wordpress web site, and 
in livecode. I don’t want to host these on my own server for obvious reasons of 
bandwidth, support for different browsers, etc. 

This is not a commercial project, but an educational software project where I 
give it away for free. So, I would rather not pay, but I have looked into Vimeo 
and the lowest rate of $7/mo could work. I’ve tried YouTube and it has so many 
privacy issues. Also,  when the video ends it displays unrelated material that 
would be distracting to students.

I understand that any free service will probably want to grab users’ info for 
marketing. That’s the world we are in.

Buuut.. do you have a strategy that you could recommend?

Best,
Bill

William A. Prothero
http://earthlearningsolutions.org

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

Re: Browser Widget question

2018-07-26 Thread William Prothero via use-livecode
Panos:
Thanks, that cleared up one of my problems. 

I have two buttons, each of which launches a different URL. The http one 
launches first. This works as expected when I, for test purposes, block ATS. 
The second button launches an https site, but when I do “set the URL of widget 
“Browser” to “https://myURL <https://myurl/>here”, it fails to load. I get the 
“browserdocumentloadbegin” message, but the site doesn’t load. It works fine in 
the IDE, though.

Best,
Bill

> On Jul 26, 2018, at 12:08 AM, panagiotis merakos via use-livecode 
>  wrote:
> 
> Hi Bill,
> 
> On iOS http URL are blocked by ATS (App Transport Security). You can
> disable ATS in the iOS standalone settings, but it is not recommended.
> Another way is to add  a whitelist of URLs that should not be blocked by
> ATS. This requires using a custom plist.
> 
> Best,
> Panos
> --
> 
> On Thu, Jul 26, 2018 at 5:27 AM, William Prothero via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> I am using the browser widget on iOS. I can load and display one URL. But,
>> if I set another URL, it doesn’t load. Are there commands I should give to
>> unset the old URL and refresh to the new one? I have it working in the IDE,
>> but on IOS, only the first URL will load. Another one has now effect.
>> 
>> I wonder, will the browser load http: URL’s? It works in the IDE, but in
>> iOS, I need to use https.
>> 
>> Thanks for any hints on this. I’ve spend enough time dicking around.
>> 
>> Best,
>> Bill
>> 
>> William A. Prothero
>> http://earthlearningsolutions.org
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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

Browser Widget question

2018-07-25 Thread William Prothero via use-livecode
I am using the browser widget on iOS. I can load and display one URL. But, if I 
set another URL, it doesn’t load. Are there commands I should give to unset the 
old URL and refresh to the new one? I have it working in the IDE, but on IOS, 
only the first URL will load. Another one has now effect.

I wonder, will the browser load http: URL’s? It works in the IDE, but in iOS, I 
need to use https.

Thanks for any hints on this. I’ve spend enough time dicking around.

Best,
Bill

William A. Prothero
http://earthlearningsolutions.org

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

Trouble getting Browser Widget to work on iOS

2018-07-25 Thread William Prothero via use-livecode
I’ve been having trouble getting the browser widget to work in ios. I’m in 
livecode 9.0.0 Business edition. It works fine in the IDE, but won’t load on 
the iPhone.

I’m wondering if I could have left out any required inclusions. No help in the 
dictionary for that, tho. I’ve added everything that seems related to internet 
access.

If anybody has any ideas on this, I’d appreciate it. I haven’t tried going back 
tot he cef browser, but will unless somebody has a great idea of what I could 
be missing.

Best,
Bill

William A. Prothero
http://earthlearningsolutions.org

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

Re: [ANN] Release 9.0.1 RC-1

2018-07-09 Thread William Prothero via use-livecode
A speedy 6hrs estimated here in White Salmon, Washington.
Guess I’ll have to wait until later this evening. 
Bill


> On Jul 9, 2018, at 4:06 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> You're welcome to come by and download from here.
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On July 9, 2018 5:43:43 PM Mark Wieder via use-livecode 
>  wrote:
> 
>> On 07/09/2018 03:27 PM, J. Landman Gay via use-livecode wrote:
>>> On 7/9/18 5:11 PM, Mark Wieder via use-livecode wrote:
 On 07/09/2018 01:41 PM, Richard Gaskin via use-livecode wrote:
> Panos wrote:
> > We are pleased to announce the release of LiveCode 9.0.1 RC-1.
> 
> Here (Los Angeles) the download is estimated to take three hours.
> Could this be a repeat of the CDN issue you'd corrected a few weeks ago?
> 
 
 Here it actually took only about 45 minutes.
 That's about 8 megabytes / minute, or 132kbytes / second.
 Better than a dialup modem, eh?
 
>>> 
>>> Here in the Northland, downloading from the web page, it took about five
>>> minutes.
>>> 
>> 
>> Well, sure... at a higher latitude the electrons don't have as far to go.
>> 
>> --
>> 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


___
use-livecode mailing list
use-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: AES-256 Encryption Best Practices

2018-07-03 Thread William Prothero via use-livecode
Brian:
Ahhh, ok, I get it. It’s easy to re-seed every time it’s called, using the 
milliseconds. That assumes that the user of the program initiates the action at 
a random time. 

I’ll change the code so it re-seeds every time.

Best,
Bill

> On Jul 3, 2018, at 7:02 PM, Brian Milby via use-livecode 
>  wrote:
> 
> The problem is that with a known IV and the code, the next IV can be
> predicted if using the random function. If the generator was reseeded every
> time an IV was generated, that would remove the advance prediction issue. I
> didn't mean that the first IV could be guessed.  Exploitation would be
> difficult and I believe even requires the attacker to be able to inject
> plain text to be encrypted.
> 
> On Jul 3, 2018, 1:24 PM -0400, Rick Harrison via use-livecode <
> use-livecode@lists.runrev.com>, wrote:
> 
> Hi Brian,
> 
> I think it would be pretty hard to do based on the time.
> One would have to do the calculation in advance and
> hope that the program caught the server at exactly
> the correct millisecond. As you also pointed out the
> hacker would also have to have access to the code.
> 
> If you generate your own random seed with a counter
> it should not count by 1’s. The step count ideally should
> be random as well.
> 
> Good discussion!
> 
> Thanks,
> 
> Rick
> ___
> use-livecode mailing list
> use-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

  1   2   3   >