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 count

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

2021-08-26 Thread Ben Rubinstein via use-livecode
orry, I don't have 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

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 c

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 or

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

2021-07-28 Thread Ben Rubinstein via use-livecode
s for all the pointers. Ben 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

Re: Select an object in browse mode sending mouseup

2021-07-28 Thread Ben Rubinstein via use-livecode
e 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 the pointer too

Re: Select an object in browse mode sending mouseup

2021-07-28 Thread Ben Rubinstein via use-livecode
cts like the browse tool. When 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

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

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 stand

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

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

2021-07-16 Thread Ben Rubinstein via use-livecode
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

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

2021-07-16 Thread Ben Rubinstein via use-livecode
e a look 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 ver

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

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

2021-05-31 Thread Ben Rubinstein via use-livecode
ile is a simple 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 &

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

2021-05-19 Thread Ben Rubinstein via use-livecode
s binfiles reduces this further. Thanks & regards, Keith 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

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 from

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 te

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: http://lists.runrev.com/mailman

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 putti

Re: Using MySQL on (headless) Linux

2021-02-02 Thread Ben Rubinstein via use-livecode
21 00: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 p

Re: Using MySQL on (headless) Linux

2021-02-01 Thread Ben Rubinstein via use-livecode
Linux because of a case error. Make sure you 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

Re: Using MySQL on (headless) Linux

2021-02-01 Thread Ben Rubinstein via use-livecode
verPath()/put the files" 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 func

Re: Using MySQL on (headless) Linux

2021-02-01 Thread Ben Rubinstein via use-livecode
that's a generic issue that LiveCode 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 instal

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 tha

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&#x

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

2021-02-01 Thread Ben Rubinstein via use-livecode
io> nursenotes.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 Liveco

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

2021-01-30 Thread Ben Rubinstein via use-livecode
ctly from shell. 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 c

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 is

Re: How to set up a library?

2020-12-31 Thread Ben Rubinstein via use-livecode
r dispatch to that 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 i

Re: How to set up a library?

2020-12-31 Thread Ben Rubinstein via use-livecode
2020 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&#x

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? TIA,

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 vi

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

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 misnomer),

Re: iOS sharing extension - anyone ever made one?

2020-09-02 Thread Ben Rubinstein via use-livecode
k with as an iOS sharing extension 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

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 automatic

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

2020-07-27 Thread Ben Rubinstein via use-livecode
de wrote: Ben, Any 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 w

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 http://localhost:56789

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

2020-07-22 Thread Ben Rubinstein via use-livecode
rote: I got impatient/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

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

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 https://console.developers.google.com/apis/api/sheets.googleapis.com

Re: Replacement for Video Library on Mac (webcam feed)

2020-05-15 Thread Ben Rubinstein via use-livecode
hrieb Ben Rubinstein via use-livecode : I needed to do something with a webcam feed, and confidently set out to do this using revInitializeVideoGrabber/revPreviewVideo etc. After several times scratching my head wondering why it didn't work I finally read the note in the dictionary that say

Replacement for Video Library on Mac (webcam feed)

2020-05-15 Thread Ben Rubinstein via use-livecode
I needed to do something with a webcam feed, and confidently set out to do this using revInitializeVideoGrabber/revPreviewVideo etc. After several times scratching my head wondering why it didn't work I finally read the note in the dictionary that says "Support for the "Video Grabber" library on

Re: Small and strange problem

2020-05-11 Thread Ben Rubinstein via use-livecode
And re this part: >> Interestingly this >> >> on mouseUp pMouseButton >> try >> put (tMins/60) into tMins >> catch tError >> if tError then answer "An Error Occurred;" && tError & return & "tMins =" && tMins >> end try >> end mouseUp >> >> does NOT through an error or a catch err

Re: Wildcard? replaceText, offset?

2020-04-29 Thread Ben Rubinstein via use-livecode
Not sure what 'previous post' referred to. Reg ex "[0-9]+" (or equivalently "\d+") would match one or more integers. Provided this is the first/only instance of the pattern, I would have thought that regex does provide the neatest solution, e.g.: put "(" & iNewNumber ")" into tReplace

Re: Native Switch Button?

2020-04-23 Thread Ben Rubinstein via use-livecode
Hi Graham - I can't answer this in detail, but I have used the native switchbutton widget, a bit, without seeing any problem of the kind you describe. I'm catching the hiliteChanged message in the widget itself, not in the card script, for what that's worth. (By the way, it scales - it's just

