Re: Import Snapshot in iOS

2013-05-14 Thread Mark Wilcox
Yes, the code I looked at definitely took a rect and not an object. I suspect the new method is not taking a snapshot of the screen at all but rendering the object into an image. Wouldn't using the new method and asking for the current card work for most scenarios? Presumably if you want a subse

Re: Rethinking rsa encryption of license keys

2013-05-14 Thread Igor de Oliveira Couto
Dr. Hawkins, I apologise for coming in late to this discussion, but let me see if I can be of some assistance. SYMMETRICAL encryption has 1 main purpose, which is to 'hide' data in an encrypted format. ASYMMETRICAL encryption, on the other hand, has 2 purposes: hide data, and *sign* the data -

Re: Import Snapshot in iOS

2013-05-14 Thread Roger Guay
Very clever, Ender. Thanks! On May 14, 2013, at 5:13 PM, Ender Nafi Elekçioğlu wrote: > Yepp :) > *import from * works fine. > The problem is *import from rect* notation. > > @Roger, > for now the only solution seems this piece of code: > _set the acceleratedRendering of this stack to false >

Re: Rethinking rsa encryption of license keys

2013-05-14 Thread kee nethery
On May 14, 2013, at 5:43 PM, Dr. Hawkins wrote: > On Tue, May 14, 2013 at 3:22 PM, kee nethery wrote: > >> There is nothing insecure about a symmetrical key. The insecurity with a >> symmetrical key is that both people have to know it and getting it from >> person A to person B safe and secure

Re: Message Box spurious messages

2013-05-14 Thread dunbarx
Me too, and the length of the text of that message is hundreds and hundreds of lines long. Craig Newman -Original Message- From: Ender Nafi Elekçioğ lu To: How to use LiveCode Sent: Tue, May 14, 2013 7:26 pm Subject: Re: Message Box spurious messages Same problem here. It's hap

Re: ClipboardData

2013-05-14 Thread dunbarx
Hi. But that means the space char had to have been present in the original. Let's say your spaceless text was: "Onetwothree..." Can you find out what the 4th char in this string is? Is it a "t", or ASCII 32? Craig Newman -Original Message- From: Magicgate Software - Skip Kimpel

Re: Rethinking rsa encryption of license keys

2013-05-14 Thread Dr. Hawkins
On Tue, May 14, 2013 at 3:22 PM, kee nethery wrote: > There is nothing insecure about a symmetrical key. The insecurity with a > symmetrical key is that both people have to know it and getting it from > person A to person B safe and secure is difficult. The public private key > pair handles the t

Re: Import Snapshot in iOS

2013-05-14 Thread Ender Nafi Elekçioğlu
Yepp :) *import from * works fine. The problem is *import from rect* notation. @Roger, for now the only solution seems this piece of code: _set the acceleratedRendering of this stack to false _import snapshot from rect tRect _set the acceleratedRendering of this stack to true My sample stack in

Re: Import Snapshot in iOS

2013-05-14 Thread Richard Gaskin
I recently stumbled across this post by Ender Nafi which confirm my hunch that it's only the older "import from " option that fails, and the newer "import from " seems to work well: http://forums.runrev.com/viewtopic.php?f=49&t=15093#p75531 -- Richard Gaskin Fourth World Systems Software Des

Re: Import Snapshot in iOS

2013-05-14 Thread Roger Guay
I am always amazed at the talent on this list! Indeed, I am getting a black image if I set a-R true. OTH, John Dixon's stack works! What's up with that? Roger On May 14, 2013, at 1:13 PM, Mark Wilcox wrote: > I looked up the iOS snapshot code. It looks to me as if it renders the > contents

Re: Message Box spurious messages

2013-05-14 Thread Peter Haworth
Were you accessing the dictionary? I've been having that issue for the last few days. I think it's because of the serever reorg that's going on at RunRev. Pete lcSQL Software On Tue, May 14, 2013 at 4:18 PM, Cal Horner wrote: > > This Message Box message started appear

Re: Message Box spurious messages

