Re: WebDeployHelper tool - the LC10 web app toolbox

2024-04-04 Thread William Prothero via use-livecode
Andreas,
This sounds really great! It encourages me to start working with web 
apps.Thanks for your contribution. 
Best,
Bill
William A. Prothero, PhD
Prof Emeritus, Dept of Earth Science
University of California, Santa Barbara

> On Apr 4, 2024, at 12:45 PM, Andreas Bergendal via use-livecode 
>  wrote:
> 
> So, LiveCode 10 has web deployment, but there are still too many things it 
> cannot do out-of-the-box.
> Well, some of them are fixable, and as promised I now release the tool I’ve 
> built to get so much more out of LC web apps.
> 
> Download here: 
> https://github.com/wheninspace/WIS_WebDeployHelper/releases/latest
> 
> WebDeployHelper tool essentially does two things:
> 
> 1) It provides you with code (LC, javascript, html) that greatly enhances the 
> capabilities of your web app.
> It adds code to your LC stack, and to the html file in the standalone folder. 
> You have full control of which features are added. Nothing is altered in your 
> existing LC code.
> 
> Currently the following features are available:
> - Modify the appearance of the web page that the LC stack resides on (your 
> own logo, background colour etc)
> - Add code that will make the stack resize when the browser window is 
> resized, or make the stack stay centered on the web page
> - Add code that enables pasting into fields and putting text into the 
> clipboard (not in mobile browsers)
> - Add code that enables mouse wheel scrolling in all LC fields and relevant 
> widgets (not in mobile browsers)
> - Add code that gives you access to the localStorage functionality, which 
> enables saving data between sessions
> - Add code that enables uploading of file data from your local files (like 
> image data and text)
> - Other minor nifty features :)
> 
> 
> 2) It helps automate the web deployment process, which tends to get tedious 
> as you often build many, many times and upload to your server to test and 
> test again your web app.
> 
> So, the workflow automator lets you run one or several steps with one click:
> - Trash the previous build folder (so you don’t get build folders like 
> "MyApp1”, MyApp2”, "MyApp3” etc)
> - Trigger the standalone builder
> - Compile the enhanced html file and replace the generic one in the build 
> folder with it
> - Upload all the standalone files (or just the changed ones, if not first 
> upload) to your server with ftp (if you enter credentials for an ftp account)
> - Launch the web url to your web app in your browser
> 
> 
> The stack requires LC10.0.0 dp7+ and naturally a web deployment license for 
> LC10.
> It can be used 'as is' or put into the plugins folder.
> 
> The tool is free to use (MIT license), but if you like it (or any of the 
> other free tools I've made) and feel it adds value to your use of LiveCode, 
> you may consider buying me a coffee at 
> https://www.buymeacoffee.com/riu9yazy7p :)
> 
> Feedback on everything is welcome!
> 
> Andreas Bergendal
> WhenInSpace
> 
> 
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-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: Deployment: a plea/opportunity

2023-10-13 Thread William Prothero via use-livecode
I second (3rd and 4th too) Richard's plea. Deployment is a killer.
Bill

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

> On Oct 13, 2023, at 10:47 AM, Richard Gaskin via use-livecode 
>  wrote:
> 
> We see it here in this list. We see it in the forums. We see it wherever app 
> deployment is discussed:
> 
> OS requirements for packaging/stapling/signing apps are onerous.
> 
> At the edge of, and sometimes exceeding, being prohibitively so.
> 
> There's no point in making a standalone if you can't ship it.
> 
> If pro devs with decades of experience struggle with this, newcomers will run 
> screaming.
> 
> SIMPLIFYING DEPLOYMENT IS THE NUMBER ONE PRIORITY.
> 
> Pardon the all-caps. I rarely use them. But this is important.
> 
> Simplifying deployment is more important than "AI".
> Simplifying deployment is more important than "nocode".
> 
> It is the single biggest pain point.
> 
> And so it is the single biggest opportunity.
> 
> Fulfill the promise of "Everyone can code": focus on simplifying deployment.
> 
> Step 1: Acquire Matthias' great tool.
> 
> Step 2: Enhance it for current requirements across platforms.
> 
> Step 3: Look for every opportunity to further simplify the process, and take 
> it, at least one more simplification with each new build.
> 
> This is important. It really is.
> 
> --
> 
> And no, web export will not magically save things.  Even when that becomes 
> truly production-ready, it's only for web apps.  Not everything needs to be a 
> web app.
> 
> There are a hundred ways to make web apps.
> 
> There are few ways to make cross-platform native apps.
> 
> And almost none that rival what LC can do on the desktop.
> 
> Play into strengths.  Make native deployment the best it can be.
> 
> When that's done, only then resume work on more peripheral features.
> 
> --
> Richard Gaskin
> Fourth World Systems
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-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 progress updates on LC 10. Am i the only one who is concerned?

2023-10-11 Thread William Prothero via use-livecode
Just my take,
I'm just currently using livecode to write personal software. The various 
issues related to the app store and compatibility with other platforms are not 
something I have time or energy for. I'm retired and like to work on fun, 
rewarding projects, not frustrating searches for the one setting that will move 
me forward. 

However, the possibility that Livecode might become a platform for developing 
web applications is extremely interesting to me. It would encourage me to 
develop and post interactive learning games that I've thought about. However, 
the development process would need an interface that works in a well 
documented, straightforward way without the need to learn auxiliary programs 
(E.g. Javascript, php, python, c++, etc).

If I could write a program in livecode that deploys as easily as currently 
possible on my own desktop, I would be very overjoyed.

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

___
use-livecode mailing list
use-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: Forum Software LC?

2023-09-28 Thread William Prothero via use-livecode
Thanks, Richard. 
After I looked into discord privacy policies, I realized that my audience would 
not even consider it. I decided to make a simple site using bbpress with 
wordpress and try to use only free or very low cost plug-ins. Most of my 
programming time in the last year was building a complex wordpress site to 
support our retirees association. So, I got pretty good with wordpress and 
figure putting together a basic discussion site will be pretty quick. Of 
course, privacy is huge issue. I've found that limiting login tries and using 
captcha seem to work well. Also, I have a plugin that won't accept non US ip 
addresses to help.

The biggest development problem is choosing the plugins from the massive number 
that claim to be the best. Then it takes a day to find out they can't do what 
you want.

Thanks again for the info.
Best,
Bill

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

> On Sep 28, 2023, at 8:12 AM, Richard Gaskin via use-livecode 
>  wrote:
> 
> Keith Martin wrote:
> 
> > To me, Discord looks like a refugee from a moderately poorly
> > designed BBS from 30 years ago. I use it (it's the student
> > comms platform of choice for a course I teach on) and it does
> > work well in the sense of being very functional, but it offends
> > me on multiple levels.
> 
> You're not alone. When I started using it for board game discussions my first 
> response was "Holy hellballz, which overcaffienated stoner fell too deeply in 
> love with IRC?" :)
> 
> The functionality is great, but even just dropping the hashtag to distinguish 
> channel labels would go a long way to making it look less like an IRC 
> holdover.
> 
> That said, my circle of friends include a good many who still use IRC daily...
> 
> --
> Richard Gaskin
> Fourth World Systems
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-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: Forum Software LC?

2023-09-23 Thread William Prothero via use-livecode
Discord looks really interesting. I'm thinking of trying it out. One thing I 
wonder about is 
user privacy. I know there are private channels, but does the entity supporting 
discord have access to user data, emails, names, etc?

That will be the first question I'm asked.
Best,
Bill

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

> On Sep 22, 2023, at 10:46 PM, Dan Brown via use-livecode 
>  wrote:
> 
> A lot of corporations are indeed making a ton of money off the back of free
> labour and free software. Thanks Stallman
> 
>> On Thu, 21 Sept 2023, 23:36 Richard Gaskin via use-livecode, <
>> use-livecode@lists.runrev.com> wrote:
>> 
>> Bob Sneidar wrote:
>>> Richard Gaskin wrote:
 
 Bob Sneidar wrote:
> Erm… neither of those are free. :-)
 
 Please explain.
 https://github.com/discourse/discourse/blob/main/docs/INSTALL-cloud.md
 https://discord.com/blog/starting-your-first-discord-server
