Nested loops

2022-05-17 Thread jbv via use-livecode
Hi list, What is the best and most efficient way to write the following javascript loops in LC ? for (let i = 0, j = myArray.length - 1; i < myArray.length; j = i++) { } This goes beyond simple nested loops. So far, because of lack of time, I have pre-calculated the successive values of i and

Re: LC subscription and special characters

2022-05-12 Thread jbv via use-livecode
Thank you all for your answers. I am going to contact tech support to see if there is any solution to be expected in the near future. FYI, so far we are using a workaround : https://www.azerty.global/ jbv ___ use-livecode mailing list

Re: LC subscription and special characters

2022-05-10 Thread jbv via use-livecode
Thank you for your reply. Obviously, it was possible in earlier versions of LC. So, could someone be kind enough to make a quick test with the most recent versions of LC, by typing text inside a field, if special characters can be used, like alt+144 for É, and possibly on azerty and qwerty

LC subscription and special characters

2022-05-10 Thread jbv via use-livecode
Hi list, I have been asked by a client to make some upgrades to a standalone app that I built with LC 6.5 about 12 years ago. The app is a front end for managing a remote DB on a server. The DB content is roughly 90% in french, and the rest in english and german. It has about 16 entries

Re: Livecode and interactive video

2022-01-21 Thread jbv via use-livecode
Le 2022-01-21 14:56, Jim Lambert via use-livecode a écrit : A quarter of a century ago, we called this Interactive Multimedia. It was usually delivered on a CD-ROM. Ask your parents! ;) he he he... I actually made quite a few myself 30 years ago... I"m currently browsing through various

Re: Livecode and interactive video

2022-01-21 Thread jbv via use-livecode
to your interactive video on YouTube just below a video you have posted. You could say something like: To try the interactive version of this video, please click on the link below. Good Luck! Rick On Jan 20, 2022, at 6:49 AM, jbv via use-livecode wrote: Hi list, This might be a dumb question

Re: Livecode and interactive video

2022-01-20 Thread jbv via use-livecode
Le 2022-01-20 13:39, Tom Glod via use-livecode a écrit : Hi there . can you give an example of an interactive video on youtube? so I can see what you mean? I've never seen one. Please check this video : it explains the basics of interactive videos, although I don't know if it's accepted

Livecode and interactive video

2022-01-20 Thread jbv via use-livecode
Hi list, This might be a dumb question but anyway... Imagine a simple quiz made of a succession of static slides, each slide featuring a question and 4 possible answers. When the user clicks 1 answer, he gets notified if he's right or wrong, then a comment about the right answer is displayed,

Re: How to detect when the user moves a stack

2021-12-15 Thread jbv via use-livecode
15.12.2021 um 11:02 schrieb jbv via use-livecode : Hi list, How can I detect when the user moves a stack around the screen by clicking on the top bar while leaving the mouse down ? Here's my problem : I have a main stack calling a modal stack that displays information in real time while s

How to detect when the user moves a stack

2021-12-15 Thread jbv via use-livecode
Hi list, How can I detect when the user moves a stack around the screen by clicking on the top bar while leaving the mouse down ? Here's my problem : I have a main stack calling a modal stack that displays information in real time while some client / server dialog is running. When the modal

Re: Server directory of a running script

2021-11-12 Thread jbv via use-livecode
Le 2021-11-12 15:10, Phil Davis via use-livecode a écrit : Also, maybe try "the filename of me". It seems like that should work, though I could be wrong. No, you're right, it works too. Thank you. ___ use-livecode mailing list

Re: Server directory of a running script

2021-11-12 Thread jbv via use-livecode
Great ! Thank you. Le 2021-11-12 05:20, Ralf Bitter via use-livecode a écrit : You might try $_SERVER["PATH_TRANSLATED"] Ralf ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage

Server directory of a running script

2021-11-12 Thread jbv via use-livecode
Hi list, Is there a way to get the full path of the server directory/subdirectory in which an LC script is running, from within the script itself while it is running ? I have a Livecode Hosting account and I need to get something like : "/home/myAccount/public_html/myDirectory/mySubDirectory/"

