Re: System date

2016-09-06 Thread Terry Judd
So, with respect to my previous message, what I actually tried in the message 
box was...

set the useSystemDate to true; put the long system date

...but it still returned an English style date.

Terry...


On 7/09/2016 3:17 pm, "use-livecode on behalf of Tim Selander" 
 
wrote:

This thread has been instructive, as I've had the same grief as Antti. 
I've been using dateItems for all my date stuff, and reconstructing my 
own Japanese dates.

However, I didn't know about the useSystemDate command. It's working 
great here. Mac OS10.11.5, system running in Japanese, LC 8.0.2 
community edition.

This info doesn't help Antti much, though sorry. But thanks for 
asking the question!

Tim Selander
Tokyo, Japan

On 2016/09/07 14:02, Antti Ilola wrote:
> Then maybe I have problems on my machines( MacBook Pro 2007 and iMac 
2010),
> because I have used different version of MacOs's  and different versions 
of
> Livecode and both of your scripts and the answer is all the same - english
> date. My computers primary language is Finnish.
>
> Regards
> Antti
>
> 2016-09-06 21:36 GMT+03:00 Richmond :
>
>> You should have taken a bit longer to read the documention, this:
>>
>> on mouseUp
>> set the useSystemDate to true
>> put the long date into fld "fDATE"
>> end mouseUp
>>
>> returned this:
>>
>> вторник, септември 6, 2016
>>
>> as I am using a machine running Xubuntu 16.04 64-bit with the system date
>> system running
>> in Bulgarian - mainly because I live and work on Bulgaria.
>>
>> Richmond.
>>
>>
>> On 6.09.2016 20:21, Antti Ilola wrote:
>>
>>> Is it the time to you to get the system date work.I have done 
everything I
>>> found your guide, but no avail, every time english date. I made it a bug
>>> report since version 6 was announced. and still it doesn't work. Now I'm
>>> using Mac OS 10.10 and 10.11 in Finnish. Today I tired SperCard for fun
>>> and
>>> even it I got finnish date without any larger measures, just "answer the
>>> date" and that's it. And it is not the only software which understands 
the
>>> finnish date, for example Xcode and Xojo knows how it should be display.
>>> You made many wondrous things into your software, but simple as date 
won't
>>> work. I think there are many people in this world who use different date
>>> form than english.
>>>
>>> Antti
>>> ___
>>> 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/listinfo/use-livecode
>>>
>>
>>
>> ___
>> 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/listinfo/use-livecode
>>
> ___
> 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/listinfo/use-livecode
>

___
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/listinfo/use-livecode


___
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/listinfo/use-livecode

Re: System date

2016-09-06 Thread Terry Judd
Hi Antti – I just tried changing my Mac’s default language to Finnish (Suomi) 
then restarted it, opened Livecode (several versions up to 8.0.2) and typed 
“put the long system date” into the message box. All returned an English style 
date (Wednesday, 7 September 2016) even though the date in the menubar clock 
was in Finnish. So, it’s not just you.

Best regards,

Terry...

Terry Judd  | Senior Lecturer in Medical Education
Department of Medical Education 

The University of Melbourne 
M: 0435 961 594  |  E: terry.j...@unimelb.edu.au 
Publications 



On 7/09/2016 3:02 pm, "use-livecode on behalf of Antti Ilola" 
 
wrote:

Then maybe I have problems on my machines( MacBook Pro 2007 and iMac 2010),
because I have used different version of MacOs's  and different versions of
Livecode and both of your scripts and the answer is all the same - english
date. My computers primary language is Finnish.

Regards
Antti

2016-09-06 21:36 GMT+03:00 Richmond :

> You should have taken a bit longer to read the documention, this:
>
> on mouseUp
>set the useSystemDate to true
>put the long date into fld "fDATE"
> end mouseUp
>
> returned this:
>
> вторник, септември 6, 2016
>
> as I am using a machine running Xubuntu 16.04 64-bit with the system date
> system running
> in Bulgarian - mainly because I live and work on Bulgaria.
>
> Richmond.
>
>
> On 6.09.2016 20:21, Antti Ilola wrote:
>
>> Is it the time to you to get the system date work.I have done everything 
I
>> found your guide, but no avail, every time english date. I made it a bug
>> report since version 6 was announced. and still it doesn't work. Now I'm
>> using Mac OS 10.10 and 10.11 in Finnish. Today I tired SperCard for fun
>> and
>> even it I got finnish date without any larger measures, just "answer the
>> date" and that's it. And it is not the only software which understands 
the
>> finnish date, for example Xcode and Xojo knows how it should be display.
>> You made many wondrous things into your software, but simple as date 
won't
>> work. I think there are many people in this world who use different date
>> form than english.
>>
>> Antti
>> ___
>> 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/listinfo/use-livecode
>>
>
>
> ___
> 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/listinfo/use-livecode
>
___
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/listinfo/use-livecode


