Re: Example Stack for MergAV (QR codes)?

2017-11-09 Thread Monte Goulding via use-livecode

> On 10 Nov 2017, at 1:50 pm, Mike Kerner via use-livecode 
>  wrote:
> 
> Monte,
> Is that the original mergAV test stack?  If not, I still have it.

yes

Cheers

Monte
___
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: Example Stack for MergAV (QR codes)?

2017-11-09 Thread Mike Kerner via use-livecode
Monte,
Is that the original mergAV test stack?  If not, I still have it.

On Thu, Nov 9, 2017 at 7:09 PM, JOHN PATTEN via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Awesome…and...
>
> thanks for the quick response!
>
> John Patten
> SUSD
>
>
> > On Nov 9, 2017, at 3:55 PM, JOHN PATTEN via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Hello!
> >
> > I’m attempting to use MergAV to put a little student qr code reader app
> together. MergAV has many commands and I have not been successful with the
> combinations I have chosen.
> >
> > Does someone have an example stack or a link they can point me to and
> example stack?
> >
> > Thank you!
> >
> > John Patten
> > SUSD
> > ___
> > 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
>



-- 
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: Example Stack for MergAV (QR codes)?

2017-11-09 Thread JOHN PATTEN via use-livecode
Awesome…and...

thanks for the quick response!

John Patten
SUSD


> On Nov 9, 2017, at 3:55 PM, JOHN PATTEN via use-livecode 
>  wrote:
> 
> Hello!
> 
> I’m attempting to use MergAV to put a little student qr code reader app 
> together. MergAV has many commands and I have not been successful with the 
> combinations I have chosen.
> 
> Does someone have an example stack or a link they can point me to and example 
> stack?
> 
> Thank you!
> 
> John Patten
> SUSD
> ___
> 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: Example Stack for MergAV (QR codes)?

2017-11-09 Thread Monte Goulding via use-livecode

> On 10 Nov 2017, at 10:55 am, JOHN PATTEN via use-livecode 
>  wrote:
> 
> Hello!
> 
> I’m attempting to use MergAV to put a little student qr code reader app 
> together. MergAV has many commands and I have not been successful with the 
> combinations I have chosen.
> 
> Does someone have an example stack or a link they can point me to and example 
> stack?
> 
> Thank you!
> 
> John Patten
> SUSD

Hi John

If you go digging in the livecode app bundle you will find an Ext/mergAV 
 folder. In there will be a very rough stack that I use for testing 
stuff.

The basics are:

on openCard
if the environment is “mobile” then
 mergAVRequestMediaAccess “audio"
end if
end openCard

on mergAVMediaAccess pType, pGrated
 put "mergAVMediaAccess"&, pGrated
 if pType is "audio" then
 mergAVRequestMediaAccess “video"
else
 mergAVCamCreate
 mergAVCamSet "rect",the rect of grc "cam"
 mergAVCamSet "visible",”true"
 mergAVCamStartBarcodeReader
 end if
end mergAVMediaAccess

on mergAVCamBarcodeFound pBarcode, pType
answer "Barcode found" & cr & "of type " & pType
end mergAVCamBarcodeFound

on closeCard
mergAVCamDelete
end closeCard

Cheers

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

Example Stack for MergAV (QR codes)?

2017-11-09 Thread JOHN PATTEN via use-livecode
Hello!

I’m attempting to use MergAV to put a little student qr code reader app 
together. MergAV has many commands and I have not been successful with the 
combinations I have chosen.

Does someone have an example stack or a link they can point me to and example 
stack?

Thank you!

John Patten
SUSD
___
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