Re: Cognitive load

2017-04-23 Thread jbv via use-livecode
On Sun, April 23, 2017 9:55 am, Richmond Mathewson via use-livecode wrote: > I'm not sure why smaller should necessarily be better. > It is actually, and the cognitive load approach, especially for programmers newbies, is quite relevant. Newbies have to deal with 2 or 3 things simultaneously : 1-

Re: Cognitive load

2017-04-23 Thread jbv via use-livecode
en people started believing > it was vaguely spherical. Now that people have gone up into space with > rockets and taken photos of the earth the argument seems to be over > whether the world "is" a sphere or an "oblate spheroid", and only nutty > fruitcakes believe otherw

Livecode server, timeout and processes

2017-07-17 Thread jbv via use-livecode
Hello forum A few days ago I ran into a severe problem with livecode server. A subtil and unexpected change in the way one of my clients inputs data via his app caused an endless loop to appear in one of the LC scripts on the server, which lead to a 504 Gateway Timeout error. As this script is

Refreshing question

2017-07-12 Thread jbv via use-livecode
Hi guys I have a web page that displays various informations that need to be updated/refreshed every minute. What is the best way to achieve that ? 1- client side : a settimeout in a js script that triggers a LC script on a remote server via xmlhttp, and returns xml data that is analyzed and

Re: Refreshing question

2017-07-12 Thread jbv via use-livecode
On Wed, July 12, 2017 5:34 pm, jonathandly...@gmail.com wrote: > If the data is always the same, then I would update a page and have the > browser read it. > > Are you looking to reload the whole page or just update a few data > points? > I really need to reload the xml data only, as the user

How do you guys debug a webpage...

2017-04-24 Thread jbv via use-livecode
Hi list, How do you guys debug a webpage that doesn't behave the same way (especially js scripts) when opened in a browser and in revBrowser ? More specifically my problem is with xmlhttp.send which I have used zillions of times, and which works fine in my webpage in a browser and seems to throw

menuHistory & menuPick

2017-08-04 Thread jbv via use-livecode
Hi According to the doc, when you set the menuHistory property, a menuPick message is sent to the button. I managed to block the menupick message with a boolean variable, but is there an easier/more elegant way to momentary block that message when setting menuhistory ? Thanks in advance. jbv

Re: menuHistory & menuPick

2017-08-04 Thread jbv via use-livecode
jbv, > > >> Am 04.08.2017 um 20:04 schrieb jbv via use-livecode >> <use-livecode@lists.runrev.com>: >> >> >> Hi >> According to the doc, when you set the menuHistory property, a menuPick >> message is sent to the button. I managed

Re: menuHistory & menuPick

2017-08-05 Thread jbv via use-livecode
without triggering menuPick, set the >> label of the menu button. In order to trigger the menuPick handler when >> changing the value, use menuHistory. No need to suspend messages or >> anything fancy like that. >> >> Bob S >> > > and the winner is: M

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! >

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[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

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

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

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

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

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

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

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

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

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

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

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.

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

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

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

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

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 ?

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

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

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

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

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

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 ".

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

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

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

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

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

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,

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.

"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

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

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