___
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/listinfo/use-livecode

Re: System date

2016-09-06 Thread Tim Selander
This thread has been instructive, as I've had the same grief as Antti. 
I've been using dateItems for all my date stuff, and reconstructing my 
own Japanese dates.


However, I didn't know about the useSystemDate command. It's working 
great here. Mac OS10.11.5, system running in Japanese, LC 8.0.2 
community edition.


This info doesn't help Antti much, though sorry. But thanks for 
asking the question!


Tim Selander
Tokyo, Japan

On 2016/09/07 14:02, Antti Ilola wrote:

Then maybe I have problems on my machines( MacBook Pro 2007 and iMac 2010),
because I have used different version of MacOs's  and different versions of
Livecode and both of your scripts and the answer is all the same - english
date. My computers primary language is Finnish.

Regards
Antti

2016-09-06 21:36 GMT+03:00 Richmond :


You should have taken a bit longer to read the documention, this:

on mouseUp
set the useSystemDate to true
put the long date into fld "fDATE"
end mouseUp

returned this:

вторник, септември 6, 2016

as I am using a machine running Xubuntu 16.04 64-bit with the system date
system running
in Bulgarian - mainly because I live and work on Bulgaria.

Richmond.


On 6.09.2016 20:21, Antti Ilola wrote:


Is it the time to you to get the system date work.I have done everything I
found your guide, but no avail, every time english date. I made it a bug
report since version 6 was announced. and still it doesn't work. Now I'm
using Mac OS 10.10 and 10.11 in Finnish. Today I tired SperCard for fun
and
even it I got finnish date without any larger measures, just "answer the
date" and that's it. And it is not the only software which understands the
finnish date, for example Xcode and Xojo knows how it should be display.
You made many wondrous things into your software, but simple as date won't
work. I think there are many people in this world who use different date
form than english.

Antti
___
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/listinfo/use-livecode




___
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/listinfo/use-livecode


___
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/listinfo/use-livecode



___
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/listinfo/use-livecode

Re: System date

2016-09-06 Thread Antti Ilola
Then maybe I have problems on my machines( MacBook Pro 2007 and iMac 2010),
because I have used different version of MacOs's  and different versions of
Livecode and both of your scripts and the answer is all the same - english
date. My computers primary language is Finnish.

Regards
Antti

2016-09-06 21:36 GMT+03:00 Richmond :

> You should have taken a bit longer to read the documention, this:
>
> on mouseUp
>set the useSystemDate to true
>put the long date into fld "fDATE"
> end mouseUp
>
> returned this:
>
> вторник, септември 6, 2016
>
> as I am using a machine running Xubuntu 16.04 64-bit with the system date
> system running
> in Bulgarian - mainly because I live and work on Bulgaria.
>
> Richmond.
>
>
> On 6.09.2016 20:21, Antti Ilola wrote:
>
>> Is it the time to you to get the system date work.I have done everything I
>> found your guide, but no avail, every time english date. I made it a bug
>> report since version 6 was announced. and still it doesn't work. Now I'm
>> using Mac OS 10.10 and 10.11 in Finnish. Today I tired SperCard for fun
>> and
>> even it I got finnish date without any larger measures, just "answer the
>> date" and that's it. And it is not the only software which understands the
>> finnish date, for example Xcode and Xojo knows how it should be display.
>> You made many wondrous things into your software, but simple as date won't
>> work. I think there are many people in this world who use different date
>> form than english.
>>
>> Antti
>> ___
>> 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/listinfo/use-livecode
>>
>
>
> ___
> 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/listinfo/use-livecode
>
___
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/listinfo/use-livecode

Re: Debugger forgetting soft breakpoints

2016-09-06 Thread J. Landman Gay

On 9/6/2016 6:35 PM, Bob Sneidar wrote:

I hesitate to submit a bug report when I cannot reliably reproduce
the problem. Again, the app this occurs in has database dependencies,
logins etc which would prevent you from seeing the actual problem
because you could not get that far. I attempted to make a simple
stack to demonstrate it, but the problem won't occur then.

That is why  Iwas hoping others who have seen this could chime in so
maybe we could produce some short list of commonality to zero in on a
possible cause.


Mostly I see this when the script calls into a LC library or external in 
the IDE. The editor won't break at those places unless you have 
gRevDevelopment set to true (I think) which allows you to step into the 
IDE scripts. Doing that is a snake pit.


Since your stack has databases, internet access, etc. it sounds like a 
candidate. What I usually do is put a breakpoint dot on the line right 
below the one that doesn't trigger so it will break immediately afterward.


I think I've seen skipped breakpoints at other times too but I can't 
remember what was involved. Those are pretty elusive.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
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/listinfo/use-livecode


Re: Debugger forgetting soft breakpoints

2016-09-06 Thread mwieder
Bob-

