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

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

2020-05-15 Thread Ben Rubinstein via use-livecode
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 "Su

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

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

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

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,

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

2020-04-23 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).

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

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

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

2020-03-11 Thread Ben Rubinstein via use-livecode
elp 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@lists.runrev.com> wrote: Mike, Very happy to sha

Re: google sheets - anybody doing anything besides mergGoogle

2020-03-08 Thread Ben Rubinstein via use-livecode
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 04/03/2020 20:37, Mike Kerner v

Re: Targeting iOS 5.1

2020-03-06 Thread Ben Rubinstein via use-livecode
hes 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 Rubinstein via use-livecode

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

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

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

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

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

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: google.co

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

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
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 Rubinstein via use-livecode wrote: The context is that I'm finally

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

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

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

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

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

2019-09-10 Thread Ben Rubinstein via use-livecode
hu, 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 accessibility framework to perform actions

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

Re: Problems with segmented control widget

2019-08-30 Thread Ben Rubinstein via use-livecode
y, 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 via use-live

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

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

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

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 >

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

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/2019 8:22 AM, Ben Rubinstein via

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

Re: Upgrading OpenSSL in 6.7.11

2019-01-08 Thread Ben Rubinstein via use-livecode
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 LC 8. Did you ever get

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

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

Re: IMAP library, or support via tsNet?

2019-01-04 Thread Ben Rubinstein via use-livecode
. 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 quick test

Re: IMAP library, or support via tsNet?

2019-01-03 Thread Ben Rubinstein via use-livecode
utHeaders,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 anything i

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

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

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

Re: What is LC's internal text format?

2018-11-20 Thread Ben Rubinstein via use-livecode
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 convers

Re: What is LC's internal text format?

2018-11-20 Thread Ben Rubinstein via use-livecode
nks 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 have a few follow-up questions. Does textEncode _alw

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

Re: What is LC's internal text format?

2018-11-13 Thread Ben Rubinstein via use-livecode
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 wrote: On 2018-11-13 12:43, Ben Rubinstein via use-livecode wrote: I'm grateful for all

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

What is LC's internal text format?

2018-11-12 Thread Ben Rubinstein via use-livecode
This is something that I've been wondering about for a while. My unexamined assumption had been that in the 'new' fully unicode LC, text was held in UTF-8. However when I saved some text strings in binary I got something like UTF-8 - but not quite. And the recent experiments with offset

Re: How to find offsets in Unicode Text fast

2018-11-12 Thread Ben Rubinstein via use-livecode
Coming late to this discussion. Very excited by this approach of converting everything to UTF-32 in order to do fast offsets. I'm really confused that case-insensitive should work at all for UTF-16 or UTF-32; at this point as far as I understand it, LC has no idea that how to correctly

Re: Using Dylibs in LiveCode?

2018-10-17 Thread Ben Rubinstein via use-livecode
, at 9:02 pm, Ben Rubinstein via use-livecode wrote: Thanks Monte. Where can I find some documentation as to how I can use this? I forgot to mention examples in the repo that may be helpful: C linking to shared libraries in the code folder: https://github.com/livecode/livecode/tree/develop

Set quality/compression of images in PDFs?

2018-10-17 Thread Ben Rubinstein via use-livecode
Is there any way to control the quality/compression of images in PDFs generated by LiveCode? Putting a 1MB JPG on a card, and printing from the rect of the image to the page rect, makes about a 6MB PDF file. Changing the jpeg quality of the input JPG seems to make no difference. Replacing

Re: Using Dylibs in LiveCode?

2018-10-16 Thread Ben Rubinstein via use-livecode
Thanks Monte. Where can I find some documentation as to how I can use this? Many thanks, Ben On 15/10/2018 22:31, Monte Goulding via use-livecode wrote: On 16 Oct 2018, at 1:29 am, Ben Rubinstein via use-livecode wrote: I've got a requirement for which there's a useful library, which

Using Dylibs in LiveCode?

