dateitems day-of-week disjunction

2017-01-25 Thread Ben Rubinstein via use-livecode
The dictionary says that the seventh item of dateitems is the numeric day of the week where Monday is day 1, Tuesday is day 2, and so forth When I try this I find that today, Wednesday, the seventh item is 4. If I change the date to Sunday, it's 1. (Both docs and behaviour are consistent

Touch interpretation?

2017-02-20 Thread Ben Rubinstein via use-livecode
Being a lazy sort, until now on mobile apps (which are all for internal use, not publication) I've just used the standard controls, and at most tracked mousedown/mouseup (for convenience of desktop development) to drag something. However now I'm trying to make a rather more native-like app,

Inclusions on Android (was Re: Are SVG icons supposed to work on Android?)

2017-02-21 Thread Ben Rubinstein via use-livecode
Immediately after sending the below, I decide to put that project on hold and try another one on Android - and found that a segmented control widget was missing. I switched to manually-selected inclusions, and was then able to see the segmented control widget on Android; and then went back to

Are SVG icons supposed to work on Android?

2017-02-21 Thread Ben Rubinstein via use-livecode
per the subject really - I added some snazzy SVG icons into my app, for no better reason than that I could - but when I built to Android, one of them didn't appear at all, and when the other is supposed to briefly fade in and out again, instead a square of approximately the same size does so.

Re: Inclusions on Android (was Re: Are SVG icons supposed to work on Android?)

2017-02-21 Thread Ben Rubinstein via use-livecode
On Tue, 21 Feb 2017 at 17:32, Ben Rubinstein via use-livecode < use-livecode@lists.runrev.com> wrote: Immediately after sending the below, I decide to put that project on hold and try another one on Android - and found that a segmented control widget was missing. I switched to ma

Re: Where did the cErrorsList go?

2017-02-28 Thread Ben Rubinstein via use-livecode
: I'm not sure if its the same thing, but you might try "put line xx of the scriptexecutionerrors" On Mon, Feb 27, 2017 at 9:11 AM, Ben Rubinstein via use-livecode < use-livecode@lists.runrev.com> wrote: For years I've been accustomed to interpreting the error reported in a '

Re: Where did the cErrorsList go?