Here are a couple of things to look at:
First of all, in the message box you can "put the breakpoints", and that
will tell you what's active at the moment.
Second, if you've got a repeatably weird action, you can check the custom
property that contains the soft breakpoints for the topstack. From my notes
in PowerDebug:

* breakpoints are stored as long id of object, line number.
* the IDE's script editor unfortunately stores them
* in the cREVGeneral["breakpoints"] of the owning stack
* as short id, line #

As a last resort, you might look at the cREVGeneral["breakpoints"] of stack
"revPreferences".

-- 
 Mark Wieder
 ahsoftw...@gmail.com




-
-- 
 Mark Wieder
 ahsoftw...@gmail.com
--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Debugger-forgetting-soft-breakpoints-tp4708106p4708115.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
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/listinfo/use-livecode


Re: Debugger forgetting soft breakpoints

2016-09-06 Thread Bob Sneidar
Hi Monte.

I hesitate to submit a bug report when I cannot reliably reproduce the problem. 
Again, the app this occurs in has database dependencies, logins etc which would 
prevent you from seeing the actual problem because you could not get that far. 
I attempted to make a simple stack to demonstrate it, but the problem won't 
occur then.

That is why  Iwas hoping others who have seen this could chime in so maybe we 
could produce some short list of commonality to zero in on a possible cause.

Bob S


On Sep 6, 2016, at 15:13 , Monte Goulding 
> wrote:

Is there a bug report about this?

___
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/listinfo/use-livecode


Re: Debugger forgetting soft breakpoints

2016-09-06 Thread Bob Sneidar
Hi Mark.

Yes but the problem occurs even when I have made changes AFTER the point of the 
soft break. So the line number does not change, but I am still seeing the 
breakpoints missed.

Also I vaguely remember this coming up back in version 6, and it was addressed 
back then, after which breakpoints worked flawlessly for a long time. I think 
this might be a regression.

Bob S


On Sep 6, 2016, at 14:18 , mwieder 
> wrote:

Bob-

Soft breakpoints in the IDE are a bit weird. They're tied to the line
number, for one thing, so if you edit the code so that your saved soft
breakpoint no longer matches the line number it was saved with, it will no
longer trigger.

--
Mark Wieder
ahsoftw...@gmail.com



-
--
Mark Wieder
ahsoftw...@gmail.com

___
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/listinfo/use-livecode


Re: Debugger forgetting soft breakpoints

2016-09-06 Thread Monte Goulding
Hi Craig

It looks to me like 15830 is something else entirely where poorly formed 
breakpoint conditions aren’t recognised when set.

Cheers

Monte

> On 7 Sep 2016, at 8:42 AM, dunb...@aol.com wrote:
> 
> Monte.
> 
> 
> Yes, about a year ago (15830) in v 6.6.5.
> 
> 
> The issue is really that the line numbers do not stick if you edit the script 
> and change the line order.
> 
> 
> Of course, just to confirm this long-standing issue, I made a stack with a 
> lot of lines of code in a button handler. Now I cannot get it to fail at all. 
> Tried it with another stack with lots of stuff in it, that I know I had to 
> include hard breakpoints for any stability at all, and cannot get it to fail.
> 
> 
> It is well known there are ghosts in LC.
> 
> 
> Craig
> 
> 
> 
> -Original Message-
> From: Monte Goulding 
> To: How to use LiveCode 
> Sent: Tue, Sep 6, 2016 6:15 pm
> Subject: Re: Debugger forgetting soft breakpoints
> 
> Is there a bug report about this?
> 
>> On 7 Sep 2016, at 7:22 AM, dunb...@aol.com wrote:
>> 
>> See forum post:
>> 
>> 
>> http://forums.livecode.com/viewtopic.php?f=6=27093=141458=breakpoint#p141458
>> 
>> 
>> So annoying. And soft breakpoints could be so powerful: very visible, easy 
>> to find and change. HC had no such silly issue/
>> 
>> 
>> Craig Newman
>> 
> 
> ___
> 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/listinfo/use-livecode
> 
> ___
> 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/listinfo/use-livecode


___
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/listinfo/use-livecode

Re: Debugger forgetting soft breakpoints

2016-09-06 Thread dunbarx
Monte.


Yes, about a year ago (15830) in v 6.6.5.


The issue is really that the line numbers do not stick if you edit the script 
and change the line order.


Of course, just to confirm this long-standing issue, I made a stack with a lot 
of lines of code in a button handler. Now I cannot get it to fail at all. Tried 
it with another stack with lots of stuff in it, that I know I had to include 
hard breakpoints for any stability at all, and cannot get it to fail.


It is well known there are ghosts in LC.


Craig



-Original Message-
From: Monte Goulding 
To: How to use LiveCode 
Sent: Tue, Sep 6, 2016 6:15 pm
Subject: Re: Debugger forgetting soft breakpoints

