Re: Record and Play sound at same time IOS

2014-04-26 Thread Nakia Brewer
Okay will take a look. Will this allow me to ditch using the mergMicrophone external then ? Sent from my iPhone > On 26 Apr 2014, at 12:32 pm, "Stephen MacLean" > wrote: > > Look to another of Monte's externals, mergAV. > > Specifically, you can set the AVsession to "play and record", which

Re: Backdrop in in 6.7.0 dp2 under Lubuntu Linux 13.10

2014-04-26 Thread Richmond
On 26/04/14 06:23, Alejandro Tejada wrote: Read this report: http://quality.runrev.com/show_bug.cgi?id=11603 Backdrop is not displayed on Linux LiveCode 6.7.0 dp2, displays a black backdrop under Lubuntu Linux 13.10. but LiveCode turns very unstable while displaying this backdrop... After turn

encrypt and decrypt on iOS

2014-04-26 Thread Jim sims
Am trying to figure out how to use the new Encrypt/Decrypt with iOS. I want to encrypt a few hundred words of data then send as a file attachment via email. I have zero idea what PEM format and such are. Anyone have a stack that shows how this is done? Would be great to have example stacks for n

Re: Record and Play sound at same time IOS

2014-04-26 Thread Nakia Brewer
Just had a quick look through the commands for mergAV. Wow, it sure has a lot of functionality.. Sent from my iPhone > On 26 Apr 2014, at 5:02 pm, "Nakia Brewer" > wrote: > > Okay will take a look. > > Will this allow me to ditch using the mergMicrophone external then ? > > Sent from my i

Re: Record and Play sound at same time IOS

2014-04-26 Thread Nakia Brewer
Okay, Had a small tinker and seems the same issue occurs. To check my understanding, am i to assume the mergAvSessionCategory effects the iphonePlayOnChannel command ? I think I may be miss interpreting how to achieve this... I am still using mergMicrophone to record the file and using iphonePl

Re: encrypt and decrypt on iOS

2014-04-26 Thread Mike Kerner
Jim, There are two ways to do encryption on ios in LC: 1) Monte has an encryption external in his mergEXT suite 2) You can use the native code. The native code uses OpenSSL. Due to some technical issues it CAN be less secure than the libraries that Monte is using, but that is something for you t

Re: encrypt and decrypt on iOS

2014-04-26 Thread Mike Kerner
One more thing - don't forget to decode before you decrypt. On Sat, Apr 26, 2014 at 9:52 AM, Mike Kerner wrote: > Jim, > > There are two ways to do encryption on ios in LC: > 1) Monte has an encryption external in his mergEXT suite > 2) You can use the native code. The native code uses OpenSSL.

Re: Backdrop in in 6.7.0 dp2 under Lubuntu Linux 13.10

2014-04-26 Thread Peter Haworth
Backdrop is messed up on OSX also. Plugins loaded at startup disappear and when you get them back, clicking on the backdrop hides them again. Also, parts of Livecode are still visible. Pete lcSQL Software On Apr 25, 2014 8:23 PM, "Alejandro Tejada" wrote: > Read this report: > http://quality.

Re: encrypt and decrypt on iOS

2014-04-26 Thread Jim sims
Mike - thanks loads :-) I was trying to use the dictionary syntax: *Syntax: * encrypt *source* using *cipher* with [password|key] *passorkey *[and salt saltvalue] [and IV *IVvalue*] [at *bitvalue* bit] I found your explanation much more friendly, in fact got it working first shot. We think ali

Re: Record and Play sound at same time IOS

2014-04-26 Thread Stephen MacLean
They work together:) > On Apr 26, 2014, at 3:01 AM, Nakia Brewer wrote: > > Okay will take a look. > > Will this allow me to ditch using the mergMicrophone external then ? > > Sent from my iPhone > >> On 26 Apr 2014, at 12:32 pm, "Stephen MacLean" >> wrote: >> >> Look to another of Monte's

Re: Backdrop in in 6.7.0 dp2 under Lubuntu Linux 13.10

2014-04-26 Thread Richmond
On 26/04/14 17:19, Peter Haworth wrote: Backdrop is messed up on OSX also. Plugins loaded at startup disappear and when you get them back, clicking on the backdrop hides them again. Also, parts of Livecode are still visible. Pete Time for a bug report. Richmond. _

Re: encrypt and decrypt on iOS

2014-04-26 Thread Dar Scott
On Apr 26, 2014, at 7:52 AM, Mike Kerner wrote: > The syntax looks like this, assuming: > * The data you want to encrypt is in "what" > * The cipher you want to use is aes-256 > * The key you want to use to do the encryption is in "theKey" > > > encrypt what using "aes-256-cbc" with theKey > put