2017-02-28 Thread Ben Rubinstein via use-livecode
-- On Tue, Feb 28, 2017 at 10:18 AM, Ben Rubinstein via use-livecode < use-livecode@lists.runrev.com> wrote: Thanks Thierry and Mike! That's it. And better than the old approach. How do you know about this? AFAICT it isn't listed in the dictionary anywhere (whereas the old approach is still recom

Where did the cErrorsList go?

2017-02-27 Thread Ben Rubinstein via use-livecode
For years I've been accustomed to interpreting the error reported in a 'catch' statement using put line xx of the cErrorsList of card 1 of stack "revErrorDisplay" In 8.1.3, AFAICT, the stack "revErrorDisplay" has no such property. The dictionary still recommends this technique. Was there a

mobile sound: set start point?

2017-01-10 Thread Ben Rubinstein via use-livecode
With a player object, we can get/set the 'currentTime' property to play a portion of a sound file. Is there any way to do the same on mobile (specifically, iOS), or are we limited to always playing from the start of a clip? TIA, Ben ___

Generating frames of video from LC

2017-03-26 Thread Ben Rubinstein via use-livecode
Is there a way to generate a video file directly out of LC, eg creating a frame on a stack window and saving each frame directly? At the moment the best options I can see are either to display the frames in real-time, while using external software to record the screen; or output a massive

Overlaying on video

2017-03-26 Thread Ben Rubinstein via use-livecode
I'm trying to overlay some graphics on a video, and hit a couple of problems. The first, which drove me somewhat mad until I found an out, was that the video was always displayed on top of other LC elements - graphics, fields. This is using a player object; I found that the controller would be

spotting a mouseclick in the transparent area of an image

2017-03-30 Thread Ben Rubinstein via use-livecode
I have a group containing a grid of square images. Some of the images are gifs, some are pngs, and some of the latter have an alpha channel with some transparent bits. The images are all used as buttons, to control something else - the images in essence are labels or icons for the buttons.

Re: Overlaying on video

2017-03-27 Thread Ben Rubinstein via use-livecode
ay the movie the movie put itself on top of the graphic. So what to I need to do to recreate your solution? Thanks, Rick On Mar 26, 2017, at 6:54 PM, Ben Rubinstein via use-livecode <use-livecode@lists.runrev.com> wrote: I'm trying to overlay some graphics on a video, and hit a couple

Re: Overlaying on video

2017-03-27 Thread Ben Rubinstein via use-livecode
put other objects on top of the player object, if alwaysBuffer==true. This has broken in LC 8.1.0+. A workaround is described in this bug report: http://quality.livecode.com/show_bug.cgi?id=19444 Best, Panos -- On Mon, Mar 27, 2017 at 1:35 PM, Ben Rubinstein via use-livecode < use-livec

OMG WTF detailed files BST?

2017-03-31 Thread Ben Rubinstein via use-livecode
I have an interesting situation. The detailed files is reporting a LIE in modification dates. I have a standalone app which outputs a report including the modification date of a bunch of files (and subsequently interprets and acts on it). On Monday, a BAD THING happened at my client's side.

Re: OMG WTF detailed files BST?

2017-04-03 Thread Ben Rubinstein via use-livecode
The plot is slightly thickening. I restarted the VM, set the date+time to not adjust for daylight saving, restarted again. This removed some 30,000 images from the list with allegedly modified timestamps; the ones that were no longer consider to have changed were - in some year or other -

Re: spotting a mouseclick in the transparent area of an image

2017-04-06 Thread Ben Rubinstein via use-livecode
to be active for example a circular button. The 1% tone should be indistinguishable from the transparent area and will still show the background through. Paul On Mar 30, 2017, at 10:52 AM, Ben Rubinstein via use-livecode <use-livecode@lists.runrev.com> wrote: I have a group containing

Re: is LCs answer folder state of the art?

2017-03-13 Thread Ben Rubinstein via use-livecode
Hi Tiemo, I'm not sure which OS you're looking at (or which version of LC). On MacOS, I'm not seeing the behaviour you describe: for me, "answer folder" brings up a file selector and as I navigate, I see all the contents of folders as normal, with all the files greyed out, so that only

Re: sms,MMS, and Push Notificstions

2017-08-16 Thread Ben Rubinstein via use-livecode
Just to add a +1 for OneSignal. We've used it for a couple of projects and it's great. In theory you could run your own push notification server, in practise as Andrew noted it's a ton of work, and unless your needs are very unusual probably not worth it. There are a number of commercial

[OT] HyperCard preservation society

2017-08-11 Thread Ben Rubinstein via use-livecode
This is fabulous: http://blog.archive.org/2017/08/11/hypercard-on-the-archive-celebrating-30-years-of-hypercard/ Submit your jewels of yesteryear! best Ben ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

Re: Codesigning fail LC 8.1.5, Xocde 8.3.3

2017-07-13 Thread Ben Rubinstein via use-livecode
come soon, which will allow to choose the certificate based on the unique HEX id rather than the (non-unique) name. http://quality.livecode.com/show_bug.cgi?id=20030 Hope this helps, Panos -- On Thu, Jul 13, 2017 at 11:24 AM, Ben Rubinstein via use-livecode < use-livecode@lists.runrev.com&g

Re: [ANN] Release 8.1.5

2017-07-11 Thread Ben Rubinstein via use-livecode
Hi Panos, On 10/07/2017 18:20, panagiotis merakos via use-livecode wrote: @MIke I guess that Xcode8.3.3 is the one in /Applications/Xcode.app? BTW I would suggest to have separate folders for each Xcode version, to avoid problems where the Xcode version is updated automatically (the one in

Re: [ANN] Release 8.1.5

2017-07-11 Thread Ben Rubinstein via use-livecode
s that will used when commands such as "xcrun" are called from within LiveCode. Those commands are called when building iOS standalones from the Standalone Builder. Hope this helps, Panos -- On Tue, Jul 11, 2017 at 5:45 PM, Ben Rubinstein via use-livecode < use-livecode@lists.

Codesigning fail LC 8.1.5, Xocde 8.3.3

2017-07-13 Thread Ben Rubinstein via use-livecode
Have proved that Xcode can make a default project, build and install on an iPad running 10.3.2. This is on a fresh MacBook running Sierra. Used a couple of weeks ago (with LC 8.1.4) for the same purpose (my main machine is on El Capitan, hence can't have Xcode 8.3.3, hence can't build for

Re: synonyms

2017-07-04 Thread Ben Rubinstein via use-livecode
On 04/07/2017 09:18, Mark Waddingham via use-livecode wrote: Syntax is just sugar - you need to implement the feature at all levels underneath for it to work... Like most things (unfortunately), there's usually a great deal of depth involved - usually directly proportional to the generality of

Re: PrintPaperRectangle

2017-07-04 Thread Ben Rubinstein via use-livecode
By synchronicity, I start writing a very similar message a few days ago. I stopped writing the email when I'd typed the words "is there another print property I should be using?" and as is often the case when I draft a despairing message to the use- list, this prompted me to look a bit harder

Re: synonyms

2017-07-04 Thread Ben Rubinstein via use-livecode
Anniversary vote! Renew your vows! On 04/07/2017 18:20, Mark Wieder via use-livecode wrote: On 07/04/2017 08:39 AM, Ben Rubinstein via use-livecode wrote: This is also at: http://quality.livecode.com/show_bug.cgi?id=8945 Heh. I just went to add my vote to this and found that I had already

Re: sorting algorithms

2017-07-03 Thread Ben Rubinstein via use-livecode
I think this series of videos may be what you're looking for: https://www.youtube.com/user/AlgoRythmics/videos On 30/06/2017 17:39, Bob Sneidar via use-livecode wrote: I thought it was going to explain the different sort methods. I suppose which one you use depends on the nature of the data

Re: Stupid Q No 999: mergeBLE

2017-04-24 Thread Ben Rubinstein via use-livecode
You may find this alternative documention of all the functions more helpful in this context: http://mergext.com/home/mergble/ On 23/04/2017 21:56, Richmond Mathewson via use-livecode wrote: " All of the addons have full documentation making it a joy to use them in your app." Well I am

Re: Testing iOS apps on attached device

2017-09-18 Thread Ben Rubinstein via use-livecode
"baked" into the app, not "backed"! On 18/09/2017 09:59, Ben Rubinstein via use-livecode wrote: Hi Jacque, Thanks for helping. Check to be sure that the profile in standalone settings is the same one that XCode is using. How would that work? Surely the profile is back

Re: Testing iOS apps on attached device

2017-09-18 Thread Ben Rubinstein via use-livecode
it to install the app that LC built on to my phone.) Does Xcode have a separate profile to install a app - if so where would I find that? many thanks, Ben On 16/09/2017 22:08, J. Landman Gay via use-livecode wrote: On 9/16/17 1:40 PM, Ben Rubinstein via use-livecode wrote: Thanks for the reply

Re: Testing iOS apps on attached device

2017-09-16 Thread Ben Rubinstein via use-livecode
the heck is going on, do the install using xcode and you'll get the error message. After you have the PP issue resolved, testing directly on the device will work. On Sat, Sep 16, 2017 at 10:13 AM, Ben Rubinstein via use-livecode < use-livecode@lists.runrev.com> wrote: It's taken me ages to

Testing iOS apps on attached device

2017-09-16 Thread Ben Rubinstein via use-livecode
It's taken me ages to get my system back together to do iOS development properly (forced to update phone, so then couldn't develop to it without latest xcode, but that required sierra, needed to not update to Sierra for a while.. bah). So finally I've got my MacBook on Sierra, I've got Xcode

Re: (Browser) Widget documentation

2017-09-20 Thread Ben Rubinstein via use-livecode
, Ben Rubinstein via use-livecode < use-livecode@lists.runrev.com> wrote: General question: where can users find a reference to the supported properties/commands/functions of widgets? E.g. the properties of a Segmented Control widget? More specific immediate question: where can I find a ref

Re: (Browser) Widget documentation

2017-09-20 Thread Ben Rubinstein via use-livecode
That's excellent, thanks H! Ben On 20/09/2017 17:03, hh via use-livecode wrote: Ben R. wrote: General question: where can users find a reference to the supported properties/commands/functions of widgets? E.g. the properties of a Segmented Control widget? More specific immediate question: where

(Browser) Widget documentation

2017-09-20 Thread Ben Rubinstein via use-livecode
General question: where can users find a reference to the supported properties/commands/functions of widgets? E.g. the properties of a Segmented Control widget? More specific immediate question: where can I find a reference for the Browser widget? Even more specific question: how can I

Re: (Browser) Widget documentation

2017-09-20 Thread Ben Rubinstein via use-livecode
Now I feel even more foolish for not finding any of these. Thanks Ali, everyone! Ben On 20/09/2017 17:29, Ali Lloyd via use-livecode wrote: Alternatively, right-click on the widget in question and choose 'Show Documentation' On Wed, Sep 20, 2017 at 5:03 PM hh via use-livecode <

HTTP PUT?

2017-10-06 Thread Ben Rubinstein via use-livecode
We can perform an HTTP GET using "get URL xxx" We can perform an HTTP POST using "post yy to xxx" How can we perform an HTTP PUT? TIA, Ben ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe

Using shell on Windows

2017-10-03 Thread Ben Rubinstein via use-livecode
Attempting to debug an ugly memory problem on a remote machine, I've installed pslist.exe, one of the SysInternals tools, and want my LiveCode script to invoke it via "shell" at various intervals to get some data about memory usage. Initially I just dropped pslist.exe into the same folder as

Trying to use OAuth2 for Dropbox in 9 DP 9

2017-10-10 Thread Ben Rubinstein via use-livecode
I'm attempting to use the OAuth2 and Dropbox libraries in LC 9.0.0 (dp9). (If I test the Dropbox functions with a temporary access token for my app generated from the Dropbox api website, it's fine.) When I try to use the Oauth2 command to implement this for users, I get a sheet dialog with