Is there a bug report about this?

> On 7 Sep 2016, at 7:22 AM, dunb...@aol.com wrote:
> 
> See forum post:
> 
> 
> http://forums.livecode.com/viewtopic.php?f=6=27093=141458=breakpoint#p141458
> 
> 
> So annoying. And soft breakpoints could be so powerful: very visible, easy to 
> find and change. HC had no such silly issue/
> 
> 
> Craig Newman
> 

___
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/listinfo/use-livecode

___
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/listinfo/use-livecode


Re: Debugger forgetting soft breakpoints

2016-09-06 Thread Monte Goulding
Is there a bug report about this?

> On 7 Sep 2016, at 7:22 AM, dunb...@aol.com wrote:
> 
> See forum post:
> 
> 
> http://forums.livecode.com/viewtopic.php?f=6=27093=141458=breakpoint#p141458
> 
> 
> So annoying. And soft breakpoints could be so powerful: very visible, easy to 
> find and change. HC had no such silly issue/
> 
> 
> Craig Newman
> 

___
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/listinfo/use-livecode


Re: write data to an XML file

2016-09-06 Thread Matthias Rebbe
Thanks for tip, Roger.

Regards,
Matthias 
> Am 06.09.2016 um 15:57 schrieb Roger Eller :
> 
> So, "view page source" should display what's actually under the hood.
> 
> ~Roger
> 
> On Sep 5, 2016 6:16 PM, "Matthias Rebbe"  >
> wrote:
> 
>> 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 structure.
>> 
>> 
>> Matthias Rebbe
>> Bramkampsieke 13
>> 32312 Lübbecke
>> Tel +49 5741 31
>>+49 160 5504462
>> Fax: +49 5741 310002
>> eMail: matth...@m-r-d.de  
>> >
>> 
>> BR5 Konverter - BR5 -> MP3 > 
>> portfolio/produkte/brx/>
>>> Am 05.09.2016 um 23:31 schrieb Colin Holgate :
>>> 
>>> See if revXMLText in the dictionary will do what you need.
>>> 
>>> 
 On Sep 5, 2016, at 1:59 PM, Matthias Rebbe <
>> matthias_livecode_150...@m-r-d.de> 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, modifiy some values and write it then
>> back to disk. Reading the file into memory and accessing and editing the
>> nodes is no problem. But how do i write the changed file back to disk as
>> structured xml?
 
 Regards,
 Matthias
 
 ___
 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/listinfo/use-livecode
>>> 
>>> 
>>> ___
>>> 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/listinfo/use-livecode
>> 
>> ___
>> 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/listinfo/use-livecode 
>> 
> ___
> 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/listinfo/use-livecode 
> 
___
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/listinfo/use-livecode

Re: Debugger forgetting soft breakpoints

2016-09-06 Thread dunbarx
See forum post:


http://forums.livecode.com/viewtopic.php?f=6=27093=141458=breakpoint#p141458


So annoying. And soft breakpoints could be so powerful: very visible, easy to 
find and change. HC had no such silly issue/


Craig Newman



-Original Message-
From: Bob Sneidar 
To: How to use LiveCode 
Sent: Tue, Sep 6, 2016 5:15 pm
Subject: Debugger forgetting soft breakpoints

Hi all. 

I can in my app reproduce the bug where the debugger is not stopping at soft 
breakpoints. If I edit code with a soft breakpoint set, then compile it, the 
soft breakpoint will be skipped the next time the code executes. 

HOWEVER... I cannot reproduce this with a new stack and a single button!!! I 
woder if it has anything to do with the size of the app, or perhaps the fact 
that I have code inserted into front and back scripts. I could poke around 
further, but frankly I can just unset and reset the breakpoint and it works 
like a charm. 

Bob S



___
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/listinfo/use-livecode

___
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/listinfo/use-livecode


Re: Debugger forgetting soft breakpoints

2016-09-06 Thread mwieder
Bob-

Soft breakpoints in the IDE are a bit weird. They're tied to the line
number, for one thing, so if you edit the code so that your saved soft
breakpoint no longer matches the line number it was saved with, it will no
longer trigger.

-- 
 Mark Wieder
 ahsoftw...@gmail.com



-
-- 
 Mark Wieder
 ahsoftw...@gmail.com
--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Debugger-forgetting-soft-breakpoints-tp4708106p4708107.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
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/listinfo/use-livecode


Debugger forgetting soft breakpoints

2016-09-06 Thread Bob Sneidar
Hi all. 

I can in my app reproduce the bug where the debugger is not stopping at soft 
breakpoints. If I edit code with a soft breakpoint set, then compile it, the 
soft breakpoint will be skipped the next time the code executes. 

HOWEVER... I cannot reproduce this with a new stack and a single button!!! I 
woder if it has anything to do with the size of the app, or perhaps the fact 
that I have code inserted into front and back scripts. I could poke around 
further, but frankly I can just unset and reset the breakpoint and it works 
like a charm. 