>>> 
>>> 
>>> Well, if I go to my bartender and ask for a free beer, I might get one,
>>> but then the bartender or the owner has to pay for it.
>> 
>> True. These systems are popular enough that there's enough who choose to
>> pay for optional premium services so the rest remains free of cost for
>> everyone else.
>> 
>>> As for freedom, everyone I think knows that our freedoms are purchased
>>> at a precious price.
>> 
>> Also true.  After thousands of years of intellectual property theft, the
>> Berne Convention of 1886 finally created a global framework establishing
>> that the author of an original creative work has sole authority over its
>> distribution.
>> 
>> A hundred years later the Free Software Foundation and others used the
>> foundation established by the Berne Convention to create standardized
>> licensing guaranteeing the freedom to read, modify, and redistribute
>> software for any package using those licenses. These freedoms fostered such
>> proliferation that today most of the world's software infrastructure is
>> powered by open source.
>> 
>> --
>> Richard Gaskin
>> Fourth World Systems
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-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: Forum Software LC?

2023-09-20 Thread William Prothero via use-livecode
Richard,
Thanks so much for the link to the installation instructions for discourse. 
I've been thinking about installing a forum. 

If I do the installation myself, will there be a cost, other than the domain 
name?
Best,
Bill

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

> On Sep 20, 2023, at 8:40 AM, Richard Gaskin via use-livecode 
>  wrote:
> 
> Rick Harrison wrote:
> 
> > On Sep 18, 2023, at 1:57 PM, Richard Gaskin wrote:
> >>
> >> Use Discourse.  There are others, but Discourse is currently the
> >> go-to choice for new forums.  Great UX, open source.
> >
> > Discourse is $50 per month! No free option for that.
> 
> If you want the core team to also host and support it, yes, you can hire them 
> to do that for a monthly fee. And for less than the cost of an hour's 
> billable time, having their team handle everything can be a good value.
> 
> The project is open source, so you can also host it yourself:
> 
> https://github.com/discourse/discourse/blob/main/docs/INSTALL-cloud.md
> 
> --
> Richard Gaskin
> Fourth World Systems
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-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: Android ANR (App not responding | Jacque was right :-)

2023-09-18 Thread William Prothero via use-livecode
Ralph:
Noteworthy?
Bill

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

> On Sep 17, 2023, at 2:24 PM, Ralph DiMola via use-livecode 
>  wrote:
> 
> Was invited to an experimental Jazz show yesterday. I finally realized that 
> all jazz is experimental.
> 
> "Jazz is not dead it just smells funny"
> Frank Zappa
> 
> 
> What do you call a person who hangs out with musicians?
> 
> 
> 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 Bob Sneidar via use-livecode
> Sent: Friday, September 15, 2023 10:02 PM
> To: How to use LiveCode
> Cc: Bob Sneidar
> Subject: Re: Android ANR (App not responding | Jacque was right :-)
> 
> Yes. It’s the one that no batter can hit. 
> 
> Sent from my iPhone
> 
>>> On Sep 15, 2023, at 18:14, Mark Wieder via use-livecode 
>>>  wrote:
>>> 
>>> On 9/15/23 13:10, Ralph DiMola via use-livecode wrote:
>>> Does accordion count?
>> 
>> You know the definition of perfect pitch, right?
>> 
>> -- 
>> Mark Wieder
>> ahsoftw...@gmail.com
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: Android ANR (App not responding | Jacque was right :-)

2023-09-15 Thread William Prothero via use-livecode
Klaus,
 Very nice site and music. You're way above my skill level. I jam with friends 
a couple of times a week, but we are all retired and do it for fun and public 
performances are very rare.
Best,
Bill

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

> On Sep 15, 2023, at 1:11 PM, Ralph DiMola via use-livecode 
>  wrote:
> 
> Does accordion count?
> 
> 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: Friday, September 15, 2023 2:56 PM
> To: How to use LiveCode
> Cc: William Prothero
> Subject: Re: Android ANR (App not responding | Jacque was right :-)
> 
> Mark and Klaus,
> Wow, folks I didn't know were musicians!  
> I use iReal Pro too. It's great for practice. And, easily transposes. But as 
> a keyboard player, I use the notes of the tune to shape my solos. iReal Pro 
> only has the chords. It's still useful, though.
> 
> Best,
> Bill
> 
> William A. Prothero, PhD
> Prof Emeritus, Dept of Earth Science
> University of California, Santa Barbara
> 
>> On Sep 15, 2023, at 11:50 AM, Klaus major-k via use-livecode 
>>  wrote:
>> 
>> Hi Mark,
>> 
>>> Am 15.09.2023 um 20:26 schrieb Mark Wieder via use-livecode 
>>> :
>>>>> On 9/15/23 10:13, Klaus major-k via use-livecode wrote:
>>>>> I also own "iReal Pro" for Mac<https://www.irealpro.com> which can 
>>>>> output PDF if I need one and I also still own a printed version of 
>>>>> the "Real Book I". :-)
>>> The only reason I have a 10" tablet is to run iRealPro on it.
>>> Hard to imagine doing without it.
>> 
>> good boy! :-)
>> 
>>> --
>>> Mark Wieder
>>> ahsoftw...@gmail.com
>> 
>> 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: Android ANR (App not responding | Jacque was right :-)