Re: Record and Play sound at same time IOS

2014-04-26 Thread Stephen MacLean
I would not use the iPhonePlayOnChannel for playback if you have mergAV. Instead, use mergAVPlayer. You have much more control and the mergAVSessionCategory will effect it. I use both in an iOS app and they work great together, although I'm not trying to playback until the recording is finished

Re: encrypt and decrypt on iOS

2014-04-26 Thread Dar Scott
Hi, Sims! Are you planning for 7.0? Currently, and on 7.0 dp2, both the source and the password (passphrase) in the syntax you point out are byte strings. (And, if you use a key, it is a fixed length byte string.) The password is usually interpreted as characters and is typically longer than

Re: encrypt and decrypt on iOS

2014-04-26 Thread Dar Scott
Oh, and consider doing the same for the string to be encrypted if consists of characters. On Apr 26, 2014, at 9:54 AM, Dar Scott wrote: > Hi, Sims! > > Are you planning for 7.0? > > Currently, and on 7.0 dp2, both the source and the password (passphrase) in > the syntax you point out are b

RunRevInstaller Issue

2014-04-26 Thread Peter Haworth
RunrevInstaller is chewing up around 70-80% of the CPU on my Mac running OSX 10.7.4. I believe it's the 6.7 DP2 installer. That's what shows up in Activity Monitor yet, the installer doesn't show up as a running program in the dock. I've terminated it but wondering if anyone else has come across

Re: Backdrop in in 6.7.0 dp2 under Lubuntu Linux 13.10

2014-04-26 Thread Peter Haworth
Already there - 12302 Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sat, Apr 26, 2014 at 8:19 AM, Richmond wrote: > On 26/04/14 17:19, Peter Haworth wrote: > >> Backdrop is

Re: Backdrop in in 6.7.0 dp2 under Lubuntu Linux 13.10

2014-04-26 Thread Richmond
On 26/04/14 19:01, Peter Haworth wrote: Already there - 12302 Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin Good stuff! Richmond. __

Re: MS SQL

2014-04-26 Thread Rodney Green
Thanks Matthias, that's good to know. I'm using the evaluation version but I think that its supposed to return 3 rows of data. This should work in the LC IDE correct? Any ideas on how I can trap this error? On Fri, Apr 25, 2014 at 7:22 PM, Matthias Rebbe | M-R-D < matthias_livecode_150...@m-r-d.d

Re: Backdrop in in 6.7.0 dp2 under Lubuntu Linux 13.10

2014-04-26 Thread Mark Wieder
Alejandro- Friday, April 25, 2014, 8:23:11 PM, you wrote: > Read this report: > http://quality.runrev.com/show_bug.cgi?id=11603 > Backdrop is not displayed on Linux I don't understand why this is a problem. The bug report shows a status of "awaiting build", which would indicate that the bug has

Re: Backdrop in in 6.7.0 dp2 under Lubuntu Linux 13.10

2014-04-26 Thread Mark Wieder
Hmmm- Saturday, April 26, 2014, 9:36:25 AM, I wrote: > I don't understand why this is a problem. > The bug report shows a status of "awaiting build", which would > indicate that the bug has been fixed and will no longer be a problem > in the next dp release. ...although maybe I spoke too soon. I

"flattening" ouput pdf

2014-04-26 Thread Dr. Hawkins
I am using "print cardName into . . . " to generate pdf output. This leaves me many (but not all) editable fields and clickable checkboxes. As this is for filing with court, and these "survive" the court impact, this is bad. Very bad. Is there a way to "flatten" the pdf output so that it isn'

Re: Backdrop in in 6.7.0 dp2 under Lubuntu Linux 13.10

2014-04-26 Thread Mark Wieder
Talking to myself- Saturday, April 26, 2014, 9:51:35 AM, I wrote: > Hmmm- > Saturday, April 26, 2014, 9:36:25 AM, I wrote: >> I don't understand why this is a problem. >> The bug report shows a status of "awaiting build", which would >> indicate that the bug has been fixed and will no longer be

Re: "flattening" ouput pdf

2014-04-26 Thread Richmond
On 26/04/14 20:01, Dr. Hawkins wrote: I am using "print cardName into . . . " to generate pdf output. This leaves me many (but not all) editable fields and clickable checkboxes. As this is for filing with court, and these "survive" the court impact, this is bad. Very bad. Is there a way to