Bob S



___
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/listinfo/use-livecode


Re: Resolving an imageSource object reference

2016-09-06 Thread Jeanne A. E. DeVoto

At 1:06 PM -0700 9/6/2016, Richard Gaskin wrote:

See the "resolve image" command, introduced in v6.5.



Excellent! Thanks.

___
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/listinfo/use-livecode


Re: Resolving an imageSource object reference

2016-09-06 Thread Jeanne A. E. DeVoto

At 6:05 AM +1000 9/7/2016, Monte Goulding wrote:
You could use the resolve image command. It was my first open source 
contribution a few years ago ;-)



I'm so glad I don't have to do it. ;-)

___
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/listinfo/use-livecode


Re: Resolving an imageSource object reference

2016-09-06 Thread hh
> Jeanne DeV. wrote:
> I need to take an imageSource (short ID or short name) and
> figure out  a full object reference to the image in question.

If I understand your question correctly:

The HTMLtext of the field holds the source info
that is used to set the imageSource. 

For example 
or .
or .

You can now
"get the imageSource of char 3 of field 1",
what may result in a name, an id or an imageURL. And
you have to deduce from that a full object reference
(AFAIK there is no built-in-way to do the latter,
"resolve image" does similar things for icons and
patterns of objects).

___
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/listinfo/use-livecode


Re: Resolving an imageSource object reference

2016-09-06 Thread Monte Goulding
You could use the resolve image command. It was my first open source 
contribution a few years ago ;-)

Sent from my iPhone

> On 7 Sep 2016, at 5:38 AM, Jeanne A. E. DeVoto  
> wrote:
> 
> Before I do it, has anybody done this already?
> Or has a built-in way to get the object been added at some point and I missed 
> it?


___
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/listinfo/use-livecode


Re: Resolving an imageSource object reference

2016-09-06 Thread Richard Gaskin

Jeanne A. E. DeVoto wrote:

> I need to take an imageSource (short ID or short name) and figure out
> a full object reference to the image in question.
>
> Before I do it, has anybody done this already?
> Or has a built-in way to get the object been added at some point and
> I missed it?

See the "resolve image" command, introduced in v6.5.

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
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/listinfo/use-livecode


Resolving an imageSource object reference

2016-09-06 Thread Jeanne A. E. DeVoto
I need to take an imageSource (short ID or short name) and figure out 
a full object reference to the image in question.


Before I do it, has anybody done this already?
Or has a built-in way to get the object been added at some point and 
I missed it?


___
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/listinfo/use-livecode


Re: System date

2016-09-06 Thread Richmond

You should have taken a bit longer to read the documention, this:

on mouseUp
   set the useSystemDate to true
   put the long date into fld "fDATE"
end mouseUp

returned this:

вторник, септември 6, 2016

as I am using a machine running Xubuntu 16.04 64-bit with the system 
date system running

in Bulgarian - mainly because I live and work on Bulgaria.

Richmond.

On 6.09.2016 20:21, Antti Ilola wrote:

Is it the time to you to get the system date work.I have done everything I
found your guide, but no avail, every time english date. I made it a bug
report since version 6 was announced. and still it doesn't work. Now I'm
using Mac OS 10.10 and 10.11 in Finnish. Today I tired SperCard for fun and
even it I got finnish date without any larger measures, just "answer the
date" and that's it. And it is not the only software which understands the
finnish date, for example Xcode and Xojo knows how it should be display.
You made many wondrous things into your software, but simple as date won't
work. I think there are many people in this world who use different date
form than english.

Antti
___
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/listinfo/use-livecode



___
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/listinfo/use-livecode

Re: System date

2016-09-06 Thread Tore Nilsen
I have no problem using the system date here in Norway. It works when I use the 
following:

 answer the system date

and when I use:

set the useSystemDate to true
answer the date

In the last example, remember to set the useSystemDate to true every time you 
want to use the system date, as it resets to US date once the handler is 
finished.


Regards 
Tore

 
> 6. sep. 2016 kl. 19.21 skrev Antti Ilola :
> 
> Is it the time to you to get the system date work.I have done everything I
> found your guide, but no avail, every time english date. I made it a bug
> report since version 6 was announced. and still it doesn't work. Now I'm
> using Mac OS 10.10 and 10.11 in Finnish. Today I tired SperCard for fun and
> even it I got finnish date without any larger measures, just "answer the
> date" and that's it. And it is not the only software which understands the
> finnish date, for example Xcode and Xojo knows how it should be display.
> You made many wondrous things into your software, but simple as date won't
> work. I think there are many people in this world who use different date
> form than english.
> 
> Antti
> ___
> 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/listinfo/use-livecode


___
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/listinfo/use-livecode


System date