2023-09-15 Thread William Prothero via use-livecode
Mark and Klaus,
Wow, folks I didn't know were musicians!  
I use iReal Pro too. It's great for practice. And, easily transposes. But as a 
keyboard player, I use the notes of the tune to shape my solos. iReal Pro only 
has the chords. It's still useful, though.

Best,
Bill

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

> On Sep 15, 2023, at 11:50 AM, Klaus major-k via use-livecode 
>  wrote:
> 
> Hi Mark,
> 
>> Am 15.09.2023 um 20:26 schrieb Mark Wieder via use-livecode 
>> :
>>> On 9/15/23 10:13, Klaus major-k via use-livecode wrote:
>>> I also own "iReal Pro" for Mac which can output 
>>> PDF if I need one
>>> and I also still own a printed version of the "Real Book I". :-)
>> The only reason I have a 10" tablet is to run iRealPro on it.
>> Hard to imagine doing without it.
> 
> good boy! :-)
> 
>> -- 
>> Mark Wieder
>> ahsoftw...@gmail.com
> 
> 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: Android ANR (App not responding | Jacque was right :-)

2023-09-15 Thread William Prothero via use-livecode
Klaus,
Re sheet music display, I also display sheet music, mostly jazz. There's an 
app, very low cost, named igigbook that displays pdfs. If you're into jazz, you 
can get lots of real book music and there is even an addon for changing the key 
for some realbook songs.

The trouble is, iGigbook is optimized for the Mac, so I'm not sure it would 
work for you. So, excuse me if my comment is irrelevant to your goal.

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

> On Sep 15, 2023, at 3:34 AM, Klaus major-k via use-livecode 
>  wrote:
> 
> Hi Mark,
> 
>> Am 15.09.2023 um 12:14 schrieb Mark Waddingham via use-livecode 
>> :
>> 
>>> On 2023-09-14 18:49, Klaus major-k via use-livecode wrote:
>>> But I'm using a Mac and it looks like that tool is not available here in 
>>> the SDK tools folder.
>>> Maybe available somewhere in "Android Studio".
>>> And my problem NEVER happened when I'm at home, only during band rehearsals 
>>> and gigs! :-D
>> So this is perhaps the most useful observation...
> 
> :-)
> 
>> This could suggest there is a either a difference in usage, or environment 
>> between the two places. e.g.
>> - is the app used more / for longer at gigs compared to home?
> 
> Yes.
> 
>> - how is the tablet powered at home vs at gigs?
> 
> Via its internal rechargable battery, will recharge it overnight with no 
> connection to my Mac.
> 
>> - how does the tablet connect to the internet at home vs at gigs? (even if 
>> the app does not use the internet, lots of background stuff on Android 
>> *does*)
> 
> At home via W-Lan, at gigs no internet connection (no SIM card or something!)
> 
>> - when the problem happens is there anything specific you can think of in 
>> common with what you were doing / the app was doing / the device was doing 
>> just before? (e.g. does it happen just after the device has gone to sleep).
> 
> No, sometimes I get the black screen immediately when I start the tablet at a 
> gig or rehearsal, sometimes after several quit/start of the app.
> 
>> The fact it is 'hanging' suggests there is something (on startup?) which is 
>> failing and causing an infinite loop.
> 
> Nothing remarkable here, I only fill the two polygrids (< 10 entries each) on 
> the first card on preopenstack.
> 
>> Is there anything in the startup code for the app which waits for something 
>> to happen? e.g. an network request, something to initialize etc.?
> 
> No, nada, just what I wrote above.
> 
>> Warmest Regards,
>> 
>> Mark.
>> 
>> P.S. If you send your app's source to supp...@livecode.com with a rough 
>> outline of where to look for startup code etc. then Panos and I can take a 
>> quick look and see if we can see anything which may be causing your issue.
> 
> Great, thanks, will remove all unneccessary files and will send it with some 
> instructions.
> 
>> -- 
>> Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
>> LiveCode: Build Amazing Things
> 
> 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: OT - a new release of WinSignHelper for macOS

2023-08-24 Thread William Prothero via use-livecode
I have an ios app that I built for myself only. I was able to load the app on 
my iphone for debugging. It works fine, for me, in normal use. You may be able 
to do the same with your friend's device. It saves a lot of the trouble with 
certificates, etc. you might search the forum on "sideloading".

Good luck.
Bill

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

> On Aug 24, 2023, at 6:30 AM, Randy Hengst via use-livecode 
>  wrote:
> 
> Hi All,
> 
> This all very interesting. I haven’t built for windows in about 10 years. So, 
> I’ve never messed with signing certificates.
> 
> I’ve downloaded and played with Matthias’ CodeSigning Tool… seems very 
> straight forward. But, I’m trying to build an app only for a friend to use 
> for free and, so, I’m not too keen on buying a certificate for $100+ every 
> year.
> 
> Is there a way for folks to open an app on windows that is not signed? …like 
> you can do on a Mac after the scary alert…
> 
> take care,
> randy
> 
> Randy Hengst
> classroomfocusedsoftware.com
> 
> 
> 
>> On Jul 20, 2023, at 10:47 PM, J. Landman Gay via use-livecode 
>>  wrote:
>> 
>> Very useful info, thank you. Especially the part about using the token on 
>> different machines. I was duped into believing everything I read on the 
>> internet. :)
>> 
>> --
>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>> HyperActive Software | http://www.hyperactivesw.com
>> On July 20, 2023 4:20:59 PM matthias rebbe via use-livecode 
>>  wrote:
>> 
> Am 20.07.2023 um 17:21 schrieb J. Landman Gay via use-livecode 
> :
> 
> Thanks Matthias. I've been reading about it and I think the cert is 
> stored on the machine but it is tied to that computer and not exportable.
>>> 
>>> 
 If you get a new computer you need to buy a new certificate.