Re: Is there a general mobile picker available?

2020-04-23 Thread Ben Rubinstein via use-livecode
Also, a standard LiveCode "Options" menu renders as a native picker on iOS (not sure about Android). This is convenient, because it works in a sensible way on desktop, and in a native way on iOS. Of course, it looks like a shitty motif button until the user touches it... On 23/04/2020 13:48, K

Re: Android Release Requires 21 but 911 Devices Get Dropped?

2020-04-22 Thread Ben Rubinstein via use-livecode
On 17/04/2020 20:58, Ralph DiMola via use-livecode wrote: From the release notes: 4.x support is dropped. That represents 5% of all active installs but may be a higher percentage of devices. It very much depends where you're looking (or more to the point, where you're looking to distribute). I

Re: Getting started with geographical coordinates

2020-04-07 Thread Ben Rubinstein via use-livecode
What a beautiful view you have! Interesting that Google Maps doesn't accept what3words yet - possibly viewed as a competitor. On 04/04/2020 01:49, Alex Tweedly via use-livecode wrote: And I'm at plump.magpie.tightest (sorry, no calculated height available, not even in annoying feet - but I'd gu

Re: Guessing the encoding of a test file...

2020-03-25 Thread Ben Rubinstein via use-livecode
On 19/03/2020 20:31, Paul Dupuis via use-livecode wrote: There is an enhancement request to support MacRoman decoding under WIndows and vice versa at https://quality.livecode.com/show_bug.cgi?id=22391 if you want to CC yourself to show interest. See also https://quality.livecode.com/show_bug.c

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

2020-03-11 Thread Ben Rubinstein via use-livecode
ke Kerner via use-livecode wrote: it might help us get started. i'm going to probably put out an rfq to wrap the v4 rest api, because we're going to have to come to a solution, either using lc or some other tool. On Sun, Mar 8, 2020 at 6:01 PM Ben Rubinstein via use-livecode < use-livecode

Re: google sheets - anybody doing anything besides mergGoogle

2020-03-08 Thread Ben Rubinstein via use-livecode
hich is a little disappointing since we financed the original external, so we sort-of hoped that it would become a thing, and it would get updated as required, but crap happens). On Thu, Mar 5, 2020 at 6:04 PM Ben Rubinstein via use-livecode < use-livecode@lists.runrev.com> wrote: On 0

Re: Targeting iOS 5.1

2020-03-06 Thread Ben Rubinstein via use-livecode
f LiveCode that matches said Xcode/macOS combo. The information is in the release notes which you can download from https://downloads.livecode.com/livecode/ < https://downloads.livecode.com/livecode/> I’d take a stab at LiveCode 6.7.11 Cheers Monte On 6 Mar 2020, at 10:12 am, Ben Rubinste

Targeting iOS 5.1

2020-03-05 Thread Ben Rubinstein via use-livecode
We've got some first generation iPads, which can't be updated past iOS 5.1. I think I could find useful roles for them around the office, if I could build to them. The essential https://livecode.com/docs/9-5-0/faq/faq/ doesn't go back as far as 5.1. But I know that LiveCode could in the past b

Re: google sheets - anybody doing anything besides mergGoogle

2020-03-05 Thread Ben Rubinstein via use-livecode
On 04/03/2020 20:37, Mike Kerner via use-livecode wrote: is anyone using anything besides mergGoogle to work with google sheets? care to share, if you are? I'm just using the Google Sheets API directly from LiveCode - just pushing JSON back and forth. The API is limited, but what's there is ve

Re: Synchronisation of sound and vision

2020-02-13 Thread Ben Rubinstein via use-livecode
I held off contributing to this discussion because it sounded like callbacks were a solid solution. However if that's not necessarily true it might be worth thinking about text tracks. This depends of course on what effect you want to achieve, and what platforms you're targeting. But way back

Re: HyperCard: the Myst story

2020-02-11 Thread Ben Rubinstein via use-livecode
Bah, I can only claim #17. Raw C (not even C++) on the CD-ROM, but vast amounts of HyperCard used in the production process. Mind you, if Cosmic Osmo only got #29, I consider their rankings very suspect! On 11/02/2020 05:07, Colin Holgate via use-livecode wrote: Thanks for that. Voyager did w

Re: directory tree -> array