decompressing gzip data server side

2021-08-02 Thread jbv via use-livecode
Hi list, I need to post data from an LC standalone to a remote server. For years, using LC as cgi engine, I have compressed and encoded the data in base 64 like this : put base64encode(compress(myData)) into myVar and then I run the opposite command server side : put

Resizing images

2021-06-16 Thread jbv via use-livecode
Hi list, I need to resize hundreds of jpg and png images. Most images have different initial width and height, and the resizing needs to be done according to data in an xml file, therefore most resizing are quite unique. I was wondering : what is the best way to do it ? 1- with a LC script using

launch url and then close

2021-04-17 Thread jbv via use-livecode
Hi list, On desktop, when a browser window is opened outside of LC using the "launch url" command, is there a way to close the browser window after a while from the LC script ? I am not talking about the revbrowser, but the actual default browser. I guess the answer is "no", as I haven't found

revBrowserNavigate

2021-04-14 Thread jbv via use-livecode
Hi list, I am using revBrowserNavigate and have the following problem : sometimes some urls won't display, but they display fine when I enter them in the address bar of the browser. What am I missing and what should I check ? I am using LC Community 8.1.10. Thanks in advance. Best, jbv

A question for LC and Windows 10 experts

2021-03-23 Thread jbv via use-livecode
Hi list, I have a request from a client to sync an accounting software running on a PC under Windows 10 and a database on a remote server. Below is a short description of the solution I have imagined, and I would welcome opinions & critics from other list members, as I'm not really familiar with

Re: numberformat question

2021-03-23 Thread jbv via use-livecode
Thank you. I will take a close look at it. Meanwhile I have finetuned my LC script : it returns the same results as the js script, and according to my tests, solves 1000 cubic equations in roughly 0.8 second. Le 2021-03-23 07:14, Andreas Bergendal via use-livecode a écrit : A few years back I

Re: numberformat question

2021-03-22 Thread jbv via use-livecode
Le 2021-03-22 12:14, John Balgenorth via use-livecode a écrit : You might be able to get the info by running your javascript from a shell command. Here is a link that might be of help; https://stackoverflow.com/questions/12659778/is-it-possible-to-run-javascript-files-from-the-command-line

Re: numberformat question

2021-03-22 Thread jbv via use-livecode
Le 2021-03-22 12:03, jbv via use-livecode a écrit : Hi Craig, Thank you for the link, but it doesn't help much : bigDivide(-0.007347880794884118999,10) returns 0 , -0.01 Ooops, I just realized that I forgot to add set numberformat to &q

Re: numberformat question

2021-03-22 Thread jbv via use-livecode
ve attempted to provide a framework for high precision math. You might search the list archives or search the forum on the LC web site for past discussions about number precision. On 3/20/2021 3:06 PM, jbv via use-livecode wrote: > Hi list, > I am a bit lost : >

Re: numberformat question

2021-03-21 Thread jbv via use-livecode
mework for high precision math. You might search the list archives or search the forum on the LC web site for past discussions about number precision. On 3/20/2021 3:06 PM, jbv via use-livecode wrote: > Hi list, > I am a bit lost : > >set numberformat to ".

numberformat question

2021-03-20 Thread jbv via use-livecode
Hi list, I am a bit lost : set numberformat to ".#" put -0.007347880794884118999 / 1000 -- returns -0.07347880794884119 which is ok put -0.007347880794884118999 / 100 -- returns -0.7347880794884 -> also ok put

FYI

2021-03-17 Thread jbv via use-livecode
https://arstechnica.com/science/2021/03/how-does-the-brain-interpret-computer-languages/ BTW I wonder how brain activity would look like with xTalk... Best ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

Did I dream this ?

2021-03-04 Thread jbv via use-livecode
Hi list, I thought I remembered a property like xloc or yloc in LC that would return only the horizontal or vertical location of an object... Or was it before, in Metacard or even in OMO ? jbv ___ use-livecode mailing list

Re: "within graphic" question