>>> I don't think that is true. The new type of certificate has to be stored on 
>>> a secure device. That's what the eToken is for. The private key is also 
>>> stored on the eToken and the certificate and the private key cannot be 
>>> exported. You should be able to use that token on multiple computers. You 
>>> just have to install the eToken driver to an other computer and attach the 
>>> eToken to it.
>>> 
>>> This is what Trustzone is saying about it:
>>> "The token-based type of Standard Code Signing certificates can also be 
>>> used on multiple computers. The same goes for token-based EV certificates. 
>>> But no token-based certificate can ever be used simultaneously on two 
>>> computers since the SafeNet token can only be plugged into one computer at 
>>> a time."
>>> 
>>> As i never had such eToken, i do not know, if the certificate and the 
>>> private key can be accessed as files through Finder. And what extension do 
>>> they have. I've read the osslsigncode can use also certificates and key 
>>> files with .cem extension.
>>> So if the eToken contains such files, WinSignHelper could be slightly 
>>> adjusted to work with the eToken. But that's just an assumption.
>>> 
>>> Matthias
>>> 
>>> 
 So I don't think I'll experiment, and we'll just do the whole thing on the 
 Windows box.
 
 The sad part is that if we'd renewed just a couple of weeks earlier we'd 
 have been within the cutoff date and could have purchased the old type of 
 certificate.
 
>>> Same here. I was about 5 days to late otherwise i could have ordered the 
>>> olde type.
>>> 
>>> 
 If anyone else has used the new token hardware I'd be grateful for any 
 tips or suggestions. This is all new to me.
>>> 
>>> I am using a cloud based OV certificate from Certum. I just need to install 
>>> the Software SimplySign Desktop. The software "integrates" the certificate 
>>> into Windows' certificate storage (or what ever this is called) after i 
>>> logged in using that SimplySign Desktop software.
>>> Microsoft's signtool can then directly access the certificate.
>>> 
>>> 
 --
 Jacqueline Landman Gay | jac...@hyperactivesw.com
 HyperActive Software | http://www.hyperactivesw.com
 On July 19, 2023 4:20:23 PM matthias rebbe via use-livecode 
  wrote:
 
> To be honest, i do not know.
> I am currently using a cloud code signing certificate which i can only 
> use on Windows.
> I've chosen the cloud version because of the price, but later i noticed 
> that it seems that those cloud certificates cannot be used on macOS.
> Or maybe they can, but i do not know how, especially with ossl signcode
> WinSignHelper uses ossl signcode and currently that tool needs a path to 
> a certificate
> 
> Do you know where the certificate is stored with the eToken solution? Is 
> it stored also on the eToken or anywhere else on the Mac?
> If you have the certificate as a physical file it maybe could be possible 
> to select that file in the WinSignHelper prefs.
> 
> But as  i alread wrote, i really don't know exactly.

Re: Question re download timeout setting

2023-07-22 Thread William Prothero via use-livecode
Matthias,
I'll try it.
Thanks so much for your help.
Bill

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

> On Jul 22, 2023, at 4:32 AM, matthias rebbe via use-livecode 
>  wrote:
> 
> Hello Bill,
> 
> since V8 or so tsNET external is included in any commercial/business license.
> Even put URL "ftp: or http:  will be executed with tsNET by liburl.
> 
> So in case you did not manually disabletsNET for your app, you could use   
> tsNetSetTimeouts to set timeout values.
> By default tsNET does not limit the time a request could take and that might 
> be the reason why the put URL takes forever.
> 
> The Syntax looks like this
> tsNetSetTimeouts pDnsCacheTimeout, pRequestTimeoutMS, pConnectTimeoutMS, 
> pAcceptTimeoutMS, pLowSpeedTime, pLowSpeedLimit
> 
> The second parameter is responsible for the request timeout and has to be set 
> in milliseconds.
> 
> So for example
> 
> tsNetSetTimeouts 30, 33000, 30, 6, 30, 1000
> 
> would set the request timeout to 33 seconds. The other values in my example 
> are the default values.
> 
> After the timeout the script continues and you could check if the put command 
> returned the expected value.
> 
> 
> 
> Regards,
> Matthias
> 
> 
> 
>> Am 22.07.2023 um 02:02 schrieb prothero--- via use-livecode 
>> :
>> 
>> Folks:
>> Sorry for the trivial question, but..
>> I have an app on my iphone that I am updating from a several years old app 
>> the previously worked on an older version of livecode. It needs to access a 
>> mysql database on the internet. It works fine when there is internet 
>> service. 
>> 
>> I test access by downloading a file with a simple text code. If there code 
>> is returned in the message, I continue accessing the database. However, when 
>> there is no internet, the "put URL” command seems to hang forever. I’ve 
>> looked for a way to set the timeout for an internet command, but…. can’t,.
>> 
>> Could you direct me to a simple explanation about how to set a reasonable 
>> internet not connected message?
>> 
>> Thanks,
>> Bill
>> put "https://"&"/test.html; into theURL
>> 
>> put URL theURL into tOutput—if the request times out, the output is not 
>> received.
>> 
>> if tOutput contains "AB7699HEYIMHERE” then   —code received, internet access 
>> is successful
>> 
>> return true
>> 
>> else
>> 
>> return false
>> 
>> end if
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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

2023-07-13 Thread William Prothero via use-livecode
Folks,
A possible strategy is to change the color of a line in a field, when it is 
selected. There would need to be a script that could simply returns the content 
of a line of a specified color, changes the color to "unselected", or whatever 
your need requires. You could have multiple lines selected, and other 
variations as needed.

Just thinking.
Bill

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

> On Jul 13, 2023, at 9:06 AM, Craig Newman via use-livecode 
>  wrote:
> 
> Paul.
> 
> I think that Bob S. is correct. The change in focus is sort of built into the 
> engine, and a field cannot “remember” such a thing.
> 
> A fun kludge would be to create one or more overlays, however you like those 
> to look, and apply them to the field of interest. These overlays can be 
> managed in terms of their rects, depending on the formatted properties of the 
> hilted line or lines. They can be shown and hidden as well.
> 
> I am struggling not to do this just for fun. So you do it, because I bet that 
> the team has bigger fish to fry.
> 
> Craig
> 
>> On Jul 13, 2023, at 11:27 AM, Bob Sneidar via use-livecode 
>>  wrote:
>> 
>> I do not see how that could work. In Windows, buttons can have the focus, 
>> which means a field would always lose it. 
>> 
>> What I do when I need something like this is I save the selection (or 
>> selectedChunk or some such thing) as a property of the field upon exitField. 
>> You could even put that in a frontScript and reference the target. Then in 
>> the field script re-select the text upon enterField. 
>> 
>> Bob S
>> 
>> 
 On Jul 12, 2023, at 3:21 PM, Paul Dupuis via use-livecode 
  wrote:
