iOS keyboard input and rawKeyUp
Hello, When we tape a text in a field with the iOS keyboard, the rawKeyUp doesn't catch anything. How get the text typed to do a live filtering ? Thanks. LC 5.02 ___ 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: iOS keyboard input and rawKeyUp
Le 12 mars 2012 à 09:58, Ludovic Thébault a écrit : Hello, When we tape a text in a field with the iOS keyboard, the rawKeyUp doesn't catch anything. How get the text typed to do a live filtering ? Thanks. Forget, it's work ! ___ 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
Datagrids on differents cards are loosing with DatagridHelper created custom objects(iosPickWheel)
Hi, i have here a stack with 2 cards. On each card are several fields (added with mobGuid) and 1 datagid, which was customized with DataGridHelper. In the DataGrid on card 1 there are 2 columns with an iOSPickwheel. If i now add iOS Pickwheels to 2 columns of the DataGrid on card 2 then the custom objects in the DataGrid on card 1 are vanished. And if i add these controls to the DataGrid on card 1 then they dissapear in the DataGrid on card 2. The Datagrids were created seperate and were not duplicated. Am i missing something? Does anyone have a clue what might be wrong? I am totally lost at the moment. 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
Re: Sqlite and performances in LiveCode
On Thu, Mar 8, 2012 at 2:47 PM, Jérôme Rosat jro...@mac.com wrote: Trevor, yes I'm going to try. But I think it would be a good idea if you could change your stack in the lesson Displaying Large Amounts of Data to demonstrate the performance of LiveCode. I've updated the stack to use the new technique. You can download it from the same url. I'm on a faster machine testing but here are the times I get: Opening movies cursor took 150 milliseconds --- Drawing list took 81 milliseconds --- -- Trevor DeVore Blue Mango Learning Systems www.clarify-it.com-www.screensteps.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
What is wrong with this ?
Hi... On a mac this works without a problem... simple stack, one button and one field... on mouseUp put https://gg.com/racing; into raceListURL put URL raceListURL into fld 1 end mouseUp It will not work for me under Win XP from boot camp... Can anyone tell me why ? Dixie ___ 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: What is wrong with this ?
On 12/03/2012 15:38, John Dixon wrote: on mouseUp puthttps://gg.com/racing; into raceListURL put URL raceListURL into fld 1 end mouseUp It will not work for me under Win XP from boot camp... Can anyone tell me why ? It's not a help, but as a negative data point it seems to work for me (LiveCode 5.5dp1, Windows 7 64 bit). -Ken ___ 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: What is wrong with this ?
Oh Shit !... Thanks Ken...:-) Date: Mon, 12 Mar 2012 15:54:57 + From: k...@kencorey.com To: use-livecode@lists.runrev.com Subject: Re: What is wrong with this ? On 12/03/2012 15:38, John Dixon wrote: on mouseUp puthttps://gg.com/racing; into raceListURL put URL raceListURL into fld 1 end mouseUp It will not work for me under Win XP from boot camp... Can anyone tell me why ? It's not a help, but as a negative data point it seems to work for me (LiveCode 5.5dp1, Windows 7 64 bit). -Ken ___ 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: What is wrong with this ?
On 03/12/2012 10:54 AM, Ken Corey wrote: On 12/03/2012 15:38, John Dixon wrote: on mouseUp puthttps://gg.com/racing; into raceListURL put URL raceListURL into fld 1 end mouseUp It will not work for me under Win XP from boot camp... Can anyone tell me why ? It's not a help, but as a negative data point it seems to work for me (LiveCode 5.5dp1, Windows 7 64 bit). -Ken Also works here in XP (running inside VirtualBox on a Linux machine), in both Livecode 4.6.4 and 5.0.2. 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: What is wrong with this ?
Check with a browser, first, and see if that works. If not, I'm guessing network settings on the Win XP. You can jot down the OS X TCP/IP settings and then set them up on XP. Otherwise, check and see if you can do this with some HTTP connection, not HTTPS, If this works with HTTP If this is from a standalone, make sure you copied the revsecurity.dll file with the exe. If not a standalone (this even fails at the IDE), If you are using an older version of LiveCode that does not use that file, then you need to set up OpenSSL on XP. Dar On Mar 12, 2012, at 9:38 AM, John Dixon wrote: Hi... On a mac this works without a problem... simple stack, one button and one field... on mouseUp put https://gg.com/racing; into raceListURL put URL raceListURL into fld 1 end mouseUp It will not work for me under Win XP from boot camp... Can anyone tell me why ? Dixie ___ 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 --- Dar Scott dba Dar Scott Consulting 8637 Horacio Place NE Albuquerque, NM 87111 Lab, home, office phone: +1 505 299 9497 For Skype and fax, please contact. d...@swcp.com Computer Programming and tinkering, often making LiveCode libraries and externals, sometimes writing associated microcontroller firmware. --- ___ 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: Passing parameters by reference
Hi Dick, Thanks again for this tip. I ended up using it to solve my problem by passing the whole array variable along with an optional second parameter which is a list of comma-separated key values. The function turns the key values list into an array then uses it to access the data array. If the first parameter is a simple variable, then the second parameter isn't present and the function can access it directly.. I'm wondering how you found about about this key values array feature? I can't find any mention of it in the dictionary or the reference manual and it sure seems like something that should be known! Thanks, Pete On Sat, Mar 10, 2012 at 12:06 AM, Dick Kriesel dick.krie...@mail.comwrote: LC has a way to get and set a node at any level of an array, without code that concatenates [ ] to specify the node. In an array reference a single [ ] can enclose an array of keys, -- Dick script on mouseUp local tArray, tString put 4 into tArray[ 1 ][ 2 ][ 3 ] put getNodeViaListOfKeys( tArray, ( 1, 2, 3 )) after tString -- that is, get tArray[ 1 ][ 2 ][ 3 ] setNodeViaListOfKeys tArray, ( 5, 6, 7, 8 ), 9 -- that is, put 9 into tArray[ 5 ][ 6 ][ 7 ][ 8 ] put comma getNodeViaListOfKeys( tArray, ( 5, 6, 7, 8 )) after tString -- 4,9 breakpoint end mouseUp function getNodeViaListOfKeys @pArray, pList local tKeys put pList into tKeys split tKeys by comma and null return getNodeViaArrayOfKeys( pArray, tKeys ) end getNodeViaListOfKeys function getNodeViaArrayOfKeys @pArray, @pKeysArray return pArray[ pKeysArray ] end getNodeViaArrayOfKeys command setNodeViaListOfKeys @rArray, pList, pValue local tKeys put pList into tKeys split tKeys by comma and null setNodeViaArrayOfKeys rArray, tKeys, pValue end setNodeViaListOfKeys command setNodeViaArrayOfKeys @rArray, @pKeysArray, @pValue put pValue into rArray[ pKeysArray ] end setNodeViaArrayOfKeys /script ___ 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 -- Pete Molly's Revenge http://www.mollysrevenge.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: What is wrong with this ?
Warren thanks for the reply... Dar... it works in a browser on XP with no problem. http URL's work in the script, just not with https... This is running from within the IDE and using liveCode 5.0.2 Dixie Check with a browser, first, and see if that works. If not, I'm guessing network settings on the Win XP. You can jot down the OS X TCP/IP settings and then set them up on XP. Otherwise, check and see if you can do this with some HTTP connection, not HTTPS, If this works with HTTP If this is from a standalone, make sure you copied the revsecurity.dll file with the exe. If not a standalone (this even fails at the IDE), If you are using an older version of LiveCode that does not use that file, then you need to set up OpenSSL on XP. Dar On Mar 12, 2012, at 9:38 AM, John Dixon wrote: Hi... On a mac this works without a problem... simple stack, one button and one field... on mouseUp put https://gg.com/racing; into raceListURL put URL raceListURL into fld 1 end mouseUp It will not work for me under Win XP from boot camp... Can anyone tell me why ? Dixie ___ 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 --- Dar Scott dba Dar Scott Consulting 8637 Horacio Place NE Albuquerque, NM 87111 Lab, home, office phone: +1 505 299 9497 For Skype and fax, please contact. d...@swcp.com Computer Programming and tinkering, often making LiveCode libraries and externals, sometimes writing associated microcontroller firmware. --- ___ 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: What is wrong with this ?
Hi John, Am 12.03.2012 um 18:30 schrieb John Dixon: Warren thanks for the reply... Dar... it works in a browser on XP with no problem. http URL's work in the script, just not with https... This is running from within the IDE and using liveCode 5.0.2 Dixie Try this: on mouseUp ## An unfortunately undocumented feature: libUrlSetSSLVerification false put https://gg.com/racing; into raceListURL put URL raceListURL into fld 1 end mouseUp Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.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: What is wrong with this ?
Klaus... 'Magic'... worked like a charm, I thank you...:-) It does however beg the question as to why this is undocumented ? Dixie Subject: Re: What is wrong with this ? From: kl...@major.on-rev.com Date: Mon, 12 Mar 2012 18:34:00 +0100 To: use-livecode@lists.runrev.com Hi John, Am 12.03.2012 um 18:30 schrieb John Dixon: Warren thanks for the reply... Dar... it works in a browser on XP with no problem. http URL's work in the script, just not with https... This is running from within the IDE and using liveCode 5.0.2 Dixie Try this: on mouseUp ## An unfortunately undocumented feature: libUrlSetSSLVerification false put https://gg.com/racing; into raceListURL put URL raceListURL into fld 1 end mouseUp Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.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 ___ 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: What is wrong with this ?
Hi John, Am 12.03.2012 um 18:38 schrieb John Dixon: Klaus... 'Magic'... worked like a charm, I thank you...:-) Yep, this also saved my life a couple of times :-) It does however beg the question as to why this is undocumented ? I do not have the slightest idea! Dixie Try this: on mouseUp ## An unfortunately undocumented feature: libUrlSetSSLVerification false put https://gg.com/racing; into raceListURL put URL raceListURL into fld 1 end mouseUp Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.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: What is wrong with this ?
On 12/03/2012 17:34, Klaus on-rev wrote: ## An unfortunately undocumented feature: libUrlSetSSLVerification false Uh...doesn't that turn off SSL certificate validation? As in: we don't really know if we're talking to the people we think we are? I once saw a beginner write a c program like this: #include stdio.h main(){ /* int badcode; / broken comment for(int i=..blah) { blah(broken code; } */ } She wondered why it didn't do anything. When I told her to remove the /* */ comment symbols, she replied But then it doesn't compile. Turning off SSL Certificate Validation sounds an awful lot like it doesn't compile. -Ken ___ 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: Passing parameters by reference
Pete- Monday, March 12, 2012, 10:19:14 AM, you wrote: I'm wondering how you found about about this key values array feature? I can't find any mention of it in the dictionary or the reference manual and it sure seems like something that should be known! Dick is well known as the master of arrays. I've learned to just accept his advice without questioning. -- -Mark Wieder mwie...@ahsoftware.net ___ 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: Apple iPad announcement evokes yawn
Aren't we all lazy developers here? ;-) Bob On Mar 10, 2012, at 10:41 AM, Richard Gaskin wrote: Andre Garzia wrote: I've heard that Google is dealing with that by shipping a new Android Emulator in the SDK. This new emulator will randomize the rect of the device upon every launch with values between 124 and 2048. =) That would actually be a very value feature, as it would reduce the number of lazy developers who live in a vacuum in which they assume the world has only the devices they personally test with. ___ 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: What is wrong with this ?
On 03/12/2012 12:38 PM, John Dixon wrote: It does however beg the question as to why this is undocumented ? And also the question 'why is there a problem there, but not here?' 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: Passing parameters by reference
On Mar 12, 2012, at 10:19 AM, Pete wrote: I'm wondering how you found about about this key values array feature? I can't find any mention of it in the dictionary or the reference manual and it sure seems like something that should be known! I found it while looking through bug reports for arrays, in http://quality.runrev.com/show_bug.cgi?id=7166 dated 2008-11-28. So, thanks be to Mark Waddingham and David Bovill for that. For convenience, here's Mark's reply to David: Thanks for the suggestion. This is on the list to include for the next version. In that version with: put tValue into tArray[tKey] (indeed anywhere you can currently do tArray[tKey]) The meaning of 'tKey' will be extended: 1) If it is a string then it is as it is now 2) If it is a numerically keyed array starting at 1, then it will mean: put tValue into tArray[tKey[1]][tKey[2]]...[tKey[n]] where n is the number of elements in tKey 3) Otherwise it is an error. This will allow you to construct an array containing the path to the key you want to modify/fetch/delete dynamically. I agree, the feature's worth adding into the dictionary and manual. -- Dick ___ 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: Passing parameters by reference
On Mar 12, 2012, at 11:12 AM, Mark Wieder wrote: Dick is well known as the master of arrays. I've learned to just accept his advice without questioning. I didn't know that! But, I make so many misteaks that I have to recomend that you resume questoining. -- Dick ___ 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
Exporting a snapshot directly to Preview
Is it possible to export a snapshot so that it opens directly in Preview? (Where it might be printed.) What would be the comparable image viewer in Windows? (Where it might be printed.) Thanks, Jim Hurley ___ 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: HELP! - Linefeeds and Mac Vs Windows
On 11.03.2012 at 20:09 Uhr -0700 RevList apparently wrote: Thanks for the suggestions. In fact, I use Notepad Plus and it was opening the original one saved by using file: and it looked fine. Perl just didn't like it. I switched now to binfile: to save the file and NotePad still sucks, but at least my perl script is now working. Thanks again for the support this group offers in such a timely manner. Mac files normally have cr not lf as linend, hence NotePad does not see them. Simply saving as binfile probably creates file with lf only. You can use BBEdit or TextWrangler to change these before resaving the file. Setting crlf in Rev is possible but a tad tricky. That was discussed in the past on the list, so archive search should bring that back. Robert ___ 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: Exporting a snapshot directly to Preview
Hi Jim: Here's an example for OS X: on mouseUp put specialFolderPath(desktop) /exported.png into theFilePath export snapshot from img 1 to file theFilePath as PNG launch theFilePath with /Applications/Preview.app end mouseUp You can choose whatever image format you need, and you should probably make the script more robust by checking for the existence/path of the Preview app, confirm overwriting of the exported file, etc. For Windows, you might be able to use MS Paint but I haven't tested this. Hope this helps. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Jim Hurley wrote: Is it possible to export a snapshot so that it opens directly in Preview? (Where it might be printed.) What would be the comparable image viewer in Windows? (Where it might be printed.) Thanks, Jim Hurley ___ 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
Slightly OT - LC in Keynote ?
I have a requirement to add a very simple LC project (with it's interaction/functionality) into a Keynote presentation, similar to how you can add a Flash movie into PowerPoint. Has anybody done this or know how to ? Thanks, Bob... Bob Earp White Rock, British Columbia. ___ 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: Datagrids on differents cards are loosing with DatagridHelper created custom objects(iosPickWheel)
Hi Matthias, Basically, if the datagrids have different templates and the changes have been saved by using the Apply button, I do not see any reason for you to have this behavior. For more investigations, I replied to you off-list with some questions. On Mon, Mar 12, 2012 at 1:43 PM, Matthias Rebbe matthias_livecode_150...@m-r-d.de wrote: Hi, i have here a stack with 2 cards. On each card are several fields (added with mobGuid) and 1 datagid, which was customized with DataGridHelper. In the DataGrid on card 1 there are 2 columns with an iOSPickwheel. If i now add iOS Pickwheels to 2 columns of the DataGrid on card 2 then the custom objects in the DataGrid on card 1 are vanished. And if i add these controls to the DataGrid on card 1 then they dissapear in the DataGrid on card 2. The Datagrids were created seperate and were not duplicated. Am i missing something? Does anyone have a clue what might be wrong? I am totally lost at the moment. Regards, Matthias Best Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.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: What is wrong with this ?
I don't think it's intentional, just fell through the cracks is my guess. Bob On Mar 12, 2012, at 10:38 AM, John Dixon wrote: Klaus... 'Magic'... worked like a charm, I thank you...:-) It does however beg the question as to why this is undocumented ? Dixie Subject: Re: What is wrong with this ? From: kl...@major.on-rev.com Date: Mon, 12 Mar 2012 18:34:00 +0100 To: use-livecode@lists.runrev.com Hi John, Am 12.03.2012 um 18:30 schrieb John Dixon: Warren thanks for the reply... Dar... it works in a browser on XP with no problem. http URL's work in the script, just not with https... This is running from within the IDE and using liveCode 5.0.2 Dixie Try this: on mouseUp ## An unfortunately undocumented feature: libUrlSetSSLVerification false put https://gg.com/racing; into raceListURL put URL raceListURL into fld 1 end mouseUp Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.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 ___ 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: What is wrong with this ?
Reminds me of a recent situation I had with with network equipment. We couldn't get the new Mesh Wireless to work properly on our very large network. People were blaming the network, and suggesting we needed to isolate everything with routers and whatnot. I told them that is a lot like the farmer who bought a heifer, but when the time came to deliver he got a sow. Amazingly, the farmer did not demand the delivery of the heifer he paid for, but instead built a new pen for the sow! If there is something wrong, it may work to pen the problem in, but it isn't fixing the problem. Oh, btw for those who care, the problem with the mesh turned out to be really small arp caches. The arp entry for the gateway would get dropped after the cache filled up, so each mesh wireless would think it lost the connection to the internet, and began using another mesh to get there. Bob On Mar 12, 2012, at 10:56 AM, Ken Corey wrote: On 12/03/2012 17:34, Klaus on-rev wrote: ## An unfortunately undocumented feature: libUrlSetSSLVerification false Uh...doesn't that turn off SSL certificate validation? As in: we don't really know if we're talking to the people we think we are? I once saw a beginner write a c program like this: #include stdio.h main(){ /* int badcode; / broken comment for(int i=..blah) { blah(broken code; } */ } She wondered why it didn't do anything. When I told her to remove the /* */ comment symbols, she replied But then it doesn't compile. Turning off SSL Certificate Validation sounds an awful lot like it doesn't compile. -Ken ___ 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: Passing parameters by reference
Just weighing in here, that would be a bit confusing. Passing by reference means that the command or function has access to the variable passed to it. By passing what amounts to a statement, there is nothing for LC to manipulate on the other end. Statements have to have some place to put the results. In this case, there is no place for LC to put the statement when passed by reference. Even a reference to an element of an array is a statement of sorts. That the command is in essence the characters for key delimiters [] doesn't change that. The array that is an element in a multidimensional array is not itself a container. The array is the container. To work with it you have to put it into it's own container then pass the new array by reference. I hope that makes sense. At least it does to me. :-) Bob On Mar 10, 2012, at 11:53 AM, Dar Scott wrote: Thanks for the tip, Dick, on using the list of keys. One can think of arrays as nested or multidimensional. On Mar 10, 2012, at 1:06 AM, Dick Kriesel wrote: I agree it'd be good if LC could accept any array reference for invoking a handler that specifies pass-by-reference. Though is is probably more work, one might also consider chunks in pass-by-reference. Maybe any thing the subtract command can take. However, this might be a problem: doSomethingToTheseTwo char 1 to 2 of it, char 2 to 3 of it command doSomethingToTheseTwo @a, @b put butter into a put cheese into b put empty into a end doSomethingToTheseTwo That might also have a problem with this call: doSomethingToTheseTwo x, x[t] I immagine LiveCode folks can come up with a semantics that makes sense for weird cases. The subtract command does not have the the problem because it modifies only one thing. Dar ___ 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: Externals
try http://www.runrev.com/newsletter/november/issue13/newsletter5.php and http://www.runrev.com/newsletter/november/issue14/newsletter3.php Best regards, François Le 12 mars 2012 à 22:53, Pete a écrit : The Reference Manual includes a link to get the externals developer kit and also a couple of links to tutorials for writing externals. None of them work (error 404's). Can someone point me to where I can get the kit and review the tutorials? Thanks, -- Pete Molly's Revenge http://www.mollysrevenge.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 ___ 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: Slightly OT - LC in Keynote ?
I have not heard that you can imbed an LC app into a PowerPoint presentation. Can you embed other apps in a PowerPoint presentation? LC is not a player, it's a runtime app. I suspect that if PowerPoint accepts file links, you could create a link that launched the LC app as a standalone, but then it would not be embedded per se. Bob On Mar 12, 2012, at 2:29 PM, Bob Earp wrote: I have a requirement to add a very simple LC project (with it's interaction/functionality) into a Keynote presentation, similar to how you can add a Flash movie into PowerPoint. Has anybody done this or know how to ? Thanks, Bob... Bob Earp White Rock, British Columbia. ___ 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: Slightly OC - LC in Keynote ?
I believe QuitTime has the ability to record your screen into a video and if you do the LiveCode app demo and record it you could have that video in KeyNote. Plus, you could ship it to other folks and they could see it also. Kee Nethery On Mar 12, 2012, at 2:29 PM, Bob Earp wrote: I have a requirement to add a very simple LC project (with it's interaction/functionality) into a Keynote presentation, similar to how you can add a Flash movie into PowerPoint. Has anybody done this or know how to ? Thanks, Bob... Bob Earp White Rock, British Columbia. ___ 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: Sqlite and performances in LiveCode
Hi Trevor, Thanks for making that change. I've been following up a bit more on the behavior of GetDataForLine being called in repeated cycles for the number of lines in the datagrid. As a reminder, the datagrid has 11 visible lines, GetDataForLine gets called once for lines 1-12, then a second time for lines 1-2 again, and occasionally a third time for lines 1-2. I think I know the reason this is happening. The first GetDataForLine cycle happens when I set the dgProps[Columns] property of the datagrid. The second cycle happens when I set the dgNumberOfRecords property. There's a possible third cycle because sometimes I set the dgProps[Sort By Column] property. I have tried setting the dgNumberOfRecords to empty, zero, or NULL before any of the above properties are changed but it doesn't seem to make any difference. Hoping you may have a recommendation as to how to avoid these multiple cycles! Thanks, Pete On Mon, Mar 12, 2012 at 7:01 AM, Trevor DeVore li...@mangomultimedia.comwrote: On Thu, Mar 8, 2012 at 2:47 PM, Jérôme Rosat jro...@mac.com wrote: Trevor, yes I'm going to try. But I think it would be a good idea if you could change your stack in the lesson Displaying Large Amounts of Data to demonstrate the performance of LiveCode. I've updated the stack to use the new technique. You can download it from the same url. I'm on a faster machine testing but here are the times I get: Opening movies cursor took 150 milliseconds --- Drawing list took 81 milliseconds --- -- Trevor DeVore Blue Mango Learning Systems www.clarify-it.com-www.screensteps.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 -- Pete Molly's Revenge http://www.mollysrevenge.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: Sqlite and performances in LiveCode
Correction of type! Both instances of 1-2 should read 1-12, sorry. Pete On Mon, Mar 12, 2012 at 5:17 PM, Pete p...@mollysrevenge.com wrote: GetDataForLine gets called once for lines 1-12, then a second time for lines 1-2 again, and occasionally a third time for lines 1-2. -- Pete Molly's Revenge http://www.mollysrevenge.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: Passing parameters by reference
I'm not sure whose post you're responding to Bob. Where do you see something that amounts to a statement being passed as a referenced parameter? Pete On Mon, Mar 12, 2012 at 3:04 PM, Bob Sneidar b...@twft.com wrote: Just weighing in here, that would be a bit confusing. Passing by reference means that the command or function has access to the variable passed to it. By passing what amounts to a statement, there is nothing for LC to manipulate on the other end. Statements have to have some place to put the results. In this case, there is no place for LC to put the statement when passed by reference. Even a reference to an element of an array is a statement of sorts. That the command is in essence the characters for key delimiters [] doesn't change that. The array that is an element in a multidimensional array is not itself a container. The array is the container. To work with it you have to put it into it's own container then pass the new array by reference. I hope that makes sense. At least it does to me. :-) Bob On Mar 10, 2012, at 11:53 AM, Dar Scott wrote: Thanks for the tip, Dick, on using the list of keys. One can think of arrays as nested or multidimensional. On Mar 10, 2012, at 1:06 AM, Dick Kriesel wrote: I agree it'd be good if LC could accept any array reference for invoking a handler that specifies pass-by-reference. Though is is probably more work, one might also consider chunks in pass-by-reference. Maybe any thing the subtract command can take. However, this might be a problem: doSomethingToTheseTwo char 1 to 2 of it, char 2 to 3 of it command doSomethingToTheseTwo @a, @b put butter into a put cheese into b put empty into a end doSomethingToTheseTwo That might also have a problem with this call: doSomethingToTheseTwo x, x[t] I immagine LiveCode folks can come up with a semantics that makes sense for weird cases. The subtract command does not have the the problem because it modifies only one thing. Dar ___ 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 -- Pete Molly's Revenge http://www.mollysrevenge.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: Slightly OT - LC in Keynote
Sorry if I confused you Bob, I wasn't suggesting you could run an LC (stand-alone) project in PowerPoint, but you can run a .swf file which can include interaction. As you say, I could create a link in Keynote to the stand-alone LC project, but was hoping somebody had done something whizzy with an ActionScript or something that had it more integrated. Kee, I need the interaction in the LC project, so unfortunately a QT movie won't do that, but it was a good idea, thanks... best, Bob... Bob Sneidar wrote: I have not heard that you can imbed an LC app into a PowerPoint presentation. Can you embed other apps in a PowerPoint presentation? LC is not a player, it's a runtime app. I suspect that if PowerPoint accepts file links, you could create a link that launched the LC app as a standalone, but then it would not be embedded per se. Bob Bob Earp White Rock, British Columbia. ___ 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: Passing parameters by reference
Pete- Monday, March 12, 2012, 5:39:16 PM, you wrote: I'm not sure whose post you're responding to Bob. Where do you see something that amounts to a statement being passed as a referenced parameter? Here's the problem: a parameter of the form array[key] is not a pointer to the key element of the array but rather the value stored in the array. So saying myArray[myKey] = hello doSomethingWith myArray[myKey] gives a parameter of hello to on doSomethingWith @arg You'd have to somehow prevent the dereferencing of myArray[myKey] in order to pass it by reference. -- -Mark Wieder mwie...@ahsoftware.net ___ 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