Re: Translate metadata to field content

2020-02-19 Thread Mark Waddingham via use-livecode
On 2020-02-19 21:40, Niggemann, Bernd via use-livecode wrote: here is Richard's script which I changed to get the number of words of the line with the tagged word, the number of lines are taken from the array. The tagged word is then: word tNumWords of line (current array key) -

Re: Translate metadata to field content

2020-02-19 Thread J. Landman Gay via use-livecode
On 2/19/20 3:40 PM, Niggemann, Bernd via use-livecode wrote: However the loading time of styledText a little more than 300 milliseconds (no difference between styledText and formattedStyledText, but htmlText loading of this heavily formatted text is 800 ms). If you can manage preloading of the

Re: User Guide missing section on mobile UI?

2020-02-19 Thread Mark Talluto via use-livecode
> On Feb 19, 2020, at 12:33 PM, Richard Gaskin via use-livecode > wrote: > > I was looking through the User Guide this morning for a section explaining > the differences between desktop and mobile UIs and how to make mobile > controls that don't look like Motif - nothing. > > Please tell me

Re: LC Server - HTTP response code 500: permission denied error

2020-02-19 Thread Martin Koob via use-livecode
Hi Ralf I Upgraded the livecode-server to 9.5.1 linux 64 bit I then I tried an .lc file with no calls to RevIgniter but with a section of livecode script in the page /home/myapp/sites/api.myapp.com/mylctest.lc hello world" put "LiveCode Server version:" &&

Re: Progressive Web App (PWA)

2020-02-19 Thread Simon Smith via use-livecode
Progressive web apps are just websites, with a manifest file (JSON based text file that contains additional settings, like links to the "apps" homepage icon). Any website can be made into a PWA regardless of the technology used to create it. PWA can make use of Javascript-based service workers tha

Re: Translate metadata to field content

2020-02-19 Thread Niggemann, Bernd via use-livecode
>J. Landman Gay wrote: >I haven't converted Bernd's script to use formattedStyledText yet but that >looks like the way to go. There is no difference to using styledText for this use case. The number of lines and the number of words are the same between the two. You mentioned that you want t

RE: Translate metadata to field content

2020-02-19 Thread Ralph DiMola via use-livecode
Wow! Being able to easily discern the number of lines in a wrapped field. This question has been asked before "Line numbers for soft-wrapped styled text?" but I don't remember formattedStyledText being one of the solutions. Nice... Bernd, Thanks for the explanation Ralph DiMola IT Director Evergr

Re: Translate metadata to field content

2020-02-19 Thread J. Landman Gay via use-livecode
On 2/18/20 1:41 PM, Mark Waddingham via use-livecode wrote: 2. FormattedStyledText treats some punctuation as a new run, even if it has not changed text style. For example, semi-colons are independent runs. Very odd. Hmmm - there's no code to do that explicitly (a semi-colon is no different f

Re: User Guide missing section on mobile UI?

2020-02-19 Thread Klaus major-k via use-livecode
Hi Richard, > Am 19.02.2020 um 21:33 schrieb Richard Gaskin via use-livecode > : > > I was looking through the User Guide this morning for a section explaining > the differences between desktop and mobile UIs and how to make mobile > controls that don't look like Motif - nothing. > > Please t

Re: Translate metadata to field content

2020-02-19 Thread J. Landman Gay via use-livecode
On 2/19/20 2:58 AM, Richard Gaskin via use-livecode wrote: In Peter's view, he would be surprised to find any case where parsing htmlText would be faster than working with the styledText array. This seems to pan out. Bernd sent me a nice test stack that uses styledText and does what Mark W. su

User Guide missing section on mobile UI?

2020-02-19 Thread Richard Gaskin via use-livecode
I was looking through the User Guide this morning for a section explaining the differences between desktop and mobile UIs and how to make mobile controls that don't look like Motif - nothing. Please tell me I just missed it. -- Richard Gaskin Fourth World Systems Software Design and Develop

Re: LC Server - HTTP response code 500: permission denied error

2020-02-19 Thread Martin Koob via use-livecode
Hi Ralf Ok thanks for the confirmation on that. I will let you know how it goes. Looking forward to a shiny new livecode-server and RevIgniter. Martin Sent from my iPhone > On Feb 19, 2020, at 11:36 AM, Ralf Bitter via use-livecode > wrote: > > Hi Martin, > > I agree with your proposed a