>>> 
>>> I have a LC9 field object - just a scrolling field (not a list field) with 
>>> a lot of text. The user selects some text and then click a button near the 
>>> field. I want the selection to remain highlighted, but when you click 
>>> outside the field the highlight goes away.
>>> 
>>> Any simple solutions to this. Some property I am just blanking on? In 
>>> another app, I've used the "selectionChanged" message to (1) set the 
>>> background color of the selection to a highlight color and store the start 
>>> and end characters as custom properties of the field. I'm hoping there is 
>>> an easier way I am just missing.
>>> 
>>> OR
>>> 
>>> There should be a feature enhancement: set the preserveHighlight of field X 
>>> to true
>>> That keeps the highlighted selection unless or until you make a new one in 
>>> that field
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Fwd: One last thing

2023-06-18 Thread William Prothero via use-livecode
Folks,
Thanks for your comments. I've described my progress below and will post my 
solution when I can return to this project. 

> Actually, I have had to suspend work on the project and I decided, at least 
> temporarily, to use my desktop version, which works great in the development 
> mode. I use the app to record and analyze water meter readings from my acre, 
> which has 5 meters and we have a huge water bill.
> 
> I am leaving town for 3 weeks, soon and need to get my physical watering 
> situation working and tested before that, so my fruit trees and landscaping 
> doesn't go water hungry. I have to prioritize that, for a bit.
> 
> But, I'll get back to the project when I return and will let folks on the 
> list know what the problem was.
> 
> Thanks for your insights, though. They helped me move ahead, even though I 
> wasn't able to finish right now.
> 
> Best, 
> Bill

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



___
use-livecode mailing list
use-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: Code-Signing Frustration

2023-06-16 Thread William Prothero via use-livecode
Folks,
Matthias' document on code-signing is very detailed. I should have used it from 
the start. 

Please ignore my previous post.
Bill

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

> On Jun 16, 2023, at 8:01 AM, William Prothero 
>  wrote:
> 
> Re testing,
> I'm curious why it's necessary to code-sign an ios app that I am only testing 
> on my personal iphone. The probable answer, I suspect, is that testing on the 
> iphone is meant for the "preliminary to release" phase, not necessarily code 
> debugging?
> 
> I also note, that on the iphone simulator in xcode, that my mysql databases, 
> hosted on a remote server, aren't accessed. Is there a permission or other 
> setting I need to configure?
> 
> Hmm, a thought.. Do I have to actually create and save the app bundle before 
> trying to load it on the iphone? The indication from the test simulator, when 
> the iphone is selected as the destination, is that it is recompiling, then 
> loading, then checking security, and either gives an error message or loads 
> successfully. My procedure has been to just set only ios parameters in the 
> app settings (leaving the MacOS settings off), then clicking the testing 
> button that loads the app directly to my iphone. I get the failure message 
> about security problems at that point. I have been assuming that if I have 
> set up the provisioning profile and bundle id correctly, it will load.
> 
> I also have seen, in the past, that cleaning old provisioning files from 
> various system files helps. I'm also not clear how xcode fits into the 
> process.
> 
> I see that Matthias' app first requires that the "app bundle"(which I assume 
> is the compiled app, created and saved on my computer) be dragged into the 
> app at the start. I would then need to successfully notarize it there. I 
> would expect it would then successfully transfer to the iphone in testing 
> mode? I'm just checking that my assumptions about the process are correct, so 
> please let me know if I'm wrong.
> 
> Sorry for the stupid questions, but my brain is fried after spending 2 days 
> trying to get this app on my iphone. I guess I'll have to do a better job of 
> reading the directions.
> 
> In my fantasy world, there would be, built into livecode, (or xcode), some 
> feedback on the specific issue when code-signing fails. Like: security 
> certificate?, provisioning?,  bundle?. That way I could focus on the specific 
> issue. Hopefully, Matthias' stack will help.
> 
> Best,
> Bill
> 
> William A. Prothero, PhD
> Prof Emeritus, Dept of Earth Science
> University of California, Santa Barbara
> 
>> On Jun 16, 2023, at 6:38 AM, panagiotis m via use-livecode 
>>  wrote:
>> 
>> Hello Bill,
>> 
>> I would recommend Matthias' excellent lesson and utility stack here:
>> 
>> https://lessons.livecode.com/m/4071/l/1653720-code-signing-and-notarizing-your-lc-standalone-for-distribution-outside-the-mac-appstore-with-xcode-13-and-up
>> 
>> This is not only for signing but also for notarizing the Mac app, but if
>> you need to sign the app chances are you'll need to notarize it as well :)
>> 
>> Cheers,
>> Panos
>> --
>> 
>>> On Fri, 16 Jun 2023 at 04:28, William Prothero via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
>>> 
>>> Folks:
>>> I’m having a hassle with code-signing.
>>> I found Trevor’s code-signing app to be helpful in the past.
>>> Is there a version that works with Livecode 9.6.9 with xCode 14.2?
>>> 
>>> I really need it.
>>> Thanks,
>>> 
>>> Bill Prothero
>>> 
>>> 
>>> 
>>> 
>>> William Prothero, Ph.D.
>>> UCSB Professor Emeritus
>>> 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: Code-Signing Frustration

2023-06-16 Thread William Prothero via use-livecode
Re testing,
I'm curious why it's necessary to code-sign an ios app that I am only testing 
on my personal iphone. The probable answer, I suspect, is that testing on the 
iphone is meant for the "preliminary to release" phase, not necessarily code 
debugging?

I also note, that on the iphone simulator in xcode, that my mysql databases, 
hosted on a remote server, aren't accessed. Is there a permission or other 
setting I need to configure?

Hmm, a thought.. Do I have to actually create and save the app bundle before 
trying to load it on the iphone? The indication from the test simulator, when 
the iphone is selected as the destination, is that it is recompiling, then 
loading, then checking security, and either gives an error message or loads 
successfully. My procedure has been to just set only ios parameters in the app 
settings (leaving the MacOS settings off), then clicking the testing button 
that loads the app directly to my iphone. I get the failure message about 
security problems at that point. I have been assuming that if I have set up the 
provisioning profile and bundle id correctly, it will load.