2013-05-14 Thread Roger Guay
Same here, every time I open the dictionary! On May 14, 2013, at 4:27 PM, Graham Pearson wrote: > I am getting the same type of thing each time I click on Launch > Documentation to learn about a command while I am self teaching myself > Livecode. It started for me when the RunRev went to Mainte

Re: Trace.. Like Director

2013-05-14 Thread J. Landman Gay
On 5/14/13 10:20 AM, Magicgate Software - Skip Kimpel wrote: For all you Director "convertees" Does LC have a feature like "trace" in Director where you can watch code execution as it happens? A trace command is in the debug menu in the MetaCard IDE but is missing in LiveCode. There may be

Re: Message Box spurious messages

2013-05-14 Thread Graham Pearson
I am getting the same type of thing each time I click on Launch Documentation to learn about a command while I am self teaching myself Livecode. It started for me when the RunRev went to Maintenance Mode at the beginning of this week. On 5/14/2013 7:18 PM, Cal Horner wrote: > > This Message Box

Re: Message Box spurious messages

2013-05-14 Thread Ender Nafi Elekçioğlu
Same problem here. It's happening whenever I open the *dictionary*, started a couple of hours ago. LiveCode 5.5.4 - Mountain Lion ~ Ender Nafi ~… together, we're smarter …~ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this

Message Box spurious messages

2013-05-14 Thread Cal Horner
This Message Box message started appearing yesterday for no apparent reason: "Message execution error: Error description: Handler: can't find handler Hint: X The following server error was encountered:" Where X is the last item I typed into the message box. Then it's followed by approximat

Re: Array Looping to Insert into Database

2013-05-14 Thread Graham Pearson
I have total control over the XML Data as I have been trying to use the same XML Data that I used in creating the Adobe Air Application which I have used for the past 3 years. Now with LC as an Open Source, I have gotten fired up and been working day-in day-out to convert all of my Adobe Air Applic

Re: Array Looping to Insert into Database

2013-05-14 Thread Peter Haworth
On Tue, May 14, 2013 at 2:30 PM, Graham Pearson wrote: > repeat for each line L in tKeys > answer info > gAvailableMarketReceiveTowerDataArray[ReceiveTowers][L]["ID"] with "OK" > end repeat > Hi Graham, I think you missed [@attributes] as a key between [L] and [ID]. I'm guessing you don;t have

Re: Rethinking rsa encryption of license keys

2013-05-14 Thread kee nethery
On May 14, 2013, at 3:09 PM, Dr. Hawkins wrote: > On Tue, May 14, 2013 at 2:08 PM, kee nethery wrote: > >> You embed your public RSA key into your app. >> You pick a random symmetrical key and encrypt your payload using that key. >> You encrypt the random symmetrical key with your private RSA

excluding substacks from standalone build

2013-05-14 Thread Dr. Hawkins
I had thought that there was an option to determine which substacks got built into a standalone. Was I mistake? So if I have substacks that are only used for development, and not by users do I do something like shell copy thisstack.livecode to buildme.livecode send prepareyourself to stack delet

Re: Rethinking rsa encryption of license keys

2013-05-14 Thread Dr. Hawkins
On Tue, May 14, 2013 at 2:08 PM, kee nethery wrote: > You embed your public RSA key into your app. > You pick a random symmetrical key and encrypt your payload using that key. > You encrypt the random symmetrical key with your private RSA key. > You append the encrypted random key to your encrypt

Re: ClipboardData

2013-05-14 Thread Magicgate Software - Skip Kimpel
Phil, I tried your method and then took a look at _temp_ and the result was the same. Craig, If I paste my clipboard into Notepad or any other text based application, it translates over properly... just not in LC. I am using 5.5.4 SKIP On Tue, May 14, 2013 at 4:00 PM, wrote: > Yipes. > > > C

Re: Array Looping to Insert into Database

2013-05-14 Thread Graham Pearson
Now my next array question is a bit different and trying to use the knowledge from the array listed below to solve for this array which has not worked as of yet (But still trying as I write this). New Array: gAvailableMarketReceiveTowerDataArray ReceiveTowers Market[10] @attributes