Re: Backdrop in in 6.7.0 dp2 under Lubuntu Linux 13.10

2014-04-26 Thread Richmond
On 26/04/14 20:20, Mark Wieder wrote: Talking to myself- Saturday, April 26, 2014, 9:51:35 AM, I wrote: Hmmm- Saturday, April 26, 2014, 9:36:25 AM, I wrote: I don't understand why this is a problem. The bug report shows a status of "awaiting build", which would indicate that the bug has been

Re: "flattening" ouput pdf

2014-04-26 Thread Richmond
On 26/04/14 20:46, Richmond wrote: On 26/04/14 20:01, Dr. Hawkins wrote: I am using "print cardName into . . . " to generate pdf output. This leaves me many (but not all) editable fields and clickable checkboxes. As this is for filing with court, and these "survive" the court impact, this i

Re: Backdrop in in 6.7.0 dp2 under Lubuntu Linux 13.10

2014-04-26 Thread Mark Wieder
Richmond- Saturday, April 26, 2014, 10:48:28 AM, you wrote: > It does not work (as I posted earlier) on Ubuntu Studio 14.04. > Defining "fixed" as 'it works on Linux Mint' is a bit . . . ...Yeah. I gave up on Ubuntu a long time ago because of Things Like This. -- -Mark Wieder ahsoftw...@gmai

Re: MS SQL

2014-04-26 Thread Matthias Rebbe | M-R-D
Hi Rodney, Am 26.04.2014 um 18:24 schrieb Rodney Green : > Any ideas on how I can trap this error? > There are 2 things you could try. You could try to use the legacy database drivers in LC. In LC´s preferences go to "compatiblity" and activate "Use legacy drivers" This will force Livecode to

Re: Backdrop in in 6.7.0 dp2 under Lubuntu Linux 13.10

2014-04-26 Thread Richmond
On 26/04/14 21:15, Mark Wieder wrote: Richmond- Saturday, April 26, 2014, 10:48:28 AM, you wrote: It does not work (as I posted earlier) on Ubuntu Studio 14.04. Defining "fixed" as 'it works on Linux Mint' is a bit . . . ...Yeah. I gave up on Ubuntu a long time ago because of Things Like This

Re: MS SQL

2014-04-26 Thread Matthias Rebbe | M-R-D
Ah, i forgot a 3rd option. Try the odbc driver from Openlink Software. http://uda.openlinksw.com/odbc-sqlserver-ee/ They are also offering a evaluation of it. Regards, Matthias Am 26.04.2014 um 20:31 schrieb Matthias Rebbe | M-R-D : > Hi Rodney, > > > Am 26.04.2014 um 18:24 schrieb Rodne

Re: "flattening" ouput pdf

2014-04-26 Thread Richmond
I ran up a little stack (as one does) containing a field "fff" and a button "Print to PDF" containing the following script: on mouseUp ask file "Save as:" with "Print.pdf" put it into tFileName if tFileName is empty then exit to top set the printerOutput to "file:" & tFileName revS

Re: "flattening" ouput pdf

2014-04-26 Thread Dr. Hawkins
On Sat, Apr 26, 2014 at 11:09 AM, Richmond wrote: > Frankly; if you don't want anybody extracting text from your exported > files you might be better > exporting them as image files ?? > Those get big, fast. We have a 3mb limit per file, and 90 page petitions aren't that rare . . . plus the

Re: "flattening" ouput pdf

2014-04-26 Thread Richmond
On 26/04/14 21:50, Dr. Hawkins wrote: On Sat, Apr 26, 2014 at 11:09 AM, Richmond wrote: Frankly; if you don't want anybody extracting text from your exported files you might be better exporting them as image files ?? Those get big, fast. We have a 3mb limit per file, and 90 page petition

Re: "flattening" ouput pdf

2014-04-26 Thread Dr. Hawkins
On Sat, Apr 26, 2014 at 11:55 AM, Richmond wrote: > > I'm being a bit goofy: I don't quite understand what you mean by: > > *court* > > The United States Bankruptcy Court. We don't file on paper anymore, but by uploading PDF > or the court stamp. > > Would I be correct in thinking that the cou

Re: "flattening" ouput pdf

2014-04-26 Thread Richmond
On 26/04/14 22:08, Dr. Hawkins wrote: On Sat, Apr 26, 2014 at 11:55 AM, Richmond wrote: I'm being a bit goofy: I don't quite understand what you mean by: *court* The United States Bankruptcy Court. We don't file on paper anymore, but by uploading PDF or the court stamp. Would I be cor

Re: Backdrop in in 6.7.0 dp2 under Lubuntu Linux 13.10