2016-09-06 Thread Antti Ilola
Is it the time to you to get the system date work.I have done everything I
found your guide, but no avail, every time english date. I made it a bug
report since version 6 was announced. and still it doesn't work. Now I'm
using Mac OS 10.10 and 10.11 in Finnish. Today I tired SperCard for fun and
even it I got finnish date without any larger measures, just "answer the
date" and that's it. And it is not the only software which understands the
finnish date, for example Xcode and Xojo knows how it should be display.
You made many wondrous things into your software, but simple as date won't
work. I think there are many people in this world who use different date
form than english.

Antti
___
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/listinfo/use-livecode


Re: widget inclusion in standalones 8.0.2

2016-09-06 Thread Warren Samples

On 09/06/2016 09:29 AM, Peter TB Brett wrote:



On 06/09/2016 14:22, Warren Samples wrote:

I've looked through a number of release notes but haven't been able to
find this information. Is it expected that we have to manually select
widgets for inclusion when building standalones in 8.0.2?


Hi Warren,

Yes, just like in LiveCode 8.0.0, you will need to manually choose
widget inclusions in 8.0.2.

Best regards,

Peter




Thank you! I feel better now :D

Warren

___
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/listinfo/use-livecode


Re: widget inclusion in standalones 8.0.2

2016-09-06 Thread Peter TB Brett



On 06/09/2016 14:22, Warren Samples wrote:

I've looked through a number of release notes but haven't been able to
find this information. Is it expected that we have to manually select
widgets for inclusion when building standalones in 8.0.2?


Hi Warren,

Yes, just like in LiveCode 8.0.0, you will need to manually choose 
widget inclusions in 8.0.2.


Best regards,

Peter

--
Dr Peter Brett 
LiveCode Technical Project Manager

lcb-mode for Emacs: https://github.com/peter-b/lcb-mode

___
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/listinfo/use-livecode


Re: write data to an XML file

2016-09-06 Thread Roger Eller
So, "view page source" should display what's actually under the hood.

~Roger

On Sep 5, 2016 6:16 PM, "Matthias Rebbe" 
wrote:

> 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 structure.
>
>
> Matthias Rebbe
> Bramkampsieke 13
> 32312 Lübbecke
> Tel +49 5741 31
> +49 160 5504462
> Fax: +49 5741 310002
> eMail: matth...@m-r-d.de 
>
> BR5 Konverter - BR5 -> MP3  portfolio/produkte/brx/>
> > Am 05.09.2016 um 23:31 schrieb Colin Holgate :
> >
> > See if revXMLText in the dictionary will do what you need.
> >
> >
> >> On Sep 5, 2016, at 1:59 PM, Matthias Rebbe <
> matthias_livecode_150...@m-r-d.de> 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, modifiy some values and write it then
> back to disk. Reading the file into memory and accessing and editing the
> nodes is no problem. But how do i write the changed file back to disk as
> structured xml?
> >>
> >> Regards,
> >> Matthias
> >>
> >> ___
> >> 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/listinfo/use-livecode
> >
> >
> > ___
> > 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/listinfo/use-livecode
>
> ___
> 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/listinfo/use-livecode
___
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/listinfo/use-livecode

widget inclusion in standalones 8.0.2

2016-09-06 Thread Warren Samples
I've looked through a number of release notes but haven't been able to 
find this information. Is it expected that we have to manually select 
widgets for inclusion when building standalones in 8.0.2?


I'm running Linux, and I note that this happens automatically in 8.1 RC2.

Warren

___
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/listinfo/use-livecode


Android Externals Writers

2016-09-06 Thread Mike Kerner
I'm looking for Android External writers to give me a quote.

-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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/listinfo/use-livecode


Re: Capturing QR codes using mergAV - how to?

2016-09-06 Thread Mike Kerner
Well, let me know if you're still struggling with it.  Yes, AV requires
video and audio.  I don't remember if I put in an enhancement request to
remove the audio requirement, but if I didn't one of us should.  AV is
pulling a live video feed and looking for the barcode (QR is just another
barcode).  When it sees the barcode, Monte is drawing the blue line through
it to tell you that it sees the code.

On Tue, Sep 6, 2016 at 4:14 AM, Terry Judd 
wrote:

