Capturing QR codes using mergAV - how to?

2016-09-05 Thread Terry Judd
Hi – I’m trying to build a simple iOS app to capture and decode QR codes (for marking student attendance at compulsory activities) and am a bit stuck getting the mergAV external to work its magic. I can capture an image ok using the mergAVPick() function with the rear camera but I was thinking

Re: write data to an XML file

2016-09-05 Thread Matthias Rebbe
Thanks Colin. I needed to process the xml with livecode server and tried that function already, but only the values were shown in the browser and not the structured xml file. I forgot that the browser “renders” (or how is that called) the xml tags. Writing it to a file gives me the complete xml

Re: OS an HTML5 application in running in?

2016-09-05 Thread hh
> Peter Bogd. wrote: > > I’m planning an HTML5 application that will use audio files ... AFAIK audio is not (yet) implemented in the HTML5 standalone builder. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe,

Re: write data to an XML file

2016-09-05 Thread Colin Holgate
See if revXMLText in the dictionary will do what you need. > On Sep 5, 2016, at 1:59 PM, Matthias Rebbe > wrote: > > Hi, > > am i missing something or is there really no command to write XML data > created/edited using revXML library back to an XML file? > > I need to read in an xml file, m

write data to an XML file

2016-09-05 Thread Matthias Rebbe
Hi, am i missing something or is there really no command to write XML data created/edited using revXML library back to an XML file? I need to read in an xml file, modifiy some values and write it then back to disk. Reading the file into memory and accessing and editing the nodes is no problem.

Re: Set the fillGradient

2016-09-05 Thread Alejandro Tejada
Hi All, Years ago, Scott Rossi published this stack: http://www.tactilemedia.com/site_files/downloads/gradient_explorer.rev.zip Does Scott Rossi still sells a Palette to work with gradients? By the way, there a few different ways to paste a gradient in another graphic. For example: 1) paste a g

OS an HTML5 application in running in?

2016-09-05 Thread Peter Bogdanoff
I’m planning an HTML5 application that will use audio files. I will have already prepared for Macs .mov, for Windows .avi. How would I determine which type to use in any particular browser? The LCS dictionary says: The platform returns "HTML5" when running in a web browser. On HTML5 the system

Re: How to tell the engine version of a Windows standalone?

2016-09-05 Thread hh
> Mike B. wrote: > I wasn't sure it would work on the others (not tested) but > cool that it does. I've been wondering how things are shoved > together in the builder... If there just happens to be a > match in someones properties, fields, labels.. whatever.. > Is there a chance that the wrong data

Re: How to tell the engine version of a Windows standalone?

