Re: Re Pulldownmenu button bug on Windows

2022-05-12 Thread Ben Rubinstein via use-livecode
Ditto that. There should be a "Lifetime contribution" award for Livecode heroes. Ben On 09/05/2022 14:54, Craig Newman via use-livecode wrote: Richard. So glad to have you in this world. Craig On May 7, 2022, at 5:35 PM, Bob Sneidar via use-livecode wrote: Well put. I wonder what the

Re: Tools & techniques for one-off consolidation of multiple 'similar' CSV files?

2022-04-04 Thread Ben Rubinstein via use-livecode
Hi Keith, I feel your pain. I spend a lot of time doing this kind of manipulation. I generally avoid CSV, the format of the devil. If necessary I have a library that does a reasonable job of converting CSV to TSV, and run everything through that. Let's just assume for now that you've already

Can't get jsonToArray in standalones ?

2022-04-04 Thread Ben Rubinstein via use-livecode
Building a standalone that uses jsonToArray. Works fine in the IDE. If I use "search for required inclusions" when building the standaline, then when the script calls jsonToArray it throws error 219 (Function: error in function handler). If I use "select inclusions", and check "JSON

Re: revOpenDatabase over SSH tunnel?

2022-03-14 Thread Ben Rubinstein via use-livecode
I can't speak for most of the world, but in the past where we've directly connected to MySQL over the internet that's always been limited by IP (which as you doubtless know is built-in to the permissions system). The difference for me in this case is that instead of talking to a dedicated

revOpenDatabase - ODBC - on Ubuntu - failing with empty error

2022-03-10 Thread Ben Rubinstein via use-livecode
Thanks to everyone who's responded to my woes over the last few days. I'm making progress, but have hit a new hurdle. I know have the LC-built app running in a Docker container on Ubuntu 18. It's set up with an ODBC connection to an Oracle database. I can test the connection on the command

Re: What version of Ubuntu does LiveCode (9.6.6) support?

2022-03-10 Thread Ben Rubinstein via use-livecode
To record an answer to my own question, for completeness: it appears that standalones built from LiveCode 9.6.6, at least, seems to work fine on Ubuntu 18.04.2 LTS, at least. You may need to install some additional libraries. Phew! Ben On 10/03/2022 15:29, Ben Rubinstein via use-livecode

Re: revOpenDatabase over SSH tunnel?

2022-03-10 Thread Ben Rubinstein via use-livecode
it worked for me. No unencrypted data went "over the wire". The reason I developed this method is because I do not want to deal with expiring security certificates or secure websites to handle the data transfer. The method works out of the box. Bob S On Mar 10, 2022, at 03:34 , Be

Re: revOpenDatabase over SSH tunnel?

2022-03-10 Thread Ben Rubinstein via use-livecode
wait i could send you that guide. Regards, Matthias Am 10.03.2022 um 12:34 schrieb Ben Rubinstein via use-livecode : I need to access a (MySQL) database on a remote service - which has to be done over an SSH tunnel. Has anyone done this in LiveCode? Is it trivial/possible/impossible? TIA, Ben

Re: Trying to run standalone (headless) on Linux (Ubuntu) - failed at first hurdle

2022-03-10 Thread Ben Rubinstein via use-livecode
ike: sudo apt-get install expat or sudo apt-get install libexpat Kind regards, Panos On Thu, 10 Mar 2022 at 17:15, Ben Rubinstein via use-livecode < use-livecode@lists.runrev.com> wrote: Hi Stephen, Built on Mac. I didn't zip it because I've got a folder shared with the Docker container,

Re: revOpenDatabase over SSH tunnel?

2022-03-10 Thread Ben Rubinstein via use-livecode
send you that guide. Regards, Matthias Am 10.03.2022 um 12:34 schrieb Ben Rubinstein via use-livecode : I need to access a (MySQL) database on a remote service - which has to be done over an SSH tunnel. Has anyone done this in LiveCode? Is it trivial/possible/impossible? TIA, Ben

Re: Trying to run standalone (headless) on Linux (Ubuntu) - failed at first hurdle

2022-03-10 Thread Ben Rubinstein via use-livecode
ile before uploading ? -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Thu, Mar 10, 2022 at 6:50 AM Ben Rubinstein via use-livecode < use-livecode@lists.runrev.com> wrote: I'm trying to develop an app which will run headless on Linux (actually in a docker container). I've done this b

What version of Ubuntu does LiveCode (9.6.6) support?

2022-03-10 Thread Ben Rubinstein via use-livecode
Just read the release notes (for 9.6.6, but also for 10.0.0.dp2) which say LiveCode supports the following Linux distributions, on 32-bit or 64-bit Intel/AMD or compatible processors: Ubuntu 14.04 and 16.04 Fedora 23 & 24 Debian 7 (Wheezy) and 8 (Jessie) [server]