> OK – I went back to the sample stack again and poked around some more and
> I think I’ve got it sussed now.
>
> Regards,
>
> Terry...
>
>
> On 6/09/2016 5:59 pm, "use-livecode on behalf of Terry Judd" <
> use-livecode-boun...@lists.runrev.com on behalf of
> terry.j...@unimelb.edu.au> wrote:
>
> Thanks Scott – ok, I’ve got mergAVCamCaptureImage doing something now
> now so that’s a step in the right direction (I actually had a spelling
> syntax error – mergeAV instead of mergAV – doh). With respect to the
> barcode stuff, does that work on a captured image or does it access the
> specified camera directly? Looking at the code in the sample stack (which I
> now have) it seems like the latter but I didn’t get a response when I put a
> QR code in front of it.
>
> Regards,
>
> Terry...
>
>
> BTW, where did you get the mergAV sample stack from
>
>
> On 6/09/2016 4:58 pm, "use-livecode on behalf of Scott Morrow" <
> use-livecode-boun...@lists.runrev.com on behalf of
> sc...@elementarysoftware.com> wrote:
>
> Hello Terry,
>
> The thing that tripped me up initially with mergAV (even though it
> was clearly part of the demo stack) was the two-part request for:
>
> mergAVRequestMediaAccess “audio"
>
> which, when granted then requests
>
> mergAVRequestMediaAccess “video”
>
> I didn’t figure that I needed to  request “audio” access for
> scanning a QR code. Fortunately Mike Kerner straightened me out. Audio
> access is required in order to use the camera. If that isn’t the problem
> then give another shout. (I switched from using mergZXing to mergAV when
> building an app that let my students scan QR codes.)
>
> --
> Scott Morrow
>
> Elementary Software
> (Now with 20% less chalk dust!)
> web   http://elementarysoftware.com/
> email sc...@elementarysoftware.com
> office 1-800-615-0867
> --
>
> > On Sep 5, 2016, at 11:27 PM, Terry Judd <
> terry.j...@unimelb.edu.au> wrote:
> >
> > 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 that perhaps I should be using
> mergAVCamCaptureImage instead? If so then I’m going wrong somewhere as it
> does nothing when I call that command. I’m assuming I need to call
> mergAVCamCreate first and then set it up using the mergAVCamSet command. Is
> that right?
> >
> > I seem to recall someone mentioning that they were using mergAV
> successfully to ‘scan’ QR codes a while back (and that it was superior to
> mergXZing in that regard). Does anyone have any tips/samples they would be
> willing to share?
> >
> > Best regards.
> >
> > Terry...
> >
> >
> > Terry Judd  | Senior Lecturer in Medical Education
> > Department of Medical Education unimelb.edu.au/medical-education>
> > The University of Melbourne
> > M: 0435 961 594  |  E: terry.j...@unimelb.edu.au t...@unimelb.edu.au>
> > Publications XC5s6wwJ=en>
> >
> > ___
> > 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/listinfo/use-livecode
>
> ___
> 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/listinfo/use-livecode
>
>
> ___
> 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/listinfo/use-livecode
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this 

Re: Capturing QR codes using mergAV - how to?

2016-09-06 Thread Terry Judd
OK – I went back to the sample stack again and poked around some more and I 
think I’ve got it sussed now.

Regards,

Terry...


On 6/09/2016 5:59 pm, "use-livecode on behalf of Terry Judd" 
 
wrote:

Thanks Scott – ok, I’ve got mergAVCamCaptureImage doing something now now 
so that’s a step in the right direction (I actually had a spelling syntax error 
– mergeAV instead of mergAV – doh). With respect to the barcode stuff, does 
that work on a captured image or does it access the specified camera directly? 
Looking at the code in the sample stack (which I now have) it seems like the 
latter but I didn’t get a response when I put a QR code in front of it.

Regards,

Terry...


BTW, where did you get the mergAV sample stack from


On 6/09/2016 4:58 pm, "use-livecode on behalf of Scott Morrow" 
 wrote:

Hello Terry,

The thing that tripped me up initially with mergAV (even though it was 
clearly part of the demo stack) was the two-part request for:

mergAVRequestMediaAccess “audio"

which, when granted then requests

mergAVRequestMediaAccess “video”

I didn’t figure that I needed to  request “audio” access for scanning a 
QR code. Fortunately Mike Kerner straightened me out. Audio access is required 
in order to use the camera. If that isn’t the problem then give another shout. 
(I switched from using mergZXing to mergAV when building an app that let my 
students scan QR codes.)

--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   http://elementarysoftware.com/
email sc...@elementarysoftware.com
office 1-800-615-0867
--

> On Sep 5, 2016, at 11:27 PM, Terry Judd  
wrote:
> 
> 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 that perhaps I should be using 
mergAVCamCaptureImage instead? If so then I’m going wrong somewhere as it does 
nothing when I call that command. I’m assuming I need to call mergAVCamCreate 
first and then set it up using the mergAVCamSet command. Is that right?
> 
> I seem to recall someone mentioning that they were using mergAV 
successfully to ‘scan’ QR codes a while back (and that it was superior to 
mergXZing in that regard). Does anyone have any tips/samples they would be 
willing to share?
> 
> Best regards.
> 
> Terry...
> 
> 
> Terry Judd  | Senior Lecturer in Medical Education
> Department of Medical 
Education
> The University of Melbourne
> M: 0435 961 594  |  E: 
terry.j...@unimelb.edu.au
> 
Publications
> 
> ___
> 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/listinfo/use-livecode

___
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/listinfo/use-livecode