2014-04-26 Thread J. Landman Gay
On 4/26/14, 9:19 AM, Peter Haworth wrote: Backdrop is messed up on OSX also. That's listed as a known issue in the 6.7 dp 1 release notes. I haven't looked at dp 2 yet though. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyp

Re: Backdrop in in 6.7.0 dp2 under Lubuntu Linux 13.10

2014-04-26 Thread Richmond
On 26/04/14 22:42, J. Landman Gay wrote: On 4/26/14, 9:19 AM, Peter Haworth wrote: Backdrop is messed up on OSX also. That's listed as a known issue in the 6.7 dp 1 release notes. I haven't looked at dp 2 yet though. I honestly wonder how many Livecode programmers actually use the backdro

Re: Backdrop in in 6.7.0 dp2 under Lubuntu Linux 13.10

2014-04-26 Thread Warren Samples
On 04/26/2014 12:20 PM, Mark Wieder wrote: Nonetheless, backdrops are working properly in 6.7-dp2 on linux mint 14, and there are no backdrops in dp1, so it does look like the problem is fixed. Also seems to be working fine here in both 6.6.2-rc2 and 6.7.0-dp2 running openSUSE with KDE4/Kwin.

Re: Backdrop in in 6.7.0 dp2 under Lubuntu Linux 13.10

2014-04-26 Thread Peter Haworth
Mark Waddingham left a comment on my bug report that he thought he had disabled backdrop in DP2 because he hadn't figured out how to get it working properly so looks like not everything about it was disabled. Due to fixed in DP3. Pete lcSQL Software Home of lcStackBrowser <

Re: Backdrop in in 6.7.0 dp2 under Lubuntu Linux 13.10

2014-04-26 Thread Peter Haworth
I know of at least 1 :-) Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sat, Apr 26, 2014 at 12:50 PM, Richmond wrote: > On 26/04/14 22:42, J. Landman Gay wrote: > >> On 4/26

Re: Backdrop in in 6.7.0 dp2 under Lubuntu Linux 13.10

2014-04-26 Thread Dar Scott
I use backdrop for impromptu LiveCode demos for customers or kids. For planned demos or classes for customers, I use a clean desktop on a big screen and have no other applications running. I used backdrop once when teaching computer-nerd kids one time and after they recognized the applicable w

RE: Record and Play sound at same time IOS

2014-04-26 Thread Nakia Brewer
Thanks Steve, After I wrote this email I did try to create the mergAV Player to play the file but had no luck (however iPhonePlayOnChannel and the player that iPhoneCreatePlayer create would play it but the original issue still occurs). When I try the mergAV Player they player doesn't seem to a

RE: encrypt and decrypt on ios

2014-04-26 Thread Mike Kerner
you can download the livecode dropbox library at http://www.phoenixsea.ch/downloads/Livecode/phxDropboxLib.zip. The explanation of the Dropbox REST API is at: https://www.dropbox.com/developers/core/docs Once you start messing around with dropbox, you will probably want some help with json. Sinc

Re: Record and Play sound at same time IOS

2014-04-26 Thread Stephen MacLean
Hi Nakia, You need to create your own UI for the AVPlayer. I would also check to see if the file being recorded is being written and growing in realtime on the phone. I'll take a closer look into later tonight. Best, Steve > On Apr 26, 2014, at 6:13 PM, Nakia Brewer wrote: > > Thanks Ste

RE: Record and Play sound at same time IOS