Re: Trying to run standalone (headless) on Linux (Ubuntu) - failed at first hurdle

2022-03-10 Thread Ben Rubinstein via use-livecode
... same result. Thanks anyway! Ben On 10/03/2022 14:56, Stephen Barncard via use-livecode wrote: Hi Ben, Did you make the standalone on mac or win and zip the file before uploading ? -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Thu, Mar 10, 2022 at 6:50 AM Ben Rubinstein via use

Trying to run standalone (headless) on Linux (Ubuntu) - failed at first hurdle

2022-03-10 Thread Ben Rubinstein via use-livecode
I'm trying to develop an app which will run headless on Linux (actually in a docker container). I've done this before... so long ago that I can't remember... with an earlier version of this app. Normally I run this on Mac and Windows. So (under LiveCode 9.6.6) I simply checked the Linux 64

revOpenDatabase over SSH tunnel?

2022-03-10 Thread Ben Rubinstein via use-livecode
I need to access a (MySQL) database on a remote service - which has to be done over an SSH tunnel. Has anyone done this in LiveCode? Is it trivial/possible/impossible? TIA, Ben ___ use-livecode mailing list use-livecode@lists.runrev.com Please

Re: Have we lost the Oracle driver?

2022-03-03 Thread Ben Rubinstein via use-livecode
3 Mar 2022 at 15:25, Ben Rubinstein via use-livecode < use-livecode@lists.runrev.com> wrote: Hi Panos, LiveCode 9.6.6 on macOS 10.15.7 (Catalina). I've downloaded the Oracle stuff but it doesn't seem to have an install script - where should I put "libclntsh.dylib.11.1"? thanks for

Re: Have we lost the Oracle driver?

2022-03-03 Thread Ben Rubinstein via use-livecode
-macos.x64-11.2.0.4.0.zip Kind regards, Panos -- On Tue, 1 Mar 2022 at 19:46, Ben Rubinstein via use-livecode < use-livecode@lists.runrev.com> wrote: Hi Mark, Thanks for responding. Indeed 'the revLicenseInfo` returned "...commercial". After re-licensing, it now says "...p

Re: Have we lost the Oracle driver?

2022-03-01 Thread Ben Rubinstein via use-livecode
s good; but I still can't get at the database! Can you suggest where my next issue might be? Many thanks, Ben On 01/03/2022 16:08, Mark Waddingham via use-livecode wrote: On 2022-03-01 15:51, Ben Rubinstein via use-livecode wrote: Hi Matthias, Good spot! Thanks for checking. I wonder whe

Re: Have we lost the Oracle driver?

2022-03-01 Thread Ben Rubinstein via use-livecode
are there. Matthias Am 01.03.2022 um 16:24 schrieb Ben Rubinstein via use-livecode : A long time ago I used to access Oracle directly from a LiveCode app. For some years now I've only done this via ODBC, though I don't recall why that changed. The Dictionary entry for revOpenDatabase lists five

Have we lost the Oracle driver?

2022-03-01 Thread Ben Rubinstein via use-livecode
A long time ago I used to access Oracle directly from a LiveCode app. For some years now I've only done this via ODBC, though I don't recall why that changed. The Dictionary entry for revOpenDatabase lists five variants ("mysql", "odbc", "sqlite", "postgresql", "oracle"); but the User Guide

Re: Extracting Unicode text from Oracle over ODBC

2022-03-01 Thread Ben Rubinstein via use-livecode
: With the caveat that I know nothing about it, the normalize and formSensitive functions sound related. On 2/28/22 11:50 AM, Ben Rubinstein via use-livecode wrote: I'm trying to extract text from an Oracle database, via ODBC, on Windows. (Using the 64 bit "Oracle in instantclient_19_5".) Gene

Extracting Unicode text from Oracle over ODBC

2022-02-28 Thread Ben Rubinstein via use-livecode
I'm trying to extract text from an Oracle database, via ODBC, on Windows. (Using the 64 bit "Oracle in instantclient_19_5".) Generally fine, except that where the text contains Unicode characters beyond the Windows Latin1/CP512 character set, I'm not getting them. I'm not getting random

Re: MobileVibrate

2022-02-27 Thread Ben Rubinstein via use-livecode
Hi Jacque, On 27/02/2022 21:00, J. Landman Gay via use-livecode wrote: I didn't see an inclusion for it, so either I missed it or we don't need one. (It would sure help if we could search for inclusions in that long list.) According to this https://quality.livecode.com/show_bug.cgi?id=18199

Re: [ANN] Release 9.6.6 RC-1

2021-12-21 Thread Ben Rubinstein via use-livecode
Christmas is a time of gifts indeed! Thanks to everyone at LiveCode for all your hard work. best wishes, Ben On 21/12/2021 14:44, panagiotis merakos via use-livecode wrote: Dear list members, We are pleased to announce the release of LiveCode 9.6.6 RC-1. Getting the Release