2021-02-22 Thread jbv via use-livecode
Le 2021-02-22 15:26, Tore Nilsen via use-livecode a écrit : Since the properties of the arc is available even if it is invisible, this will work though: on mouseDown put isWithin("myGraphic",the clickLoc) end mouseDown function isWithin pGraphic pClickLoc if pClickLoc is within the rect

"within graphic" question

2021-02-22 Thread jbv via use-livecode
Hi list, I have a graphic made of a list of points. This graphic is opaque and invisible, its filled property is set to true (according to the doc). In my card script I have something like : on mousedown put within(grc "mygraphic", the clickloc) end mousedown but it always returns false, even

scrollbar question

2021-02-19 Thread jbv via use-livecode
Hi lust, How can I prevent the thumb of a scrollbar to move when user clicks on the scrollbar, but not on the thumb, when it's set as a slider ? I tried to trap scrollbarLineDec and scrollbarLineInc, and also to set the lineincrement to 0, but to no avail. What am I missing ? Thanks in advance.

Re: LC Roadmap

2021-02-14 Thread jbv via use-livecode
Le 2021-02-14 20:46, William Prothero via use-livecode a écrit : 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. I find this a bit surprising,

numberformat, trunc and round

2021-02-02 Thread jbv via use-livecode
Hi list, This might sound like a dumb question, but I'm scratching my head trying to find a workaround. I have this portion of script : set numberformat to "#.000" if myvar = trunc(myvar) then get myarray[myvar] end if The problem seems to be that when numberformat is set, both

Re: Call lc from php?

2021-01-20 Thread jbv via use-livecode
Hi, Le 2021-01-20 18:53, Neville Smythe via use-livecode a écrit : Quick question: is it possible to execute a .lc server script from within php (eg from an index.php page)? I don't know if it will be useful, but here's the method I've been using for years : $data =

Re: disabling a group

2021-01-14 Thread jbv via use-livecode
Hi Paul, Thank you for sharing. I think I will stick with 1 single line of script that changes the graphic color. But I still need to understand why graphics colors don't change when disabled. Le 2021-01-13 22:29, Paul Hibbert via use-livecode a écrit : I have just used setProp in a behaviour

Re: disabling a group

2021-01-13 Thread jbv via use-livecode
Le 2021-01-13 15:34, Mark Wieder via use-livecode a écrit : On 1/13/21 11:32 AM, jbv via use-livecode wrote: Hi list, I have a group that contains various controls, including graphic objects. When I disable the group, the colors of every object becomes lighter, except for graphics whose

disabling a group

2021-01-13 Thread jbv via use-livecode
Hi list, I have a group that contains various controls, including graphic objects. When I disable the group, the colors of every object becomes lighter, except for graphics whose colors remain the same. What is the best way to make colors of graphics become lighter when the group is disabled ?

Basic mobile app question

2020-12-23 Thread jbv via use-livecode
Hi list, A friend of mine has a website with a responsive version, and would like to have a mobile app as well. Of course, he has next to zero budget, so I was wondering if it could be possible to use Livecode to make a basic app that would create a browser object at startup, and the url of

Re: play command and wav file

2020-12-19 Thread jbv via use-livecode
Martin, Richmond, thank you both for your answers. My problem is that the data of the wav file is already in memory, because I open the wav file, read it, store it in a variable, and apply various processes to the content. And finally what I want to do is play the wav data after processing,

play command and wav file

2020-12-19 Thread jbv via use-livecode
Hi list, Is there a way to play a wav file that is already loaded in memory as binary data ? The doc only says that "play" takes a file name as parameter... Thank you in advance. jbv ___ use-livecode mailing list use-livecode@lists.runrev.com Please

Re: binaryencode question

2020-12-07 Thread jbv via use-livecode
Never mind folks, I found another (and easier solution) : I'm using bytetonum() to convert the binary data from the file, and then, after processing, numtobyte() to write the data as binary in the file. Le 2020-12-07 04:53, jbv via use-livecode a écrit : Hi list, I have a script that opens

binaryencode question

2020-12-07 Thread jbv via use-livecode
Hi list, I have a script that opens a binary file (actually a .wav) file, converts binary data to hex, do some processing on parts of the data, and then saves the result as a new .wav file. I managed to convert the binary data to hex and do the processing, but now I'm stuck trying to convert hex