2014-04-26 Thread Nakia Brewer
Ah righto, that might explain why I cant get it to work. I am pretty sure the file is being written real time from mergMicrophone as I can play the file using the other methods and it plays up to its current location when I called the play command (I am calling the play whilst I am still record

Re: Backdrop in in 6.7.0 dp2 under Lubuntu Linux 13.10

2014-04-26 Thread Mark Wieder
Richmond- Saturday, April 26, 2014, 11:33:00 AM, you wrote: > Maybe you did give up on Ubuntu: but, like Ubuntu or not, it is the > dominant form of Linux at the moment: and if this sort of thing "f***s > up on Ubuntu" > it does not count as 'fixed'. Well, my use of "fixed" was done facetiously,

Re: Record and Play sound at same time IOS

2014-04-26 Thread Stephen MacLean
Hi Nakia, Ok, played around some, and found that while the file is created when you start to record, it doesn't write any data to it until you stop recording. That's not going to work, so I came up with a little something that does. It rotates the file that is being recorded and the file that i

Re: Record and Play sound at same time IOS

2014-04-26 Thread Nakia Brewer
Thanks mate, Will give this a crack! Btw, how did you come to the assumption the file was not being written to real time ? In my testing I could start playing the file whilst I was still recording it which indicated to me it was being written real time. Sent from my iPhone > On 27 Apr 2014,

Re: Record and Play sound at same time IOS

2014-04-26 Thread Stephen MacLean
T'was fun:) And since I'd just spent a bunch of time building recording and playback into my app, it was pretty fresh. Running in the iOS simulator, you can see what's being written to the cache (Your user account > Library > Application Support > iPhone Simulator > the os version you are runni

Re: Record and Play sound at same time IOS

2014-04-26 Thread Nakia Brewer
Ah okay, that doesn't explain why it can be played though does it ? Maybe when I play it this cancels the recording ? Not meaning to question/interrogate your findings, I'm just curious really... Sent from my iPhone > On 27 Apr 2014, at 12:31 pm, "Stephen MacLean" > wrote: > > T'was fun:) An

RE: Record and Play sound at same time IOS

2014-04-26 Thread Nakia Brewer
Any chance you could email me that test stack? nakia-brewer[at]bigpond[dot]com From: use-livecode [use-livecode-boun...@lists.runrev.com] on behalf of Nakia Brewer [nakia.bre...@westrac.com.au] Sent: Sunday, April 27, 2014 12:18 PM To: How to use LiveCode

Re: Record and Play sound at same time IOS

2014-04-26 Thread Stephen MacLean
No worries:) Yes, it actually does. There is a file, with the proper format, so it can be "played". If you use some of the other mergAV commands to get the duration you'd probably find that it's of zero length or duration. So you are "playing" it, but it since there is no length and nothing in

Re: Record and Play sound at same time IOS

2014-04-26 Thread Stephen MacLean
Sure, make sure to adjust the paths for your copies of the merg externals. On Apr 26, 2014, at 10:48 PM, Nakia Brewer wrote: > Any chance you could email me that test stack? > > > nakia-brewer[at]bigpond[dot]com > > From: use-livecode [use-livecode-boun

Re: Record and Play sound at same time IOS

2014-04-26 Thread Nakia Brewer
Oops forgot to say, I could actually hear the recording I was making.. It did actually play and I could hear the audio! Sent from my iPhone > On 27 Apr 2014, at 12:52 pm, "Stephen MacLean" > wrote: > > No worries:) > > Yes, it actually does. There is a file, with the proper format, so it

Re: Record and Play sound at same time IOS

2014-04-26 Thread Stephen MacLean
Sorry, I'm confused... Did it play what you recorded as you were recording? Did it stop playing or stop recording? I never saw the file size increase until it stopped recording, but that could be the OS not updating the file size until then. If that's the case you could create a new player ever

RE: Record and Play sound at same time IOS

2014-04-26 Thread Nakia Brewer
Hey Steve, Check this stack out, it might explain what I am trying to explain. https://www.dropbox.com/s/2u1m4c0r0kew5l2/Speech%20Scrambler%20copy.livecode Press the start recording button and start speaking.. you should hear you voice in 2000 milliseconds. Keep talking for a further few second

Re: Record and Play sound at same time IOS

2014-04-26 Thread Stephen MacLean
Hi Nakia, Ok, so here is what I think is happening is this. It does seem that the recording is continuing, as you do get the entire thing. Must be the OS not updating the file size in real time. I'm thinking the problem lies in that when you issue the LC play command, it reads the file as it s

Re: Really basic SQLite questions (Mike Kerner)

2014-04-26 Thread James Hale
Thanks everyone. As I am only accessing a local file(s) and there is only a single user at any one time I will go with connecting at startup and disconnecting at quit. Externals I will load on the appropriate connection. Of course if this doesn't work I will report back, but so far everything se

Re: Record and Play sound at same time IOS

2014-04-26 Thread Nakia Brewer
Yeah that is cool, I guessed that was what's happening.. Just gotta get the mergAV player to work.. Can't even get your test stack to work on my system here... Sent from my iPhone > On 27 Apr 2014, at 1:40 pm, "Stephen MacLean" wrote: > > Hi Nakia, > > Ok, so here is what I think is happen

ANN: New Little Plugin, lcLipsum

2014-04-26 Thread Charles E Buchwald
Hi List People, It's a quiet Saturday here in Mexico City, and I've been procrastinating by creating this little plugin…. lcLipsum is a diminutive plugin that provides quick and versatile access to Lorem Ipsum text. You can select and copy from the traditional Lorem Ipsum text, or Cicero's ori