Re: regex backreferences

2021-12-17 Thread Ben Rubinstein via use-livecode
it. Anything we can do to support this request and expedite it? On Fri, 17 Dec 2021 at 11:35, Ben Rubinstein via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: On 15/12/2021 03:41, J. Landman Gay via use-livecode wrote: > If there isn't a featur

Re: regex backreferences

2021-12-17 Thread Ben Rubinstein via use-livecode
On 15/12/2021 03:41, J. Landman Gay via use-livecode wrote: If there isn't a feature request for it, there should be. https://quality.livecode.com/show_bug.cgi?id=21534 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this

OT Re: Record audio on Mac

2021-12-10 Thread Ben Rubinstein via use-livecode
Marc, we can tell you're not in the UK. Right now, the phrase that "I have been assured" has quite low credibility on this side of the Atlantic! Ben On 10/12/2021 14:14, Marc Siskin via use-livecode wrote: I have been reasonably assured that in LC 10 there will be a simplified/unified way

Re: How to restrain impatient tsNet?

2021-11-09 Thread Ben Rubinstein via use-livecode
formation Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Ben Rubinstein via use-livecode Sent: Sunday, November 07, 2021 4:55 PM To: use-livecode@lists.runrev.com Cc: Ben Rubinstein Subject: Re: How to restrain

Re: How to restrain impatient tsNet?

2021-11-07 Thread Ben Rubinstein via use-livecode
m 18:50 schrieb Mark Waddingham via use-livecode : I think tsNetSetTimeouts is what you need :) Warmest Regards, Mark Sent from my iPhone On 7 Nov 2021, at 16:51, Ben Rubinstein via use-livecode wrote:  I'm finally moving an app from LC 6.7 to LC 9.6.5 (huge thanks to Mark W for fixing the

How to restrain impatient tsNet?

2021-11-07 Thread Ben Rubinstein via use-livecode
I'm finally moving an app from LC 6.7 to LC 9.6.5 (huge thanks to Mark W for fixing the accumulating/sorting delay loops, which has made this possible). I've hit what I hope is the last hurdle: at one point in its processing, the app has to load a resource over HTTP, which is s.l.o.w. - it

Re: Building Windows standalones on Mac with LC 9.6.4 or later - apps not launching?

2021-09-24 Thread Ben Rubinstein via use-livecode
ll problem? Maybe your standalone was blocked without any notification. Regards, Matthias Am 24.09.2021 um 13:39 schrieb Ben Rubinstein via use-livecode : Has anyone else encountered an issue building Windows standalones from LC 9.6.4 or 9.6.5 on Mac? What I'm seeing is that the process is su

Re: Building Windows standalones on Mac with LC 9.6.4 or later - apps not launching?

2021-09-24 Thread Ben Rubinstein via use-livecode
Hmmm. Thanks Trevor. On 24/09/2021 13:00, Trevor DeVore via use-livecode wrote: On Fri, Sep 24, 2021 at 6:40 AM Ben Rubinstein via use-livecode < use-livecode@lists.runrev.com> wrote: Has anyone else encountered an issue building Windows standalones from LC 9.6.4 or 9.6.5 on Mac? … Be

Building Windows standalones on Mac with LC 9.6.4 or later - apps not launching?

2021-09-24 Thread Ben Rubinstein via use-livecode
Has anyone else encountered an issue building Windows standalones from LC 9.6.4 or 9.6.5 on Mac? What I'm seeing is that the process is suspiciously fast; but generates the expected files (.exe, the various dlls); and the .exe is the expected size, almost identical to what is produced under

Re: export a stack and recreate it it by script

2021-09-15 Thread Ben Rubinstein via use-livecode
Hi Malte, I have one (not used for many a year) that exports to XML including scripts, properties, contents etc. I used it to diff - never wrote an importer for it. But if you don't find what you need elsewhere, this might do half the job. Let me know if you want it. Ben On 15/09/2021

Re: Sorting text is *VERY* slow in LC9 on Windows (Re: Accumulating text is *VERY* slow in LC9 on Windows)

2021-09-13 Thread Ben Rubinstein via use-livecode
Thanks Mark, now I get it! Ben On 12/09/2021 12:09, Mark Waddingham via use-livecode wrote: On 2021-09-10 19:10, Ben Rubinstein via use-livecode wrote: The other was The only caveat is that it might cause apps mutating lots of medium->large strings concurrently to take up more mem

Re: Sorting text is *VERY* slow in LC9 on Windows (Re: Accumulating text is *VERY* slow in LC9 on Windows)

2021-09-10 Thread Ben Rubinstein via use-livecode
Hi Mark, Thank you for this, very promising. Only two things puzzled me. One you've already addressed when you corrected the specified cheese. The other was The only caveat is that it might cause apps mutating lots of medium->large strings concurrently to take up more memory in general... >