I also have seen, in the past, that cleaning old provisioning files from 
various system files helps. I'm also not clear how xcode fits into the process.

 I see that Matthias' app first requires that the "app bundle"(which I assume 
is the compiled app, created and saved on my computer) be dragged into the app 
at the start. I would then need to successfully notarize it there. I would 
expect it would then successfully transfer to the iphone in testing mode? I'm 
just checking that my assumptions about the process are correct, so please let 
me know if I'm wrong.

Sorry for the stupid questions, but my brain is fried after spending 2 days 
trying to get this app on my iphone. I guess I'll have to do a better job of 
reading the directions.

In my fantasy world, there would be, built into livecode, (or xcode), some 
feedback on the specific issue when code-signing fails. Like: security 
certificate?, provisioning?,  bundle?. That way I could focus on the specific 
issue. Hopefully, Matthias' stack will help.

Best,
Bill

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

> On Jun 16, 2023, at 6:38 AM, panagiotis m via use-livecode 
>  wrote:
> 
> Hello Bill,
> 
> I would recommend Matthias' excellent lesson and utility stack here:
> 
> https://lessons.livecode.com/m/4071/l/1653720-code-signing-and-notarizing-your-lc-standalone-for-distribution-outside-the-mac-appstore-with-xcode-13-and-up
> 
> This is not only for signing but also for notarizing the Mac app, but if
> you need to sign the app chances are you'll need to notarize it as well :)
> 
> Cheers,
> Panos
> --
> 
>> On Fri, 16 Jun 2023 at 04:28, William Prothero via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>> Folks:
>> I’m having a hassle with code-signing.
>> I found Trevor’s code-signing app to be helpful in the past.
>> Is there a version that works with Livecode 9.6.9 with xCode 14.2?
>> 
>> I really need it.
>> Thanks,
>> 
>> Bill Prothero
>> 
>> 
>> 
>> 
>> William Prothero, Ph.D.
>> UCSB Professor Emeritus
>> 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


Code-Signing Frustration

2023-06-15 Thread William Prothero via use-livecode
Folks:
I’m having a hassle with code-signing.
I found Trevor’s code-signing app to be helpful in the past.
Is there a version that works with Livecode 9.6.9 with xCode 14.2?

I really need it.
Thanks,

Bill Prothero




William Prothero, Ph.D.
UCSB Professor Emeritus
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: Android and USB footswitch

2023-05-25 Thread William Prothero via use-livecode
Klaus,
I'm not sure if it is supported on Android, but on an apple ipad, it supports 
pdf display, foot switch (pager) and even has an addon for displaying realbook 
scores in different keys. It's very popular among concert musicians as well. 
Personally, I bought a large screen ipad that displays the scores at full page 
size and supports apple pencil annotating of scores. It's main drawback is the 
documentation for the app was written by the programmer and it's pretty 
unclear. I love the app anyway, though.

Downside is that the ipad is expensive, but sure makes keeping track of music a 
lot easier.

Best,
Bill

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

> On May 25, 2023, at 8:58 AM, Klaus major-k via use-livecode 
>  wrote:
> 
> Hi Bill,
> 
>> Am 25.05.2023 um 17:41 schrieb William Prothero via use-livecode 
>> :
>> 
>> Klaus,
>> I'm a musician/hobbyist too. Check out iGigbook. It does all that stuff and 
>> it's cheap.
> 
> thank you, but what the webpage does not tell is, if it supports footswitches 
> and if one can "easily" 
> import own PDF files from the device itself!?
> 
> And I wanted create this by myself, just for the fun of it. :-)
> So my questions are still unanswered
> 
>> Bill Prothero
>> 
>> William A. Prothero, PhD
>> Prof Emeritus, Dept of Earth Science
>> University of California, Santa Barbara
>> 
>>>> On May 25, 2023, at 8:23 AM, Klaus major-k via use-livecode 
>>>>  wrote:
>>> 
>>> Hi friends,
>>> 
>>> I'm still an active musician (bass guitar) and am currently playing in four 
>>> bands.
>>> 
>>> Nowadays bulky music stands on stage are OUT and tablets are IN!
>>> So I am considering to create a little app for myself to display PDF 
>>> leadsheets 
>>> (= lyrics and chord symbols) on an Andorid tablet, which I still have to 
>>> buy. :-)
>>> 
>>> There are some USB footswitches, and I would like to use one of them to 
>>> browse 
>>> through the (multipage) PDFs (next page, previous page).
>>> 
>>> Anyone knows if these switches will act like an "external keyboard", means 
>>> if they 
>>> will just send any RAWKEY that I could catch in LC? 
>>> Or will I need something created with LCB to do so?
>>> 
>>> Thanks for any hint!
>>> 
>>> P.S.
>>> Since PDFs are not accessible via "mobilepickmedia" are there ANY other 
>>> ways to add 
>>> some PDFs later without having to download them from some URL?
> 
> 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: Android and USB footswitch

2023-05-25 Thread William Prothero via use-livecode
Klaus,
I'm a musician/hobbyist too. Check out iGigbook. It does all that stuff and 
it's cheap.
Bill Prothero

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

> On May 25, 2023, at 8:23 AM, Klaus major-k via use-livecode 
>  wrote:
> 
> Hi friends,
> 
> I'm still an active musician (bass guitar) and am currently playing in four 
> bands.
> 
> Nowadays bulky music stands on stage are OUT and tablets are IN!
> So I am considering to create a little app for myself to display PDF 
> leadsheets 
> (= lyrics and chord symbols) on an Andorid tablet, which I still have to buy. 
> :-)
> 
> There are some USB footswitches, and I would like to use one of them to 
> browse 
> through the (multipage) PDFs (next page, previous page).
> 
> Anyone knows if these switches will act like an "external keyboard", means if 
> they 
> will just send any RAWKEY that I could catch in LC? 
> Or will I need something created with LCB to do so?
> 
> Thanks for any hint!
> 
> P.S.
> Since PDFs are not accessible via "mobilepickmedia" are there ANY other ways 
> to add 
> some PDFs later without having to download them from some URL?
> 
> 
> 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: [[ ANN ]] New Enhancements Bundle v1.0.29 available

2023-02-10 Thread William Prothero via use-livecode
Thanks, folks.
Bill

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

> On Feb 10, 2023, at 5:12 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> It's a separate purchase, originally available as the summer bundle. Later 
> it was announced again, but I don't know if it's still available. Probably it 
> is if you search the web site.
> 
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
>> On February 10, 2023 6:14:31 PM prothero--- via use-livecode 
>>  wrote:
>> 
>> Thanks, Peter,
>> It’s weird, because I have the Professional Version of livecode, but when I 
>> go to my account, choose Thirdparty, I don’t see Enhancements, I only see 
>> Animation Engine and MobGUI.
>> 
>> What’s up?
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-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 ]] New Enhancements Bundle v1.0.29 available

