Re: [ANN] Universal Button 1.2.0

2022-06-19 Thread William Prothero via use-livecode
This looks really useful. Thanks!
Bill

William A. Prothero, PhD
Prof Emeritus, Dept of Earth Science
University of California, Santa Barbara

> On Jun 19, 2022, at 7:54 AM, Ralf Bitter via use-livecode 
>  wrote:
> 
> Thank you, Mike.
> 
> 
>> On 19.06.22 15:17, Mike Kerner via use-livecode wrote:
>> I, for one, appreciate these sorts of messages.
>>> On Fri, Jun 17, 2022 at 8:43 AM Ralf Bitter via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
>>> 
>>> At the risk of getting on your nerves, but there is another
>>> new version of the "universal button" widget.
>>> 
>>> Added text alignment controls and a horizontal margin
>>> ratio slider in the "Text" section.
>>> You have now better control over text and icon placement
>>> in case icon gravity is set to "left" or "right".
>>> 
>>> 
>>> This release can be downloaded here:
>>> https://github.com/revig/universal-button-widget/releases
>>> 
>>> 
>>> Ralf
>>> 
> 
> ___
> use-livecode mailing list
> use-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: Generating Random numbers to conform a distribution

2022-06-08 Thread William Prothero via use-livecode
Mark W has it. The random number generator creates a "uniform" distribution. 
The distribution of the means of  collection of randomly generated uniform 
number sequences will be gaussian in the limit of infinite numbers in the 
uniformly distributed sequences (but you don't need an infinite number to get a 
good approximation of a gaussian distribution). Mark has also demonstrated how 
to do the scaling.

Good luck,
Bill P

William A. Prothero, PhD
Prof Emeritus, Dept of Earth Science
University of California, Santa Barbara

> On Jun 8, 2022, at 12:08 AM, Mark Waddingham via use-livecode 
>  wrote:
> 
> On 2022-06-07 21:51, David V Glasgow via use-livecode wrote:
>> Quite a lot of stats and maths packages offer a feature whereby the N,
>> the Mean and the SD are variables specified by the user, and N random
>> numbers are then generated with the required mean and SD.  I remember
>> the venerable and excellent Hypercard  HyperStat
>>  (1993)
>> by David M Lane doing exactly that.
>> Or is there an elegant formula?  I have Googled about and can’t see
>> one, but maybe I don’t know the magic words.  And if someone wanted to
>> script this in LC what would be the best approach? (just general
>> guidance here, wouldn’t want anyone to invest their valuable time in
>> what is at present just vague musings)
>> Any hints from the stats gurus?
> 
> I'm not a stats guru but...
> 
> I think all you need to do here is to use some of the intrinsic 'properties' 
> of the Mean and SD.
> 
> Lets say you have a collection X of numbers then the following things are 
> always true:
> 
>  P1: Mean(c * X) = c * Mean(X)
>  P2: Mean(X + k) = k + Mean(X)
>  P3: SD(c * X) = abs(c) * SD(X)
>  P4: SD(X + k) = SD(X)
> 
> In English, scaling a set of numbers scales their mean by the same amount, 
> and offsetting a set of numbers offsets their mean by the same amount, 
> Similarly, scaling a set of numbers scales their SD by the same amount, and 
> offsetting a set of numbers makes no difference to the SD (as the SD is a 
> relative quantity - it cares about distance from the mean, not magnitude).
> 
> Now, hopefully we can agree that if you generate a set of a random numbers, 
> then scaling and offsetting them still uniformly does not reduce the 
> randomness (randomness means the numbers form a uniform distribution over the 
> range of generation, if you scale and offset then all you are doing is 
> changing the range - not the distribution).
> 
> So with this in mind, let TMean and TSD be the target mean and target SD. 
> Then:
> 
>  1. Generate N random numbers in the range [0, 1] - S0, ..., SN
> 
>  2. Compute SMean := Mean(S0, ..., SN)
> 
>  3. Compute SSD := SD(S0, ..., SN)
> 
> Now we take a small diversion from a sequence of enumerated steps to ask 
> "what offset and scale do we need to apply to the set of numbers so that we 
> get TMean and TSD, rather than SMean and SSD?".
> 
> The amount we need to scale by is mandated by the SD, specifically:
> 
> c := TSD/SSD
> 
> If we scale our source numbers by c and apply SD then we see:
> 
> SD(c * S0, ..., c * SN) = c * SD(S0, ..., SN) [P3 above]
> = c * SSD
> = TSD / SSD * SSD
> = TSD
> 
> i.e. Our scaled input numbers give us the desired SD!
> 
> So now we just need to play the same 'game' with the Mean. We have:
> 
> Mean(c * S0, ..., c * SN) = c * Mean(S0, ..., SN)
>   = c * SMean
> 
> However we really want a mean of TMean so define:
> 
> k := TMean - c * SMean
> 
> Then if we translate our (scaled!) source numbers by k and apply Mean then we 
> see:
> 
>Mean(c * S0 + k, ..., c * SN + k) = c * Mean(S0, ..., SN) + k [P1 and P2 
> above]
>  = c * SMean + k
>  = c * SMean + TMean - c * SMean
>  = TMean
> 
> i.e. Our scaled and offset input numbers give us the desired Mean!
> 
> Note that SD is invariant under offsetting (P4) so SD(c * S0 + k, ..., c * SN 
> + k) = SD(c * S0, ... c * SN) = TSD!
> 
> We can now return to our sequence of steps:
> 
>  4. Compute c := TSD/SSD
> 
>  5. Compute k := TMean - c * SMean
> 
>  6. Compute the target random numbers, Tn := c * Sn + k
> 
> So, assuming my maths is correct above T0, ..., TN, will be still be 'random' 
> (for some suitable definition of random), but have Mean of TMean and SD of 
> TSD as desired.
> 
> In LiveCode Script, the above is something like:
> 
>   function randomNumbers pN, pTMean, pTSD
>  local tSource
>  repeat pN times
> put random(2^31) & comma after tSource
>  end repeat
> 
>  local tSMean, tSSD
>  put average(tSource) into tSMean
>  put stdDev(tSource) into tSSD
> 
>  local tC, tK
>  put pTSD / pSSD into tC
>  put pTMean - tC * tSMean into tK
> 
>  local tTarget
> 

Re: Anybody tried to import data to Quicken for Mac?

2022-05-06 Thread William Prothero via use-livecode
Mike:
We, I notice that many folks are asking questions about merging and sorting 
lots of data using DataGrid, and databases, and I have a possible need for 
getting csv data into Quicken, on a Mac. I’m trying to see if a livecode 
solution fits my problem.  It’s kinda like folks talking about using Livecode 
to format data for export to Excell. I had wondered if anybody on this list had 
faced this problem, and trying to format for Quicken, which is a very popular 
financial app. I’m not hopeful, but thought I’d check.

I’m also considering just doing this completely in Livecode. There seem to be 
many pathways to financial management. Bank statement downloads don’t list the 
name of the person who made the transaction (at least some don’t), online 
payment systems (Converge, for example) allow csv downloads and it’s possible 
to get a csv formatted file of transactions that include payee name, address, 
phone, etc that I would like to keep. Merging these csv downloads with bank 
statements that list “Batches”, which often contain numerous credit card 
purchases, could be an onerous hand editing job..the kind I hate. I’m trying to 
streamline this task.

Then there are the other online payment sites ……. WooCommerce, etc, which would 
presumably not involve Livecode programming. I’m not ready to go that way yet, 
hoping for something I know a bit more about.

An approach connecting some of these various formats of financial data to 
Quicken (using Livecode) would require a livecode output to a quicken 
interchange format (QIF).

In short (or was it “long”), if nobody has tried this, no worries, please 
ignore this post. I’m just doing “Do Diligence”.

Best,
Bill Prothero

> On May 6, 2022, at 2:16 PM, Mike Kerner via use-livecode 
>  wrote:
> 
> why did you ask about another management program? what up?
> 
> On Fri, May 6, 2022 at 4:41 PM William Prothero via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Folks:
>> I have a nasty accounting problem and need to somehow get data into
>> Quicken (or perhaps find another management program). My question is
>> whether it’s possible (or known) how to take csv data (easy) and convert to
>> acceptable QIF form, which quicken requires.
>> 
>> Best,
>> Bill Prothero
>> 
>> 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
>> 
> 
> 
> -- 
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>   and did a little diving.
> And God said, "This is good."
> ___
> use-livecode mailing list
> use-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


Anybody tried to import data to Quicken for Mac?

2022-05-06 Thread William Prothero via use-livecode
Folks:
I have a nasty accounting problem and need to somehow get data into Quicken (or 
perhaps find another management program). My question is whether it’s possible 
(or known) how to take csv data (easy) and convert to acceptable QIF form, 
which quicken requires.

Best,
Bill Prothero

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: Curved text possible?

2022-04-27 Thread ELS Prothero via use-livecode
Folks,
I made a vertically oriented y axis text label for a data plot once. The text 
was written in a field with a transparent background, then a screen capture of 
the text field area, then rotating the captured image 90 degrees. It worked 
great. Obvious limitation was that the background was included in the capture. 
I wonder if something like this could be done letter by letter, then 
re-captured in a summary graphic.

I seem to remember someone making a plugin, years ago, that made text on a 
curve. 


Best,
Bill

William Prothero
https://earthlearningsolutions.org

> On Apr 27, 2022, at 8:53 AM, William de Smet via use-livecode 
>  wrote:
> 
> Hi Paul,
> 
> It will be an iOS app.
> 
> 
> groeten,
> 
> William
> 
> 
> 
> 
> Op wo 27 apr. 2022 om 17:45 schreef Paul Dupuis via use-livecode <
> use-livecode@lists.runrev.com>:
> 
>> There is not a native way to do this in LiveCode.
>> 
>> An approach might be to use the shell() function (see Dictionary) to
>> pass the text to some external graphics utility that renders and image
>> of it curved and then import the image back into Livecode. There may be
>> other work-arounds.
>> 
>>> On 4/27/2022 11:12 AM, William de Smet via use-livecode wrote:
>>> Hi There,
>>> 
>>> I am in the need for curved text.
>>> User input via a text field need to have a copied curved text output.
>>> Is this even possible in Livecode?
>>> I was thinking of text to the points of a path? Something like that?
>>> 
>>> 
>>> Greetings William
>>> ___
>>> use-livecode mailing list
>>> use-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: New desktop freeware app

2022-03-29 Thread William Prothero via use-livecode
Klaus,
It looks interesting. The url to your site works, but I get only German 
language. The second link gets me nowhere. But, I'd like to try it out.
Best,
Bill Prothero

William A. Prothero, PhD
Prof Emeritus, Dept of Earth Science
University of California, Santa Barbara

> On Mar 29, 2022, at 8:44 AM, Klaus major-k via use-livecode 
>  wrote:
> 
> Hi friends,
> 
> I created a new freeware desktop app with LC (what else?): Übeknecht 
> (Practiseservant)
> and I updated my website accordingly:
> 
> 
> If you want to take a look, do it here: 
> [url]https://major-k.de/uebeknecht/[/url]
> On the download page there is also a new version of an old game: 
> [b]Ei-Kätscher[/b] for small and big children. :-)
> 
> Localized in german and english, of course!
> 
> Please tell all of your (musician-)friends!
> 
> 
> Best
> 
> Klaus
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> kl...@major-k.de
> 
> 
> ___
> use-livecode mailing list
> use-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: Speed up a slow loop

2022-03-06 Thread William Prothero via use-livecode
Folks:
I've been following this thread in wonder at the creative ways of optimizing 
this word search. I hope that the code will be published somewhere, available 
to all, with credits to the multiple idea authors.

Kudos and congratulations to those who offered such creative and thoughtful 
ideas. I'm awed!

Bill

William A. Prothero, PhD
Prof Emeritus, Dept of Earth Science
University of California, Santa Barbara

> On Mar 6, 2022, at 5:33 AM, Alex Tweedly via use-livecode 
>  wrote:
> 
> 
>> On 06/03/2022 06:35, J. Landman Gay via use-livecode wrote:
>> 
>> Combined with Ken's suggestion to use "difference", looking up a list of 
>> about 50 words in the filtered dictionary reduces the time from 2-4 seconds 
>> to about 40 ms. It varies, depending on a lot of things, but it's fast 
>> enough that you don't notice. That's on my Pixel 5; on the Mac a lookup 
>> takes 5ms. And I can do it all in LC script.
>> 
> 5ms !?!
> 
> I did a (very simple) test  (see code below)
> 
>  - take the whole sowpods.txt file (267k words)
> 
>  - create a set (i.e. split by CR as set)
> 
>  - look up 50 randomly chosen words + 5 non-words (just in case failed 
> searches were expensive).
> 
> Doing this 100 times takes 6-10 ms (on an old MacBook Pro).
> 
> Could you maybe post the code that you're using that takes 5ms ?
> 
>> I love these little speed contests we have here. Thank you.
>> 
> Alex.
> 
>> 
>> on mouseup
>>local tmp, tNumberOfLines, tNumberOfLoops
>>local tWords, tAWords, tTries
>> 
>>put the cWords of me into tWords
>>if tWords is empty then
>>   put URL ("file:" & specialfolderpath("resources") & "/sowpods.txt") 
>> into tWords
>>   set the cwords of me to tWords
>>   put "From file"  into fld "F"
>>else
>>   put "using custom property"  into fld "F"
>>end if
>> 
>>put tWords into tAWords
>>split tAWords by CR as set
>> 
>>repeat with I = 1 to 50
>>   put random(the number of lines in tWords) into tmp
>>   put line tmp of tWords  after tTries
>>end repeat
>>repeat with I = 1 to 5
>>   put "azazaz"  after tTries
>>end repeat
>> 
>>put 100 into tNumberofLoops
>> 
>>local t1, t2, tCount, tTotal
>> 
>>--   put the millisecs into t1
>>--   repeat tNumberOfLoops times
>>--  put 0 into tCount
>>--  repeat for each line L in tTries
>>-- if L is among the lines of tWords then add 1 to tCount
>>--  end repeat
>>--   end repeat
>>--   put the millisecs into t2
>>--   put tCOunt && "iterate lines" && t2-t1  after fld "F"
>> 
>>put the millisecs into t1
>>repeat tNumberOfLoops times
>>   put 0 into tCount
>>   put 0 into tTotal
>>   repeat for each line L in tTries
>>  add 1 to tTotal
>>  if tAWords[L] then add 1 to tCount
>>   end repeat
>>end repeat
>>put the millisecs into t2
>>put tCount && "of" && tTotal && "each element" && t2-t1  after fld "F"
>> 
>> 
>> 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: Into the future

2022-02-28 Thread William Prothero via use-livecode
Dealing with Apple certificates is the most onerous part of building a 
standalone. I really wish the livecode team could help address this issue and 
help us out.

best,
Bill

William A Prothero

> On Feb 28, 2022, at 12:56 PM, Tom Glod via use-livecode 
>  wrote:
> 
> I use a mac in the cloud . but i have yet to do any signing  I
> gotta get myself to do it this week. thanks for the reminder...i've been
> putting it off like its math homework only worse. :D
> 
> https://www.macincloud.com/
> 
>> On Mon, Feb 28, 2022 at 3:38 PM matthias rebbe via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>> Bob,
>> 
>> with which version of LC did you see this?
>> 
>> I had a look at the most current dp version of 10. If LC would require a
>> certificate then there should be somewhere in the standalone settings a
>> area where one could select an appropriate certificate.  But that is not
>> the case.
>> 
>> What LC does for some time now when creating a macOS standalone is doing
>> an ad-hoc code signing. Please do not ask me what that is, ;)
>> but  this kind of code signing seems not to require a certificate.
>> The ad-hoc code signing is done in the stack
>> revsaveasstandalone.livecodescript.  Search for 'private command
>> performAdHocCodesign'
>> 
>> So there might some other problem and LC does come up with a misleading
>> error message.
>> 
>> Matthias
>> 
>> 
>> 
>> 
>> 
>>> Am 28.02.2022 um 19:52 schrieb Bob Sneidar via use-livecode <
>> use-livecode@lists.runrev.com>:
>>> 
>>> Hi Klaus.
>>> 
>>> Actually the new LC versions do not create the standalone without those
>> certificates. That is the error dialog I get. If there is a way to disable
>> that feature that would be great!
>>> 
>>> Bob S
>>> 
>>> 
 On Feb 28, 2022, at 10:18 , Klaus major-k via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
 
 Hi Bob,
 
> Am 28.02.2022 um 18:18 schrieb Bob Sneidar via use-livecode <
>> use-livecode@lists.runrev.com>:
> 
> Okay, so I am at the point that I cannot build apps without
>> codesigning and notarizing. Livecode will throw an error now if I try and
>> don't have these certificates installed. Great.
> 
> So I have been going through the tutorial, and I see I have to be an
>> Apple Developer, which means I have to shell out yet another $100 per year.
>> Fine, I did that, even though my app is for internal consumption only.
> 
> Now It appears that for me to get the certificates needed to create a
>> Mac standalone, I need xCode! Okay, I go to download xCode, and it will not
>> install because my MacOS is too old! 10.15.1 is apparently ancient! So I am
>> at the point now where I am asking myself, is this really worth it? After
>> all the back and forth on the list where people's certificates expire, or
>> the version of xCode they are forced to use isn't compatible with one thing
>> or another, is building Mac standalones really worth it?
> 
> So my question is, do I really have to go through all this just to
>> create a Mac standalone from livecode? Or do these other utilities,
>> mrSignNotarizeHelperV3 for example, eliminate the need for all of that?
> 
> Bob S
 
 you can still create a standalone with LC without any certificate etc.!
 
> ...even though my app is for internal consumption only.
 
 
 But your user(s) need to check -> Allow downloads from: Appstore and
>> trusted developers
 In the macOS system settings -> Security
 
 And after the they need to right-click your app and select "Open..."
>> from the context menu
 and confirm once or twice that they really want to open that app.
 
 After that they can doubleclick the app furthermore like the used to.
 
 
 Best
 
 Klaus
 
 --
 Klaus Major
 https://www.major-k.de
 https://www.major-k.de/bass
 kl...@major-k.de
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-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: Question about organization of large projects

2022-02-05 Thread William Prothero via use-livecode
Jacqueline,
Thank you very much! Your explanation will save me a load of time. There really 
ought to be a lesson on this, rather than making folks figure it out for 
themselves. It’s so simple, yet so time consuming to figure how to implement 
from the dictionary.

Best,
Bill

William A. Prothero, PhD
Prof Emeritus, Dept of Earth Science
University of California, Santa Barbara