Re: RCs and DPs

2021-09-09 Thread Ben Rubinstein via use-livecode
Aha, thanks Martin - I missed that. cheers, Ben On 09/09/2021 17:37, Martin Koob wrote: Hi Ben This is a change, they used to be there but then there was a policy change by LiveCode that was announced back in May On May 6, 2021, at 7:25 AM, The LiveCode Team

RCs and DPs

2021-09-09 Thread Ben Rubinstein via use-livecode
As well as the expected stripping out of community versions from https://downloads.livecode.com/livecode/, it seems that all RCs and DPs have gone, leaving only STABLE versions (or have I just mis-remembered that they used all to be there?). Is there going to be a change in how RCs and DPs

Re: Send a table in an email.

2021-09-09 Thread Ben Rubinstein via use-livecode
Hi Sean, Not to wind you up with yet another 'helpful' suggestion... but here's what I would do, if I've understood you correctly. I think you're formatting a nice message in a field using LC styling; then using the Mime Encoder feature to format it to include in an email. But when you try

Re: SE Show Globals inverted

2021-09-08 Thread Ben Rubinstein via use-livecode
I've not knowingly seen this issue. But while we're discussing viewing global variables, I still mourn this regression introduced in LC 8, when the message box stopped allowing inspection of arrays in global variables (the SE still does): https://quality.livecode.com/show_bug.cgi?id=17478 And

Re: LiveCode 10 - what are your thoughts on the new features?

2021-09-08 Thread Ben Rubinstein via use-livecode
On 08/09/2021 14:20, Mark Waddingham via use-livecode wrote: I also wonder whether this might be the moment to introduce another bit of (completely non-breaking) syntactic sugar: https://quality.livecode.com/show_bug.cgi?id=8945 Hehe - with integers being unbounded, there are plenty more

Re: Text encoding: summary of results and times.

2021-09-08 Thread Ben Rubinstein via use-livecode
S On Sep 8, 2021, at 02:42 , Ben Rubinstein via use-livecode wrote: On 07/09/2021 17:22, Bob Sneidar via use-livecode wrote: This makes sense to me (I think) because if I am not mistaken, UTF16 is Unicode, and UTF8 is simple ASCII. The slowdown from 6.7 to 7.0 was precicely the support

Re: LiveCode 10 - what are your thoughts on the new features?

2021-09-08 Thread Ben Rubinstein via use-livecode
Array["a"]["b"] or tArray[1][2] ? On 08/09/2021 14:20, Mark Waddingham via use-livecode wrote: On 2021-09-08 13:09, Ben Rubinstein via use-livecode wrote: I'm also excited by the items in this list, at least the ones that I understand. I am a bit disturbed by

Re: AW: IDE performance (Re: Suggestion: Non-Appbuilding Community Edition)

2021-09-08 Thread Ben Rubinstein via use-livecode
and is chilling for every newbe! I tried all tweaks without result. For me the hassle started with LC 7 (if I remember right) Tiemo -Ursprüngliche Nachricht- Von: use-livecode Im Auftrag von Ben Rubinstein via use-livecode Gesendet: Mittwoch, 8. September 2021 14:14 An: Andre Garzia via use

Re: IDE performance (Re: Suggestion: Non-Appbuilding Community Edition)

2021-09-08 Thread Ben Rubinstein via use-livecode
May I repeat my request that anyone experiencing these issues on Windows (Andre, Lagi, Bob), could if possible confirm whether they find the same applies using LC 6.7? It would be good to understand if this has always been an issue, or whether it came in with the switch to LC7, as we know

Re: LiveCode 10 - what are your thoughts on the new features?

2021-09-08 Thread Ben Rubinstein via use-livecode
I'm also excited by the items in this list, at least the ones that I understand. I still haven't fully understood the one Alex raises below, but I'm content that it won't bother me until I do. I am a bit disturbed by the Tail Expressions one, because to the extent that I do understand it, I

Re: Text encoding: summary of results and times.

2021-09-08 Thread Ben Rubinstein via use-livecode
On 07/09/2021 17:22, Bob Sneidar via use-livecode wrote: This makes sense to me (I think) because if I am not mistaken, UTF16 is Unicode, and UTF8 is simple ASCII. The slowdown from 6.7 to 7.0 was precicely the support for Unicode text. Someone will correct me if I am wrong about this. As a

Re: Sorting text is *VERY* slow in LC9 on Windows (Re: Accumulating text is *VERY* slow in LC9 on Windows)