Question about Windows 10 for Surface

2020-10-20 Thread jbv via use-livecode
Hi list, I have a request from a potential client for an app that should run on iOS, Android and Microsoft devices. AFAIK, Microsoft has dropped Windows 10 Phone in 2019. But what about devices like Surface tablets that run Windows 10 ? Can a LC app compiled for windows run on these devices ?

[OT] experience with open source marketplace software anyone ?

2020-07-24 Thread jbv via use-livecode
Hi list, Does anyone have any experience with open source marketplace software ? I don't mean regular ecommerce website, but Open Source Multi-Vendor marketplace software. There are several solutions available and would appreciate if anyone would like to share some experience on this matter.

LC equivalent of php utf8_encode and utf8_decode ?

2020-04-13 Thread jbv via use-livecode
Hello list, Suddenly I'm having a blank : what is the LC equivalent of utf8_encode and utf8_decode in php for a string ? Thanks in advance jbv ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe

Re: Displaying & caching PDF files

2020-02-05 Thread jbv via use-livecode
Thanks for your answer. I have just checked the doc, and unless I'm wrong, the PDF Widget is available with the business license only... Le 2020-02-04 15:37, Ralph DiMola via use-livecode a écrit : Android will not natively display a pdf in the browser. The PDF Widget is supported on all

Displaying & caching PDF files

2020-02-04 Thread jbv via use-livecode
Hello list, I have a request from a client for a mobile app that would display pdf files. I know I can use a browser object to display those files, I've done that numerous times. My question is more about caching the files, and displaying them again later without having to download them each

Re: Raspberry Pi 4

2020-01-23 Thread jbv via use-livecode
Hi, Did they fix the USB-C issue they had last summer on the first release of the Pi 4 ? Best, Le 2020-01-22 14:34, Kevin via use-livecode a écrit : I’ve had my push notification server running on a Pi 3 for some years. Just bought a Pi 4, 4gb, will try installing live code on that. Always

Realtime sound generation in LC

2019-06-06 Thread jbv via use-livecode
Hi list, I was wondering if it could be possible to generate sound in real time with LC. I don't mean to play a sound file, but to put together samples at a certain sample rate (like 44.1 or 45 KHz) and output them, while changing some parameters like signal frequency or amplitude. I am

LC and IPTV

2019-05-22 Thread jbv via use-livecode
Hi list, Is there a way to handle IPTV within LC, via built-in functions or an external ? I've search this list and the forum and have found next to nothing, expect a post from 2012 on the forum about the possibility to use vlc code in an external, but that finally looked like a dead end...

Re: LC and live video streaming

2019-05-20 Thread jbv via use-livecode
:33 schreef jbv via use-livecode: yes, that was my first guess, but unfortunately the live tv stream my client wants to display isn't available on youtube, only via a specific link (different for each ISP) and unless I'm wrong, can only be viewed with apps such as vlc, at least according to my

Re: LC and live video streaming

2019-05-20 Thread jbv via use-livecode
yes, that was my first guess, but unfortunately the live tv stream my client wants to display isn't available on youtube, only via a specific link (different for each ISP) and unless I'm wrong, can only be viewed with apps such as vlc, at least according to my google searches... Le 2019-05-20

Re: LC and live video streaming

2019-05-20 Thread jbv via use-livecode
om 18:03 schreef jbv via use-livecode: Hi list, I have a request from a client who needs an app that would play a streaming tv continuously in the lobby of his company, and the tv stream should be interrupted from time to time to display a short corporate video, and then back to the video stream

LC and live video streaming

2019-05-20 Thread jbv via use-livecode
Hi list, I have a request from a client who needs an app that would play a streaming tv continuously in the lobby of his company, and the tv stream should be interrupted from time to time to display a short corporate video, and then back to the video stream. I am wondering if this could be done

Question about auto-save