2018-10-15 Thread Ben Rubinstein via use-livecode
I've got a requirement for which there's a useful library, which is made available for MacOS as a 'dylib'. What are my options for accessing this from LC? (I don't have a to ship an application using this library, I just want to be access it on my own machines, ideally within the IDE.) TIA,

Re: Not many people know this.

2018-08-16 Thread Ben Rubinstein via use-livecode
Sorry, did somebody just give me an excuse to indulge in nostalgia? On 16/08/2018 18:48, Richard Gaskin via use-livecode wrote: AFAIK all xTalks have supported styled text.  It may be that HC 1.0 only provided that for the whole field (I can't recall), It was definitely the case that HC 1.0

Re: Anyone using Older LC versions?

2018-08-13 Thread Ben Rubinstein via use-livecode
I still use 6.7.11 regularly for the same reason as Paul. (9 for all new work.) Ben On 12/08/2018 13:40, Paul Dupuis via use-livecode wrote: We still have a few pre-Unicode stacks (all under LC 6.7.11). It is just taking a lot of time (that we don't have) to get them all migrated and tested to

Re: Data Persistence

2018-07-31 Thread Ben Rubinstein via use-livecode
Hi John, welcome to the gang. FWIW, if your needs are super-simple, saving the values of various fields - and especially if those fields are not going to have multi-line values, you may want to check out the keywords 'combine' and 'split'. Combine takes a (simple, not nested) array and

Re: Oauth2 (Dropbox) on iOS

2018-07-31 Thread Ben Rubinstein via use-livecode
nks, Ben On 25/07/2018 23:53, Monte Goulding via use-livecode wrote: On 26 Jul 2018, at 12:54 am, Ben Rubinstein via use-livecode wrote: I've been trying with some variations of this - so far without success! Hi Ben As I just commented on the bug report you should be able to resolve t

Re: Oauth2 (Dropbox) on iOS

2018-07-25 Thread Ben Rubinstein via use-livecode
, Panos -- On Wed, Jul 25, 2018 at 2:56 PM, Ben Rubinstein via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: Aha! Thanks Sean, that was a good tip: I now understand the problem. On simulator, my cut-down test app worked fine. On device,

Re: Oauth2 (Dropbox) on iOS

2018-07-25 Thread Ben Rubinstein via use-livecode
fo.plist rather than requiring a completely separate one for anything unsupported. Ben On 24/07/2018 22:22, Pi Digital via use-livecode wrote: Open a console with either the device connected or the simulator and see what calls are made when the allow button is pressed On 24 Jul 2018, at 19:20, Be

Oauth2 (Dropbox) on iOS

2018-07-24 Thread Ben Rubinstein via use-livecode
I feel I've been through this before, but I've not been on it for a while, and I'm still (again) stuck. Using Oauth2 to connect an app to the Dropbox API works fine on desktop. On iOS, I get the overlay; with the Dropbox log-in; I sign in, and it then shows the message that this app would

Re: [ANN] Release 8.1.10

2018-05-22 Thread Ben Rubinstein via use-livecode
Hi Panos, Thanks for this. Can I just check: > ** Note 8.1.10 STABLE is the last planned release in the 8.x series ** Is 8.2.0 a dead spur in that case? How does it relate to 8.1.10? Many thanks, Ben ___ use-livecode mailing list

Re: Has Anyone Got A Directory "Walker" Available

2018-05-03 Thread Ben Rubinstein via use-livecode
FWIW I don't use recursion for directory walking. My typical routine (typing directly into email, may contain errors) is something along the following lines: -- assumes tRootFolder is the path to start reviewing put return into tFoldersToDo repeat until tFoldersToDo =

Re: Not sure what to do.....can I run this by you guys?

2018-03-18 Thread Ben Rubinstein via use-livecode
I think this depends on the base URL. If it's with a simple URL, there's no reason why an appended '#' parameter should cause a browser to request it fresh; as Mike says, it indicates scrolling to an anchor in the page. So it's perfectly reasonable for a smart browser - or a caching layer on

When did 'throw' stop being handled properly in the IDE?

2018-03-15 Thread Ben Rubinstein via use-livecode
When I was a lad, you could use throw with abandon. In the IDE, if you didn't catch it, the IDE opened the debugger at the appropriate level, and threw up a polite dialog explaining: The following user thrown error was generated and not handled, so it was intercepted by

Re: "module format not supported"

2018-02-05 Thread Ben Rubinstein via use-livecode
Thanks Hermann, that filled me in. Ben On 05/02/2018 11:50, hh via use-livecode wrote: There is also a forum thread to that problem with an answer by LC-Mark. http://forums.livecode.com/viewtopic.php?p=162674#p162674 ___ use-livecode mailing list

"module format not supported"

2018-02-05 Thread Ben Rubinstein via use-livecode
I had a little module (two actually - both derivatives of the LiveCode Line Graph widget). In a stack that I only used in the IDE, so this is nothing to do with standalones. I last used this stack two weeks ago - almost certainly under LC 8.1.8, if not 8.1.7. Last week I installed and at

Re: Reading from xls or xlsx - with style

2018-01-18 Thread Ben Rubinstein via use-livecode
, Matthias Matthias Rebbe Tel +49 5741 31 ‌https://matthiasrebbe.eu <https://matthiasrebbe.eu/> <https://matthiasrebbe.eu/ <https://matthiasrebbe.eu/>>‌ Am 16.01.2018 um 19:10 schrieb Ben Rubinstein via use-livecode <use-livecode@lists.runrev.com <mailto:use-live

Reading from xls or xlsx - with style

2018-01-16 Thread Ben Rubinstein via use-livecode
I'm aware that there are a couple of libraries floating around for reading Excel documents - do any of them allow the formatting of runs of text within cells to be read? I want to import some data where some of the text in a cell may contain some parts which are in italics or bold. Are there

  1   2   >