2020-02-03 Thread Ben Rubinstein via use-livecode
On 22/01/2020 18:26, Richard Gaskin via use-livecode wrote: We have many handlers that deliver directory trees as lists, but arrays are a different beast.  Because the depth is both unknowable and varied, I can't think of a way to do this without resorting to "do". Surely this is what recursio

Bluetooth promiscuity - mergBLE confusion

2020-02-03 Thread Ben Rubinstein via use-livecode
If I execute `mergBLEScanForPeripheralsWithServices` with no parameters, I then get a shed-load of `mergBLEDidDiscoverPeripheral` messages, as expected (and as warned by the documentation for the service UUIDs parameter: If empty all discovered peripherals are returned regardless of their sup

Re: Basic URL loading on Android - can't resolve host

2020-01-31 Thread Ben Rubinstein via use-livecode
Rubinstein via use-livecode < use-livecode@lists.runrev.com> wrote: I've just started trying to create an Android app after a year or two. Restored Android studio etc, fine. The first thing I try to do is load a simple URL. But I get tsneterr:(6) Could not resolve host: goog

Basic URL loading on Android - can't resolve host

2020-01-31 Thread Ben Rubinstein via use-livecode
I've just started trying to create an Android app after a year or two. Restored Android studio etc, fine. The first thing I try to do is load a simple URL. But I get tsneterr:(6) Could not resolve host: google.com (or any other hostname from any other URL). Using the browser on the dev

Re: OMG text processing performance 6.7 - 9.5

2020-01-31 Thread Ben Rubinstein via use-livecode
Ooh, that's very likely to be a good tip. (I think the database stuff is a red herring, by the way: the bulk of the delay is in the processing stage, which is just reading text files in and out.) Thanks everyone for their input. I'll report back with what I can find (unless I can persuade IT

Re: OMG text processing performance 6.7 - 9.5

2020-01-30 Thread Ben Rubinstein via use-livecode
II, in any given table of text there will be just a few 'extended' characters - does that mean it all gets treated as four-byte data? I'll see how the negotiations with IT get on... Ben On 30/01/2020 14:04, Mark Waddingham via use-livecode wrote: On 2020-01-30 13:20, Ben Rubins

OMG text processing performance 6.7 - 9.5

2020-01-30 Thread Ben Rubinstein via use-livecode
I'm looking for a hints about where the speed has gone in the current (Unicode era) LiveCode text processing. I've been vaguely aware that text processing performance suffered in the transition, but haven't needed to focus on it before. The context is that I'm finally forced to replace an app t

Re: Script Editor disassociates - a lossy LC IDE bug

2019-12-06 Thread Ben Rubinstein via use-livecode
I've seen something similar - on Mac - it may be the same in which case I have some hope for you. The bug I've seen is that I make some changes, run the script, am surprised that my changes haven't fixed the behaviour I'm trying to correct. Twiddle the script, swear, same. I try setting a brea

scrollbars on iOS

2019-12-05 Thread Ben Rubinstein via use-livecode
I'm trying to make a very simple app featuring a large browser widget in a small group. Not entirely to my surprise, the browser widget is displayed over the scrollbars of the group (it's cropped to the outer borders of the group, but not taking account of the scrollbars). That's OK I thought

Re: Thermal printer bluetooth

2019-11-05 Thread Ben Rubinstein via use-livecode
Not sure of the current status but a couple of years ago I had excellent results using the mergBLE extensions - I was able to do both high- and low- level bluetooth things on Mac and on iOS. http://mergext.com/home/mergble/ I can't recall - when Monte joined LiveCode, did the mergExt package ge

Re: cr, lf, and reading in terminals/vim

2019-10-31 Thread Ben Rubinstein via use-livecode
My suggestion is to just bite the bullet and build LC where 'file' exports using LF on Mac Oh please yes! It's been 18 years since the Mac standardised on LF. (And AFAIK Metacard only started supporting the Mac eight years before that, so Metacard/Revolution/LiveCode has already been writing

Re: Using LiveCode & AppleScript to make mouse selection in another Mac application

2019-09-11 Thread Ben Rubinstein via use-livecode
Keyboard Maestro is indeed the best solution, thank you Bob. FWIW I'd just managed to find a horrible hack, by enabling the "Mouse Keys" facility, and using System Events to send numeric keypad codes to lock the mouse down and move it - one pixel at a time Keyboard Maestro is a rather bet

Re: Using LiveCode & AppleScript to make mouse selection in another Mac application

2019-09-10 Thread Ben Rubinstein via use-livecode
the applescript functionality. On Thu, Sep 5, 2019 at 2:38 PM Ben Rubinstein via use-livecode < use-livecode@lists.runrev.com> wrote: As the title says... I had a recollection that it was possible to construct a tool in LiveCode that would use AppleScript, System Events, and the ac

Using LiveCode & AppleScript to make mouse selection in another Mac application

2019-09-05 Thread Ben Rubinstein via use-livecode
As the title says... I had a recollection that it was possible to construct a tool in LiveCode that would use AppleScript, System Events, and the accessibility framework to perform actions on another (not naturally scriptable) app. I can do menu items, I can do keystrokes - but can I move the

Re: Problems with segmented control widget

2019-08-30 Thread Ben Rubinstein via use-livecode
t. Anyway, my real question is: is it just a bug, fixable in the widget definiton, that messages emitted by some widgets (at least Navbar is the same) are not handled in the same way as native controls? Or is this a fundamental limitation of LCB? Ben On 30/08/2019 09:30, Ben Rubinstein vi

Problems with segmented control widget

2019-08-30 Thread Ben Rubinstein via use-livecode
I've been using this widget and found some issues. Before I report the bug(s) I want to check if I'm missing some knowledge or understanding. At various times I need to change the hilitedItems on the control by script; at other times I need to react when the user does so. For the latter case I

Re: building to iOS 5.1

2019-07-03 Thread Ben Rubinstein via use-livecode
MacOS, I am not sure if you will be able to install Xcode 7.2 or 7.3. Hope this helps, Panos -- On Wed, 3 Jul 2019 at 13:24, Ben Rubinstein via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: I have an iPad 1 which I could save from the e-wasteheap if I could build

building to iOS 5.1

2019-07-03 Thread Ben Rubinstein via use-livecode
I have an iPad 1 which I could save from the e-wasteheap if I could build a simple app for it. My current install of LiveCode will only build back to iOS 8 (enough to do something useful for my iPad 2!). The splendid https://livecode.com/docs/9-0-4/faq/faq/#what-version-of-livecode-works-with

Re: BACKUPS !!!

2019-03-19 Thread Ben Rubinstein via use-livecode
Thanks for the reminder, Ralph, and glad you indeed had backups. On which subject... my top tip to friends, family, and even casual acquaintances is *Backblaze* network backup. It's not a substitute for local and off-site direct backups. I'm sure that as professionals in an IT-related field w

Re: Strip XMP Packet from the end of binary image data

2019-02-04 Thread Ben Rubinstein via use-livecode
On 01/02/2019 22:43, Richard Gaskin via use-livecode wrote: Tom Glod wrote: > The problem for me was that Fireworks was updating the clipboard data > every second ..effectively changing the content of the clipboard even > if it didn't change..The image was not changing , but the meta > d

Re: Strip XMP Packet from the end of binary image data

2019-02-04 Thread Ben Rubinstein via use-livecode
Hey don't knock the invisible characters in PDFs - that's a feature. I just recently wrote something in LiveCode precisely to generate PDFs containing invisible (but search-able, select=able, copy-able) text. On 01/02/2019 16:36, Bob Sneidar via use-livecode wrote: Adobe does a LOT of crap wh

Re: screensChanged ? (was Re: screenRect and screenLoc weirdness)

2019-01-14 Thread Ben Rubinstein via use-livecode
Aha! Thanks Paul, that's just what I needed. I looked through all the 'changed' messages in the dictionary but didn't spot that one. Ben On 14/01/2019 13:38, Paul Dupuis via use-livecode wrote: This is the 'desktopChanged' message -- see Dictionary On 1/14/20

screensChanged ? (was Re: screenRect and screenLoc weirdness)

2019-01-14 Thread Ben Rubinstein via use-livecode
Related to this: is there any possibility of getting a "screensChanged" message? I work on multi-monitor setups all the time, and have not been bothered by the issue with screenRects because they've always told the truth relative to each other. However, the problem is that my set-up changes mu

Re: Upgrading OpenSSL in 6.7.11

2019-01-08 Thread Ben Rubinstein via use-livecode
shake failure Ben On 08/01/2019 14:54, Ben Rubinstein via use-livecode wrote: Hi David, I've just run up against exactly this issue. It's the last six months of a legacy app that's going to be retired, so I'm reluctant to go through the whole process of validating it under L

Re: Upgrading OpenSSL in 6.7.11

2019-01-08 Thread Ben Rubinstein via use-livecode
Hi David, I've just run up against exactly this issue. It's the last six months of a legacy app that's going to be retired, so I'm reluctant to go through the whole process of validating it under LC 8. Did you ever get a solution to this? Many thanks, Ben On 14/09/2017 00:34, David Beck vi

Re: Upgrading OpenSSL in 6.7.11

2019-01-08 Thread Ben Rubinstein via use-livecode
Hi David, I've just run up against exactly this issue. It's the last six months of a legacy app that's going to be retired, so I'm reluctant to go through the whole process of validating it under LC 8. Did you ever get a solution to this? Many thanks, Ben On 14/09/2017 00:34, David Beck vi

Re: IMAP library, or support via tsNet?

2019-01-04 Thread Ben Rubinstein via use-livecode
arles. On 4 Jan 2019, at 5:56 am, Ben Rubinstein via use-livecode wrote: Aha! I didn't even realise that there was an imap URL protocol. Thanks Matthias, that's exactly what I needed. best regards, Ben On 03/01/2019 13:57, Matthias Rebbe via use-livecode wrote: Ben, i just did a

Re: IMAP library, or support via tsNet?

2019-01-03 Thread Ben Rubinstein via use-livecode
Headers,rOutHeaders,rResult,rBytes,pSettings) Did not try ssl, but should work also. Regards, Matthias Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de Am 03.01.2019 um 12:17 schrieb Ben Rubinstein via use-livecode : Is there