2016-09-05 Thread Mike Bonner
I wasn't sure it would work on the others (not tested) but cool that it does. I've been wondering how things are shoved together in the builder... If there just happens to be a match in someones properties, fields, labels.. whatever.. Is there a chance that the wrong data would be returned? (gues

Re: How to tell the engine version of a Windows standalone?

2016-09-05 Thread hh
Correction (forgot "+" after "]"): > Mike B. wrote (summarised): > put ".*([0-9]+\.[0-9]+\.[0-9]+).*" into tstring > get matchtext url ("binfile:" & \ >"path/to/standalone.exe",tstring,tMatch) > put tMatch My first example "6.7.11" was pure fun because your 'old' script finds of course the su

Re: How to tell the engine version of a Windows standalone?

2016-09-05 Thread hh
> Mike B. wrote (summarized): > put ".*([0-9]\.[0-9]\.[0-9]).*" into tstring > get matchtext url ("binfile:" & \ > "path/to/standalone.exe",tstring,tMatch) > put tMatch My first example "6.7.11" was pure fun because your 'old' script finds of course the substring "6.7.1". But know we are even

Re: How to tell the engine version of a Windows standalone?

2016-09-05 Thread Ben Rubinstein
Thanks Mike - it's already answered my question! Ben On 05/09/2016 18:07, Mike Bonner wrote: Change it to this..put ".*([0-9]+\.[0-9]+\.[0-9]+).*" into tstring for double digit version coverage On Mon, Sep 5, 2016 at 11:01 AM, Ben Rubinstein wrote: Blimey Mike, that works! Thank you.

Re: How to tell the engine version of a Windows standalone?

2016-09-05 Thread Mike Bonner
Change it to this..put ".*([0-9]+\.[0-9]+\.[0-9]+).*" into tstring for double digit version coverage On Mon, Sep 5, 2016 at 11:01 AM, Ben Rubinstein wrote: > Blimey Mike, that works! Thank you. > > Ben > > On 05/09/2016 16:30, Mike Bonner wrote: > >> Correction, change it to:get matcht

Re: How to tell the engine version of a Windows standalone?

2016-09-05 Thread Ben Rubinstein
Blimey Mike, that works! Thank you. Ben On 05/09/2016 16:30, Mike Bonner wrote: Correction, change it to:get matchtext(url ("binfile:" & "path/to/standalone.exe"),tstring,tMatch) I accidentally dropped a paren. On Mon, Sep 5, 2016 at 9:30 AM, Mike Bonner wrote: Try this.. (should work

Re: How to tell the engine version of a Windows standalone?

2016-09-05 Thread Mike Bonner
oops. :) My regex fu is weak. On Mon, Sep 5, 2016 at 10:49 AM, hh wrote: > > Mike B. wrote: > > put ".*([0-9]\.[0-9]\.[0-9]).*" into tstring > > get matchtext url ("binfile:" & \ > > "path/to/standalone.exe",tstring,tMatch) > > put tMatch > > This is admirable insight. > But why don't you l

Re: How to tell the engine version of a Windows standalone?

2016-09-05 Thread hh
> Mike B. wrote: > put ".*([0-9]\.[0-9]\.[0-9]).*" into tstring > get matchtext url ("binfile:" & \ > "path/to/standalone.exe",tstring,tMatch) > put tMatch This is admirable insight. But why don't you like 6.7.11? ;-) ___ use-livecode mailing list

Re: How to tell the engine version of a Windows standalone?

2016-09-05 Thread Mike Bonner
Correction, change it to:get matchtext(url ("binfile:" & "path/to/standalone.exe"),tstring,tMatch) I accidentally dropped a paren. On Mon, Sep 5, 2016 at 9:30 AM, Mike Bonner wrote: > Try this.. (should work in a message box) > > put ".*([0-9]\.[0-9]\.[0-9]).*" into tstring >get matchte

Re: How to tell the engine version of a Windows standalone?

2016-09-05 Thread Mike Bonner
Try this.. (should work in a message box) put ".*([0-9]\.[0-9]\.[0-9]).*" into tstring get matchtext(url ("binfile:" & "path/to/standalone.exe",tstring,tMatch) put tMatch Not sure it'll work every time, but it's worked on everything I've tried from 4.6.1 to 8.0.1 On Mon, Sep 5, 2016 at 4:

Re: Garbage collection (crashing on Windows)

2016-09-05 Thread Mark Waddingham
On 2016-08-22 14:47, Ben Rubinstein wrote: https://blogs.technet.microsoft.com/askperf/2007/03/23/memory-management-demystifying-3gb/ This looks like a great tip - before I go into the ring with the client's IT dept (always a tricky exercise) can I just check that LiveCode does have the IMAGE_FI

Re: Should size be extended to variables?

2016-09-05 Thread Mark Waddingham
On 2016-08-20 23:11, Richard Gaskin wrote: In all cases, the data is read and written in binary mode. If neither "number of bytes of" or "number of chars" will help, how can I know the true byte length of a chunk of data? The true byte length of a chunk of data is 'the number of bytes of' so

Re: [[ ANN ]] Release 8.1.0 RC-2

2016-09-05 Thread Mike Kerner
WOOHOO! 8.1! 8.1! On Mon, Sep 5, 2016 at 8:58 AM, panagiotis merakos < panos.mera...@livecode.com> wrote: > Dear list members, > > We are pleased to announce the release of LiveCode 8.1.0 RC-2. > > > Getting the Release > === > You can get the release at https://downloads.liveco

[[ ANN ]] Release 8.1.0 RC-2

2016-09-05 Thread panagiotis merakos
Dear list members, We are pleased to announce the release of LiveCode 8.1.0 RC-2. Getting the Release === You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. Release Contents LiveCode 8.1.0 RC-2 contains 9 bug fixes

Re: How to tell the engine version of a Windows standalone?

2016-09-05 Thread Ben Rubinstein
On 04/09/2016 23:19, Colin Holgate wrote: Open with a hex editor, and search for Win32€€€. One of the two matches has the LiveCode version following it. Hi Colin, Thanks for this - looks like an excellent method but AFAICT this only works for more recent versions (i.e. works for LC8, doesn't

[ANN] This week in LiveCode 49

2016-09-05 Thread Monte Goulding
Hi LiveCoders Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #49 here: http://goo.gl/izsyCN This is a weekly newsletter about LiveCode, focussing on what's been going on in and

Re: How to tell the engine version of a Windows standalone?

2016-09-05 Thread Phil Davis
It would help if I carefully read your question. Sorry for the non-answer. (wiping egg off face) Phil On 9/4/16 11:40 PM, Phil Davis wrote: Hi Ben, I recently simplified my approach to this (hat tip to Richard Gaskin) and am very pleased with the outcome. In the card script of my 1-card a