Re: LC Server - HTTP response code 500: permission denied error

2020-02-19 Thread Martin Koob via use-livecode
Hi Ralph I don’t think I have Script only stacks so hoping I will be OK. That Hanks for the workaround. Martin Sent from my iPhone > On Feb 19, 2020, at 10:14 AM, Ralph DiMola via use-livecode > wrote: > > I'm been using 64 bit 9.5.1 server since the on-rev 64 bit upgrade. The only > pr

RE: Translate metadata to field content

2020-02-19 Thread Niggemann, Bernd via use-livecode
My previous post was accidentally marking a part of my response as quoting Ralph's question. This is my response to Ralph's question about the difference between styledText versus formattedStyledText >From what I tested it behaves the same as formattedText. I.e. if you have wrapped text in

Re: Mobile "shake" ??

2020-02-19 Thread Klaus major-k via use-livecode
Hi Swami, > Am 19.02.2020 um 18:43 schrieb Sannyasin Brahmanathaswami via use-livecode > : > > is there any way to respond to "shaking" on mobile? yes. :-) > I found nothing in a dictionary search for "shake" and looked through > (quickly) all mobile commands, perhaps it a buried parameter?

Mobile "shake" ??

2020-02-19 Thread Sannyasin Brahmanathaswami via use-livecode
is there any way to respond to "shaking" on mobile? I found nothing in a dictionary search for "shake" and looked through (quickly) all mobile commands, perhaps it a buried parameter? BR ___ use-livecode mailing list use-livecode@lists.runrev.com Pleas

RE: Translate metadata to field content

2020-02-19 Thread Niggemann, Bernd via use-livecode
>Ralph DiMola wrote: >What is the difference between styledText and formattedStyledText? A quick test >yielded identical results. StyledText is in the dictionary. >From what I tested it behaves the same as formattedText. I.e. if you have >wrapped text in a field it will keep the wraps when tra

Re: OT: Apple Alumni Reunion?

2020-02-19 Thread Mark Wieder via use-livecode
On 2/19/20 6:58 AM, Colin Holgate via use-livecode wrote: Larry Tesler is one of the people in the photo on the event info page: https://applereunion2020.com/event Alas, we won’t be seeing him: https://www.cultofmac.com/685669/larry-tesler-the-apple-employee-who-invented-cut-copy-paste-dies-at

RE: LC Server - HTTP response code 500: permission denied error

2020-02-19 Thread Ralph DiMola via use-livecode
I'm been using 64 bit 9.5.1 server since the on-rev 64 bit upgrade. The only problem I had was one script-only library stack no longer worked. I changed it a standard issue stack and everything worked again. This was the only script-only stack I had. I submitted qcc report to Panos. QCC 22514

Re: LC Server - HTTP response code 500: permission denied error

2020-02-19 Thread Ralf Bitter via use-livecode
Hi Martin, I agree with your proposed approach. But keep in mind that you can upgrade revIgniter directly to the latest version as long as you go the upgrade route as described in the user guide, see Upgrading from 1.10.3 to 2.0.0. The description applies to your case even if you upgrade from vers

RE: Translate metadata to field content

2020-02-19 Thread Ralph DiMola via use-livecode
What is the difference between styledText and formattedStyledText? A quick test yielded identical results. StyledText is in the dictionary. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun..

Re: LC Server - HTTP response code 500: permission denied error

2020-02-19 Thread Martin Koob via use-livecode
I have RevIgniter 1.7.1 running now and I do want to upgrade to 2.x. as well as upgrade livecode server to the most recent version. However, I am trying to figure out the smoothest upgrade path. Would the following process work? - first upgrade to livecode-server 9.5.1 linux 64 bit - then test m

RE: LC Server - HTTP response code 500: permission denied error

2020-02-19 Thread Ralph DiMola via use-livecode
I'm been using 64 bit 9.5.1 server since the on-rev 64 bit upgrade. The only problem I had was one script-only library stack no longer worked. I made it a standard issue stack and it worked again. This was the only script-only stack I had. I submitted qcc report to Panos. https://quality.liveco

Re: OT: Apple Alumni Reunion?

2020-02-19 Thread Colin Holgate via use-livecode
Larry Tesler is one of the people in the photo on the event info page: https://applereunion2020.com/event Alas, we won’t be seeing him: https://www.cultofmac.com/685669/larry-tesler-the-apple-employee-who-invented-cut-copy-paste-dies-at-74 ___ use-live

