Re: Ordering text

2020-03-29 Thread Rick Harrison via use-livecode
Hi Terry, Try having your database retrieval perform the sort and not LiveCode. Use the SQLite: ORDER BY clause. See if that gives you a faster result. Rick > On Mar 29, 2020, at 7:06 AM, Terence Heaford via use-livecode > wrote: > > I have approx. 7000 lines of tab delimited data. > > Whe

Re: LiveCode useless seems to be Junk

2020-04-13 Thread Rick Harrison via use-livecode
Hi Richmond, If enough of your useful stuff ends up in your junk email mailbox folder well then.. welcome to your new inbox! LOL Seriously I hope you find a fix, and when you do let us all know. I don’t use Thunderbird so I can’t really speak more to the matter. Good luck! Rick > On Apr 12, 2

Re: Problem simulating a location

2020-04-14 Thread Rick Harrison via use-livecode
Hi Graham, You should really try it on the phone before knocking yourself out about why it doesn’t work on the simulator. I have found that some things involving sensors simply don’t work on the simulator. Try that, if it doesn’t work on the phone let us know. Good luck! Rick > On Apr 14, 202

Re: Simple 3D animation question

2020-04-18 Thread Rick Harrison via use-livecode
Hi David, How many wires in your wire animation? How fast and smooth does your rotation need to be? Is there going to be an image or writing on the side that shows up? Hmm, an icosahedron has 20 sides, so it’s like 20 sided dice! I just saw a web version that didn’t bother to rotate the image

Re: Issues with Mobile Native controls

2020-04-20 Thread Rick Harrison via use-livecode
Are you referring to the switch button? If so, yes it is in Indy. Rick > On Apr 20, 2020, at 5:48 PM, J. Landman Gay via use-livecode > wrote: > > I've used LC's built-in switch widget without any problems. I don't know if > that's included in Indy though. ___

Wildcard? replaceText, offset?

2020-04-26 Thread Rick Harrison via use-livecode
I have a very long string. In the middle-end part of the string I have “(x)” where x represents some integer. it could be (4) or (10) or (5) etc. I just want to replace the number inside the () with whatever other number I need to. I have been trying to find an easy way to do this. Ideally a

Re: Wildcard? replaceText, offset?

2020-04-26 Thread Rick Harrison via use-livecode
Thanks for the suggestions! I was hoping that perhaps there was a very simple one liner or character that would do it for me. I think I have a solution now. Rick > On Apr 26, 2020, at 3:15 PM, dunbarx--- via use-livecode > wrote: > > on mouseUpput offset("(",yourString) into startCharput of

Re: Best relational database for IOS / Android

2020-04-29 Thread Rick Harrison via use-livecode
Hi Skip, I have a preference for PostgreSQL. https://www.postgresql.org Free - MIT-License, Open-source, and it works really well with LC. Good luck! Rick > On Apr 29, 2020, at 9:54 AM, Skip Kimpel via use-livecode > wrote: > > Good morning, > > In your o

Re: Best relational database for IOS / Android

2020-04-29 Thread Rick Harrison via use-livecode
Nice! > On Apr 29, 2020, at 12:15 PM, doc hawk via use-livecode > wrote: > > I recoded for Postgres from mysql a few years ago simply because, at the time > at least, livecode can send a compound transaction to Postgres, and only > single transactions to mysql. __

Re: OT: Need some offlist help with PHP-SQL

2020-05-05 Thread Rick Harrison via use-livecode
Hi Tiemo, If I were you, I would not use PHP just for security reasons alone. My servers are just pounded all the time with hackers trying to find PHP exploits. They even try to install PHP on my server so they can start hacking away. If you check your server’s log files I am sure you will find

Re: Small and strange problem

2020-05-11 Thread Rick Harrison via use-livecode
Hi Andy, Yes, tMins has to have a value or the statement makes no sense because LC has no context for what you are trying to do. LC doesn’t know if tMins is a string or something else. Rick > On May 11, 2020, at 4:24 AM, AndyP via use-livecode > wrote: > > I seem to have my posts dropped a

Re: Sad truth about iOS apps

2020-05-16 Thread Rick Harrison via use-livecode
For those who upgrade to Catalina, remember you will lose any 32 bit apps as Apple has forced everyone to move to 64 bit apps. Good luck! Rick > On May 16, 2020, at 5:42 AM, Erik Beugelaar via use-livecode > wrote: > > Update: You can direclty upgrade from High Sierra to Catalina using the ma

Re: LiveCode Server Under MAMP

2020-05-27 Thread Rick Harrison via use-livecode
Did you get MAMP to work with SSL? If you do, let me know as then you might catch my interest. Thanks, Rick > On May 27, 2020, at 11:44 AM, Håkan Liljegren via use-livecode > wrote: > > Ouch, > > Hit send to early, new try: > > Hi, > > I was trying to get LiveCode server up and running un