IMAP library, or support via tsNet?

2019-01-03 Thread Ben Rubinstein via use-livecode
Is there anything in the way of an IMAP library around? My needs are relatively simple: I want to connect to an iMAP server, recursively list folders and fetch the size of each (if necessary by fetching the size of each message) e.g. in JavaScript with this library https://github.com/

IMAP library, or support via tsNet?

2019-01-03 Thread Ben Rubinstein via use-livecode
Is there anything in the way of an IMAP library around? My needs are relatively simple: I want to connect to an iMAP server, recursively list folders and fetch the size of each (if necessary by fetching the size of each message) e.g. in JavaScript with this library https://github.com/

Re: iOS sharing extension

2018-11-20 Thread Ben Rubinstein via use-livecode
You need to do two things: - add code in your app to handle the "urlWakeUp" message, see the dictionary entry and http://lessons.livecode.com/m/4069/l/58672-using-custom-url-schemes - add entries in the app's plist to tell the operating system what file types your app can handle, see https:/

Re: What is LC's internal text format?

2018-11-20 Thread Ben Rubinstein via use-livecode
a string - so it should throw an error rather than possibly (probably?) do the wrong thing. On 20/11/2018 17:55, Mark Wieder via use-livecode wrote: On 11/20/18 8:33 AM, Ben Rubinstein via use-livecode wrote: Would it not be better to refuse to make an assumption, i.e. require an explicit