Re: LC Server - HTTP response code 500: permission denied error

2020-02-19 Thread Ralf Bitter via use-livecode
If your server environment is 64bit and you upgrade your revIgniter installation to 2.x then from my point of view there is no reason not to use the latest stable LC server version. In any case the revIgniter version 2.x requires LC server 9.0 or higher. Ralf > On 19. Feb 2020, at 15:09, Martin

Re: LC Server - HTTP response code 500: permission denied error

2020-02-19 Thread Martin Koob via use-livecode
Hi again Ralf Looking online for that message "not a dynamic executable” most of the comments talk about missing 32 bit Linux libraries and I checked downloads.livecode.com and see that LiveCode 6.1.0 is 32 bit. So I guess my options are get the host to add the 32 bit Linux libraries or repla

Re: LC Server - HTTP response code 500: permission denied error

2020-02-19 Thread Martin Koob via use-livecode
Hi Ralf The response when I run that is. not a dynamic executable what does that mean? BTW the livecode-server version is 6.1.0 but that is the same as is on the existing host. I didn’t want to upgrade the server till I have the api working. Regards, Martin Koob > On Feb 19,

Re: Progressive Web App (PWA)

2020-02-19 Thread Paul Dupuis via use-livecode
The answer is EITHER: Use LiveCode SERVER to generate the HTML5 and CCS for the app and layer your own Javascript into it [Much more work, but you can deliver exactly the front end you want - you have to keep track fo what HTML, CSS, and Javascript you use is standards-compliant) OR Use LievC

Re: LC Server - HTTP response code 500: permission denied error

2020-02-19 Thread Ralf Bitter via use-livecode
Martin, you mentioned that you migrated an application to a new server. Did you double-check the path to your executable in your server configuration? Are you sure that there is no library dependency problem on this server? What is the output if you run: ldd path/to/your/livecode-server from a te

Re: LC 9.6.0 DP2

2020-02-19 Thread Richmond via use-livecode
I'm not disappointed in the slightest. 8-) But the fact that it just popped up now was odd. Richmond. On 19.02.20 15:08, matthias rebbe via use-livecode wrote: I am sorry to disappoint you, but that update was released in 2012 https://support.apple.com/kb/DL1585?viewlocale=en_US&locale=de_DE

Re: LC 9.6.0 DP2

2020-02-19 Thread matthias rebbe via use-livecode
I am sorry to disappoint you, but that update was released in 2012 https://support.apple.com/kb/DL1585?viewlocale=en_US&locale=de_DE I have no idea why Macupdate blogs about it now. - Matthias Rebbe Life Is Too Short For Boring Code > Am 19.02.2020 um 13:56 schrieb Richmond via use-livecode >

Re: encrypting script-only stacks

2020-02-19 Thread Kaveh Bazargan via use-livecode
You are absolutely right Alex. Jacqueline had given me the correct handler and I made the mistake, and Panos corrected me. I have now corrected it but still same result. See forum post. https://forums.livecode.com/viewtopic.php?f=9&t=33678&p=188122#p188122 -- Kaveh Bazargan PhD Director River Va

Re: LC 9.6.0 DP2

2020-02-19 Thread Richmond via use-livecode
Here's a "little something" for all the "We have to endlessly update at all costs" crowd: https://www.macupdate.com/app/mac/62001/os-x-lion-server-update Who realised that Apple are STILL supporting MacOS 10.7.5 in some way? Richmond. On 19.02.20 9:12, Richmond wrote: I would not expect a sof

Re: Translate metadata to field content

2020-02-19 Thread Richard Gaskin via use-livecode
J. Landman Gay wrote: > I was surprised to see two things: > > 1. FormattedStyledText appears nowhere in the dictionary. I didn't > know it existed. Me neither. Weird, as it's very powerful, the key to solving problems just like this one, and a great many besides. I just flagged the omission

Re: Does any one know what Player "intervals" actually are?

2020-02-19 Thread Mark Waddingham via use-livecode
On 2020-02-18 21:40, Paul Dupuis via use-livecode wrote: Lastly, my inquiry was also looking to actually understand what "intervals" really are, mostly out of curiosity and interest.  I am still curious as to what exactly "intervals" are. LC support just says that they get them from the media fra