Re: ADA Compliency

2020-05-29 Thread Rick Harrison via use-livecode
Hi Curry, I have a couple of questions for you. Is a trackpad or a trackball any better of an experience for you? Have you tried using the mac OS voice commands or controls? Dragon Dictate used to have voice commands and I seem to recall you could make your own too. I don’t recall if that was

Re: ADA Compliency

2020-05-29 Thread Rick Harrison via use-livecode
Hi Curry, Sorry I tried to answer, or to be helpful, or to ask any questions. I had no intentions of getting your blood pressure up. I once made a talking calculator to help other people, and all I got was pushback from others with bad attitudes. Then people wonder why no one wants to help. I

Re: HTML Colour Groups

2020-05-31 Thread Rick Harrison via use-livecode
Hi Terry, Does it work if you use the Hex Code instead of the name? Are you using the LC Server for this? If so, what version of LC server are you running? Is the code embedded as LC code or is it HTML or CSS? Have you tested it in more than one Web-browser? Sometimes things don’t work in one b

Re: WebSites made using Livecode.

2020-07-05 Thread Rick Harrison via use-livecode
Hi Hery, You can set up your Livecode Server to work with your database directly on the same computer. You do not need PHP at all for anything. In fact if you look at your server log files you will see that China hacker bots are heavily searching for PHP and when they can’t find it they even try

Downloading LiveCode Slow...

2020-07-07 Thread Rick Harrison via use-livecode
I was wondering if anyone has tried to download any version of LiveCode from the website recently. I just tried today and it is glacially slow. I’m also running into a problem where version 9.5.1 which used to work fine is now complaining that the license isn’t any good anymore. I tried the manu

Re: Web help needed

2020-07-12 Thread Rick Harrison via use-livecode
Hi Mike, I think we are lacking some key information in order to solve your problem. Is your LC Server on a Mac? If so, what is preventing you from just dragging and dropping a folder of your files across the network from your desktop Mac to your LC (Mac?) Server computer? Once your files are o

Re: Has anyone created a specialised mobile keyboard?

2020-08-04 Thread Rick Harrison via use-livecode
Hi Graham, I suspect that you will have to roll your own keyboard. You could take little screenshots of the native keys that you want, and then move them to where you want them to appear in your keyboard. Then just detect when someone has hit each of the keys and record the order. Easy? Good lu

Pass Javascript Variable to LiveCode?

2020-09-10 Thread Rick Harrison via use-livecode
I have a Javascript variable that I need to get from one web format file into another, over an LC server. I was looking at Javascript Sessions variables, but then I wondered if I could somehow put the Javascript variable into a LiveCode variable and work with it that way? I’m still learning Jav

Re: The iOS "Files" folder

2020-10-12 Thread Rick Harrison via use-livecode
Hi Graham, You can write to your own app’s preference’s folder. Due to sandboxing Apple doesn’t want you writing stuff elsewhere. You can sometimes write to special folders, I don’t know the list off of the top of my head however. Keep us informed of your progress. Rick > On Oct 12, 2020, at 1

Detect if video was completed?

2020-10-18 Thread Rick Harrison via use-livecode
I have an HTML5/Javascript video player that plays a video and displays the video duration and current play time, using LiveCode Server. I want to know when the current time equals the duration time so I can then invoke a LiveCode process that makes a note that the video was fully played so I

Pass Javascript Session Cookie to LiveCode Variable?

2020-11-04 Thread Rick Harrison via use-livecode
Greetings LiveCoders, I have an LC server format file that uses a Javascript video player. The video player has a nice time progress bar that shows how far the user has played the video. All of that works just fine. What I would like to do is check what that time completion variable is when the u

Re: Pass Javascript Session Cookie to LiveCode Variable?

2020-11-04 Thread Rick Harrison via use-livecode
Hi Matthias, I just tried your code and it didn’t go across from one format file to the next. I got: username = “username” What’s wrong? If you can give me your full code for both mini format files I will try it and we can see the results exactly. Thanks for helping! Rick > On Nov 4, 2020,

Re: Pass Javascript Session Cookie to LiveCode Variable?

2020-11-04 Thread Rick Harrison via use-livecode
Hi Matthias, Well, that works fine! I’ll have to study what I did differently to figure why my method didn’t work. Will this work with Session variables too? Thanks, Rick > On Nov 4, 2020, at 4:35 PM, matthias rebbe via use-livecode > wrote: > > Hi Rick, > > there are two files: > > writ

Re: Pass Javascript Session Cookie to LiveCode Variable?

2020-11-04 Thread Rick Harrison via use-livecode
Hi Matthias, Session Variables are like cookies except they auto-expire at the end of a browser session like when you close a tab or window. In Javascript one would set a session variable this way: