Re: [tsNet] tsNetSmtpSync

2017-09-15 Thread Thierry Douez via use-livecode
2017-09-15 11:19 GMT+02:00 Charles Warwick :

> Hi Theirry,
>
> On 15/09/2017 7:08 PM, Thierry Douez wrote:
>
>> ​I guess both methods are safe?
>> or is there some advantages with one or the other?
>>
>> I'm using it within a Livecode Mail Composer.
>> Based on an export of my server DB, I'm scanning some address,
>> build dynamically the html-email and send one by one all emails.
>> ​
>>
>
> Both are safe.  Generally, if you are going to be making multiple
> connections to the same server (in this case, sending a number of e-mails)
> fairly quickly, then allowing tsNet to reuse an existing SSL/TLS connection
> to the server will be quicker (it doesn't have to establish the SSL
> connection each time).
>
>
​Good to know what's behind the scene,
thanks again.

your SMTP external is a great feature !

Thierry


-- 

Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
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: [tsNet] tsNetSmtpSync

2017-09-15 Thread Thierry Douez via use-livecode
2017-09-15 10:57 GMT+02:00 Charles Warwick

Hi Thierry,
>
> On 15/09/2017 6:31 PM, Thierry Douez:
>
>> Hi all,
>>
>> I've worked hard with tsNetSmtpSync() these last days,
>> on macOS Sierra with the latest LC 8.1.6
>> and have 2 questions which bothers me:
>>
>> - from time to time (no recipe yet), I've got an error when executing it.
>> Executing it again (same code and context) and all is fine then.
>>
>
> What is the error message that you get?




​Mmm, of course,  I should have read the error number :)
Will post back with other tests a bit later...
​

>
>
> - about the ResponseHeaders out parameter:
>>
> tsNet will try re-use an existing connection if there is one available, so
> this first example:
>
> Sometimes I get:
>>
>> 220-xxx..net ESMTP Exim 4.89 #1 Thu, 14 Sep 2017 14:17:38 +0200
>> 220-We do not authorize the use of this system to transport unsolicited,
>> 220
>> ​
>>
>> 250 OK id=1dsT5O-002hrt-TA
>>
>

> Indicates that there was no existing SMTP connection to the server, so it
> needed to establish a new connection.
>
> Where in the following example:
>>
>> 250 OK
>> 250 Accepted
>> 250 Accepted
>> 354 Enter message, ending with "." on a line by itself
>> 250 OK id=1dsSmD-003WQr-2l
>>
>

> This indicates that tsNet found an existing SMTP connection to the server
> you are connecting to, so could just send the message across the already
> open connection. ​

You can add the "no_reuse" element with a value of true to the settings
> array (last parameter to tsNetSmtpSync) if you want to establish a fresh
> connection for each e-mail that is sent rather than allowing tsNet to reuse
> an existing connection.
>

​I guess both methods are safe?
or is there some advantages with one or the other?

I'm using it within a Livecode Mail Composer.
Based on an export of my server DB, I'm scanning some address,
build dynamically the html-email and send one by one all emails.
​

>
> Hope that helps,
>


​Thanks Charles for your  explanations, much appreciated.


Regards,

Thierry



> In both cases, the email is sent and received correctly.
>>
>> Thanks for some hints.
>>
>> Thierry
>>
>>
-- 

Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
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: Android Audio Playback & Recording

2017-09-15 Thread Ali Lloyd via use-livecode
Hi All,
Firstly thanks to Peter Reid for discovering that the foreign bindings in
that blog post were out of date! I have updated the blog accordingly. I
took the liberty of tidying up the LCB code, and adding docs and a sample
stack - you can check them out here (for now)
https://github.com/livecode/livecode/pull/5941/files

The library should be included in 9.0 DP 9.

Cheers,
Ali