Re: Trying to use OAuth2 for Dropbox in 9 DP 9

2017-10-10 Thread Ben Rubinstein via use-livecode
use-livecode@lists.runrev.com> wrote: On 10 Oct 2017, at 9:53 pm, Ben Rubinstein via use-livecode < use-livecode@lists.runrev.com> wrote: The redirect URI I have registered for my app is http://127.0.0.1:51051 <http://127.0.0.1:51051/> Add a trailing slash http://127.

Dropbox library (LC 9) - does dropboxGetCurrentAccount work?

2017-10-10 Thread Ben Rubinstein via use-livecode
New dropbox library great... but when I try to use dropboxGetCurrentAccount, I consistently get a 400 error code (i.e. Bad Request). Is this working for anyone else (Mike K??) TIA, Ben ___ use-livecode mailing list use-livecode@lists.runrev.com

libURLLast/xx/headers on mobile?

2017-10-13 Thread Ben Rubinstein via use-livecode
I'm trying to debug a case where making some calls to an external API works fine on desktop, but fails on mobile (both iOS and Android) with "400 bad request". Unfortunately it seems that libURLLastHTTPHeaders() and libURLLastRHHeaders() aren't available on mobile. Is there some other way to

Re: OAuth2 (LC 9) on mobile?

2017-10-16 Thread Ben Rubinstein via use-livecode
is to do with inclusions, I have two relevant feature suggestions in LQCC - I'd be interested in comments: http://quality.livecode.com/show_bug.cgi?id=20574 http://quality.livecode.com/show_bug.cgi?id=18199 Ben On 13/10/2017 08:17, Ben Rubinstein via use-livecode wrote: Now that Greg's Oauth2 issue