2019-05-01 Thread jbv via use-livecode
Hi list, I am working on a web app (with LC server-side) in which end users will be able to add & manipulate various svg elements to complete custom designs. My client asked me to implement some kind of auto-save function so that users can automatically retrieve the last step of their design each

Livecode & prestashop

2019-04-20 Thread jbv via use-livecode
Hello list, Is there any connexion between LC and e-commerce frameworks like Prestashop ? I thought I've seen a thread about something like that a couple of years ago on this very list but can't retrieve it, and searching the archives is not an easy task... Long story short, a friend of mine is

Re: goofy question about "repeat for each"

2019-03-25 Thread jbv via use-livecode
d to unexpected values... Le 2019-03-25 15:31, jbv via use-livecode a écrit : Hi list, I have a list of values such as : 540,20 542,22... one per line in a variable named cc. Now I'm running the following loop : repeat for each line j in cc add 1 to item 1 of j put return &

goofy question about "repeat for each"

2019-03-25 Thread jbv via use-livecode
Hi list, I have a list of values such as : 540,20 542,22... one per line in a variable named cc. Now I'm running the following loop : repeat for each line j in cc add 1 to item 1 of j put return & j after var2 end repeat goofy question : does each iteration of the loop

Checking xml string

2019-01-09 Thread jbv via use-livecode
Hi list, Does anyone has a function that would remove "ghost tags" from an xml string, for instance a tag when there's no tag before ? More generally, a script that checks the consistency of an xml string and points errors would do perhaps ? Thanks in advance. jbv

Re: semi-OT : mySQL oddities

2018-11-28 Thread jbv via use-livecode
eral weeks, and random duplicates / corruption of rows have totally disappeared. I hope I found the solution, but will keep checking. I also thing I will bypass auto-increment in future projects. All the best, jbv On Tue, October 9, 2018 10:13 pm, jbv via use-livecode wrote: > Hi list, > I

[solved] Re: https, 301 redirection and get URL

2018-11-11 Thread jbv via use-livecode
Hello again, As a follow-up to this thread : if anyone's interested, the problem was that the permanent redirection was set to port 80; after removing that line from the htaccess file, everything started working like a charm. Best. On Sun, November 11, 2018 10:17 am, jbv via use-livecode wrote

https, 301 redirection and get URL

2018-11-11 Thread jbv via use-livecode
Hi list, I am updating an old standalone for a client of mine who has just migrated his domain to HTTPS. There is also a permanent redirection 301 from http to https in the htaccess file. The standalone uses numerous commands in the form get URL "http://www.mydomain.com/irev/myScript.lc; which

semi-OT : mySQL oddities

2018-10-09 Thread jbv via use-livecode
Hi list, I'm not 100% sure yet, but I think I'm experiencing some problems with mySQL 5.6.41 and LC server, the most annoying one being random duplicate entries in some tables, especially the biggest ones, for instance 71 Mb and nearly 14 entries. I have searched the web for more info and have

Re: On Performance of Array Access

2018-08-31 Thread jbv via use-livecode
Mark, Thank you so much for following up on this thread. Once something "suitable for including in a 9.0.x maintenance release" is available, could you please include it to LC server, and especially the version of LC9 server installed on on-rev sage server ? I'm in the process of improving for a

Re: Surprise...

2018-08-22 Thread jbv via use-livecode
Brian, Thanks for running all these tests. On the same topic, I'd like to mention that I use "intersect" with arrays a lot in some scripts (for complex requests it is sometimes faster to load raw data from mySQL and process it with arrays), and "intersect" is really fast in LC9... On Tue,

Re: Surprise...

2018-08-20 Thread jbv via use-livecode
I made a test with the same loops and the same data on LC 6.5.2 desktop Mac, and arrays run 20% faster than items... On LC9 server I get opposite results : items are 2 times faster then arrays. As said in my original post, AFAIR U have always used arrays instead of items & lines because it has

Surprise...

2018-08-20 Thread jbv via use-livecode
Hi list, I have the following script : repeat with a = 1 to 34 repeat with b = 1 to 10 repeat with c = 1 to 11 repeat with d = 1 to 10 repeat with e = 1 to 34 --get item a of line 1 of tvar & tab & item b of line 2 of tvar & tab & item c of line 3 of tvar & tab & item d of line 4