On Wed, Sep 13, 2017 at 11:57 AM Peter Reid via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Al
>
> Thanks for the link, I had seen it previously but didn't understand how I
> could incorporate it into my app!  I've no experience with code-wrapping or
> creating lcb widgets, so I can't see how I proceed with what looks like a
> solution!!  Any help, in simple steps, gratefully received.
>
> Also, thanks for the links regarding the hard bit of comparing sounds.
> I've been thinking of doing this a different way, if possible -
> voice-to-text and then compare the text with the target text using some
> fuzzy matching. This could be another hard thing of course??
>
> By the way (thanks BR) I did get the mobilePlaySoundOnChannel to work
> after fixing some code stupidity on my part. So I can play the clips OK.
>
> Peter
> --
> Peter Reid
> Loughborough, UK
>
> > On 13 Sep 2017, at 11:00am, use-livecode-requ...@lists.runrev.com wrote:
> >
> > Message: 8
> > Date: Tue, 12 Sep 2017 11:44:49 -0400
> > From: Alejandro Tejada 
> > To: use-livecode@lists.runrev.com
> > Subject: Re: Android Audio Playback & Recording
> > Message-ID:
> >   

Re: [tsNet] tsNetSmtpSync

2017-09-15 Thread Charles Warwick via use-livecode

Hi Theirry,


On 15/09/2017 7:08 PM, Thierry Douez via use-livecode wrote:

​I guess both methods are safe?
or is there some advantages with one or the other?

I'm using it within a Livecode Mail Composer.
Based on an export of my server DB, I'm scanning some address,
build dynamically the html-email and send one by one all emails.
​


Both are safe.  Generally, if you are going to be making multiple 
connections to the same server (in this case, sending a number of 
e-mails) fairly quickly, then allowing tsNet to reuse an existing 
SSL/TLS connection to the server will be quicker (it doesn't have to 
establish the SSL connection each time).


Regards,

Charles


___
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: [tsNet] tsNetSmtpSync

2017-09-15 Thread Thierry Douez via use-livecode
2017-09-15 17:29 GMT+02:00 Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com>:

> Spoke too soon those are the actual WORDS username and password, base64
> encoded, but some of the chars are not plain ascii not sure why.
>
> Bob S
>

​:)

Because​ I've typed silly character in these datas before posting :)

Your email scarred me first so I forgot I did this :)

Anyway, thanks again as I'm not familiar with this protocol.

Regards,

Thierry



>
> > On Sep 15, 2017, at 08:05 , Thierry Douez via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> >> BTW you should mask the 334 entries as these are only base64 encoded
> user
> >> and password. I could look it up and tell you what they are right now.
> >>
> >> Bob S
>
-- 

Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
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: [tsNet] tsNetSmtpSync

2017-09-15 Thread Bob Sneidar via use-livecode
BTW you should mask the 334 entries as these are only base64 encoded user and 
password. I could look it up and tell you what they are right now. 

Bob S


> On Sep 15, 2017, at 01:57 , Charles Warwick via use-livecode 
>  wrote:
> 
> tsNet will try re-use an existing connection if there is one available, so 
> this first example:
>> Sometimes I get:
>> 
>> 220-xxx..net ESMTP Exim 4.89 #1 Thu, 14 Sep 2017 14:17:38 +0200
>> 220-We do not authorize the use of this system to transport unsolicited,
>> 220 and/or bulk e-mail.
>> 250-xxx..net Hello z [99.33.77.88]
>> 250-SIZE 52428800
>> 250-8BITMIME
>> 250-PIPELINING
>> 250-AUTH PLAIN LOGIN
>> 250-STARTTLS
>> 250 HELP
>> 220 TLS go ahead
>> 250-xxx..net Hello pommeDesFouets [99.33.77.88]
>> 250-SIZE 52428800
>> 250-8BITMIME
>> 250-PIPELINING
>> 250-AUTH PLAIN LOGIN
>> 250 HELP
>> 334 VXNlfg5hbWU6
>> 334 UGFzc3sdfcmQ6
>> 235 Authentication succeeded
>> 250 OK
>> 250 Accepted
>> 250 Accepted
>> 354 Enter message, ending with "." on a line by itself
>> 250 OK id=1dsT5O-002hrt-TA
> Indicates that there was no existing SMTP connection to the server, so it 
> needed to establish a new connection.


___
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: [tsNet] tsNetSmtpSync

2017-09-15 Thread Thierry Douez via use-livecode
2017-09-15 16:40 GMT+02:00 Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com>:

> BTW you should mask the 334 entries as these are only base64 encoded user
> and password. I could look it up and tell you what they are right now.
>
> Bob S


​Oops, thanks​.

Did change everything on the server !

Thanks again :)

Thierry



Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
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: Script Editor Autocomplete Optional?

2017-09-15 Thread prothero--- via use-livecode
Me too. I'm going to use it. It will be a great reminder of what commands are 
available. It's great to see  these new modern features get implemented!
Great work!
Bill P

William Prothero
http://es.earthednet.org

> On Sep 14, 2017, at 10:57 PM, Scott Morrow via use-livecode 
>  wrote:
> 
> Don’t be disheartened! I agree with Jacque that while I might not want to 
> have it running all the time, there would be times where it would be very 
> useful. Being able to switch it off would be good… but being able to switch 
> it ON will be good too!
> 
> --
> 
> 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 13, 2017, at 11:12 PM, Monte Goulding via use-livecode 
>>  wrote:
>> 
>> While it’s all a little disheartening that some people’s first response to 
>> your work is please turn it off I have a PR that lets you do that here:
>> 
>> https://github.com/livecode/livecode-ide/pull/1739 
>> 
>> 
>> ___
>> 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: [tsNet] tsNetSmtpSync

2017-09-15 Thread Bob Sneidar via use-livecode
Spoke too soon those are the actual WORDS username and password, base64 
encoded, but some of the chars are not plain ascii not sure why. 

Bob S


> On Sep 15, 2017, at 08:05 , Thierry Douez via use-livecode 
>  wrote:
> 
>> BTW you should mask the 334 entries as these are only base64 encoded user
>> and password. I could look it up and tell you what they are right now.
>> 
>> 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: [tsNet] tsNetSmtpSync

2017-09-15 Thread Thierry Douez via use-livecode
2017-09-15 17:35 GMT+02:00 Thierry Douez :

>
>
> 2017-09-15 17:29 GMT+02:00 Bob Sneidar :
>
>> Spoke too soon those are the actual WORDS username and password, base64
>> encoded, but some of the chars are not plain ascii not sure why.
>>
>> Bob S
>>
>
> ​:)
>

​Ok, I've done a quick test with the right datas:

put base64De​code( "the334value")
and I can see the plain text username  and password,
nothing more.

So, I'm safe and breathing again :)


> Because​ I've typed silly character in these datas before posting :)
>
> Your email scarred me first so I forgot I did this :)
>
> Anyway, thanks again as I'm not familiar with this protocol.
>
> Regards,
>
> Thierry
>

-- 

Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
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: Script Editor Autocomplete Optional?

2017-09-15 Thread Mike Kerner via use-livecode
I agree that it will also be nice if more people use it because it will
encourage more verbose, easier to read syntax use.
Now...can we get code folding and block marking?  Can we?  Can we?
PLEEEASE?

On Fri, Sep 15, 2017 at 11:13 AM, prothero--- via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Me too. I'm going to use it. It will be a great reminder of what commands
> are available. It's great to see  these new modern features get implemented!
> Great work!
> Bill P
>
> William Prothero
> http://es.earthednet.org
>
> > On Sep 14, 2017, at 10:57 PM, Scott Morrow via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Don’t be disheartened! I agree with Jacque that while I might not want
> to have it running all the time, there would be times where it would be
> very useful. Being able to switch it off would be good… but being able to
> switch it ON will be good too!
> >
> > --
> >
> > 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 13, 2017, at 11:12 PM, Monte Goulding via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >>
> >> While it’s all a little disheartening that some people’s first response
> to your work is please turn it off I have a PR that lets you do that here:
> >>
> >> https://github.com/livecode/livecode-ide/pull/1739 <
> https://github.com/livecode/livecode-ide/pull/1739>
> >>
> >> ___
> >> 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
>



-- 
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: Script Editor Autocomplete Optional?

2017-09-15 Thread J. Landman Gay via use-livecode
Having just read the blog post, which I didn't know existed until I saw 
the reference here, I may use autocomplete more than I thought. I didn't 
know it did all that stuff. Apologies, Monte.


I'd still like the separate pane for when I'm not actively coding, but 
this does look pretty cool. I'm fairly amazed at what you've accomplished.


--
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: [tsNet] tsNetSmtpSync

2017-09-15 Thread Charles Warwick via use-livecode

Hi Thierry,

On 15/09/2017 6:31 PM, Thierry Douez via use-livecode wrote:

Hi all,

I've worked hard with tsNetSmtpSync() these last days,
on macOS Sierra with the latest LC 8.1.6
and have 2 questions which bothers me:

- from time to time (no recipe yet), I've got an error when executing it.
Executing it again (same code and context) and all is fine then.


What is the error message that you get?


- about the ResponseHeaders out parameter:
tsNet will try re-use an existing connection if there is one available, 
so this first example:

Sometimes I get:

220-xxx..net ESMTP Exim 4.89 #1 Thu, 14 Sep 2017 14:17:38 +0200
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.
250-xxx..net Hello z [99.33.77.88]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
220 TLS go ahead
250-xxx..net Hello pommeDesFouets [99.33.77.88]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250 HELP
334 VXNlfg5hbWU6
334 UGFzc3sdfcmQ6
235 Authentication succeeded
250 OK
250 Accepted
250 Accepted
354 Enter message, ending with "." on a line by itself
250 OK id=1dsT5O-002hrt-TA
Indicates that there was no existing SMTP connection to the server, so 
it needed to establish a new connection.


Where in the following example:

or this:

250 OK
250 Accepted
250 Accepted
354 Enter message, ending with "." on a line by itself
250 OK id=1dsSmD-003WQr-2l
This indicates that tsNet found an existing SMTP connection to the 
server you are connecting to, so could just send the message across the 
already open connection.


You can add the "no_reuse" element with a value of true to the settings 
array (last parameter to tsNetSmtpSync) if you want to establish a fresh 
connection for each e-mail that is sent rather than allowing tsNet to 
reuse an existing connection.


Hope that helps,

Regards,

Charles



In both cases, the email is sent and received correctly.

Thanks for some hints.

Thierry





___
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


[tsNet] tsNetSmtpSync

2017-09-15 Thread Thierry Douez via use-livecode
Hi all,

I've worked hard with tsNetSmtpSync() these last days,
on macOS Sierra with the latest LC 8.1.6
and have 2 questions which bothers me:

- from time to time (no recipe yet), I've got an error when executing it.
Executing it again (same code and context) and all is fine then.



- about the ResponseHeaders out parameter:

Sometimes I get:

220-xxx..net ESMTP Exim 4.89 #1 Thu, 14 Sep 2017 14:17:38 +0200
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.
250-xxx..net Hello z [99.33.77.88]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
220 TLS go ahead
250-xxx..net Hello pommeDesFouets [99.33.77.88]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250 HELP
334 VXNlfg5hbWU6
334 UGFzc3sdfcmQ6
235 Authentication succeeded
250 OK
250 Accepted
250 Accepted
354 Enter message, ending with "." on a line by itself
250 OK id=1dsT5O-002hrt-TA

or this:

250 OK
250 Accepted
250 Accepted
354 Enter message, ending with "." on a line by itself
250 OK id=1dsSmD-003WQr-2l

In both cases, the email is sent and received correctly.

Thanks for some hints.

Thierry


-- 

Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
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


Commmunity widgets #47-50

2017-09-15 Thread hh via use-livecode
Just updated/upgraded community widgets #46-#50 to run from the same source.
So that also these widgets, now 10 widgets in sum, will run your stacks
UNCHANGED, but you have to use the correct version in the IDE.

Currently available is by the newest hh-(un)-installer stack from "Sample 
stacks"
or http://livecodeshare.runrev.com/stack/842/
[Download the installer and read the short scripts to trust it]

Sep 16, 2017: OrientedText v1.2.0 (updates #50)
Sep 14, 2017: hhProgress v1.2.0 (updates #49)
Sep 14, 2017: ConvexHull v1.2.0 (updates #48)
Sep 14, 2017: hhPolygon v1.2.0 (updates #47)
Sep 13, 2017: IconGrid v2.0.2 (is #52)
Aug 20, 2017: DigitClock v1.2.0 (updates #46)
Aug 20, 2017: BezierClock v1.2.0 (updates #44)
Aug 20, 2017: ClockAround v1.2.0 (updates #43)
Aug 19, 2017: SVG_Text v1.2.0 (updates #42)
Aug 18, 2017: TextBanner v0.0.1 (is #51)

Available via the installer are also DEMO-STACKS that show usage examples.
The demo-stack of IconGrid uses also SVG_Text and ClockAround.

For the numbers and descriptions see 
http://forums.livecode.com/viewtopic.php?f=93=28020)


___
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: Android Audio Playback & Recording

2017-09-15 Thread Sannyasin Brahmanathaswami via use-livecode
Mahala Ali!

OT a bit… but how do we do this on iOS ?

use MergAV?

I'm only seeing ref to Video recording…

we should refer to this, 

mergAVAudioSessionSetCategory # and all the other

mergMicrophone* # commands and functions, 

right?


BR


 

On 9/15/17, 1:53 AM, "Ali Lloyd via use-livecode" 
 wrote:

Hi All,
Firstly thanks to Peter Reid for discovering that the foreign bindings in
that blog post were out of date! I have updated the blog accordingly. I
took the liberty of tidying up the LCB code, and adding docs and a sample
stack - you can check them out here (for now)
https://github.com/livecode/livecode/pull/5941/files

The library should be included in 9.0 DP 9.

Cheers,
Ali

___
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: Need a MergAV for dummies guide

2017-09-15 Thread Mike Kerner via use-livecode
PINK:  Any luck?  What version of LC are you using?  There was an issue and
a special build for mergav a bit ago, but I think that's been fixed.
I'm using mergAV in several apps, with no issues.

On Wed, Sep 13, 2017 at 4:55 PM, panagiotis merakos via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Greg,
>
> Maybe try moving the following block from the "startRecordingVideo" handler
> into the "openStack" handler:
>
> mergAVCamCreate
> mergAVCamSet "rect",the rect of grc "cam"
> mergAVCamSet "visible","true"
>
> Best,
> Panos
> --
>
> On Wed, Sep 13, 2017 at 4:01 PM, pink via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > I am trying to get MergAV to work in a mobile app, but so far I haven't
> had
> > much luck...
> >
> > Here's some of what I've tried:
> >
> > on openStack
> >   if the environment = "mobile" then mergAVRequestMediaAccess
> > "video"
> >   mergAVCamCreate
> > end openStack
> >
> > command startRecordingVideo
> >   set the currentlyRecording of this stack to true
> >   mergAVCamCreate
> >   mergAVCamSet "rect",the rect of grc "cam"
> >   mergAVCamSet "visible","true"
> >   put the seconds into tTitle
> >   put "av" before tTitle
> >   put ".mov" after tTitle
> >   mergAVCamStartRecording (specialFolderPath("documents") &"/" &
> > tTitle )
> > end startRecordingVideo
> >
> > When I load it onto my iPhone I get:
> > 634,0,0 control not created yet, 573,49,1 mergAVCamStartRecording
> >
> > Anyone know what I've done wrong?
> >
> >
> >
> > -
> > ---
> > Greg (pink) Miller
> > mad, pink and dangerous to code
> > --
> > Sent from: http://runtime-revolution.278305.n4.nabble.com/
> > Revolution-User-f278306.html
> >
> > ___
> > 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