> On Feb 5, 2022, at 12:05 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> On 2/5/22 12:21 AM, prothero--- via use-livecode wrote:
>> Ok, thinking….. so for development, I would need to do something like:
>> function resPath
>> if the environment contains “Development” then
>>put specialFolderPath("resources”)&”/mydataFolder" into dataPath
>>else
>>put 
>> specialFolderPath(“resources”)&”/dirSplashStackisin/pathToThisStack“&”/mydataFolder"
>>  into dataPath
>>end if
>>return dataPath
>> end resPath
>> In other words, all app paths would be relative to the splash stack.
>> Is that right?
> 
> There are a couple of ways to handle this. One is by using the stackfiles and 
> the other is by creating a specific file path. In both cases, the module 
> stacks should be in a folder structure that lives in the same directory as 
> the splash stack; files scattered around the hard drive don't do well. You 
> can choose either method, you don't need both. Either method will work the 
> same way in the IDE and a standalone (including mobile.)
> 
> For stackfiles: when you enter the path to the file, use a path relative to 
> the main splash stack. The standalone builder retains the file structure when 
> it builds the app, so the relative file paths will be correct anywhere. Add 
> the entire folder of modules in Copy Files, you don't need to include 
> individual files. If you use this method, just refer to the module stack by 
> its short name.
> 
> For example, if your modules are inside a folder named "Resources" which 
> contains other folders, including a "FolderA":
>   Stack1  Resouces/FolderA/Stack1.livecode
> 
> When a script calls 'go stack "stack1"' LC will look at the stackfiles to get 
> the path. It's pretty easy to set up because the inspector includes a button 
> that lets you choose a stack and then fills out the correct path 
> automatically.
> 
> 
> For scripted paths: The specialFolderPath("resources") points to the folder 
> containing the stack that called it. What I usually do is write a filepath 
> function and put it into the splash's stack script. On startup I put the 
> splash in use so that all other stacks can see it.  All navigation goes 
> through this handler. Because it's in a single place, 
> specialFolderPath("resources") is always relative to the splash stack.
> 
> A very simplified example:
> 
> function getFilePath pFolder,pStack
>  -- pFolder can be a single folder or a path through more than one folder
>  if last char of pFolder <> slash then put slash after pFolder
>  put specialFolderPath("resouces") & slash & pFolder & pStack into tPath
>  put ".livecode" after tPath -- omit if you pass the extension in the pStack 
> parameter
>  return tPath
> end getFilePath
> 
> Call it like this:
> 
> put getFilePath("FolderA","Stack1.livecode") into tFilePath
> or:
> put getFilePath("FolderA/FolderB/FolderC","Stack1") into tFilePath
> 
> 
> -- 
> 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: Question about organization of large projects

2022-02-05 Thread William Prothero via use-livecode
Scott,
Thanks. That answers some of the questions I have about old code and refreshes 
my memory on that issue.

I’m wondering if there is a lesson that clarifies this issue, including the way 
“the stack files” property works and setting up the auxiliary data files. 

Best,
Bill

William A. Prothero, PhD
Prof Emeritus, Dept of Earth Science
University of California, Santa Barbara

> On Feb 5, 2022, at 4:17 AM, scott--- via use-livecode 
>  wrote:
> 
> I’m not entirely sure what your structure is or what you want to accomplish 
> as far as stack organization.  In the IDE,  specialFolderPath("resources") 
> returns the path to the current stack's folder. 
> 
> If your supporting stack files are scattered around your hard drive then this 
> would make the task of locating a specific folder using  
> specialFolderPath(“resources") more difficult in the IDE. If your support 
> stacks are, for instance, all organized inside a support folder next to the 
> splash stack then something like what you had in mind would work. For 
> instance:
> 
> 
> -- assumes this is not being called by the splash stack but 
> -- by one of the supporting stack files inside the support folder
> -- which is next to the splash stack
> function resPath 
>put specialFolderPath("resources") into tPath
>if the environment is "development" then
> -- put the itemDel into tOriginalItemDel
>set the itemDel to SLASH
>delete item -1 of tPath
>-- set the itemDel to tOriginalItemDel -- tidy up
>end if
>return (tPath & "/mydataFolder")
> end resPath
> 
> 
> In a standalone, specialFolderPath("resources") always returns the path to 
> the folder where files or folders specified in the Standalone Builder are 
> located. On MacOS this is inside the (splash stack’s) .app bundle… even if 
> the current stack is a free-floating stack file located wherever.
> 
> —
> Scott
> 
>> On Feb 4, 2022, at 8:21 PM, prothero--- via use-livecode 
>>  wrote:
>> 
>> Scott:
>> Hmm…. I have different stacks in subdirectories of the splash stack. I 
>> hadn’t realized that all stacks should be in one top directory. That true? 
>> The specialFolderpath(“Resources”) seems to be relative to each stack, so, 
>> in my case, if a stack is in a folder that is in the specialFolder path of 
>> the splash stack, it will have a different specialfolderpath than the splash 
>> stack.
>> 
>> I haven’t actually built an app to test whether the resources path is the 
>> same in all stacks after build. 
>> 
>> Wow. So does that mean that all of the stacks in an app should be in the 
>> same directory in the dev environment? If not, that seem to complicate 
>> navigation during development.
>> 
>> Ok, thinking….. so for development, I would need to do something like:
>> 
>> function resPath
>> if the environment contains “Development” then
>>put specialFolderPath("resources”)&”/mydataFolder" into dataPath
>>else
>>put 
>> specialFolderPath(“resources”)&”/dirSplashStackisin/pathToThisStack“&”/mydataFolder"
>>  into dataPath
>>end if
>>return dataPath
>> end resPath
>> 
>> In other words, all app paths would be relative to the splash stack.
>> 
>> Is that right?
>> 
>> Bill
>> 
>>>> On Feb 4, 2022, at 8:41 PM, scott--- via use-livecode 
>>>>  wrote:
>>> 
>>> Hello Bill,
>>> 
>>> Are you seeing that the stack files have a different “resources” path in 
>>> the IDE ? This is expected behavior if the stacks are in different 
>>> directories. The “resources” path in the IDE is the folder that the stack 
>>> lives in. However, once everything is made into a standalone the 
>>> “resources” path should be the same for all stacks opened by the app… even 
>>> stacks that are not bundled with the standalone. The app should always 
>>> report the same path.
>>> 
>>> --
>>> Scott Morrow
>>> 
>>> Elementary Software
>>> (Now with 20% less chalk dust!)
>>> web   https://elementarysoftware.com/
>>> email sc...@elementarysoftware.com
>>> booth1-360-734-4701
>>> --
>>> 
>>> 
>>>> On Feb 4, 2022, at 4:56 PM, ELS Prothero via use-livecode 
>>>>  wrote:
>>>> 
>>>> Folks,
>>>> Rather than thrashing around on this, I am asking for some general 
>>>> gui

Re: Question about organization of large projects

2022-02-04 Thread prothero--- via use-livecode
Scott:
Hmm…. I have different stacks in subdirectories of the splash stack. I hadn’t 
realized that all stacks should be in one top directory. That true? The 
specialFolderpath(“Resources”) seems to be relative to each stack, so, in my 
case, if a stack is in a folder that is in the specialFolder path of the splash 
stack, it will have a different specialfolderpath than the splash stack.

I haven’t actually built an app to test whether the resources path is the same 
in all stacks after build. 

Wow. So does that mean that all of the stacks in an app should be in the same 
directory in the dev environment? If not, that seem to complicate navigation 
during development.

Ok, thinking….. so for development, I would need to do something like:

function resPath
 if the environment contains “Development” then
put specialFolderPath("resources”)&”/mydataFolder" into dataPath
else
put 
specialFolderPath(“resources”)&”/dirSplashStackisin/pathToThisStack“&”/mydataFolder"
 into dataPath
end if  
return dataPath
end resPath

In other words, all app paths would be relative to the splash stack.

Is that right?

Bill

> On Feb 4, 2022, at 8:41 PM, scott--- via use-livecode 
>  wrote:
> 
> Hello Bill,
> 
> Are you seeing that the stack files have a different “resources” path in the 
> IDE ? This is expected behavior if the stacks are in different directories. 
> The “resources” path in the IDE is the folder that the stack lives in. 
> However, once everything is made into a standalone the “resources” path 
> should be the same for all stacks opened by the app… even stacks that are not 
> bundled with the standalone. The app should always report the same path.
> 
> --
> Scott Morrow
> 
> Elementary Software
> (Now with 20% less chalk dust!)
> web   https://elementarysoftware.com/
> email sc...@elementarysoftware.com
> booth1-360-734-4701
> --------------
> 
> 
>> On Feb 4, 2022, at 4:56 PM, ELS Prothero via use-livecode 
>>  wrote:
>> 
>> Folks,
>> Rather than thrashing around on this, I am asking for some general guidance.
>> 
>> I am working on a large project that has a splash stack, some stacks that do 
>> things, and some of those stacks access data contained in the app. It’s a 
>> project I built at least 10 years ago and, of course, it needs to be 64bit.  
>> I’m revising the navigation between different stacks and making other 
>> additions. I have set the stack locations in the stackfiles property of the 
>> splash stack. These filepaths are constructed according to the development 
>> folder that contains the project.  The required data file ares specified in 
>> the stack settings preferences of the development environment. 
>> 
>> So, I notice that the specialfolderpath(“resources”) returns different 
>> paths, depending on which of the project stacks calls it. So, my idea is to 
>> maybe set up all of the paths to the data in the splash stack using 
>> specialfolderpath as a base location. This worries me a bit because I’d like 
>> the various pieces of the project to be modular, so I could use them easily 
>> in other projects.
>> 
>> Question: should I set all paths of stacks and data in the splash stack? 
>> Also, do you have any suggestions on the use of specialfolderpath, where 
>> it’s appropriate when other stacks are in that path?
>> 
>> Thanks for pointing me to a resource to help me understand and optimize 
>> this, or give suggestions. 
>> 
>> Best,
>> Bill
>> 
>> William Prothero
>> https://earthlearningsolutions.org
>> 
>>> On Feb 3, 2022, at 12:55 PM, General 2018 via use-livecode 
>>>  wrote:
>>> 
>>> Update >>>> Success.
>>> 
>>> Tried everything, then read a post that pointed to :-
>>> Apple Worldwide Developer Relations Certification Authority Cert
>>> Developer ID Certification Authority Cert
>>> 
>>> In Keychain my existing expired 2027, I downloaded and installed the latest 
>>> expiring 2030/2031 - re run mrSign and notarization success.
>>> 
>>> Status = Success 0 
>>> Status Code = Pac 
>>> Status Message = Age Approved
>>> 
>>> Regards
>>> Camm
>>> 
>>>> On 29 Jan 2022, at 22:41, matthias rebbe via use-livecode 
>>>>  wrote:
>>>> 
>>>> Hm, interesting. Seems to be a problem with a wrong or missing timestamp. 
>>>> So maybe adding --timestamp parameter will fix this.
>>>> 
>>>> Could you please change the fo

Question about organization of large projects

2022-02-04 Thread ELS Prothero via use-livecode
Folks,
Rather than thrashing around on this, I am asking for some general guidance.

I am working on a large project that has a splash stack, some stacks that do 
things, and some of those stacks access data contained in the app. It’s a 
project I built at least 10 years ago and, of course, it needs to be 64bit.  
I’m revising the navigation between different stacks and making other 
additions. I have set the stack locations in the stackfiles property of the 
splash stack. These filepaths are constructed according to the development 
folder that contains the project.  The required data file ares specified in the 
stack settings preferences of the development environment. 

So, I notice that the specialfolderpath(“resources”) returns different paths, 
depending on which of the project stacks calls it. So, my idea is to maybe set 
up all of the paths to the data in the splash stack using specialfolderpath as 
a base location. This worries me a bit because I’d like the various pieces of 
the project to be modular, so I could use them easily in other projects.

Question: should I set all paths of stacks and data in the splash stack? Also, 
do you have any suggestions on the use of specialfolderpath, where it’s 
appropriate when other stacks are in that path?

Thanks for pointing me to a resource to help me understand and optimize this, 
or give suggestions. 

Best,
Bill

William Prothero
https://earthlearningsolutions.org

> On Feb 3, 2022, at 12:55 PM, General 2018 via use-livecode 
>  wrote:
> 
> Update  Success.
> 
> Tried everything, then read a post that pointed to :-
> Apple Worldwide Developer Relations Certification Authority Cert
> Developer ID Certification Authority Cert
> 
> In Keychain my existing expired 2027, I downloaded and installed the latest 
> expiring 2030/2031 - re run mrSign and notarization success.
> 
> Status = Success 0 
> Status Code = Pac 
> Status Message = Age Approved
> 
> Regards
> Camm
> 
>> On 29 Jan 2022, at 22:41, matthias rebbe via use-livecode 
>>  wrote:
>> 
>> Hm, interesting. Seems to be a problem with a wrong or missing timestamp. 
>> So maybe adding --timestamp parameter will fix this.
>> 
>> Could you please change the following lines in the stack script of the 
>> NotarizeHelper stack and try again after that?
>> 
>> 
>> line 904
>> put "codesign --deep --force --verify --verbose --sign 
>> ##developerIDApplication## --options runtime  --entitlements 
>> ##entitlementsplist## ##myapp##" into tShell
>> with this line
>> put "codesign --timestamp --deep --force --verify --verbose --sign 
>> ##developerIDApplication## --options runtime  --entitlements 
>> ##entitlementsplist## ##myapp##" into tShell
>> 
>> 
>> 
>> line 908
>> put "codesign --deep --force --verify --verbose --sign 
>> ##developerIDApplication## --options runtime ##myapp##" into tShell
>> with
>> put "codesign --timestamp --deep --force --verify --verbose --sign 
>> ##developerIDApplication## --options runtime ##myapp##" into tShell
>> 
>> line 953
>> put "codesign --deep --force --verify --verbose --sign 
>> ##developerIDApplication## --options runtime ##myDMG##" into tShell
>> with
>> put "codesign --timestamp --deep --force --verify --verbose --sign 
>> ##developerIDApplication## --options runtime ##myDMG##" into tShell
>> 
>> 
 Am 29.01.2022 um 22:17 schrieb General 2018 via use-livecode 
 :
>>> 
>>> Tried all these, result the same.
>>> 
>>> In show “Notarization requests” for each :-
>>> 
>>> Status = invalid 2
>>> Status Code = Pac
>>> Status Message = age invalid
>>> 
>>> Regards Camm
>>> 
> On 29 Jan 2022, at 20:37, matthias rebbe via use-livecode 
>  wrote:
 
>>> ___
>>> use-livecode mailing list
>>> use-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: 9.6.6 build errors

2022-02-01 Thread William Prothero via use-livecode
Jacqueline:
Thank you for posting this. I simply forgot why we turned off messages. I got 
involved in other things and it’s been awhile since I’ve built an app that I 
want someone else to use. 

The problem I worry about is that there may be messages that refer to problems 
with the build process.
Bill

> On Feb 1, 2022, at 10:13 AM, J. Landman Gay via use-livecode 
>  wrote:
> 
> It's one of the most intrusive changes LC has ever made. Can we get a stack 
> property to indicate whether we want messages locked or not? Except for a few 
> specific situations, I'm betting most of us want the old behavior.
> 
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On February 1, 2022 11:58:27 AM panagiotis m via use-livecode 
>  wrote:
> 
>> Oh right, I see, thanks Klaus and Jacque. Yes, this is what Bill probably
>> meant. You still have to perform these checks though, because since LC 9
>> messages are not locked when building a standalone, and it is not
>> recommended to lock messages manually.
>> 
>> Kind regards,
>> Panos
>> 
>> On Tue, 1 Feb 2022, 19:39 J. Landman Gay via use-livecode, <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> I think you mean how we have to litter our scripts with checks for the
>>> standalone builder in every *open/whatever handler. Turning off messages
>>> was a way to accomplish the same thing without altering the scripts. If
>>> building standalones gives you problems then you'd still need to do that.
>>> 
>>> I hadn't thought about how this may be affecting my current stack, since
>>> I've never had any trouble before.
>>> --
>>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>>> HyperActive Software | http://www.hyperactivesw.com
>>> On February 1, 2022 11:12:51 AM William Prothero via use-livecode
>>>  wrote:
>>> 
>>> > Thanks, Panos. I remember having to disable build messages, or something
>>> > like that, but I haven’t built an app for awhile. I know breakpoints
>>> needed
>>> > to be removed, but I thought there was something else. Anyway, this will
>>> > help me in my current project with lc9.6.6.
>>> >
>>> > Thanks,
>>> > Bill
>>> >
>>> > William A. Prothero, PhD
>>> > Prof Emeritus, Dept of Earth Science
>>> > University of California, Santa Barbara
>>> >
>>> >> On Feb 1, 2022, at 8:53 AM, panagiotis m via use-livecode
>>> >>  wrote:
>>> >>
>>> >> Hello Bill,
>>> >>
>>> >> You do not need to disable error msgs to build a standalone. I am not
>>> sure
>>> >> if you ever had to.
>>> >>
>>> >> Kind regards,
>>> >> Panos
>>> >> --
>>> >>
>>> >>> On Tue, 1 Feb 2022 at 18:46, William Prothero via use-livecode <
>>> >>> use-livecode@lists.runrev.com> wrote:
>>> >>>
>>> >>> Regarding this, I don’t recall seeing a reply to my query about whether
>>> >>> you still need to disable error messages when building a standalone.
>>> >>> Hopefully this has been fixed, but …
>>> >>>
>>> >>> Best,
>>> >>> Bill
>>> >>>
>>> >>> William A. Prothero, PhD
>>> >>> Prof Emeritus, Dept of Earth Science
>>> >>> University of California, Santa Barbara
>>> >>>
>>> >>>> On Feb 1, 2022, at 6:59 AM, matthias rebbe via use-livecode <
>>> >>> use-livecode@lists.runrev.com> wrote:
>>> >>>>
>>> >>>> Mark,
>>> >>>>
>>> >>>> where are you saving the standalone to?
>>> >>>> Any chance that the target folder is on iCloud drive. E.g. Desktop or
>>> >>> Documents folder?
>>> >>>>
>>> >>>> I had similar problems in the past when i built the standalone
>>> directly
>>> >>> on the Desktop or Documents folder which were both synchronized with
>>> iCloud
>>> >>> Drive. I just cannot remember the correct error message. Sometimes the
>>> >>> build process was successful and sometimes it was aborted.
>>> >>>> I could solve this to select a target folder outside of iCloud Drive.
>>> >>>> Btw. building the standa

Re: 9.6.6 build errors

2022-02-01 Thread William Prothero via use-livecode
Thanks, Panos. I remember having to disable build messages, or something like 
that, but I haven’t built an app for awhile. I know breakpoints needed to be 
removed, but I thought there was something else. Anyway, this will help me in 
my current project with lc9.6.6.

Thanks,
Bill

William A. Prothero, PhD
Prof Emeritus, Dept of Earth Science
University of California, Santa Barbara

> On Feb 1, 2022, at 8:53 AM, panagiotis m via use-livecode 
>  wrote:
> 
> Hello Bill,
> 
> You do not need to disable error msgs to build a standalone. I am not sure
> if you ever had to.
> 
> Kind regards,
> Panos
> --
> 
>> On Tue, 1 Feb 2022 at 18:46, William Prothero via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>> Regarding this, I don’t recall seeing a reply to my query about whether
>> you still need to disable error messages when building a standalone.
>> Hopefully this has been fixed, but …
>> 
>> Best,
>> Bill
>> 
>> William A. Prothero, PhD
>> Prof Emeritus, Dept of Earth Science
>> University of California, Santa Barbara
>> 
>>> On Feb 1, 2022, at 6:59 AM, matthias rebbe via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>> 
>>> Mark,
>>> 
>>> where are you saving the standalone to?
>>> Any chance that the target folder is on iCloud drive. E.g. Desktop or
>> Documents folder?
>>> 
>>> I had similar problems in the past when i built the standalone directly
>> on the Desktop or Documents folder which were both synchronized with iCloud
>> Drive. I just cannot remember the correct error message. Sometimes the
>> build process was successful and sometimes it was aborted.
>>> I could solve this to select a target folder outside of iCloud Drive.
>>> Btw. building the standalone in a Dropbox folder works w/o problems.
>>> 
>>> Matthias
>>> 
>>>> Am 01.02.2022 um 11:47 schrieb Mark Smith via use-livecode <
>> use-livecode@lists.runrev.com>:
>>>> 
>>>> Hi Panos,
>>>> 
>>>> I did not change anything between attempts, just one right after the
>> other. I guess I was observing this in RC2 and just persisted and it seemed
>> to work on the 2nd or 3rd attempt. For good measure I just took the same
>> stack and was able to build and install two more times without incident so
>> it’s definitely not a repeatable problem and as yet I have no formula or
>> hypothesis as to what might be causing it. I’ll keep an eye on it and log
>> any similar problems I run across.
>>>> 
>>>> Mark
>>>> 
>>>> 
>>>>>> On Feb 1, 2022, at 10:23 AM, panagiotis m via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>>>> 
>>>>> Hello Mark,
>>>>> 
>>>>> I have not seen this before. Did anything change in your stack (used a
>>>>> different provisioning profile or changed anything in the iOS
>> settings) or
>>>>> in the iOS device until the successful 3rd attempt?
>>>>> 
>>>>> I cannot remember of anything that we changed in the 9.6.6 release
>> cycle
>>>>> that could have caused this behavior.
>>>>> 
>>>>> Kind regards,
>>>>> Panos
>>>>> 
>>>>> On Tue, 1 Feb 2022 at 12:14, Mark Smith via use-livecode <
>>>>> use-livecode@lists.runrev.com> wrote:
>>>>> 
>>>>>> I just wanted to flag this issue. I am currently using the new release
>>>>>> version of 9.6.6 although I did have similar problems with RC2 as
>> well.
>>>>>> This morning I took a stack I had previously built and successfully
>>>>>> installed (using Development/Test Target -> iPhone) and tried
>> installing
>>>>>> it. The first time the app went through what appeared to be all the
>> build
>>>>>> steps but did not install the app. The 2nd time it went through all
>> of the
>>>>>> steps and then reported “Unknown Error” and the 3rd time it built and
>>>>>> installed the app correctly. I’ve not noticed behaviour like this in
>>>>>> previous versions. At the moment I have no hypothesis about what
>> might be
>>>>>> going on.
>>>>>> 
>>>>>> Mark
>>>>>> 
>>>>>> 
>>>>>> ___
>>>>>> use-livecode mailin

Re: 9.6.6 build errors

2022-02-01 Thread William Prothero via use-livecode
Regarding this, I don’t recall seeing a reply to my query about whether you 
still need to disable error messages when building a standalone. Hopefully this 
has been fixed, but …

Best,
Bill

William A. Prothero, PhD
Prof Emeritus, Dept of Earth Science
University of California, Santa Barbara

> On Feb 1, 2022, at 6:59 AM, matthias rebbe via use-livecode 
>  wrote:
> 
> Mark,
> 
> where are you saving the standalone to?
> Any chance that the target folder is on iCloud drive. E.g. Desktop or 
> Documents folder?
> 
> I had similar problems in the past when i built the standalone directly on 
> the Desktop or Documents folder which were both synchronized with iCloud 
> Drive. I just cannot remember the correct error message. Sometimes the build 
> process was successful and sometimes it was aborted.
> I could solve this to select a target folder outside of iCloud Drive.
> Btw. building the standalone in a Dropbox folder works w/o problems.
> 
> Matthias
> 
>> Am 01.02.2022 um 11:47 schrieb Mark Smith via use-livecode 
>> :
>> 
>> Hi Panos,
>> 
>> I did not change anything between attempts, just one right after the other. 
>> I guess I was observing this in RC2 and just persisted and it seemed to work 
>> on the 2nd or 3rd attempt. For good measure I just took the same stack and 
>> was able to build and install two more times without incident so it’s 
>> definitely not a repeatable problem and as yet I have no formula or 
>> hypothesis as to what might be causing it. I’ll keep an eye on it and log 
>> any similar problems I run across. 
>> 
>> Mark
>> 
>> 
 On Feb 1, 2022, at 10:23 AM, panagiotis m via use-livecode 
  wrote:
>>> 
>>> Hello Mark,
>>> 
>>> I have not seen this before. Did anything change in your stack (used a
>>> different provisioning profile or changed anything in the iOS settings) or
>>> in the iOS device until the successful 3rd attempt?
>>> 
>>> I cannot remember of anything that we changed in the 9.6.6 release cycle
>>> that could have caused this behavior.
>>> 
>>> Kind regards,
>>> Panos
>>> 
>>> On Tue, 1 Feb 2022 at 12:14, Mark Smith via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
>>> 
 I just wanted to flag this issue. I am currently using the new release
 version of 9.6.6 although I did have similar problems with RC2 as well.
 This morning I took a stack I had previously built and successfully
 installed (using Development/Test Target -> iPhone) and tried installing
 it. The first time the app went through what appeared to be all the build
 steps but did not install the app. The 2nd time it went through all of the
 steps and then reported “Unknown Error” and the 3rd time it built and
 installed the app correctly. I’ve not noticed behaviour like this in
 previous versions. At the moment I have no hypothesis about what might be
 going on.
 
 Mark
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: question re lock screen

2022-01-30 Thread William Prothero via use-livecode
Thanks, Jacqueline. That saves me some time and head scratching.
Bill

William A. Prothero, PhD
Prof Emeritus, Dept of Earth Science
University of California, Santa Barbara

> On Jan 30, 2022, at 9:58 AM, J. Landman Gay via use-livecode 
>  wrote:
> 
> Lockscreen only works within the current window, it doesn't apply to the 
> whole screen. Changing stacks will always show what's happening because LC 
> has to create a new window structure. The visibility isn't relevant per se 
> but drawing the new window is.
> 
> You can initialize the new stack before going to it. Or if you want a visual 
> effect you can go to the stack in the same window, which replaces the current 
> content with the new stack's content without creating a new window.
> 
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
>> On January 30, 2022 10:29:29 AM William Prothero via use-livecode 
>>  wrote:
>> 
>> I’m working on a transition from one stack to another, and initializing to 
>> destination stack’s screen before I show it.
>> So, my question is whether the lock screen command actually works on the 
>> invisible destination screen. Or does it only apply to a screen that is 
>> visible. How does it determine which “screen” to lock?
>> 
>> I see in the dictionary that lock screen does not work in the debug mode. 
>> Hmm…. makes it harder to debug.
>> 
>> Thanks for any info,
>> 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


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


question re lock screen

2022-01-30 Thread William Prothero via use-livecode
I’m working on a transition from one stack to another, and initializing to 
destination stack’s screen before I show it.
So, my question is whether the lock screen command actually works on the 
invisible destination screen. Or does it only apply to a screen that is 
visible. How does it determine which “screen” to lock?

I see in the dictionary that lock screen does not work in the debug mode. Hmm…. 
makes it harder to debug.

Thanks for any info,
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 9.6.6 oddities when showing/hiding text

2022-01-28 Thread prothero--- via use-livecode
Jacqueline:
This appears to do the trick. I had other problems too, like locking the screen 
before I went to the card that was to display the text. But what you describe 
works and now I’m cleaning up the stack.

Thanks,
Bill

> On Jan 28, 2022, at 9:59 AM, William Prothero via use-livecode 
>  wrote:
> 
> Thanks, Jacqueline! I’ll try to.
> Bill
> 
> William A. Prothero, PhD
> Prof Emeritus, Dept of Earth Science
> University of California, Santa Barbara
> 
>> On Jan 28, 2022, at 9:30 AM, J. Landman Gay via use-livecode 
>>  wrote:
>> 
>> The newer, recommended method may work better for you:
>> 
>> lock screen for visual effect [in rect]
>> - - do stuff
>> unlock screen with visual effect dissolve
>> 
>> This caches the area and allows the engine better control over the effect.
>> 
>> --
>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>> HyperActive Software | http://www.hyperactivesw.com
>>> On January 28, 2022 10:51:03 AM William Prothero via use-livecode 
>>>  wrote:
>>> 
>>> Craig,
>>> Tnx, the reason I did the “do” stuff is because I wanted to 
>>> programmatically vary the speed of the dissolve, initially, but it’s 
>>> probably not necessary because most of the dissolves are the same. I have a 
>>> pretty large app and I suspect there is some kind of timing problem because 
>>> putting in a delay solved some of it. For me, the text fades in, then the 
>>> field content disappears and leaves a white space where the field was. The 
>>> background of the field is set to transparent, but I haven’t yet explored 
>>> setting different options. I will do that today.
>>> 
>>> Thanks for the comment,
>>> Bill
>>> 
>>> William A. Prothero, PhD
>>> Prof Emeritus, Dept of Earth Science
>>> University of California, Santa Barbara
>>> 
>>>>> On Jan 28, 2022, at 6:18 AM, Craig Newman via use-livecode 
>>>>>  wrote:
>>>> 
>>>> Hi.
>>>> 
>>>> Still annoyed at having to answer in the use-list as opposed to the Forum.
>>>> 
>>>> I made a new stack with a button an a field. In the button script:
>>>> 
>>>> on mouseUp
>>>> 
>>>> hide fld 1
>>>> 
>>>> put "fld 1" into lFieldRef
>>>> 
>>>> put  “dissolve" into tEffect
>>>> 
>>>> put "show "&" with visual effect " into tDo
>>>> 
>>>> do tDo
>>>> 
>>>> end mouseUp
>>>> 
>>>> Works just fine.
>>>> 
>>>> Why go through all the “do” stuff? Why not just:
>>>> 
>>>> show fld 1 with visual effect dissolve
>>>> 
>>>> Craig
>>>> 
>>>>> On Jan 27, 2022, at 9:12 PM, William Prothero via use-livecode 
>>>>>  wrote:
>>>>> 
>>>>> put "show "&" with visual effect " into tDo
>>>>> 
>>>>> --wait for 1 second with messages
>>>>> 
>>>>> wait 500 milliseconds with messages
>>>>> 
>>>>> do tDo
>>>> 
>>>> ___
>>>> use-livecode mailing list
>>>> use-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

William A. Prothero, Ph.D.
University of California, Santa Barbara Dept. of Earth Sciences (Emeritus)
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


Re: LC 9.6.6 oddities when showing/hiding text

2022-01-28 Thread William Prothero via use-livecode
Thanks, Jacqueline! I’ll try to.
Bill

William A. Prothero, PhD
Prof Emeritus, Dept of Earth Science
University of California, Santa Barbara

> On Jan 28, 2022, at 9:30 AM, J. Landman Gay via use-livecode 
>  wrote:
> 
> The newer, recommended method may work better for you:
> 
> lock screen for visual effect [in rect]
> - - do stuff
> unlock screen with visual effect dissolve
> 
> This caches the area and allows the engine better control over the effect.
> 
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
>> On January 28, 2022 10:51:03 AM William Prothero via use-livecode 
>>  wrote:
>> 
>> Craig,
>> Tnx, the reason I did the “do” stuff is because I wanted to programmatically 
>> vary the speed of the dissolve, initially, but it’s probably not necessary 
>> because most of the dissolves are the same. I have a pretty large app and I 
>> suspect there is some kind of timing problem because putting in a delay 
>> solved some of it. For me, the text fades in, then the field content 
>> disappears and leaves a white space where the field was. The background of 
>> the field is set to transparent, but I haven’t yet explored setting 
>> different options. I will do that today.
>> 
>> Thanks for the comment,
>> Bill
>> 
>> William A. Prothero, PhD
>> Prof Emeritus, Dept of Earth Science
>> University of California, Santa Barbara
>> 
>>>> On Jan 28, 2022, at 6:18 AM, Craig Newman via use-livecode 
>>>>  wrote:
>>> 
>>> Hi.
>>> 
>>> Still annoyed at having to answer in the use-list as opposed to the Forum.
>>> 
>>> I made a new stack with a button an a field. In the button script:
>>> 
>>> on mouseUp
>>> 
>>> hide fld 1
>>> 
>>> put "fld 1" into lFieldRef
>>> 
>>> put  “dissolve" into tEffect
>>> 
>>> put "show "&" with visual effect " into tDo
>>> 
>>> do tDo
>>> 
>>> end mouseUp
>>> 
>>> Works just fine.
>>> 
>>> Why go through all the “do” stuff? Why not just:
>>> 
>>> show fld 1 with visual effect dissolve
>>> 
>>> Craig
>>> 
>>>> On Jan 27, 2022, at 9:12 PM, William Prothero via use-livecode 
>>>>  wrote:
>>>> 
>>>> put "show "&" with visual effect " into tDo
>>>> 
>>>> --wait for 1 second with messages
>>>> 
>>>> wait 500 milliseconds with messages
>>>> 
>>>> do tDo
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-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: LC 9.6.6 oddities when showing/hiding text

2022-01-28 Thread William Prothero via use-livecode
Roger,
It has always worked fine for me, too. That’s why I’m perplexed. I will also 
try older versions of Livecode. I remember that there was an issue with 
“showing” in one of the previous versions.

Best,
Bill

William A. Prothero, PhD
Prof Emeritus, Dept of Earth Science
University of California, Santa Barbara

> On Jan 28, 2022, at 6:57 AM, Roger Guay via use-livecode 
>  wrote:
> 
> Works just fine here! And has always been the way I do it.
> 
> Roger
> 
>> On Jan 28, 2022, at 7:17 AM, Craig Newman via use-livecode 
>>  wrote:
>> 
>> show fld 1 with visual effect dissolve
> 
> ___
> use-livecode mailing list
> use-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: LC 9.6.6 oddities when showing/hiding text

2022-01-28 Thread William Prothero via use-livecode
Craig,
Tnx, the reason I did the “do” stuff is because I wanted to programmatically 
vary the speed of the dissolve, initially, but it’s probably not necessary 
because most of the dissolves are the same. I have a pretty large app and I 
suspect there is some kind of timing problem because putting in a delay solved 
some of it. For me, the text fades in, then the field content disappears and 
leaves a white space where the field was. The background of the field is set to 
transparent, but I haven’t yet explored setting different options. I will do 
that today.

Thanks for the comment,
Bill

William A. Prothero, PhD
Prof Emeritus, Dept of Earth Science
University of California, Santa Barbara

> On Jan 28, 2022, at 6:18 AM, Craig Newman via use-livecode 
>  wrote:
> 
> Hi.
> 
> Still annoyed at having to answer in the use-list as opposed to the Forum.
> 
> I made a new stack with a button an a field. In the button script:
> 
> on mouseUp
> 
> hide fld 1
> 
> put "fld 1" into lFieldRef
> 
> put  “dissolve" into tEffect
> 
> put "show "&" with visual effect " into tDo
> 
> do tDo
> 
> end mouseUp
> 
> Works just fine.
> 
> Why go through all the “do” stuff? Why not just:
> 
> show fld 1 with visual effect dissolve
> 
> Craig
> 
>> On Jan 27, 2022, at 9:12 PM, William Prothero via use-livecode 
>>  wrote:
>> 
>> put "show "&" with visual effect " into tDo
>> 
>> --wait for 1 second with messages
>> 
>> wait 500 milliseconds with messages
>> 
>> do tDo
> 
> ___
> use-livecode mailing list
> use-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


LC 9.6.6 oddities when showing/hiding text

2022-01-27 Thread William Prothero via use-livecode
I have a stack where I’m hiding and showing text fieldsm, in LC 9.6
I’m doing a show field with effect.
I made it work by putting in a delay before each action, like:

put "show "&" with visual effect " into tDo

--wait for 1 second with messages

wait 500 milliseconds with messages

do tDo

It helps, but still, the field will show briefly, then there is a blank white 
spot where the field was. If I click on it the field shows like it’s supposed 
to. The field background is transparent. 

It worked in older versions of livecode. Seems like a bug to me.
Any ideas?

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: Sharing a desktop app, or with beta testers

2022-01-27 Thread William Prothero via use-livecode
Thanks, Matthias. I had tried it without a dollar sign, but I’ll re-check.
Thanks for looking at this.
Bill

> On Jan 27, 2022, at 2:14 PM, matthias rebbe via use-livecode 
>  wrote:
> 
> William,
> 
> i just tried in a Monterey VM
> 
> the syntax 
> pw=YourPassword; echo $pw | sudo -S ... works here as long as i do not 
> have a $ sign in my password.
> 
> The problem seems to be that the dollar sign is a special character in shell. 
> I am not a shell expert, but i've read that strings that contain dollar signs 
> has to be in single quotes.
> 
> I've putted the password in single quotes and it worked then altough it 
> contained the dollar sign.
> 
> I will adjust the sample stack.
> 
> Regards,
> Matthias
> 
> 
> 
> 
> 
>> Am 27.01.2022 um 12:01 schrieb matthias rebbe via use-livecode 
>> :
>> 
>> As i have still 11.6.2 installed i cannot test, if this might be something 
>> Monterey specific.
>> I am currently downloading Monterey and will install it onto a VM, so i 
>> could test. But the 12GB take some time to download.
>> 
>> There is a free tool available from Late Night Software called SD Notary, 
>> which also does the needed steps to get a notarized app.
>> https://latenightsw.com/sd-notary-notarizing-made-easy/ 
>> <https://latenightsw.com/sd-notary-notarizing-made-easy/>
>> 
>> Maybe you try that .
>> 
>> Regards,
>> Matthias
>> 
>> 
>>> Am 27.01.2022 um 02:06 schrieb William Prothero via use-livecode 
>>> mailto:use-livecode@lists.runrev.com>>:
>>> 
>>> Matthias:
>>> I tried the command in the shell
>>> It didn’t work as shown in the status field.
>>> I then switched to superuser, with the password, and it ran the following 
>>> without complaint.
>>> xattr -cr "/Users/prothero/Oceanography Projects/LiveCode-RunRev 
>>> Projects/1-AA-Current Projects/PT_Explorer 
>>> Projects/EarthExplorer_CurrentWkg-D4/EExp Builds/Earth Explorer2/Earth 
>>> Explorer.app"
>>> 
>>> Weird: I entered the command as you suggested below, and it asked for a 
>>> password, as expected. BUT, it didn’t recognize the password I put in. Then 
>>> I just did an SU command, it asked for the password and recognized my 
>>> password. Then the action worked. I’m on OS 12.1 (Apple).
>>> 
>>> My shell password has a dollar sign, 2 numbers and 2 capital letters. Could 
>>> that be the problem?
>>> 
>>> —This is the shell/terminal text:
>>> WProtherosMBP4:~ prothero$ sudo -S xattr -cr "/Users/prothero/Oceanography 
>>> Projects/LiveCode-RunRev Projects/1-AA-Current Projects/PT_Explorer 
>>> Projects/EarthExplorer_CurrentWkg-D4/EExp Builds/Earth Explorer2/Earth 
>>> Explorer.app"
>>> Password:
>>> Sorry, try again.
>>> WProtherosMBP4:~ prothero$ sudo -S xattr -cr "/Users/prothero/Oceanography 
>>> Projects/LiveCode-RunRev Projects/1-AA-Current Projects/PT_Explorer 
>>> Projects/EarthExplorer_CurrentWkg-D4/EExp Builds/Earth Explorer2/Earth 
>>> Explorer.app"
>>> Password:
>>> Sorry, try again.
>>> 
>>> But this worked:
>>> WProtherosMBP4:~ prothero$ su
>>> Password:
>>> sh-3.2# 
>>> 
>>> I changed the shell pw to all lower case alphabetical letters. Same 
>>> issue.When I entered the shell first, entering the same password, it 
>>> worked. The command below didn’t. It asked me for the password and when I 
>>> entered it, it refused. Hmm.. odd.
>>> WProtherosMBP4:~ prothero$ sudo -S  xattr -cr "/Users/prothero/Oceanography 
>>> Projects/LiveCode-RunRev Projects/1-AA-Current Projects/PT_Explorer 
>>> Projects/EarthExplorer_CurrentWkg-D4/EExp Builds/Earth Explorer2/Earth 
>>> Explorer.app"
>>> Password:
>>> Sorry, try again.
>>> Password:
>>> Sorry, try again.
>>> Password:
>> 
>> ___
>> use-livecode mailing list
>> use-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


Question Re desktop app construction

2022-01-27 Thread William Prothero via use-livecode
Folks,
Just wondering if, in the latest versions of Livecode we still need to silence 
error messages when we build the app? I’m wondering if I might be missing some 
useful build errors.

Thanks,
Bill

William A Prothero

> On Jan 27, 2022, at 3:30 AM, matthias rebbe via use-livecode 
>  wrote:
> 
> That are great news.
> 
> I used tmControl and tmControl2 in a lot of projects at the time it was still 
> maintained. 
> I am still using tmAlign regularly. 
> 
> I would love to see a version 3 of tmControl, but could only help testing.
> 
> Regards
> Matthias
> 
>> Am 27.01.2022 um 01:51 schrieb Mike Kerner via use-livecode 
>> :
>> 
>> At long last, Scott Rossi has released the amazing tmControl2 under the BSD
>> license, including a number of themes that I, at least, had not seen,
>> before.
>> Now, thanks to Scott's generosity, everyone in liveCode land can use tmc2
>> to build more beautiful interfaces and controls.
>> * I have a repo with a number of updates/bug fixes up at
>> https://github.com/macMikey/tmControl
>> * The original is available at https://tmtools.tactilemedia.com.
>> * If anyone else falls in love with, or is already in love with tmc2, I
>> would love to talk to you about what we can do to make it better - tmc3.
>> 
>> -- 
>> On the first day, God created the heavens and the Earth
>> On the second day, God created the oceans.
>> On the third day, God put the animals on hold for a few hours,
>>  and did a little diving.
>> And God said, "This is good."
>> ___
>> use-livecode mailing list
>> use-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: Sharing a desktop app, or with beta testers

2022-01-26 Thread William Prothero via use-livecode
Matthias:
I tried the command in the shell
It didn’t work as shown in the status field.
I then switched to superuser, with the password, and it ran the following 
without complaint.
xattr -cr "/Users/prothero/Oceanography Projects/LiveCode-RunRev 
Projects/1-AA-Current Projects/PT_Explorer 
Projects/EarthExplorer_CurrentWkg-D4/EExp Builds/Earth Explorer2/Earth 
Explorer.app"

Weird: I entered the command as you suggested below, and it asked for a 
password, as expected. BUT, it didn’t recognize the password I put in. Then I 
just did an SU command, it asked for the password and recognized my password. 
Then the action worked. I’m on OS 12.1 (Apple).

My shell password has a dollar sign, 2 numbers and 2 capital letters. Could 
that be the problem?

—This is the shell/terminal text:
WProtherosMBP4:~ prothero$ sudo -S xattr -cr "/Users/prothero/Oceanography 
Projects/LiveCode-RunRev Projects/1-AA-Current Projects/PT_Explorer 
Projects/EarthExplorer_CurrentWkg-D4/EExp Builds/Earth Explorer2/Earth 
Explorer.app"
Password:
Sorry, try again.
WProtherosMBP4:~ prothero$ sudo -S xattr -cr "/Users/prothero/Oceanography 
Projects/LiveCode-RunRev Projects/1-AA-Current Projects/PT_Explorer 
Projects/EarthExplorer_CurrentWkg-D4/EExp Builds/Earth Explorer2/Earth 
Explorer.app"
Password:
Sorry, try again.

But this worked:
WProtherosMBP4:~ prothero$ su
Password:
sh-3.2# 

I changed the shell pw to all lower case alphabetical letters. Same issue.When 
I entered the shell first, entering the same password, it worked. The command 
below didn’t. It asked me for the password and when I entered it, it refused. 
Hmm.. odd.
WProtherosMBP4:~ prothero$ sudo -S  xattr -cr "/Users/prothero/Oceanography 
Projects/LiveCode-RunRev Projects/1-AA-Current Projects/PT_Explorer 
Projects/EarthExplorer_CurrentWkg-D4/EExp Builds/Earth Explorer2/Earth 
Explorer.app"
Password:
Sorry, try again.
Password:
Sorry, try again.
Password:


> On Jan 26, 2022, at 3:42 PM, matthias rebbe via use-livecode 
>  wrote:
> 
> William,
> did you try to run that line from shell? Just as a test?
> Is it executed then without a problem?
> 
> Or could you try to execute this line here from shell
>> sudo -S xattr -cr "/Users/prothero/Oceanography Projects/LiveCode-RunRev 
>> Projects/1-AA-Current Projects/PT_Explorer 
>> Projects/EarthExplorer_CurrentWkg-D4/EExp Builds/Earth Explorer2/Earth 
>> Explorer.app"
> You then should be asked for the sudo password. Is that working?
> 
> I am using here an alpha numeric password. I did not test with any symbols or 
> umlauts. So maybe if your pw contains such special characters this might not 
> be working or maybe macOS 12 is not accepting to pass the password using
> echo.
> 
> To be honest i only tried with macOS up to 11.6.2.
> 
> If you want, we can discuss this further by private email. Use my list email 
> first and i reply from my normal office email then. But not today. I need 
> some sleep.
> 
> Regards,
> Matthias
> ___
> use-livecode mailing list
> use-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: Sharing a desktop app, or with beta testers

2022-01-26 Thread William Prothero via use-livecode
Folks:
I’m using the notarizing app. I have it set to only “Sign, notarize and staple 
App”.
I’ve tested the suDo password in the terminal and it’s ok.


In debug mode, I get:
***DEBUG MODE***

deleting zip file...
can't delete that file

can't delete that file

could not delete zip file.


Stapling app...


When not in debug mode, I get:

Removing extended attributes…

executing:

pw=x39AB$rp; echo $pw | sudo -S xattr -cr "/Users/prothero/Oceanography 
Projects/LiveCode-RunRev Projects/1-AA-Current Projects/PT_Explorer 
Projects/EarthExplorer_CurrentWkg-D4/EExp Builds/Earth Explorer2/Earth 
Explorer.app"

Sorry, try again.

sudo: no password was provided

sudo: 1 incorrect password attempt

process aborted

I’ve also set, in the settings:
Apple ID

Nothing in app-specific password* (I don’t think I have one??)

Account is attached multiple iTunes providers (not checked)
Developer ID Application
William Prothero (##)

PKG creation (not checked)
DMG creation (not checked)
Entitlements (checked) 
—lines checked: 1,2,4,9,11

My project is fairly complex, but if I can use the signiing app, it would be 
great.

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


Sharing a desktop app, or with beta testers

2022-01-26 Thread William Prothero via use-livecode
Folks:
Sorry for this question which probably has been answered many times, but …. I’m 
trying not to waste my day searching around.

What’s the best way to send a desktop app on Apple OS 12.1 to a friend or beta 
tester? I sent an app and a security issue came up.

Thanks,
Bill P

William A. Prothero, Ph.D.
University of California, Santa Barbara Dept. of Earth Sciences (Emeritus)
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


Thinking out loud

2022-01-14 Thread William Prothero via use-livecode
Folks:
Just thinking out loud.

My hobby and gift to pay back all of the money I got from the National Science 
Foundation over my career, is to program and make educational applications 
about Earth Science. I’m finding, tho, that for younger kids, Chromebooks are 
mostly used. So, tapping into the vast experience of livecode users on this 
list, what advice would you give me? Livecode on the web? Google Classroom dev 
in Python?  Is the web deployment of the livecode server getting to a place 
where it is actually practical in comparison to other solutions?

My son is a 5’th grade teacher. He uses Google Classroom a lot. I would want 
apps I develop to work in that environment too. Or … function in a web browser. 
I see that LiveCode 10 versions are supporting webASM. It also looks like a 
direction I could go.

The reason I’m favoring apps that work in a browser is then I don’t have to 
worry about the app stores and my work would/should run on different machines.

So, I would appreciate any thoughts or suggestions you might have. I’ve 
programmed in numerous languages (but forgotten lots) and am not averse to 
learning new ones (Javascript?).

Best,
Bill


William Prothero
waproth...@gmail.com
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: I wish all a Happy & Prosperous New year

2022-01-01 Thread William Prothero via use-livecode
Folks:
Happy New Year to you all too..
A special thanks to Curry K for the fabulous word import, Wordlib, product. I 
just tried it and I love it.

Bill Prothero

Sent from my iPad

> On Dec 31, 2021, at 10:11 PM, Curry Kenworthy via use-livecode 
>  wrote:
> 
> 
> Dittos! Welcome to 2022, everyone.
> Likewise, Merry 7th/8th Day of Christmas.
> 
> Jim:
> > A very Happy, Prosperous and Safe 2022 to all!
> 
> Clarence:
> > Back at you Jim.
> 
> Best wishes,
> 
> Curry Kenworthy
> 
> WordLib: Import MS Word and OpenOffice documents in LiveCode!
> http://livecodeaddons.com/wordlib.html
> 
> Christian 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


Re: Sorting cards

2021-12-30 Thread William Prothero via use-livecode
Actually, I like Jackie’s idea better.
Make an array for each of the parameters to be sorted on. Then sort each of the 
arrays. You can access each card in the sorted order by referring to the card 
ID in the sorted array. 
Or you could put each card identifier in a text line with commas between each 
item and sort on item # of the lines.

Hope this makes sense.

Bill P

Easy peasy.
Best,
Bill P

Sent from my iPad

> On Dec 30, 2021, at 1:15 PM, William Prothero via use-livecode 
>  wrote:
> 
> It might be less work to just implement your own sorting code. I’ve found 
> them pretty easy to implement. A bubble sort is very simple, but inefficient 
> for a large number of items to sort. If you have a lot of cards, you would 
> want to use a more efficient algorithm. Check out the link below if you are 
> interested.
> 
> https://en.wikipedia.org/wiki/Sorting_algorithm
> 
> Good luck,
> Bill P
> 
> Sent from my iPad
> 
>>> On Dec 30, 2021, at 12:53 PM, Quentin Long via use-livecode 
>>>  wrote:
>>> 
>> sez J. Landman Gay:> I am converting an old stack to LC and it needs to 
>> sort cards by one of two fields. LC does 
>>>  stable sorts, so if I sort by field 1 it works, and then if I sort later 
>>> by field 2 it retains 
>>>  the original sort and does a sub-sort. I don't want that. What's the best 
>>> way to ignore the 
>>>  previous sort order?
>> 
>> Hmmm… how about this?
>> 1. Give each card a custom property, call it "SortValue" or some such.2. 
>> *Before* the first sort: Go thru each card and set the SortValue of each 
>> card to an integer, incrementing the number by 1 with each new card.3. 
>> *After* the first sort: Do a new sort, by the SortValue of each card. This 
>> should get the former order of the cards back.
>> If you do this, you can obviously re-assign the card-values of SortValue at 
>> any time, hence you can restore any arbitrary card-order you want with a 
>> fresh "sort by SortValue of each card".
>> 
>> "Bewitched" + "Charlie's Angels" - Charlie = "At Arm's Length" Read the 
>> webcomic at [ http://www.atarmslength.net ]! If you like "At Arm's Length", 
>> support it at [ http://www.patreon.com/DarkwingDude ].
>> ___
>> use-livecode mailing list
>> use-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: Sorting cards

2021-12-30 Thread William Prothero via use-livecode
It might be less work to just implement your own sorting code. I’ve found them 
pretty easy to implement. A bubble sort is very simple, but inefficient for a 
large number of items to sort. If you have a lot of cards, you would want to 
use a more efficient algorithm. Check out the link below if you are interested.

https://en.wikipedia.org/wiki/Sorting_algorithm

Good luck,
Bill P

Sent from my iPad

> On Dec 30, 2021, at 12:53 PM, Quentin Long via use-livecode 
>  wrote:
> 
> sez J. Landman Gay:> I am converting an old stack to LC and it needs to sort 
> cards by one of two fields. LC does 
>>  stable sorts, so if I sort by field 1 it works, and then if I sort later by 
>> field 2 it retains 
>>  the original sort and does a sub-sort. I don't want that. What's the best 
>> way to ignore the 
>>  previous sort order?
> 
> Hmmm… how about this?
> 1. Give each card a custom property, call it "SortValue" or some such.2. 
> *Before* the first sort: Go thru each card and set the SortValue of each card 
> to an integer, incrementing the number by 1 with each new card.3. *After* the 
> first sort: Do a new sort, by the SortValue of each card. This should get the 
> former order of the cards back.
> If you do this, you can obviously re-assign the card-values of SortValue at 
> any time, hence you can restore any arbitrary card-order you want with a 
> fresh "sort by SortValue of each card".
> 
> "Bewitched" + "Charlie's Angels" - Charlie = "At Arm's Length" Read the 
> webcomic at [ http://www.atarmslength.net ]! If you like "At Arm's Length", 
> support it at [ http://www.patreon.com/DarkwingDude ].
> ___
> use-livecode mailing list
> use-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 there a better way to check if images are the same? I now use imagedata

2021-12-29 Thread William Prothero via use-livecode
William,
My basic suggestion is that you use the location data of each connected dot, 
rather than the image data.
Good luck,
Bill P

Sent from my iPad

> On Dec 29, 2021, at 8:42 AM, William Prothero via use-livecode 
>  wrote:
> 
> William,
> I understand that you want to see if the dots that are connected in one path 
> are also connected in another path which may have them connected in a 
> different order. Seems you could just loop through each dot in the reference 
> path, then see if the same dots are included in the user’s path. You would 
> need to include a name for each reference point, of course. That’s if I 
> understand your problem correctly.
> 
> Bill
> 
> 
> Sent from my iPad
> 
>> On Dec 29, 2021, at 1:58 AM, William de Smet via use-livecode 
>>  wrote:
>> 
>> Hi there,
>> 
>> Is there a better way to check if images are the same?
>> I now use imagadata.
>> 
>> In my app I have an example drawn image (5x5 matrix with dots, a Geoboard).
>> These dots are important because by touching them their Loc is used
>> (gStartLoc and gStartLoc)
>> Two dots will be connected by setting the points of the last grc to
>> gStartLoc & return & gStartLoc.
>> No problem here.
>> 
>> The idea is that the user copies my example on their matrix/geoboard by
>> connecting the dots.
>> To check if the made images (geoboards) are the same I make a snapshot of
>> both and compare the imagadata of these images.
>> Everything is fine as long as the user connects the same dots as the way
>> (length between dots) it is done in the example.
>> Then the imagadat is the same.
>> 
>> The geoboards can look the same but the connected dots can be different in
>> length so use imagadata to compare these is not the way to get it right.
>> 
>> Any ideas for a better way?
>> 
>> 
>> 
>> greetings,
>> 
>> William
>> ___
>> use-livecode mailing list
>> use-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 there a better way to check if images are the same? I now use imagedata

2021-12-29 Thread William Prothero via use-livecode
William,
I understand that you want to see if the dots that are connected in one path 
are also connected in another path which may have them connected in a different 
order. Seems you could just loop through each dot in the reference path, then 
see if the same dots are included in the user’s path. You would need to include 
a name for each reference point, of course. That’s if I understand your problem 
correctly.

Bill


Sent from my iPad

> On Dec 29, 2021, at 1:58 AM, William de Smet via use-livecode 
>  wrote:
> 
> Hi there,
> 
> Is there a better way to check if images are the same?
> I now use imagadata.
> 
> In my app I have an example drawn image (5x5 matrix with dots, a Geoboard).
> These dots are important because by touching them their Loc is used
> (gStartLoc and gStartLoc)
> Two dots will be connected by setting the points of the last grc to
> gStartLoc & return & gStartLoc.
> No problem here.
> 
> The idea is that the user copies my example on their matrix/geoboard by
> connecting the dots.
> To check if the made images (geoboards) are the same I make a snapshot of
> both and compare the imagadata of these images.
> Everything is fine as long as the user connects the same dots as the way
> (length between dots) it is done in the example.
> Then the imagadat is the same.
> 
> The geoboards can look the same but the connected dots can be different in
> length so use imagadata to compare these is not the way to get it right.
> 
> Any ideas for a better way?
> 
> 
> 
> greetings,
> 
> William
> ___
> use-livecode mailing list
> use-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: Livecode downloads VERY slow

2021-12-22 Thread William Prothero via use-livecode
I bet I got you all beat, for geezerdom. I learned to program Fortran on punch 
cards. 3 runs a day and output was delivered by a messenger, human that is. No 
freakin’ internet for me! If I remember right, our mainframe, a CDC 3600 had 
512K of memory.

Merry Christmas, fellow Livecoders.

Bill Prothero

Sent from my iPad

> On Dec 22, 2021, at 5:14 PM, Alex Tweedly via use-livecode 
>  wrote:
> 
> OK, memory lane time.
> 
> Before we had 1200 baud modems, we used to use acoustic couplers. I often 
> used one to call from the main office (England) to our US office, at a 
> mind-blowing 300 baud.
> 
> Problem was, in those days (1978 I think), even voice transatlantic calls 
> were hit or miss. Often you got a undersea cable connection (slight delay and 
> echo, but you could have an almost normal conversation), other times you got 
> a satellite connection (usually little or no echo but very high latency, 
> making conversation frustrating).
> 
> The acoustic coupler call would fail if you got the wrong kind of connection, 
> so we'd usually wait until the middle for the night to make it more likely 
> we'd get a successful call.
> 
> Ah fond memories of the days when I could stay up till 3am and still function 
> the next day :-)
> 
> Alex.
> 
>> On 23/12/2021 00:41, Martin Koob via use-livecode wrote:
>> I must be in the really ancient fogey range.
>> 
>> I remember 1200 baud modems.  In the late ’80s a teacher at our high school 
>> in Wawa, Ontario got his hands on one. It was the size of an air fryer. Our 
>> computer club at the school hooked it up to a Commodore PET 2001 and tried 
>> to connect to Compuserve.  Long waits listening to modem squeals but we 
>> never managed to get connected then.  We were in Wawa which is on the north 
>> shore of Lake Superior so maybe the phone connection was not good enough.
>> Here is the state of the art then, 
>> http://www.technofileonline.com/texts/2400modem88.html 
>> <http://www.technofileonline.com/texts/2400modem88.html>
>> 
>> I also remember my Apple GeoPort modem with my Mac Quadra 660AV I think.  
>> https://apple.fandom.com/wiki/GeoPort <https://apple.fandom.com/wiki/GeoPort>
>> 
>> From the above article here are GeoPort speeds.
>> GeoPort Telecom Adapter M1694LL/B - 14.4 kilobaud 
>> <http://en.wikipedia.org/wiki/baud> (kbps)
>> GeoPort Telecom Adapter (II) M2117LL/A - 28.8 kilobaud 
>> <http://en.wikipedia.org/wiki/baud> (kbps)
>> GeoPort Telecom Adapter II M5438LL/A - 33.6 kilobaud 
>> <http://en.wikipedia.org/wiki/baud> (kbps)
>> 
>> Martin
>> 
>> 
>>>> On Dec 22, 2021, at 4:02 PM, Ralph DiMola via use-livecode 
>>>>  wrote:
>>> 
>>> I just downloaded both the Mac and Win32 simultaneously via the download 
>>> page in about a minute. Using “SpeedTest”, I get 110Mb/sec.
>>> 
>>>  I remember when got our first t1(1.544mb/sec) and thought we 
>>> were styling ridiculous 
>>> 
>>> 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: Wednesday, December 22, 2021 3:34 PM
>>> To: JJS via use-livecode
>>> Cc: William Prothero
>>> Subject: Livecode downloads VERY slow
>>> 
>>> Folks:
>>> When I download an update to Livecode, it takes hours. I’m wondering why. 
>>> Locally, using “SpeedTest”, I get 160Mb/sec internet speeds. Could it be 
>>> the livecode server that serves the updates? Just wondering.
>>> 
>>> 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
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-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: Livecode downloads VERY slow

2021-12-22 Thread William Prothero via use-livecode
Ralph,
Obviously, I’ve lost the knack of proof-reading my emails. Must be a secret 
feature of apple that auto-errors writing.

I meant Zoomers, of course (who are Sooners, anyway?) Actually, the 
auto-correct tried again to make that change. Fool me once …… etc.

Best,
Bill

Sent from my iPad

> On Dec 22, 2021, at 1:20 PM, William Prothero 
>  wrote:
> 
> Ralph,
> I’m fine with slowdowns, which seem unavoidable. Speeds at a cottage we built 
> in the Northwest were 6Mb/sec and less, but we could stream TV in the 
> evening, Here, in the big city (Santa Barbara獵…) it will hang for 20-30 secs, 
> then start up fast again. Too many Sooners on our node.
> 
> Grads, don’t we get spoiled!
> 
> Best,
> Bill
> 
> Sent from my iPad
> 
>> On Dec 22, 2021, at 1:02 PM, Ralph DiMola via use-livecode 
>>  wrote:
>> 
>> I just downloaded both the Mac and Win32 simultaneously via the download 
>> page in about a minute. Using “SpeedTest”, I get 110Mb/sec.
>> 
>>  I remember when got our first t1(1.544mb/sec) and thought we 
>> were styling ridiculous 
>> 
>> 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: Wednesday, December 22, 2021 3:34 PM
>> To: JJS via use-livecode
>> Cc: William Prothero
>> Subject: Livecode downloads VERY slow
>> 
>> Folks:
>> When I download an update to Livecode, it takes hours. I’m wondering why. 
>> Locally, using “SpeedTest”, I get 160Mb/sec internet speeds. Could it be the 
>> livecode server that serves the updates? Just wondering.
>> 
>> 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
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-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: Livecode downloads VERY slow

2021-12-22 Thread William Prothero via use-livecode
Ralph,
I’m fine with slowdowns, which seem unavoidable. Speeds at a cottage we built 
in the Northwest were 6Mb/sec and less, but we could stream TV in the evening, 
Here, in the big city (Santa Barbara獵…) it will hang for 20-30 secs, then start 
up fast again. Too many Sooners on our node.

Grads, don’t we get spoiled!

Best,
Bill

Sent from my iPad

> On Dec 22, 2021, at 1:02 PM, Ralph DiMola via use-livecode 
>  wrote:
> 
> I just downloaded both the Mac and Win32 simultaneously via the download 
> page in about a minute. Using “SpeedTest”, I get 110Mb/sec.
> 
>  I remember when got our first t1(1.544mb/sec) and thought we were 
> styling ridiculous 
> 
> 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: Wednesday, December 22, 2021 3:34 PM
> To: JJS via use-livecode
> Cc: William Prothero
> Subject: Livecode downloads VERY slow
> 
> Folks:
> When I download an update to Livecode, it takes hours. I’m wondering why. 
> Locally, using “SpeedTest”, I get 160Mb/sec internet speeds. Could it be the 
> livecode server that serves the updates? Just wondering.
> 
> 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
> 
> 
> ___
> use-livecode mailing list
> use-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


Livecode downloads VERY slow

2021-12-22 Thread William Prothero via use-livecode
Folks:
When I download an update to Livecode, it takes hours. I’m wondering why. 
Locally, using “SpeedTest”, I get 160Mb/sec internet speeds. Could it be the 
livecode server that serves the updates? Just wondering.

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: IDE line number doesn't update

2021-09-22 Thread William Prothero via use-livecode
Sean,
Sending much hope for your good recovery.
Bill Prothero

Sent from my iPad

> On Sep 22, 2021, at 7:29 AM, Pi Digital via use-livecode 
>  wrote:
> 
> Have you logged these on the quality site? I didn’t see them when doing my 
> research. 
> 
> Sean Cole
> Pi Digital Productions Ltd
> 
> eMail Ts & Cs
> 
> 
>> On 22 Sep 2021, at 14:08, Curry Kenworthy via use-livecode 
>>  wrote:
>> 
>> 
>> Me:
>> 
>>> Separate LC 9 SE Bugs we have, or had:
>> 
>> "- Performance and practical script size limit.
>> - This one, line # updating.
>> - Messed up handler indentation.
>> - Disassociation of SE from script's object.
>> - SE window disappears if too many tabs.
>> - Excessive disk use (for HDD/antivirus)
>> - SE confusion about last insertion point/scroll.
>> - Weird text hilites in SE."
>> 
>> ... Also more SE bugs:
>> 
>> - Messed up drags
>> - Clipboard affected by SE editing
>> - Invisible menus in stacks while SE open
>> - Uncontrollable scrolling
>> - Null filter needed when pasting
>> - Certain errors do not trigger debugging
>> - (Unable to save changes due to above Disassociation)
>> - (Hard to set breakpoints due to above line # updating)
>> - SE sometimes doesn't notice a copy or paste keystroke
>> - "Find in>Docs" will not be noticed by newbies
>> - Sometimes either "on" or "end" gets clipped/disappears
>> -  (and there are more; this is a few)
>> 
>> All from memory, haven't rechecked them.
>> 
>> 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


___
use-livecode mailing list
use-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] Organize 1.1 now in App Store

2021-09-10 Thread prothero--- via use-livecode
Thanks, Mark. I was thinking about it as a scheduler instead of a task 
reminder. I use the Apple calendar for reminders of appointments mostly. It is 
a nice job.

For me, I have 2 ipads, an iPhone, and a desktop Mac. I like to use my iPad 
whenever possible because of the screen size. It could be nice if you had an 
ipad version too and for Apple, it probably wouldn’t require a lot of extra 
coding, but organizing for a larger screen could be a bit of work.

Nice work and it’s great that you had an easy time with the Apple store.

Best,
Bill P.

> On Sep 10, 2021, at 12:16 PM, Mark Smith  wrote:
> 
> Interesting question Bill. I guess the biggest difference is it does not 
> require you to “sequence” activities according to time (although, yes, 
> scheduling will be in a subsequent version). For now, a typical page might 
> look something like the following…
> 
> 
> 
> i
> 
> 
> And, as the reorder “action” on the page suggests, you can re-arrange items 
> as you want. It’s a list, and a flexible one at that. Don’t get to a task? 
> There is a row menu that lets you move it to another day/date. Often I find 
> if I don’t get to it today, and tomorrow is not looking any better, I’ll just 
> throw it forward a week and deal with it then.
> 
> It’s primarily a list of tasks you constantly add to, rearrange, reorder, 
> finish, etc. 
> 
> Hope that helps. 
> 
> Mark
> 
> 
>> On Sep 10, 2021, at 6:55 PM, ELS Prothero via use-livecode 
>> mailto:use-livecode@lists.runrev.com>> wrote:
>> 
>> Sorry, I started but didn’t continue to participate in the feedback request 
>> for your app. My question, though, is “what does this app do that just using 
>> the calendar can’t?” It could help to state it’s unique capabilities in the 
>> app description.
> 

William A. Prothero, Ph.D.
University of California, Santa Barbara Dept. of Earth Sciences (Emeritus)
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


Re: [ANN] Organize 1.1 now in App Store

2021-09-10 Thread ELS Prothero via use-livecode
Mark,
Sorry, I started but didn’t continue to participate in the feedback request for 
your app. My question, though, is “what does this app do that just using the 
calendar can’t?” It could help to state it’s unique capabilities in the app 
description.

Good luck and happy app creation.

Best,
Bill P.

William Prothero
https://earthlearningsolutions.org

> On Sep 10, 2021, at 5:36 AM, Mark Smith via use-livecode 
>  wrote:
> 
> I am pleased to announce that Organize: A Daily Task Manager (1.1) is now 
> available in the app store, and is free. 
> 
> https://apps.apple.com/gb/app/organize/id1555952717 
> 
> 
> Ratings and reviews appreciated. Thanks again to everyone who helped make 
> this application possible.
> 
> Mark
> 
> 
> 
> ___
> use-livecode mailing list
> use-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: Suggestion: Non-Appbuilding Community Edition

2021-09-06 Thread prothero--- via use-livecode
Folks:
I’ve been following this thread and have a few thoughts I decided to share.

Interestingly, I don’t see Android support for XOJO. Hmm….

In my case (I have a Commercial license), I am really happy that version 10 of 
LC will be improving the web software. I’ve been thinking about diving into 
that realm, but have a couple of projects I’m pecking away at, for now. I also 
like the idea of improving the access and documentation of code libraries. 
Seems odd that audio recording is still not supported on Apple OS’s.

I’ve programmed in several languages, including Fortran, Pascal, Basic, 
Hypercard and Lingo (maybe others I’ve forgotten about). For me, the “English 
Language” coding claim is over-sold (“put 3 into x” vs "x=3” doesn’t thrill me 
either way). Once I get beyond the “Hello World” part of LC, it goes well 
beyond English language. If thens, Switch, for next, global, arrays, etc are 
common in all languages. To do anything beyond elementary requires digging into 
the docs. However, the multi-platform, iOS, Android capabilities and the 
fabulous way interface items (buttons, fields, etc) are easily built, is huge. 
I also appreciate that the app building procedures have gotten a bit more 
straightforward, with community help. I love that I can load an iOS app 
directly onto my phone for testing.

I use Livecode for my personal projects and one that is pretty big that I give 
away for free. It’s one of my hobbies and a way to, in a small way, pay back 
for the significant money I received from the National Science Foundation to 
develop educational software and strategies during my pre-retirement years. I’m 
happy to pay for my perpetual commercial license. I’m interested in education. 
I’d love to see a well documented framework that can be built on, that connects 
livecode projects to course management systems and has options that can be 
included to perform basic classroom tasks. Education would be the focus.

Best to all livecoders,

Bill Prothero

> On Sep 6, 2021, at 11:53 AM, Alex Tweedly via use-livecode 
>  wrote:
> 
> 
> On 06/09/2021 19:07, Lagi Pittas via use-livecode wrote:
>> The biggest error livecode has made all these years is not creating a
>> "working" storefront that doesn't look like it has been totally given up on.
> Not sure that's the "biggest" - but yes, I agree it looks unloved.
>> Look at the addons created for XOJO  - and XOJO makes money on those
>> 
>> 
>> https://xojo.com/store/
>> https://www.monkeybreadsoftware.de/
> 
> I see a lot of add-ons (for an awful lot of money) for things that come 
> built-in with Livecode.
> 
> (tongue in cheek) Maybe LCLtd should have the same add-ons page as Xojo, but 
> each of them says
> 
>"$0   already included"
> 
> Alex.
> 
> ___
> use-livecode mailing list
> use-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, Ph.D.
University of California, Santa Barbara Dept. of Earth Sciences (Emeritus)
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


Re: Is there an issue with beep on iOS?

2021-08-07 Thread William Prothero via use-livecode
Stephen:
Thanks. I tried adding the number and it didn’t make a sound. This is not a 
major problem for me. I’m making a timer. It beeps each second and when I press 
“Done”, it stops and goes to a number entry screen. I’m timing the flow of 
water on my drip system. The beep would be nice, but the vibration works every 
second. 

Best,
Bill


> On Aug 5, 2021, at 5:38 PM, Stephen Barncard  wrote:
> 
> Try adding the parameter 1 for a single beep
> 
> Beep 1
> Beep 2
> 
> It appears that beep by itself does not work, or perhaps on a phone it would 
> work the vibrator.
> 
> On Thu, Aug 5, 2021 at 17:11 William Prothero via use-livecode 
> mailto:use-livecode@lists.runrev.com>> wrote:
> Folks:
> This is a small thing, but I wonder if there is an issue with the beep 
> command on iOS. I am on LC 9.6.3 and iOS 14.7.1, I get sound for other apps 
> but my LC app only gives me the vibration.
> 
> Best,
> Bill Prothero
> 
> 
> 
> William Prothero
> waproth...@gmail.com <mailto:waproth...@gmail.com>
> 
> 
> 
> 
> ___
> 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>
> -- 
> --
> Stephen Barncard - Sebastopol Ca. USA - 
> mixstream.org <http://mixstream.org/>
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


Is there an issue with beep on iOS?

2021-08-05 Thread William Prothero via use-livecode
Folks:
This is a small thing, but I wonder if there is an issue with the beep command 
on iOS. I am on LC 9.6.3 and iOS 14.7.1, I get sound for other apps but my LC 
app only gives me the vibration.

Best,
Bill Prothero



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: mySQL 8 destroyes umlaute

2021-07-09 Thread ELS Prothero via use-livecode
Folks,
I have posted a sample php file that I have used for a couple of years, that 
uses aes-256 encryption for database operations. Data is encrypted in Livecode 
and decrypted by the php script, which posts it to the mysql db. Perhaps it 
will be of interest and I welcome any feedback.

https://earthlearningsolutions.org/google-static-maps-demo/

Best,
Bill

William Prothero
https://earthlearningsolutions.org

> On Jul 9, 2021, at 7:56 AM, JeeJeeStudio via use-livecode 
>  wrote:
> 
> I always use UTF8MB4 for all.
> 
> If you use phpmyadmin you can change everything on the spot.
> 
> UTF8MB4 works great with LC, it's just you need to encode and decode correct 
> in LC when you send or retrieve data.
> 
> I always use PHP files as middleware. So LC sends to the PHP file, and the 
> PHP file is then communicating with the DB. This way the communication is 
> seen as local for the DB.
> 
> Your app has then always access to the DB via the middleware, no matter where 
> you are or what your IP address is. Also safer to use middleware instead of 
> direct access when it's a program which needs access on different places. If 
> it's just a local app on a local network, then you can safely use LC build in 
> network capabilities.
> 
> There is a howto on the database section on the forum on how to use that. You 
> could even use it on a local XAMPP server.
> 
> Op 8-7-2021 om 14:45 schreef Tiemo via use-livecode:
>> Thank you Matthias,
>> 
>> because it is an existing db and years old LC programs in different versions 
>> out at the customers, I can't modify my old LC programs out there.
>> 
>> I now have read that uft8 gets deprecated in mySQL 8 at some time, so that 
>> all new and migrated mySQL 8 databases gets by default uft8mb4 (4 byte 
>> chars), which LiveCode obviously doesn't like and can't display anymore the 
>> umlaute of my existing db. Perhaps everything would work with LC, when 
>> creating a new db and storing the data from the beginning in utf8mb4, but 
>> that’s not my use case. My live db has as the server character set "latin1" 
>> and as the db character set "utf8", which were both switched to utf8mb4 on 
>> mySQL 8.
>> 
>> Now I am looking for a solution either in the PHPs, which are called from LC 
>> and connect to the db, or changing the db itself.
>> Overwriting the charset in the PHP by: header ( 'Content-Type: text/html; 
>> Charset=latin1' ); doesn't affect the output to LiveCode at all, the umlaute 
>> stay corrupted. It seems that the settings of the db have priority.
>> 
>> I have read that you can alter the charset of a database and/or tables 
>> (ALTER TABLE tablename CONVERT TO CHARACTER SET utf8 COLLATE 
>> utf8_unicode_ci;) . I am not good in handling databases, so I am not sure yet
>> - if this changes just the default value for new db entries or if that 
>> changes also the existing db content
>> - even if this would work, this wouldn't be a long lasting solution, because 
>> uft8 gets deprecated in future and I need again another solution.
>> 
>> Anybody out here who is good in working with databases / mysql and has any 
>> idea how to repair this situation?
>> 
>> Thanks
>> Tiemo
>> 
>> 
>> 
>> -Ursprüngliche Nachricht-
>> Von: use-livecode  Im Auftrag von 
>> matthias rebbe via use-livecode
>> Gesendet: Mittwoch, 7. Juli 2021 20:55
>> An: How to use LiveCode 
>> Cc: matthias_livecode_150...@m-r-d.de
>> Betreff: Re: mySQL 8
>> 
>> Tiemo,
>> 
>> if i remember right this should be solving your issue.
>> 
>> Before you write to or read from the db execute the following command
>> 
>> revExecuteSQL  databaseID, "SET NAMES 'utf8'"
>> After that try to fetch data.
>> 
>> The retrieved data has then to be decoded with
>> 
>> textDecode(tRetrievedData,”UTF8”)
>> 
>> e.g.
>> put textDecode(tRetrievedData,"UTF8") into fld "Name"
>> 
>> 
>> Regards,
>> 
>> Matthias
>> 
 Am 07.07.2021 um 12:02 schrieb Tiemo via use-livecode 
 :
>>> 
>>> Hello folks,
>>> 
>>> 
>>> 
>>> I have a DB hosted on AWS and need to move it from mySQL 5.6 to 5.7
>>> because of AWS restrictions.
>>> 
>>> In this context I am doing tests and also tried to see what my
>>> programs (LiveCode > PHP > mySQL) say about mySQL 8.
>>> 
>>> For this I imported a current 5.6 dump into a mySQL 5.7 and into a 8.0
>>> test DB.
>>> 
>>> 
>>> 
>>> With mySQL 5.7 everything looks so far well.
>>> 
>>> With mySQL 8 all umlauts come back destroyed in DB queries in my
>>> LiveCode program.
>>> 
>>> 
>>> 
>>> When I look into the DB with mySQL Workbench, the umlauts are ok with
>>> 5.7 as well as with 8.0. Only as soon as I get them into my LC program, 
>>> they break.
>>> 
>>> 
>>> 
>>> Is here anybody, who has read about changes of handling the charset or
>>> collations in mySQL databases with mySQL 8?
>>> 
>>> And any idea, where I should try to look for a fix? DB-collations/charsets?
>>> PHP? LiveCode?
>>> 
>>> 
>>> 
>>> We are writing year 2021! and this is the third break of existing
>>> functions handling 

Re: Open a folder on the desktop from a LiveCode app

2021-06-23 Thread William Prothero via use-livecode
Klaus and others:
I love it! I can use this too.
Bill Prothero

> On Jun 19, 2021, at 12:50 PM, Klaus major-k via use-livecode 
>  wrote:
> 
> Hi Paul,
> 
>> Am 19.06.2021 um 20:48 schrieb Paul Dupuis via use-livecode 
>> :
>> 
>> What is the "best" way (or any way) to open a folder on the Windows desktop 
>> from a Livecode script.
>> 
>> For example:
>> 
>> on openFolder pPath -- where pPath is the path and name to a document (file)
>>  set itemDel to slash
>>  delete last item of pPath -- leaves the the path to the folder containing 
>> the document
>>  -- now, how do I open this on the desktop (i.e in Explorer)?
> 
> launch document pPath
> ## :-)
> 
>> end openFolder
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> kl...@major-k.de
> 
> 
> ___


___
use-livecode mailing list
use-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: bordercolor of buttons

2021-06-07 Thread ELS Prothero via use-livecode
Folks,
This issue also confused me recently when I was making an app for my own use. 
It seems like an idiosyncrasy to me, even tho a pretty minor one that could be 
mentioned in the dictionary.
Best,
Bill

William Prothero
https://earthlearningsolutions.org

> On Jun 7, 2021, at 7:30 AM, Klaus major-k via use-livecode 
>  wrote:
> 
> Hi Sean,
> 
>> Am 06.06.2021 um 23:40 schrieb Sean Cole (Pi) via use-livecode 
>> :
>> 
>> Klaus,
>> Forecolor IS the border color. It always has been for shapes including
>> circles, polygons and custom shapes.
> 
> yes, but I was clearly referring to a button.
> 
>> Buttons have a bordercolor property but only visible if 3d is off.
> 
> AND if they are not "roundrect"!
> Then the BORDERCOLOR does nto work!
> It does if you switch to e.g. "rectangle".
> 
> And that was puzzling me a bit. 8-)
> 
>> Sean
>> 
>>> On Sun, 6 Jun 2021 at 14:20, Klaus major-k via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
>>> 
>>> Hi friends,
>>> 
>>> bug or feature?
>>> 
>>> I have a "roundrect" button and cannot set its BORDERCOLOR!?
>>> I have to set the FOREGROUNDCOLOR which also affects its BORDERCOLOR.
>>> 
>>> This is not the case if I set the buttons type to e.g. "rectangle", then
>>> the before
>>> set BORDERCOLOR will be displayed.
>>> 
>>> No hint in the dictionary about this, so but or feature? :-)
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> kl...@major-k.de
> 
> 
> ___
> use-livecode mailing list
> use-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: Simple Datagrid task?

2021-04-27 Thread William Prothero via use-livecode
Thanks for your help. I hate to ask such newby questions, but I’m really busy, 
and what I needed to do seemed so basic.

Best,
Bill

William Prothero
https://earthlearningsolutions.org

> On Apr 27, 2021, at 6:51 AM, Martin Koob  wrote:
> 
> Hi
> 
> I wanted to give you more of an explanation of how to get enter text in field 
> to work. Just refreshing my own memory I had to go back to my project.  
> 
> So as Håkan said you have to first allow editing.   
> 
> Then you can’t just enter text into a cell and have it deal with it.  You 
> have to use a Datagrid command EditTextField
> 
> Here is the handler I use in my project which I adapted from the DG7 form of 
> the DGForms.zip file that you can download here:
> https://forums.livecode.com/viewtopic.php?f=7=20130
> 
> 
> 
> on mouseDoubleUp pMouseBtnNum
> 
> local theKey
> 
> 
> -- Example of how to edit the contents of a field.
> 
> -- By passing the index of the record associated with copy of this template 
> being displayed and
> 
> -- a key (array key) the data grid will automatically save the changes the 
> user
> 
> -- makes and refresh the UI by calling FillInData and resizeControl.
> 
> if pMouseBtnNum is 1 then
> 
> if the dgProps["allow editing"] of the dgControl of me then
> 
>  put the short name of the target into sEditedField
> 
>  switch sEditedField
> 
>   case "RaterComments"
> 
>   put "CriteriaComments" into theKey
> 
>   EditFieldText the long id of the target, the dgIndex of me, 
> theKey
> 
>   break
> 
>case "title"
> 
>put "title" into theKey
> 
>EditFieldText the long id of the target, the dgIndex of 
> me, theKey
> 
>break
> 
>   end switch
> 
>  end if
> 
> end if
> 
> pass mouseDoubleUp
> end mouseDoubleUp
> 
> 
> ——
> 
> Hope this helps.
> 
> Martin Koob
> 
> 
>> On Apr 27, 2021, at 8:20 AM, hakan--- via use-livecode 
>>  wrote:
>> 
>> On the second tab in the preferences pane there is a checkbox that says 
>> ”Allow text editing”. If you have that selected you can edit the text by 
>> double-clicking a cell.
>> 
>> Or do you need something else?
>> 
>> :-Håkan
>> 
>>>> On 26 Apr 2021, at 21:03, William Prothero via use-livecode 
>>>>  wrote:
>>> 
>>> Folks:
>>> I’m wanting to use a datagrid to store data that I enter by hand.
>>> 
>>> Seems this oughta be quite simple, but ….. messing with the docs is 
>>> frustrating.
>>> 
>>> I want to be able to click on an empty cell in a datagrid, have it open, 
>>> and enter a number or text. Then I want to store the values to a file. I 
>>> have no problem with using dgArray to get the data and store it, but the 
>>> simple act of opening a cell so I can enter a number eludes me.
>>> 
>>> I’m sure there must be tutorials, but I guess I’m impatient to sort through 
>>> them. When I started looking around, I see there’s a problem trying to 
>>> enter data into an empty cell. I need to do this. The cells with data open 
>>> and let me enter values when I double click, but ……. empty ones?
>>> 
>>> Could somebody point me to a tutorial that lets me do this simple task with 
>>> a datagrid?
>>> 
>>> Thanks,
>>> Bill
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


Simple Datagrid task?

2021-04-26 Thread William Prothero via use-livecode
Folks:
I’m wanting to use a datagrid to store data that I enter by hand.

Seems this oughta be quite simple, but ….. messing with the docs is frustrating.

I want to be able to click on an empty cell in a datagrid, have it open, and 
enter a number or text. Then I want to store the values to a file. I have no 
problem with using dgArray to get the data and store it, but the simple act of 
opening a cell so I can enter a number eludes me.

I’m sure there must be tutorials, but I guess I’m impatient to sort through 
them. When I started looking around, I see there’s a problem trying to enter 
data into an empty cell. I need to do this. The cells with data open and let me 
enter values when I double click, but ……. empty ones?

Could somebody point me to a tutorial that lets me do this simple task with a 
datagrid?

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


Re: 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: Unreliable File Deletion

2021-03-28 Thread ELS Prothero via use-livecode
Folks,
This alarms me. 
In my app, I write a file to specialFolderpath(“desktop”).
What are the conditions to make this work on Apple or Windows standalones?

Bill

William Prothero
https://earthlearningsolutions.org

> On Mar 28, 2021, at 10:22 AM, Klaus major-k via use-livecode 
>  wrote:
> 
> Hi friends,
> 
>> Am 28.03.2021 um 19:11 schrieb R.H. via use-livecode 
>> :
>> ...
>> ... put specialfolderpath("resources") &"/temp.txt" into tFilePath
>> ... put tOut into URL("binfile:")
>> ...
> 
> you may already know this, but this will not work in a standalone!
> We will surely not have write permissions in that folder!
> 
> As a workaround I would probably use -> specialfolderpath("temporary")
> Or even write the text to -> the tempname
> 
> Both are available on all platform and you do not have to think about 
> deleting that file later, the OS will take care of this. :-)
> 
> 
> Best
> 
> Klaus
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> kl...@major-k.de
> 
> 
> ___
> use-livecode mailing list
> use-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: New(?) Idea for Standalones

2021-03-27 Thread ELS Prothero via use-livecode
I thought that if you set up beta testers, with the id of the device an app 
would be run on, others could run your app as a beta tester. But, perhaps,you 
need an apple license to do even that?
Bill

William Prothero
https://earthlearningsolutions.org

> On Mar 26, 2021, at 10:10 PM, David Squance via use-livecode 
>  wrote:
> 
> Thanks for the confirmation.
> Dave
> 
>> On Mar 26, 2021, at 10:05 PM, Roger Guay via use-livecode 
>>  wrote:
>> 
>> You’re right, David. I was specifically addressing standalones for Mac, 
>> Windows and Linux. They are easily created without licenses etc. for use on 
>> your own computer, but cannot be distributed w/o licenses etc
>> 
>> Roger
>> 
 On Mar 26, 2021, at 9:39 PM, David Squance via use-livecode 
  wrote:
>>> 
>>> It was my understanding that iOS apps can’t even be created without a 
>>> license from Apple. Mostly what I would want to share would be games I made 
>>> for my grandson and he only uses iOS devices.
>>> 
>>> I’ve never tried making a standalone for iOS, even for testing, because I 
>>> didn’t think I could. Is that not the case?
>>> 
>>> Dave
>>> 
 On Mar 26, 2021, at 3:54 PM, Richard Gaskin via use-livecode 
  wrote:
 
 Roger Guay wrote:
> Has anyone thought of building a “legal” and “blessed" app for
> Mac, WIndows and Linux that would open standalones for for each
> of those platforms? Why put each of us through the agony (and
> expense) of shifting/changing requirements to be able to easily
> distribute standalones? Just as Microsoft Word is required to
> open .doc files why not have something like LCreader app open
> .livecode files
 
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-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: New(?) Idea for Standalones

2021-03-26 Thread ELS Prothero via use-livecode
Folks,
That sounds pretty interesting. 
Wouldn’t that be doable by creating a splash stack the looked for a stack to 
launch in its folder. That stack would be the app. But I don’t know if a 
stand-alone compiled splash stack could call and run a raw xxx.livecode stack.

Can it?

Best,
Bill

William Prothero
https://earthlearningsolutions.org

> On Mar 26, 2021, at 7:20 PM, John Balgenorth via use-livecode 
>  wrote:
> 
> It sounds to me that what you want is a version of the development system
> without the ability to code or develop stacks.  Is that what HyperCard Player
> did for hyperCard stacks?  Richard should know of SuperCard could do it.
> 
> JB
> 
>> On Mar 26, 2021, at 6:33 PM, Alex Tweedly via use-livecode 
>>  wrote:
>> 
>> 
 On 27/03/2021 00:35, Richard Gaskin via use-livecode wrote:
>>> 
>>> What are you looking for?  When were these "good ol days" in which one 
>>> could run stack files without an engine, and how did that work?
>>> 
>> I can describe what I would like; that may be similar to what Roger is 
>> looking for. Or it may not.
>> But I think it is :-)
>> 
>> 
>> I'd like to be able to develop a stack and give it to a friends or family, 
>> and have them run it on their iOS or Android devices. I don't want to get 
>> involved in building iOS standalones (or even installing xCode), so ideally 
>> I would give them a simple app (i.e. stackRunner kind of thing), and then my 
>> "app" as a document to load into that 'runner' app.
>> 
>>> There are many reasons it would be problematic to make one generic "player" 
>>> for everyone's stack files, mostly user experience but also app store 
>>> restrictions, and additional technical requirements for any devs using it 
>>> to keep stacks playing nicely together.
>> 
>> I'm not going to sell apps, or distribute them widely, so I (don't think I) 
>> care about app store restrictions. I also don't care about 'user experience' 
>> in the sense of branding or feeling like a unique app.
>> 
>> I'm not sure what you mean by  "additional technical requirements..."
>> 
>> If that's feasible, I'd happily buy (or contribute cost towards) such a 
>> 'runner' app. I doubt that I'd be the only one.
>> 
>> Alex.
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-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: Help! I'm stuck

2021-03-20 Thread ELS Prothero via use-livecode
Thank you, Matthias! I’ll try that.
Best,
Bill

William Prothero
https://earthlearningsolutions.org

> On Mar 20, 2021, at 1:39 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-livecode mailing list
>> use-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: 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: Help! I'm stuck

2021-03-19 Thread ELS Prothero via use-livecode
Thanks, Matthias,
I’ll try it. Time for dinner, tho so it will be a bit.
Bill

William Prothero
https://earthlearningsolutions.org

> On Mar 19, 2021, at 5:47 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


___
use-livecode mailing list
use-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-03-19 Thread ELS Prothero via use-livecode
Matthias,
I know, I don’t think I’m using the remote debugger. I’m building a standalone 
app for the computer I’m developing on, so I wouldn’t need the remote debugger. 
I have some code that is never called...I wonder if that could cause problems. 
Of course, that is the situation for libs, so I wouldn’t think that was a 
problem. I cleared all breakpoints using the development menu of the IDE, for 
all the stacks. It’s mystifying that all messages seem to come from the rev 
builder scripts, with no hint of what could be the problem.

Bill

William Prothero
https://earthlearningsolutions.org

> On Mar 19, 2021, at 5:03 PM, matthias rebbe via use-livecode 
>  wrote:
> 
> Hi Bill,
> 
> i am not an expert for that kind of error message. Too much numbers i do not 
> know what they mean. 
> The text in the error message mentions several time revdebugger.
> 
> Are you including the RemoteDebugger to your standalone or do you have red 
> breakpoints somewhere in the script which might cause this?
> 
> Sometimes it helps to close Livecode, reopen it and try to build the 
> standalone again. 
> But i am sure you did that already.
> 
> Regards,
> Matthias
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>> Am 20.03.2021 um 00:03 schrieb prothero--- via use-livecode 
>> :
>> 
>> Folks:
>> I have a pretty complicated application, with numerous stacks and lib 
>> stacks. I’m trying to build a stand-alone but after making a bunch of 
>> progress dealing with obvious errors, the standalone builder gives me an 
>> error listing that I can’t figure out where to go from here. All of the 
>> stacks and text only stacks are in the “Stacks” list. The app runs fine in 
>> the IDE.
>> 
>> I’d really appreciate it if someone would look at this error list and give 
>> me some hints about where I should go from here to get an app built. There 
>> are no reverences to stacks that I created in the error list, only to rev 
>> code.
>> 
>> I’m on Big Sur, Macintosh, LC 9.6.2 (RC-3), Business Version
>> 
>> Link to page 1: 
>> https://www.dropbox.com/s/h1q7d3emqq8ygis/Errors-Page-1.pdf?dl=0 
>> <https://www.dropbox.com/s/h1q7d3emqq8ygis/Errors-Page-1.pdf?dl=0>
>> Link to 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>
>> 
>> Thanks for any insight!
>> Bill
>> 
>> William A. Prothero, Ph.D.
>> University of California, Santa Barbara Dept. of Earth Sciences (Emeritus)
>> 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: Help! I'm stuck

2021-03-19 Thread ELS Prothero via use-livecode
Thanks, Bob,
I tried it and got the same error message.
Tnx,
Bill

William Prothero
https://earthlearningsolutions.org

> On Mar 19, 2021, at 4:10 PM, Bob Sneidar via use-livecode 
>  wrote:
> 
> Do you have a copy of 9.6.0? Try compiling with that. 
> 
> Bob S
> 
> 
>> On Mar 19, 2021, at 4:03 PM, prothero--- via use-livecode 
>>  wrote:
>> 
>> Folks:
>> I have a pretty complicated application, with numerous stacks and lib 
>> stacks. I’m trying to build a stand-alone but after making a bunch of 
>> progress dealing with obvious errors, the standalone builder gives me an 
>> error listing that I can’t figure out where to go from here. All of the 
>> stacks and text only stacks are in the “Stacks” list. The app runs fine in 
>> the IDE.
>> 
>> I’d really appreciate it if someone would look at this error list and give 
>> me some hints about where I should go from here to get an app built. There 
>> are no reverences to stacks that I created in the error list, only to rev 
>> code.
>> 
>> I’m on Big Sur, Macintosh, LC 9.6.2 (RC-3), Business Version
>> 
>> Link to page 1: 
>> https://www.dropbox.com/s/h1q7d3emqq8ygis/Errors-Page-1.pdf?dl=0 
>> <https://www.dropbox.com/s/h1q7d3emqq8ygis/Errors-Page-1.pdf?dl=0>
>> Link to 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>
>> 
>> Thanks for any insight!
>> Bill
>> 
>> William A. Prothero, Ph.D.
>> University of California, Santa Barbara Dept. of Earth Sciences (Emeritus)
>> 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


Help! I'm stuck

2021-03-19 Thread prothero--- via use-livecode
Folks:
I have a pretty complicated application, with numerous stacks and lib stacks. 
I’m trying to build a stand-alone but after making a bunch of progress dealing 
with obvious errors, the standalone builder gives me an error listing that I 
can’t figure out where to go from here. All of the stacks and text only stacks 
are in the “Stacks” list. The app runs fine in the IDE.

I’d really appreciate it if someone would look at this error list and give me 
some hints about where I should go from here to get an app built. There are no 
reverences to stacks that I created in the error list, only to rev code.

I’m on Big Sur, Macintosh, LC 9.6.2 (RC-3), Business Version

Link to page 1: 
https://www.dropbox.com/s/h1q7d3emqq8ygis/Errors-Page-1.pdf?dl=0 

Link to page 2: 
https://www.dropbox.com/s/zc18s3gkzv92w2w/Errors-page-2.pdf?dl=0 


Thanks for any insight!
Bill

William A. Prothero, Ph.D.
University of California, Santa Barbara Dept. of Earth Sciences (Emeritus)
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


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: LC Roadmap

2021-02-17 Thread prothero--- via use-livecode
Andre:
I think if your chapters offered several ways of organizing a project, starting 
with beginners, and then discussing the various philosophies, say how to name 
variables, using Levure, setting up MVC, etc, etc.

And you are right to be concerned with how quickly the information gets out of 
date and new capabilities are introduced. When I think of “book”, I think of a 
paper based document that sits on my bookshelf. I think, these days, especially 
with such a dynamic product, new resources are going to be coming out all the 
time and the idea of a “book” that sits on a shelf is going to limit you.

I know I’m probably stating what you already know, but what I know is that your 
writings are first rate and I and others have a lot to learn from them.

BTW, I looked at https://livecloud.io 
Very impressive as an example of livecode going big!

Best,
Bill


> On Feb 17, 2021, at 4:16 AM, Andre Garzia via use-livecode 
>  wrote:
> 
> 
> 
>> On 16 Feb 2021, at 15:26, Alex Tweedly via use-livecode 
>>  wrote:
>> 
>> A sample 'skeleton' app - i.e. complete but not fleshed-out. Initially it 
>> would be for a desktop app (the first sequel will cover mobile). It would 
>> implement "good practices" for many of the common features, with enough code 
>> being there to do something - but the focus should be on the architecture 
>> rather than on doing anything useful.
> 
> I released:
> 
> https://andregarzia.com/books/livecode-advanced-application-architecture.html 
> 
> 
> To cover as much of this topic as I felt comfortable doing. The main issue is 
> that different experienced developers have different opinions about what is 
> the best way to organise an app. LiveCode is very versatile and you can do a 
> really great app organisation that is completely different than another great 
> app. We don’t have a mothership preferred way of doing that, and I didn’t 
> want to force my own bias into people.
> 
> I know that some people are deriving great value from Levure, others prefer 
> using something else. It is a tricky topic to cover because once you release 
> such book, you’re kinda telling all newcomers that the way described in the 
> book is the best way to do it. For example, if I went ahead and added a way 
> of doing all that without Levure, then some people would think that Levure is 
> useless because the only book we have tells you do use something different; 
> if I used Levure, then people would think that if you’re not using it, you’re 
> doing it wrong.
> 
> That is way I stayed into safe topics in that book, I covered stuff that 
> should be applicable to many ways of organising your code. Still, I really 
> think you’ve surfaced an important vacuum in our community, we lack good and 
> documented skeleton apps. The main challenge here is the wording on the 
> e-book, it should be clear that there are other equality valid ways of doing 
> things, and that is OK to tweak the presented approach or even come up with 
> your own.
> 
> Since a lot of this work would involve manipulating stacks and their 
> properties, I suspect that this would work better as a multimedia product 
> with videos and articles.
> ___
> use-livecode mailing list
> use-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, Ph.D.
University of California, Santa Barbara Dept. of Earth Sciences (Emeritus)
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


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-15 Thread ELS Prothero via use-livecode
Great to hear Andre’s input!

One point I hoped to make is that there is also a possibility of monetizing a 
help site that is created outside the mothership but coordinates and supports 
it. I think this kind of resource would be a significant investment and it is 
unrealistic to expect that the community will do this for free. Frankly, from 
others’ comments, it seems that there is a lot of room for additional support 
and marketing. Think of a combination of short tutorials backed by downloadable 
samples of what was presented on video. These could be backed up with more 
in-depth lessons at a small charge. The purpose of a short video would be dual. 
One for showing how to do something and second for advertising how easy it is 
to do some things with Livecode. What if there was a link to LC subscriptions 
and the mothership would pay a royalty to the site owner/manager?

LC is a great deal, with a free version available for newbies. There are 
opportunities, I think.

Folks, please forgive me if I am overly promoting this idea. I’m an idea 
person, retired, and have no spare time to put a lot of energy into creating 
something like this. But many of you make your living from Livecode and these 
ideas could be mutually beneficial. I am invested in Livecode and would love to 
see it get more exposure and adoption. It’s a great product!

Best,
Bill Prothero

William Prothero
https://earthlearningsolutions.org

> On Feb 15, 2021, at 4:56 AM, Andre Garzia via use-livecode 
>  wrote:
> 
> Hi Folks, 
> 
> 
>> On 15 Feb 2021, at 01:46, William Prothero via use-livecode 
>>  wrote:
>> 
>> 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.
> 
> I had a great conversation with Richard about this couple weeks ago. We 
> definitely feel that there is a need for more content in our community. In my 
> own personal and subjective opinion, a real problem with have in LiveCode 
> community is that the UX of the website is really bad. The site is quite 
> pretty, but things that are useful for LC developers are hard to find. Let me 
> illustrate that with an example:
> 
> Suppose you want to check some API related thing. You go to the website, 
> click “Docs” on the top menu and you’re dropped in a firehose of introductory 
> information. That is all great, but where is the online dictionary? How you 
> can go from there to finding out about a specific command or function? It is 
> not there. The easiest way to get to the dictionary is to go back to the main 
> home page, scroll all the way to the bottom and get the dictionary link in 
> the footer.
> 
> The content is there, but the navigation around that content is bad. The new 
> HTML-based dictionary in the IDE is dead slow and has other UX issues such as 
> what happens when you press the ENTER/RETURN key in the search field (go 
> ahead, try it).
> 
> LC is a small company regardless of how much we love them. They can’t provide 
> solution to all our needs. It is not because they don’t want to, they have 
> limited resources. We can’t treat LC as we treat Apple or Microsoft. I won’t 
> dive into the sheer scale of the difference between those entities. We can’t 
> compare it with some hugely popular FOSS programming language project such as 
> Python. We tend to think that because it is FOSS that it is all done for free 
> by a small group of people, it is very easy to fall into the fallacy of 
> saying: “look at what those people can achieve for free!”. It is not free and 
> their institutional and enterprise backers provide funding and full-time 
> employees that are beyond what LC can sum up.
> 
> Does that mean that LC has no place? Of course not, even with all those large 
> e

Re: LC Roadmap

2021-02-14 Thread William Prothero via use-livecode
Jacqueline:
I didn’t know about http://lessons.livecode.com <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 <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 Roadmap

2021-02-14 Thread prothero--- via use-livecode
Folks, a bit more:
Both documentation and marketing are huge tasks and keeping even basic 
documentation current is a big job. A few years ago, I tried the lessons that 
were produced by the livecode team to help folks create basic Apple apps. In my 
view, they were a failure. First, they seemed either buggy or lacked attention 
to non-specialist assumptions in the presentation, confusing me. They needed to 
be reviewed and vetted by beginning programmers. Secondly, they quickly became 
obsolete. Lots of effort for a mediocre showing.

This is a task where livecoders could contribute with carefully vetted modules, 
like those in macmost.com <http://macmost.com/>. There would need to be a 
presentation framework that contributors fit into. Contributions would need to 
be reviewed (and authored), perhaps by livecoders who have already purchased 
livecode subscriptions. Coding practices would have to be reviewed and be 
clean. Purchase fees would be collected by the mothership and distributed to 
authors. This would benefit the mothership by bringing in new users who would 
subscribe to the software. There should be user feedback and requests for 
specific lessons, which a member of the contribution team (all subscribers?) 
could take on. Lessons would get reviewed by purchasers and authors would also 
get ratings.

This project would be best if tightly coupled to the dev team and its control. 
The justification for giving fees to authors is that it would be enormously to 
the benefit of the mothership to have this resource, both by supporting 
existing users and gaining new ones.

Happy Valentine’s day,
Every day is “Valentine’s Day” (if your name is Valentine),

Best,
Bill Prothero


> On Feb 14, 2021, at 9:25 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.
> 
> I still miss Director. It’s animation capabilities and web deployment with a 
> plug-in were excellent. Of course, plug-ins are obsolete and mobile support 
> has become mandatory. The big selling point that is front and center is: 
> English like language. I find that a very weak claim, unless all I want to do 
> is write “Hello World” when I click a button. To do anything non-trivial, you 
> need to delve into coder world. Yes, it is enormously helpful at building 
> user interfaces. Deployment is an enormous pain, with ever changing security 
> challenges. The help files are great at the most trivial tasks, but to do 
> beyond can be challenging. That said, I am committed to Livecode and 
> congratulate the dev team for their accomplishments.
> 
> I would like to see:
> Better help files that go deeper. Have you seen MacMost.com? This is a guy 
> who produces quicky videos for free, and offers more detailed courses for a 
> modest subscription fee. I don’t know whether there are enough potential 
> clients for this, but what if a small team of live coders created something 
> like this that would create modest size youtube videos that both bring in new 
> users and take them to the next level with video, sample projects, and text 
> materials? Perhaps the mothership could support and advise while user Fees 
> pass to the authors. Just thinking.
> 
> That’s all for now. Valentine’s Day and breakfast beckon.
> 
> Best,
> Bill Prothero
> 
> 
> 
> 
> 
> William Prothero
> https://earthlearningsolutions.org
> 
>> On Feb 14, 2021, at 7:30 AM, e.beugelaar--- via use-livecode 
>>  wrote:
>> 
>> https://www.b4x.com if u dont want headaches.
>> 
>> Get Outlook for Android<https://aka.ms/ghei36>
>> 
>> 
>> From: use-livecode  on behalf of 
>> Curry Kenworthy via use-livecode 
>> Sent: Sunday, February 14, 2021 11:31:47 AM
>> To: use-livecode@lists.runrev.com 
>> Cc: Curry Kenworthy 
>> Subject: Re: LC Roadmap
>> 
>> 
>> JeeJeeStudio:
>> 
>>> I like Livecode a lot, but it has it's limitations,
>>> lot of bugs are not solved.
>> 
>> True. Would be more accurate with "yet" added; solving bugs is ongoing!
>> We could also say that many bugs HAVE been solved. Moderate progress.
>> (I know, having been on the front lines of the bug-reporting battle.)
>> 
>> I attribute bug density to dev strategy during the "Great Refactoring."
>> Good: Kickstarter project threw money/man-hours at LC to ach

Re: LC Roadmap

2021-02-14 Thread ELS Prothero via use-livecode
 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.

I still miss Director. It’s animation capabilities and web deployment with a 
plug-in were excellent. Of course, plug-ins are obsolete and mobile support has 
become mandatory. The big selling point that is front and center is: English 
like language. I find that a very weak claim, unless all I want to do is write 
“Hello World” when I click a button. To do anything non-trivial, you need to 
delve into coder world. Yes, it is enormously helpful at building user 
interfaces. Deployment is an enormous pain, with ever changing security 
challenges. The help files are great at the most trivial tasks, but to do 
beyond can be challenging. That said, I am committed to Livecode and 
congratulate the dev team for their accomplishments.

I would like to see:
Better help files that go deeper. Have you seen MacMost.com? This is a guy who 
produces quicky videos for free, and offers more detailed courses for a modest 
subscription fee. I don’t know whether there are enough potential clients for 
this, but what if a small team of live coders created something like this that 
would create modest size youtube videos that both bring in new users and take 
them to the next level with video, sample projects, and text materials? Perhaps 
the mothership could support and advise while user Fees pass to the authors. 
Just thinking.

That’s all for now. Valentine’s Day and breakfast beckon.

Best,
Bill Prothero





William Prothero
https://earthlearningsolutions.org

> On Feb 14, 2021, at 7:30 AM, e.beugelaar--- via use-livecode 
>  wrote:
> 
> https://www.b4x.com if u dont want headaches.
> 
> Get Outlook for Android
> 
> 
> From: use-livecode  on behalf of Curry 
> Kenworthy via use-livecode 
> Sent: Sunday, February 14, 2021 11:31:47 AM
> To: use-livecode@lists.runrev.com 
> Cc: Curry Kenworthy 
> Subject: Re: LC Roadmap
> 
> 
> JeeJeeStudio:
> 
>> I like Livecode a lot, but it has it's limitations,
>> lot of bugs are not solved.
> 
> True. Would be more accurate with "yet" added; solving bugs is ongoing!
> We could also say that many bugs HAVE been solved. Moderate progress.
> (I know, having been on the front lines of the bug-reporting battle.)
> 
> I attribute bug density to dev strategy during the "Great Refactoring."
> Good: Kickstarter project threw money/man-hours at LC to achieve a lot.
> Bad: Code quality was mediocre; lots of bugs introduced at that time.
> (We are STILL finding and reporting LC 7 and 8 bugs.)
> 
> Problem: Digging out from under myriad bugs takes big money/man-hours.
> Meanwhile: Platforms, especially Apple and Mobile, are moving targets.
> 
> Traditional solution: Use a new campaign, like FM, for cashflow.
> Underlying philosophy: Quality = energy/money/time.
> Potential weakness: History could repeat itself. New code quality??
> 
> My proposed solution: Decrease net bugs with more careful coding.
> Underlying philosophy: New code should be good code. (Almost zero-sum.)
> Potential weakness: Too late for the Refactoring; only useful from now.
> 
>> Livecode is great! Don't misunderstand and it learns a lot of
>> people to program. But it runs behind future facts.
> 
> Some truth there too, but it misses a (gigantic) point. In fact, two:
> 
> A. A good IDE is not ONLY about features, bugs, and platforms.
> B. LC's benefit is not ONLY about being easy to learn. (When it is.)
> 
> If that's the only reason you're here, you don't understand LC!
> 
> And you're not the only one. Even those at the top have missed it.
> Raney failed to see it: He considered MC a stepping stone to C.
> LC Ltd also missed part of it: many unique benefits under-promoted.
> And the way some features are added CONTRADICTS the LC paradigm.
> 
> LiveCode - and the legacy of HyperCard - is not Just Another IDE.
> People have usually failed miserably at explaining the magic.
> ("Easy English-like language?" Way too vague! Also missing the point.)
> Too few good analyses, too much parroting weak/transient slogans.
> 
> I intend to do a bit myself in that area soon, explaining what HC/LC is.
> (I had health/energy problems, thus some detractors, but they'll see!)
> The unique strengths of LC paradigm -yes, paradigm- deserve attention.
> That's why I'm making it a point to be more active on this list.
> 
> That paradigm is why many of us are here: not just a handy-dandy tool.
> It's a worldview of how to code - which should be updated not discarded.
> This paradigm has extreme value; likely more than even LC Ltd realizes.
> That's why I'm making it a point to be more active on 

Re: No visual effects on Big Sur?

2021-02-08 Thread ELS Prothero via use-livecode
Folks,
I get effects in Apple’s Big Sur when I use v9.6.1 in Livecode. But 9.6.2(rc2) 
fails. It’s not the Mac OS. Something happened in 9.6.2. I haven’t tried it in 
9.6.2(rc1).
Bill

William Prothero
https://earthlearningsolutions.org

> On Feb 8, 2021, at 2:29 AM, Richmond via use-livecode 
>  wrote:
> 
> No joy over here:
> 
> LC 9.6.2 RC 2 / macOS 11.3 Beta 1
> 
> But this does work this way:
> 
> LC 8.2.0 DP 2 / macOS 11.3 Beta 1
> 
> So the problem may not lie with macOS.
> 
>> On 7.02.21 15:42, Håkan Liljegren via use-livecode wrote:
>> That is strange. As it worked for you Sean, what machine are you on? But, as 
>> we have several of us where it doesn’t work I filed a bug anyway:
>> 
>> https://quality.livecode.com/show_bug.cgi?id=23085
>> 
>> :-Håkan
>>> On 7 Feb 2021, 05:12 +0100, Sean Cole (Pi) via use-livecode 
>>> , wrote:
>>> Hi all,
>>> I just tested here in BigSur 11.2 and they work fine in both the IDE and
>>> standalone. The only ones that do not work are the core image transitions
>>> (with the exception of dissolve which, although having the same name, does
>>> not appear to use the CI version of the effect).
>>> 
>>> I made a simple default stack with one button with this code:
>>> 
>>> on mouseUp pButtonNumber
>>> lock screen for visual effect
>>> set the backcolor of this card to (line random(552) of colornames())
>>> unlock screen with visual effect "dissolve"
>>> end mouseUp
>>> 
>>> The standalone was set with all the default parameters and auto inclusions.
>>> 
>>> Sean
>>> 
>>> On Sat, 6 Feb 2021 at 18:16, prothero--- via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
>>> 
>>>> Hakan:
>>>> I get the same thing. Big Sur, livecode version LC 9.6.2 (rc2). It was
>>>> working on previous versions.
>>>> 
>>>> Yes, please file a bug report.
>>>> 
>>>> Bill
>>>> 
>>>>> On Feb 5, 2021, at 10:55 PM, Håkan Liljegren via use-livecode <
>>>> use-livecode@lists.runrev.com> wrote:
>>>>> Running LC 9.6.2 (rc2) on macOS Big Sur I have no visual effects that
>>>> work. None! Is there anyone else having the same experience, or is it just
>>>> my setup? I have tried to wipe every RunRev/LiveCode file in the Library
>>>> and in the applications folder and then reinstall but still no luck. Also
>>>> tried older (stable versions) with no luck, but that was before wiping
>>>> every file out of existence.
>>>>> Can anyone else running Big Sur confirm before I file a bug-report?
>>>>> 
>>>>> :-Håkan
>>>>> ___
>>>>> use-livecode mailing list
>>>>> use-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, Ph.D.
>>>> University of California, Santa Barbara Dept. of Earth Sciences (Emeritus)
>>>> 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
> 
> 
> ___
> use-livecode mailing list
> use-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: No visual effects on Big Sur?

2021-02-06 Thread prothero--- via use-livecode
Hakan:
I get the same thing. Big Sur, livecode version LC 9.6.2 (rc2). It was working 
on previous versions.

Yes, please file a bug report.

Bill

> On Feb 5, 2021, at 10:55 PM, Håkan Liljegren via use-livecode 
>  wrote:
> 
> Running LC 9.6.2 (rc2) on macOS Big Sur I have no visual effects that work. 
> None! Is there anyone else having the same experience, or is it just my 
> setup? I have tried to wipe every RunRev/LiveCode file in the Library and in 
> the applications folder and then reinstall but still no luck. Also tried 
> older (stable versions) with no luck, but that was before wiping every file 
> out of existence.
> 
> Can anyone else running Big Sur confirm before I file a bug-report?
> 
> :-Håkan
> ___
> use-livecode mailing list
> use-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, Ph.D.
University of California, Santa Barbara Dept. of Earth Sciences (Emeritus)
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


Re: OT Friendly customers....

2021-01-26 Thread ELS Prothero via use-livecode
Matthias,
I regularly get emails that threaten to do financial harm if I don’t do some 
kind of payment to them. If it’s a scam, the return email may be spoofed also. 
Once I got an email from a known friend requesting assistance during a travel 
problem, but the email had been hijacked. From that email address, I got 
sincere sounding requests for emergency assistance. When I checked a Facebook 
account, I found postings about her hijacked email.

If you can find an alternative email address to contact, for the person you 
found on the internet, you could contact him that way. However, the request 
sounds very suspicious to me.

Good luck,
Bill

William Prothero
http://es.earthednet.org

> On Jan 26, 2021, at 9:17 AM, matthias rebbe via use-livecode 
>  wrote:
> 
> Hi all,
> 
> today i had a really unfriendly email from a customer 
> and i would like to show what independent developers sometimes have to deal 
> with.
> 
> First some information...
> i am selling a Win/Mac/Linux tool through Fastspring for years.
> The software is protected using Zygodact from Jacqueline Landman Gay.
> Btw. a really great tool.
> 
> The purchase process is quite easy. After successful purchase/payment 
> Fastspring contacts post some data to a Livecode Server Script. If the 
> Fastpring call contains all needed information the Livecode Server scripts 
> call the Zygodact stack to generate the registration data for that order  and 
> then returns that information. T he customer then get's an automated email 
> from Fastspring which contains the details to unlock the software from demo 
> mode to full mode. This works for years now and worked before Fastspring for 
> years with KAGI.
> 
> Today this email arrived:
> 
> <
> I plugged in the registration code and received a message that it was not 
> valid for the current version that I had downloaded and that I had to send 
> more money.
> 
> Either send me a valid code or refund my money.
> 
> Unless I hear from you today I will contact my bank and my credit card 
> company and report this as a fraudulent charge.
> 
> Let me know what are your intentions.
>> 
> 
> 
> The funny part is, my software does not return such a message. If the code is 
> not accepted because email address and key code do not match, it just returns 
> the message "Name or Key incorrect."
> 
> So what should i conclude from this? Did the customer try to unlock a wrong 
> program? Or did he just interpret the message "Name or Key incorrect" as "You 
> have to send more money"?
> 
> But what annoys me the most is the way he wrote the support request. 
> 
> As the friendly person i am, i tried his unlock data here w/o problem. I 
> replied to him that the unlock data is definitely working and if that is not 
> the case at his side, then i would assume that he either tried to use the 
> unlock details with an other program not mine or that he did not exactly 
> enter the unlock details.
> I even offered a free one2one remote session to do the unlock process for him.
> 
> Until now i did not receive any answers.
> 
> Btw. according to his LinkeIn profile he is a Digital Journalist and Web 
> Designer and is working for a US University
> 
> Anyway.
> 
> 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: 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-20 Thread ELS Prothero via use-livecode
Andre,
You are probably correct. 

Thanks to all of you who have responded to my question about deployment on the 
web.

Best,
Bill

William Prothero
http://es.earthednet.org

> On Jan 20, 2021, at 8:22 AM, Andre Garzia  wrote:
> 
> 
> Bill,
> 
> :-) that topic is too large for a book to be honest.
> 
> What I recommend is actually building a desktop standalone. Forget the web 
> for that app, push for an app.
> 
> Best
> A
> 
>> On Wed, 20 Jan 2021 at 16:20, ELS Prothero 
>>  wrote:
>> Thank you, Andre, for you wisdom. What I take from your comments is if I 
>> want to develop dynamic interactive web based apps with Livecode, I should 
>> get up to speed on JavaScript and will need to either use Livecode to 
>> generate html5, compiled with webAssembly, or find another platform to 
>> develop the software.
>> 
>> Perhaps this topic is an idea for a short book (hint, hint).
>> 
>> Best,
>> Bill
>> 
>> William Prothero
>> http://es.earthednet.org
>> 
>> > On Jan 20, 2021, at 8:03 AM, Andre Garzia via use-livecode 
>> >  wrote:
>> > 
>> > WebAssembly (aka WASM) is not a silver bullet. It is not something like
>> > "you compile to WebAssembly and then PROFIT".
>> > 
>> > WebAssembly and ASM.js (which is what the current HTML5 LC Runtime uses)
>> > are very similar. The advantages of WASM is that it is a lot smaller –
>> > since it is bytecode and not strings in source code – than ASM.js, also, it
>> > can be streamed so you can start loading it in the VM before it finishes
>> > transferring. Given the same source code in WASM and ASM.js, the WASM one
>> > will transfer and load faster, but that is it. One of the main objectives
>> > of WASM was to reduce latency between the beginning of the load action and
>> > having something running.
>> > 
>> > WASM backends have been integrated in many languages – mostly notable LLVM
>> > – which means that is somewhat doable to compile C/C++ code to WASM. That
>> > doesn't mean that all libraries work. WASM has no graphics part. It deals
>> > with memory and integers (floats?). It doesn't even have a string type. It
>> > is basically a small assembly language to be targeted by compilers.
>> > 
>> > Apps made with WASM do not work with just 100% WASM. You always need JS.
>> > JavaScript is the glue that links DOM, events, and WASM. What you usually
>> > do is have a bunch of JS and then speed up some parts of that code with
>> > WASM. WASM can't touch the DOM, WASM can't handle input events. JS and WASM
>> > are built to complement each other.
>> > 
>> > Most languages targeting WebAssembly deployments have their own "JS
>> > Standard library toolkit" so that when you compile, you end up with a
>> > combination of WASM and JS files (maybe even HTML).
>> > 
>> > The benefit for LC would be a smaller runtime and faster loading, both are
>> > great.
>> > 
>> > Just don't believe it is something magical like we were promised in the 90s
>> > with Java Applets that you'd compile your Java App and it would magically
>> > load on the Web. That is not how this works.
>> > 
>> > If you want to learn more about WebAssembly go to the learning area of MDN
>> > WebDocs:
>> > https://developer.mozilla.org/en-US/docs/WebAssembly/Concepts#what_is_webassembly
>> > 
>> > 
>> > 
>> >> On Wed, 20 Jan 2021 at 15:53, Andre Garzia  wrote:
>> >> 
>> >> So,
>> >> 
>> >> Displaying bundled content only (or mostly) allows Apple's static analysis
>> >> tools to take a look at your app. They can also identify outgoing
>> >> connections, so they know if you are opening remote pages. If all you do 
>> >> is
>> >> display local content, and there is no outgoing connections, then security
>> >> analysis of your app is easier (also, it works offline from the start 
>> >> which
>> >> is good). This is not an infalible system, but it works for the average
>> >> case.
>> >> 
>> >> As for having an app, that displays external webpages which allow you to
>> >> buy stuff might be a violation of Apple TOS. That is why you don't buy
>> >> Kindle books on the Kindle app on iOS. Amazon doesn't want to give Apple a
>> >> cut. An app that advertises itself as a browser has more leeway with this
>> >> than others. For example it is OK for Mozilla to ship "Firefox" (not 
>> >> really
>> >> Firefox, more like mozSafari) in iOS even though you can open web pages 
>> >> and
>> >> buy stuff with it. It is not OK for you to create an app that opens your
>> >> webstore and sells stuff.
>> >> 
>> >> I'll write another message about WebAssembly...
>> >> 
>> >> On Wed, 20 Jan 2021 at 12:22, Mark Smith via use-livecode <
>> >> use-livecode@lists.runrev.com> wrote:
>> >> 
>> >>> Thanks Kee, but I am a bit puzzled by the restriction.
>> >>> 
>> >>> That would require complicity from the businesses, which if reputable
>> >>> would be a stretch, no? For example, if I had an app that linked to 
>> >>> course
>> >>> selections on University websites, are they going to suggest that these
>> >>> could be portals to pedophile shopping 

Re: Considering work with livecode server

2021-01-20 Thread ELS Prothero via use-livecode
Thank you, Andre, for you wisdom. What I take from your comments is if I want 
to develop dynamic interactive web based apps with Livecode, I should get up to 
speed on JavaScript and will need to either use Livecode to generate html5, 
compiled with webAssembly, or find another platform to develop the software.

Perhaps this topic is an idea for a short book (hint, hint).

Best,
Bill

William Prothero
http://es.earthednet.org

> On Jan 20, 2021, at 8:03 AM, Andre Garzia via use-livecode 
>  wrote:
> 
> WebAssembly (aka WASM) is not a silver bullet. It is not something like
> "you compile to WebAssembly and then PROFIT".
> 
> WebAssembly and ASM.js (which is what the current HTML5 LC Runtime uses)
> are very similar. The advantages of WASM is that it is a lot smaller –
> since it is bytecode and not strings in source code – than ASM.js, also, it
> can be streamed so you can start loading it in the VM before it finishes
> transferring. Given the same source code in WASM and ASM.js, the WASM one
> will transfer and load faster, but that is it. One of the main objectives
> of WASM was to reduce latency between the beginning of the load action and
> having something running.
> 
> WASM backends have been integrated in many languages – mostly notable LLVM
> – which means that is somewhat doable to compile C/C++ code to WASM. That
> doesn't mean that all libraries work. WASM has no graphics part. It deals
> with memory and integers (floats?). It doesn't even have a string type. It
> is basically a small assembly language to be targeted by compilers.
> 
> Apps made with WASM do not work with just 100% WASM. You always need JS.
> JavaScript is the glue that links DOM, events, and WASM. What you usually
> do is have a bunch of JS and then speed up some parts of that code with
> WASM. WASM can't touch the DOM, WASM can't handle input events. JS and WASM
> are built to complement each other.
> 
> Most languages targeting WebAssembly deployments have their own "JS
> Standard library toolkit" so that when you compile, you end up with a
> combination of WASM and JS files (maybe even HTML).
> 
> The benefit for LC would be a smaller runtime and faster loading, both are
> great.
> 
> Just don't believe it is something magical like we were promised in the 90s
> with Java Applets that you'd compile your Java App and it would magically
> load on the Web. That is not how this works.
> 
> If you want to learn more about WebAssembly go to the learning area of MDN
> WebDocs:
> https://developer.mozilla.org/en-US/docs/WebAssembly/Concepts#what_is_webassembly
> 
> 
> 
>> On Wed, 20 Jan 2021 at 15:53, Andre Garzia  wrote:
>> 
>> So,
>> 
>> Displaying bundled content only (or mostly) allows Apple's static analysis
>> tools to take a look at your app. They can also identify outgoing
>> connections, so they know if you are opening remote pages. If all you do is
>> display local content, and there is no outgoing connections, then security
>> analysis of your app is easier (also, it works offline from the start which
>> is good). This is not an infalible system, but it works for the average
>> case.
>> 
>> As for having an app, that displays external webpages which allow you to
>> buy stuff might be a violation of Apple TOS. That is why you don't buy
>> Kindle books on the Kindle app on iOS. Amazon doesn't want to give Apple a
>> cut. An app that advertises itself as a browser has more leeway with this
>> than others. For example it is OK for Mozilla to ship "Firefox" (not really
>> Firefox, more like mozSafari) in iOS even though you can open web pages and
>> buy stuff with it. It is not OK for you to create an app that opens your
>> webstore and sells stuff.
>> 
>> I'll write another message about WebAssembly...
>> 
>> On Wed, 20 Jan 2021 at 12:22, Mark Smith via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> Thanks Kee, but I am a bit puzzled by the restriction.
>>> 
>>> That would require complicity from the businesses, which if reputable
>>> would be a stretch, no? For example, if I had an app that linked to course
>>> selections on University websites, are they going to suggest that these
>>> could be portals to pedophile shopping sites by entering a secret pass
>>> phrase? By the sounds of it, please correct me if I am wrong, no iStore app
>>> can link to a website for content regardless of the status of the
>>> organization that stands behind the site? H, I still have a lot to
>>> learn in this space.
>>> 
>>> Are there any links available to guidelines that describe these
>>> limitations?
>>> 
>>> Thanks
>>> Mark
>>> 
 On Jan 20, 2021, at 4:25 AM, kee nethery via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
 
 An app to web content is a mystery app. Your restaurant review app that
>>> pulls from the web could easily be transformed into a pedophile shopping
>>> app by entering a secret pass phrase and then changing the data on the web
>>> site. (as an extreme example)
>>> 
>>> 

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


Considering work with livecode server

2021-01-18 Thread prothero--- via use-livecode
Folks:
I’m considering doing some work with LiveCode server. It looks like revigniter 
would be a good startng place, but I have questions before I invest a lot of 
time in it.

Can I position and drag graphic images around. For example, I’m thinking of the 
capability to create an image with various parts that I can click to hide and 
position based on mouse drags or clicks or whatever I want.

It would help me a lot if I could see examples of great sites built with the 
livecode server. If I have to become an expert on Python or Java or javascript 
to do it, though, I’d pass. Basically, I’d like to see what can be done with 
livecode script, livecode server, and whatever html and css are required to do 
what I want. Beginner Python or Javascript might be ok, though.

So, if anyone could post a link to a site like this, I’d very much appreciate 
it. 

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


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: Trying to use the Segmented Control

2020-11-28 Thread ELS Prothero via use-livecode
Brian and Ralph,
Thanks. I gave up because there are easier, more obvious ways to do what I 
want. Several posts have mentioned shortcomings in the segmented control widget 
and I think if it would respond to mousedown and mouseup messages, it would be 
easier to use in more situations, as well. It could use an upgrade, in my 
humble opinion!

Best,
Bill

William Prothero
http://es.earthednet.org

> On Nov 28, 2020, at 3:52 PM, Brian Milby via use-livecode 
>  wrote:
> 
> The widget isn’t impacted by lock messages.  I have used it in the past to 
> switch cards and just checked for the current card to avoid the loop.  That 
> doesn’t sound like it would work here.  You could use a script local flag 
> though.  Set sNoAction to true before changing the hilight; in your 
> hiliteChanged handler exit if sNoAction is true (but probably reset the flag 
> before exiting).
> 
> Sent from my iPhone
> 
>> On Nov 28, 2020, at 6:14 PM, Ralph DiMola via use-livecode 
>>  wrote:
>> 
>> Put an lock/unlock messages around your code to keep from getting a message 
>> when you are doing those type of changes.
>> 
>> 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 prothero--- via use-livecode
>> Sent: Saturday, November 28, 2020 5:32 PM
>> To: JJS via use-livecode
>> Cc: proth...@earthlearningsolutions.org
>> Subject: Trying to use the Segmented Control
>> 
>> Folks:
>> I’m trying to use the segmented control and a navigation button on a card. 
>> Its purpose is to go to various location in my app. The only message it 
>> seems to respond to is hiliteChanged. But when I then try to set the hilites 
>> to empty (so no segments are hilited), it triggers another hiliteChanged 
>> message. This makes it a real pain to use for what I want. 
>> 
>> I see there have been numerous discussions about this control. It’s been a 
>> time-waster for me.
>> 
>> 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


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


Trying to use the Segmented Control

2020-11-28 Thread prothero--- via use-livecode
Folks:
I’m trying to use the segmented control and a navigation button on a card. Its 
purpose is to go to various location in my app. The only message it seems to 
respond to is hiliteChanged. But when I then try to set the hilites to empty 
(so no segments are hilited), it triggers another hiliteChanged message. This 
makes it a real pain to use for what I want. 

I see there have been numerous discussions about this control. It’s been a 
time-waster for me.

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


Re: Chromebook apps?

2020-11-27 Thread ELS Prothero via use-livecode
Rick,
Thanks for your perspective. Frankly, I don’t think it will be particularly 
easy to make it an app either. I need to do a fair bit of code optimization and 
on the map, there will have to be a small magnifier that moves with the finger. 

In the meantime, the desktop version is coming along.

Best,
Bill

William Prothero
http://es.earthednet.org

> On Nov 27, 2020, at 9:23 AM, Rick Harrison via use-livecode 
>  wrote:
> 
> Hi Bill,
> 
> I took a look at your demo video of your app.
> I would agree that it is pretty complex and
> it would require a lot of javascript to provide
> the interactivity that you want.  It would not
> be an easy web creation process for you.
> 
> I can see you have put a lot of work into
> your app!
> 
> This is the kind of thing we were hoping
> that LC HTML5 would be able to easily
> deliver to users, but as you know it hasn’t
> panned out that way.
> 
> Good luck with your development work!
> 
> Rick
> 
>> On Nov 27, 2020, at 12:46 AM, prothero--- via use-livecode 
>>  wrote:
>> 
>> Rick:
>> Thanks. I’ve considered that. But my app is pretty complex. There is 
>> interactive maps plotting earthquakes, elevations, ages, etc, graphics 
>> capture and editing, writing, lots of complex actions that I think would 
>> require a major time investment to do on the web. It is actually something 
>> I've thought about, but I’m not ready to take that on yet.
>> 
>> In case you’re curious, my demo video of the old 32bit version that I’m 
>> building my update on is at: https://earthlearningsolutions.org 
>> <https://earthlearningsolutions.org/>
>> 
>> 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


Re: Chromebook apps?

2020-11-26 Thread prothero--- via use-livecode
Rick:
Thanks. I’ve considered that. But my app is pretty complex. There is 
interactive maps plotting earthquakes, elevations, ages, etc, graphics capture 
and editing, writing, lots of complex actions that I think would require a 
major time investment to do on the web. It is actually something I've thought 
about, but I’m not ready to take that on yet.

In case you’re curious, my demo video of the old 32bit version that I’m 
building my update on is at: https://earthlearningsolutions.org 
<https://earthlearningsolutions.org/>

Best,
Bill

William A. Prothero
Santa Barbara, CA. 93105
http://earthlearningsolutions.org/

> On Nov 26, 2020, at 11:14 AM, Rick Harrison via use-livecode 
>  wrote:
> 
> Hi Bill,
> 
> If you make your app a webpage instead by using
> a LiveCode Server, then everyone can just visit your 
> website.  It will run on all computers with web
> access, not just ChromeBooks.
> 
> Good luck with whatever you decide to do!
> 
> Rick
> 
>> On Nov 26, 2020, at 12:52 AM, prothero--- via use-livecode 
>>  wrote:
>> 
>> Folks:
>> My son is a 5’th grade teacher. He tells me that apps for elementary school 
>> learning must run on ChromeBooks to be used in elementary school. I just 
>> want to verify that this means I would be developing an Android app for a 
>> Chromebook.
>> 
>> I also wonder if there are minimal requirements for a Chromebook that will 
>> run Android apps. I’m in the “thinking about it” stage right now, but would 
>> like to hear about any experience or gotchas I need to be aware of for 
>> Chromebook apps. 
>> 
>> Thanks,
>> 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: Chromebook apps?

2020-11-26 Thread ELS Prothero via use-livecode
Thanks for the perspective, Jacque,
Hmm, it could be venturing into a swamp for me, tho. Given the popularity of 
Chromebooks, it would be great if Livecode could be invested in support for 
them. In my own case, I need to be cautious about where I spend my effort. I’m 
a happily retired ex-educator and giving away any apps I make, so getting into 
an area with a lot of deployment idiosyncrasies may not be realistic.

Have a nice thanksgiving, all Yanks and Yank sympathizers! 

Bill

William Prothero
http://es.earthednet.org

> On Nov 25, 2020, at 11:56 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> Right, for Chromebooks you'd develop an Android app. I've been testing two 
> different client projects on Chromebooks. For the most part they run okay, 
> depending on the hardware. One of my apps in particular runs beautifully in 
> tablet mode, but if you rotate the screen to desktop mode it loses its window 
> coordinates and draws incorrectly. That's probably my fault, since the app is 
> locked to portrait orientation. In portrait mode, with fullscreenMode on, it 
> looks great and behaves well. If you launch it in desktop mode it opens in a 
> window the size of the original stack and works fine as long as you don't try 
> to resize the window.
> 
> 
> But appearance and behavior can vary depending on the Chromebook. I'm having 
> pretty good luck with my Lenovo but my client's Asus sometimes doesn't draw 
> the content quite right. I can't recall the details, something about color I 
> think. I'd love it if LC could look at Chromebook support at some point. It's 
> almost there already, and as you say, Chromebook support is almost mandatory 
> if you are developing for the education market. In fact, with so many schools 
> closed down and students working remotely, Chromebooks are in such high 
> demand that they've become harder to find. They're very popular. Our market 
> is college and university students and a lot of them use Chromebooks. When 
> they ask, we tell them the app may run on their Chromebook but we can't 
> provide support.
> 
> 
> On a more personal note, I love my Chromebook. They're very fast (they wake 
> from sleep before the lid is fully opened,) virtually immune to malware, 
> lightweight, inexpensive, and extremely portable. They've come a long way 
> from the time when they were basically just a big web browser.
> 
> 
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
>> On November 25, 2020 11:54:54 PM prothero--- via use-livecode 
>>  wrote:
>> 
>> Folks:
>> My son is a 5’th grade teacher. He tells me that apps for elementary school 
>> learning must run on ChromeBooks to be used in elementary school. I just 
>> want to verify that this means I would be developing an Android app for a 
>> Chromebook.
>> 
>> I also wonder if there are minimal requirements for a Chromebook that will 
>> run Android apps. I’m in the “thinking about it” stage right now, but would 
>> like to hear about any experience or gotchas I need to be aware of for 
>> Chromebook apps.
>> 
>> Thanks,
>> 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


Chromebook apps?

2020-11-25 Thread prothero--- via use-livecode
Folks:
My son is a 5’th grade teacher. He tells me that apps for elementary school 
learning must run on ChromeBooks to be used in elementary school. I just want 
to verify that this means I would be developing an Android app for a Chromebook.

I also wonder if there are minimal requirements for a Chromebook that will run 
Android apps. I’m in the “thinking about it” stage right now, but would like to 
hear about any experience or gotchas I need to be aware of for Chromebook apps. 

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


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


Re: Design Question

2020-11-17 Thread ELS Prothero via use-livecode
I’m re-sending this because I used the wrong email server.
Bill

William Prothero
http://es.earthednet.org

> On Nov 17, 2020, at 8:46 AM, William Prothero  wrote:
> 
> David and Graham,
> One approach that occurred to me is this.
> There are 2 components to the work that students would “hand in” to their 
> teacher. It would consist of simple text and images. So, would it be 
> practical to create a simple pdf as a single file that includes these 
> elements and send that to the teacher as an attachment? The teacher could 
> then either base grading on that pdf alone or use another small app that I 
> write (or other pdf editing software) to add comments and/or a grade to the 
> pdf and return it to the student.
> 
> I haven’t tried to create PDFs in Livecode, but from some of the postings, it 
> seems practical. I’m not sure about the deconstruction in a Livecode app, but 
> a quick google search shows a lot of apps for annotating PDFs.
> 
> Tnx for any comments or wisdom.
> 
> Best,
> Bill
> 
> William Prothero
> http://earthlearningsolutions.org
> 
>> On Nov 17, 2020, at 2:15 AM, David V Glasgow  wrote:
>> 
>> Oooh!  For once I might make a contribution!
>> 
>> I had the same issue in a healthcare context.  These IT systems vary 
>> tremendously between services, are complex and often hard to connect with - 
>> either by design, or by lack of interest in supporting other software.
>> 
>> I found the best way to get a combo education and training/clinical app to 
>> be accepted was to create it with no dependencies (local or online), no 
>> attempt to connect with management systems, no writing of data anywhere, 
>> just the ability to copy and paste charts and data that nurses can 
>> incorporate into other reports.  Although clinical information systems are 
>> hostile to most actions, they have to allow pictures (like x rays and other 
>> scans) and spread sheet data to be pasted into the record.  Ironically, they 
>> almost all allow Word documents to be incorporated into the clinical record 
>> too.  Nurses don’t need to be shown how to do these things, because they 
>> wrestle with ugly, poorly designed clinical information systems on a daily 
>> basis.
>> 
>> In other words, you’re on the money, I think.
>> 
>> Cheers,
>> 
>> David G
>> 
>>>> On 16 Nov 2020, at 11:28 pm, William Prothero via use-livecode 
>>>>  wrote:
>>> 
>>> 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
>> 


___
use-livecode mailing list
use-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: POST to https in LC5.0.2 - Error socket closed

2020-10-22 Thread ELS Prothero via use-livecode
Sean,
I wonder if you used http without ssl, but did 256 bit encryption and 
decryption at source and in the php connecting to mysql. I posted a link to a 
sample stack using this method awhile back. It’s pretty simple. I am traveling 
and not at my computer, but if you searched the emails for the last few weeks 
on “earthlearningsolutions”, you would find it.

Good luck,
Bill

William Prothero
http://es.earthednet.org

> On Oct 22, 2020, at 9:49 PM, Sean Cole (Pi) via use-livecode 
>  wrote:
> 
> Hi all,
> 
> I'm desperate. I'd written my code in LC9 and tested to put into an LC5.0.2
> stack. It worked ok in v9 but v5 throws back an error of 'error socket
> closed'.
> 
> This is my only workaround for accessing MySQL using SSL via a 'post'
> command through PHP, as suggested by Mark Waddingham and others.
> 
> Now I am at a total loss! From what I can see in the forums, LC locked out
> 'post to https' to only Enterprise users. Arrrghhh!
> 
> I don't know what else I can do. Curl is not an option as this will be
> running as an app on clients Windows machines. But even put url("https://
> returns error socket closed so that rules out setting up a server app too.
> Nothing works!
> 
> I'm Delirious! HELP!
> 
> Sean Cole
> *Pi Digital *
> ___
> use-livecode mailing list
> use-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: Livecode Podcast Player

2020-10-21 Thread ELS Prothero via use-livecode
Sean,
Amen on making the guide searchable. I find it useless. A challenge for me is 
solving problems that are beyond the basic level covered in the dictionary. 
Usually I can find help using google searching, though.

Keeping all the help docs up to date is a big task, but vital for growing the 
community.

Best,
Bill

William Prothero
http://es.earthednet.org

> On Oct 21, 2020, at 9:04 AM, Pi Digital via use-livecode 
>  wrote:
> 
> Maybe that’s what we can all contribute. Get assigned a section of the guide 
> and rewrite it. Submit, revise and add to the guide. 
> 
> And rewrite a better built in guide viewer. One that is searchable at the 
> very least. And doesn’t take an age to load each section. 
> 
> Sean Cole
> Pi Digital
> 
> 
>> On 21 Oct 2020, at 16:45, Pi Digital  wrote:
>> 
>> I’m going to chime in, not to discredit anyone else or their comments, only 
>> to voice a reason I personally feel is far more needed and worthwhile. 
>> 
>> Before any of what has been suggested being carried out, as lovely as it all 
>> would be, getting the dictionary and the guide usable and 
>> accurate/up-to-date would be of greater importance. Especially for the 
>> modern and recent modifications. But even simple stuff that has been altered 
>> in tiny ways has not been touched in the guide for an age. 
>> 
>> My point is, there is no point in introducing and inviting new users to a 
>> product that becomes difficult to use because documentation is out of date 
>> and not matching in appearance or fiction to what is described. Sure a 
>> community can advise those ones of workarounds and correct usage. But that’s 
>> just pathetic and should be unnecessary. And you all know my opinions on 
>> workarounds. 
>> 
>> My ethos, fix what we have, don’t introduce more problems. 
>> 
>> Sean Cole
>> Pi Digital
>> 
>> 
> On 21 Oct 2020, at 14:31, David Bovill via use-livecode 
>  wrote:
> 
>>> Does anyone have a stack that plays audio podcasts?
>>> ___
>>> use-livecode mailing list
>>> use-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


  1   2   3   4   5   >