Re: Rethinking rsa encryption of license keys

2013-05-14 Thread kee nethery
You embed your public RSA key into your app. You pick a random symmetrical key and encrypt your payload using that key. You encrypt the random symmetrical key with your private RSA key. You append the encrypted random key to your encrypted payload and send that to the customer. You extract the enc

Re: ClipboardData

2013-05-14 Thread Phil Davis
Hi Skip, If you're using LC 5.5 or better, have you considered processing the styledText of the field after the paste instead of the clipboardData before the paste? I found this makes it possible to do pretty much whatever you need to do. I recently created a field behavior script that allows

Rethinking rsa encryption of license keys

2013-05-14 Thread Dr. Hawkins
In earlier discussions, I had pretty much settled on using an RSA key pair for my licensing (particularly, for per use licensing), giving the public key to the user and retaining the private key. It just occurred to me, though: given that this lets them decrypt the entire license payload, which i

Re: Import Snapshot in iOS

2013-05-14 Thread Mark Wilcox
I looked up the iOS snapshot code.  It looks to me as if it renders the contents of the window into a bitmap context.  I've written my own screen snapshot and video recording code on iOS and this doesn't capture the contents of a view/window drawn directly with OpenGL - for that you need to read

Re: ClipboardData

2013-05-14 Thread dunbarx
Yipes. Can you dig in and see if there is any char at all where the space ought to have been. In other words, is that "space" empty? Craig Newman -Original Message- From: Magicgate Software - Skip Kimpel To: How to use LiveCode Sent: Tue, May 14, 2013 3:05 pm Subject: ClipboardDat

Re: Flipping Animated GIFs

2013-05-14 Thread Roger Eller
It appears that LC either loses the "animation" flag, or reduces the image to a single frame if you flip it. I opened an animated GIF in gimp, and save flipped it there, and chose export. At this point, I had to re-check the animation button. I imported both, grouped them so they would move as one

Re: "revdberr, " as the returned value on *successful* postgres operations

2013-05-14 Thread Peter Haworth
I think I saw in a previous message that you are using revDataFromQuery to execute the BEGIN/UPDATE statements? If so, I'd say there could be unexpected results since that function expects a SELECT statement and returns the result of it. Not saying it won't work but revExecuteSQL is what should r

Re: "revdberr, " as the returned value on *successful* postgres operations

2013-05-14 Thread Dr. Hawkins
On Tue, May 14, 2013 at 10:35 AM, Mike Bonner wrote: > Is it reliably reproducible? You said: "I've also seen the same issue > with single transactions outside of BEGIN > blocks." > When using the same data, same single transaction, do you get the same > result every time? Does changing the da

ClipboardData

2013-05-14 Thread Magicgate Software - Skip Kimpel
I have used clipboarddata for many project in the past. Today I was trying to process a clipboard selection that came from a Word 2003 document and it did not preserve any of the spaces. I have used the format of "text", "html", "rtf". actually tried all the available options. Suggestions?

Re: Import Snapshot in iOS

2013-05-14 Thread Roger Guay
Richard, I presume you were asking anyone on the list. I, for one, do not know! Roger On May 14, 2013, at 9:37 AM, Richard Gaskin wrote: > Ender Nafi wrote: >> Roger's right. >> It's an odd thing but setting the a-R to true prohibits importing snapshots. >> Commenting it out fixes the issue.

Re: Flipping Animated GIFs

2013-05-14 Thread Richmond
On 05/14/2013 02:17 PM, Roger Eller wrote: A quick hide / show should get him animated again... unless it's not supported while flipped. I have not tried it. No joy, I'm afraid. Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com

Re: "revdberr, " as the returned value on *successful* postgres operations

2013-05-14 Thread Mike Bonner
Is it reliably reproducible? You said: "I've also seen the same issue with single transactions outside of BEGIN blocks." When using the same data, same single transaction, do you get the same result every time? Does changing the data change the response? If a specific set of conditions can be t

Re: "revdberr, " as the returned value on *successful* postgres operations