___
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/listinfo/use-livecode


___
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/listinfo/use-livecode

Re: Capturing QR codes using mergAV - how to?

2016-09-06 Thread Terry Judd
Thanks Scott – ok, I’ve got mergAVCamCaptureImage doing something now now so 
that’s a step in the right direction (I actually had a spelling syntax error – 
mergeAV instead of mergAV – doh). With respect to the barcode stuff, does that 
work on a captured image or does it access the specified camera directly? 
Looking at the code in the sample stack (which I now have) it seems like the 
latter but I didn’t get a response when I put a QR code in front of it.

Regards,

Terry...


BTW, where did you get the mergAV sample stack from


On 6/09/2016 4:58 pm, "use-livecode on behalf of Scott Morrow" 
 wrote:

Hello Terry,

The thing that tripped me up initially with mergAV (even though it was 
clearly part of the demo stack) was the two-part request for:

mergAVRequestMediaAccess “audio"

which, when granted then requests

mergAVRequestMediaAccess “video”

I didn’t figure that I needed to  request “audio” access for scanning a QR 
code. Fortunately Mike Kerner straightened me out. Audio access is required in 
order to use the camera. If that isn’t the problem then give another shout. (I 
switched from using mergZXing to mergAV when building an app that let my 
students scan QR codes.)

--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   http://elementarysoftware.com/
email sc...@elementarysoftware.com
office 1-800-615-0867
--

> On Sep 5, 2016, at 11:27 PM, Terry Judd  wrote:
> 
> 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 that perhaps I should be using mergAVCamCaptureImage 
instead? If so then I’m going wrong somewhere as it does nothing when I call 
that command. I’m assuming I need to call mergAVCamCreate first and then set it 
up using the mergAVCamSet command. Is that right?
> 
> I seem to recall someone mentioning that they were using mergAV 
successfully to ‘scan’ QR codes a while back (and that it was superior to 
mergXZing in that regard). Does anyone have any tips/samples they would be 
willing to share?
> 
> Best regards.
> 
> Terry...
> 
> 
> Terry Judd  | Senior Lecturer in Medical Education
> Department of Medical 
Education
> The University of Melbourne
> M: 0435 961 594  |  E: 
terry.j...@unimelb.edu.au
> 
Publications
> 
> ___
> 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/listinfo/use-livecode

___
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/listinfo/use-livecode


___
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/listinfo/use-livecode

Re: Capturing QR codes using mergAV - how to?

2016-09-06 Thread Scott Morrow
Hello Terry,

The thing that tripped me up initially with mergAV (even though it was clearly 
part of the demo stack) was the two-part request for:

mergAVRequestMediaAccess “audio"

which, when granted then requests

mergAVRequestMediaAccess “video”

I didn’t figure that I needed to  request “audio” access for scanning a QR 
code. Fortunately Mike Kerner straightened me out. Audio access is required in 
order to use the camera. If that isn’t the problem then give another shout. (I 
switched from using mergZXing to mergAV when building an app that let my 
students scan QR codes.)

--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   http://elementarysoftware.com/
email sc...@elementarysoftware.com
office 1-800-615-0867
--

> On Sep 5, 2016, at 11:27 PM, Terry Judd  wrote:
> 
> 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 that perhaps I should be using 
> mergAVCamCaptureImage instead? If so then I’m going wrong somewhere as it 
> does nothing when I call that command. I’m assuming I need to call 
> mergAVCamCreate first and then set it up using the mergAVCamSet command. Is 
> that right?
> 
> I seem to recall someone mentioning that they were using mergAV successfully 
> to ‘scan’ QR codes a while back (and that it was superior to mergXZing in 
> that regard). Does anyone have any tips/samples they would be willing to 
> share?
> 
> Best regards.
> 
> Terry...
> 
> 
> Terry Judd  | Senior Lecturer in Medical Education
> Department of Medical 
> Education
> The University of Melbourne
> M: 0435 961 594  |  E: terry.j...@unimelb.edu.au
> Publications
> 
> ___
> 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/listinfo/use-livecode

___
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/listinfo/use-livecode

Capturing QR codes using mergAV - how to?

2016-09-06 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 that perhaps I should be using mergAVCamCaptureImage 
instead? If so then I’m going wrong somewhere as it does nothing when I call 
that command. I’m assuming I need to call mergAVCamCreate first and then set it 
up using the mergAVCamSet command. Is that right?

I seem to recall someone mentioning that they were using mergAV successfully to 
‘scan’ QR codes a while back (and that it was superior to mergXZing in that 
regard). Does anyone have any tips/samples they would be willing to share?

Best regards.

Terry...


Terry Judd  | Senior Lecturer in Medical Education
Department of Medical 
Education
The University of Melbourne
M: 0435 961 594  |  E: terry.j...@unimelb.edu.au
Publications

___
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/listinfo/use-livecode