Re: Intersect outputs different result in desktop and LC server

2018-08-09 Thread jbv via use-livecode
wo files I need it (they then load other .livecodescript > libraries, and some other .lc files, so I got all my old functionality by > renaming these two files, and redirecting a couple of URLs). > > > -- Alex. > > > > On 09/08/2018 06:52, jbv via use-livecode wrote: > >> H

Re: Intersect outputs different result in desktop and LC server

2018-08-08 Thread jbv via use-livecode
How do you run LC9 server on on-rev ? Thanks. On Thu, August 9, 2018 1:40 am, Alex Tweedly via use-livecode wrote: > Oops - sent before I meant to ... > > > With LC7 server on on-rev, I get > > > 4141 5378 18699 28365 41200 50230 58901 62983 63416 65984 71574 73426 > 74288 112360 115826 121386

Intersect outputs different result in desktop and LC server

2018-08-08 Thread jbv via use-livecode
Hi list, As the title says, I am getting different results when running the script below with LC desktop and LC server (on-rev account)... The result is fine on desktop, but flawed on server. What am I missing ? Thanks in advance. jbv on mouseUp get "3622 4141 4288 5378 38090 8786 13439 16483

Re: How to get the dimensions of an image with LC server ?

2018-06-23 Thread jbv via use-livecode
he width of img "Im1" & cr > > and it works as you'd expect. > > Alex. > > > > On 23/06/2018 17:30, jbv via use-livecode wrote: > >> Hi list, >> IS there a way to get the dimensions (width & height) of an img

How to get the dimensions of an image with LC server ?

2018-06-23 Thread jbv via use-livecode
Hi list, IS there a way to get the dimensions (width & height) of an img (jpeg or png) with livecode server ? The image is located somewhere on the same server. Thanks in advance, jbv ___ use-livecode mailing list use-livecode@lists.runrev.com Please

Re: Livecode Hosting and GDPR

2018-05-22 Thread jbv via use-livecode
mentation relating to LiveCode hosting at the > foot of this page. > > Regards, > > > Heather > > > >> On 22 May 2018, at 07:34, jbv via use-livecode >> <use-livecode@lists.runrev.com> wrote: >> >> >> Hi list, >> I have just emailed

Livecode Hosting and GDPR

2018-05-22 Thread jbv via use-livecode
Hi list, I have just emailed Livecode Hosting about the new General Data Protection Regulation (GDPR) effective in the EU starting May 25th 2018, asking if they're planing to send to their customers all necessary documents regarding hosting, backup and security for themselves and their affiliates

Re: Livecode and Google Analytics?

2018-05-22 Thread jbv via use-livecode
Hi Have you tried to include in your app a browser object that would load web pages with the necessary GA js script ? I know it's a brute-force strategy and that it would probably slow down the app a bit, but I don't have any better solution so far... Best, jbv On Tue, May 22, 2018 4:03 am, Jose

Re: imagedata and alpha byte

2018-05-09 Thread jbv via use-livecode
On Wed, May 9, 2018 7:51 pm, Richmond Mathewson via use-livecode wrote: > The inevitable question has to be why you are doing that in such a > fiddly sort of way. > > Richmond. > It would be too long to explain, but in short some users of a client app will modify pixels of images that will then

imagedata and alpha byte

2018-05-09 Thread jbv via use-livecode
Hi list, Still struggling with imagedata, I am trying to modify the transparency of an image by manipulating pixel by pixel the alpha byte. I tried with numToChar(0) and binaryEncode("B*","") but to no avail... OTOH manipulating the RVB channel works fine. Any idea on how modify the alpha

export imagedata into a file ?

2018-05-08 Thread jbv via use-livecode
Hi list, I have a script that starts as follows : put URL "binfile:/myFile.jpg" into tImageData put tImageData into image "Image_test" put the imagedata of image "Image_test" into tImageData -- tImageData processing After tImageData is processed, I would like to export its content

Re: LC server and fonts