Re: Dropbox library (LC 9) - does dropboxGetCurrentAccount work?

2017-10-11 Thread Ben Rubinstein via use-livecode
at all; and that what LiveCode does when posting empty to a URL is a post with a content-length of 0 - and Dropbox won't accept it. So I'm puzzled as to how this is working for you. Are you using a different version of DP9 with a different tsNet version perhaps? TIA, Ben On 11/10/2017 08:0

Re: Dropbox library (LC 9) - does dropboxGetCurrentAccount work?

2017-10-11 Thread Ben Rubinstein via use-livecode
Hi Mike, Thanks for checking. According to the Dictionary, dropboxGetCurrentAccount only takes one parameter dropboxGetCurrentAccount pAccessToken, [pCallback] if it's supposed to take two, that would explain the 400 error! But how does one obtain the account_id in the first place?

Re: Dropbox library (LC 9) - does dropboxGetCurrentAccount work?

2017-10-11 Thread Ben Rubinstein via use-livecode
. If you want, you can also patch the library code, but if you do, I'd suggest moving your project to LC8 and including the patched library stack as a substack. On Wed, Oct 11, 2017 at 6:45 AM, Ben Rubinstein via use-livecode < use-livecode@lists.runrev.com> wrote: You beat me to it! On

Re: OAuth2 Status?