2023-02-10 Thread William Prothero via use-livecode
Folks:
I’ve been out of it for awhile on a demanding Wordpress project. 
Where do I get the New Enhancements Bundle v1.0.29? I don’t seem to be able to 
find a link for it on the web site.
Is this something I need to pay for or does my LiveCode Professional license 
include it?

Best,
Bill Prothero


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


Re: A few issues with web apps

2022-08-21 Thread William Prothero via use-livecode
Jacqueline,
Thanks for the great status report on Livecode web deployment. From my 
perspective, it's finally starting to look promising. The first thing I noticed 
was the speed of bringing up the first page. I'm looking forward to working 
with the web deployment when it gets far enough in its development.

Best,
Bill

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

> On Aug 20, 2022, at 3:56 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> On 8/18/22 2:52 PM, I wrote:
>> All in all, everything else works, which is really quite incredible.
> 
> When I accidentally started replying to Andreas privately instead of to the 
> list (I should pay more attention, geez) he suggested others may want to see 
> my test app. Thanks to Andreas for being so polite about it.
> 
> So here you go:
> 
> 
> 
> On desktop browsers, everything works great. On mobile it works pretty well 
> except for text entry and a minor display issue.
> 
> On mobile it isn't possible to drag-select text in editable fields. Typing is 
> iffy as well, and depending on the (Android) keyboard you use, the cursor can 
> be misaligned and/or key presses don't always insert entries. I didn't test 
> on iOS.
> 
> I've added a simple behavior to all the scrolling fields and removed the ugly 
> field scrollbar. It tracks the mouse movement and scrolls the field 
> accordingly. That works on desktop but doesn't work on mobile. This matches 
> the behavior of anything draggable: the slider widget button, the buttons in 
> the Population example that use "grab", and the LC field scroller thumb.
> 
> On both desktop and mobile, text styling isn't working. Some of the text in 
> the "What is this?" substack should be bold but displays as plain. On the 
> other hand, the substack does display correctly layered over the mainstack. I 
> had wondered if it would work, and it does.
> 
> I know this will all get fixed so I'm not worried. This is just an example of 
> where we're at right now for anyone curious. Overall, web deployment is very 
> impressive. I was surprised at how good it is even in an unfinished state.
> 
> BTW, the ideas behind this stack are not original. I first re-created them in 
> MetaCard based on online discussions 20 years ago, and when I opened it 
> recently in LC 10 the stack opened without error. Kudos to Mark Waddingham's 
> attention to backward compatibility.
> 
> -- 
> 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: [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: 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 
 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”) 

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 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: 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: 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: 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: Help! I'm stuck

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

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

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

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

Best,
Bill

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

William Prothero
waproth...@gmail.com



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


Re: LC, Mac Mail & Rules

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

Bill Prothero

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

William Prothero
waproth...@gmail.com




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


Re: Another question about multiple stack projects

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

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

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

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

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

Best.
Bill


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

William Prothero
waproth...@gmail.com



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


Another question about multiple stack projects

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

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

Best,
Bill

William Prothero
waproth...@gmail.com




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


Re: How do I interpret this Build Error dialog?

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

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

William Prothero
waproth...@gmail.com




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


Re: How do I interpret this Build Error dialog?

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

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

William Prothero
waproth...@gmail.com




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


How do I interpret this Build Error dialog?

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

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

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

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


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


Any wisdom on how to proceed would be much appreciated.

Thanks,
Bill

William Prothero
waproth...@gmail.com



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


Re: LC Roadmap

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


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

William Prothero
waproth...@gmail.com




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


Re: LC Roadmap

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

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

William Prothero
waproth...@gmail.com




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


Re: LC Roadmap

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

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

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

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

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

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

Be well,
Bill Prothero



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

William Prothero
waproth...@gmail.com



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


Re: LC Community Ask Password

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

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

   answer it

end mouseUp


Bill

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

William A. Prothero
https://earthlearningsolutions.org

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


Re: Considering work with livecode server

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

Best,
Bill

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

William A. Prothero
https://earthlearningsolutions.org


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


Re: Considering work with livecode server

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

Best,
Bill

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

William A. Prothero
https://earthlearningsolutions.org

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


Re: Considering work with livecode server

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

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

Thanks again,
Bill

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

William A. Prothero
https://earthlearningsolutions.org


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


Re: Considering work with livecode server

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

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

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

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

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

Bill

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


Re: LiveCode Advanced Application Architecture eBook price reduced

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

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

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

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

Thanks for reading some of my ramblings.

Good luck, Andre

William Prothero
https://earthlearningsolutions.org



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

Re: Design Question

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

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

William A. Prothero
https://earthlearningsolutions.org

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


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


Re: Design Question

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

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

William A. Prothero
https://earthlearningsolutions.org

> On Nov 17, 2020, at 12:45 PM, Jim Lambert via use-livecode 
>  wrote:
> 
> 
>> The application's core is access to Earth data (that scientists used to 
>> develop the theory of plate tectonics) and capturing and annotating plots 
>> that can be incorporated into student writing.
> 
> If the 'student writing' is created in some other program then wouldn't it be 
> sufficient to allow a student to copy text, data and plots from your program 
> and paste them into whatever writing program the student uses?
> 
> If the 'student writing' is created in your program could their work be 
> exported as PDF that is then imported into the 'learning management system" 
> and/or shared with the teacher?
> 
> Jim Lambert
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: Design Question

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

William A. Prothero
https://earthlearningsolutions.org

> On Nov 17, 2020, at 10:10 AM, Richard Gaskin via use-livecode 
>  wrote:
> 
> William Prothero wrote:
> 
> > It seems the effort to make this app work with learning management
> > systems would be huge, something I’m definitely not up for.
> 
> It may not be.  I've made standards-compliant courseware in the past (a while 
> ago; the data format was XML ), and it wasn't as bad as I'd thought.  With 
> so much work on the modern standards I'd imagine they're far better 
> documented and based on more common conventions than they were in yesteryear.
> 
> But maybe the key question is: are your customers asking for LMS 
> interoperability specifically?
> 
> In some segments it can make the difference between being a contender and not 
> being considered at all.
> 
> But I've seen many other segments that seem to have abandoned hope of a 
> standards-driven world of interoperable courseware, quite happy to kludge 
> together whatever they need to eventually arrive at a means of tracking 
> assessment.
> 
> If no one's asking you for LMS compatibility, there would seem to need to 
> bother.
> 
> If PDF suffices, it's certainly easy to do in LC.
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> 
> ambassa...@fourthworld.comhttp://www.FourthWorld.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Design Question

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

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

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

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