2018-03-07 Thread jbv via use-livecode
t; > On Tue, Mar 6, 2018 at 7:41 AM, Mike Bonner <bonnm...@gmail.com> wrote: > > >> Sure, i'll dig up a font file and try. >> >> >> On Tue, Mar 6, 2018 at 7:37 AM, jbv via use-livecode < >> use-livecode@lists.runrev.com> wrote: >> >>>

Re: LC server and fonts

2018-03-06 Thread jbv via use-livecode
ld just load whatever url into cache and not font it up. > > On Tue, Mar 6, 2018 at 1:07 AM, jbv via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> When using >> load font file "nameofyourfont.ttf" the result contains Handler: can't >> fin

Re: LC server and fonts

2018-03-06 Thread jbv via use-livecode
at to do about loading a fontfile then. Out of > curiosity, what is the error? > > On Mon, Mar 5, 2018 at 11:39 AM, jbv via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> Hi Mike, >> Thanks for your reply. >> >> >> Yes, I managed to set t

Re: LC server and fonts

2018-03-05 Thread jbv via use-livecode
uot; and it will likely work. > > To see my script in action, check here: > http://guidezone.info/fonttest.lc > > > On Sun, Mar 4, 2018 at 8:21 AM, Warren Samples via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> On 03/02/2018 04:14 AM, jbv via us

Re: LC server and fonts

2018-03-03 Thread jbv via use-livecode
On Sat, March 3, 2018 5:29 pm, Tom Glod via use-livecode wrote: > That would work perfectly in desktopbut on server.. its different > for some reason. > > You are displaying field and exporting from a browser window correct? > > Actually no : I want to layout text, images, and graphics

Re: LC server and fonts

2018-03-03 Thread jbv via use-livecode
" ttf fonts somehow. Best jbv On Sat, March 3, 2018 4:10 pm, Tom Glod via use-livecode wrote: > LC server generates html code to display text. so you need to use > inline CSS, external CSS to generate the text you want using HTML > > On Fri, Mar 2, 2018 at 5:14 AM, jbv via

LC server and fonts

2018-03-02 Thread jbv via use-livecode
Hello list How can I load ttf font files with LC server, at least version 7.1 available on my on-rev account ? Neither "revFontLoad" nor "start using font file" seem to work... And the list of available fonts returned by "the fontNames" is quite limited... Thanks in advance. jbv

Re: Another server question (mixing node.js and LC)

2018-03-02 Thread jbv via use-livecode
Indeed, on sage the engine version is 7.1 I did a few quick tests last evening and things like "create btn" or "export snapshot" work. I need to do more tests, but so far it's a nice surprise. jbv On Thu, March 1, 2018 11:33 pm, Alex Tweedly via use-livecode wrote: > On 01/03/2018 18:48,

Re: Another server question (mixing node.js and LC)

2018-03-01 Thread jbv via use-livecode
On Thu, March 1, 2018 5:38 pm, Richard Gaskin via use-livecode wrote: > It's nice that we now have > graphics capabilities in Server, Is there any doc on this somewhere ? And is this feature already available on the LC version of on-rev accounts ? Thanks, jbv

Re: Question about the result

2018-02-25 Thread jbv via use-livecode
On Sun, February 25, 2018 5:36 pm, Mike Bonner via use-livecode wrote: > Ah, well the only useful part of my answer then would regard the first > issue. The result remaining empty was the correct response because the > base url was valid, so the command didn't fail to connect to the url, and > no

Re: Question about the result

2018-02-25 Thread jbv via use-livecode
e box, or if its related to what > happened on your end. > > On Sun, Feb 25, 2018 at 6:50 AM, jbv via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> Hi list >> >> >> According to LC dictionary, the result "Returns the status

Question about the result