2017-10-12 Thread Ben Rubinstein via use-livecode
I downloaded your stack from LQCC, substituted my slack client id and secret, and port. I then got a sheet with error because the 'scope' parameter wasn't specified. When I specified that, I got a nice Slack login window... which complained that my free account was up to its limit of

Re: OAuth2 Status?

2017-10-12 Thread Ben Rubinstein via use-livecode
Hi Greg, What platform are you doing this on? I've found Oauth2 in LC9dp9 (Business) is working okay for me with both Dropbox and Slack - on Mac. On iOS however I've had no luck. I'd be interested to hear if anyone has got it working on iOS or Android. Ben On 09/10/2017 18:58, pink via

Re: Atkinson dither algorithm & 'for each' loop

2017-10-12 Thread Ben Rubinstein via use-livecode
Hi Peter, One note of caution regarding the use of the "repeat for each" loop, whilst you will get a loop iteration for every value in the collection (fldhexa3 in your example), you are not guaranteed the order in which they will occur. Are you sure? My understanding has always been that

Re: OAuth2 (LC 9) on mobile?

2017-10-16 Thread Ben Rubinstein via use-livecode
nyone else tried using Oauth2 on mobile, for Dropbox or anything else? Many thanks, Ben On 16/10/2017 16:07, Ben Rubinstein via use-livecode wrote: OAuth2 does work on mobile - I needed to include the Browser widget in the standalone. (The 'search for inclusions' doesn't know to include the Oauth

Re: libURLLast/xx/headers on mobile?

2017-10-16 Thread Ben Rubinstein via use-livecode
Aha, thanks Mark! That did it. On 13/10/2017 18:23, Mark Waddingham via use-livecode wrote: On 2017-10-13 12:15, Ben Rubinstein via use-livecode wrote: I'm trying to debug a case where making some calls to an external API works fine on desktop, but fails on mobile (both iOS and Android

Re: OAuth2 (LC 9) on mobile?

2017-10-13 Thread Ben Rubinstein via use-livecode
Now that Greg's Oauth2 issue has been resolved, can I check whether anyone has seen the Oauth2 library work on mobile? I don't want to raise an LQCC if it's just me doing something wrong! thanks, Ben On 11/10/2017 17:19, Ben Rubinstein via use-livecode wrote: To clarify, by "everything

Re: Repeat For Each Iteration Order (was Re: use-livecode Digest, Vol 169, Issue 18)

2017-10-13 Thread Ben Rubinstein via use-livecode
On 12/10/2017 18:16, Mark Waddingham via use-livecode wrote:    - element chunks are ordered for arrays which are sequences*, unordered for all other arrays * An array is a sequence if: it has only integer keys, and keys range from 1 up to the number of elements in the array.   e.g. If the

Slack library?

2017-10-07 Thread Ben Rubinstein via use-livecode
Has anyone interfaced with Slack using LiveCode? If so, any tips, experience, or code to share? Many thanks, Ben ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: Dropbox library (LC 9) - does dropboxGetCurrentAccount work?

2017-10-11 Thread Ben Rubinstein via use-livecode
like this one are handled. Hopefully I'll have both of those patched and up to my repo and the PR submitted, today. If you want, you can also patch the library code, but if you do, I'd suggest moving your project to LC8 and including the patched library stack as a substack. On Wed, Oct 11, 20

Re: Dropbox library (LC 9) - does dropboxGetCurrentAccount work?

2017-10-11 Thread Ben Rubinstein via use-livecode
You beat me to it! On 11/10/2017 11:23, Ben Rubinstein via use-livecode wrote: Hi Mike (or anyone else) Can you confirm that dropboxGetCurrentAccount (NOT dropboxGetAccount) is working for you in LC 9.0.0 dp 9? It consistently fails for me, and the problem seems to be precisely the lack

Re: Dropbox library in LC 9 - centralise the access token?

2017-10-11 Thread Ben Rubinstein via use-livecode
since it's written in LC it should be doable by either of us...or anyone On Wed, Oct 11, 2017 at 12:12 PM, Ben Rubinstein via use-livecode < use-livecode@lists.runrev.com> wrote: The new Dropbox library is (going to be) great. But while it's still only in DP, can I suggest a modest improve

OAuth2 (LC 9) on mobile?

2017-10-11 Thread Ben Rubinstein via use-livecode
Does the new OAuth2 library in LC 9 work on mobile? Docs suggest it should, but testing on iPad I just get an interesting dimmed out effect on the stack - although in fact everything still works - where I would have expected a sheet or switching to Safari or some other way of displaying a web

Dropbox library in LC 9 - centralise the access token?

2017-10-11 Thread Ben Rubinstein via use-livecode
The new Dropbox library is (going to be) great. But while it's still only in DP, can I suggest a modest improvement? Every single command in the library takes an access token as the first parameter. Given that most uses of the library will involve multiple calls; and the cases where an app is

Re: OAuth2 (LC 9) on mobile?

2017-10-11 Thread Ben Rubinstein via use-livecode
7:02, Ben Rubinstein via use-livecode wrote: Does the new OAuth2 library in LC 9 work on mobile? Docs suggest it should, but testing on iPad I just get an interesting dimmed out effect on the stack - although in fact everything still works - where I would have expected a sheet or switching to

Re: Dropbox library (LC 9) - does dropboxGetCurrentAccount work?

2017-10-11 Thread Ben Rubinstein via use-livecode
Confessions of ignorance time: - how do you add a script-only stack as a substack to another stack? Or does one just past the text into a button or similar and start using it? This is in relation to 8. For 9, I simply replaced /Contents/Tools/Toolset/libraries/dropbox.livecodescript

Re: Dropbox library in LC 9 - centralise the access token?

2017-10-11 Thread Ben Rubinstein via use-livecode
> Does Dropbox limit syncing to a single account? As far as I know, yes. That doesn't mean the API enforces this - only that every app and interface I've come across for it does - you log in as a given account, and you're operating on that account. There is a folder "~/Dropbox" (or Windows

SVG (in LiveCode) can do that?!

2017-11-16 Thread Ben Rubinstein via use-livecode
Paging Mark Waddingham: https://www.youtube.com/watch?v=jLgb3CVVTRw ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: The coming of SVG

2017-11-06 Thread Ben Rubinstein via use-livecode
On 06/11/2017 16:52, Mark Waddingham via use-livecode wrote: In any case, introducing a new control (which is far more than an image) in the first instance doesn't stop it at some point 'feeling' like an image from the point of view of script in the future so it seems like a getting the

Re: Xcode 9.1 support

2017-11-06 Thread Ben Rubinstein via use-livecode
On this topic... has anyone else noticed in switching between versions of LC that it can knock out the settings for selected Xcode? On 06/11/2017 11:55, panagiotis merakos via use-livecode wrote: Hi Henry, Xcode 9.1 support will be added in LiveCode 8.1.8 RC-1, which we plan to release

Re: The coming of SVG

2017-11-06 Thread Ben Rubinstein via use-livecode
This might be a stupid question, but might it be possible for this new control to completely replace the existing image control? There aren't very many special properties relating especially to images. If the new object implemented those at least to a first approximation, then perhaps it

Versions of LC and Xcode

2017-12-06 Thread Ben Rubinstein via use-livecode
This continues to be a major source of friction. Once again all my versions of LiveCode seem to have been reset so that they can't find a version of Xcode they like. (At any time I am probably switching between (or have simultaneously open) four version of LC: LC 6.7.11; the latest stable

Re: Strange permissions issues calling 'shell' in Windows

2017-10-31 Thread Ben Rubinstein via use-livecode
what account is being used to access the registry (and am not sure why it's accessing it or why you would want to in the first place). Bob S On Oct 31, 2017, at 03:40 , Ben Rubinstein via use-livecode <use-livecode@lists.runrev.com> wrote: I have an app in LC, which normally runs as a n

Strange permissions issues calling 'shell' in Windows

2017-10-31 Thread Ben Rubinstein via use-livecode
I have an app in LC, which normally runs as a nightly scheduled task on a VM in the client's network. It's been having memory problems, and to help diagnose this I wanted to track memory usage through the job and over time (it runs every night, takes about 40 minutes crunching lots of data,

Re: Versions of LC and Xcode

2017-12-20 Thread Ben Rubinstein via use-livecode
I've added an enhancement request http://quality.livecode.com/show_bug.cgi?id=20779 to keep all paths requested by the user (in the shared prefs), clearly indicating which ones are compatible with the version of LC in use. There's also an existing request

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

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

Re: [off] Apple to unify ios/macos apps next year

2018-01-02 Thread Ben Rubinstein via use-livecode
I'm coming to this late, but it looks to me as if the list got into a nightmare mode a bit prematurely. What the article actually talks about is a way to create apps which can be used across 'desktop' and mobile operating systems - specifically *not* about merging those operating systems. In

zip folder of arbitrary size

2018-01-03 Thread Ben Rubinstein via use-livecode
I want an app running unattended on a Windows VM to zip up a folder (on a regular basis). I've not used the revZip library before: when I look at it the first thing I notice is that first step, according to the Dictionary is: Use the revZipOpenArchive command to load a zip archive

Re: zip folder of arbitrary size

2018-01-03 Thread Ben Rubinstein via use-livecode
Phew - thanks Mark! On 03/01/2018 16:41, Mark Waddingham via use-livecode wrote: On 2018-01-03 17:25, Ben Rubinstein via use-livecode wrote: I want an app running unattended on a Windows VM to zip up a folder (on a regular basis). I've not used the revZip library before: when I look

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

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

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,

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

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

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

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

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

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

  1   2   >