2021-09-03 Thread Ben Rubinstein via use-livecode
Regards, Bernard. On Mon, Aug 30, 2021 at 8:23 PM Ben Rubinstein via use-livecode < use-livecode@lists.runrev.com> wrote: Thanks to Mark Waddingham's advice about using a buffer var when accumulating a large text variabel in stages, I've now got a script that took 8 hours under LC9, and (8 min

IDE performance (Re: Suggestion: Non-Appbuilding Community Edition)

2021-09-03 Thread Ben Rubinstein via use-livecode
I was wondering this too: when Lagi mentioned 'fix the IDE' I thought this might be a reference to some of a number of usabiity snags - it didn't occur to me that it was just speed. I develop on a nine-year old MacBook and have never noticed a speed issue with the IDE. I wonder if it's

Re: Text encoding.

2021-09-03 Thread Ben Rubinstein via use-livecode
I always have to double check this as well. I think the point is that LC knows what its internal format is, but doesn't know what the source format is. So you always have to specify the 'external' format, but never the internal one. With that in mind, it feels (at least in my language

Sorting text is *VERY* slow in LC9 on Windows (Re: Accumulating text is *VERY* slow in LC9 on Windows)

2021-08-30 Thread Ben Rubinstein via use-livecode
Thanks to Mark Waddingham's advice about using a buffer var when accumulating a large text variabel in stages, I've now got a script that took 8 hours under LC9, and (8 minutes under LC6) down by stages to just under 1 hour under LC9. However I have some remaining issues not amenable to this

Re: Accumulating text is *VERY* slow in LC9 on Windows

2021-08-26 Thread Ben Rubinstein via use-livecode
I'm just asking purely selfishly, because if it's soon I might get away without having to address my 5,000 line code jungle nightmare...! Many thanks for this tip-off, Ben On 26/08/2021 12:23, Mark Waddingham via use-livecode wrote: On 2021-08-25 18:15, Ben Rubinstein via use-livecode wrote

Re: Accumulating text is *VERY* slow in LC9 on Windows

2021-08-26 Thread Ben Rubinstein via use-livecode
Thanks Curry. In fact (apologies I didn't make this clear in my already too-long email) it really is just the accumulating of text, at least in this instance, that's the issue. After I added a test on each extracted (i.e. looped over) line to see if it was "strictly a binary string", and

Re: Accumulating text is *VERY* slow in LC9 on Windows

2021-08-26 Thread Ben Rubinstein via use-livecode
a Win machine)   put 1 into tLineCount   repeat for each line tRow in tWorkTable   put tRow into tNewTable[tLineCount]       add 1 to tLineCount   end repeat   combine tNewTable using CR Alex. On 25/08/2021 18:15, Ben Rubinstein via use-livecode wrote: Some 20 months ago, I reported

Accumulating text is *VERY* slow in LC9 on Windows

2021-08-25 Thread Ben Rubinstein via use-livecode
Some 20 months ago, I reported that I was in a situation where an app written in 6.7 needed to be updated to access 64bit drivers, which meant updating to 9.5 - which displayed horrifying increase in processing time. In fact I was able to put off the evil day - but now it has returned, and

Re: Most streamlined method to get data

2021-07-29 Thread Ben Rubinstein via use-livecode
As grepophile, I'd go for some variation on get matchText(last line of myVar, \ ",+Total,.*\"\$(\d*,?\d+\.\d\d)\",+", \ myTotal) obviously details depend on what variations you expect within the data. Note that there's a nasty aspect of LC parsing: in

Jim Lambert is not crazy! (Re: Select an object in browse mode sending mouseup)

2021-07-28 Thread Ben Rubinstein via use-livecode
On 28/07/2021 18:18, Klaus major-k via use-livecode wrote: Hi Ben, Am 28.07.2021 um 19:14 schrieb Ben Rubinstein via use-livecode : Hi Tom, I've crawled the list but not found it - can you remember anyone involved in the thread or any keywords? that was my thread where I asked if executing M

Re: Select an object in browse mode sending mouseup

2021-07-28 Thread Ben Rubinstein via use-livecode
couple of times and it resolves itself. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 27, 2021 8:41:11 AM Ben Rubinstein via use-livecode wrote: Is anyone else seeing this problem? I launch LiveCode, choose the pointer tool (double

Re: Select an object in browse mode sending mouseup

2021-07-28 Thread Ben Rubinstein via use-livecode
that happens I toggle it a couple of times and it resolves itself. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 27, 2021 8:41:11 AM Ben Rubinstein via use-livecode wrote: Is anyone else seeing this problem? I launch LiveCode, choose

Select an object in browse mode sending mouseup

2021-07-27 Thread Ben Rubinstein via use-livecode
Is anyone else seeing this problem? I launch LiveCode, choose the pointer tool (double-check because of problems, active tool is definitely the pointer). Click on a button, with the intention of editing the script. The button is selected - dotted line, handles - but it is also sent a 'mouseup'

Re: access scroll of browser widget

2021-07-22 Thread Ben Rubinstein via use-livecode
errogate the current scroll position. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Ben Rubinstein via use-livecode Sent: Wednesday, July 21, 2021 12:44 PM

How to deploy app from Mac to Linux (with Browser widget) ?

2021-07-22 Thread Ben Rubinstein via use-livecode
I've made a little utility that's been working for me on Mac (actually I've just been running it in the IDE). I wanted to share it with a colleague who uses Linux, so I selected Mac, Windows, Linux in the standalone settings, selected "auto-detect" for inclusions, built it. Tested the

access scroll of browser widget

2021-07-21 Thread Ben Rubinstein via use-livecode
The browser widget has properties hScrollbar and vScrollbar - but doesn't appear to have properties hScroll or vScroll. Is there any way to get and set the scroll (FWIW I'm only interested in the vertical) of a browser widget? TIA, Ben ___

Re: Sending email with TLS (via Outlook) from LC 6.7 based app...

2021-07-16 Thread Ben Rubinstein via use-livecode
be updated to the TLS 1.2 standard. Bob S On Jul 16, 2021, at 07:08 , Ben Rubinstein via use-livecode wrote: A very venerable app (original version perhaps 15 years ago) is still running on a client's Windows box, every night, processing data and emailing a report. The email is sent using

Re: Sending email with TLS (via Outlook) from LC 6.7 based app...

2021-07-16 Thread Ben Rubinstein via use-livecode
at the sections about 'Formatting Email Headers' and 'Adding Attachments'. That information should give you a clue how to create the data correctly. Regards, Matthias Am 16.07.2021 um 16:08 schrieb Ben Rubinstein via use-livecode : A very venerable app (original version perhaps 15 years ago) is still

Sending email with TLS (via Outlook) from LC 6.7 based app...

2021-07-16 Thread Ben Rubinstein via use-livecode
A very venerable app (original version perhaps 15 years ago) is still running on a client's Windows box, every night, processing data and emailing a report. The email is sent using Shao Sean's libSMTP library, which has performed faithfully for all these years. Unfortunately, the client's

Re: Spurious characters from html files - text encoding issues?

2021-05-31 Thread Ben Rubinstein via use-livecode
text file! :-) Thanks & regards, Keith On 19 May 2021, at 19:01, Ben Rubinstein via use-livecode wrote: Hi Keith, This might need input from the mothership, but I think if you've obtained the text from the browser widget's htmlText, it will probably be in the special 'internal' format. I'm not

Re: Spurious characters from html files - text encoding issues?

2021-05-19 Thread Ben Rubinstein via use-livecode
On 17 May 2021, at 12:57, Ben Rubinstein via use-livecode wrote: Hi Keith, The thing with character encoding is that you always need to know where it's coming from and where it's going. Do you know how the HTML documents were obtained? Saved from a browser, fetched by curl, fetched by

Re: Spurious characters from html files - text encoding issues?

2021-05-17 Thread Ben Rubinstein via use-livecode
Hi Keith, The thing with character encoding is that you always need to know where it's coming from and where it's going. Do you know how the HTML documents were obtained? Saved from a browser, fetched by curl, fetched by Livecode? Or generated on disk by something else? If it was saved

Re: the systemversion shows wrong version # on Mac

2021-05-13 Thread Ben Rubinstein via use-livecode
Do we need a "detailed systemversion" ? On 07/05/2021 18:07, panagiotis merakos via use-livecode wrote: Hello all, Yeap, what Phil said: function mySystemVersion get shell("sw_vers -productVersion") return it end mySystemVersion This will return 11.2.3 on a Mac running Big Sur 11.2.3

Re: Problems with text data fields pulling from SQL

2021-05-13 Thread Ben Rubinstein via use-livecode
This. NVARCHAR is for Unicode strings. You may be able to deal with it by modifying the ODBC DSN or the query to do a conversion before it reaches LiveCode. Otherwise, IIRC you need to use revDatabaseColumnNumbered and go row by row (rather than revDataFromQuery); taking the data and using

Re: access DOM in browser widget?

2021-04-28 Thread Ben Rubinstein via use-livecode
Thanks for responding Tom But if yoiu need any more of a direct way accessing itI don't know of one. Yes, that's what I'm after: to have a browser widget in a LiveCode stack, and be able to access the DOM (not the htmlText) in LiveCode script. It's not my page so I can't add javascript

access DOM in browser widget?

2021-04-28 Thread Ben Rubinstein via use-livecode
Is there a way to access the DOM from the browser widget? TIA, Ben ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Double sided PDF Problem

2021-02-03 Thread Ben Rubinstein via use-livecode
On 03/02/2021 05:33, Richard Gaskin via use-livecode wrote: Paul McClernan wrote: > I'm sure this could all be worked out as far as how to do the > layout and printing directly from LiveCode... but why? Why? On a LiveCode list you have to ask why? :) For what it's worth, a while back (when

Re: Using MySQL on (headless) Linux

2021-02-03 Thread Ben Rubinstein via use-livecode
Yes sorry Richard et al for confusion. I was using LC standard on a headless Linux machine, i.e. launching the IDE but with -ui. It worked fine and ran my stack OK, until it tried to access a database. At that point I listened to advice and made a minimal standalone configured as a launcher -

Re: Using MySQL on (headless) Linux

2021-02-02 Thread Ben Rubinstein via use-livecode
Hi Mark, On 02/02/2021 09:03, Mark Waddingham via use-livecode wrote: I'll report (2) and (3) formally when I've done a bit more investigation. I'd still love to know what I'm doing wrong, in relation to (1). Please don't - as neither are bugs :) The "investigation" I referred to was

Re: Using MySQL on (headless) Linux

2021-02-02 Thread Ben Rubinstein via use-livecode
:55, Mark Wieder via use-livecode wrote: On 2/1/21 2:25 PM, Ben Rubinstein via use-livecode wrote: 1. I've not found how to access externals (in this case the database library) without explicitly setting the 'externals' property of the stack to a (generally unreliably) full path before the stack

Re: Using MySQL on (headless) Linux

2021-02-01 Thread Ben Rubinstein via use-livecode
use “mysql” as the database type, not “MySQL” or anything else with upper case letters. LiveCode is not case-sensitive, but Linux is. Hope this helps. Devin On Feb 1, 2021, at 2:32 PM, Ben Rubinstein via use-livecode wrote: Update. I have managed to get access to the Rev database external

Re: Using MySQL on (headless) Linux

2021-02-01 Thread Ben Rubinstein via use-livecode
does list the folder which includes dbmysql.so - revOpenDatabase still returns "revdberr,invalid database type". Any suggestions gratefully received! Ben On 01/02/2021 20:24, Ben Rubinstein via use-livecode wrote: Hi Mark, > "error in function handler" is a pretty

Re: Using MySQL on (headless) Linux

2021-02-01 Thread Ben Rubinstein via use-livecode
veCode can't run headless on Mac, or if there's something else going on there. Ben On 01/02/2021 19:37, Mark Wieder via use-livecode wrote: On 2/1/21 11:15 AM, Ben Rubinstein via use-livecode wrote: With thanks to friends here who helped me install and start using LC on a headless Linux box

Using MySQL on (headless) Linux

2021-02-01 Thread Ben Rubinstein via use-livecode
With thanks to friends here who helped me install and start using LC on a headless Linux box. I've now another little problem... my stack tries and fails to connect to a MySQL database. When it attempts to call revOpenDatabase, it throws error 219, "error in function handler". I take it

Re: installing and running LC on 'headless' linux server

2021-02-01 Thread Ben Rubinstein via use-livecode
Superb, thank you Matthias. Apologies not having RTFM'd properly myself. Ben On 01/02/2021 12:07, matthias rebbe via use-livecode wrote: Am 01.02.2021 um 10:52 schrieb Ben Rubinstein via use-livecode mailto:use-livecode@lists.runrev.com>>: Thanks Mark (and Matthias). That's very

Re: installing and running LC on 'headless' linux server

2021-02-01 Thread Ben Rubinstein via use-livecode
es.net <http://nursenotes.net/> canelasoftware.com <http://www.canelasoftware.com/> On Jan 30, 2021, at 8:34 AM, Ben Rubinstein via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: Hi Matthias, Thanks for answering. I haven't looked into Livecode Server. When you

Re: installing and running LC on 'headless' linux server

2021-01-30 Thread Ben Rubinstein via use-livecode
. Regards, Matthias - Matthias Rebbe Life Is Too Short For Boring Code Am 29.01.2021 um 19:44 schrieb Ben Rubinstein via use-livecode : So I want to install LC on a headless - i.e. no GUI, access over SSH - Ubuntu 20. (Then I'll be using it to run a particular stack on a cron job.) I've done

installing and running LC on 'headless' linux server

2021-01-29 Thread Ben Rubinstein via use-livecode
So I want to install LC on a headless - i.e. no GUI, access over SSH - Ubuntu 20. (Then I'll be using it to run a particular stack on a cron job.) I've done this a long time ago with a standalone - but in this case I'd rather be able to do it with a stack. The only thing that I know about

Re: How to set up a library?

2020-12-31 Thread Ben Rubinstein via use-livecode
hat object. Start Using makes the script globally accessible to ALL stacks running in the IDE (or in the Standalone). On Dec 31, 2020, at 3:55 AM, Ben Rubinstein via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: Thanks Alex and Bob for your responses. And if I make it a s

Re: How to set up a library?

2020-12-31 Thread Ben Rubinstein via use-livecode
19:34, Ben Rubinstein via use-livecode wrote: What is the best way to structure a library these days? Currently I've got buttons with a script, and a 'mouseup' handler to 'insert the script of me into back' in my object library. But I don't think that's very modern. What's the right

How to set up a library?

2020-12-29 Thread Ben Rubinstein via use-livecode
What is the best way to structure a library these days? Currently I've got buttons with a script, and a 'mouseup' handler to 'insert the script of me into back' in my object library. But I don't think that's very modern. What's the right way to do it? Especially if I want to share it?

Re: Mac standalone install in menu bar

2020-11-24 Thread Ben Rubinstein via use-livecode
On 24/11/2020 16:01, matthias rebbe via use-livecode wrote: On Mac there is the Mac Status Menu library available in LC9.6 and lower. Thank you Matthias - just what I needed. Ben ___ use-livecode mailing list use-livecode@lists.runrev.com Please

Mac standalone install in menu bar

2020-11-24 Thread Ben Rubinstein via use-livecode
Is it possible to create an using LC that once launched installs itself in the menu bar? TIA, Ben ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Sensor questions

2020-11-15 Thread Ben Rubinstein via use-livecode
Hi Graham, By no means a complete answer to your question, but if you have a bluetooth sensor to work with, take a look at mergBLE. I don't think I'd be confident enough to code with it for an abstract case, but if you have an actual unit to test I would expect you should be able to interface

Re: Is the DateFormat read only?

2020-11-08 Thread Ben Rubinstein via use-livecode
This enhancement request (which from various paths has a 14 year history) is still relevant IMHO: https://quality.livecode.com/show_bug.cgi?id=4636 (It also has a handy suggestion from Mark Waddingham of a function to return "ISO date time" (as the discussions in the report shows, a

Re: iOS sharing extension - anyone ever made one?

2020-09-02 Thread Ben Rubinstein via use-livecode
such that in any app (say a web browser) where I select the share icon I can use my Livecode app as something that handles the share? On 20 Nov 2018, 18:40 +, Ben Rubinstein via use-livecode , wrote: You need to do two things: - add code in your app to handle the "urlWakeUp" me

Google API Oauth - refresh tokens?

2020-07-30 Thread Ben Rubinstein via use-livecode
Back in 2018 when I was originally working with Google sheets, the OAuth authorisation once granted seemed to refresh automatically. That is, if a call returned the 'unauthorised' error, calling OAuth with the same parameters would briefly display a sheet dialog, but it would go away

Re: OAuth2 was Re: google sheets - anybody doing anything besides mergGoogle

2020-07-27 Thread Ben Rubinstein via use-livecode
chance of posting a demo stack somewhere? It sounds very useful. Thanks, Bill William Prothero http://es.earthednet.org On Jul 22, 2020, at 10:13 AM, Ben Rubinstein via use-livecode wrote: Ah, shame. It turned out it was (IIUC) just a change in the way Google did their tokens which exposed a bug,

Re: Using OAuth2 with Microsoft API services

2020-07-24 Thread Ben Rubinstein via use-livecode
This may be too obvious, but with OAuth on Google APIs I found I had to add (or was it remove) a trailing slash on the redirect. Also that localhost didn't work. E.g. only one of http://127.0.0.1:56789 http://127.0.0.1:56789/ and definitely not

Re: OAuth2 was Re: google sheets - anybody doing anything besides mergGoogle

2020-07-22 Thread Ben Rubinstein via use-livecode
atient/spooked so we went another direction.  I think we're going to use other tools. On Thu, Jul 16, 2020 at 10:00 AM Ben Rubinstein via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: Hi Mike, Brian Milby put me on to the solution for the OAuth problem: >

Re: OAuth2 was Re: google sheets - anybody doing anything besides mergGoogle

2020-07-16 Thread Ben Rubinstein via use-livecode
Hi Mike, Brian Milby put me on to the solution for the OAuth problem: Check out bug 22557 / PR 7381. Line 247 of oath2.livecodescript need urlEncode removed Are you still interested in this, or are you covered now? regards, Ben On 11/03/2020 20:45, Ben Rubinstein via use-livecode wrote

Re: OAuth2 invalid_grant: Malformed auth code (Google Sheets API)

2020-07-09 Thread Ben Rubinstein via use-livecode
Thanks Brian! I've patched my copy for now. What a PITA. Ben On 09/07/2020 13:29, Brian Milby via use-livecode wrote: Check out bug 22557 / PR 7381. Line 247 of oath2.livecodescript need urlEncode removed Sent from my iPad On Jul 9, 2020, at 7:33 AM, Ben Rubinstein via use-livecode

OAuth2 invalid_grant: Malformed auth code (Google Sheets API)

2020-07-09 Thread Ben Rubinstein via use-livecode
I had code that did stuff with Google sheets, it worked fine, I haven't used it for about nine (?) months. Now it doesn't work. To cut a long story short, I've started all over again on a clean base. Created a new Client ID at

  1   2   3   >