2018-02-25 Thread jbv via use-livecode
Hi list According to LC dictionary, the result "Returns the status of the last command that was executed". But I had 2 unexpected experiences on my on-rev account recently : 1- a line such as put URL ("http://mydomain.com/index.php?; & it) into myVar never went through (because it was

Re: get URL problem on on-rev account

2018-01-25 Thread jbv via use-livecode
On Thu, January 25, 2018 9:28 pm, Mark Waddingham via use-livecode wrote: > Try checking 'the result' after each get URL line and see if it gives an > error indication - that might help work out what the problem is. > I did that, but the result is always empty; both requests just don't go

get URL problem on on-rev account

2018-01-25 Thread jbv via use-livecode
Hi list, I have a problem on my on-rev account for which I am awaiting an answer from the support; but since I haven't got it yet, I am asking this list. In an LC script I have 3 successive requests in the form : get URL "http://www.mydomain.fr/irev/myscript.lc?0_4; get URL

PHP vs LC server + 504 Gateway Timeout

2018-01-24 Thread jbv via use-livecode
Hi list On my on-rev account I have a LC script that calls a php script via the shell, and the php dumps the content of a mySQL db. Then another LC script (triggered later by another cgi request) builds a zip archive (using revzip) of the dump + a few small files. This scripts have been running

Re: Server-side xml validator anyone ?

2018-01-13 Thread jbv via use-livecode
On Sat, January 13, 2018 2:08 pm, Mark via use-livecode wrote: > If your XML is UTF8-enconded and your UTF8 data is correct, it will > work. Your probably isn't invalid XML but either a problem with the > encoding of the entire file or a particular string. > > The best way to validate XML on your

Server-side xml validator anyone ?

2018-01-12 Thread jbv via use-livecode
Hi list, I have several server-side LC scripts that transform text and data uploaded by end users on web pages into xml to be stored in a database and used later in other web pages or apps. The problem is, despite all the correction scripts I have added, that sometimes the uploaded content

Re: The coming of SVG

2017-11-10 Thread jbv via use-livecode
On Fri, November 10, 2017 2:31 pm, David Bovill via use-livecode wrote: > Mark one of the most important applications of SVG / canvas object > implementation is the ability to create rich interactive graphics - not > simply imagery. Tools for animation of the svg graphics would be great too. SMIL

Re: Completely OT - flat earth

2017-08-22 Thread jbv via use-livecode
On Mon, August 21, 2017 10:17 pm, J. Landman Gay via use-livecode wrote: > > I read recently that the flat-earther movement is growing. That's because of global warming : earth is slowly melting and will get 100% flat by the year 2100... ___

Re: keeping keys of an array in the order they came in?

2017-08-19 Thread jbv via use-livecode
Hi Klaus I've been there and the only solution I found was to maintain a second array : put 0 into x put "abc" into array1[60] add 1 to x put 60 into array2[x] put "xyz" into array1[30] add 1 to x put 30 into array2[x] put the keys of array2 into tkeys sort lines of tkeys

Re: answer with...

2017-08-16 Thread jbv via use-livecode
works like a charm... Thanks a lot. On Wed, August 16, 2017 10:13 pm, J. Landman Gay via use-livecode wrote: > On 8/16/17 10:07 pm, jbv via use-livecode wrote: > > >> I have a blank... >> I need to use a prompt in the form of >> answer "Your choice&q

answer with...

2017-08-16 Thread jbv via use-livecode
Hi I have a blank... I need to use a prompt in the form of answer "Your choice" with "John" or "Mary" or "Cancel" the problem is that the number of options depends on the result of a DB request, and can vary from 2 to 6... I tried to put ("John" or "Mary" or "Cancel") in a string but (answer

Maximum size of SQLQuery with revDataFromQuery ?

2017-08-06 Thread jbv via use-livecode
Hello Is there a size limit for the SQLQuery parameter when using revDataFromQuery ? I might end up with mySQL queries of at least 75 Kb... I know the best way to know is to try, but any experience would be apreciated... FYI some of there queries have been tested in PHPmyAdmin and run in 0.0054

Re: menuHistory & menuPick

2017-08-05 Thread jbv via use-livecode
On Sat, August 5, 2017 2:52 pm, Klaus major-k via use-livecode wrote: > >> Am 05.08.2017 um 14:15 schrieb jbv via use-livecode >> <use-livecode@lists.runrev.com>: >> >> >> well, not exactly... > > But it answered exactly your initial question, Sir! >

  1   2   >