Re: What is LC's internal text format?

2018-11-20 Thread Ben Rubinstein via use-livecode
pe of the value - MCStringRef or MCDataRef? thanks for the continuing education! Ben On 13/11/2018 23:44, Monte Goulding via use-livecode wrote: On 14 Nov 2018, at 6:33 am, Ben Rubinstein via use-livecode wrote: That's really helpful - and in parts eye-opening - thanks Mark. I ha

Re: What is LC's internal text format?

2018-11-13 Thread Ben Rubinstein via use-livecode
For the avoidance of doubt, all my outrage is faux outrage. Public life on both sides of the Atlantic (and around the world) has completely exhausted capacity for real outrage. Come back Geoff! Ben On 13/11/2018 17:29, Mark Waddingham via use-livecode wrote: On 2018-11-13 18:21, Geoff Canyon

Re: What is LC's internal text format?

2018-11-13 Thread Ben Rubinstein via use-livecode
string to 'string', does it always interpret the source as the native 8-bit encoding, or does it have some heuristic to decide whether it would be more plausible to interpret the source as UTF16? Thanks again for all the detail! Ben On 13/11/2018 13:31, Mark Waddingham via use-livecode

Re: What is LC's internal text format?

2018-11-13 Thread Ben Rubinstein via use-livecode
I'm grateful for all the information, but _outraged_ that the thread that I carefully created separate from the offset thread was so quickly hijacked for the continuing (useful!) detailed discussion on that topic. From recent contributions on both threads I'm getting some more insights, but I'

<    1   2   3   >