2013-05-14 Thread Dr. Hawkins
On Tue, May 14, 2013 at 10:11 AM, Mike Bonner wrote: > > and a revexecutesql with a commit after the repeat then no semicolons > should be added. Since you're building the whole thing and then sending it > as a unit, all but the last would be needed as you surmise. > > I was just going based on t

Re: "revdberr, " as the returned value on *successful* postgres operations

2013-05-14 Thread Dr. Hawkins
On Tue, May 14, 2013 at 10:03 AM, Dr. Hawkins wrote > > > BEGIN TRANSACTION; > UPDATE baggins_bilbo001_sofa SET A = 'Ape guy', B = 'Sunday', C = '9 > banana', D = '', usr= '', tstmp = NOW() WHERE uniq_sfky =7; > UPDATE dhbk_dtIdx SET lastOpened=NOW(), usr=' ' WHERE > dtStem='baggins_bilbo

Re: "revdberr, " as the returned value on *successful* postgres operations

2013-05-14 Thread Mike Bonner
Right, if you're using a transaction block then yes you need the intermediate semicolons added yourself. (unless you're using multiple separate revexecutesql statements rather than handing off a complete list in 1 go) So yeah if you do revexecutesql with your begin transaction a repeat with a re

Re: iOS Audio/Video

2013-05-14 Thread Ender Nafi Elekçioğlu
Dan, you're right. I didn't notice the *iOS Player Control* thing, sorry. Theoretically, setting the *useApplicationAudioSession* of the player should give the control to the programmer via creating a sound channel for the playing movie. { http://stackoverflow.com/questions/3793839/how-to-adju

Re: "revdberr, " as the returned value on *successful* postgres operations

2013-05-14 Thread Dr. Hawkins
On Mon, May 13, 2013 at 7:11 PM, Mike Bonner wrote: > Are you adding the ; at the end of your sql strings? I'm pretty sure rev > appends its own ; so the result would be an extra one. Which might make > postgres a) do whatever you told it to, then b) return a confused error due > to the second ;

Re: Import Snapshot in iOS

2013-05-14 Thread Richard Gaskin
Ender Nafi wrote: Roger's right. It's an odd thing but setting the a-R to true prohibits importing snapshots. Commenting it out fixes the issue. Not tested in LiveCode 6.0.1, though… That's not mentioned in the Dictionary. Is that a documentation bug, or does it only affect the older method o

mobilePickMedia

2013-05-14 Thread Dan Friedman
mobilePickMedia allows you to pick media from the devices audio library. Is there a way to pick (or just get a reference to) a movie? The movies/videos listed in the "Videos" app? Thanks! -Dan ___ use-livecode mailing list use-livecode@lists.runrev.c

Re: Trace.. Like Director

2013-05-14 Thread Matthias Rebbe
And there is Mark Wieder´s nifty PowerDebug, which even let you remote debug. http://www.ahsoftware.net/PowerTools/PowerDebug/PDDemo.html Matthias Am 14.05.2013 um 17:33 schrieb Scott Rossi : > LiveCode has the message box, where you can spit out values of anything by > scripting "put..." fo

Re: iOS Audio/Video

2013-05-14 Thread Dan Friedman
Ender, Thanks for the reply... but I don't think mobileSetSoundChannelVolume and mobileSoundChannelVolume are connected to the iOS Player Control. From what I can tell, the audio playing from the iOS Player Control isn't listed in mobileSoundChannels(). Therefore, mobileSetSoundChannelVolume

Re: Import Snapshot in iOS

2013-05-14 Thread Ender Nafi Elekçioğlu
Roger's right. It's an odd thing but setting the a-R to true prohibits importing snapshots. Commenting it out fixes the issue. Not tested in LiveCode 6.0.1, though… ~ Ender Nafi ~… together, we're smarter …~ ___ use-livecode mailing list use-livecod

Re: Import Snapshot in iOS

2013-05-14 Thread Roger Guay
I just tried it on a stack that Ender provided and again, found that snapshot does not work in iOS if acceleratedRendering is set true on openStack. BTW, I'm using LC 5.5.4. Roger On May 14, 2013, at 9:16 AM, Roger Guay wrote: > No doubt, you're correct John. But, in my case, acceleratedRende

Re: Import Snapshot in iOS

2013-05-14 Thread Roger Guay
No doubt, you're correct John. But, in my case, acceleratedRendering is the one line of code that results in snapshot not working in iOS. I've tried moving it from openStack to preopenStack to no avail. Can you think of any reason why this might be? Thanks, Roger On May 14, 2013, at 7:41 AM

Re: iOS Audio/Video

2013-05-14 Thread Ender Nafi Elekçioğlu
Hi Dan, > (1) Is it possible to determine if headphones are inserted (or otherwise > connected) to a iPhone/iPad? Probably, you'll need an external for that. > (2) Can the volume of a iOS Player Control be set? If not, can the > Application Instance volume be set? If not, can the device volum

Re: Field changes prompting save

2013-05-14 Thread Peter Haworth
Write a closeStack handler for the substack that issues a save command. It's kinda working around the issue rather than fixing it but does avoid a user prompt. Pete lcSQL Software On Tue, May 14, 2013 at 7:14 AM, Bert Shuler wrote: > I created a sub-stack with my fields

Re: Trace.. Like Director

2013-05-14 Thread Scott Rossi
LiveCode has the message box, where you can spit out values of anything by scripting "put..." for example "put mySpecialOutputValue". And there is a debugger which is activated by clicking in the left margin of the script editor and placing a red dot next to the line where you want to start deb

Re: "revdberr, " as the returned value on *successful* postgres operations

2013-05-14 Thread Peter Haworth
I guess I was looking for the Livecode script, not the SQL statement. But Mike's point is a good one; the dictionary is pretty adamant about not including a semicolon at the end SQL statements Pete lcSQL Software On Mon, May 13, 2013 at 6:52 PM, Dr. Hawkins wrote: > On

Re: skip lists

2013-05-14 Thread Peter Haworth
On Mon, May 13, 2013 at 11:09 PM, Dick Kriesel wrote: > Hey, Pete. Thanks for the credit, but when I try that expression, > tDataA[tKeyA], on that data, it's empty. > > That expression, however, would be good for accessing node > tDataA[10][11][12][13][14][15][16], if you had one. > Wow, I reall

Trace.. Like Director

2013-05-14 Thread Magicgate Software - Skip Kimpel
For all you Director "convertees" Does LC have a feature like "trace" in Director where you can watch code execution as it happens? SKIP ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and m

Re: Timed scripts without locking up functionality

2013-05-14 Thread Magicgate Software - Skip Kimpel
Thank you everybody Works great! SKIP On Mon, May 13, 2013 at 9:07 PM, Scott Rossi wrote: > Make sure you put the message to be sent in quotes: > > send "magicgatemouseup" ... > > > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 5/13/13 5:26 PM, "

iOS Audio/Video

2013-05-14 Thread Dan Friedman
Greetings! I have a couple of A/V questions... (1) Is it possible to determine if headphones are inserted (or otherwise connected) to a iPhone/iPad? (2) Can the volume of a iOS Player Control be set? If not, can the Application Instance volume be set? If not, can the device volume be set? An

RE: Import Snapshot in iOS

2013-05-14 Thread John Dixon
Import snapshot works regardless of the setting of acceleratedRendering ... so, it's not a 'bug' or a 'feature'... it just does what is says on the tin... > Subject: Re: Import Snapshot in iOS > From: mcgra...@mac.com > Date: Tue, 14 May 2013 08:57:11 -0400 > To: use-livecode@lists.runrev.com >

Re: Field changes prompting save

2013-05-14 Thread Robert Brenstein
On 14.05.2013 at 7:14 Uhr -0700 Bert Shuler apparently wrote: I created a sub-stack with my fields, and I am using a sqlite db to populate them. It has the standard "next record" and CRUD type buttons. When I close the substack via the X (windows form close), it prompts me to save. I want to

Field changes prompting save

2013-05-14 Thread Bert Shuler
I created a sub-stack with my fields, and I am using a sqlite db to populate them. It has the standard "next record" and CRUD type buttons. When I close the substack via the X (windows form close), it prompts me to save.  I want to do the saving to the DB, and the substack should not prompt to s

Re: Import Snapshot in iOS

2013-05-14 Thread Thomas McGrath III
Hadn't tried it with acceleratedRendering true. a-r can be turned off at will so it shouldn't be too much of a problem but if it's a bug and not a 'feature' should let RR know about it. -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On May 14, 2013, at 8:25 AM, Roger Guay wro

RE: Import Snapshot in iOS

2013-05-14 Thread John Dixon
Roger... I use 'import snapshot' on an app in the iTunes store... acceleratedRendering is true. I am not have had any problems.. Dixie > Subject: Import Snapshot in iOS > From: i...@mac.com > Date: Tue, 14 May 2013 05:25:34 -0700 > To: use-livecode@lists.runrev.com > > Hi, > > I've discovered

Import Snapshot in iOS

2013-05-14 Thread Roger Guay
Hi, I've discovered that Import Snapshot does not work in iOS if acceleratedRendering is set to true. Works fine in OS X but not iOS. Any thoughts? Thanks, Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subs

Re: Flipping Animated GIFs

2013-05-14 Thread Roger Eller
A quick hide / show should get him animated again... unless it's not supported while flipped. I have not tried it. ~Roger On May 14, 2013 1:47 AM, "Richmond" wrote: > So, I am working out something fairly babyish for one of my "introduction > to programming" > nonsense in the Summer and have a s

Re: Live13

2013-05-14 Thread Mark Talluto
There is only one track this time around. Aside from the single track system, there are two workshop options that are small group in design (10 people max). These are being run by RunRev staff. So you are not missing anything presentation wise while watching the simulcast. I did a net speed

Re: Live13

2013-05-14 Thread Thomas McGrath III
Mark, Thank you so much for this update. The video simulcast is only of the main speaker and this year there is no video of the other tracks. I do remember the lack of a decent internet connection at AC. Wish I was there Mark. Keep up the catch up. Tom -- Tom McGrath III http://lazyriver.on-r

Re: Live13

2013-05-14 Thread Mark Talluto
The Keynote is over and we are in a mingling session for networking. The spirit is quite high. The RunRev staff is highly available to talk to. The vibe is very upbeat. The venue is one of the best so far. I might add that the internet works at this location. If you were at the Atlanta con

Re: ChatRev not working

2013-05-14 Thread Mark Schonewille
Hi Tom, Make sure to connect to chat.chatrev.com:8008 -- Kind regards, Mark Schonewille Economy-x-Talk Http://economy-x-talk.com Share the clipboard of your computer over a local network with Clipboard Link http://clipboardlink.economy-x-talk.com Op 14 mei 2013 om 09:59 heeft Thomas McGrath

ChatRev not working

2013-05-14 Thread Thomas McGrath III
I am getting a socket error using chat rev. Any ideas how to get around that??? Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubsc

Live13

2013-05-14 Thread Thomas McGrath III
No video, no chat, what's going on -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferenc

Re: Simultast Login Information

2013-05-14 Thread Shawn Blc
May 8th 0906am was the timestamp. It was in an email for KickStarter backers. On Monday, May 13, 2013, Matthias Rebbe wrote: > Hi, > > Did anyone of the simulcast users already receive her/his login details? > > Regards, > > Matthias > > > ___ > use-l

Re: wi-fi report from Travelodge

2013-05-14 Thread Colin Holgate
No, his name was Chris, and he's not here for the conference. He was just on iPad though. On May 14, 2013, at 8:03 AM, Dave Kilroy2 wrote: > >Hi Colin, that may have been me - and yes I forked out money too :) > ___ use-livecode mailing list use-li

Re: wi-fi report from Travelodge

2013-05-14 Thread Dave Kilroy2
Hi Colin, that may have been me - and yes I forked out money too :) -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/wi-fi-report-from-Travelodge-tp4664814p4664835.html Sent from the Revolution - User mailing list archive at Nabble.com. __