Thanks,
Bill

William A. Prothero
https://earthlearningsolutions.org



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


Re: LC Server- Optimum setup

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

William A. Prothero
https://earthlearningsolutions.org

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


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


Re: Textsize of label of copied btn changes

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

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

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

Best,
Bill

William A. Prothero
https://earthlearningsolutions.org

> On Oct 13, 2020, at 10:59 AM, Richard Gaskin via use-livecode 
>  wrote:
> 
> William Prothero wrote:
> 
> > I am copying a button from one card to another. The font size of the
> > label changes from that of the original to a large font and I can’t
> > figure out how to change the textsize of the label. I keep getting an
> > error.
> 
> set the textSize of btn "SoAndSo" to 14
> 
> The curious part is that it changed when you pasted it.  If you have a 
> textSize specified for the card it came from but not the card it was pasted 
> in, that would govern all controls that do not have their own testSize 
> property explicitly set.
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> 
> ambassa...@fourthworld.comhttp://www.FourthWorld.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: SSL cPanel mySql setup

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


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

Best,
Bill

William A. Prothero
https://earthlearningsolutions.org

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

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


Re: Textsize of label of copied btn changes

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

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

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

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

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

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

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

Best,
Bill

William A. Prothero
https://earthlearningsolutions.org

> On Oct 13, 2020, at 10:59 AM, Richard Gaskin via use-livecode 
>  wrote:
> 
> William Prothero wrote:
> 
> > I am copying a button from one card to another. The font size of the
> > label changes from that of the original to a large font and I can’t
> > figure out how to change the textsize of the label. I keep getting an
> > error.
> 
> set the textSize of btn "SoAndSo" to 14
> 
> The curious part is that it changed when you pasted it.  If you have a 
> textSize specified for the card it came from but not the card it was pasted 
> in, that would govern all controls that do not have their own testSize 
> property explicitly set.
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> 
> ambassa...@fourthworld.comhttp://www.FourthWorld.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


Textsize of label of copied btn changes

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

I’m probably missing something, but …..

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

Tnx,
Bill

William A. Prothero
https://earthlearningsolutions.org


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


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

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

Bill

William A. Prothero
https://earthlearningsolutions.org

> On Oct 11, 2020, at 2:25 AM, matthias rebbe via use-livecode 
>  wrote:
> 
> Hi,
> 
> a very long time ago Andre Garzia posted some useful information about how to 
> use (Livecode) server processes effectively. 
> Unfortunately the link to that information 
> 
> "Spreading the load or why wise developers use asynchronous workflows"
> http://andregarzia.com/async.irev
> 
> is not working anymore.
> 
> Did someone archive that information and is willing to share it? I really 
> would appreciate that.
> 
> 
> Regards,
> Matthias
> 
> 
> 
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


Re: Basic question about behaviors

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

William A. Prothero
https://earthlearningsolutions.org

> On Aug 25, 2020, at 8:03 PM, Paul Hibbert via use-livecode 
>  wrote:
> 
> Bill, try this in the behaviour button script:
> 
> on mouseUp
>  put the long name of this me into theName  —theName will contain the long 
> name of the behaviour button.
> end mouseUp
> 
> put this me into theName - would put the value contained in the text property 
> of the behaviour button into theName. In standard, default and rectangle 
> buttons we don’t normally use the text property, but there’s nothing stopping 
> you from using it if you wish, you just need to populate it first. :)
> 
> Paul
> 
>> On 25Aug, 2020, at 15:48, William Prothero via use-livecode 
>> mailto:use-livecode@lists.runrev.com>> wrote:
>> 
>> on mouseUp
>>  put  this me into theName  —theName is blank.
>> end mouseUP
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: Basic question about behaviors

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

However, it gave me a blank. 

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

Thanks,
Bill

William A. Prothero
https://earthlearningsolutions.org

> On Aug 25, 2020, at 9:40 AM, Sean Cole (Pi) via use-livecode 
>  wrote:
> 
> I LOVE 'this me'. This extraordinary use of coding language is truly where
> LC  shines and why I love it so much, - sometimes. [sigh]
> 
> Sean
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: Playing movies in LC_ Docs??

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

William A. Prothero
https://earthlearningsolutions.org

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


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


Playing movies in LC_ Docs??

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

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

Best,
Bill

William A. Prothero
https://earthlearningsolutions.org


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


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

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

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

Best,
Bill

William Prothero
http://earthlearningsolutions.org

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

Re: Live code server with Debian 8 Jesse

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

Best,
Bill

William A. Prothero
https://earthlearningsolutions.org

> On Jul 14, 2020, at 9:03 AM, Heriberto Torrado via use-livecode 
>  wrote:
> 
> Thanks Richard, 
> 
> I'll do it and I'll create an English version of the article. 
> 
> Best, 
> 
> Hery 
> 
> El 13-07-2020 20:18, Richard Gaskin via use-livecode escribió:
> 
>> Good tutorial, Heriberto:
>> 
>>> I use Livecode server on several Linux machines:
>>> 
>>> Centos 7 / 8 and Ubuntu 14/16/18.
>>> 
>>> I didn't need 32bits libraries.
>>> 
>>> I created a brief installation tuto in my blog:
>>> 
>>> https://www.hermanotemblon.com/instalacion-de-livecode-server-en-ubuntu/
>>> 
>>> It is in Spanish, but you could use Google translator.
>> 
>> If you put those individual bash statements together into an executable 
>> script file you'd have a pretty handy installer.
>> 
>> --
>> Richard Gaskin
>> Fourth World Systems
>> Software Design and Development for the Desktop, Mobile, and the Web
>> 
>> ambassa...@fourthworld.comhttp://www.FourthWorld.com
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: [off-topic-ish] do you prefer LC-related content as books or video courses?

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

Best,
Bill

William A. Prothero
https://earthlearningsolutions.org

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

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


Re: What the heck? Writing and reading ios files??

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

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

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

Thanks for responding,
Bill


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


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

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

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

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


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

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

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

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

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

William A. Prothero
https://earthlearningsolutions.org

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

  1   2   3   4   >