From terry.judd at unimelb.edu.au Sat Jun 1 00:03:59 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Sat, 1 Jun 2013 04:03:59 +0000 Subject: [mobile] how to implement side-to-side swiping of a vertically scrolling group Message-ID: <979C3971-2867-4813-B90B-D10CB1171977@unimelb.edu.au> I have a vertical scrolling group (day-per-view calendar object) that I want to be able to navigate back or forwards a day by using a horizontal swipe. I have this working reasonably well but because the group is scrolling the swipe needs to be more or less perfectly horizontal otherwise the group scrolls and the swipe is bypassed. Has anyone successfully implemented something like this? I was wondering whether there was some way of delaying the scroller coming into play until the mouse had moved vertically a small amount? Any ideas welcome. Terry... Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From revdev at pdslabs.net Sat Jun 1 00:28:48 2013 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 31 May 2013 21:28:48 -0700 Subject: Virtual Server Install In-Reply-To: References: Message-ID: <51A97880.7080608@pdslabs.net> Boy I like this idea. I have several DH accounts and would LOVE to have LC Server on there. Phil Davis On 5/31/13 7:59 PM, Dr. Hawkins wrote: > On Fri, May 31, 2013 at 11:00 AM, stephen barncard > wrote: >> I've been planning to send an email the CEO of Dreamhost and suggest they >> offer Livecode with their one click installs after the community edition is >> released. They are a pretty hip company and may already be planning this. > I'm hosted on dreamhost. > > If they would offer postgres (now just mysql) and livecode, I could > stay there, rather than moving on . . . > -- Phil Davis From richmondmathewson at gmail.com Sat Jun 1 04:04:47 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 01 Jun 2013 11:04:47 +0300 Subject: dealing with these *huge* pdf files generated In-Reply-To: References: Message-ID: <51A9AB1F.9030000@gmail.com> On 06/01/2013 02:33 AM, Dr. Hawkins wrote: > I am ending up with *huge* pdf files. > > I'm seeing Acrobat 10 pro mac reduce files by over 90%, and preview > reduce them by about 80%. > > These insanely large files bog up the printer, and are bigger than the > court allows. > > Is there some sane way to produce ssmaller files from within hypercard? > 'hypercard' ??? is that some sort of retro psychological slip? Richmond. From sc at sahores-conseil.com Sat Jun 1 06:44:31 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Sat, 1 Jun 2013 12:44:31 +0200 Subject: Virtual Server Install In-Reply-To: <51A8F2C1.5010606@fourthworld.com> References: <51A8F2C1.5010606@fourthworld.com> Message-ID: <4C08754D-B987-4955-ABC6-6ECBFA90BFC2@sahores-conseil.com> Thanks for this great resume Richard! Add me to the petition, friends, if this way of hosting services LC-server evangelization is chosen ;-) Pierre Le 31 mai 2013 ? 20:58, Richard Gaskin a ?crit : > Mark Rauterkus wrote: > > > http://livecode.com/how-it-works/platforms-and-devices/server/ > > > > That info above is exciting, but there has to be more depth somewhere. > > Where? > > The docs included in the package often describe all that one needs to know. There are a few errors and omissions, but overall they're not a bad starting point. > > Once we get further along with community involvement we can of course coordinate with the mother ship to enhance those docs - what would you like to see done first? > > > stephen barncard wrote: > > > I've been planning to send an email the CEO of Dreamhost and suggest > > they offer Livecode with their one click installs after the community > > edition is released. They are a pretty hip company and may already be > > planning this. > > If they'd be receptive to a petition, I'd sign it. > > It may be best to do that after the next version of LiveCode Server is released. > > The current version will fail with certain I/O routines on Dreamhost's current system setup, for the reasons I described here earlier with 64-bit inodes. > > But thankfully Mark Waddingham was able to find a way to reproduce the issue on a test machine in their office, and the fix is now evident in the v6.0.1 engine, confirmed by Mark and verified in my testing with a standalone on Dreamhost. > > So once the new LiveCode Server engine is released, we'll finally be able to run in confidently on all Dreamhost servers (and a growing number of others that are migrating to the XFS file system). > > > One good selling point speaks to the same reason they're migrating to XFS: efficiency with regard to system load. With XFS they can save enough energy to pay for an admin's salary. Similarly, LiveCode is an unusually lean system for what it provides. > > For example, I have a custom search engine written in LiveCode that is able to do everything it needs to do in just 30% as much memory and 10% as many CPU cycles as it takes Drupal just to open a page. > > Even with the presumed inefficiencies of a non-threaded system, LiveCode loads so fast* and is done in just milliseconds that overall use of system resources is often lower than alternatives for equivalent tasks. > > Of course one would want to frame that carefully in discussion with them. For example, in all fairness to Drupal the reason it uses so much RAM is that it's a really complex, flexible system. No doubt if one wrote something that complex in LiveCode rather than PHP it would also require a lot of RAM, possibly more because it can't take advantage of any stay-resident options like mod_php offers. > > That said, I'm not even sure DH uses mod_php; it may be that they're running PHP in CGI mode (I'd have to check their wiki to make sure). > > But either way, it's so easy to write custom stuff in LC that we don't need complex frameworks as frequently, so I suspect that in the larger view the message of resource efficiency is a sound one. > > > * Running LC as a CGI, as happens with LiveCode Server, places unusually strong emphasis on runtime efficiency, since it needs to load, initialize, run, and die in the time it takes to satisfy an HTTP request. > > Accordingly, I've been exploring LC's boot sequence with strace on Linux, and have found some redundant calls that can be removed, which will boot its overall efficiency just a little bit more. > > The biggest redundancy is unfortunately something that AFAIK only affects standalones: it makes 93 attempts to open revDatabaseLibray, looking for various permutations (no suffice, with ".rev", with ",mc", etc.) and in various locations (CGI folder, one up, root, etc.). > > If you're not using any database drives, all 93 of those calls are a waste of clock cycles. They don't even add up to much, but with multiple instances of the engine running as a CGI it can add up, so I was glad the team was able to confirm my report and is looking into this. > > It may be that this also happens with LC server, since of course it also may sometimes need the DB lib, so this benefit may extend to that build as well. > > But along the way I also found other redundancies, like multiple calls to getSystemTime, and others, and once those are trimmed back we may see boot times shortened by a useful percentage, perhaps 20-30%. > > Of course in real-time measurements those are trivial, amounting to less than a millisecond. But thinking in terms of scalability, since each call to LC Server instantiates a fresh copy, any reduction in load time will help extend the value of a system driven by LC as its audience grows, also likely to trim a bit of memory usage by having fewer calls in the queue. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From palcibiades-first at yahoo.co.uk Sat Jun 1 09:25:38 2013 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sat, 1 Jun 2013 06:25:38 -0700 (PDT) Subject: [ANN] Book "Programming LiveCode for the Real Beginner" sold out! In-Reply-To: <8889ABC6-2B56-4314-8B63-58F10F79EE14@verizon.net> References: <51A641A4.9070905@economy-x-talk.com> <1369923976940-4665612.post@n4.nabble.com> <9111964F-D6A9-452A-87B2-9BA63B0163B5@jhj.com> <00E3D07A-F33F-4AA6-85E3-5C8EBCBD3BB1@verizon.net> <51A92B6D.6020608@tweedly.net> <8889ABC6-2B56-4314-8B63-58F10F79EE14@verizon.net> Message-ID: <1370093138516-4665698.post@n4.nabble.com> Is Kobo any good? Yes, the new slightly oversize one is the only e-ink e-reader to get. Unless you want to go to the really big ones like the DX, and there are one or two variants of that. The Kobo is fast, incredible definition, open standards, and the extra screen area makes all the difference. And it takes memory cards. The Nook HD+ is also very nice as e-reader but its backlit. Especially now its opened up to the android store. Wonderful screen and very cheap for what it is. Maybe not the best tablet, but a great ereader. But backlit is a bit tiring. Kobo is a lot better to read and of course hugely better battery life. Peter -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-Book-Programming-LiveCode-for-the-Real-Beginner-sold-out-tp4665594p4665698.html Sent from the Revolution - User mailing list archive at Nabble.com. From coiin at verizon.net Sat Jun 1 10:39:23 2013 From: coiin at verizon.net (Colin Holgate) Date: Sat, 01 Jun 2013 10:39:23 -0400 Subject: [ANN] Book "Programming LiveCode for the Real Beginner" sold out! In-Reply-To: <1370093138516-4665698.post@n4.nabble.com> References: <51A641A4.9070905@economy-x-talk.com> <1369923976940-4665612.post@n4.nabble.com> <9111964F-D6A9-452A-87B2-9BA63B0163B5@jhj.com> <00E3D07A-F33F-4AA6-85E3-5C8EBCBD3BB1@verizon.net> <51A92B6D.6020608@tweedly.net> <8889ABC6-2B56-4314-8B63-58F10F79EE14@verizon.net> <1370093138516-4665698.post@n4.nabble.com> Message-ID: <929DB989-2D27-433F-A26B-746B5E765C50@verizon.net> http://www.kobobooks.com/ebook/LiveCode-Mobile-Development-Beginners-Guide/book-zUh3lvV3rUCKVR1rdiWrAw/page1.html From dochawk at gmail.com Sat Jun 1 10:51:55 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 1 Jun 2013 07:51:55 -0700 Subject: dealing with these *huge* pdf files generated In-Reply-To: <51A9AB1F.9030000@gmail.com> References: <51A9AB1F.9030000@gmail.com> Message-ID: On Sat, Jun 1, 2013 at 1:04 AM, Richmond wrote: > 'hypercard' ??? > > is that some sort of retro psychological slip? A double-slip, at that--I went over from HyperCard to SuperCard with this program because HC couldn't have multiple stacks/views open at the time, and SC could. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From ambassador at fourthworld.com Sat Jun 1 11:22:53 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 01 Jun 2013 08:22:53 -0700 Subject: Virtual Server Install In-Reply-To: References: Message-ID: <51AA11CD.4010201@fourthworld.com> Dr. Hawkins wrote: > I'm hosted on dreamhost. > > If they would offer postgres (now just mysql) and livecode, I > could stay there, rather than moving on . . . LiveCode Server can be installed on Dreamhost now, and aside from certain I/O routines I noted yesterday (to be fixed with the next release of LiveCode Server) it runs well. In fact, if you use a standalone for your CGI built with v6.0.1 it runs perfectly on Dreamhost right now. While DH doesn't support Postgresql on their shared servers, there are instructions for installing it on a VPS or dedicated server at Dreamhost here: -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From richmondmathewson at gmail.com Sat Jun 1 11:53:52 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 01 Jun 2013 18:53:52 +0300 Subject: dealing with these *huge* pdf files generated In-Reply-To: References: <51A9AB1F.9030000@gmail.com> Message-ID: <51AA1910.2060305@gmail.com> On 06/01/2013 05:51 PM, Dr. Hawkins wrote: > On Sat, Jun 1, 2013 at 1:04 AM, Richmond wrote: >> 'hypercard' ??? >> >> is that some sort of retro psychological slip? > A double-slip, at that--I went over from HyperCard to SuperCard with > this program because HC couldn't have multiple stacks/views open at > the time, and SC could. > > To which the only reposte can be "your roots are showing"; long and curly they may be, but of good provenance! Richmond. From richmondmathewson at gmail.com Sat Jun 1 13:29:57 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 01 Jun 2013 20:29:57 +0300 Subject: [OT] Devawriter pro 1.3.2 Message-ID: <51AA2F95.7060705@gmail.com> Version 1.3.2 of the Devawriter Pro Demo is now available at: http://andregarzia.on-rev.com/richmond/dwriterpro.html And, I would, again. urge you to considering helping with its development: http://www.indiegogo.com/projects/devawriter#share Richmond. From capellan2000 at gmail.com Sat Jun 1 13:39:39 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 1 Jun 2013 10:39:39 -0700 (PDT) Subject: dealing with these *huge* pdf files generated In-Reply-To: References: <51A9AB1F.9030000@gmail.com> Message-ID: <1370108379131-4665706.post@n4.nabble.com> If you were using LiveCode, then Jan Schenkel's Library will be the way to go: Quartam PDF Library http://runtime-revolution.278305.n4.nabble.com/ANN-Quartam-PDF-Library-1-1-5-Available-td4658335.html -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/dealing-with-these-huge-pdf-files-generated-tp4665689p4665706.html Sent from the Revolution - User mailing list archive at Nabble.com. From dochawk at gmail.com Sat Jun 1 14:09:21 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 1 Jun 2013 11:09:21 -0700 Subject: dealing with these *huge* pdf files generated In-Reply-To: <1370108379131-4665706.post@n4.nabble.com> References: <51A9AB1F.9030000@gmail.com> <1370108379131-4665706.post@n4.nabble.com> Message-ID: On Sat, Jun 1, 2013 at 10:39 AM, Alejandro Tejada wrote: > > http://runtime-revolution.278305.n4.nabble.com/ANN-Quartam-PDF-Library-1-1-5-Available-td4658335.html > But that doesn't seem to do it: "Nor can it be used to modify existing PDF documents or extract text from them." The issue here isn't *generating* a pdf, but that when I export a card to one, livecode is *horribly* inefficient, making a file 10 times the size it should be. I got a message the other day (wish Id written it down) to the effect of there being unused templates or some such in the file. I have no problem making the files look exactly why I want (which is why I'm using a HyperCard derivative; the pairing is quite natural). (In fact, I suspect I replicated significant parts of some of Quantum PDF functionality in the manner I place things). Hmm, I've written raw postscript before, I suppose that I could write my own card to .ps conversion, then turn *that* into .pdf :) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Sat Jun 1 14:34:00 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 01 Jun 2013 21:34:00 +0300 Subject: Kickstarter Goals Message-ID: <51AA3E98.3060307@gmail.com> During the Kickstarter campaign it was easy to see the Kickstarter goals, and just now I really wanted to have a look at the mockup picture of the proposed new interface . . . . . . but how one finds that on the RunRev website escapes me . . . . . . as well as all the other useful and informative stuff that has apparently vanished . . . . . . the Kickstarter Goals are particularly valuable (even if it is only to hold RunRev accountable for my "widow's mite") . . . I, , , eventually , , , found the thing here: http://www.kickstarter.com/projects/1755283828/open-source-edition-of-livecode Bl**dy funny that there is no apparent link between the RunRev site and that, and that that stuff is 'there' and not also on the RunRev site. From richmondmathewson at gmail.com Sat Jun 1 14:35:09 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 01 Jun 2013 21:35:09 +0300 Subject: Kickstarter Goals In-Reply-To: <51AA3E98.3060307@gmail.com> References: <51AA3E98.3060307@gmail.com> Message-ID: <51AA3EDD.502@gmail.com> On 06/01/2013 09:34 PM, Richmond wrote: > During the Kickstarter campaign it was easy to see the Kickstarter goals, > and just now I really wanted to have a look at the mockup picture of > the proposed new interface . . . > > . . . but how one finds that on the RunRev website escapes me . . . > > . . . as well as all the other useful and informative stuff that has > apparently vanished . . . > > . . . the Kickstarter Goals are particularly valuable (even if it is > only to hold RunRev > accountable for my "widow's mite") . . . > > I, , , eventually , , , found the thing here: > http://www.kickstarter.com/projects/1755283828/open-source-edition-of-livecode > > Bl**dy funny that there is no apparent link between the RunRev site > and that, > > and that that stuff is 'there' and not also on the RunRev site. > > Come to think of things; a fullsize version of the new Interface mockup would be very useful as well as some idea when we should expect the thing. Richmond. From dochawk at gmail.com Sat Jun 1 14:45:24 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 1 Jun 2013 11:45:24 -0700 Subject: bundling multiple database queries and getting a result Message-ID: My initial forays haven't been successful. I want to pull unrelated things, likely from different tables, from the same database as part of a single inquiry something like begin transaction; SELECT a, b, c FROM firsttable; SELECT name,address FROM othertable WHERE ID=47; commit; The inquiries aren't really related, but the latency in an offsite query means that a series of inquiries slows down the program. I've tried BEGIN TRANSACTION; SELECT val FROM baggins_bilbo____001_dinfo WHERE kywd='dFirstName'; SELECT val FROM baggins_bilbo____001_dinfo WHERE kywd='dLastName'; COMMIT; Which returns 0 from revExecuteSQL I've tried leaving off the begin/commit with revDataFromQuery, but only the last query gets executed. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From warren at warrensweb.us Sat Jun 1 14:58:37 2013 From: warren at warrensweb.us (Warren Samples) Date: Sat, 01 Jun 2013 13:58:37 -0500 Subject: dealing with these *huge* pdf files generated In-Reply-To: References: Message-ID: <51AA445D.4020405@warrensweb.us> On 05/31/2013 06:33 PM, Dr. Hawkins wrote: > I am ending up with *huge* pdf files. > > I'm seeing Acrobat 10 pro mac reduce files by over 90%, and preview > reduce them by about 80%. > > These insanely large files bog up the printer, and are bigger than the > court allows. > > Is there some sane way to produce ssmaller files from within hypercard? > Does this help at all? http://www.chlab.ch/blog/archives/mac_os_x/compress-pdf-files-with-quartz-filters-from-shell In 10.6 (the latest I have available) the file "/System/Library/Printers/Libraries/quartzfilter" doesn't exist but there is a file "/System/Library/Printers/Libraries/convert" which will output a pdf although I don't know if it automatically applies optimizations. Good luck! Warren From capellan2000 at gmail.com Sat Jun 1 15:58:19 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 1 Jun 2013 12:58:19 -0700 (PDT) Subject: dealing with these *huge* pdf files generated In-Reply-To: References: <51A9AB1F.9030000@gmail.com> <1370108379131-4665706.post@n4.nabble.com> Message-ID: <1370116699144-4665712.post@n4.nabble.com> Hi, Dr. Hawkins wrote > But that doesn't seem to do it: "Nor can it be used to modify > existing PDF documents or extract text from them." > > The issue here isn't *generating* a pdf, but that when I export a card > to one, livecode is *horribly* inefficient, making a file 10 times the > size it should be. Could any of these options help to reduce PDF size? http://smallpdf.com/ http://www.pdfcompressor.org/ https://discussions.apple.com/thread/3048661?start=0&tstart=0 http://www.usfca.edu/uploadedFiles/Destinations/Offices_and_Services/ITS/learning/training/pdf_files/reducing_pdfs_mac_PC.pdf By the way, I still believe that a PDF build using Quartam must be smaller than a PDF created in an automatic way. :) Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/dealing-with-these-huge-pdf-files-generated-tp4665689p4665712.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Sat Jun 1 16:06:32 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 01 Jun 2013 23:06:32 +0300 Subject: dealing with these *huge* pdf files generated In-Reply-To: <1370116699144-4665712.post@n4.nabble.com> References: <51A9AB1F.9030000@gmail.com> <1370108379131-4665706.post@n4.nabble.com> <1370116699144-4665712.post@n4.nabble.com> Message-ID: <51AA5448.3080603@gmail.com> On 06/01/2013 10:58 PM, Alejandro Tejada wrote: > Hi, > > > Dr. Hawkins wrote >> But that doesn't seem to do it: "Nor can it be used to modify >> existing PDF documents or extract text from them." >> >> The issue here isn't *generating* a pdf, but that when I export a card >> to one, livecode is *horribly* inefficient, making a file 10 times the >> size it should be. > Could any of these options help to reduce PDF size? > > http://smallpdf.com/ > http://www.pdfcompressor.org/ > https://discussions.apple.com/thread/3048661?start=0&tstart=0 > http://www.usfca.edu/uploadedFiles/Destinations/Offices_and_Services/ITS/learning/training/pdf_files/reducing_pdfs_mac_PC.pdf > > By the way, I still believe that a PDF build using Quartam > must be smaller than a PDF created in an automatic way. :) > > Al > > > One of the ways, which is, admittedly, immensely tedious, is to import a PDF page by page into GIMP and export them as images. Probably a way to automate that???? Why did I suggest that? Good question: a bit like why people climb Mount Everest/Chomolungma: 'cos it's there. Richmond. From me at paulmaguire.me Sat Jun 1 16:45:04 2013 From: me at paulmaguire.me (Paul Maguire) Date: Sat, 1 Jun 2013 21:45:04 +0100 Subject: Android custom fonts in web scroller native control... In-Reply-To: <004d01ce5e32$2cf25da0$86d718e0$@net> References: <51A8CE4E.1020005@hyperactivesw.com> <51A8EE90.1070406@hyperactivesw.com> <004101ce5e2f$240982c0$6c1c8840$@net> <51A8F218.7090706@hyperactivesw.com> <004d01ce5e32$2cf25da0$86d718e0$@net> Message-ID: <32985E03-EFB6-4706-97E0-67DC6C84329D@paulmaguire.me> Hi all. I'm the OP :-) been out if touch since I posted. Thanks to everyone for getting back. I'm using the technique of dynamically building and HTML page, writing it locally (into the cache folder) then loading it up in a scroller. All fine, except fonts don't load. Maybe writing the fonts to the cache folder will solve this - can't check. This whole issue is handled differently in iOS and Android it seems and I can't see anything on any documentation about it. Kind regards, Paul. On 31 May 2013, at 20:08, "Ralph DiMola" wrote: > If you mean the native browser control(both mobile platforms)... All fonts > referenced in css's do work without putting them explicitly into the "copy > files" pane as long as they are in the same relative path from the "http > root" of the document. I just output my documents from InDesign as "web" and > copied the entire http tree(fonts, css, images) in the "copy files" and the > documents look perfect, fonts and all. Never checked if the builder found > those fonts for other uses in the app. Something I should check........ > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > The OP was using a native web view control, I wonder if the issue is there. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Sat Jun 1 17:32:18 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sat, 1 Jun 2013 17:32:18 -0400 Subject: Android custom fonts in web scroller native control... In-Reply-To: <32985E03-EFB6-4706-97E0-67DC6C84329D@paulmaguire.me> References: <51A8CE4E.1020005@hyperactivesw.com> <51A8EE90.1070406@hyperactivesw.com> <004101ce5e2f$240982c0$6c1c8840$@net> <51A8F218.7090706@hyperactivesw.com> <004d01ce5e32$2cf25da0$86d718e0$@net> <32985E03-EFB6-4706-97E0-67DC6C84329D@paulmaguire.me> Message-ID: <006301ce5f0f$7e77c650$7b6752f0$@net> I don't dynamically build pages but I do display pre-built pages on both iOS and Android using the EXACT same code. The only thing a can suggest is making sure the path in the font reference in the html(css) is correct. Are the fonts in the "copy file" pane(or some subfolder) in the Standalone settings? Downloading and loading the fonts at runtime can't be done(at least so says the dictionary). Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Paul Maguire Sent: Saturday, June 01, 2013 4:45 PM To: How to use LiveCode Subject: Re: Android custom fonts in web scroller native control... Hi all. I'm the OP :-) been out if touch since I posted. Thanks to everyone for getting back. I'm using the technique of dynamically building and HTML page, writing it locally (into the cache folder) then loading it up in a scroller. All fine, except fonts don't load. Maybe writing the fonts to the cache folder will solve this - can't check. This whole issue is handled differently in iOS and Android it seems and I can't see anything on any documentation about it. Kind regards, Paul. On 31 May 2013, at 20:08, "Ralph DiMola" wrote: > If you mean the native browser control(both mobile platforms)... All > fonts referenced in css's do work without putting them explicitly into > the "copy files" pane as long as they are in the same relative path > from the "http root" of the document. I just output my documents from > InDesign as "web" and copied the entire http tree(fonts, css, images) > in the "copy files" and the documents look perfect, fonts and all. > Never checked if the builder found those fonts for other uses in the app. Something I should check........ > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > The OP was using a native web view control, I wonder if the issue is there. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From john.m.paterson at gmail.com Sat Jun 1 18:31:47 2013 From: john.m.paterson at gmail.com (John Paterson) Date: Sat, 1 Jun 2013 23:31:47 +0100 Subject: LC Users - in the Bristol, Southampton, Taunton triangle Message-ID: Hi John, Peter & Dave, Yes. I am just east of Exeter in East Devon. John From me at paulmaguire.me Sat Jun 1 18:38:41 2013 From: me at paulmaguire.me (Paul Maguire) Date: Sat, 1 Jun 2013 23:38:41 +0100 Subject: Android custom fonts in web scroller native control... In-Reply-To: <006301ce5f0f$7e77c650$7b6752f0$@net> References: <51A8CE4E.1020005@hyperactivesw.com> <51A8EE90.1070406@hyperactivesw.com> <004101ce5e2f$240982c0$6c1c8840$@net> <51A8F218.7090706@hyperactivesw.com> <004d01ce5e32$2cf25da0$86d718e0$@net> <32985E03-EFB6-4706-97E0-67DC6C84329D@paulmaguire.me> <006301ce5f0f$7e77c650$7b6752f0$@net> Message-ID: Hi Ralph. I have a Media folder which contains all assets including fonts. This folder is included in standalone settings. It works under iOS - the Livecode UI displays fonts and native web scroller using CSS displays fonts. In Android, fonts appear in UI but not in scroller. I think this is to do with the path I have set up in the CSS - it works differently on different platforms. I think I need to make the path to the fonts relative to the temp HTML file I am writing out - I can't test until Monday though. Thanks for your advice - will feed back any results. Kind regards, Paul. On 1 Jun 2013, at 22:32, "Ralph DiMola" wrote: > I don't dynamically build pages but I do display pre-built pages on both iOS > and Android using the EXACT same code. The only thing a can suggest is > making sure the path in the font reference in the html(css) is correct. Are > the fonts in the "copy file" pane(or some subfolder) in the Standalone > settings? Downloading and loading the fonts at runtime can't be done(at > least so says the dictionary). > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of Paul Maguire > Sent: Saturday, June 01, 2013 4:45 PM > To: How to use LiveCode > Subject: Re: Android custom fonts in web scroller native control... > > Hi all. > > I'm the OP :-) been out if touch since I posted. Thanks to everyone for > getting back. > > I'm using the technique of dynamically building and HTML page, writing it > locally (into the cache folder) then loading it up in a scroller. All fine, > except fonts don't load. Maybe writing the fonts to the cache folder will > solve this - can't check. This whole issue is handled differently in iOS and > Android it seems and I can't see anything on any documentation about it. > > Kind regards, Paul. > > On 31 May 2013, at 20:08, "Ralph DiMola" wrote: > >> If you mean the native browser control(both mobile platforms)... All >> fonts referenced in css's do work without putting them explicitly into >> the "copy files" pane as long as they are in the same relative path >> from the "http root" of the document. I just output my documents from >> InDesign as "web" and copied the entire http tree(fonts, css, images) >> in the "copy files" and the documents look perfect, fonts and all. >> Never checked if the builder found those fonts for other uses in the app. > Something I should check........ >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> rdimola at evergreeninfo.net >> >> >> The OP was using a native web view control, I wonder if the issue is > there. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Sat Jun 1 18:47:57 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 1 Jun 2013 15:47:57 -0700 (PDT) Subject: [OT] Devawriter pro 1.3.2 In-Reply-To: <51AA2F95.7060705@gmail.com> References: <51AA2F95.7060705@gmail.com> Message-ID: <1370126877202-4665718.post@n4.nabble.com> Hi Richmond, Richmond Mathewson-2 wrote > Version 1.3.2 of the Devawriter Pro Demo is now available at: > http://andregarzia.on-rev.com/richmond/dwriterpro.html > And, I would, again. urge you to considering helping with its > development: > http://www.indiegogo.com/projects/devawriter#share The main share of users of Devawriter, Are from India? Maybe a smaller price tag could help them to use it. Have you considered convert it to a tutor to learn the language? With all your experience working in Devawriter, Could you do a similar editor for lesser know languages? There are hundreds of languages that surely need a customizable editor, similar to Devawriter. Just write to those who care and learn which are these. :D Thanks in advance and Have a nice weekend! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Devawriter-pro-1-3-2-tp4665704p4665718.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Sat Jun 1 19:03:43 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 1 Jun 2013 16:03:43 -0700 (PDT) Subject: OT: Science fiction story in the form of a Twitter bug-report In-Reply-To: <9B457DC0-3383-4AA3-99C3-B41AF5E4AD01@swcp.com> References: <51A7BBC2.7020104@hyperactivesw.com> <9B457DC0-3383-4AA3-99C3-B41AF5E4AD01@swcp.com> Message-ID: <1370127823641-4665719.post@n4.nabble.com> Microwaves are mystical and mysterious... Did you know it? :D http://www.nytimes.com/library/national/science/053000sci-physics-light.html Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Science-fiction-story-in-the-form-of-a-Twitter-bug-report-tp4665622p4665719.html Sent from the Revolution - User mailing list archive at Nabble.com. From dochawk at gmail.com Sat Jun 1 19:31:07 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 1 Jun 2013 16:31:07 -0700 Subject: dealing with these *huge* pdf files generated In-Reply-To: <1370116699144-4665712.post@n4.nabble.com> References: <51A9AB1F.9030000@gmail.com> <1370108379131-4665706.post@n4.nabble.com> <1370116699144-4665712.post@n4.nabble.com> Message-ID: On Sat, Jun 1, 2013 at 12:58 PM, Alejandro Tejada wrote: > Could any of these options help to reduce PDF size? > > http://smallpdf.com/ > http://www.pdfcompressor.org/ > https://discussions.apple.com/thread/3048661?start=0&tstart=0 > > http://www.usfca.edu/uploadedFiles/Destinations/Offices_and_Services/ITS/learning/training/pdf_files/reducing_pdfs_mac_PC.pdf > > Many *could*. But everything either wants a file uploaded, or are specific to a particular platform :( > By the way, I still believe that a PDF build using Quartam > must be smaller than a PDF created in an automatic way. :) > Well, it's an automatic way, too :) What I really want is livecode to have a non-stupid pdf output. My pdfs should be very, very small--they're pure lines and text. I suppose a page could be rendered with something like repeat for each control ob on this card switch the type of ob case "field" makefield(the topleft of ob, the bottomright of ob,the formatted text of ob) . . . end switch end repeat where makefield() and the like are very short postscript functions. The .ps would be much smaller than the .ps, but mac takes so long to render ps to pdf . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From capellan2000 at gmail.com Sat Jun 1 20:03:39 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 1 Jun 2013 17:03:39 -0700 (PDT) Subject: dealing with these *huge* pdf files generated In-Reply-To: References: <51A9AB1F.9030000@gmail.com> <1370108379131-4665706.post@n4.nabble.com> <1370116699144-4665712.post@n4.nabble.com> Message-ID: <1370131419410-4665721.post@n4.nabble.com> Have you tried to generate the PDF using Quartam Library? I am sure that Jan Schenkel will help you to convert one of your documents in a PDF. After you know how to convert the first, then the rest of documents will be easy. Did you contact him? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/dealing-with-these-huge-pdf-files-generated-tp4665689p4665721.html Sent from the Revolution - User mailing list archive at Nabble.com. From dochawk at gmail.com Sat Jun 1 21:46:27 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 1 Jun 2013 18:46:27 -0700 Subject: dealing with these *huge* pdf files generated In-Reply-To: <1370131419410-4665721.post@n4.nabble.com> References: <51A9AB1F.9030000@gmail.com> <1370108379131-4665706.post@n4.nabble.com> <1370116699144-4665712.post@n4.nabble.com> <1370131419410-4665721.post@n4.nabble.com> Message-ID: On Sat, Jun 1, 2013 at 5:03 PM, Alejandro Tejada wrote: > Have you tried to generate the PDF > using Quartam Library? > No; I don't even have the community edition installed. > > I am sure that Jan Schenkel will help you > to convert one of your documents in a PDF > > After you know how to convert the first, > then the rest of documents will be easy. > But that's the problem: I don't want to *convert* things--my software generates rather elaborate output cards, with huge amounts of time having gone into placing fields, etc. on output cards. All I need to do is output to pdf, which LiveCode already does--it just makes bloated and inefficient files. If I wanted to instead generate output Quartum's way, I'd lose the placement advantages I have from using LiveCode. And having looked at the example code, I really think I'd be better writing my own postscript functions that do exactly what I want (postscript isn't hard to write; it's really just forth.) Here's an older sample output pdf: http://dochawkbk.com/output.cd.jrlien_multiexempt.pdf It's cleaner now, but this one is on the web already. I already account for the height of the boxes on Schedules C&D (the last two pages of the pdf). -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From bornstein at designeq.com Sat Jun 1 23:26:17 2013 From: bornstein at designeq.com (Howard Bornstein) Date: Sat, 1 Jun 2013 20:26:17 -0700 Subject: Another bizarre Apple patent troll case, in which Runtime Revolution plays a bit part Message-ID: http://arstechnica.com/tech-policy/2013/06/apple-betrayed-by-its-own-law-firm/ -- Regards, Howard Bornstein ----------------------- www.designeq.com From jacque at hyperactivesw.com Sat Jun 1 23:55:42 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 01 Jun 2013 22:55:42 -0500 Subject: dealing with these *huge* pdf files generated In-Reply-To: References: <51A9AB1F.9030000@gmail.com> <1370108379131-4665706.post@n4.nabble.com> <1370116699144-4665712.post@n4.nabble.com> <1370131419410-4665721.post@n4.nabble.com> Message-ID: <51AAC23E.8070202@hyperactivesw.com> On 6/1/13 8:46 PM, Dr. Hawkins wrote: > But that's the problem: I don't want to *convert* things--my software > generates rather elaborate output cards, with huge amounts of time having > gone into placing fields, etc. on output cards. All I need to do is > output to pdf, which LiveCode already does--it just makes bloated and > inefficient files. Are these cards fixed, static cards in the stack or are the objects on them generated dynamically? If they're fixed during development, you could use the "replace" trick, where you generate pdf data with placeholders and store it in the stack, then replace the placeholders with any dynamic field content during run time. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dochawk at gmail.com Sun Jun 2 00:09:23 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 1 Jun 2013 21:09:23 -0700 Subject: dealing with these *huge* pdf files generated In-Reply-To: <51AAC23E.8070202@hyperactivesw.com> References: <51A9AB1F.9030000@gmail.com> <1370108379131-4665706.post@n4.nabble.com> <1370116699144-4665712.post@n4.nabble.com> <1370131419410-4665721.post@n4.nabble.com> <51AAC23E.8070202@hyperactivesw.com> Message-ID: On Sat, Jun 1, 2013 at 8:55 PM, J. Landman Gay wrote: > Are these cards fixed, static cards in the stack or are the objects on them > generated dynamically? If they're fixed during development, you could use > the "replace" trick, where you generate pdf data with placeholders and store > it in the stack, then replace the placeholders with any dynamic field > content during run time. They are dynamically created, based upon input data; they are court pleadings! -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From rdimola at evergreeninfo.net Sun Jun 2 01:12:25 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sun, 2 Jun 2013 01:12:25 -0400 Subject: Android custom fonts in web scroller native control... In-Reply-To: References: <51A8CE4E.1020005@hyperactivesw.com> <51A8EE90.1070406@hyperactivesw.com> <004101ce5e2f$240982c0$6c1c8840$@net> <51A8F218.7090706@hyperactivesw.com> <004d01ce5e32$2cf25da0$86d718e0$@net> <32985E03-EFB6-4706-97E0-67DC6C84329D@paulmaguire.me> <006301ce5f0f$7e77c650$7b6752f0$@net> Message-ID: <006401ce5f4f$c536ef90$4fa4ceb0$@net> I agree, all paths should be relative. Try that. Also put an "answer the fontNames" at the app start up and see if all the fonts are there. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Paul Maguire Sent: Saturday, June 01, 2013 6:39 PM To: How to use LiveCode Subject: Re: Android custom fonts in web scroller native control... Hi Ralph. I have a Media folder which contains all assets including fonts. This folder is included in standalone settings. It works under iOS - the Livecode UI displays fonts and native web scroller using CSS displays fonts. In Android, fonts appear in UI but not in scroller. I think this is to do with the path I have set up in the CSS - it works differently on different platforms. I think I need to make the path to the fonts relative to the temp HTML file I am writing out - I can't test until Monday though. Thanks for your advice - will feed back any results. Kind regards, Paul. On 1 Jun 2013, at 22:32, "Ralph DiMola" wrote: > I don't dynamically build pages but I do display pre-built pages on > both iOS and Android using the EXACT same code. The only thing a can > suggest is making sure the path in the font reference in the html(css) > is correct. Are the fonts in the "copy file" pane(or some subfolder) > in the Standalone settings? Downloading and loading the fonts at > runtime can't be done(at least so says the dictionary). > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf Of Paul Maguire > Sent: Saturday, June 01, 2013 4:45 PM > To: How to use LiveCode > Subject: Re: Android custom fonts in web scroller native control... > > Hi all. > > I'm the OP :-) been out if touch since I posted. Thanks to everyone > for getting back. > > I'm using the technique of dynamically building and HTML page, writing > it locally (into the cache folder) then loading it up in a scroller. > All fine, except fonts don't load. Maybe writing the fonts to the > cache folder will solve this - can't check. This whole issue is > handled differently in iOS and Android it seems and I can't see anything on any documentation about it. > > Kind regards, Paul. > > On 31 May 2013, at 20:08, "Ralph DiMola" wrote: > >> If you mean the native browser control(both mobile platforms)... All >> fonts referenced in css's do work without putting them explicitly >> into the "copy files" pane as long as they are in the same relative >> path from the "http root" of the document. I just output my documents >> from InDesign as "web" and copied the entire http tree(fonts, css, >> images) in the "copy files" and the documents look perfect, fonts and all. >> Never checked if the builder found those fonts for other uses in the app. > Something I should check........ >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> rdimola at evergreeninfo.net >> >> >> The OP was using a native web view control, I wonder if the issue is > there. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at 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 at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dixonja at hotmail.co.uk Sun Jun 2 05:18:37 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Sun, 2 Jun 2013 10:18:37 +0100 Subject: Another bizarre Apple patent troll case, in which Runtime Revolution plays a bit part In-Reply-To: References: Message-ID: Definition of a 'good' start ? ... ten dead lawyers > Date: Sat, 1 Jun 2013 20:26:17 -0700 > Subject: Another bizarre Apple patent troll case, in which Runtime Revolution plays a bit part > From: bornstein at designeq.com > To: use-livecode at lists.runrev.com > > http://arstechnica.com/tech-policy/2013/06/apple-betrayed-by-its-own-law-firm/ > > -- > Regards, > > Howard Bornstein > ----------------------- > www.designeq.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Jun 2 06:07:34 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 02 Jun 2013 13:07:34 +0300 Subject: Monochrome Woes Message-ID: <51AB1966.60009@gmail.com> I have just been taking some screen shots of components of the Livecode IDE ready for my Livecode classes I will start teaching in the third week of June and beginning to get a bit cheesed-off . . . . . . for why? All the colour (or 'color' if you prefer) has been drained out of the LC 6.0.2 OSS IDE (as was true for 6.0 and 6.0.1) leaving everything monochrome. I don't know if the commercial version has retained the colour that has been a wonderful feature of LC from version 1 to 4.5 (at least). I would beg RunRev to return the colourisation in version 6.0.3 and so on as it will make life much, much easier both for teaching and for the cognitive leap the 9, 10, 11 and 12 year old kids are going to have to go through when they start working with the thing. Richmond. From bvg at mac.com Sun Jun 2 06:39:24 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun, 02 Jun 2013 12:39:24 +0200 Subject: Another bizarre Apple patent troll case, in which Runtime Revolution plays a bit part In-Reply-To: References: Message-ID: Of large importance to this list is the third last paragraph, (last link on the first page of two): " ... Milekic had never written a line of code or taken a programming class; he told a Philly tech publication that his touchscreen software was built with a program called RunTime Revolution, which says it "makes programming learnable by anyone who can use a computer." " On 02.06.2013, at 05:26, Howard Bornstein wrote: > http://arstechnica.com/tech-policy/2013/06/apple-betrayed-by-its-own-law-firm/ > > -- > Regards, > > Howard Bornstein > ----------------------- > www.designeq.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From bvg at mac.com Sun Jun 2 06:56:14 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun, 02 Jun 2013 12:56:14 +0200 Subject: bundling multiple database queries and getting a result In-Reply-To: References: Message-ID: <2958BF9C-132E-4B5D-A4E9-15783CDDA723@mac.com> You can't do multi line sql with livecode, you have to issue them separately. So for example in SQLite this works to reduce latency: revexecuteSQL theConnID, "BEGIN TRANSACTION" repeat 20 times revexecuteSQL theConnID, "INSERT INTO table (column) VALUES 'blah'" end repeat revexecuteSQL theConnID, "END TRANSACTION" Dunnow if it'll help in a networked environment when doing queries tho. On 01.06.2013, at 20:45, Dr. Hawkins wrote: > My initial forays haven't been successful. > > I want to pull unrelated things, likely from different tables, from the > same database as part of a single inquiry > > something like > > begin transaction; > SELECT a, b, c FROM firsttable; > SELECT name,address FROM othertable WHERE ID=47; > commit; > > The inquiries aren't really related, but the latency in an offsite query > means that a series of inquiries slows down the program. > > I've tried > > BEGIN TRANSACTION; > SELECT val FROM baggins_bilbo____001_dinfo WHERE kywd='dFirstName'; > SELECT val FROM baggins_bilbo____001_dinfo WHERE kywd='dLastName'; > COMMIT; > > Which returns 0 from revExecuteSQL > > I've tried leaving off the begin/commit with revDataFromQuery, but only the > last query gets executed. > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From shawnlivecode at gmail.com Sun Jun 2 07:48:50 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Sun, 2 Jun 2013 06:48:50 -0500 Subject: [BEGINNER] Database question dbWhere Message-ID: I have this: on mouseUP put "1" into tDataA["fldStatus"] dbWhere "fldOn", fldOn -- fldOn should equal fldOn in the database put dbUpdate ("contacts", tDataA) into tResult end mouseUP Basically what I want is to make sure that in the dbWhere statement that fldOn from the form = fldOn in the database. From bonnmike at gmail.com Sun Jun 2 08:43:35 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 2 Jun 2013 06:43:35 -0600 Subject: bundling multiple database queries and getting a result In-Reply-To: <2958BF9C-132E-4B5D-A4E9-15783CDDA723@mac.com> References: <2958BF9C-132E-4B5D-A4E9-15783CDDA723@mac.com> Message-ID: Just tried it on one of my databases with revdatafrom query. Did this in the message box: put "BEGIN TRANSACTION;" into tSql -- transaction start. Add semicolon. put cr & "select * from clientinfo where applicantname like 'Garcia%';" after tSql -- next line, add semicolon put cr & "select * from reminders where clientid is 5699;" after tSql -- next line, add semicolon put cr & "COMMIT" after tSql -- last line, no semicolon get revdatafromquery(,,1,tSql) put it I've only tested this on sqlite. No clue if it works with other dbms. These are 2 completely unrelated queries that appear 1 after the other consecutively, from 2 different tables If you need to do joins instead you can use dot notation for your selections across tables. "select tablename.fieldname, tablename2.fieldname where ..." On Sun, Jun 2, 2013 at 4:56 AM, Bj?rnke von Gierke wrote: > You can't do multi line sql with livecode, you have to issue them > separately. So for example in SQLite this works to reduce latency: > > revexecuteSQL theConnID, "BEGIN TRANSACTION" > repeat 20 times > revexecuteSQL theConnID, "INSERT INTO table (column) VALUES 'blah'" > end repeat > revexecuteSQL theConnID, "END TRANSACTION" > > Dunnow if it'll help in a networked environment when doing queries tho. > > On 01.06.2013, at 20:45, Dr. Hawkins wrote: > > > My initial forays haven't been successful. > > > > I want to pull unrelated things, likely from different tables, from the > > same database as part of a single inquiry > > > > something like > > > > begin transaction; > > SELECT a, b, c FROM firsttable; > > SELECT name,address FROM othertable WHERE ID=47; > > commit; > > > > The inquiries aren't really related, but the latency in an offsite query > > means that a series of inquiries slows down the program. > > > > I've tried > > > > BEGIN TRANSACTION; > > SELECT val FROM baggins_bilbo____001_dinfo WHERE kywd='dFirstName'; > > SELECT val FROM baggins_bilbo____001_dinfo WHERE kywd='dLastName'; > > COMMIT; > > > > Which returns 0 from revExecuteSQL > > > > I've tried leaving off the begin/commit with revDataFromQuery, but only > the > > last query gets executed. > > > > -- > > Dr. Richard E. Hawkins, Esq. > > (702) 508-8462 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > -- > > Use an alternative Dictionary viewer: > http://bjoernke.com/bvgdocu/ > > Chat with other RunRev developers: > http://bjoernke.com/chatrev/ > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Sun Jun 2 09:10:37 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 2 Jun 2013 06:10:37 -0700 Subject: bundling multiple database queries and getting a result In-Reply-To: <2958BF9C-132E-4B5D-A4E9-15783CDDA723@mac.com> References: <2958BF9C-132E-4B5D-A4E9-15783CDDA723@mac.com> Message-ID: On Sun, Jun 2, 2013 at 3:56 AM, Bj?rnke von Gierke wrote: > You can't do multi line sql with livecode, you have to issue them > separately. So for example in SQLite this works to reduce latency: > That is incorrect. I am using multi-line insert/alter with both postgres & sqlite. Hundreds of lines, even. I don't know if earlier versions had problems; I'm using 5.5.4. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From wwaldman at klht.org Sun Jun 2 10:16:09 2013 From: wwaldman at klht.org (William Waldman) Date: Sun, 02 Jun 2013 10:16:09 -0400 Subject: Galactic Gauntlet crashes and questions In-Reply-To: References: Message-ID: Hello List! I happen to have the Galactic Gauntlet project files (from the Academy DVD). When I compile and load it on my iPhone and iPad (both iOS 6.1.3) it runs very herky-jerky (especially as the rocket ship descends) and usually crashes within a few moments. So does the "commercial" version as uploaded to iTunes. I showed this to David Williams at the conference in Edinburgh - and have not yet heard back. When I raised these questions he seemed unaware of these issues. Judging from his furrowed brow (he was having a very long week) it seemed to me there might be some effort in his resurrecting his old code and getting to the bottom of this..... Here's what troubles me (rant ahead): This was an absolutely wonderful course, and is spectacular demo code - less so if it does not run. Actually - it's very poor as a demo if it can't run smoothly and well. The lousy reviews are stacking up on iTunes. Not good for the LiveCode Brand. So - hasn't this community dug into this code? It's the largest, best demo of the language in action that I know of - especially for teaching. There's no discussion on the boards - have I missed something? It seems to crash for no good reason. It is not a great thing if straight LiveCode processes cause a crash under iOS (nothing fancy going on here). Have people moved away from iPad development in preference to Android (and so no critical mass of users has noticed)? Has anyone got this running under Android smoothly? I just feel this is a critical element of the public relations / school integration / new user outreach stuff that's got to shine now more than ever. Just sayin. Bill Waldman Director of Technology King School 1450 Newfield Avenue Stamford, CT 06905 www.klht.org


This e-mail and any attachments may contain confidential and privileged information. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this e-mail and any attachments and destroy any copies. Any dissemination or use of this information by a person other than the intended recipient is unauthorized. From m.schonewille at economy-x-talk.com Sun Jun 2 10:19:43 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 2 Jun 2013 16:19:43 +0200 Subject: [BEGINNER] Database question dbWhere In-Reply-To: References: Message-ID: Hi Shawn, I'm not sure what you're asking. Are you using someone's database library? Which library exactly? What does dbWhere do according to the documentation of the library? Don't you need to connect to the database first, or did you do that already? Are you getting any errors that you can post here? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 2 jun 2013, at 13:48, Shawn Blc wrote: > I have this: > on mouseUP > put "1" into tDataA["fldStatus"] > dbWhere "fldOn", fldOn -- fldOn should equal fldOn > in the database > put dbUpdate ("contacts", tDataA) into tResult > end mouseUP > > Basically what I want is to make sure that in the dbWhere statement that > fldOn from the form = fldOn in the database. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Sun Jun 2 10:28:14 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 2 Jun 2013 07:28:14 -0700 Subject: bundling multiple database queries and getting a result In-Reply-To: References: <2958BF9C-132E-4B5D-A4E9-15783CDDA723@mac.com> Message-ID: On Sun, Jun 2, 2013 at 5:43 AM, Mike Bonner wrote: > > I've only tested this on sqlite. No clue if it works with other dbms. > That seems to be the issue. I may be hitting the same bug with postgres that I've hit before. I have a button with: on mouseUp --code for a button showing the bug that doesn't allow multi-line queries -- to a postgresql database --if the database is mysql, the queries work properly. --for postgres, the result is "revdberr," --just the one word; no explanation local dcmd, theRes global dhtbl_dinfo, dhtbl_dna, debtordb put "BEGIN TRANSACTION;" & cr into dcmd put "SELECT * FROM " & dhtbl_dinfo & " WHERE kywd='dFirstName';" & cr after dcmd put "SELECT * FROM " & dhtbl_dinfo & " WHERE kywd='dLastName';" & cr after dcmd put "COMMIT" & cr after dcmd put revDataFromQuery(,,debtorDb,dcmd) into theRes put theRes end mouseUp This works with mysql, and returns the odd "revdberr," with postgres. Yes, that *is* the entire returned error. I've also seen this error after successful commits, and have had to code around it. This is the first time I've seen it occur other than in place of a numeric success code, though. I get the same results in 5.5.4 and 6.0.1 commercial. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From bonnmike at gmail.com Sun Jun 2 11:04:43 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 2 Jun 2013 09:04:43 -0600 Subject: [BEGINNER] Database question dbWhere In-Reply-To: References: Message-ID: dbWhere is part of dbLib (nice library) fldOn is an actual field name on a form that you have set up? If thats the case it is probably dbWhere "fldOn", field "fldOn" that you need. so, "fldOn" would be the column name from your table that you are checking and field "fldOn" would contain the text that you are using for your match. On Sun, Jun 2, 2013 at 8:19 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi Shawn, > > I'm not sure what you're asking. Are you using someone's database library? > Which library exactly? What does dbWhere do according to the documentation > of the library? Don't you need to connect to the database first, or did you > do that already? Are you getting any errors that you can post here? > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour > spaces. http://www.color-converter.com > > We have time for new software development projects. Contact me for a quote. > > > > > > > On 2 jun 2013, at 13:48, Shawn Blc wrote: > > > I have this: > > on mouseUP > > put "1" into tDataA["fldStatus"] > > dbWhere "fldOn", fldOn -- fldOn should equal fldOn > > in the database > > put dbUpdate ("contacts", tDataA) into tResult > > end mouseUP > > > > Basically what I want is to make sure that in the dbWhere statement that > > fldOn from the form = fldOn in the database. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Sun Jun 2 11:05:53 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 2 Jun 2013 09:05:53 -0600 Subject: [BEGINNER] Database question dbWhere In-Reply-To: References: Message-ID: Oh, and you would get a better response by posting to the dbLib forum. http://andregarzia.com/forum/ On Sun, Jun 2, 2013 at 9:04 AM, Mike Bonner wrote: > dbWhere is part of dbLib (nice library) > > fldOn is an actual field name on a form that you have set up? > > If thats the case it is probably dbWhere "fldOn", field "fldOn" that you > need. > > so, "fldOn" would be the column name from your table that you are checking > and field "fldOn" would contain the text that you are using for your match. > > > On Sun, Jun 2, 2013 at 8:19 AM, Mark Schonewille < > m.schonewille at economy-x-talk.com> wrote: > >> Hi Shawn, >> >> I'm not sure what you're asking. Are you using someone's database >> library? Which library exactly? What does dbWhere do according to the >> documentation of the library? Don't you need to connect to the database >> first, or did you do that already? Are you getting any errors that you can >> post here? >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> KvK: 50277553 >> >> Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other >> colour spaces. http://www.color-converter.com >> >> We have time for new software development projects. Contact me for a >> quote. >> >> >> >> >> >> >> On 2 jun 2013, at 13:48, Shawn Blc wrote: >> >> > I have this: >> > on mouseUP >> > put "1" into tDataA["fldStatus"] >> > dbWhere "fldOn", fldOn -- fldOn should equal >> fldOn >> > in the database >> > put dbUpdate ("contacts", tDataA) into tResult >> > end mouseUP >> > >> > Basically what I want is to make sure that in the dbWhere statement that >> > fldOn from the form = fldOn in the database. >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at 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 at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From livfoss at mac.com Sun Jun 2 11:18:59 2013 From: livfoss at mac.com (Graham Samuel) Date: Sun, 02 Jun 2013 17:18:59 +0200 Subject: Graphic tools - works in IDE, fails in Standalone Message-ID: I have a desktop app (Mac and PC) under development. It has a small drawing palette (vector graphics only). The user picks a type of object to draw (rectangle, oval etc) and can also alter the fill, line size etc. The drawing actions take place on a card which is permanently open. This works perfectly well in the IDE (LC 6 commercial on a Mac), but in the standalone, some of the tools don't behave properly: for example the rectangle tool draws little fixed-size square, and the oval tool draws a little fixed-size circle at the mouseLoc. Others do work, e.g. the line tool. I have put in various debugging routines to show that the tools do get picked correctly and indeed that they start working on each 'mouseDown' (yes I pass the mouseDown). This strange behaviour is identical in both the Mac and Windows standalones. I suppose I made it happen, but I can't imagine how. In this app I don't have any third-party libraries or anything to make unexpected changes to objects. Initially I chose the inclusions for the standalone myself, but switching to automatic didn't make any difference. As an experiment, I made a very simple standalone that consists only of a mainstack with one card (the drawing area) and a substack with one card (the tool palette) with three tools - rectangle, oval and line). It also works in the IDE but not as a standalone, tho in this case it will only draw lines, and it won't draw rectangles or ovals at all! Can anyone suggest what is happening and why it doesn't happen in the IDE? Could it be a bug? Seems unlikely since similar tools work in the IDE itself. I'm stuck. TIA Graham From dochawk at gmail.com Sun Jun 2 12:02:29 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 2 Jun 2013 09:02:29 -0700 Subject: bundling multiple database queries and getting a result In-Reply-To: References: <2958BF9C-132E-4B5D-A4E9-15783CDDA723@mac.com> Message-ID: It is now bug 10940 http://quality.runrev.com/show_bug.cgi?id=10940. I've confirmed in 6.0.1 commercial, and a 6.0.1 standalone, as well. I've also seen that SQLite returns incorrect results. put "BEGIN TRANSACTION;" & cr into dcmd > put "SELECT '1', * FROM testtable WHERE ky='cat';" & cr after dcmd > put "SELECT '2', dat FROM testtable WHERE ky='chicken';" & cr after dcmd > put "SELECT '3', ky FROM testtable ;" & cr after dcmd > put "SELECT '4', ky, ky FROM testtable WHERE ky='chicken' ;" & cr after > dcmd > put "SELECT '5', ky FROM testtable WHERE ky='cat';" & cr after dcmd > > put "COMMIT" & cr after dcmd > when I switch from 2 to 1 fields, the result for the last field of the last line of the prior query continues to report: 1 cat a lazy animal 2 a tasty bird a lazy animal 3 cat a lazy animal 3 chicken a lazy animal 4 chicken chicken 5 cat chicken *sigh* -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Sun Jun 2 12:04:39 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 2 Jun 2013 09:04:39 -0700 Subject: Monochrome Woes In-Reply-To: <51AB1966.60009@gmail.com> References: <51AB1966.60009@gmail.com> Message-ID: On Sun, Jun 2, 2013 at 3:07 AM, Richmond wrote: > > I don't know if the commercial version has retained the colour that > has been a wonderful feature of LC from version 1 to 4.5 (at least). Nope. It looks oddly like developin on HyperCard/SuperCard 25 years ago . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From shawnlivecode at gmail.com Sun Jun 2 12:17:34 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Sun, 2 Jun 2013 11:17:34 -0500 Subject: [BEGINNER] Database question dbWhere In-Reply-To: References: Message-ID: Mike, Thank you that's what I'm looking for, unfortunately it's not working though. I'll post to Andre's forum. On Sun, Jun 2, 2013 at 10:05 AM, Mike Bonner wrote: > Oh, and you would get a better response by posting to the dbLib forum. > http://andregarzia.com/forum/ > > > On Sun, Jun 2, 2013 at 9:04 AM, Mike Bonner wrote: > > > dbWhere is part of dbLib (nice library) > > > > fldOn is an actual field name on a form that you have set up? > > > > If thats the case it is probably dbWhere "fldOn", field "fldOn" that you > > need. > > > > so, "fldOn" would be the column name from your table that you are > checking > > and field "fldOn" would contain the text that you are using for your > match. > > > > > > On Sun, Jun 2, 2013 at 8:19 AM, Mark Schonewille < > > m.schonewille at economy-x-talk.com> wrote: > > > >> Hi Shawn, > >> > >> I'm not sure what you're asking. Are you using someone's database > >> library? Which library exactly? What does dbWhere do according to the > >> documentation of the library? Don't you need to connect to the database > >> first, or did you do that already? Are you getting any errors that you > can > >> post here? > >> > >> -- > >> Best regards, > >> > >> Mark Schonewille > >> > >> Economy-x-Talk Consulting and Software Engineering > >> Homepage: http://economy-x-talk.com > >> Twitter: http://twitter.com/xtalkprogrammer > >> KvK: 50277553 > >> > >> Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other > >> colour spaces. http://www.color-converter.com > >> > >> We have time for new software development projects. Contact me for a > >> quote. > >> > >> > >> > >> > >> > >> > >> On 2 jun 2013, at 13:48, Shawn Blc wrote: > >> > >> > I have this: > >> > on mouseUP > >> > put "1" into tDataA["fldStatus"] > >> > dbWhere "fldOn", fldOn -- fldOn should equal > >> fldOn > >> > in the database > >> > put dbUpdate ("contacts", tDataA) into tResult > >> > end mouseUP > >> > > >> > Basically what I want is to make sure that in the dbWhere statement > that > >> > fldOn from the form = fldOn in the database. > >> > _______________________________________________ > >> > use-livecode mailing list > >> > use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Sun Jun 2 12:30:38 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 02 Jun 2013 19:30:38 +0300 Subject: Monochrome Woes In-Reply-To: References: <51AB1966.60009@gmail.com> Message-ID: <51AB732E.4070509@gmail.com> On 06/02/2013 07:04 PM, Dr. Hawkins wrote: > On Sun, Jun 2, 2013 at 3:07 AM, Richmond wrote: > >> I don't know if the commercial version has retained the colour that >> has been a wonderful feature of LC from version 1 to 4.5 (at least). > > Nope. > > It looks oddly like developin on HyperCard/SuperCard 25 years ago . . . > > A backward step, methinks. From mcgrath3 at mac.com Sun Jun 2 12:53:56 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sun, 02 Jun 2013 12:53:56 -0400 Subject: Galactic Gauntlet crashes and questions In-Reply-To: References: Message-ID: <00EFB153-E10F-48EB-A7AE-4FB9A342EF95@mac.com> Works well in the simulator here. I will try it on my iPads later. -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jun 2, 2013, at 10:16 AM, William Waldman wrote: > Hello List! > > I happen to have the Galactic Gauntlet project files (from the Academy > DVD). > When I compile and load it on my iPhone and iPad (both iOS 6.1.3) it runs > very herky-jerky (especially as the rocket ship descends) and usually > crashes within a few moments. > > So does the "commercial" version as uploaded to iTunes. > > I showed this to David Williams at the conference in Edinburgh - and have > not yet heard back. > When I raised these questions he seemed unaware of these issues. > Judging from his furrowed brow (he was having a very long week) it seemed > to me there might be some effort in his resurrecting his old code and > getting to the bottom of this..... > > Here's what troubles me (rant ahead): > This was an absolutely wonderful course, and is spectacular demo code - > less so if it does not run. > Actually - it's very poor as a demo if it can't run smoothly and well. > > The lousy reviews are stacking up on iTunes. Not good for the LiveCode > Brand. > > So - hasn't this community dug into this code? > It's the largest, best demo of the language in action that I know of - > especially for teaching. > There's no discussion on the boards - have I missed something? > > It seems to crash for no good reason. > It is not a great thing if straight LiveCode processes cause a crash under > iOS (nothing fancy going on here). > > Have people moved away from iPad development in preference to Android (and > so no critical mass of users has noticed)? > Has anyone got this running under Android smoothly? > > I just feel this is a critical element of the public relations / school > integration / new user outreach stuff that's got to shine now more than > ever. > > Just sayin. > > Bill Waldman > Director of Technology > King School > 1450 Newfield Avenue > Stamford, CT 06905 > www.klht.org > > > >
> src="http://forum.klht.org/Social_Media_Images/fb.png" border="0"> > > src="http://forum.klht.org/Social_Media_Images/twit.png" border="0"> > > src="http://forum.klht.org/Social_Media_Images/yt.jpg" border="0"> > > >
>
> > > > This e-mail and any attachments may contain confidential and privileged > information. If you are not the intended recipient, please notify the > sender immediately by return e-mail, delete this e-mail and any > attachments and destroy any copies. Any dissemination or use of this > information by a person other than the intended recipient is unauthorized. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sun Jun 2 13:06:07 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 02 Jun 2013 12:06:07 -0500 Subject: Monochrome Woes In-Reply-To: <51AB732E.4070509@gmail.com> References: <51AB1966.60009@gmail.com> <51AB732E.4070509@gmail.com> Message-ID: <51AB7B7F.1060203@hyperactivesw.com> On 6/2/13 11:30 AM, Richmond wrote: > On 06/02/2013 07:04 PM, Dr. Hawkins wrote: >> On Sun, Jun 2, 2013 at 3:07 AM, Richmond >> wrote: >> >>> I don't know if the commercial version has retained the colour that >>> has been a wonderful feature of LC from version 1 to 4.5 (at least). >> >> Nope. >> >> It looks oddly like developin on HyperCard/SuperCard 25 years ago . . . >> >> > > A backward step, methinks. I'm not sure what you're seeing, it looks the same as before to me. Where is the color missing? I have color in the tool palette, the toolbar, etc. and the new project browser is various shades of blue. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jiml at netrin.com Sun Jun 2 13:09:13 2013 From: jiml at netrin.com (Jim Lambert) Date: Sun, 2 Jun 2013 10:09:13 -0700 Subject: Another bizarre Apple patent troll case, in which Runtime Revolution plays a bit part In-Reply-To: References: Message-ID: <04F0FA84-E87F-4E9B-92BD-F9113D659A6D@netrin.com> Dr. Milekic participated in the use-revolution list in 2006 & 2004. His questions seeme very much related to this invention. Jim Lambert From jiml at netrin.com Sun Jun 2 13:12:22 2013 From: jiml at netrin.com (Jim Lambert) Date: Sun, 2 Jun 2013 10:12:22 -0700 Subject: Another bizarre Apple patent troll case, in which Runtime Revolution plays a bit part In-Reply-To: <04F0FA84-E87F-4E9B-92BD-F9113D659A6D@netrin.com> References: <04F0FA84-E87F-4E9B-92BD-F9113D659A6D@netrin.com> Message-ID: Also, Here's an article the lawyer's wife wrote for RunRev's Newsletter in 2005, two years pre-iPhone. http://newsletters.livecode.com/march/issue22/newsletter2.php Jim Lambert From jacque at hyperactivesw.com Sun Jun 2 13:13:19 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 02 Jun 2013 12:13:19 -0500 Subject: Monochrome Woes In-Reply-To: <51AB7B7F.1060203@hyperactivesw.com> References: <51AB1966.60009@gmail.com> <51AB732E.4070509@gmail.com> <51AB7B7F.1060203@hyperactivesw.com> Message-ID: <51AB7D2F.7030701@hyperactivesw.com> On 6/2/13 12:06 PM, J. Landman Gay wrote: > On 6/2/13 11:30 AM, Richmond wrote: >> On 06/02/2013 07:04 PM, Dr. Hawkins wrote: >>> On Sun, Jun 2, 2013 at 3:07 AM, Richmond >>> wrote: >>> >>>> I don't know if the commercial version has retained the colour that >>>> has been a wonderful feature of LC from version 1 to 4.5 (at least). >>> >>> Nope. >>> >>> It looks oddly like developin on HyperCard/SuperCard 25 years ago . . . >>> >>> >> >> A backward step, methinks. > > I'm not sure what you're seeing, it looks the same as before to me. > Where is the color missing? I have color in the tool palette, the > toolbar, etc. and the new project browser is various shades of blue. > Never mind, I just saw the image you posted to the forum. Windows don't look like that on my Mac. Maybe it's a Linux window manager thing? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Sun Jun 2 13:16:40 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 02 Jun 2013 20:16:40 +0300 Subject: Monochrome Woes In-Reply-To: <51AB7B7F.1060203@hyperactivesw.com> References: <51AB1966.60009@gmail.com> <51AB732E.4070509@gmail.com> <51AB7B7F.1060203@hyperactivesw.com> Message-ID: <51AB7DF8.6060201@gmail.com> On 06/02/2013 08:06 PM, J. Landman Gay wrote: > On 6/2/13 11:30 AM, Richmond wrote: >> On 06/02/2013 07:04 PM, Dr. Hawkins wrote: >>> On Sun, Jun 2, 2013 at 3:07 AM, Richmond >>> wrote: >>> >>>> I don't know if the commercial version has retained the colour that >>>> has been a wonderful feature of LC from version 1 to 4.5 (at least). >>> >>> Nope. >>> >>> It looks oddly like developin on HyperCard/SuperCard 25 years ago . . . >>> >>> >> >> A backward step, methinks. > > I'm not sure what you're seeing, it looks the same as before to me. > Where is the color missing? I have color in the tool palette, the > toolbar, etc. and the new project browser is various shades of blue. > The Application Browser. From richmondmathewson at gmail.com Sun Jun 2 13:19:04 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 02 Jun 2013 20:19:04 +0300 Subject: Another bizarre Apple patent troll case, in which Runtime Revolution plays a bit part In-Reply-To: <04F0FA84-E87F-4E9B-92BD-F9113D659A6D@netrin.com> References: <04F0FA84-E87F-4E9B-92BD-F9113D659A6D@netrin.com> Message-ID: <51AB7E88.1080609@gmail.com> On 06/02/2013 08:09 PM, Jim Lambert wrote: > Dr. Milekic participated in the use-revolution list in 2006 & 2004. His questions seeme very much related to this invention. > > Jim Lambert > _______________________________________________ > Bulgarians would make fairly pointed noises that Dr Milekic is a Serbian. From mwieder at ahsoftware.net Sun Jun 2 13:27:50 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 2 Jun 2013 10:27:50 -0700 Subject: Monochrome Woes In-Reply-To: <51AB7D2F.7030701@hyperactivesw.com> References: <51AB1966.60009@gmail.com> <51AB732E.4070509@gmail.com> <51AB7B7F.1060203@hyperactivesw.com> <51AB7D2F.7030701@hyperactivesw.com> Message-ID: <887637017.20130602102750@ahsoftware.net> Jacque- Sunday, June 2, 2013, 10:13:19 AM, you wrote: > Never mind, I just saw the image you posted to the forum. Windows don't > look like that on my Mac. Maybe it's a Linux window manager thing? I can confirm that the Application Browser is devoid of color on linux, but I confess I didn't notice it until Richmond pointed it out. -- -Mark Wieder mwieder at ahsoftware.net From richmondmathewson at gmail.com Sun Jun 2 13:35:32 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 02 Jun 2013 20:35:32 +0300 Subject: Monochrome Woes In-Reply-To: <887637017.20130602102750@ahsoftware.net> References: <51AB1966.60009@gmail.com> <51AB732E.4070509@gmail.com> <51AB7B7F.1060203@hyperactivesw.com> <51AB7D2F.7030701@hyperactivesw.com> <887637017.20130602102750@ahsoftware.net> Message-ID: <51AB8264.6020302@gmail.com> On 06/02/2013 08:27 PM, Mark Wieder wrote: > Jacque- > > Sunday, June 2, 2013, 10:13:19 AM, you wrote: > >> Never mind, I just saw the image you posted to the forum. Windows don't >> look like that on my Mac. Maybe it's a Linux window manager thing? > I can confirm that the Application Browser is devoid of color on > linux, but I confess I didn't notice it until Richmond pointed it out. > I have just posted to the thread in the Forums exactly the same thing in Macintosh (10.6.7): Feature Requests/Return Colour to the Application Browser Richmond. From richmondmathewson at gmail.com Sun Jun 2 13:53:32 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 02 Jun 2013 20:53:32 +0300 Subject: Monochrome Woes In-Reply-To: <887637017.20130602102750@ahsoftware.net> References: <51AB1966.60009@gmail.com> <51AB732E.4070509@gmail.com> <51AB7B7F.1060203@hyperactivesw.com> <51AB7D2F.7030701@hyperactivesw.com> <887637017.20130602102750@ahsoftware.net> Message-ID: <51AB869C.9000700@gmail.com> On 06/02/2013 08:27 PM, Mark Wieder wrote: > Jacque- > > Sunday, June 2, 2013, 10:13:19 AM, you wrote: > >> Never mind, I just saw the image you posted to the forum. Windows don't >> look like that on my Mac. Maybe it's a Linux window manager thing? > I can confirm that the Application Browser is devoid of color on > linux, but I confess I didn't notice it until Richmond pointed it out. > I have seen a monochrome Application Browser with LC 6.0.2 on Macintosh (10.6.7) Windows 7 Linux (Xubuntu 13.04) and, frankly, cannot be bothered to lug the XP box out from under the bed, and so on . . . Richmond. From richmondmathewson at gmail.com Sun Jun 2 14:23:01 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 02 Jun 2013 21:23:01 +0300 Subject: Another bizarre Apple patent troll case, in which Runtime Revolution plays a bit part In-Reply-To: References: <04F0FA84-E87F-4E9B-92BD-F9113D659A6D@netrin.com> Message-ID: <51AB8D85.4050100@gmail.com> On 06/02/2013 08:12 PM, Jim Lambert wrote: > Also, Here's an article the lawyer's wife wrote for RunRev's Newsletter in 2005, two years pre-iPhone. > http://newsletters.livecode.com/march/issue22/newsletter2.php > > Jim Lambert > _______________________________________________ > Interestingly enough the main link in that newsletter (and, I must say, the ideas contained in that newsletter are really very interesting indeed): www.MIOculture.com goes to a website full of all sorts of clever stuff, and where a search for 'Milekic' results in nothing at all . . . . . . as does 'Axes Station' . . . Google gets nowhere. I smell a rat. Richmond. From mwieder at ahsoftware.net Sun Jun 2 14:27:24 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 2 Jun 2013 11:27:24 -0700 Subject: Monochrome Woes In-Reply-To: <51AB869C.9000700@gmail.com> References: <51AB1966.60009@gmail.com> <51AB732E.4070509@gmail.com> <51AB7B7F.1060203@hyperactivesw.com> <51AB7D2F.7030701@hyperactivesw.com> <887637017.20130602102750@ahsoftware.net> <51AB869C.9000700@gmail.com> Message-ID: <3311210806.20130602112724@ahsoftware.net> Richmond- Sunday, June 2, 2013, 10:53:32 AM, you wrote: > I have seen a monochrome Application Browser with LC 6.0.2 on I see it on linux and OSX. I likewise haven't bothered to pop up the Virtualbox xp image. But I have to say this is low on my list of things to worry about. -- -Mark Wieder mwieder at ahsoftware.net From richmondmathewson at gmail.com Sun Jun 2 14:31:51 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 02 Jun 2013 21:31:51 +0300 Subject: Monochrome Woes In-Reply-To: <3311210806.20130602112724@ahsoftware.net> References: <51AB1966.60009@gmail.com> <51AB732E.4070509@gmail.com> <51AB7B7F.1060203@hyperactivesw.com> <51AB7D2F.7030701@hyperactivesw.com> <887637017.20130602102750@ahsoftware.net> <51AB869C.9000700@gmail.com> <3311210806.20130602112724@ahsoftware.net> Message-ID: <51AB8F97.1070605@gmail.com> On 06/02/2013 09:27 PM, Mark Wieder wrote: > Richmond- > > Sunday, June 2, 2013, 10:53:32 AM, you wrote: > >> I have seen a monochrome Application Browser with LC 6.0.2 on > I see it on linux and OSX. I likewise haven't bothered to pop up the > Virtualbox xp image. But I have to say this is low on my list of > things to worry about. > It probably is low on your list; but then, as far as I know, you won't have a classroom full of children from the "Short-Attention-Span-I-Want-It-Now' generation. From jacque at hyperactivesw.com Sun Jun 2 14:44:08 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 02 Jun 2013 13:44:08 -0500 Subject: Monochrome Woes In-Reply-To: <51AB8F97.1070605@gmail.com> References: <51AB1966.60009@gmail.com> <51AB732E.4070509@gmail.com> <51AB7B7F.1060203@hyperactivesw.com> <51AB7D2F.7030701@hyperactivesw.com> <887637017.20130602102750@ahsoftware.net> <51AB869C.9000700@gmail.com> <3311210806.20130602112724@ahsoftware.net> <51AB8F97.1070605@gmail.com> Message-ID: <51AB9278.70304@hyperactivesw.com> On 6/2/13 1:31 PM, Richmond wrote: > On 06/02/2013 09:27 PM, Mark Wieder wrote: >> Richmond- >> >> Sunday, June 2, 2013, 10:53:32 AM, you wrote: >> >>> I have seen a monochrome Application Browser with LC 6.0.2 on >> I see it on linux and OSX. I likewise haven't bothered to pop up the >> Virtualbox xp image. But I have to say this is low on my list of >> things to worry about. >> > > It probably is low on your list; but then, as far as I know, you won't > have a classroom full of children from the > "Short-Attention-Span-I-Want-It-Now' > generation. I take back what I said about not seeing it -- it's only in the app browser. I do see it there, but that's the only place. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacques.hausser at unil.ch Sun Jun 2 14:56:31 2013 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Sun, 2 Jun 2013 20:56:31 +0200 Subject: Monochrome Woes In-Reply-To: <51AB9278.70304@hyperactivesw.com> References: <51AB1966.60009@gmail.com> <51AB732E.4070509@gmail.com> <51AB7B7F.1060203@hyperactivesw.com> <51AB7D2F.7030701@hyperactivesw.com> <887637017.20130602102750@ahsoftware.net> <51AB869C.9000700@gmail.com> <3311210806.20130602112724@ahsoftware.net> <51AB8F97.1070605@gmail.com> <51AB9278.70304@hyperactivesw.com> Message-ID: <757C876F-72DD-4638-A1E0-5931DB432E89@unil.ch> Richmond, Why not to use the project browser instead with your children ? It is full of colors, and does what the application browser does, and more, even if the look is different. I guess that the application browser will die soon? Jacques Le 2 juin 2013 ? 20:44, J. Landman Gay a ?crit : > On 6/2/13 1:31 PM, Richmond wrote: >> On 06/02/2013 09:27 PM, Mark Wieder wrote: >>> Richmond- >>> >>> Sunday, June 2, 2013, 10:53:32 AM, you wrote: >>> >>>> I have seen a monochrome Application Browser with LC 6.0.2 on >>> I see it on linux and OSX. I likewise haven't bothered to pop up the >>> Virtualbox xp image. But I have to say this is low on my list of >>> things to worry about. >>> >> >> It probably is low on your list; but then, as far as I know, you won't >> have a classroom full of children from the >> "Short-Attention-Span-I-Want-It-Now' >> generation. > > I take back what I said about not seeing it -- it's only in the app browser. I do see it there, but that's the only place. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Jun 2 15:07:59 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 02 Jun 2013 22:07:59 +0300 Subject: Monochrome Woes In-Reply-To: <757C876F-72DD-4638-A1E0-5931DB432E89@unil.ch> References: <51AB1966.60009@gmail.com> <51AB732E.4070509@gmail.com> <51AB7B7F.1060203@hyperactivesw.com> <51AB7D2F.7030701@hyperactivesw.com> <887637017.20130602102750@ahsoftware.net> <51AB869C.9000700@gmail.com> <3311210806.20130602112724@ahsoftware.net> <51AB8F97.1070605@gmail.com> <51AB9278.70304@hyperactivesw.com> <757C876F-72DD-4638-A1E0-5931DB432E89@unil.ch> Message-ID: <51AB980F.7010401@gmail.com> On 06/02/2013 09:56 PM, Jacques Hausser wrote: > Richmond, > > Why not to use the project browser instead with your children ? It is full of colors, and does what the application browser does, and more, even if the look is different. > I guess that the application browser will die soon? That thought had occurred to me too :) > > Jacques > > Le 2 juin 2013 ? 20:44, J. Landman Gay a ?crit : > >> On 6/2/13 1:31 PM, Richmond wrote: >>> On 06/02/2013 09:27 PM, Mark Wieder wrote: >>>> Richmond- >>>> >>>> Sunday, June 2, 2013, 10:53:32 AM, you wrote: >>>> >>>>> I have seen a monochrome Application Browser with LC 6.0.2 on >>>> I see it on linux and OSX. I likewise haven't bothered to pop up the >>>> Virtualbox xp image. But I have to say this is low on my list of >>>> things to worry about. >>>> >>> It probably is low on your list; but then, as far as I know, you won't >>> have a classroom full of children from the >>> "Short-Attention-Span-I-Want-It-Now' >>> generation. >> I take back what I said about not seeing it -- it's only in the app browser. I do see it there, but that's the only place. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Sun Jun 2 15:05:28 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 2 Jun 2013 12:05:28 -0700 Subject: Monochrome Woes In-Reply-To: <51AB8F97.1070605@gmail.com> References: <51AB1966.60009@gmail.com> <51AB732E.4070509@gmail.com> <51AB7B7F.1060203@hyperactivesw.com> <51AB7D2F.7030701@hyperactivesw.com> <887637017.20130602102750@ahsoftware.net> <51AB869C.9000700@gmail.com> <3311210806.20130602112724@ahsoftware.net> <51AB8F97.1070605@gmail.com> Message-ID: <16913495442.20130602120528@ahsoftware.net> Richmond- Sunday, June 2, 2013, 11:31:51 AM, you wrote: > It probably is low on your list; but then, as far as I know, you won't > have a classroom full of children from the > "Short-Attention-Span-I-Want-It-Now' > generation. LOL. Good point. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sun Jun 2 15:08:12 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 2 Jun 2013 12:08:12 -0700 Subject: Monochrome Woes In-Reply-To: <51AB8F97.1070605@gmail.com> References: <51AB1966.60009@gmail.com> <51AB732E.4070509@gmail.com> <51AB7B7F.1060203@hyperactivesw.com> <51AB7D2F.7030701@hyperactivesw.com> <887637017.20130602102750@ahsoftware.net> <51AB869C.9000700@gmail.com> <3311210806.20130602112724@ahsoftware.net> <51AB8F97.1070605@gmail.com> Message-ID: <413659125.20130602120812@ahsoftware.net> Richmond- How about copying the revapplicationoverview.rev from the 5.x Toolset set directory into the community version? Does that fix things for you? -- -Mark Wieder mwieder at ahsoftware.net From richmondmathewson at gmail.com Sun Jun 2 15:11:17 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 02 Jun 2013 22:11:17 +0300 Subject: Monochrome Woes In-Reply-To: <16913495442.20130602120528@ahsoftware.net> References: <51AB1966.60009@gmail.com> <51AB732E.4070509@gmail.com> <51AB7B7F.1060203@hyperactivesw.com> <51AB7D2F.7030701@hyperactivesw.com> <887637017.20130602102750@ahsoftware.net> <51AB869C.9000700@gmail.com> <3311210806.20130602112724@ahsoftware.net> <51AB8F97.1070605@gmail.com> <16913495442.20130602120528@ahsoftware.net> Message-ID: <51AB98D5.3040206@gmail.com> On 06/02/2013 10:05 PM, Mark Wieder wrote: > Richmond- > > Sunday, June 2, 2013, 11:31:51 AM, you wrote: > >> It probably is low on your list; but then, as far as I know, you won't >> have a classroom full of children from the >> "Short-Attention-Span-I-Want-It-Now' >> generation. > LOL. Good point. > Although, Mark, I know you are really extremely jealous of my "predicament" . . . LOL. From richmondmathewson at gmail.com Sun Jun 2 15:21:35 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 02 Jun 2013 22:21:35 +0300 Subject: Monochrome Woes In-Reply-To: <413659125.20130602120812@ahsoftware.net> References: <51AB1966.60009@gmail.com> <51AB732E.4070509@gmail.com> <51AB7B7F.1060203@hyperactivesw.com> <51AB7D2F.7030701@hyperactivesw.com> <887637017.20130602102750@ahsoftware.net> <51AB869C.9000700@gmail.com> <3311210806.20130602112724@ahsoftware.net> <51AB8F97.1070605@gmail.com> <413659125.20130602120812@ahsoftware.net> Message-ID: <51AB9B3F.9030905@gmail.com> On 06/02/2013 10:08 PM, Mark Wieder wrote: > Richmond- > > How about copying the revapplicationoverview.rev from the 5.x Toolset > set directory into the community version? Does that fix things for > you? > I've just tried that with the one from 5.5.5 and still have a monochrome AppBrowser . . . I honestly cannot be bothered going back through version after version to see if one will yield a colour AppBrowser. Anyway, that is not a long-term solution: what happens when the "little dears" download their version from RunRev? From richmondmathewson at gmail.com Sun Jun 2 15:55:06 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 02 Jun 2013 22:55:06 +0300 Subject: Monochrome Woes In-Reply-To: <413659125.20130602120812@ahsoftware.net> References: <51AB1966.60009@gmail.com> <51AB732E.4070509@gmail.com> <51AB7B7F.1060203@hyperactivesw.com> <51AB7D2F.7030701@hyperactivesw.com> <887637017.20130602102750@ahsoftware.net> <51AB869C.9000700@gmail.com> <3311210806.20130602112724@ahsoftware.net> <51AB8F97.1070605@gmail.com> <413659125.20130602120812@ahsoftware.net> Message-ID: <51ABA31A.7030308@gmail.com> Similarly to the problem with the Application Browser, selectedText in the Preferences palette is always selected in BLACK in version 6, while earlier versions picked up on an operating system's preferences as to what colour should be used to designate selected text. I have uploaded a picture illustrating this to the posting in the Forum. Richmond. From dochawk at gmail.com Sun Jun 2 16:14:52 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 2 Jun 2013 13:14:52 -0700 Subject: navigating & compiling the community dedition source Message-ID: I've managed to download the source, to see if I can make fixes for some of these errors. Simply typing "make" in the livecode directory didn't get me anywhere. Has anyone built it? And is there a map to the directory structure? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Sun Jun 2 16:48:48 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 2 Jun 2013 13:48:48 -0700 Subject: Detect Name of Button on Mouse Click In-Reply-To: References: <51A62253.40504@gmail.com> Message-ID: On Wed, May 29, 2013 at 8:46 AM, Mike Bonner wrote: > look at "the target" in the dictionary. > I also use buttons with the script on mouseUp dispatch the short name of me end mouseUp or on mouseUp doSomething the short name of me end mouseUp where a doSomething handler is on the card, or in the group -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From capellan2000 at gmail.com Sun Jun 2 16:56:16 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 2 Jun 2013 13:56:16 -0700 (PDT) Subject: dealing with these *huge* pdf files generated In-Reply-To: References: <51A9AB1F.9030000@gmail.com> <1370108379131-4665706.post@n4.nabble.com> <1370116699144-4665712.post@n4.nabble.com> <1370131419410-4665721.post@n4.nabble.com> <51AAC23E.8070202@hyperactivesw.com> Message-ID: <1370206576176-4665767.post@n4.nabble.com> The PDF file that you linked (output.cd.jrlien_multiexempt.pdf) was really small. Just 468k. Could you post this EXACT PDF file created using LiveCode pdf printing command? Maybe, just maybe, Livecode is interpreting each word as an object, so instead of a single object (a paragraph) the file produced have thousands of objects (one for each word). Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/dealing-with-these-huge-pdf-files-generated-tp4665689p4665767.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Sun Jun 2 18:03:14 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 2 Jun 2013 15:03:14 -0700 (PDT) Subject: Graphic tools - works in IDE, fails in Standalone In-Reply-To: References: Message-ID: <1370210594815-4665768.post@n4.nabble.com> Hi Graham, Graham Samuel-4 wrote > [snip] > As an experiment, I made a very simple standalone that consists only of a > mainstack with one card (the drawing area) and a substack with one card > (the tool palette) with three tools - rectangle, oval and line). It also > works in the IDE but not as a standalone, tho in this case it will only > draw lines, and it won't draw rectangles or ovals at all! > > Can anyone suggest what is happening and why it doesn't happen in the IDE? > Could it be a bug? Seems unlikely since similar tools work in the IDE > itself. I'm stuck. Download the stack "penTool032e": http://andregarzia.on-rev.com/alejandro/stacks/penTool032e.zip and use everything what you find useful for your application, including scripts and icons, just leftout my errors :-D. Follow these steps: Use Ken Ray's Stackrunner to test penTool032e for the first time. http://www.sonsothunder.com/devres/livecode/downloads/StackRunner.htm After opening StackRunner, open first the stack named: "StartPen" and click on the button "Users". The button "Developers" is only useful to browse the stack's scripts inside the LiveCode IDE. Then, click in the topleft button ("New Drawing") and start playing with the tools. Dismiss any error dialog the appears from time to time and experiment with the unfinished tools. Remember to save the stack (drawing) frecuently, just in case that you inadvertently step on one bug (all my fault) that crash Stackrunner. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Graphic-tools-works-in-IDE-fails-in-Standalone-tp4665739p4665768.html Sent from the Revolution - User mailing list archive at Nabble.com. From dochawk at gmail.com Sun Jun 2 19:23:05 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 2 Jun 2013 16:23:05 -0700 Subject: dealing with these *huge* pdf files generated In-Reply-To: <1370206576176-4665767.post@n4.nabble.com> References: <51A9AB1F.9030000@gmail.com> <1370108379131-4665706.post@n4.nabble.com> <1370116699144-4665712.post@n4.nabble.com> <1370131419410-4665721.post@n4.nabble.com> <51AAC23E.8070202@hyperactivesw.com> <1370206576176-4665767.post@n4.nabble.com> Message-ID: On Sun, Jun 2, 2013 at 1:56 PM, Alejandro Tejada wrote: > The PDF file that you linked (output.cd.jrlien_multiexempt.pdf) > was really small. Just 468k. > > Could you post this EXACT PDF file created using LiveCode > pdf printing command? > I think this one was from livecode--but it's only four pages, and it's 468k. Adobe crops this down to 388k, with the warning "The PDF document contained image masks that were not downsampled." > > Maybe, just maybe, Livecode is interpreting each word as > an object, so instead of a single object (a paragraph) the > file produced have thousands of objects (one for each word). > I just ran some new files. Here's the 2.1Mb dochawkbk.com/dochawkbk.130602b.livecode.output.pdf which drops to 1.1 Mb from Adobe creating dochawkbk.com/dochawkbk.130602b.livecode.output.sm.pdf And my cover pages, starting at 283Kb:dochawkbk.com/dochawkbk.130602b.cover_pages.pdf reduce to dochawkbk.com/dochawkbk.130602b.cover_pages.sm.pdf This would be a *very* small case; a typical filing is about 70-90 pages, not 38. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From stephenREVOLUTION2 at barncard.com Sun Jun 2 19:23:30 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 2 Jun 2013 16:23:30 -0700 Subject: dealing with these *huge* pdf files generated In-Reply-To: <1370206576176-4665767.post@n4.nabble.com> References: <51A9AB1F.9030000@gmail.com> <1370108379131-4665706.post@n4.nabble.com> <1370116699144-4665712.post@n4.nabble.com> <1370131419410-4665721.post@n4.nabble.com> <51AAC23E.8070202@hyperactivesw.com> <1370206576176-4665767.post@n4.nabble.com> Message-ID: I don't know how many pages are involved, but half a megabye doesn't seem small for textual information. That's a lot of bloat in my opinion.... I've created multi-page pdf docs under 100k. On Sun, Jun 2, 2013 at 1:56 PM, Alejandro Tejada wrote: > The PDF file that you linked (output.cd.jrlien_multiexempt.pdf) > was really small. Just 468k. > > Could you post this EXACT PDF file created using LiveCode > pdf printing command? > > Maybe, just maybe, Livecode is interpreting each word as > an object, so instead of a single object (a paragraph) the > file produced have thousands of objects (one for each word). > > Al > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/dealing-with-these-huge-pdf-files-generated-tp4665689p4665767.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From dochawk at gmail.com Sun Jun 2 19:26:27 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 2 Jun 2013 16:26:27 -0700 Subject: dealing with these *huge* pdf files generated In-Reply-To: References: <51A9AB1F.9030000@gmail.com> <1370108379131-4665706.post@n4.nabble.com> <1370116699144-4665712.post@n4.nabble.com> <1370131419410-4665721.post@n4.nabble.com> <51AAC23E.8070202@hyperactivesw.com> <1370206576176-4665767.post@n4.nabble.com> Message-ID: On Sun, Jun 2, 2013 at 4:23 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > I don't know how many pages are involved, but half a megabye doesn't seem > small for textual information. That's a lot of bloat in my opinion.... I've > created multi-page pdf docs under 100k. > 4 pages, but it does have lots of boxes & a few lines. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From stephenREVOLUTION2 at barncard.com Sun Jun 2 19:32:32 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 2 Jun 2013 16:32:32 -0700 Subject: dealing with these *huge* pdf files generated In-Reply-To: References: <51A9AB1F.9030000@gmail.com> <1370108379131-4665706.post@n4.nabble.com> <1370116699144-4665712.post@n4.nabble.com> <1370131419410-4665721.post@n4.nabble.com> <51AAC23E.8070202@hyperactivesw.com> <1370206576176-4665767.post@n4.nabble.com> Message-ID: that's really odd, as I thought Postscript was designed to be frugal - the beginnings of desktop publishing used machines with 128k of RAM! ( in the case if there is a bitmap present, all bets are off, because the size will explode trying to describe an image.) On Sun, Jun 2, 2013 at 4:26 PM, Dr. Hawkins wrote: > On Sun, Jun 2, 2013 at 4:23 PM, stephen barncard < > stephenREVOLUTION2 at barncard.com> wrote: > > > I don't know how many pages are involved, but half a megabye doesn't seem > > small for textual information. That's a lot of bloat in my opinion.... > I've > > created multi-page pdf docs under 100k. > > > > 4 pages, but it does have lots of boxes & a few lines. > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From terry.judd at unimelb.edu.au Sun Jun 2 20:15:22 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Mon, 3 Jun 2013 00:15:22 +0000 Subject: dealing with these *huge* pdf files generated In-Reply-To: References: <51A9AB1F.9030000@gmail.com> <1370108379131-4665706.post@n4.nabble.com> <1370116699144-4665712.post@n4.nabble.com> <1370131419410-4665721.post@n4.nabble.com> <51AAC23E.8070202@hyperactivesw.com> <1370206576176-4665767.post@n4.nabble.com> Message-ID: Perhaps you could 'replace' all the bitmaps with either graphic or text objects when you do your pdf export. If you have lots of checkboxes for example you could replace these with a simple x or tick. Any buttons you don't really need to show could also go. Terry... On 03/06/2013, at 09:32 AM, stephen barncard wrote: > that's really odd, as I thought Postscript was designed to be frugal - the > beginnings of desktop publishing used machines with 128k of RAM! > > ( in the case if there is a bitmap present, all bets are off, because the > size will explode trying to describe an image.) > > > On Sun, Jun 2, 2013 at 4:26 PM, Dr. Hawkins wrote: > >> On Sun, Jun 2, 2013 at 4:23 PM, stephen barncard < >> stephenREVOLUTION2 at barncard.com> wrote: >> >>> I don't know how many pages are involved, but half a megabye doesn't seem >>> small for textual information. That's a lot of bloat in my opinion.... >> I've >>> created multi-page pdf docs under 100k. >>> >> >> 4 pages, but it does have lots of boxes & a few lines. >> >> >> -- >> Dr. Richard E. Hawkins, Esq. >> (702) 508-8462 >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From mwieder at ahsoftware.net Sun Jun 2 20:21:19 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 2 Jun 2013 17:21:19 -0700 Subject: navigating & compiling the community dedition source In-Reply-To: References: Message-ID: <3232445658.20130602172119@ahsoftware.net> hi- Sunday, June 2, 2013, 1:14:52 PM, you wrote: > I've managed to download the source, to see if I can make fixes for some of > these errors. Could be a number of different things happening here. How did you download the source? Did you get the submodules? Third-party items? Are you on the master branch? > Simply typing "make" in the livecode directory didn't get me anywhere. What's "didn't get me anywhere"? What errors did you get? What OS? > Has anyone built it? And is there a map to the directory structure? See the "Engine Contributors" forum. -- -Mark Wieder mwieder at ahsoftware.net From brahma at hindu.org Sun Jun 2 22:43:51 2013 From: brahma at hindu.org (Brahmanathswami) Date: Sun, 02 Jun 2013 16:43:51 -1000 Subject: Another bizarre Apple patent troll case, in which Runtime Revolution plays a bit part In-Reply-To: References: Message-ID: <51AC02E7.6010001@hindu.org> Great publicity Mind-boogling that these software patents get approved. Wasn't this part of Hypercard? on mouseDown grab me end mouseDown Brahmanathaswami Bj?rnke von Gierke wrote: > Of large importance to this list is the third last paragraph, (last link on the first page of two): > > " > ... > Milekic had never written a line of code or taken a programming class; he told a Philly tech publication that his touchscreen software was built with a program called RunTime Revolution, which says it "makes programming learnable by anyone who can use a computer." > " From dochawk at gmail.com Sun Jun 2 23:38:54 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 2 Jun 2013 20:38:54 -0700 Subject: dealing with these *huge* pdf files generated In-Reply-To: References: <51A9AB1F.9030000@gmail.com> <1370108379131-4665706.post@n4.nabble.com> <1370116699144-4665712.post@n4.nabble.com> <1370131419410-4665721.post@n4.nabble.com> <51AAC23E.8070202@hyperactivesw.com> <1370206576176-4665767.post@n4.nabble.com> Message-ID: On Sun, Jun 2, 2013 at 5:15 PM, Terry Judd wrote: > Perhaps you could 'replace' all the bitmaps with either graphic or text > objects when you do your pdf export. If you have lots of checkboxes for > example you could replace these with a simple x or tick. Any buttons you > don't really need to show could also go. Wait a minute . . . shouldn't a checkbox be a postscript drawn object, not a bitmap? That would be *easier* in postscript than a bitmap (although I've never written pdf directly; just postscript. Is there a shortcut?) A sane postscript output would put functions into the output, and each box or checkbox would be a function call with 5 paramaters (2 corners & width); and similarly for a line. The pdfwriter code seems to be only a few pages long, but I haven't gotten my c++ (let alone objective c) back up to speed yet. BTW, my output is completely devoid of bitmaps (OK, there is a single repeated bitmap in the cover page pdf; the firm logo). -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From kee at kagi.com Sun Jun 2 23:48:17 2013 From: kee at kagi.com (kee nethery) Date: Sun, 2 Jun 2013 20:48:17 -0700 Subject: Another bizarre Apple patent troll case, in which Runtime Revolution plays a bit part In-Reply-To: <51AC02E7.6010001@hindu.org> References: <51AC02E7.6010001@hindu.org> Message-ID: <8E72D605-6AF7-4D01-B1F0-5B73318863F8@kagi.com> In the article: http://arstechnica.com/tech-policy/2013/06/apple-betrayed-by-its-own-law-firm/ I am not sure what the lawyer patented exactly but if is was moving an object on the screen by pointing to it, there were touch screens way back when and the sample code from the 1993 HyperTalk manual showed how to move objects with your finger. The script isn't "grab me" but it was pretty close to that. Page 319 of the Hypercard scripting language guide includes sample code: on mouseDown repeat until the mouse is up set the loc of me to the mouseLoc end repeat end mouseDown Any locked object with that script would get moved around when you touched it with your finger using a touchscreen. A 1994/1995 web page: http://www.csse.monash.edu.au/~jonmc/Turb/ Details a system using a Mac and a touchscreen. Wondering what the lawyer patented and how it was different from state of the art 1993. Kee Nethery On Jun 2, 2013, at 7:43 PM, Brahmanathswami wrote: > Great publicity > > Mind-boogling that these software patents get approved. > > Wasn't this part of Hypercard? > > on mouseDown > grab me > end mouseDown > > > Brahmanathaswami > > > Bj?rnke von Gierke wrote: >> Of large importance to this list is the third last paragraph, (last link on the first page of two): >> >> " >> ... >> Milekic had never written a line of code or taken a programming class; he told a Philly tech publication that his touchscreen software was built with a program called RunTime Revolution, which says it "makes programming learnable by anyone who can use a computer." >> " > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Sun Jun 2 23:53:15 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 2 Jun 2013 20:53:15 -0700 Subject: dealing with these *huge* pdf files generated In-Reply-To: References: <51A9AB1F.9030000@gmail.com> <1370108379131-4665706.post@n4.nabble.com> <1370116699144-4665712.post@n4.nabble.com> <1370131419410-4665721.post@n4.nabble.com> <51AAC23E.8070202@hyperactivesw.com> <1370206576176-4665767.post@n4.nabble.com> Message-ID: On Sun, Jun 2, 2013 at 4:32 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > that's really odd, as I thought Postscript was designed to be frugal - the > beginnings of desktop publishing used machines with 128k of RAM! > > ( in the case if there is a bitmap present, all bets are off, because the > size will explode trying to describe an image.) > As typically used, pdf is a bastardized postscript, but without the power. I'm still not convinced on pdf as a replacement. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Mon Jun 3 00:16:36 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 03 Jun 2013 07:16:36 +0300 Subject: Monochrome Woes In-Reply-To: <413659125.20130602120812@ahsoftware.net> References: <51AB1966.60009@gmail.com> <51AB732E.4070509@gmail.com> <51AB7B7F.1060203@hyperactivesw.com> <51AB7D2F.7030701@hyperactivesw.com> <887637017.20130602102750@ahsoftware.net> <51AB869C.9000700@gmail.com> <3311210806.20130602112724@ahsoftware.net> <51AB8F97.1070605@gmail.com> <413659125.20130602120812@ahsoftware.net> Message-ID: <51AC18A4.3070904@gmail.com> On 06/02/2013 10:08 PM, Mark Wieder wrote: > Richmond- > > How about copying the revapplicationoverview.rev from the 5.x Toolset > set directory into the community version? Does that fix things for > you? > Actually when you stop and think about things it is quite easy to see that wouldn't work, as last time I looked all the icons for the IDE are stored in the revMenubar stack. Richmond. From terry.judd at unimelb.edu.au Mon Jun 3 01:09:21 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Mon, 3 Jun 2013 05:09:21 +0000 Subject: dealing with these *huge* pdf files generated In-Reply-To: References: <51A9AB1F.9030000@gmail.com> <1370108379131-4665706.post@n4.nabble.com> <1370116699144-4665712.post@n4.nabble.com> <1370131419410-4665721.post@n4.nabble.com> <51AAC23E.8070202@hyperactivesw.com> <1370206576176-4665767.post@n4.nabble.com> Message-ID: <18112C53-911A-472B-A552-C41A779A45D8@unimelb.edu.au> Just did a quick test - two cards, each with a field containing a single line of text, the first card has two checkboxes labelled A and B, the second has two label fields ('x A' and 'x B'). Exported both cards to PDF: card 1 - 11,100 bytes, card 2 - 3,500 bytes. If you are rendering a lot of those (or other button types) over lots of pages then I guess it could start to add up. Terry... On 03/06/2013, at 01:38 PM, Dr. Hawkins wrote: > On Sun, Jun 2, 2013 at 5:15 PM, Terry Judd wrote: > >> Perhaps you could 'replace' all the bitmaps with either graphic or text >> objects when you do your pdf export. If you have lots of checkboxes for >> example you could replace these with a simple x or tick. Any buttons you >> don't really need to show could also go. > > > Wait a minute . . . shouldn't a checkbox be a postscript drawn object, not > a bitmap? That would be *easier* in postscript than a bitmap (although > I've never written pdf directly; just postscript. Is there a shortcut?) > > A sane postscript output would put functions into the output, and each box > or checkbox would be a function call with 5 paramaters (2 corners & width); > and similarly for a line. > > The pdfwriter code seems to be only a few pages long, but I haven't gotten > my c++ (let alone objective c) back up to speed yet. > > BTW, my output is completely devoid of bitmaps (OK, there is a single > repeated bitmap in the cover page pdf; the firm logo). > > > > > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From terry.judd at unimelb.edu.au Mon Jun 3 01:21:54 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Mon, 3 Jun 2013 05:21:54 +0000 Subject: dealing with these *huge* pdf files generated In-Reply-To: References: <51A9AB1F.9030000@gmail.com> <1370108379131-4665706.post@n4.nabble.com> <1370116699144-4665712.post@n4.nabble.com> <1370131419410-4665721.post@n4.nabble.com> <51AAC23E.8070202@hyperactivesw.com> <1370206576176-4665767.post@n4.nabble.com> Message-ID: <28D15864-A450-45CB-B7A8-95093C1B84F1@unimelb.edu.au> On 03/06/2013, at 01:38 PM, Dr. Hawkins wrote: > On Sun, Jun 2, 2013 at 5:15 PM, Terry Judd wrote: > >> Perhaps you could 'replace' all the bitmaps with either graphic or text >> objects when you do your pdf export. If you have lots of checkboxes for >> example you could replace these with a simple x or tick. Any buttons you >> don't really need to show could also go. > > > Wait a minute . . . shouldn't a checkbox be a postscript drawn object, not > a bitmap? That would be *easier* in postscript than a bitmap (although > I've never written pdf directly; just postscript. Is there a shortcut?) They definitely look bitmapped to me. Magnify the pdf content and the text and field borders scale perfectly - the checkboxes on the other hand pixelate. Terry... > > A sane postscript output would put functions into the output, and each box > or checkbox would be a function call with 5 paramaters (2 corners & width); > and similarly for a line. > > The pdfwriter code seems to be only a few pages long, but I haven't gotten > my c++ (let alone objective c) back up to speed yet. > > BTW, my output is completely devoid of bitmaps (OK, there is a single > repeated bitmap in the cover page pdf; the firm logo). > > > > > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From capellan2000 at gmail.com Mon Jun 3 02:49:09 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 2 Jun 2013 23:49:09 -0700 (PDT) Subject: dealing with these *huge* pdf files generated In-Reply-To: <28D15864-A450-45CB-B7A8-95093C1B84F1@unimelb.edu.au> References: <51AAC23E.8070202@hyperactivesw.com> <1370206576176-4665767.post@n4.nabble.com> <28D15864-A450-45CB-B7A8-95093C1B84F1@unimelb.edu.au> Message-ID: <1370242149381-4665782.post@n4.nabble.com> Yes, checkboxes are bitmap... and if there are a lot of them this explains all the bloat. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/dealing-with-these-huge-pdf-files-generated-tp4665689p4665782.html Sent from the Revolution - User mailing list archive at Nabble.com. From toolbook at kestner.de Mon Jun 3 03:48:56 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 3 Jun 2013 09:48:56 +0200 Subject: playing mp4 videos without QT-player? Message-ID: <003501ce602e$cd5ded10$6819c730$@de> Hi, up to now, I am using .mov videos with the LC player object to play videos on Win and Mac. More and more often I have customers on windows who have real pain to get the QT-player installed so that LC accepts it. Up to now I don't have a recipe for thoses failed installation to get them easily to run, though I get all of them after two or three de- and reinstalles and trials and errors to run (yes with admin, no anti virus, etc. etc.). But my feeling is that those failed cases increase from month to month. There are even sayings on the net that you can't get QT to run anymore on 64 bit windows machines, what is not true. I didn't follow all the details of the kickstarter roadmap for LC, but are there any plans to replace the QT-player with some more handsome "native" player or any alternatives for win and mac for one single video format? Or is there actually already today an alternative for one video format to be played on both platforms, what I might have missed in the last years? Thanks for any informations or how to handle Tiemo From matthias_livecode_150811 at m-r-d.de Mon Jun 3 06:37:27 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 3 Jun 2013 12:37:27 +0200 Subject: existing Double-opt in subscription solution with livecode-server? Message-ID: <2CFD2EDB-8DEA-45A1-A5BE-D166CFF0075F@m-r-d.de> Hi, for a livecode-server project i am in need of an e-mail subscription form with double opt-in feature. Has someone already done this and would share her/his experiences/routines? Regards, Matthias From m.schonewille at economy-x-talk.com Mon Jun 3 06:54:12 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 03 Jun 2013 12:54:12 +0200 Subject: existing Double-opt in subscription solution with livecode-server? In-Reply-To: <2CFD2EDB-8DEA-45A1-A5BE-D166CFF0075F@m-r-d.de> References: <2CFD2EDB-8DEA-45A1-A5BE-D166CFF0075F@m-r-d.de> Message-ID: <51AC75D4.3080506@economy-x-talk.com> Hi Matthias, What's a double opt-in feature? I have made several subscription forms, mailing lists and news letter systems, sometimes using MySQL, sometimes local text files. Can you be more specific? I guess you're going to need a database. I use PHP and not LC Server. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi On 6/3/2013 12:37, Matthias Rebbe wrote: > Hi, > > for a livecode-server project i am in need of an e-mail subscription form with double opt-in feature. > Has someone already done this and would share her/his experiences/routines? > > Regards, > > Matthias From matthias_livecode_150811 at m-r-d.de Mon Jun 3 07:05:44 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 3 Jun 2013 13:05:44 +0200 Subject: existing Double-opt in subscription solution with livecode-server? In-Reply-To: <51AC75D4.3080506@economy-x-talk.com> References: <2CFD2EDB-8DEA-45A1-A5BE-D166CFF0075F@m-r-d.de> <51AC75D4.3080506@economy-x-talk.com> Message-ID: Hi Mark, double opt-in means, the user gets an email after subscribing to confirm that she/he really wants to subscribe and that no one else just added her/his email address just for fun. This shall avoid legal actions against the newsletter sender. I do not know if this is only a german problem or maybe EU wide, but sending promotion emails to people w/o their confirmation could cause big legal trouble to the sender. Here?s a german wikipedia explanation. I could not found an english one. https://de.wikipedia.org/wiki/Opt-in Regards, Matthias Am 03.06.2013 um 12:54 schrieb Mark Schonewille : > Hi Matthias, > > What's a double opt-in feature? I have made several subscription forms, mailing lists and news letter systems, sometimes using MySQL, sometimes local text files. Can you be more specific? I guess you're going to need a database. I use PHP and not LC Server. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi > > On 6/3/2013 12:37, Matthias Rebbe wrote: >> Hi, >> >> for a livecode-server project i am in need of an e-mail subscription form with double opt-in feature. >> Has someone already done this and would share her/his experiences/routines? >> >> Regards, >> >> Matthias > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From shawnlivecode at gmail.com Mon Jun 3 07:07:58 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Mon, 3 Jun 2013 06:07:58 -0500 Subject: existing Double-opt in subscription solution with livecode-server? In-Reply-To: <51AC75D4.3080506@economy-x-talk.com> References: <2CFD2EDB-8DEA-45A1-A5BE-D166CFF0075F@m-r-d.de> <51AC75D4.3080506@economy-x-talk.com> Message-ID: Mark, the double opt-in feature is when the subscriber also receives a link to his/her email address that must be clicked. Typically the link will expire in 7 days. Once the link is clicked they have opted-in to receive your list, etc. If the link isn't clicked and expires the user is never confirmed. On Mon, Jun 3, 2013 at 5:54 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi Matthias, > > What's a double opt-in feature? I have made several subscription forms, > mailing lists and news letter systems, sometimes using MySQL, sometimes > local text files. Can you be more specific? I guess you're going to need a > database. I use PHP and not LC Server. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/**xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour > spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > > On 6/3/2013 12:37, Matthias Rebbe wrote: > >> Hi, >> >> for a livecode-server project i am in need of an e-mail subscription form >> with double opt-in feature. >> Has someone already done this and would share her/his >> experiences/routines? >> >> Regards, >> >> Matthias >> > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From m.schonewille at economy-x-talk.com Mon Jun 3 07:18:50 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 03 Jun 2013 13:18:50 +0200 Subject: existing Double-opt in subscription solution with livecode-server? In-Reply-To: References: <2CFD2EDB-8DEA-45A1-A5BE-D166CFF0075F@m-r-d.de> <51AC75D4.3080506@economy-x-talk.com> Message-ID: <51AC7B9A.8050307@economy-x-talk.com> Hi Matthias, I get it. A simple link in the e-mail is sufficient. I'd expect LC Server to be able to send an e-mail from the shell if no other command is available. The link should run a brief script that updates a field in your database. Your hosting account should have a mail command line utility, which you can call with the shell function, e.g. mail -n -s "Subject" -b support at domain.com customer at somewhere.com I have a collection of PHP scripts, which you might be able to use, including a captcha. It is easily adjusted to send a confirmation e-mail. Perhaps I could help you with this if you contact me off-list? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi On 6/3/2013 13:05, Matthias Rebbe wrote: > Hi Mark, > > double opt-in means, the user gets an email after subscribing to confirm that she/he really wants to subscribe and that no one else just added her/his email address just for fun. > This shall avoid legal actions against the newsletter sender. I do not know if this is only a german problem or maybe EU wide, but sending promotion emails to people w/o their confirmation could cause big legal trouble to the sender. > > Here?s a german wikipedia explanation. I could not found an english one. > https://de.wikipedia.org/wiki/Opt-in > > > Regards, > > Matthias > From matthias_livecode_150811 at m-r-d.de Mon Jun 3 07:41:17 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 3 Jun 2013 13:41:17 +0200 Subject: existing Double-opt in subscription solution with livecode-server? In-Reply-To: <51AC7B9A.8050307@economy-x-talk.com> References: <2CFD2EDB-8DEA-45A1-A5BE-D166CFF0075F@m-r-d.de> <51AC75D4.3080506@economy-x-talk.com> <51AC7B9A.8050307@economy-x-talk.com> Message-ID: <5D783B22-4874-411D-B542-A320397C534E@m-r-d.de> Hi Mark, thanks for the offer. I will play/try a little bit and come back to you if i get stuck. Regards, Matthias Am 03.06.2013 um 13:18 schrieb Mark Schonewille : > Hi Matthias, > > I get it. A simple link in the e-mail is sufficient. I'd expect LC Server to be able to send an e-mail from the shell if no other command is available. The link should run a brief script that updates a field in your database. > > Your hosting account should have a mail command line utility, which you can call with the shell function, e.g. > > mail -n -s "Subject" -b support at domain.com customer at somewhere.com > > I have a collection of PHP scripts, which you might be able to use, including a captcha. It is easily adjusted to send a confirmation e-mail. Perhaps I could help you with this if you contact me off-list? > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi > > On 6/3/2013 13:05, Matthias Rebbe wrote: >> Hi Mark, >> >> double opt-in means, the user gets an email after subscribing to confirm that she/he really wants to subscribe and that no one else just added her/his email address just for fun. >> This shall avoid legal actions against the newsletter sender. I do not know if this is only a german problem or maybe EU wide, but sending promotion emails to people w/o their confirmation could cause big legal trouble to the sender. >> >> Here?s a german wikipedia explanation. I could not found an english one. >> https://de.wikipedia.org/wiki/Opt-in >> >> >> Regards, >> >> Matthias >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Mon Jun 3 08:28:07 2013 From: livfoss at mac.com (Graham Samuel) Date: Mon, 03 Jun 2013 14:28:07 +0200 Subject: Graphic tools - works in IDE, fails in Standalone In-Reply-To: <1370210594815-4665768.post@n4.nabble.com> References: <1370210594815-4665768.post@n4.nabble.com> Message-ID: <21F49689-CAFD-4EF3-BBF3-C590D623D7FB@mac.com> Hi Al Thanks very much for your offer - I will look at the stuff later today. In fact it turns out my problem is quite complex - I had made some mistakes confusing paint (image) tools with vector (graphic) tools - not too hard to do if you just skim-read the LC Dictionary, especially if like me you've never used the paint tools in LC. You can't script choose oval tool and expect to draw a vector oval, whatever you do to the templateGraphic. You have to alter the templateGraphic and then pick the graphic tool. However even now knowing this and proving to myself it works in a simplified form (I mean in a dedicated experimental stack), I think I'm still having problems in my real app, which I am re-testing; also my mistakes (which resulted in my painting some of my objects instead of drawing them as vectors) should NOT have produced different results within the IDE and outside it, and I have no explanation for that. So the story continues, and your stack may well help me. Thanks again Graham On 3 Jun 2013, at 00:03, Alejandro Tejada wrote: > Hi Graham, > > > Graham Samuel-4 wrote >> [snip] >> As an experiment, I made a very simple standalone that consists only of a >> mainstack with one card (the drawing area) and a substack with one card >> (the tool palette) with three tools - rectangle, oval and line). It also >> works in the IDE but not as a standalone, tho in this case it will only >> draw lines, and it won't draw rectangles or ovals at all! >> >> Can anyone suggest what is happening and why it doesn't happen in the IDE? >> Could it be a bug? Seems unlikely since similar tools work in the IDE >> itself. I'm stuck. > > Download the stack "penTool032e": > > http://andregarzia.on-rev.com/alejandro/stacks/penTool032e.zip > > and use everything what you find useful for your application, > including scripts and icons, just leftout my errors :-D. > > Follow these steps: > > Use Ken Ray's Stackrunner to test penTool032e > for the first time. > > http://www.sonsothunder.com/devres/livecode/downloads/StackRunner.htm > > After opening StackRunner, open first the stack named: > "StartPen" and click on the button "Users". > The button "Developers" is only useful to browse the stack's > scripts inside the LiveCode IDE. > > Then, click in the topleft button ("New Drawing") and start > playing with the tools. Dismiss any error dialog the appears > from time to time and experiment with the unfinished tools. > > Remember to save the stack (drawing) frecuently, just in > case that you inadvertently step on one bug (all my fault) > that crash Stackrunner. > > Al > > > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Graphic-tools-works-in-IDE-fails-in-Standalone-tp4665739p4665768.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ABMCLAWH at mailbox.sc.edu Mon Jun 3 08:39:13 2013 From: ABMCLAWH at mailbox.sc.edu (MCLAWHORN, TONY) Date: Mon, 3 Jun 2013 12:39:13 +0000 Subject: Mainstack/substack challenge Message-ID: <52F4CD4098B27344A9CC4FA0329B88B21E04DE98@CAE145EMBP03.ds.sc.edu> I've included a Livecode 5.54 stack to demonstrate the problem (also tried it in Windows version 6.01). This concept of moving some clipboard data from a substack to mainstack is critical to what I am wanting to do. Kudos to anyone who can make this work. The problem: Using the included stack, put some text from a mainstack into the clipboard. Click on any of the three fields in the substack that puts the clipboard text into the field that you clicked on. Here is the card script code on the card containing the three text fields that does that. on openfield put the clipboardData["text"] into the target end openfield The problem shows itself if you put some text into the clipboard from the mainstack, click on a field in the substack, put some new text into the clipboard, and click on a different field in the substack. The last content you put in the clipboard will be put on the field you clicked on as well as the previous field you clicked on. Update: I just tried copying some text from Notepad (Windows 7) then merely clicked in the substack title/menubar area, not any of the three text fields, and the content of the clipboard was put into the last field I clicked on in the substack. So a ResumeStack automatically issues an Openfield message? Also moved the Openfield handlers into each of the three fields with the same results. This is really so weird. I have spent several days trying all the commands and functions that I thought might fix the problem and nothing works. Thanks for any help. --- |> |? Tony McLawhorn |? Computer Support Manager |? Department of History |? University of South Carolina |? Columbia, SC 29208 |? TonyMac at sc.edu |? (803) 777-9125 From ambassador at fourthworld.com Mon Jun 3 08:41:46 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 03 Jun 2013 05:41:46 -0700 Subject: playing mp4 videos without QT-player? In-Reply-To: <003501ce602e$cd5ded10$6819c730$@de> References: <003501ce602e$cd5ded10$6819c730$@de> Message-ID: <51AC8F0A.8030500@fourthworld.com> Tiemo Hollmann wrote: > I didn't follow all the details of the kickstarter roadmap for LC, but are > there any plans to replace the QT-player with some more handsome "native" > player or any alternatives for win and mac for one single video format? Yes - see "Reworked Multimedia Support: ?441,000" here in the Stretch Goals: > Or is there actually already today an alternative for one video format to be > played on both platforms, what I might have missed in the last years? Relatively few formats play well with both the native Win and Mac playback engines. The API LC uses on Windows is dependent on MCI, which Microsoft has deprecated some time ago. This leaves us with few options for video playback using non-QT methods on that platform. Some older AVI codecs will work, but I'll leave it for Colin and others who have more experience to offer a more definitive suggestion. And for those that do work, if you need to play from a specific startTime you'll soon discover that the startTime only works with QT currently. :( -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From toolbook at kestner.de Mon Jun 3 08:58:11 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 3 Jun 2013 14:58:11 +0200 Subject: AW: playing mp4 videos without QT-player? In-Reply-To: <51AC8F0A.8030500@fourthworld.com> References: <003501ce602e$cd5ded10$6819c730$@de> <51AC8F0A.8030500@fourthworld.com> Message-ID: <007001ce605a$01966640$04c332c0$@de> Hi Richard, "Reworked Multimedia Support" sounds promising. So I'll be annoyed at QT for another period and will wait for a new solution. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Richard Gaskin > Gesendet: Montag, 3. Juni 2013 14:42 > An: use-livecode at lists.runrev.com > Betreff: Re: playing mp4 videos without QT-player? > > Tiemo Hollmann wrote: > > > I didn't follow all the details of the kickstarter roadmap for LC, but > > are there any plans to replace the QT-player with some more handsome > "native" > > player or any alternatives for win and mac for one single video format? > > Yes - see "Reworked Multimedia Support: ?441,000" here in the Stretch > Goals: > livecode/posts?page=2> > > > > Or is there actually already today an alternative for one video format > > to be played on both platforms, what I might have missed in the last > years? > > Relatively few formats play well with both the native Win and Mac playback > engines. > > The API LC uses on Windows is dependent on MCI, which Microsoft has > deprecated some time ago. This leaves us with few options for video > playback using non-QT methods on that platform. > > Some older AVI codecs will work, but I'll leave it for Colin and others who > have more experience to offer a more definitive suggestion. > > And for those that do work, if you need to play from a specific startTime > you'll soon discover that the startTime only works with QT currently. :( > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Mon Jun 3 09:46:53 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 3 Jun 2013 06:46:53 -0700 Subject: dealing with these *huge* pdf files generated In-Reply-To: <1370242149381-4665782.post@n4.nabble.com> References: <51AAC23E.8070202@hyperactivesw.com> <1370206576176-4665767.post@n4.nabble.com> <28D15864-A450-45CB-B7A8-95093C1B84F1@unimelb.edu.au> <1370242149381-4665782.post@n4.nabble.com> Message-ID: On Sun, Jun 2, 2013 at 11:49 PM, Alejandro Tejada wrote: > Yes, checkboxes are bitmap... > and if there are a lot of them > this explains all the bloat. > Many pages have a single checkbox. The first page, with lots of them, actually implemented them as fields and X's. I believe that there is only one other document (Form 22) with multiples per page, and those are indeed checkboxes. It's not affecting these, but I also end up having to convert a full page pdf to png to insert it into my output (twice if married debtors), and have another one-page scan that has to go in. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Mon Jun 3 09:48:40 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 3 Jun 2013 06:48:40 -0700 Subject: existing Double-opt in subscription solution with livecode-server? In-Reply-To: <51AC75D4.3080506@economy-x-talk.com> References: <2CFD2EDB-8DEA-45A1-A5BE-D166CFF0075F@m-r-d.de> <51AC75D4.3080506@economy-x-talk.com> Message-ID: On Mon, Jun 3, 2013 at 3:54 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > What's a double opt-in feature? The "double" in double opt-in is advertiser-speak for actually having to opt-in by a known user action, typically responding to a mail that could have been triggered by anyone. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From kspieldenner at lifetouch.com Mon Jun 3 11:01:26 2013 From: kspieldenner at lifetouch.com (Keith Spieldenner) Date: Mon, 3 Jun 2013 15:01:26 +0000 Subject: Detect Name of Button on Mouse Click Message-ID: <2E608E4884138941AB24A4ABB29CE1B928E504B0@LTIVW-P-MBX03.LIFETOUCH.NET> When I dynamically create objects, I typically set the behavior of the templateButton to point to a button on another card. That button contains the script for my new buttons. So, on another card, create a button that contains something like this... on mouseup switch the label of the target case "Say Hello" answer "You clicked on a button name" && the short name of the target & cr & the label of the target break default answer "You clicked on an unhandled button." break end switch pass mouseup end mouseup in the script that creates your buttons... set the behavior of the templateButton to "button id 1003 of card id 1002" --this is the reference to the button you created on the other card set the label of the templateButton to "Say Hello" create button "b_My New Button" Using this approach, you don't have to try and set the specific script of each button you create. You just manage the script in one place. ______________________________________________________________________ This email has been scanned by the Symantec Email Security.cloud service. For more information please visit http://www.symanteccloud.com _____________________________________________________________________ From livfoss at mac.com Mon Jun 3 11:22:17 2013 From: livfoss at mac.com (Graham Samuel) Date: Mon, 03 Jun 2013 17:22:17 +0200 Subject: Graphic tools - works in IDE, fails in Standalone: getting desperate In-Reply-To: <21F49689-CAFD-4EF3-BBF3-C590D623D7FB@mac.com> References: <1370210594815-4665768.post@n4.nabble.com> <21F49689-CAFD-4EF3-BBF3-C590D623D7FB@mac.com> Message-ID: I'm still in bad trouble on this despite help from the mother ship, who pointed out that when I started this thread, I was mixing the creation of paint ('image') and vector ('graphic') objects. I corrected my mistakes, and built a mini-app that has drawing tools chosen in a palette. The actual drawings are done on a card in the mainstack. All works. Now I went back to my original app, made sure the tool palette there had been updated, and sure enough in the IDE it all works - I'm able to make vector graphics on a card in my mainstack and manipulate them (drag, resize, delete etc) as expected. So, armed with that knowledge, I rebuilt my standalone. To my surprise the behaviour was as before (works in IDE, doesn't work in standalone). A graphic tool (for example of style 'oval') in my app did not draw a graphic but instead a small circle on my card whose size I could not influence! I realise this is what you get when you select a drawing tool and just click without dragging - so there was no response to my dragging. Trying a bit harder, I modified and remade the app with another card from a different substack visible to the user: amazingly, the tools in my palette work perfectly on this card, but not on the original target card!! I inserted logging messages in my original target card and I found that new graphics are being created, but I can't resize or select them. So, there is something strange about the card which I am trying to use for drawing. What could it be? I have checked all the things I can think of, including strange 'mouseDown' handlers in the message path (presumably such a handler could wreck the drawing process), a cantSelect set to true (this inhibits creation of graphics), but I haven't found anything yet. The stack where the drawing is supposed to take place is definitely toplevel. Can anyone say what can prevent dragging with a graphic drawing tool working on a particular card in a toplevel stack, and why there should be a difference between the IDE and a standalone? TIA Graham From paulhibbert at mac.com Mon Jun 3 12:04:30 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Mon, 03 Jun 2013 09:04:30 -0700 Subject: Mainstack/substack challenge In-Reply-To: <52F4CD4098B27344A9CC4FA0329B88B21E04DE98@CAE145EMBP03.ds.sc.edu> References: <52F4CD4098B27344A9CC4FA0329B88B21E04DE98@CAE145EMBP03.ds.sc.edu> Message-ID: Hi Tony, I think your problem may be the 'traversalOn' property, if I'm correct in understanding where the problem lies this should work (it worked OK for my test)? Group your fields on the substack and set the 'traversalOn' property to false, then use this as the card script? on openCard set the traversalOn of grp "fldGroup" to true end openCard on openField put the clipboardData["text"] into the target end openField on closeCard set the traversalOn of grp "fldGroup" to false end closeCard This avoids the first field opening when you switch to the card and therefore triggering the openField script. Your included stack didn't make it to the list because attachments are not allowed, most people use Dropbox with a link to provide samples etc., but I think there was enough detail in your description to work out the problem. HTH Paul On 2013-06-03, at 5:39 AM, MCLAWHORN, TONY wrote: > I've included a Livecode 5.54 stack to demonstrate the problem (also tried it in Windows version 6.01). This concept of moving some clipboard data from a substack to mainstack is critical to what I am wanting to do. Kudos to anyone who can make this work. > > The problem: Using the included stack, put some text from a mainstack into the clipboard. Click on any of the three fields in the substack that puts the clipboard text into the field that you clicked on. Here is the card script code on the card containing the three text fields that does that. > > on openfield > put the clipboardData["text"] into the target > end openfield > > The problem shows itself if you put some text into the clipboard from the mainstack, click on a field in the substack, put some new text into the clipboard, and click on a different field in the substack. The last content you put in the clipboard will be put on the field you clicked on as well as the previous field you clicked on. > > Update: I just tried copying some text from Notepad (Windows 7) then merely clicked in the substack title/menubar area, not any of the three text fields, and the content of the clipboard was put into the last field I clicked on in the substack. So a ResumeStack automatically issues an Openfield message? Also moved the Openfield handlers into each of the three fields with the same results. > > This is really so weird. I have spent several days trying all the commands and functions that I thought might fix the problem and nothing works. > > Thanks for any help. > > --- > |> > | Tony McLawhorn > | Computer Support Manager > | Department of History > | University of South Carolina > | Columbia, SC 29208 > | TonyMac at sc.edu > | (803) 777-9125 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Mon Jun 3 12:10:48 2013 From: coiin at verizon.net (Colin Holgate) Date: Mon, 03 Jun 2013 12:10:48 -0400 Subject: Graphic tools - works in IDE, fails in Standalone: getting desperate In-Reply-To: References: <1370210594815-4665768.post@n4.nabble.com> <21F49689-CAFD-4EF3-BBF3-C590D623D7FB@mac.com> Message-ID: Here's a card script that almost does what you need: global latestoval,latestovalloc on mousedown lock screen set the style of the templateGraphic to oval put the mouseloc into latestovalloc new graphic put the number of graphics into latestoval set the backcolor of graphic latestoval to "red" set the filled of graphic latestoval to true set the rect of graphic latestoval to latestovalloc & comma & the mouseloc unlock screen end mousedown on mousestilldown set the rect of graphic latestoval to latestovalloc & comma & the mouseloc end mousestilldown It isn't quite right, because it only works for dragging from top left to bottom right, but you should see that it works fine in standlaones, even on iOS. From richmondmathewson at gmail.com Mon Jun 3 13:10:47 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 03 Jun 2013 20:10:47 +0300 Subject: Monochrome Woes In-Reply-To: <413659125.20130602120812@ahsoftware.net> References: <51AB1966.60009@gmail.com> <51AB732E.4070509@gmail.com> <51AB7B7F.1060203@hyperactivesw.com> <51AB7D2F.7030701@hyperactivesw.com> <887637017.20130602102750@ahsoftware.net> <51AB869C.9000700@gmail.com> <3311210806.20130602112724@ahsoftware.net> <51AB8F97.1070605@gmail.com> <413659125.20130602120812@ahsoftware.net> Message-ID: <51ACCE17.2070309@gmail.com> On 06/02/2013 10:08 PM, Mark Wieder wrote: > Richmond- > > How about copying the revapplicationoverview.rev from the 5.x Toolset > set directory into the community version? Does that fix things for > you? > For those who are interested, the icons for LC 6.0.2 are stored in the revGeneralIcons stack. Richmond. From mcgrath3 at mac.com Mon Jun 3 13:25:39 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 03 Jun 2013 13:25:39 -0400 Subject: First App rejected for odd reasons Message-ID: I just tried to upload a free app to the Apple App Store and was immediately rejected. I have seen some people get some of these warning but I got four reasons and the Binary was rejected as invalid. I am not using Push notification. I am not accessing the UDID. The project is large because it has 2048x1536 images in it for Retina iPad it is 387 MB. I don't know what a Non-PIE Binary is but I am looking it up now. This was built with Livecode 5.5.4 Any Ideas????? ------------ Non-public API usage: Apps are not permitted to access the UDID and must not use the uniqueIdentifier method of UIDevice. Please update your apps and servers to associate users with the Vendor or Advertising identifiers introduced in iOS 6. Invalid Executable Size - Your app's executable file 'GospelOfMark.app/GospelOfMark' is a size of 249868688 bytes, which exceeds the maximum allowed size of 80 MB. Abnormally large executable files are often the result of using a development environment that stores excessive or unnecessary data in the compiled binary. You may need to contact your tool vendor for assistance if your app was built with a developer tool other than Xcode. Missing Push Notification Entitlement - Your app appears to include API used to register with the Apple Push Notification service, but the app signature's entitlements do not include the "aps-environment" entitlement. Non-PIE Binary - The executable 'GospelOfMark.app' is not a Position Independent Executable. Please ensure that your build settings are configured to create PIE executables. For more information, refer to Technical Q&A QA1788 - Building a Position Independent Executable ----------- -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com From livfoss at mac.com Mon Jun 3 13:27:26 2013 From: livfoss at mac.com (Graham Samuel) Date: Mon, 03 Jun 2013 19:27:26 +0200 Subject: Graphic tools - works in IDE, fails in Standalone: getting desperate In-Reply-To: References: <1370210594815-4665768.post@n4.nabble.com> <21F49689-CAFD-4EF3-BBF3-C590D623D7FB@mac.com> Message-ID: <4EFB1114-FFAD-4185-BCC2-CAD620EE3F7D@mac.com> Hi Colin - thanks for that. I see that you ingeniously avoid choosing the graphic tool (I hadn't thought of using 'new graphic'). I will see if I can adapt it so the user had freedom to drag in all directions, and have rectangles, polygons and so on. Have you any idea what could have stopped my original method from working outside the IDE? Thanks again Graham Sent from my iPad On 3 Jun 2013, at 18:10, Colin Holgate wrote: > Here's a card script that almost does what you need: > > global latestoval,latestovalloc > > on mousedown > lock screen > set the style of the templateGraphic to oval > put the mouseloc into latestovalloc > new graphic > put the number of graphics into latestoval > set the backcolor of graphic latestoval to "red" > set the filled of graphic latestoval to true > set the rect of graphic latestoval to latestovalloc & comma & the mouseloc > unlock screen > end mousedown > > on mousestilldown > set the rect of graphic latestoval to latestovalloc & comma & the mouseloc > end mousestilldown > > > It isn't quite right, because it only works for dragging from top left to bottom right, but you should see that it works fine in standlaones, even on iOS. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Mon Jun 3 13:35:13 2013 From: coiin at verizon.net (Colin Holgate) Date: Mon, 03 Jun 2013 13:35:13 -0400 Subject: First App rejected for odd reasons In-Reply-To: References: Message-ID: <5B2A48E2-F7A1-4D5F-9731-913669BEDF8B@verizon.net> You need to use 5.5.5 to get past the UDID problem, and the other errors are not ones that will stop it from being approved. From coiin at verizon.net Mon Jun 3 13:36:43 2013 From: coiin at verizon.net (Colin Holgate) Date: Mon, 03 Jun 2013 13:36:43 -0400 Subject: Graphic tools - works in IDE, fails in Standalone: getting desperate In-Reply-To: <4EFB1114-FFAD-4185-BCC2-CAD620EE3F7D@mac.com> References: <1370210594815-4665768.post@n4.nabble.com> <21F49689-CAFD-4EF3-BBF3-C590D623D7FB@mac.com> <4EFB1114-FFAD-4185-BCC2-CAD620EE3F7D@mac.com> Message-ID: <98FEAB97-470C-4242-97C2-A30A109FE8A2@verizon.net> I think that behind the scenes the IDE has the equivalent of what I'm doing, and that without a mousestilldown approach it will behave just like it does when you do a brief click in the IDE. On Jun 3, 2013, at 1:27 PM, Graham Samuel wrote: > >Have you any idea what could have stopped my original method from working outside the IDE? From cmsheffield at icloud.com Mon Jun 3 13:37:12 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Mon, 03 Jun 2013 11:37:12 -0600 Subject: First App rejected for odd reasons In-Reply-To: References: Message-ID: Tom, To get rid of the UDID issue, you'll need to install and use the latest LC 5.5.5 update. It fixes that problem. The push notification entitlement issue is a non-issue. Your app can get approved even with that warning. As for the executable size, I wasn't really aware of any limits, so I find that kind of odd. Are your images embedded in your app (imported as controls into your stack)? If so, is it possible to reference any of them on disk instead using the filename property? So they could still be part of your app bundle, but not be embedded in the executable. Not sure if that's the issue or not. Kind of guessing here. But it seems like the error is referring to the actual executable, not necessarily the app bundle. As for the Non-PIE binary, I'm not sure about that one either, but I'm curious to find out what it means. Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com On Jun 3, 2013, at 11:25 AM, Thomas McGrath III wrote: > I just tried to upload a free app to the Apple App Store and was immediately rejected. I have seen some people get some of these warning but I got four reasons and the Binary was rejected as invalid. I am not using Push notification. I am not accessing the UDID. The project is large because it has 2048x1536 images in it for Retina iPad it is 387 MB. I don't know what a Non-PIE Binary is but I am looking it up now. > > This was built with Livecode 5.5.4 Any Ideas????? > ------------ > Non-public API usage: > > Apps are not permitted to access the UDID and must not use the uniqueIdentifier method of UIDevice. Please update your apps and servers to associate users with the Vendor or Advertising identifiers introduced in iOS 6. > > Invalid Executable Size - Your app's executable file 'GospelOfMark.app/GospelOfMark' is a size of 249868688 bytes, which exceeds the maximum allowed size of 80 MB. Abnormally large executable files are often the result of using a development environment that stores excessive or unnecessary data in the compiled binary. You may need to contact your tool vendor for assistance if your app was built with a developer tool other than Xcode. > > Missing Push Notification Entitlement - Your app appears to include API used to register with the Apple Push Notification service, but the app signature's entitlements do not include the "aps-environment" entitlement. > > Non-PIE Binary - The executable 'GospelOfMark.app' is not a Position Independent Executable. Please ensure that your build settings are configured to create PIE executables. For more information, refer to Technical Q&A QA1788 - Building a Position Independent Executable > > ----------- > > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Mon Jun 3 13:38:55 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 03 Jun 2013 13:38:55 -0400 Subject: First App rejected for odd reasons In-Reply-To: <5B2A48E2-F7A1-4D5F-9731-913669BEDF8B@verizon.net> References: <5B2A48E2-F7A1-4D5F-9731-913669BEDF8B@verizon.net> Message-ID: Colin, Thanks for getting back to me. My app crashes on a device with 5.5.5 so I went back to 5.5.4 Also, the Non-PIE goes away by building for iOS 4.3 or later. I had the default 3.1.3 or Later selected so I changed that. I will see what the rejection is for this new upload and then try the 5.5.5 again. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jun 3, 2013, at 1:35 PM, Colin Holgate wrote: > You need to use 5.5.5 to get past the UDID problem, and the other errors are not ones that will stop it from being approved. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Mon Jun 3 13:39:52 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 3 Jun 2013 10:39:52 -0700 (PDT) Subject: AW: playing mp4 videos without QT-player? In-Reply-To: <007001ce605a$01966640$04c332c0$@de> References: <003501ce602e$cd5ded10$6819c730$@de> <51AC8F0A.8030500@fourthworld.com> <007001ce605a$01966640$04c332c0$@de> Message-ID: <1370281192108-4665806.post@n4.nabble.com> Hi Tiemo, Tiemo Hollmann TB wrote > "Reworked Multimedia Support" sounds promising. > So I'll be annoyed at QT for another period and > will wait for a new solution. Hopefully, they will implement a VLC external: https://www.videolan.org/license/ Have a nice week! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/playing-mp4-videos-without-QT-player-tp4665783p4665806.html Sent from the Revolution - User mailing list archive at Nabble.com. From mcgrath3 at mac.com Mon Jun 3 13:41:20 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 03 Jun 2013 13:41:20 -0400 Subject: First App rejected for odd reasons In-Reply-To: References: Message-ID: <19A8925B-3223-4C75-A28A-87218BA2A3D3@mac.com> Chris, I just replied to Colin about the Non-PIE issue but the gist was to build for iOS 4.3 or later. If I update to get rid of the UDID issue I will see if I still get the other errors and if so then I will try and build with references instead of embedded images. Thanks Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jun 3, 2013, at 1:37 PM, Chris Sheffield wrote: > Tom, > > To get rid of the UDID issue, you'll need to install and use the latest LC 5.5.5 update. It fixes that problem. > > The push notification entitlement issue is a non-issue. Your app can get approved even with that warning. > > As for the executable size, I wasn't really aware of any limits, so I find that kind of odd. Are your images embedded in your app (imported as controls into your stack)? If so, is it possible to reference any of them on disk instead using the filename property? So they could still be part of your app bundle, but not be embedded in the executable. Not sure if that's the issue or not. Kind of guessing here. But it seems like the error is referring to the actual executable, not necessarily the app bundle. > > As for the Non-PIE binary, I'm not sure about that one either, but I'm curious to find out what it means. > > Chris > > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > > > > On Jun 3, 2013, at 11:25 AM, Thomas McGrath III wrote: > >> I just tried to upload a free app to the Apple App Store and was immediately rejected. I have seen some people get some of these warning but I got four reasons and the Binary was rejected as invalid. I am not using Push notification. I am not accessing the UDID. The project is large because it has 2048x1536 images in it for Retina iPad it is 387 MB. I don't know what a Non-PIE Binary is but I am looking it up now. >> >> This was built with Livecode 5.5.4 Any Ideas????? >> ------------ >> Non-public API usage: >> >> Apps are not permitted to access the UDID and must not use the uniqueIdentifier method of UIDevice. Please update your apps and servers to associate users with the Vendor or Advertising identifiers introduced in iOS 6. >> >> Invalid Executable Size - Your app's executable file 'GospelOfMark.app/GospelOfMark' is a size of 249868688 bytes, which exceeds the maximum allowed size of 80 MB. Abnormally large executable files are often the result of using a development environment that stores excessive or unnecessary data in the compiled binary. You may need to contact your tool vendor for assistance if your app was built with a developer tool other than Xcode. >> >> Missing Push Notification Entitlement - Your app appears to include API used to register with the Apple Push Notification service, but the app signature's entitlements do not include the "aps-environment" entitlement. >> >> Non-PIE Binary - The executable 'GospelOfMark.app' is not a Position Independent Executable. Please ensure that your build settings are configured to create PIE executables. For more information, refer to Technical Q&A QA1788 - Building a Position Independent Executable >> >> ----------- >> >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> mcgrath3 at mac.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon Jun 3 13:44:47 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 03 Jun 2013 20:44:47 +0300 Subject: Moaning Message-ID: <51ACD60F.2020803@gmail.com> http://livecode.com/about/blog/ Last posting was 28 March I'm moaning because I believe that those of us who contributed should be kept informed, and we are not being! Richmond. From m.schonewille at economy-x-talk.com Mon Jun 3 14:07:50 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 03 Jun 2013 20:07:50 +0200 Subject: First App rejected for odd reasons In-Reply-To: References: <5B2A48E2-F7A1-4D5F-9731-913669BEDF8B@verizon.net> Message-ID: <51ACDB76.6060401@economy-x-talk.com> Hi Tom, Have you removed the old app completely from your device? This may be necessary before you can get your app running with LC 5.5.5. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi On 6/3/2013 19:38, Thomas McGrath III wrote: > Colin, Thanks for getting back to me. My app crashes on a device with 5.5.5 so I went back to 5.5.4 > > Also, the Non-PIE goes away by building for iOS 4.3 or later. I had the default 3.1.3 or Later selected so I changed that. > > I will see what the rejection is for this new upload and then try the 5.5.5 again. > > Tom From me at paulmaguire.me Mon Jun 3 13:37:37 2013 From: me at paulmaguire.me (Paul Maguire) Date: Mon, 3 Jun 2013 18:37:37 +0100 Subject: First App rejected for odd reasons In-Reply-To: References: Message-ID: Hi. You need to update to 5.5.5 to avoid 2 of these errors: UDID, and non-PIE. Get it from the Livecode site. On 3 Jun 2013, at 18:25, Thomas McGrath III wrote: > I just tried to upload a free app to the Apple App Store and was immediately rejected. I have seen some people get some of these warning but I got four reasons and the Any Ideas????? From mcgrath3 at mac.com Mon Jun 3 14:14:20 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 03 Jun 2013 14:14:20 -0400 Subject: First App rejected for odd reasons In-Reply-To: References: Message-ID: <3F434BAF-EBC9-4F49-9E9F-B5C0BDB3FC93@mac.com> Chris, I just reduced all of my embedded images to 1024 instead of 2048 which should have changed the size of the app somewhat. But I am getting only a 6 meg reduction from 387 down to 381 Is there a way to recover the space used by those images? I tried to compact this stack but no change (besides I thought save did that from the file menu)???? -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jun 3, 2013, at 1:37 PM, Chris Sheffield wrote: > Tom, > > To get rid of the UDID issue, you'll need to install and use the latest LC 5.5.5 update. It fixes that problem. > > The push notification entitlement issue is a non-issue. Your app can get approved even with that warning. > > As for the executable size, I wasn't really aware of any limits, so I find that kind of odd. Are your images embedded in your app (imported as controls into your stack)? If so, is it possible to reference any of them on disk instead using the filename property? So they could still be part of your app bundle, but not be embedded in the executable. Not sure if that's the issue or not. Kind of guessing here. But it seems like the error is referring to the actual executable, not necessarily the app bundle. > > As for the Non-PIE binary, I'm not sure about that one either, but I'm curious to find out what it means. > > Chris > > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > > > > On Jun 3, 2013, at 11:25 AM, Thomas McGrath III wrote: > >> I just tried to upload a free app to the Apple App Store and was immediately rejected. I have seen some people get some of these warning but I got four reasons and the Binary was rejected as invalid. I am not using Push notification. I am not accessing the UDID. The project is large because it has 2048x1536 images in it for Retina iPad it is 387 MB. I don't know what a Non-PIE Binary is but I am looking it up now. >> >> This was built with Livecode 5.5.4 Any Ideas????? >> ------------ >> Non-public API usage: >> >> Apps are not permitted to access the UDID and must not use the uniqueIdentifier method of UIDevice. Please update your apps and servers to associate users with the Vendor or Advertising identifiers introduced in iOS 6. >> >> Invalid Executable Size - Your app's executable file 'GospelOfMark.app/GospelOfMark' is a size of 249868688 bytes, which exceeds the maximum allowed size of 80 MB. Abnormally large executable files are often the result of using a development environment that stores excessive or unnecessary data in the compiled binary. You may need to contact your tool vendor for assistance if your app was built with a developer tool other than Xcode. >> >> Missing Push Notification Entitlement - Your app appears to include API used to register with the Apple Push Notification service, but the app signature's entitlements do not include the "aps-environment" entitlement. >> >> Non-PIE Binary - The executable 'GospelOfMark.app' is not a Position Independent Executable. Please ensure that your build settings are configured to create PIE executables. For more information, refer to Technical Q&A QA1788 - Building a Position Independent Executable >> >> ----------- >> >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> mcgrath3 at mac.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Mon Jun 3 14:14:12 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 3 Jun 2013 11:14:12 -0700 (PDT) Subject: Graphic tools - works in IDE, fails in Standalone: getting desperate In-Reply-To: <4EFB1114-FFAD-4185-BCC2-CAD620EE3F7D@mac.com> References: <1370210594815-4665768.post@n4.nabble.com> <21F49689-CAFD-4EF3-BBF3-C590D623D7FB@mac.com> <4EFB1114-FFAD-4185-BCC2-CAD620EE3F7D@mac.com> Message-ID: <1370283252296-4665812.post@n4.nabble.com> Hi Graham, Graham Samuel-4 wrote > Hi Colin - thanks for that. I see that you ingeniously avoid choosing the > graphic tool (I hadn't thought of using 'new graphic'). I will see if I > can adapt it so the user had freedom to drag in all directions, and have > rectangles, polygons and so on. > Have you any idea what could have stopped my original method from working > outside the IDE? Instead of compiling a new application each time that you make a change in the script, Could you use Ken Ray's StackRunner? http://www.sonsothunder.com/devres/livecode/downloads/StackRunner.htm StackRunner is really useful to test quickly any stack or application outside the LiveCode IDE. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Graphic-tools-works-in-IDE-fails-in-Standalone-tp4665739p4665812.html Sent from the Revolution - User mailing list archive at Nabble.com. From mcgrath3 at mac.com Mon Jun 3 14:15:06 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 03 Jun 2013 14:15:06 -0400 Subject: First App rejected for odd reasons In-Reply-To: References: Message-ID: Paul, I am now trying to build with 5.5.5 and I still got all four errors. Checking again now. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jun 3, 2013, at 1:37 PM, Paul Maguire wrote: > Hi. > > You need to update to 5.5.5 to avoid 2 of these errors: UDID, and non-PIE. Get it from the Livecode site. > > On 3 Jun 2013, at 18:25, Thomas McGrath III wrote: >> I just tried to upload a free app to the Apple App Store and was immediately rejected. I have seen some people get some of these warning but I got four reasons and the Any Ideas????? > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Mon Jun 3 14:17:28 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 03 Jun 2013 14:17:28 -0400 Subject: First App rejected for odd reasons In-Reply-To: References: Message-ID: <8B81C3EF-899C-432E-8314-8BB303D70144@mac.com> Ok, after upgrading to 5.5.5 and changing the iOS to 5.0 and above I am still getting a Binary rejection for Three of the four reasons: Invalid Executable Size - Your app's executable file 'GospelOfMark.app/GospelOfMark' is a size of 243446992 bytes, which exceeds the maximum allowed size of 80 MB. Abnormally large executable files are often the result of using a development environment that stores excessive or unnecessary data in the compiled binary. You may need to contact your tool vendor for assistance if your app was built with a developer tool other than Xcode. If your app was built using Xcode, you may contactApple Developer Technical Support if you need assistance. Though you are not required to fix the following issues, we wanted to make you aware of them: Missing Push Notification Entitlement - Your app appears to include API used to register with the Apple Push Notification service, but the app signature's entitlements do not include the "aps-environment" entitlement. If your app uses the Apple Push Notification service, make sure your App ID is enabled for Push Notification in the Provisioning Portal, and resubmit after signing your app with a Distribution provisioning profile that includes the "aps-environment" entitlement. See "Provisioning and Development" in the Local and Push Notification Programming Guide for more information. If your app does not use the Apple Push Notification service, no action is required. You may remove the API from future submissions to stop this warning. If you use a third-party framework, you may need to contact the developer for information on removing the API. Non-PIE Binary - The executable 'GospelOfMark.app' is not a Position Independent Executable. Please ensure that your build settings are configured to create PIE executables. For more information, refer to Technical Q&A QA1788 - Building a Position Independent Executable Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com From cmsheffield at icloud.com Mon Jun 3 14:18:35 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Mon, 03 Jun 2013 12:18:35 -0600 Subject: First App rejected for odd reasons In-Reply-To: <3F434BAF-EBC9-4F49-9E9F-B5C0BDB3FC93@mac.com> References: <3F434BAF-EBC9-4F49-9E9F-B5C0BDB3FC93@mac.com> Message-ID: <8D20A2A4-3D55-40E4-93FA-FD6ECC4EFD28@icloud.com> Interesting. What else do you have in there that's making the executable so large? Embedded sounds possibly? If so, again, I would recommend removing them from your stack and referencing them by filename instead. On Jun 3, 2013, at 12:14 PM, Thomas McGrath III wrote: > Chris, > > I just reduced all of my embedded images to 1024 instead of 2048 which should have changed the size of the app somewhat. But I am getting only a 6 meg reduction from 387 down to 381 Is there a way to recover the space used by those images? I tried to compact this stack but no change (besides I thought save did that from the file menu)???? > > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > On Jun 3, 2013, at 1:37 PM, Chris Sheffield wrote: > >> Tom, >> >> To get rid of the UDID issue, you'll need to install and use the latest LC 5.5.5 update. It fixes that problem. >> >> The push notification entitlement issue is a non-issue. Your app can get approved even with that warning. >> >> As for the executable size, I wasn't really aware of any limits, so I find that kind of odd. Are your images embedded in your app (imported as controls into your stack)? If so, is it possible to reference any of them on disk instead using the filename property? So they could still be part of your app bundle, but not be embedded in the executable. Not sure if that's the issue or not. Kind of guessing here. But it seems like the error is referring to the actual executable, not necessarily the app bundle. >> >> As for the Non-PIE binary, I'm not sure about that one either, but I'm curious to find out what it means. >> >> Chris >> >> >> -- >> Chris Sheffield >> Read Naturally, Inc. >> www.readnaturally.com >> >> >> >> On Jun 3, 2013, at 11:25 AM, Thomas McGrath III wrote: >> >>> I just tried to upload a free app to the Apple App Store and was immediately rejected. I have seen some people get some of these warning but I got four reasons and the Binary was rejected as invalid. I am not using Push notification. I am not accessing the UDID. The project is large because it has 2048x1536 images in it for Retina iPad it is 387 MB. I don't know what a Non-PIE Binary is but I am looking it up now. >>> >>> This was built with Livecode 5.5.4 Any Ideas????? >>> ------------ >>> Non-public API usage: >>> >>> Apps are not permitted to access the UDID and must not use the uniqueIdentifier method of UIDevice. Please update your apps and servers to associate users with the Vendor or Advertising identifiers introduced in iOS 6. >>> >>> Invalid Executable Size - Your app's executable file 'GospelOfMark.app/GospelOfMark' is a size of 249868688 bytes, which exceeds the maximum allowed size of 80 MB. Abnormally large executable files are often the result of using a development environment that stores excessive or unnecessary data in the compiled binary. You may need to contact your tool vendor for assistance if your app was built with a developer tool other than Xcode. >>> >>> Missing Push Notification Entitlement - Your app appears to include API used to register with the Apple Push Notification service, but the app signature's entitlements do not include the "aps-environment" entitlement. >>> >>> Non-PIE Binary - The executable 'GospelOfMark.app' is not a Position Independent Executable. Please ensure that your build settings are configured to create PIE executables. For more information, refer to Technical Q&A QA1788 - Building a Position Independent Executable >>> >>> ----------- >>> >>> >>> -- Tom McGrath III >>> http://lazyriver.on-rev.com >>> mcgrath3 at mac.com >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Mon Jun 3 14:19:45 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 3 Jun 2013 14:19:45 -0400 Subject: First App rejected for odd reasons In-Reply-To: <8B81C3EF-899C-432E-8314-8BB303D70144@mac.com> References: <8B81C3EF-899C-432E-8314-8BB303D70144@mac.com> Message-ID: Can you make the images referenced from a URL, or must they be included in the app? ~Roger On Mon, Jun 3, 2013 at 2:17 PM, Thomas McGrath III wrote: > Ok, after upgrading to 5.5.5 and changing the iOS to 5.0 and above I am > still getting a Binary rejection for Three of the four reasons: > > Invalid Executable Size - Your app's executable file > 'GospelOfMark.app/GospelOfMark' is a size of 243446992 bytes, which exceeds > the maximum allowed size of 80 MB. Abnormally large executable files are > often the result of using a development environment that stores excessive > or unnecessary data in the compiled binary. You may need to contact your > tool vendor for assistance if your app was built with a developer tool > other than Xcode. If your app was built using Xcode, you may contactApple > Developer Technical Support if you need assistance. > > Though you are not required to fix the following issues, we wanted to make > you aware of them: > > Missing Push Notification Entitlement - Your app appears to include API > used to register with the Apple Push Notification service, but the app > signature's entitlements do not include the "aps-environment" entitlement. > If your app uses the Apple Push Notification service, make sure your App ID > is enabled for Push Notification in the Provisioning Portal, and resubmit > after signing your app with a Distribution provisioning profile that > includes the "aps-environment" entitlement. See "Provisioning and > Development" in the Local and Push Notification Programming Guide for more > information. If your app does not use the Apple Push Notification service, > no action is required. You may remove the API from future submissions to > stop this warning. If you use a third-party framework, you may need to > contact the developer for information on removing the API. > > Non-PIE Binary - The executable 'GospelOfMark.app' is not a Position > Independent Executable. Please ensure that your build settings are > configured to create PIE executables. For more information, refer to > Technical Q&A QA1788 - Building a Position Independent Executable > > > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Mon Jun 3 14:22:08 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 03 Jun 2013 13:22:08 -0500 Subject: [mobile] how to implement side-to-side swiping of a vertically scrolling group In-Reply-To: <979C3971-2867-4813-B90B-D10CB1171977@unimelb.edu.au> References: <979C3971-2867-4813-B90B-D10CB1171977@unimelb.edu.au> Message-ID: <51ACDED0.8000805@hyperactivesw.com> On 5/31/13 11:03 PM, Terry Judd wrote: > I have a vertical scrolling group (day-per-view calendar object) that > I want to be able to navigate back or forwards a day by using a > horizontal swipe. I have this working reasonably well but because the > group is scrolling the swipe needs to be more or less perfectly > horizontal otherwise the group scrolls and the swipe is bypassed. Has > anyone successfully implemented something like this? I think you'll need to compare the difference between horizontal and vertical offsets, and scroll depending on which is larger. Store the mouseloc on mousdown, and then calculate both H and V distances on mouseup. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mcgrath3 at mac.com Mon Jun 3 14:24:25 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 03 Jun 2013 14:24:25 -0400 Subject: First App rejected for odd reasons In-Reply-To: References: <8B81C3EF-899C-432E-8314-8BB303D70144@mac.com> Message-ID: <37ED21A3-9B7B-4FCF-962F-4858B7AC2C3D@mac.com> Roger, I was hoping to have to avoid that. It seems that 80 MB is the max limit which seems crazy to me. I can't seem to reclaim any of the memory from reducing from 2048 down to 1024 and that bother me. I was hoping to find out why that is happening. But I will have to rewrite this to reference the images to get this down below 80 I think. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jun 3, 2013, at 2:19 PM, Roger Eller wrote: > Can you make the images referenced from a URL, or must they be included in > the app? > > ~Roger > > On Mon, Jun 3, 2013 at 2:17 PM, Thomas McGrath III wrote: > >> Ok, after upgrading to 5.5.5 and changing the iOS to 5.0 and above I am >> still getting a Binary rejection for Three of the four reasons: >> >> Invalid Executable Size - Your app's executable file >> 'GospelOfMark.app/GospelOfMark' is a size of 243446992 bytes, which exceeds >> the maximum allowed size of 80 MB. Abnormally large executable files are >> often the result of using a development environment that stores excessive >> or unnecessary data in the compiled binary. You may need to contact your >> tool vendor for assistance if your app was built with a developer tool >> other than Xcode. If your app was built using Xcode, you may contactApple >> Developer Technical Support if you need assistance. >> >> Though you are not required to fix the following issues, we wanted to make >> you aware of them: >> >> Missing Push Notification Entitlement - Your app appears to include API >> used to register with the Apple Push Notification service, but the app >> signature's entitlements do not include the "aps-environment" entitlement. >> If your app uses the Apple Push Notification service, make sure your App ID >> is enabled for Push Notification in the Provisioning Portal, and resubmit >> after signing your app with a Distribution provisioning profile that >> includes the "aps-environment" entitlement. See "Provisioning and >> Development" in the Local and Push Notification Programming Guide for more >> information. If your app does not use the Apple Push Notification service, >> no action is required. You may remove the API from future submissions to >> stop this warning. If you use a third-party framework, you may need to >> contact the developer for information on removing the API. >> >> Non-PIE Binary - The executable 'GospelOfMark.app' is not a Position >> Independent Executable. Please ensure that your build settings are >> configured to create PIE executables. For more information, refer to >> Technical Q&A QA1788 - Building a Position Independent Executable >> >> >> >> Tom >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> mcgrath3 at mac.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Mon Jun 3 14:28:01 2013 From: livfoss at mac.com (Graham Samuel) Date: Mon, 03 Jun 2013 20:28:01 +0200 Subject: Graphic tools - works in IDE, fails in Standalone: getting desperate In-Reply-To: <98FEAB97-470C-4242-97C2-A30A109FE8A2@verizon.net> References: <1370210594815-4665768.post@n4.nabble.com> <21F49689-CAFD-4EF3-BBF3-C590D623D7FB@mac.com> <4EFB1114-FFAD-4185-BCC2-CAD620EE3F7D@mac.com> <98FEAB97-470C-4242-97C2-A30A109FE8A2@verizon.net> Message-ID: <872995ED-85E8-4CD6-B52E-43A41CFC66A9@mac.com> I don't think that's the whole story, since I have built a sample app that works as a standalone, using a palette to pick specific graphic tools and then quite happily allowing the user to draw them. The issue for me is that I have somehow prevented drawing (i.e. creating graphic objects) on a particular card in my app (just the one card) but only outside the IDE. Cheers Graham Sent from my iPad On 3 Jun 2013, at 19:36, Colin Holgate wrote: > I think that behind the scenes the IDE has the equivalent of what I'm doing, and that without a mousestilldown approach it will behave just like it does when you do a brief click in the IDE. > > > On Jun 3, 2013, at 1:27 PM, Graham Samuel wrote: > >>> Have you any idea what could have stopped my original method from working outside the IDE? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Mon Jun 3 14:31:13 2013 From: coiin at verizon.net (Colin Holgate) Date: Mon, 03 Jun 2013 14:31:13 -0400 Subject: First App rejected for odd reasons In-Reply-To: <37ED21A3-9B7B-4FCF-962F-4858B7AC2C3D@mac.com> References: <8B81C3EF-899C-432E-8314-8BB303D70144@mac.com> <37ED21A3-9B7B-4FCF-962F-4858B7AC2C3D@mac.com> Message-ID: The file size will be based on the JPEG settings more than just the image size. If you have an external folder of your images, how big is the folder if the JPEG quality is 60% instead of 80%? From mcgrath3 at mac.com Mon Jun 3 14:32:22 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 03 Jun 2013 14:32:22 -0400 Subject: First App rejected for odd reasons In-Reply-To: References: <8B81C3EF-899C-432E-8314-8BB303D70144@mac.com> <37ED21A3-9B7B-4FCF-962F-4858B7AC2C3D@mac.com> Message-ID: <706C4296-E5B0-4759-8AD9-398FE4BCB1A9@mac.com> Colin, This were all PNG files. -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jun 3, 2013, at 2:31 PM, Colin Holgate wrote: > The file size will be based on the JPEG settings more than just the image size. If you have an external folder of your images, how big is the folder if the JPEG quality is 60% instead of 80%? > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Mon Jun 3 14:34:17 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 03 Jun 2013 14:34:17 -0400 Subject: First App rejected for odd reasons In-Reply-To: <706C4296-E5B0-4759-8AD9-398FE4BCB1A9@mac.com> References: <8B81C3EF-899C-432E-8314-8BB303D70144@mac.com> <37ED21A3-9B7B-4FCF-962F-4858B7AC2C3D@mac.com> <706C4296-E5B0-4759-8AD9-398FE4BCB1A9@mac.com> Message-ID: <266F074F-A6F1-4F35-9038-9D137B656D8B@mac.com> Sh_t, what is the address that I want to link these images to in the engine: From livfoss at mac.com Mon Jun 3 14:35:40 2013 From: livfoss at mac.com (Graham Samuel) Date: Mon, 03 Jun 2013 20:35:40 +0200 Subject: Graphic tools - works in IDE, fails in Standalone: getting desperate In-Reply-To: <1370283252296-4665812.post@n4.nabble.com> References: <1370210594815-4665768.post@n4.nabble.com> <21F49689-CAFD-4EF3-BBF3-C590D623D7FB@mac.com> <4EFB1114-FFAD-4185-BCC2-CAD620EE3F7D@mac.com> <1370283252296-4665812.post@n4.nabble.com> Message-ID: I never have used StackRunner although I admire Ken for many reasons: but it takes less than a minute to create a standalone and start it on my development machine (an iMac), so what would the real advantage be? At my current stage of testing, I need to know that the ultimate user will be able to run the program both on Mac and PC. Still, I don't wish to be stubborn and will therefore take a look at StackRunner. Thanks Graham On 3 Jun 2013, at 20:14, Alejandro Tejada wrote: > Hi Graham, > > > Graham Samuel-4 wrote >> Hi Colin - thanks for that. I see that you ingeniously avoid choosing the >> graphic tool (I hadn't thought of using 'new graphic'). I will see if I >> can adapt it so the user had freedom to drag in all directions, and have >> rectangles, polygons and so on. >> Have you any idea what could have stopped my original method from working >> outside the IDE? > > Instead of compiling a new application each > time that you make a change in the script, > Could you use Ken Ray's StackRunner? > > http://www.sonsothunder.com/devres/livecode/downloads/StackRunner.htm > > StackRunner is really useful to test quickly any > stack or application outside the LiveCode IDE. > > Al > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Graphic-tools-works-in-IDE-fails-in-Standalone-tp4665739p4665812.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Mon Jun 3 14:43:25 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 3 Jun 2013 20:43:25 +0200 Subject: mobile image gallery / slider - web or standalone based? Message-ID: Hi, what would be the best way to create a mobile image gallery with slider effect. I have to include an image gallery in an mobile app (ios and android). Would it be better to realize that image gallery slider (swiping with the finger) as web based thing with jqtouch and use a native browser to integrate that in the mobile app? Advantage would be the ease of adding/replacing images. Disadvantage: The user does need an internet connection to see the images. Or is it much better to include all 30 images within the app and create the image gallery/slider with livecode? Advantage: Images are already on the device. No need to download them again and again. Disadvantage: Adding/replacing images means updating the app in the stores I would prefer to create a web based image gallery and show that in a native browser control. What do you think? Regards, Matthias From coiin at verizon.net Mon Jun 3 14:48:05 2013 From: coiin at verizon.net (Colin Holgate) Date: Mon, 03 Jun 2013 14:48:05 -0400 Subject: First App rejected for odd reasons In-Reply-To: <706C4296-E5B0-4759-8AD9-398FE4BCB1A9@mac.com> References: <8B81C3EF-899C-432E-8314-8BB303D70144@mac.com> <37ED21A3-9B7B-4FCF-962F-4858B7AC2C3D@mac.com> <706C4296-E5B0-4759-8AD9-398FE4BCB1A9@mac.com> Message-ID: <8DE69364-7CE3-43E4-A306-380D31CF5F80@verizon.net> Well, you'll need to change that! On Jun 3, 2013, at 2:32 PM, Thomas McGrath III wrote: > >Colin, This were all PNG files. From scott at tactilemedia.com Mon Jun 3 15:10:55 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 03 Jun 2013 12:10:55 -0700 Subject: First App rejected for odd reasons Message-ID: I wonder if there's something else going on with the size limitation. ?I routinely download games that are 300, 400, 500MB in size all the time (even more sometimes). Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design -------- Original message -------- Subject: Re: First App rejected for odd reasons From: Thomas McGrath III To: How to use LiveCode CC: Roger, I was hoping to have to avoid that. It seems that 80 MB is the max limit which seems crazy to me. I can't seem to reclaim any of the memory from reducing from 2048 down to 1024 and that bother me. I was hoping to find out why that is happening. But I will have to rewrite this to reference the images to get this down below 80 I think. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jun 3, 2013, at 2:19 PM, Roger Eller wrote: > Can you make the images referenced from a URL, or must they be included in > the app? > > ~Roger > > On Mon, Jun 3, 2013 at 2:17 PM, Thomas McGrath III wrote: > >> Ok, after upgrading to 5.5.5 and changing the iOS to 5.0 and above I am >> still getting a Binary rejection for Three of the four reasons: >> >> Invalid Executable Size - Your app's executable file >> 'GospelOfMark.app/GospelOfMark' is a size of 243446992 bytes, which exceeds >> the maximum allowed size of 80 MB. Abnormally large executable files are >> often the result of using a development environment that stores excessive >> or unnecessary data in the compiled binary. You may need to contact your >> tool vendor for assistance if your app was built with a developer tool >> other than Xcode. If your app was built using Xcode, you may contactApple >> Developer Technical Support if you need assistance. >> >> Though you are not required to fix the following issues, we wanted to make >> you aware of them: >> >> Missing Push Notification Entitlement - Your app appears to include API >> used to register with the Apple Push Notification service, but the app >> signature's entitlements do not include the "aps-environment" entitlement. >> If your app uses the Apple Push Notification service, make sure your App ID >> is enabled for Push Notification in the Provisioning Portal, and resubmit >> after signing your app with a Distribution provisioning profile that >> includes the "aps-environment" entitlement. See "Provisioning and >> Development" in the Local and Push Notification Programming Guide for more >> information. If your app does not use the Apple Push Notification service, >> no action is required. You may remove the API from future submissions to >> stop this warning. If you use a third-party framework, you may need to >> contact the developer for information on removing the API. >> >> Non-PIE Binary - The executable 'GospelOfMark.app' is not a Position >> Independent Executable. Please ensure that your build settings are >> configured to create PIE executables. For more information, refer to >> Technical Q&A QA1788 - Building a Position Independent Executable >> >> >> >> Tom >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> mcgrath3 at mac.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dirk.cleenwerck at gmail.com Mon Jun 3 15:24:04 2013 From: dirk.cleenwerck at gmail.com (Dirk prive) Date: Mon, 3 Jun 2013 21:24:04 +0200 Subject: Moaning In-Reply-To: <51ACD60F.2020803@gmail.com> References: <51ACD60F.2020803@gmail.com> Message-ID: Yeah, I don't tend to moan very often, since it doesn't tend to achieve anything, but I'm sorta dissapointed as long time user of runrev and a supporter on the kickstarter campaign that I have no idea what to expect and when. For my amount (150) the description was this: ?70 Reward Tier + 10 TEMPLATE APP GRAPHICS DESIGNS and a set of 50 GENERAL PURPOSE APP ICONS, complete with original PSD Files + 1x EXTERNAL of your choice from the MERGEXT COLLECTION + LIVECODE MOBILE DEVELOPMENT EBOOK by Colin Holgate + Limited Edition POSTCARD from the Team AND a Limited Edition LIVECODE EMBOSSED MOBILE PHONE SLEEVE Including FREE Worldwide Shipping. Approx $240 USD Estimated delivery: May 2013 The 70 one was ?33 Reward Tier + LiveCode FULL COMMERCIAL LICENSE - 3 MONTHS for ALL Platforms! Use ANY TIME in 2013 to BUILD a CLOSED SOURCE app. Plus both NEW ACADEMIES (eBook, Database/Cloud), VIP FORUM BADGE and YOUR NAME in the LiveCode CREDITS. Approx $115 USD Estimated delivery: May 2013 I received my three months license which I used to extend my current license till sometime in 2015 I think. I saw that I have access to some academies, but since I alreay had those through actually signing up for them in the past, that doesn't say anything. No idea if I'm to expect any new ones to show up. I also have no idea when to expect the following item to be delivered: - the app graphics design and icons (with psd files) - my external of the mergext collection (I was sent a survey which i filled in with what I wanted, but haven't hear anything since then) - the ebook (which I already had, because I bought it previously) - the postcard and mobile phone sleeve. Anyways, I'm not losing sleep over it, but I am dissapointed. I even mailed them asking about the delivery of my 3 month license which they answered ( and which as I said, I have by now) and my mergext external, but didn't get an answer about the latter one, so no idea when to expect that. I'm dissapointed that we are not being informed in a better way. Dirk Cleenwerck On Mon, Jun 3, 2013 at 7:44 PM, Richmond wrote: > http://livecode.com/about/**blog/ > > Last posting was 28 March > > I'm moaning because I believe that those of us who contributed > should be kept informed, and we are not being! > > Richmond. > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From cmsheffield at icloud.com Mon Jun 3 15:27:15 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Mon, 03 Jun 2013 13:27:15 -0600 Subject: First App rejected for odd reasons In-Reply-To: References: Message-ID: Scott, If I'm understanding correctly, the limitation is on the actual executable inside the app bundle, not the entire app bundle. I too have downloading very large apps in the past, but I'm pretty sure these all have their resources external to the executable. That's why my suggestion was to pull out all possible embedded resources (images, sounds, etc.) and access them externally to the executable. Again, I'm not 100% sure this is the issue. Chris On Jun 3, 2013, at 1:10 PM, Scott Rossi wrote: > I wonder if there's something else going on with the size limitation. I routinely download games that are 300, 400, 500MB in size all the time (even more sometimes). > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > -------- Original message -------- > Subject: Re: First App rejected for odd reasons > From: Thomas McGrath III > To: How to use LiveCode > CC: > > Roger, > > I was hoping to have to avoid that. It seems that 80 MB is the max limit which seems crazy to me. I can't seem to reclaim any of the memory from reducing from 2048 down to 1024 and that bother me. I was hoping to find out why that is happening. But I will have to rewrite this to reference the images to get this down below 80 I think. > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > On Jun 3, 2013, at 2:19 PM, Roger Eller wrote: > >> Can you make the images referenced from a URL, or must they be included in >> the app? >> >> ~Roger >> >> On Mon, Jun 3, 2013 at 2:17 PM, Thomas McGrath III wrote: >> >>> Ok, after upgrading to 5.5.5 and changing the iOS to 5.0 and above I am >>> still getting a Binary rejection for Three of the four reasons: >>> >>> Invalid Executable Size - Your app's executable file >>> 'GospelOfMark.app/GospelOfMark' is a size of 243446992 bytes, which exceeds >>> the maximum allowed size of 80 MB. Abnormally large executable files are >>> often the result of using a development environment that stores excessive >>> or unnecessary data in the compiled binary. You may need to contact your >>> tool vendor for assistance if your app was built with a developer tool >>> other than Xcode. If your app was built using Xcode, you may contactApple >>> Developer Technical Support if you need assistance. >>> >>> Though you are not required to fix the following issues, we wanted to make >>> you aware of them: >>> >>> Missing Push Notification Entitlement - Your app appears to include API >>> used to register with the Apple Push Notification service, but the app >>> signature's entitlements do not include the "aps-environment" entitlement. >>> If your app uses the Apple Push Notification service, make sure your App ID >>> is enabled for Push Notification in the Provisioning Portal, and resubmit >>> after signing your app with a Distribution provisioning profile that >>> includes the "aps-environment" entitlement. See "Provisioning and >>> Development" in the Local and Push Notification Programming Guide for more >>> information. If your app does not use the Apple Push Notification service, >>> no action is required. You may remove the API from future submissions to >>> stop this warning. If you use a third-party framework, you may need to >>> contact the developer for information on removing the API. >>> >>> Non-PIE Binary - The executable 'GospelOfMark.app' is not a Position >>> Independent Executable. Please ensure that your build settings are >>> configured to create PIE executables. For more information, refer to >>> Technical Q&A QA1788 - Building a Position Independent Executable >>> >>> >>> >>> Tom >>> >>> -- Tom McGrath III >>> http://lazyriver.on-rev.com >>> mcgrath3 at mac.com >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Mon Jun 3 15:36:21 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 03 Jun 2013 15:36:21 -0400 Subject: First App rejected for odd reasons In-Reply-To: References: Message-ID: <53E09AB0-063E-4333-9AEA-9173272A6906@mac.com> I just got finished changing the filename of each image to the referenced image and added them to the copy files pane. Then saved the app. Then ran through to make sure each was changed from an image to a referenced image. The .livecode got down to 195 MB but the binary is now larger at 400 MB. Damn that was a lot of work to not get this smaller. Do I need to delete the image and then copy an image object and then set the filename????? I just can't seem to get rid of the memory originally used up? Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jun 3, 2013, at 3:27 PM, Chris Sheffield wrote: > Scott, > > If I'm understanding correctly, the limitation is on the actual executable inside the app bundle, not the entire app bundle. I too have downloading very large apps in the past, but I'm pretty sure these all have their resources external to the executable. That's why my suggestion was to pull out all possible embedded resources (images, sounds, etc.) and access them externally to the executable. Again, I'm not 100% sure this is the issue. > > Chris > > On Jun 3, 2013, at 1:10 PM, Scott Rossi wrote: > >> I wonder if there's something else going on with the size limitation. I routinely download games that are 300, 400, 500MB in size all the time (even more sometimes). >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> -------- Original message -------- >> Subject: Re: First App rejected for odd reasons >> From: Thomas McGrath III >> To: How to use LiveCode >> CC: >> >> Roger, >> >> I was hoping to have to avoid that. It seems that 80 MB is the max limit which seems crazy to me. I can't seem to reclaim any of the memory from reducing from 2048 down to 1024 and that bother me. I was hoping to find out why that is happening. But I will have to rewrite this to reference the images to get this down below 80 I think. >> >> Tom >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> mcgrath3 at mac.com >> >> On Jun 3, 2013, at 2:19 PM, Roger Eller wrote: >> >>> Can you make the images referenced from a URL, or must they be included in >>> the app? >>> >>> ~Roger >>> >>> On Mon, Jun 3, 2013 at 2:17 PM, Thomas McGrath III wrote: >>> >>>> Ok, after upgrading to 5.5.5 and changing the iOS to 5.0 and above I am >>>> still getting a Binary rejection for Three of the four reasons: >>>> >>>> Invalid Executable Size - Your app's executable file >>>> 'GospelOfMark.app/GospelOfMark' is a size of 243446992 bytes, which exceeds >>>> the maximum allowed size of 80 MB. Abnormally large executable files are >>>> often the result of using a development environment that stores excessive >>>> or unnecessary data in the compiled binary. You may need to contact your >>>> tool vendor for assistance if your app was built with a developer tool >>>> other than Xcode. If your app was built using Xcode, you may contactApple >>>> Developer Technical Support if you need assistance. >>>> >>>> Though you are not required to fix the following issues, we wanted to make >>>> you aware of them: >>>> >>>> Missing Push Notification Entitlement - Your app appears to include API >>>> used to register with the Apple Push Notification service, but the app >>>> signature's entitlements do not include the "aps-environment" entitlement. >>>> If your app uses the Apple Push Notification service, make sure your App ID >>>> is enabled for Push Notification in the Provisioning Portal, and resubmit >>>> after signing your app with a Distribution provisioning profile that >>>> includes the "aps-environment" entitlement. See "Provisioning and >>>> Development" in the Local and Push Notification Programming Guide for more >>>> information. If your app does not use the Apple Push Notification service, >>>> no action is required. You may remove the API from future submissions to >>>> stop this warning. If you use a third-party framework, you may need to >>>> contact the developer for information on removing the API. >>>> >>>> Non-PIE Binary - The executable 'GospelOfMark.app' is not a Position >>>> Independent Executable. Please ensure that your build settings are >>>> configured to create PIE executables. For more information, refer to >>>> Technical Q&A QA1788 - Building a Position Independent Executable >>>> >>>> >>>> >>>> Tom >>>> >>>> -- Tom McGrath III >>>> http://lazyriver.on-rev.com >>>> mcgrath3 at mac.com >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From cmsheffield at icloud.com Mon Jun 3 15:38:59 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Mon, 03 Jun 2013 13:38:59 -0600 Subject: First App rejected for odd reasons In-Reply-To: <53E09AB0-063E-4333-9AEA-9173272A6906@mac.com> References: <53E09AB0-063E-4333-9AEA-9173272A6906@mac.com> Message-ID: Tom, What's the actual executable size inside the app bundle? Drill into the app bundle and check that. You may be okay, even if the new binary (bundle) size is larger. On Jun 3, 2013, at 1:36 PM, Thomas McGrath III wrote: > I just got finished changing the filename of each image to the referenced image and added them to the copy files pane. Then saved the app. Then ran through to make sure each was changed from an image to a referenced image. The .livecode got down to 195 MB but the binary is now larger at 400 MB. > > Damn that was a lot of work to not get this smaller. Do I need to delete the image and then copy an image object and then set the filename????? I just can't seem to get rid of the memory originally used up? > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > On Jun 3, 2013, at 3:27 PM, Chris Sheffield wrote: > >> Scott, >> >> If I'm understanding correctly, the limitation is on the actual executable inside the app bundle, not the entire app bundle. I too have downloading very large apps in the past, but I'm pretty sure these all have their resources external to the executable. That's why my suggestion was to pull out all possible embedded resources (images, sounds, etc.) and access them externally to the executable. Again, I'm not 100% sure this is the issue. >> >> Chris >> >> On Jun 3, 2013, at 1:10 PM, Scott Rossi wrote: >> >>> I wonder if there's something else going on with the size limitation. I routinely download games that are 300, 400, 500MB in size all the time (even more sometimes). >>> >>> Regards, >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, UX/UI Design >>> >>> -------- Original message -------- >>> Subject: Re: First App rejected for odd reasons >>> From: Thomas McGrath III >>> To: How to use LiveCode >>> CC: >>> >>> Roger, >>> >>> I was hoping to have to avoid that. It seems that 80 MB is the max limit which seems crazy to me. I can't seem to reclaim any of the memory from reducing from 2048 down to 1024 and that bother me. I was hoping to find out why that is happening. But I will have to rewrite this to reference the images to get this down below 80 I think. >>> >>> Tom >>> >>> -- Tom McGrath III >>> http://lazyriver.on-rev.com >>> mcgrath3 at mac.com >>> >>> On Jun 3, 2013, at 2:19 PM, Roger Eller wrote: >>> >>>> Can you make the images referenced from a URL, or must they be included in >>>> the app? >>>> >>>> ~Roger >>>> >>>> On Mon, Jun 3, 2013 at 2:17 PM, Thomas McGrath III wrote: >>>> >>>>> Ok, after upgrading to 5.5.5 and changing the iOS to 5.0 and above I am >>>>> still getting a Binary rejection for Three of the four reasons: >>>>> >>>>> Invalid Executable Size - Your app's executable file >>>>> 'GospelOfMark.app/GospelOfMark' is a size of 243446992 bytes, which exceeds >>>>> the maximum allowed size of 80 MB. Abnormally large executable files are >>>>> often the result of using a development environment that stores excessive >>>>> or unnecessary data in the compiled binary. You may need to contact your >>>>> tool vendor for assistance if your app was built with a developer tool >>>>> other than Xcode. If your app was built using Xcode, you may contactApple >>>>> Developer Technical Support if you need assistance. >>>>> >>>>> Though you are not required to fix the following issues, we wanted to make >>>>> you aware of them: >>>>> >>>>> Missing Push Notification Entitlement - Your app appears to include API >>>>> used to register with the Apple Push Notification service, but the app >>>>> signature's entitlements do not include the "aps-environment" entitlement. >>>>> If your app uses the Apple Push Notification service, make sure your App ID >>>>> is enabled for Push Notification in the Provisioning Portal, and resubmit >>>>> after signing your app with a Distribution provisioning profile that >>>>> includes the "aps-environment" entitlement. See "Provisioning and >>>>> Development" in the Local and Push Notification Programming Guide for more >>>>> information. If your app does not use the Apple Push Notification service, >>>>> no action is required. You may remove the API from future submissions to >>>>> stop this warning. If you use a third-party framework, you may need to >>>>> contact the developer for information on removing the API. >>>>> >>>>> Non-PIE Binary - The executable 'GospelOfMark.app' is not a Position >>>>> Independent Executable. Please ensure that your build settings are >>>>> configured to create PIE executables. For more information, refer to >>>>> Technical Q&A QA1788 - Building a Position Independent Executable >>>>> >>>>> >>>>> >>>>> Tom >>>>> >>>>> -- Tom McGrath III >>>>> http://lazyriver.on-rev.com >>>>> mcgrath3 at mac.com >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at 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 at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ray at linkit.com Mon Jun 3 15:39:26 2013 From: ray at linkit.com (Ray Horsley) Date: Mon, 3 Jun 2013 15:39:26 -0400 Subject: How Long is a Sound [Without Using Quicktime]? In-Reply-To: <51A8CC73.9030509@pdslabs.net> References: <2073013502.2671883.1369848390561.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> <51A7C69E.3040606@hyperactivesw.com> <84C48530-05E2-4D8E-8094-F33CA4AB7F4D@LinkIt.Com> <51A8CC73.9030509@pdslabs.net> Message-ID: Thanks Phil but I usually need everything to run at least on both Windows and Mac. On May 31, 2013, at 12:14 PM, Phil Davis wrote: > On 5/31/13 2:16 AM, Ray Horsley wrote: >> You might be right Jackie. I'm not sure how to guess how many desktop systems there are without Quicktime installed so it might not be an issue. >> >> The overall goal is to display a progress circle like the one Fetch uses while a sound is playing. The idea is the circle will make one complete trip for the duration of the sound. >> >> Dar, nice ideas and very interesting but the user will be supplying the audio files so I'm not sure how that would work out. I'm currently looking into the link Warren supplied to Media Info although I'm not sure how I'll tie it into my standalone. > > Hi Ray, > > I maintain one app that has mediaInfo in the app bundle, and the app uses shell() to run it as needed. So that's one option on the Mac at least. > > Phil Davis >> >> On May 30, 2013, at 5:37 PM, J. Landman Gay wrote: >> >>> On 5/30/13 2:36 PM, Ray Horsley wrote: >>>> I know this is available with QuickTime using the CurrentTime and >>>> TimeScale properties but if the user doesn't have QuickTime installed >>>> I'd hate to be stuck. Are there any other ways to get the duration >>>> of an audio file? >>> Can you say what the goal is? Maybe there's another way to do it. >>> >>> All Macs have QT. If a Windows user doesn't, Media Player should run and the same functions should be available as long as you're using player objects. I'm not sure about Linux, I hear there are some issues with players there. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > -- > Phil Davis > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From cmsheffield at icloud.com Mon Jun 3 15:43:27 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Mon, 03 Jun 2013 13:43:27 -0600 Subject: First App rejected for odd reasons In-Reply-To: <53E09AB0-063E-4333-9AEA-9173272A6906@mac.com> References: <53E09AB0-063E-4333-9AEA-9173272A6906@mac.com> Message-ID: Oops, sorry. Just re-read your message and you stated your stack file is now 195 MB, which is probably about the size of your executable, plus a few MBs for the engine. Hmm, I'm stumped. Not really sure what else to suggest. This does seem like a silly limitation. I admit, though, I've never sent an app this large before. What else is making it so large? On Jun 3, 2013, at 1:36 PM, Thomas McGrath III wrote: > I just got finished changing the filename of each image to the referenced image and added them to the copy files pane. Then saved the app. Then ran through to make sure each was changed from an image to a referenced image. The .livecode got down to 195 MB but the binary is now larger at 400 MB. > > Damn that was a lot of work to not get this smaller. Do I need to delete the image and then copy an image object and then set the filename????? I just can't seem to get rid of the memory originally used up? > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > On Jun 3, 2013, at 3:27 PM, Chris Sheffield wrote: > >> Scott, >> >> If I'm understanding correctly, the limitation is on the actual executable inside the app bundle, not the entire app bundle. I too have downloading very large apps in the past, but I'm pretty sure these all have their resources external to the executable. That's why my suggestion was to pull out all possible embedded resources (images, sounds, etc.) and access them externally to the executable. Again, I'm not 100% sure this is the issue. >> >> Chris >> >> On Jun 3, 2013, at 1:10 PM, Scott Rossi wrote: >> >>> I wonder if there's something else going on with the size limitation. I routinely download games that are 300, 400, 500MB in size all the time (even more sometimes). >>> >>> Regards, >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, UX/UI Design >>> >>> -------- Original message -------- >>> Subject: Re: First App rejected for odd reasons >>> From: Thomas McGrath III >>> To: How to use LiveCode >>> CC: >>> >>> Roger, >>> >>> I was hoping to have to avoid that. It seems that 80 MB is the max limit which seems crazy to me. I can't seem to reclaim any of the memory from reducing from 2048 down to 1024 and that bother me. I was hoping to find out why that is happening. But I will have to rewrite this to reference the images to get this down below 80 I think. >>> >>> Tom >>> >>> -- Tom McGrath III >>> http://lazyriver.on-rev.com >>> mcgrath3 at mac.com >>> >>> On Jun 3, 2013, at 2:19 PM, Roger Eller wrote: >>> >>>> Can you make the images referenced from a URL, or must they be included in >>>> the app? >>>> >>>> ~Roger >>>> >>>> On Mon, Jun 3, 2013 at 2:17 PM, Thomas McGrath III wrote: >>>> >>>>> Ok, after upgrading to 5.5.5 and changing the iOS to 5.0 and above I am >>>>> still getting a Binary rejection for Three of the four reasons: >>>>> >>>>> Invalid Executable Size - Your app's executable file >>>>> 'GospelOfMark.app/GospelOfMark' is a size of 243446992 bytes, which exceeds >>>>> the maximum allowed size of 80 MB. Abnormally large executable files are >>>>> often the result of using a development environment that stores excessive >>>>> or unnecessary data in the compiled binary. You may need to contact your >>>>> tool vendor for assistance if your app was built with a developer tool >>>>> other than Xcode. If your app was built using Xcode, you may contactApple >>>>> Developer Technical Support if you need assistance. >>>>> >>>>> Though you are not required to fix the following issues, we wanted to make >>>>> you aware of them: >>>>> >>>>> Missing Push Notification Entitlement - Your app appears to include API >>>>> used to register with the Apple Push Notification service, but the app >>>>> signature's entitlements do not include the "aps-environment" entitlement. >>>>> If your app uses the Apple Push Notification service, make sure your App ID >>>>> is enabled for Push Notification in the Provisioning Portal, and resubmit >>>>> after signing your app with a Distribution provisioning profile that >>>>> includes the "aps-environment" entitlement. See "Provisioning and >>>>> Development" in the Local and Push Notification Programming Guide for more >>>>> information. If your app does not use the Apple Push Notification service, >>>>> no action is required. You may remove the API from future submissions to >>>>> stop this warning. If you use a third-party framework, you may need to >>>>> contact the developer for information on removing the API. >>>>> >>>>> Non-PIE Binary - The executable 'GospelOfMark.app' is not a Position >>>>> Independent Executable. Please ensure that your build settings are >>>>> configured to create PIE executables. For more information, refer to >>>>> Technical Q&A QA1788 - Building a Position Independent Executable >>>>> >>>>> >>>>> >>>>> Tom >>>>> >>>>> -- Tom McGrath III >>>>> http://lazyriver.on-rev.com >>>>> mcgrath3 at mac.com >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at 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 at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kevin at runrev.com Mon Jun 3 15:44:56 2013 From: kevin at runrev.com (Kevin Miller) Date: Mon, 03 Jun 2013 20:44:56 +0100 Subject: Moaning In-Reply-To: <51ACD60F.2020803@gmail.com> Message-ID: Just working on an update as it happens...will post this week. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ LiveCode: Everyone can code On 03/06/2013 18:44, "Richmond" wrote: >http://livecode.com/about/blog/ > >Last posting was 28 March > >I'm moaning because I believe that those of us who contributed >should be kept informed, and we are not being! > >Richmond. > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From cmsheffield at icloud.com Mon Jun 3 15:54:42 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Mon, 03 Jun 2013 13:54:42 -0600 Subject: First App rejected for odd reasons In-Reply-To: <53E09AB0-063E-4333-9AEA-9173272A6906@mac.com> References: <53E09AB0-063E-4333-9AEA-9173272A6906@mac.com> Message-ID: <08C4A669-CF2F-4DAC-ADB5-0CCB6A93D60D@icloud.com> Another thought. In the standalone settings, are you building a universal binary? I may be wrong about this (can anyone verify?), but if you're building for iOS 5 or later, you should be perfectly safe selecting armv7 only and building for that, since any devices capable of running iOS 5 and above are armv7 devices only. This may also reduce the size of your executable. On Jun 3, 2013, at 1:36 PM, Thomas McGrath III wrote: > I just got finished changing the filename of each image to the referenced image and added them to the copy files pane. Then saved the app. Then ran through to make sure each was changed from an image to a referenced image. The .livecode got down to 195 MB but the binary is now larger at 400 MB. > > Damn that was a lot of work to not get this smaller. Do I need to delete the image and then copy an image object and then set the filename????? I just can't seem to get rid of the memory originally used up? > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > On Jun 3, 2013, at 3:27 PM, Chris Sheffield wrote: > >> Scott, >> >> If I'm understanding correctly, the limitation is on the actual executable inside the app bundle, not the entire app bundle. I too have downloading very large apps in the past, but I'm pretty sure these all have their resources external to the executable. That's why my suggestion was to pull out all possible embedded resources (images, sounds, etc.) and access them externally to the executable. Again, I'm not 100% sure this is the issue. >> >> Chris >> >> On Jun 3, 2013, at 1:10 PM, Scott Rossi wrote: >> >>> I wonder if there's something else going on with the size limitation. I routinely download games that are 300, 400, 500MB in size all the time (even more sometimes). >>> >>> Regards, >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, UX/UI Design >>> >>> -------- Original message -------- >>> Subject: Re: First App rejected for odd reasons >>> From: Thomas McGrath III >>> To: How to use LiveCode >>> CC: >>> >>> Roger, >>> >>> I was hoping to have to avoid that. It seems that 80 MB is the max limit which seems crazy to me. I can't seem to reclaim any of the memory from reducing from 2048 down to 1024 and that bother me. I was hoping to find out why that is happening. But I will have to rewrite this to reference the images to get this down below 80 I think. >>> >>> Tom >>> >>> -- Tom McGrath III >>> http://lazyriver.on-rev.com >>> mcgrath3 at mac.com >>> >>> On Jun 3, 2013, at 2:19 PM, Roger Eller wrote: >>> >>>> Can you make the images referenced from a URL, or must they be included in >>>> the app? >>>> >>>> ~Roger >>>> >>>> On Mon, Jun 3, 2013 at 2:17 PM, Thomas McGrath III wrote: >>>> >>>>> Ok, after upgrading to 5.5.5 and changing the iOS to 5.0 and above I am >>>>> still getting a Binary rejection for Three of the four reasons: >>>>> >>>>> Invalid Executable Size - Your app's executable file >>>>> 'GospelOfMark.app/GospelOfMark' is a size of 243446992 bytes, which exceeds >>>>> the maximum allowed size of 80 MB. Abnormally large executable files are >>>>> often the result of using a development environment that stores excessive >>>>> or unnecessary data in the compiled binary. You may need to contact your >>>>> tool vendor for assistance if your app was built with a developer tool >>>>> other than Xcode. If your app was built using Xcode, you may contactApple >>>>> Developer Technical Support if you need assistance. >>>>> >>>>> Though you are not required to fix the following issues, we wanted to make >>>>> you aware of them: >>>>> >>>>> Missing Push Notification Entitlement - Your app appears to include API >>>>> used to register with the Apple Push Notification service, but the app >>>>> signature's entitlements do not include the "aps-environment" entitlement. >>>>> If your app uses the Apple Push Notification service, make sure your App ID >>>>> is enabled for Push Notification in the Provisioning Portal, and resubmit >>>>> after signing your app with a Distribution provisioning profile that >>>>> includes the "aps-environment" entitlement. See "Provisioning and >>>>> Development" in the Local and Push Notification Programming Guide for more >>>>> information. If your app does not use the Apple Push Notification service, >>>>> no action is required. You may remove the API from future submissions to >>>>> stop this warning. If you use a third-party framework, you may need to >>>>> contact the developer for information on removing the API. >>>>> >>>>> Non-PIE Binary - The executable 'GospelOfMark.app' is not a Position >>>>> Independent Executable. Please ensure that your build settings are >>>>> configured to create PIE executables. For more information, refer to >>>>> Technical Q&A QA1788 - Building a Position Independent Executable >>>>> >>>>> >>>>> >>>>> Tom >>>>> >>>>> -- Tom McGrath III >>>>> http://lazyriver.on-rev.com >>>>> mcgrath3 at mac.com >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at 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 at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From effendi at wanadoo.fr Mon Jun 3 16:18:08 2013 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Mon, 3 Jun 2013 22:18:08 +0200 Subject: Ready for Lift Off - With LiveCode Commercial Message-ID: <9DC653AC-80ED-48A2-8D88-0F65A3C709E8@wanadoo.fr> Hi from Beautiful Brittany, Just for fun, I clicked on the button "Upgrade Now" in your LiveCode "Ready for LiftOff - With LiveCode Commercial", although I am a fervent and everyday user of LiveCode for FUN, and I wouldn't dare to enter the commercial field against some of the brilliant forum "aficionados". Maybe, if I had been 40 years younger, I may have gone for LiveCode Commercial, but I found that teaching Telecomms with my hands in my pockets was more lucrative !! I must admit, I was impressed at the beginning. I have never seen a more mind-boggling list of available Products and Add-Ons in my life. It really was "Revolution coming on STRONG". Then I started clicking on more buttons, to find that most of them brought me back to : LiveCode Commercial 500 Euros LiveCode Commercial Fast 2900 Euros So, you have the biggest bundle in the world ! It nevertheless seemed a strange way of advertising it. (Don't get me wrong. I live and breathe LiveCode ??..!) -Francis From mcgrath3 at mac.com Mon Jun 3 16:37:08 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 03 Jun 2013 16:37:08 -0400 Subject: JSON Message-ID: OK, So I have some developers creating a server solution for my Push needs and they wanted me to send them JSON posts but I had never done that before and asked here on the list a few days ago about the JSON library. Well they said they can now remove the need for JSON and provide me a new API for simple form data BUT the question I have is "Is it better to go the JSON route from within a Livecode Mobile app or should I go for the easy way out and have them change the API?" I don't mind learning something new but since it was new to me I didn't want to spend the time at first but now I am second guessing. Any advice??? Thanks Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com From m.schonewille at economy-x-talk.com Mon Jun 3 16:54:17 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 03 Jun 2013 22:54:17 +0200 Subject: JSON In-Reply-To: References: Message-ID: <51AD0279.30403@economy-x-talk.com> Hi Tom, If you don't need to send any binary data (that includes unicode text) then you have no need for JSON (or XML for that matter). You'll need to make sure that everybody understands what type of data you're going to use, though, and what the record and item delimiters are. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi On 6/3/2013 22:37, Thomas McGrath III wrote: > OK, So I have some developers creating a server solution for my Push needs and they wanted me to send them JSON posts but I had never done that before and asked here on the list a few days ago about the JSON library. Well they said they can now remove the need for JSON and provide me a new API for simple form data BUT the question I have is "Is it better to go the JSON route from within a Livecode Mobile app or should I go for the easy way out and have them change the API?" > > I don't mind learning something new but since it was new to me I didn't want to spend the time at first but now I am second guessing. > > Any advice??? > > Thanks > > Tom > From mcgrath3 at mac.com Mon Jun 3 17:03:21 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 03 Jun 2013 17:03:21 -0400 Subject: JSON In-Reply-To: <51AD0279.30403@economy-x-talk.com> References: <51AD0279.30403@economy-x-talk.com> Message-ID: Thanks Mark, That's just the kind of advice I was looking for. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jun 3, 2013, at 4:54 PM, Mark Schonewille wrote: > Hi Tom, > > If you don't need to send any binary data (that includes unicode text) then you have no need for JSON (or XML for that matter). You'll need to make sure that everybody understands what type of data you're going to use, though, and what the record and item delimiters are. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi > > On 6/3/2013 22:37, Thomas McGrath III wrote: >> OK, So I have some developers creating a server solution for my Push needs and they wanted me to send them JSON posts but I had never done that before and asked here on the list a few days ago about the JSON library. Well they said they can now remove the need for JSON and provide me a new API for simple form data BUT the question I have is "Is it better to go the JSON route from within a Livecode Mobile app or should I go for the easy way out and have them change the API?" >> >> I don't mind learning something new but since it was new to me I didn't want to spend the time at first but now I am second guessing. >> >> Any advice??? >> >> Thanks >> >> Tom >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ray at linkit.com Mon Jun 3 17:03:22 2013 From: ray at linkit.com (Ray Horsley) Date: Mon, 3 Jun 2013 17:03:22 -0400 Subject: Is Snapshot Possible with Two Monitors? In-Reply-To: <51A8CC73.9030509@pdslabs.net> References: <2073013502.2671883.1369848390561.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> <51A7C69E.3040606@hyperactivesw.com> <84C48530-05E2-4D8E-8094-F33CA4AB7F4D@LinkIt.Com> <51A8CC73.9030509@pdslabs.net> Message-ID: <8A0E167D-A15A-4DE0-828E-8EBA6E0D3E1A@LinkIt.Com> I'm running into a variety of issues designing a standalone which will import PDF's. If quicktime isn't installed it seems impossible and even if the user installs it (Windows) it often doesn't work for certain PDF's. With this in mind I thought I'd let users open their PDF's in whatever program they choose and use Livecode's import snapshot command. I don't pass a rectangle since I don't know where the image is on screen and unfortunately it seems I can't get the rectangle [the user opens up] returned to me. I do, however, get an image imported, although on a system with two monitors in extended display mode it seems almost random where the actual snapshot gets taken from. It's anything but where the user actually dragged. Does anybody have any suggestions for grabbing a snapshot of the same rectangle the user opens up on the desktop or in another application? Thanks, Ray Horsley LinkIt! Software From jiml at netrin.com Mon Jun 3 17:34:32 2013 From: jiml at netrin.com (Jim Lambert) Date: Mon, 3 Jun 2013 14:34:32 -0700 Subject: Another bizarre Apple patent troll case, in which Runtime Revolution plays a bit part In-Reply-To: References: Message-ID: <9A4C7774-BF84-48DC-BD66-89A666FBED65@netrin.com> Kee wrote: > Wondering what the lawyer patented and how it was different from state of the art 1993. I believe the patent was awarded for the utility and novelty of gestures. Actually touching an object on the screen and flinging it away to delete it. Touch screen interaction then was usually just touch and release. Some early touch screens even had hardwired hotspots. It was the gesturing that was novel. I think. Jim Lambert From m.schonewille at economy-x-talk.com Mon Jun 3 17:52:44 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 3 Jun 2013 23:52:44 +0200 Subject: Is Snapshot Possible with Two Monitors? In-Reply-To: <8A0E167D-A15A-4DE0-828E-8EBA6E0D3E1A@LinkIt.Com> References: <2073013502.2671883.1369848390561.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> <51A7C69E.3040606@hyperactivesw.com> <84C48530-05E2-4D8E-8094-F33CA4AB7F4D@LinkIt.Com> <51A8CC73.9030509@pdslabs.net> <8A0E167D-A15A-4DE0-828E-8EBA6E0D3E1A@LinkIt.Com> Message-ID: Hi Ray, Snapshots don't work with secondary monitors. You can make snapshots of the main screen only. Perhaps you can use a command line utility instead. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 3 jun 2013, at 23:03, Ray Horsley wrote: > I'm running into a variety of issues designing a standalone which will import PDF's. If quicktime isn't installed it seems impossible and even if the user installs it (Windows) it often doesn't work for certain PDF's. > > With this in mind I thought I'd let users open their PDF's in whatever program they choose and use Livecode's import snapshot command. I don't pass a rectangle since I don't know where the image is on screen and unfortunately it seems I can't get the rectangle [the user opens up] returned to me. I do, however, get an image imported, although on a system with two monitors in extended display mode it seems almost random where the actual snapshot gets taken from. It's anything but where the user actually dragged. > > Does anybody have any suggestions for grabbing a snapshot of the same rectangle the user opens up on the desktop or in another application? > > Thanks, > > Ray Horsley > LinkIt! Software From ray at linkit.com Mon Jun 3 18:11:01 2013 From: ray at linkit.com (Ray Horsley) Date: Mon, 3 Jun 2013 18:11:01 -0400 Subject: Is Snapshot Possible with Two Monitors? In-Reply-To: References: <2073013502.2671883.1369848390561.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> <51A7C69E.3040606@hyperactivesw.com> <84C48530-05E2-4D8E-8094-F33CA4AB7F4D@LinkIt.Com> <51A8CC73.9030509@pdslabs.net> <8A0E167D-A15A-4DE0-828E-8EBA6E0D3E1A@LinkIt.Com> Message-ID: Thanks Mark. Do you know of a way for me to detect more than one monitor so I could warn users? On Jun 3, 2013, at 5:52 PM, Mark Schonewille wrote: > Hi Ray, > > Snapshots don't work with secondary monitors. You can make snapshots of the main screen only. Perhaps you can use a command line utility instead. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com > > We have time for new software development projects. Contact me for a quote. > > > > > > > On 3 jun 2013, at 23:03, Ray Horsley wrote: > >> I'm running into a variety of issues designing a standalone which will import PDF's. If quicktime isn't installed it seems impossible and even if the user installs it (Windows) it often doesn't work for certain PDF's. >> >> With this in mind I thought I'd let users open their PDF's in whatever program they choose and use Livecode's import snapshot command. I don't pass a rectangle since I don't know where the image is on screen and unfortunately it seems I can't get the rectangle [the user opens up] returned to me. I do, however, get an image imported, although on a system with two monitors in extended display mode it seems almost random where the actual snapshot gets taken from. It's anything but where the user actually dragged. >> >> Does anybody have any suggestions for grabbing a snapshot of the same rectangle the user opens up on the desktop or in another application? >> >> Thanks, >> >> Ray Horsley >> LinkIt! Software > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Mon Jun 3 18:20:27 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 3 Jun 2013 22:20:27 +0000 (UTC) Subject: JSON References: Message-ID: Thomas McGrath III writes: > have is "Is it better to go the JSON route from within a Livecode Mobile app or should I go for the easy way out Is this a trick question? The easy way out is *always* better . Do you have a lot of data to push? Any binary data? Do you need to receive JSON data as well? JSON is just a formatted collection of key:value pairs. Lots of nested curly braces and not particularly human-readable, but generating JSON data is fairly easy. Parsing it is a little trickier. -- Mark Wieder mwieder at ahsoftware.net From pete at lcsql.com Mon Jun 3 19:16:59 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 3 Jun 2013 16:16:59 -0700 Subject: Is Snapshot Possible with Two Monitors? In-Reply-To: References: <2073013502.2671883.1369848390561.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> <51A7C69E.3040606@hyperactivesw.com> <84C48530-05E2-4D8E-8094-F33CA4AB7F4D@LinkIt.Com> <51A8CC73.9030509@pdslabs.net> <8A0E167D-A15A-4DE0-828E-8EBA6E0D3E1A@LinkIt.Com> Message-ID: There might be a more elegant way but the screenrects (must use the plural form) contains one line per monitor connected. Pete lcSQL Software On Mon, Jun 3, 2013 at 3:11 PM, Ray Horsley wrote: > Thanks Mark. Do you know of a way for me to detect more than one monitor > so I could warn users? > > On Jun 3, 2013, at 5:52 PM, Mark Schonewille wrote: > > > Hi Ray, > > > > Snapshots don't work with secondary monitors. You can make snapshots of > the main screen only. Perhaps you can use a command line utility instead. > > > > -- > > Best regards, > > > > Mark Schonewille > > > > Economy-x-Talk Consulting and Software Engineering > > Homepage: http://economy-x-talk.com > > Twitter: http://twitter.com/xtalkprogrammer > > KvK: 50277553 > > > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other > colour spaces. http://www.color-converter.com > > > > We have time for new software development projects. Contact me for a > quote. > > > > > > > > > > > > > > On 3 jun 2013, at 23:03, Ray Horsley wrote: > > > >> I'm running into a variety of issues designing a standalone which will > import PDF's. If quicktime isn't installed it seems impossible and even if > the user installs it (Windows) it often doesn't work for certain PDF's. > >> > >> With this in mind I thought I'd let users open their PDF's in whatever > program they choose and use Livecode's import snapshot command. I don't > pass a rectangle since I don't know where the image is on screen and > unfortunately it seems I can't get the rectangle [the user opens up] > returned to me. I do, however, get an image imported, although on a system > with two monitors in extended display mode it seems almost random where the > actual snapshot gets taken from. It's anything but where the user actually > dragged. > >> > >> Does anybody have any suggestions for grabbing a snapshot of the same > rectangle the user opens up on the desktop or in another application? > >> > >> Thanks, > >> > >> Ray Horsley > >> LinkIt! Software > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mpetrides at earthlink.net Mon Jun 3 19:57:21 2013 From: mpetrides at earthlink.net (Marian Petrides, M.D.) Date: Mon, 3 Jun 2013 18:57:21 -0500 Subject: Mark's book In-Reply-To: <51ACDB76.6060401@economy-x-talk.com> References: <5B2A48E2-F7A1-4D5F-9731-913669BEDF8B@verizon.net> <51ACDB76.6060401@economy-x-talk.com> Message-ID: <1AFF639A-1A4A-4DDA-B578-A79817CC0F3E@earthlink.net> Just when I thought Mark's book would not arrive before I left town for the summer, there in my mailbox was my copy. I only had time to take a brief glance through it, but it looks great. Mark, thanks for taking the time to write this book! Now that the first printing has sold out, I hope you'll decide to print some more, so that other people can benefit from your expertise. Take care, Marian From dsc at swcp.com Mon Jun 3 20:27:09 2013 From: dsc at swcp.com (Dar Scott) Date: Mon, 3 Jun 2013 18:27:09 -0600 Subject: First App rejected for odd reasons In-Reply-To: References: Message-ID: <0BBFD9F3-B192-42ED-8921-79308F40352A@swcp.com> If you have a large executable but Apple reports it as very large but not as large as you think it is, there might be a field overflow for size. That overflow might set bits in the header that look like flags and can cause extraneous rejection messages. That is, a bug in xcode or maybe LiveCode might have set the header wrong. Just a wild speculation based on problems in general, not Apple specifically. Dar On Jun 3, 2013, at 11:25 AM, Thomas McGrath III wrote: > I just tried to upload a free app to the Apple App Store and was immediately rejected. I have seen some people get some of these warning but I got four reasons and the Binary was rejected as invalid. I am not using Push notification. I am not accessing the UDID. The project is large because it has 2048x1536 images in it for Retina iPad it is 387 MB. I don't know what a Non-PIE Binary is but I am looking it up now. > > This was built with Livecode 5.5.4 Any Ideas????? > ------------ > Non-public API usage: > > Apps are not permitted to access the UDID and must not use the uniqueIdentifier method of UIDevice. Please update your apps and servers to associate users with the Vendor or Advertising identifiers introduced in iOS 6. > > Invalid Executable Size - Your app's executable file 'GospelOfMark.app/GospelOfMark' is a size of 249868688 bytes, which exceeds the maximum allowed size of 80 MB. Abnormally large executable files are often the result of using a development environment that stores excessive or unnecessary data in the compiled binary. You may need to contact your tool vendor for assistance if your app was built with a developer tool other than Xcode. > > Missing Push Notification Entitlement - Your app appears to include API used to register with the Apple Push Notification service, but the app signature's entitlements do not include the "aps-environment" entitlement. > > Non-PIE Binary - The executable 'GospelOfMark.app' is not a Position Independent Executable. Please ensure that your build settings are configured to create PIE executables. For more information, refer to Technical Q&A QA1788 - Building a Position Independent Executable > > ----------- > > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bruceap at comcast.net Mon Jun 3 20:53:55 2013 From: bruceap at comcast.net (Bruce Pokras) Date: Mon, 3 Jun 2013 20:53:55 -0400 Subject: Another bizarre Apple patent troll case, in which Runtime Revolution plays a bit part In-Reply-To: <8E72D605-6AF7-4D01-B1F0-5B73318863F8@kagi.com> References: <51AC02E7.6010001@hindu.org> <8E72D605-6AF7-4D01-B1F0-5B73318863F8@kagi.com> Message-ID: The patent is RE43,318 which is a reissue of 6,920,619. The first few claims will give you an idea of what is covered: 1. A system for manipulating images comprising a screen upon which an image is displayed; and a computer coupled to the screen, the computer causing the images to be manipulated in response to location inputs from a pointing device, the system being characterized in that: when the image is being dragged in response to the location inputs and the system detects that the velocity with which the image is being dragged exceeds a threshold velocity, the system responds by removing the image from the display without leaving any representative thereof in the display. 2. The system set forth in claim 1 wherein: the removed image is automatically replaced by another image. 3. The system set forth in claim 2 wherein: there is a plurality images, each image belonging to a class of a plurality thereof according to the image's content; and when the image that is being removed is dragged in a first direction, the removed image is replaced with a different image of the same class; and when the image that is being removed is dragged in a second direction, the removed image is replaced with an image of a different class. 4. The system set forth in claim 3 wherein: the classes belong to a hierarchy; and the second direction includes a third direction specifying a class from a higher level in the hierarchy and a fourth direction specifying a class from a lower level in the hierarchy. 5. The system set forth in claim 1 wherein: the pointing device is a touch panel. 6. The system set forth in claim 5 wherein: the touch panel is transparent and is mounted on the screen. The claims that were added in the reissue in order to cover the iPhone are: 18. The system set forth in claim 2 wherein: the removed image and the other image belong to an ordered set thereof; if the removed image was dragged in a first direction, the other image precedes the removed image in the ordered set; and if the removed image was dragged in a second direction, the other image follows the removed image in the ordered set. 19. The system set forth in claim 8 wherein: the removed image and the other image belong to an ordered set thereof; if the removed image was moved in a first direction, the other image precedes the removed image in the ordered set; and if the removed image was moved in a second direction, the other image follows the removed image in the ordered set. 20. The system set forth in claim 15 wherein: the removed image and the replacement image belong to an ordered set thereof; if the removed image was moved in a first direction, the replacement image precedes the removed image in the ordered set; and if the removed image was moved in a second direction, the replacement image follows the removed image in the ordered set. On Jun 2, 2013, at 11:48 PM, kee nethery wrote: > In the article: > > http://arstechnica.com/tech-policy/2013/06/apple-betrayed-by-its-own-law-firm/ > > I am not sure what the lawyer patented exactly but if is was moving an object on the screen by pointing to it, there were touch screens way back when and the sample code from the 1993 HyperTalk manual showed how to move objects with your finger. > > The script isn't "grab me" but it was pretty close to that. > > Page 319 of the Hypercard scripting language guide includes sample code: > > on mouseDown > repeat until the mouse is up > set the loc of me to the mouseLoc > end repeat > end mouseDown > > Any locked object with that script would get moved around when you touched it with your finger using a touchscreen. > > > A 1994/1995 web page: > > http://www.csse.monash.edu.au/~jonmc/Turb/ > > Details a system using a Mac and a touchscreen. > > > Wondering what the lawyer patented and how it was different from state of the art 1993. > > Kee Nethery > > > On Jun 2, 2013, at 7:43 PM, Brahmanathswami wrote: > >> Great publicity >> >> Mind-boogling that these software patents get approved. >> >> Wasn't this part of Hypercard? >> >> on mouseDown >> grab me >> end mouseDown >> >> >> Brahmanathaswami >> >> >> Bj?rnke von Gierke wrote: >>> Of large importance to this list is the third last paragraph, (last link on the first page of two): >>> >>> " >>> ... >>> Milekic had never written a line of code or taken a programming class; he told a Philly tech publication that his touchscreen software was built with a program called RunTime Revolution, which says it "makes programming learnable by anyone who can use a computer." >>> " >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Mon Jun 3 22:14:37 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 03 Jun 2013 22:14:37 -0400 Subject: JSON In-Reply-To: References: Message-ID: <6406605F-D9BD-4A0D-8089-B9746C9A6061@mac.com> Mark, The data is very simple with no binary at all. I won't need to receive any back. So? -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jun 3, 2013, at 6:20 PM, Mark Wieder wrote: > Thomas McGrath III writes: > >> have is "Is it better to go the JSON route from within a Livecode Mobile > app or should I go for the easy way out > > Is this a trick question? The easy way out is *always* better . > > Do you have a lot of data to push? Any binary data? Do you need to receive > JSON data as well? JSON is just a formatted collection of key:value pairs. > Lots of nested curly braces and not particularly human-readable, but > generating JSON data is fairly easy. Parsing it is a little trickier. > > -- > Mark Wieder > mwieder at ahsoftware.net > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Mon Jun 3 22:22:56 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 03 Jun 2013 22:22:56 -0400 Subject: Is Snapshot Possible with Two Monitors? In-Reply-To: References: <2073013502.2671883.1369848390561.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> <51A7C69E.3040606@hyperactivesw.com> <84C48530-05E2-4D8E-8094-F33CA4AB7F4D@LinkIt.Com> <51A8CC73.9030509@pdslabs.net> <8A0E167D-A15A-4DE0-828E-8EBA6E0D3E1A@LinkIt.Com> Message-ID: <4C6CA8B1-38AB-401C-B2E9-A716CC85666B@mac.com> You can import snapshots from secondary and tertiary monitors using the working screenRects: on mouseUp put line 1 of the working screenRects into tRect import snapshot from rectangle tRect end mouseUp on mouseUp put line 2 of the working screenRects into tRect import snapshot from rectangle tRect end mouseUp on mouseUp put line 3 of the working screenRects into tRect import snapshot from rectangle tRect end mouseUp -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jun 3, 2013, at 5:52 PM, Mark Schonewille wrote: > Hi Ray, > > Snapshots don't work with secondary monitors. You can make snapshots of the main screen only. Perhaps you can use a command line utility instead. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com > > We have time for new software development projects. Contact me for a quote. > > > > > > > On 3 jun 2013, at 23:03, Ray Horsley wrote: > >> I'm running into a variety of issues designing a standalone which will import PDF's. If quicktime isn't installed it seems impossible and even if the user installs it (Windows) it often doesn't work for certain PDF's. >> >> With this in mind I thought I'd let users open their PDF's in whatever program they choose and use Livecode's import snapshot command. I don't pass a rectangle since I don't know where the image is on screen and unfortunately it seems I can't get the rectangle [the user opens up] returned to me. I do, however, get an image imported, although on a system with two monitors in extended display mode it seems almost random where the actual snapshot gets taken from. It's anything but where the user actually dragged. >> >> Does anybody have any suggestions for grabbing a snapshot of the same rectangle the user opens up on the desktop or in another application? >> >> Thanks, >> >> Ray Horsley >> LinkIt! Software > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Mon Jun 3 22:32:29 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 4 Jun 2013 12:32:29 +1000 Subject: JSON In-Reply-To: <6406605F-D9BD-4A0D-8089-B9746C9A6061@mac.com> References: <6406605F-D9BD-4A0D-8089-B9746C9A6061@mac.com> Message-ID: <2E6957CF-DE51-470B-B996-BE3E9DDB01A4@sweattechnologies.com> On 04/06/2013, at 12:14 PM, Thomas McGrath III wrote: > The data is very simple with no binary at all. I won't need to receive any back. So? Tom... JSON is no more complicated to write or difficult to read than a query string... If you are comfortable with one or the other then use that... BTW JSON has nothing to do with binary data... you would need to base64Encode it or something if you had binary data which you don't. Unfortunately as there's no array support for iOS externals I can't implement mergJSON there... although I have been wondering if I could hack the desktop sdk to work on mobile just like I did to get the iOS one to work on OS X... -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From mcgrath3 at mac.com Mon Jun 3 22:26:05 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 03 Jun 2013 22:26:05 -0400 Subject: Is Snapshot Possible with Two Monitors? In-Reply-To: <4C6CA8B1-38AB-401C-B2E9-A716CC85666B@mac.com> References: <2073013502.2671883.1369848390561.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> <51A7C69E.3040606@hyperactivesw.com> <84C48530-05E2-4D8E-8094-F33CA4AB7F4D@LinkIt.Com> <51A8CC73.9030509@pdslabs.net> <8A0E167D-A15A-4DE0-828E-8EBA6E0D3E1A@LinkIt.Com> <4C6CA8B1-38AB-401C-B2E9-A716CC85666B@mac.com> Message-ID: <0CF2DD54-89E0-4FAC-A8B8-89CC76E508CA@mac.com> This will also work: on mouseUp import snapshot from rectangle ( line 2 of the working screenRects) end mouseUp -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jun 3, 2013, at 10:22 PM, Thomas McGrath III wrote: > You can import snapshots from secondary and tertiary monitors using the working screenRects: > > on mouseUp > put line 1 of the working screenRects into tRect > import snapshot from rectangle tRect > end mouseUp > > on mouseUp > put line 2 of the working screenRects into tRect > import snapshot from rectangle tRect > end mouseUp > > on mouseUp > put line 3 of the working screenRects into tRect > import snapshot from rectangle tRect > end mouseUp > > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > On Jun 3, 2013, at 5:52 PM, Mark Schonewille wrote: > >> Hi Ray, >> >> Snapshots don't work with secondary monitors. You can make snapshots of the main screen only. Perhaps you can use a command line utility instead. >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> KvK: 50277553 >> >> Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com >> >> We have time for new software development projects. Contact me for a quote. >> >> >> >> >> >> >> On 3 jun 2013, at 23:03, Ray Horsley wrote: >> >>> I'm running into a variety of issues designing a standalone which will import PDF's. If quicktime isn't installed it seems impossible and even if the user installs it (Windows) it often doesn't work for certain PDF's. >>> >>> With this in mind I thought I'd let users open their PDF's in whatever program they choose and use Livecode's import snapshot command. I don't pass a rectangle since I don't know where the image is on screen and unfortunately it seems I can't get the rectangle [the user opens up] returned to me. I do, however, get an image imported, although on a system with two monitors in extended display mode it seems almost random where the actual snapshot gets taken from. It's anything but where the user actually dragged. >>> >>> Does anybody have any suggestions for grabbing a snapshot of the same rectangle the user opens up on the desktop or in another application? >>> >>> Thanks, >>> >>> Ray Horsley >>> LinkIt! Software >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jiml at netrin.com Mon Jun 3 23:04:28 2013 From: jiml at netrin.com (Jim Lambert) Date: Mon, 3 Jun 2013 20:04:28 -0700 Subject: Another bizarre Apple patent troll case, in which Runtime Revolution plays a bit part In-Reply-To: References: Message-ID: <2BB539EA-8F27-4649-B109-7A3915EE32C7@netrin.com> Bruce wrote: > The patent is RE43,318 which is a reissue of 6,920,619. The first few claims will give you an idea of what is covered: > > 1. A system for manipulating images comprising a screen upon which an image is displayed; and a computer coupled to the screen, the computer causing the images to be manipulated in response to location inputs from a pointing device, the system being characterized in that: when the image is being dragged in response to the location inputs and the system detects that the velocity with which the image is being dragged exceeds a threshold velocity, the system responds by removing the image from the display without leaving any representative thereof in the display. Yep, that independent claim is lawyer-ese for what I said, "touching an object on the screen and flinging it away to delete it." Jim Lambert From coiin at verizon.net Mon Jun 3 23:13:39 2013 From: coiin at verizon.net (Colin Holgate) Date: Mon, 03 Jun 2013 23:13:39 -0400 Subject: Another bizarre Apple patent troll case, in which Runtime Revolution plays a bit part In-Reply-To: <2BB539EA-8F27-4649-B109-7A3915EE32C7@netrin.com> References: <2BB539EA-8F27-4649-B109-7A3915EE32C7@netrin.com> Message-ID: <391A8F48-9C45-4DA3-B691-23F667586F70@verizon.net> I can't track it down right now, but while I was at Apple (1987-1992) someone did a "throwing Finder", where you could grab files and throw them to the trash. Someone tried to sue everyone who had made a CD-ROM once, I think that failed. Hopefully this one will fail too. On Jun 3, 2013, at 11:04 PM, Jim Lambert wrote: > >Yep, that independent claim is lawyer-ese for what I said, "touching an object on the screen and flinging it away to delete it." From mwieder at ahsoftware.net Mon Jun 3 23:50:47 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 3 Jun 2013 20:50:47 -0700 Subject: JSON In-Reply-To: <6406605F-D9BD-4A0D-8089-B9746C9A6061@mac.com> References: <6406605F-D9BD-4A0D-8089-B9746C9A6061@mac.com> Message-ID: <34131414418.20130603205047@ahsoftware.net> Tom- Monday, June 3, 2013, 7:14:37 PM, you wrote: > Mark, > The data is very simple with no binary at all. I won't need to receive any back. So Well, what you want to push to the server depends on the key:value pairs they expect. Here's a simple example: {"name" : "Tom McGrath", "favorite_author" : "Dr. Seuss"} Here's an example from a mongodb student database: {"_id": {"oid" : 1234}, "student_id" : 0, "class_id" : 49, "scores" : [ {"type" : "exam", "score" : 54.6} {"type" : "quiz", "score" : 65.6} {"type" : "homework", "score" : 78} {"type" : "homework", "score" : 80.4} ] } -- -Mark Wieder mwieder at ahsoftware.net From richmondmathewson at gmail.com Tue Jun 4 00:56:59 2013 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 04 Jun 2013 07:56:59 +0300 Subject: Moaning In-Reply-To: References: Message-ID: <51AD739B.3030503@gmail.com> On 03/06/13 22:44, Kevin Miller wrote: > Just working on an update as it happens...will post this week. > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ > LiveCode: Everyone can code > Thanks. But it would be nice if you could tell us about what's going on more often. Richmond. > > > On 03/06/2013 18:44, "Richmond" wrote: > >> http://livecode.com/about/blog/ >> >> Last posting was 28 March >> >> I'm moaning because I believe that those of us who contributed >> should be kept informed, and we are not being! >> >> Richmond. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Tue Jun 4 03:11:42 2013 From: dsc at swcp.com (Dar Scott) Date: Tue, 4 Jun 2013 01:11:42 -0600 Subject: Another bizarre Apple patent troll case, in which Runtime Revolution plays a bit part In-Reply-To: <391A8F48-9C45-4DA3-B691-23F667586F70@verizon.net> References: <2BB539EA-8F27-4649-B109-7A3915EE32C7@netrin.com> <391A8F48-9C45-4DA3-B691-23F667586F70@verizon.net> Message-ID: <547CCF26-A2F2-4950-8ED8-EE6301737D57@swcp.com> I would love to see inventors prosper. I recognize the debates in the moral standing of IP. I know many ideas have come up and were not developed. I know how easy it is to see a good idea, maybe an invention, and think it is obvious in one's trade, and it might be. We have different ideas on what an invention is. Yet I see an environment in which creativity is stifled or is abused. The craziest things and the most trivial things are patented. Some patents are for the classic temporary sole use. More are for suing others. More are to keep from being sued. A growing number are to prevent being sued for failure to patent. If you make a product, you need to invent all you can to keep others from stopping you from making it. In recent history, companies have been blocked from using their own trade secrets of two decades because the courts said they neglected or mocked the patent system. The whole system is in runaway. Federal law and international treaties created a great burden for innovators in the US. (Licensing is also a burden, but not near as much.) I imagine it is similar elsewhere. I hope we see changes that improve the atmosphere of creativity. Dar On Jun 3, 2013, at 9:13 PM, Colin Holgate wrote: > I can't track it down right now, but while I was at Apple (1987-1992) someone did a "throwing Finder", where you could grab files and throw them to the trash. > > Someone tried to sue everyone who had made a CD-ROM once, I think that failed. Hopefully this one will fail too. > > > On Jun 3, 2013, at 11:04 PM, Jim Lambert wrote: > >>> Yep, that independent claim is lawyer-ese for what I said, "touching an object on the screen and flinging it away to delete it." > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gcanyon at gmail.com Tue Jun 4 04:50:14 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 4 Jun 2013 03:50:14 -0500 Subject: Pretty impressive demo video Message-ID: <37565D13-111D-44E0-8A1F-B0FB89CAF386@gmail.com> Would be nice to have views like this in LC http://revealapp.com/ Sent from my iPad From rene.micout at numericable.com Tue Jun 4 05:16:53 2013 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Tue, 4 Jun 2013 11:16:53 +0200 Subject: Pretty impressive demo video In-Reply-To: <37565D13-111D-44E0-8A1F-B0FB89CAF386@gmail.com> References: <37565D13-111D-44E0-8A1F-B0FB89CAF386@gmail.com> Message-ID: <50797735-999E-489C-88BF-38B55C7AA697@numericable.com> No link !!? Le 4 juin 2013 ? 10:50, Geoff Canyon a ?crit : > Would be nice to have views like this in LC > > http://revealapp.com/ > > Sent from my iPad > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Tue Jun 4 10:16:03 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 04 Jun 2013 07:16:03 -0700 Subject: Another bizarre Apple patent troll case, in which Runtime Revolution plays a bit part In-Reply-To: <547CCF26-A2F2-4950-8ED8-EE6301737D57@swcp.com> References: <547CCF26-A2F2-4950-8ED8-EE6301737D57@swcp.com> Message-ID: <51ADF6A3.5050508@fourthworld.com> Dar Scott wrote: > I would love to see inventors prosper. Q: In the current litigious business environment we find ourselves in, how many people does it take to write a line of code? A: Three. One programmer to write the code. One attorney to check each line of code against existing patents. Another attorney to file a patent for each line of code as a defensive measure. Welcome to the modern world of software development.... :( -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From ambassador at fourthworld.com Tue Jun 4 10:32:16 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 04 Jun 2013 07:32:16 -0700 Subject: JSON In-Reply-To: <34131414418.20130603205047@ahsoftware.net> References: <34131414418.20130603205047@ahsoftware.net> Message-ID: <51ADFA70.6020003@fourthworld.com> Mark Wieder wrote: > Well, what you want to push to the server depends on the key:value > pairs they expect. Here's a simple example: > > {"name" : "Tom McGrath", "favorite_author" : "Dr. Seuss"} > > Here's an example from a mongodb student database: > > {"_id": {"oid" : 1234}, > "student_id" : 0, > "class_id" : 49, > "scores" : [ > {"type" : "exam", "score" : 54.6} > {"type" : "quiz", "score" : 65.6} > {"type" : "homework", "score" : 78} > {"type" : "homework", "score" : 80.4} > ] > } JSON is a good argument for what I like to call LSON, where the "L" stands for "LiveCode" of course. :) Similar to MongoDB's BSON, LSON is a very convenient way to move hierarchically-ordered data back and forth between sever and client, compressing arrays and then Base64'ing them for efficient, robust network transport: function ArrayToLSON pArray put arrayEncode(pArray) into tData put compress(tData) into tData return base64Encode(tData) end ArrayToLSON function LSONToArray pData try put base64Decode(pData) into tData put decompress(tData) into tData put arrayDecode(tData) into tArray catch tErr throw "Error unpacking LSON data" end try return tArray end LSONToArray My understanding is that LC's RevOnline uses that format, and I believe Andre is fond of it too. Of course this only works if you have LC on both ends of the client-server setup, but who doesn't? :) -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From ben at runrev.com Tue Jun 4 11:07:38 2013 From: ben at runrev.com (Benjamin Beaumont) Date: Tue, 4 Jun 2013 16:07:38 +0100 Subject: RELEASE: LiveCode 6.0.2 Message-ID: Dear User List, We're pleased to announce the release of LiveCode 6.0.2. The installers can be found here: http://downloads.livecode.com/livecode/6_0_2/ http://downloads.livecode.com/livecode/server/6_0_2/ This is a maintenance release containing the following bug fixes: 10936 - Android SDK Path not recognised in Preferences - Mobile Support 10895 - Non-public API usage - Apps are not permitted to access the UDID 10916 - Script corruption Warm regards, The LiveCode team _____________________________________________ Benjamin Beaumont . RunRev Ltd LiveCode Product Manager mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW email : ben at runrev.com company : +44(0) 845 219 89 23 fax : +44(0) 845 458 8487 web : www.runrev.com LiveCode - Unleash Your Killer App From ray at linkit.com Tue Jun 4 11:55:35 2013 From: ray at linkit.com (Ray Horsley) Date: Tue, 4 Jun 2013 11:55:35 -0400 Subject: Is Snapshot Possible with Two Monitors? In-Reply-To: <0CF2DD54-89E0-4FAC-A8B8-89CC76E508CA@mac.com> References: <2073013502.2671883.1369848390561.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> <51A7C69E.3040606@hyperactivesw.com> <84C48530-05E2-4D8E-8094-F33CA4AB7F4D@LinkIt.Com> <51A8CC73.9030509@pdslabs.net> <8A0E167D-A15A-4DE0-828E-8EBA6E0D3E1A@LinkIt.Com> <4C6CA8B1-38AB-401C-B2E9-A716CC85666B@mac.com> <0CF2DD54-89E0-4FAC-A8B8-89CC76E508CA@mac.com> Message-ID: <1A88ACAA-0839-4E58-A0B1-EBA4938052FF@LinkIt.Com> Interesting stuff Tom. I didn't know that about the working screenrects (plural). This may be very useful in another situation but for this one I need to get the rect from the user. Any ideas? (It's too much to import the entire monitor.) On Jun 3, 2013, at 10:26 PM, Thomas McGrath III wrote: > This will also work: > > on mouseUp > import snapshot from rectangle ( line 2 of the working screenRects) > end mouseUp > > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > On Jun 3, 2013, at 10:22 PM, Thomas McGrath III wrote: > >> You can import snapshots from secondary and tertiary monitors using the working screenRects: >> >> on mouseUp >> put line 1 of the working screenRects into tRect >> import snapshot from rectangle tRect >> end mouseUp >> >> on mouseUp >> put line 2 of the working screenRects into tRect >> import snapshot from rectangle tRect >> end mouseUp >> >> on mouseUp >> put line 3 of the working screenRects into tRect >> import snapshot from rectangle tRect >> end mouseUp >> >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> mcgrath3 at mac.com >> >> On Jun 3, 2013, at 5:52 PM, Mark Schonewille wrote: >> >>> Hi Ray, >>> >>> Snapshots don't work with secondary monitors. You can make snapshots of the main screen only. Perhaps you can use a command line utility instead. >>> >>> -- >>> Best regards, >>> >>> Mark Schonewille >>> >>> Economy-x-Talk Consulting and Software Engineering >>> Homepage: http://economy-x-talk.com >>> Twitter: http://twitter.com/xtalkprogrammer >>> KvK: 50277553 >>> >>> Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com >>> >>> We have time for new software development projects. Contact me for a quote. >>> >>> >>> >>> >>> >>> >>> On 3 jun 2013, at 23:03, Ray Horsley wrote: >>> >>>> I'm running into a variety of issues designing a standalone which will import PDF's. If quicktime isn't installed it seems impossible and even if the user installs it (Windows) it often doesn't work for certain PDF's. >>>> >>>> With this in mind I thought I'd let users open their PDF's in whatever program they choose and use Livecode's import snapshot command. I don't pass a rectangle since I don't know where the image is on screen and unfortunately it seems I can't get the rectangle [the user opens up] returned to me. I do, however, get an image imported, although on a system with two monitors in extended display mode it seems almost random where the actual snapshot gets taken from. It's anything but where the user actually dragged. >>>> >>>> Does anybody have any suggestions for grabbing a snapshot of the same rectangle the user opens up on the desktop or in another application? >>>> >>>> Thanks, >>>> >>>> Ray Horsley >>>> LinkIt! Software >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Tue Jun 4 12:04:46 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 4 Jun 2013 10:04:46 -0600 Subject: Is Snapshot Possible with Two Monitors? In-Reply-To: <1A88ACAA-0839-4E58-A0B1-EBA4938052FF@LinkIt.Com> References: <2073013502.2671883.1369848390561.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> <51A7C69E.3040606@hyperactivesw.com> <84C48530-05E2-4D8E-8094-F33CA4AB7F4D@LinkIt.Com> <51A8CC73.9030509@pdslabs.net> <8A0E167D-A15A-4DE0-828E-8EBA6E0D3E1A@LinkIt.Com> <4C6CA8B1-38AB-401C-B2E9-A716CC85666B@mac.com> <0CF2DD54-89E0-4FAC-A8B8-89CC76E508CA@mac.com> <1A88ACAA-0839-4E58-A0B1-EBA4938052FF@LinkIt.Com> Message-ID: Could you overlay a blended (almost transparent) stack over the 2nd monitor with handles on the corners so the user can drag them to the area they wish to be snapshotted? On Tue, Jun 4, 2013 at 9:55 AM, Ray Horsley wrote: > Interesting stuff Tom. I didn't know that about the working screenrects > (plural). This may be very useful in another situation but for this one I > need to get the rect from the user. Any ideas? (It's too much to import > the entire monitor.) > > On Jun 3, 2013, at 10:26 PM, Thomas McGrath III wrote: > > > This will also work: > > > > on mouseUp > > import snapshot from rectangle ( line 2 of the working screenRects) > > end mouseUp > > > > > > -- Tom McGrath III > > http://lazyriver.on-rev.com > > mcgrath3 at mac.com > > > > On Jun 3, 2013, at 10:22 PM, Thomas McGrath III > wrote: > > > >> You can import snapshots from secondary and tertiary monitors using the > working screenRects: > >> > >> on mouseUp > >> put line 1 of the working screenRects into tRect > >> import snapshot from rectangle tRect > >> end mouseUp > >> > >> on mouseUp > >> put line 2 of the working screenRects into tRect > >> import snapshot from rectangle tRect > >> end mouseUp > >> > >> on mouseUp > >> put line 3 of the working screenRects into tRect > >> import snapshot from rectangle tRect > >> end mouseUp > >> > >> > >> -- Tom McGrath III > >> http://lazyriver.on-rev.com > >> mcgrath3 at mac.com > >> > >> On Jun 3, 2013, at 5:52 PM, Mark Schonewille < > m.schonewille at economy-x-talk.com> wrote: > >> > >>> Hi Ray, > >>> > >>> Snapshots don't work with secondary monitors. You can make snapshots > of the main screen only. Perhaps you can use a command line utility instead. > >>> > >>> -- > >>> Best regards, > >>> > >>> Mark Schonewille > >>> > >>> Economy-x-Talk Consulting and Software Engineering > >>> Homepage: http://economy-x-talk.com > >>> Twitter: http://twitter.com/xtalkprogrammer > >>> KvK: 50277553 > >>> > >>> Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other > colour spaces. http://www.color-converter.com > >>> > >>> We have time for new software development projects. Contact me for a > quote. > >>> > >>> > >>> > >>> > >>> > >>> > >>> On 3 jun 2013, at 23:03, Ray Horsley wrote: > >>> > >>>> I'm running into a variety of issues designing a standalone which > will import PDF's. If quicktime isn't installed it seems impossible and > even if the user installs it (Windows) it often doesn't work for certain > PDF's. > >>>> > >>>> With this in mind I thought I'd let users open their PDF's in > whatever program they choose and use Livecode's import snapshot command. I > don't pass a rectangle since I don't know where the image is on screen and > unfortunately it seems I can't get the rectangle [the user opens up] > returned to me. I do, however, get an image imported, although on a system > with two monitors in extended display mode it seems almost random where the > actual snapshot gets taken from. It's anything but where the user actually > dragged. > >>>> > >>>> Does anybody have any suggestions for grabbing a snapshot of the same > rectangle the user opens up on the desktop or in another application? > >>>> > >>>> Thanks, > >>>> > >>>> Ray Horsley > >>>> LinkIt! Software > >>> > >>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From m.schonewille at economy-x-talk.com Tue Jun 4 12:16:08 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 04 Jun 2013 18:16:08 +0200 Subject: Is Snapshot Possible with Two Monitors? In-Reply-To: References: <2073013502.2671883.1369848390561.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> <51A7C69E.3040606@hyperactivesw.com> <84C48530-05E2-4D8E-8094-F33CA4AB7F4D@LinkIt.Com> <51A8CC73.9030509@pdslabs.net> <8A0E167D-A15A-4DE0-828E-8EBA6E0D3E1A@LinkIt.Com> <4C6CA8B1-38AB-401C-B2E9-A716CC85666B@mac.com> <0CF2DD54-89E0-4FAC-A8B8-89CC76E508CA@mac.com> <1A88ACAA-0839-4E58-A0B1-EBA4938052FF@LinkIt.Com> Message-ID: <51AE12C8.3080204@economy-x-talk.com> Hi, I think the problem is that you can't take a snapshot from a secondary monitor, not that it is complicated to define the area from which Ray wants to take a snapshot. Ray, I just did a test and I was able to use the import snapshot command on Windows 8 on a secondary monitor. This is (still) impossible on Mac OS X, but apparently it works in Windows 8. Just execute "import snapshot" without additional parameters and let the user select the rectangle. (This means that my earlier claim that it doesn't work at all was wrong). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi On 6/4/2013 18:04, Mike Bonner wrote: > Could you overlay a blended (almost transparent) stack over the 2nd monitor > with handles on the corners so the user can drag them to the area they wish > to be snapshotted? > > > On Tue, Jun 4, 2013 at 9:55 AM, Ray Horsley wrote: > >> Interesting stuff Tom. I didn't know that about the working screenrects >> (plural). This may be very useful in another situation but for this one I >> need to get the rect from the user. Any ideas? (It's too much to import >> the entire monitor.) >> >> On Jun 3, 2013, at 10:26 PM, Thomas McGrath III wrote: >> >>> This will also work: >>> >>> on mouseUp >>> import snapshot from rectangle ( line 2 of the working screenRects) >>> end mouseUp >>> >>> From gspearson at gmail.com Tue Jun 4 12:45:35 2013 From: gspearson at gmail.com (Graham Pearson) Date: Tue, 04 Jun 2013 12:45:35 -0400 Subject: Visible of card Message-ID: <51AE19AF.2040808@gmail.com> I am trying to set the visible of a card to false and I am getting an error of execution error at line n/a (Object: can't set this property) I have 2 cards, one with buttons and the other one is an image that gets loaded from a website. On the card with the image, I have a button to return back to the initial card with buttons so user can select another image to view. My issue which I think has to do with layers is that the image is always on top so when the user returns to the card with buttons they are not visible. I have tried to set the layer of the card to another number higher or lower to the layer of the card with the buttons without much success. Will rest my brain before going back to the forums to search for a solution. From klaus at major-k.de Tue Jun 4 12:48:46 2013 From: klaus at major-k.de (Klaus major-k) Date: Tue, 4 Jun 2013 18:48:46 +0200 Subject: Visible of card In-Reply-To: <51AE19AF.2040808@gmail.com> References: <51AE19AF.2040808@gmail.com> Message-ID: <06981FC9-7932-46DB-B666-35821F42B2E4@major-k.de> Hi Graham, Am 04.06.2013 um 18:45 schrieb Graham Pearson : > I am trying to set the visible of a card to false and I am getting an > error of execution error at line n/a (Object: can't set this property) well, that's true! CARDS do not have this property, but you could hide/show the STACK with the card, the user won't tell the difference :-) > I have 2 cards, one with buttons and the other one is an image that gets > loaded from a website. On the card with the image, I have a button to > return back to the initial card with buttons so user can select another > image to view. My issue which I think has to do with layers is that the > image is always on top so when the user returns to the card with buttons > they are not visible. > > > I have tried to set the layer of the card to another number higher or > lower to the layer of the card with the buttons without much success. > Will rest my brain before going back to the forums to search for a solution. When you set the layer or number of card, you will only move it inside the stack that it is in. See above, hide/show the stack is your solution. Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From bonnmike at gmail.com Tue Jun 4 12:58:20 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 4 Jun 2013 10:58:20 -0600 Subject: Visible of card In-Reply-To: <06981FC9-7932-46DB-B666-35821F42B2E4@major-k.de> References: <51AE19AF.2040808@gmail.com> <06981FC9-7932-46DB-B666-35821F42B2E4@major-k.de> Message-ID: It sounds like you are not successfully returning to the card with no image, or the image is on BOTH cards. (or the image is part of a group with its backgrounbehavior set to true which has caused that group to be on both cards) If you successfully switch from a card with an image to a card without an image, the image shouldn't be visible no matter how its layered. So it must be one of the above scenarios. Wait, 1 more possibility. If you're displaying the image using a revbrowser object then THAT control is an overlay so you'd need to use revbrowserset browserId,"visible",false when you switch to a card where the image (browser) shouldn't show. On Tue, Jun 4, 2013 at 10:48 AM, Klaus major-k wrote: > Hi Graham, > > Am 04.06.2013 um 18:45 schrieb Graham Pearson : > > > I am trying to set the visible of a card to false and I am getting an > > error of execution error at line n/a (Object: can't set this property) > > well, that's true! > > CARDS do not have this property, but you could hide/show the STACK with > the card, > the user won't tell the difference :-) > > > I have 2 cards, one with buttons and the other one is an image that gets > > loaded from a website. On the card with the image, I have a button to > > return back to the initial card with buttons so user can select another > > image to view. My issue which I think has to do with layers is that the > > image is always on top so when the user returns to the card with buttons > > they are not visible. > > > > > > I have tried to set the layer of the card to another number higher or > > lower to the layer of the card with the buttons without much success. > > Will rest my brain before going back to the forums to search for a > solution. > > When you set the layer or number of card, you will only move it inside the > stack that it is in. > See above, hide/show the stack is your solution. > > > Best > > Klaus > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From paulhibbert at mac.com Tue Jun 4 12:58:26 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Tue, 04 Jun 2013 09:58:26 -0700 Subject: Is Snapshot Possible with Two Monitors? In-Reply-To: <51AE12C8.3080204@economy-x-talk.com> References: <2073013502.2671883.1369848390561.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> <51A7C69E.3040606@hyperactivesw.com> <84C48530-05E2-4D8E-8094-F33CA4AB7F4D@LinkIt.Com> <51A8CC73.9030509@pdslabs.net> <8A0E167D-A15A-4DE0-828E-8EBA6E0D3E1A@LinkIt.Com> <4C6CA8B1-38AB-401C-B2E9-A716CC85666B@mac.com> <0CF2DD54-89E0-4FAC-A8B8-89CC76E508CA@mac.com> <1A88ACAA-0839-4E58-A0B1-EBA4938052FF@LinkIt.Com> <51AE12C8.3080204@economy-x-talk.com> Message-ID: <20DC23F4-EF37-42F6-8FC0-5AC46CE73E57@mac.com> Hi Mark, Can you explain a little more as to exactly what doesn't work on OSX please? I have an app that allows the user to choose which monitor to take a snapshot from prior to making the snapshot and it works fine with multiple monitors on Mac & Win so I'm just curious if there is something I need to be aware of. Thanks, Paul On 2013-06-04, at 9:16 AM, Mark Schonewille wrote: > Hi, > > I think the problem is that you can't take a snapshot from a secondary monitor, not that it is complicated to define the area from which Ray wants to take a snapshot. > > Ray, I just did a test and I was able to use the import snapshot command on Windows 8 on a secondary monitor. This is (still) impossible on Mac OS X, but apparently it works in Windows 8. > > Just execute "import snapshot" without additional parameters and let the user select the rectangle. > > (This means that my earlier claim that it doesn't work at all was wrong). > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi > > On 6/4/2013 18:04, Mike Bonner wrote: >> Could you overlay a blended (almost transparent) stack over the 2nd monitor >> with handles on the corners so the user can drag them to the area they wish >> to be snapshotted? >> >> >> On Tue, Jun 4, 2013 at 9:55 AM, Ray Horsley wrote: >> >>> Interesting stuff Tom. I didn't know that about the working screenrects >>> (plural). This may be very useful in another situation but for this one I >>> need to get the rect from the user. Any ideas? (It's too much to import >>> the entire monitor.) >>> >>> On Jun 3, 2013, at 10:26 PM, Thomas McGrath III wrote: >>> >>>> This will also work: >>>> >>>> on mouseUp >>>> import snapshot from rectangle ( line 2 of the working screenRects) >>>> end mouseUp >>>> >>>> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gcanyon at gmail.com Tue Jun 4 13:01:05 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 4 Jun 2013 12:01:05 -0500 Subject: Pretty impressive demo video In-Reply-To: <50797735-999E-489C-88BF-38B55C7AA697@numericable.com> References: <37565D13-111D-44E0-8A1F-B0FB89CAF386@gmail.com> <50797735-999E-489C-88BF-38B55C7AA697@numericable.com> Message-ID: On Tue, Jun 4, 2013 at 4:16 AM, Ren? Micout wrote: > Le 4 juin 2013 ? 10:50, Geoff Canyon a ?crit : > > > Would be nice to have views like this in LC > > > > http://revealapp.com/ > Not sure I understand -- the link was in the text you quoted: http://revealapp.com/ From dochawk at gmail.com Tue Jun 4 13:01:55 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 4 Jun 2013 10:01:55 -0700 Subject: dealing with these *huge* pdf files generated In-Reply-To: References: <51AAC23E.8070202@hyperactivesw.com> <1370206576176-4665767.post@n4.nabble.com> <28D15864-A450-45CB-B7A8-95093C1B84F1@unimelb.edu.au> <1370242149381-4665782.post@n4.nabble.com> Message-ID: I can now see in the output that checkboxes are bitmapped. But--and possibly part of this problem--so are field backgrounds, even when empty. Look at any of the schedules with alternating white and grey rows. These are created by setting, only for those lines, the field to opaque and the backgorund color of the fld to Gray90. But look closely at the white lines, and most of the other fields--they have single dots on a grid. Checking the backgroundColor of one of these produces empty. Zooming on the pdf with preview doesn't show any pixellation on the grey color, but something is clearly shading these, which should not happen. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From klaus at major-k.de Tue Jun 4 13:05:30 2013 From: klaus at major-k.de (Klaus major-k) Date: Tue, 4 Jun 2013 19:05:30 +0200 Subject: Pretty impressive demo video In-Reply-To: References: <37565D13-111D-44E0-8A1F-B0FB89CAF386@gmail.com> <50797735-999E-489C-88BF-38B55C7AA697@numericable.com> Message-ID: Hi guys, Am 04.06.2013 um 19:01 schrieb Geoff Canyon : > On Tue, Jun 4, 2013 at 4:16 AM, Ren? Micout wrote: >> Le 4 juin 2013 ? 10:50, Geoff Canyon a ?crit : >>> Would be nice to have views like this in LC >>> http://revealapp.com/ > Not sure I understand -- the link was in the text you quoted: > http://revealapp.com/ on first sight I read (an ON-TOPIC) "Rev Eel App", and was wondering what the hell this might be! :-D Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From m.schonewille at economy-x-talk.com Tue Jun 4 13:10:13 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 4 Jun 2013 19:10:13 +0200 Subject: Is Snapshot Possible with Two Monitors? In-Reply-To: <20DC23F4-EF37-42F6-8FC0-5AC46CE73E57@mac.com> References: <2073013502.2671883.1369848390561.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> <51A7C69E.3040606@hyperactivesw.com> <84C48530-05E2-4D8E-8094-F33CA4AB7F4D@LinkIt.Com> <51A8CC73.9030509@pdslabs.net> <8A0E167D-A15A-4DE0-828E-8EBA6E0D3E1A@LinkIt.Com> <4C6CA8B1-38AB-401C-B2E9-A716CC85666B@mac.com> <0CF2DD54-89E0-4FAC-A8B8-89CC76E508CA@mac.com> <1A88ACAA-0839-4E58-A0B1-EBA4938052FF@LinkIt.Com> <51AE12C8.3080204@economy-x-talk.com> <20DC23F4-EF37-42F6-8FC0-5AC46CE73E57@mac.com> Message-ID: Paul, I did some more testing. In 4.5.4 I can't import/export a snapshot from outside the screenrect (of the main screen) but this problem seems to have been fixed in 6.0.1. Maybe the other problems have been fixed too, meanwhile. So, now I wonder what exactly is Ray's problem. Which verson are you using, Ray? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 4 jun 2013, at 18:58, Paul Hibbert wrote: > Hi Mark, > > Can you explain a little more as to exactly what doesn't work on OSX please? > > I have an app that allows the user to choose which monitor to take a snapshot from prior to making the snapshot and it works fine with multiple monitors on Mac & Win so I'm just curious if there is something I need to be aware of. > > Thanks, > > Paul > From paulhibbert at mac.com Tue Jun 4 13:14:50 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Tue, 04 Jun 2013 10:14:50 -0700 Subject: Is Snapshot Possible with Two Monitors? In-Reply-To: References: <2073013502.2671883.1369848390561.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> <51A7C69E.3040606@hyperactivesw.com> <84C48530-05E2-4D8E-8094-F33CA4AB7F4D@LinkIt.Com> <51A8CC73.9030509@pdslabs.net> <8A0E167D-A15A-4DE0-828E-8EBA6E0D3E1A@LinkIt.Com> <4C6CA8B1-38AB-401C-B2E9-A716CC85666B@mac.com> <0CF2DD54-89E0-4FAC-A8B8-89CC76E508CA@mac.com> <1A88ACAA-0839-4E58-A0B1-EBA4938052FF@LinkIt.Com> <51AE12C8.3080204@economy-x-talk.com> <20DC23F4-EF37-42F6-8FC0-5AC46CE73E57@mac.com> Message-ID: <08DB3CD6-A579-4166-87EB-4A682A030445@mac.com> Thanks Mark, My app was built using 5.x.x so that explains the discrepancy. Paul On 2013-06-04, at 10:10 AM, Mark Schonewille wrote: > Paul, > > I did some more testing. In 4.5.4 I can't import/export a snapshot from outside the screenrect (of the main screen) but this problem seems to have been fixed in 6.0.1. Maybe the other problems have been fixed too, meanwhile. > > So, now I wonder what exactly is Ray's problem. Which verson are you using, Ray? > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com > > We have time for new software development projects. Contact me for a quote. > > > > > > > On 4 jun 2013, at 18:58, Paul Hibbert wrote: > >> Hi Mark, >> >> Can you explain a little more as to exactly what doesn't work on OSX please? >> >> I have an app that allows the user to choose which monitor to take a snapshot from prior to making the snapshot and it works fine with multiple monitors on Mac & Win so I'm just curious if there is something I need to be aware of. >> >> Thanks, >> >> Paul >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jeff at siphonophore.com Tue Jun 4 13:35:32 2013 From: jeff at siphonophore.com (Jeff Reynolds) Date: Tue, 4 Jun 2013 13:35:32 -0400 Subject: Another bizarre Apple patent troll case, in which Runtime Revolution plays a bit part In-Reply-To: References: Message-ID: <81090CD5-856F-40FB-A9D3-F46C39AD840A@siphonophore.com> i thought most of the human interface and multimedia patient nonsense was done by the late 90s. soo many of these trolls with the cdrom boom we went thru and it was pretty funny then as the ideas had been out there on public display most of the time way before. At one point our company was approached and execs got excited about trying to patent the content management system we had developed for cdrom project production. it was silly and luckily they never took it very far (i didnt want to be a troll!) jeff On Jun 4, 2013, at 1:00 PM, use-livecode-request at lists.runrev.com wrote: > Someone tried to sue everyone who had made a CD-ROM once, I think that failed. Hopefully this one will fail too. From gcanyon at gmail.com Tue Jun 4 13:51:52 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 4 Jun 2013 12:51:52 -0500 Subject: randomly order a list In-Reply-To: References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <44DB3748-3519-4BD6-BD81-D65D9C6F6249@swcp.com> <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> <519E7F6D.3040507@tweedly.net> <08A24B77-8594-41D8-92BD-14CAC003D96B@swcp.com> Message-ID: At the risk of beating the decaying equus -- the previously suggested random() solutions should be fine for all purposes --I found an alternative that: 1. Is faster than sorting by random(999999999) & random(999999999) 2. Is about as fast as sorting by random(999999999) 3. Is (I think) less likely to have duplicate sort keys The drawback is that it is determinative (albeit random) for any given set of data, unless you are willing to accept performance equivalent to sorting by random(999999999) & random(999999999), while providing near-certainty of a true sort (I think). The one-time, as fast as any solution so far, sort is: sort lines of myVar by md5digest(each) Collisions are highly unlikely in 128 bits. Even random(999999999) & random(999999999) only provides about 60 bits, which, to be clear, is *more* than enough, but md5 is (I think) even more certain, and faster. However, it will always produce the same results. sort lines of myVar by sha1digest(each) Works roughly the same: 160 bits of guaranteed-no-collision-ness, but it's a little slower, although still much faster than random(999999999) & random(999999999). Like MD5, it will always sort the same data the same (random) way. The same-ness for either solution can (I think) be fixed by this: put ticks() into T sort lines of myVar by md5digest(T & each) or put ticks() into T sort lines of myVar by sha1digest(T & each) That should result in random results each time, and is a little faster (MD5) or about 1/3 slower (SHA1) than random(999999999) & random(999999999) If anyone has thoughts on the collision-or-not-ness of MD5 or SHA1, feel free to comment. Otherwise, I hope I'm done now ;-) From bleiler at buffalo.edu Tue Jun 4 14:03:55 2013 From: bleiler at buffalo.edu (Timothy Bleiler) Date: Tue, 4 Jun 2013 14:03:55 -0400 Subject: (OT) Software Patents and computer based instruction In-Reply-To: <81090CD5-856F-40FB-A9D3-F46C39AD840A@siphonophore.com> References: <81090CD5-856F-40FB-A9D3-F46C39AD840A@siphonophore.com> Message-ID: <55CE0507-171B-4818-B6FB-37E3A41D6869@buffalo.edu> Since there's been some discussion of software patents, I thought some of you in education might be interested in this. Take a look at these patents from a company called Knowledge Factor. I can't believe any of these were granted. The patent process is clearly badly broken. http://www.google.com/patents/US6921268 Method and system for knowledge assessment and learning incorporating feedback http://www.google.com/patents/US8165518 Method and system for knowledge assessment using confidence-based measurement http://www.google.com/patents/WO2012112389A1?cl=en System and method for adaptive knowledge assessment and learning List of all patents from Knowledge Factor http://www.knowledgefactor.com/Patent_Information Tim Bleiler, Ph.D. Instructional Designer, HSIT University at Buffalo From dsc at swcp.com Tue Jun 4 14:21:32 2013 From: dsc at swcp.com (Dar Scott) Date: Tue, 4 Jun 2013 12:21:32 -0600 Subject: randomly order a list In-Reply-To: References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <44DB3748-3519-4BD6-BD81-D65D9C6F6249@swcp.com> <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> <519E7F6D.3040507@tweedly.net> <08A24B77-8594-41D8-92BD-14CAC003D96B@swcp.com> Message-ID: <62D680FD-0A6C-43F4-A749-0769CB422E5C@swcp.com> I tinkered with the same thing. I also made a random generator using md5 with the long seconds as the seed. In that, md5 is applied to previous result, not each, requiring a separate function, but each can be mixed in. I assume there is nothing weird in a text sort that will affect this. I assume ignoring case (if that is done) will not affect results, but I really don't know. I don't really know the properties of any of these (digests are not made to be randomizers), but I think all have the merits mentioned and the caveats noted. Dar On Jun 4, 2013, at 11:51 AM, Geoff Canyon wrote: > At the risk of beating the decaying equus -- the previously suggested > random() solutions should be fine for all purposes --I found an alternative > that: > > 1. Is faster than sorting by random(999999999) & random(999999999) > 2. Is about as fast as sorting by random(999999999) > 3. Is (I think) less likely to have duplicate sort keys > > The drawback is that it is determinative (albeit random) for any given set > of data, unless you are willing to accept performance equivalent to sorting > by random(999999999) & random(999999999), while providing near-certainty of > a true sort (I think). > > The one-time, as fast as any solution so far, sort is: > > sort lines of myVar by md5digest(each) > > Collisions are highly unlikely in 128 bits. Even random(999999999) & > random(999999999) only provides about 60 bits, which, to be clear, is > *more* than enough, but md5 is (I think) even more certain, and faster. > However, it will always produce the same results. > > sort lines of myVar by sha1digest(each) > > Works roughly the same: 160 bits of guaranteed-no-collision-ness, but it's > a little slower, although still much faster than random(999999999) & > random(999999999). Like MD5, it will always sort the same data the same > (random) way. > > The same-ness for either solution can (I think) be fixed by this: > > put ticks() into T > sort lines of myVar by md5digest(T & each) > > or > > put ticks() into T > sort lines of myVar by sha1digest(T & each) > > That should result in random results each time, and is a little faster > (MD5) or about 1/3 slower (SHA1) than random(999999999) & random(999999999) > > If anyone has thoughts on the collision-or-not-ness of MD5 or SHA1, feel > free to comment. Otherwise, I hope I'm done now ;-) > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Tue Jun 4 14:29:24 2013 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 04 Jun 2013 21:29:24 +0300 Subject: RELEASE: LiveCode 6.0.2 In-Reply-To: References: Message-ID: <51AE3204.7010701@gmail.com> On 06/04/2013 06:07 PM, Benjamin Beaumont wrote: > Dear User List, > > We're pleased to announce the release of LiveCode 6.0.2. The installers can > be found here: > > http://downloads.livecode.com/livecode/6_0_2/ > http://downloads.livecode.com/livecode/server/6_0_2/ > > This is a maintenance release containing the following bug fixes: > > 10936 - Android SDK Path not recognised in Preferences - Mobile Support > 10895 - Non-public API usage - Apps are not permitted to access the UDID > 10916 - Script corruption > > Warm regards, > > The LiveCode team > > _____________________________________________ > > Benjamin Beaumont . RunRev Ltd > > LiveCode Product Manager > mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW > email : ben at runrev.com > company : +44(0) 845 219 89 23 > fax : +44(0) 845 458 8487 > web : www.runrev.com > > LiveCode - Unleash Your Killer App > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Jolly good . . . . . . Except it still wants online registration . . . From ambassador at fourthworld.com Tue Jun 4 14:40:32 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 04 Jun 2013 11:40:32 -0700 Subject: (OT) Software Patents and computer based instruction In-Reply-To: <55CE0507-171B-4818-B6FB-37E3A41D6869@buffalo.edu> References: <55CE0507-171B-4818-B6FB-37E3A41D6869@buffalo.edu> Message-ID: <51AE34A0.6010707@fourthworld.com> Timothy Bleiler wrote: > The patent process is clearly badly broken. Case in point: Method of swinging on a swing -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From skip at magicgate.com Tue Jun 4 15:07:50 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Tue, 4 Jun 2013 15:07:50 -0400 Subject: Pixelated fonts Message-ID: Is there a function or a compile switch I am missing to provide rendering of fonts? I am using Ariel font and deploying to Windows machines. There are many machines running this new app I created where the font looks horrible! SKIP From andrew at ctech.me Tue Jun 4 15:13:37 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Tue, 4 Jun 2013 14:13:37 -0500 Subject: Pixelated fonts In-Reply-To: References: Message-ID: can you link to a screenshot here? I often have problems on windows that sound similar to yours, but if you had an image of this that would help me confirm it here. My solution thus far is usually to go back in and change the font, then save it and then change it back and save it. Mine isn't so much pixelated as I think it is just using some other font in place of the segoe ui that i get in the IDE. On Tue, Jun 4, 2013 at 2:07 PM, Magicgate Software - Skip Kimpel < skip at magicgate.com> wrote: > Is there a function or a compile switch I am missing to provide rendering > of fonts? I am using Ariel font and deploying to Windows machines. There > are many machines running this new app I created where the font looks > horrible! > > SKIP > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From mwieder at ahsoftware.net Tue Jun 4 15:22:32 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 4 Jun 2013 19:22:32 +0000 (UTC) Subject: (OT) Software Patents and computer based instruction References: <55CE0507-171B-4818-B6FB-37E3A41D6869@buffalo.edu> <51AE34A0.6010707@fourthworld.com> Message-ID: Richard Gaskin writes: > Case in point: > > Method of swinging on a swing > LOL. "Actual jungle forestry is not required." Even better is the "Referenced by" list: US20110239315 * Feb 2, 2011 Sep 29, 2011 Bonas Ulla Modular dna-binding domains and methods of use USRE41363 * Dec 8, 2005 Jun 1, 2010 Samsung Electronics Co., Ltd. Thin film transistor substrate etc -- Mark Wieder mwieder at ahsoftware.net From ray at linkit.com Tue Jun 4 15:25:57 2013 From: ray at linkit.com (Ray Horsley) Date: Tue, 4 Jun 2013 15:25:57 -0400 Subject: Is Snapshot Possible with Two Monitors? In-Reply-To: <08DB3CD6-A579-4166-87EB-4A682A030445@mac.com> References: <2073013502.2671883.1369848390561.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> <51A7C69E.3040606@hyperactivesw.com> <84C48530-05E2-4D8E-8094-F33CA4AB7F4D@LinkIt.Com> <51A8CC73.9030509@pdslabs.net> <8A0E167D-A15A-4DE0-828E-8EBA6E0D3E1A@LinkIt.Com> <4C6CA8B1-38AB-401C-B2E9-A716CC85666B@mac.com> <0CF2DD54-89E0-4FAC-A8B8-89CC76E508CA@mac.com> <1A88ACAA-0839-4E58-A0B1-EBA4938052FF@LinkIt.Com> <51AE12C8.3080204@economy-x-talk.com> <20DC23F4-EF37-42F6-8FC0-5AC46CE73E57@mac.com> <08DB3CD6-A579-4166-87EB-4A682A030445@mac.com> Message-ID: I'm using Livecode 5.5.4 on a Mac running 10.7.5 and I get pretty weird results. If I create a new main stack, put a single button on the one and only card which issues "import snapshot" on mouseUp I can click it and get the crosshair cursor. But no matter where I drag open a rectangle nothing happens and I continue to have the crosshair cursor as I drag open one rectangle after another. If I type a keyboard shortcut such as command-S I then get a snapshot from some random area on the monitors imported as an image. On Jun 4, 2013, at 1:14 PM, Paul Hibbert wrote: > Thanks Mark, > > My app was built using 5.x.x so that explains the discrepancy. > > Paul > > On 2013-06-04, at 10:10 AM, Mark Schonewille wrote: > >> Paul, >> >> I did some more testing. In 4.5.4 I can't import/export a snapshot from outside the screenrect (of the main screen) but this problem seems to have been fixed in 6.0.1. Maybe the other problems have been fixed too, meanwhile. >> >> So, now I wonder what exactly is Ray's problem. Which verson are you using, Ray? >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> KvK: 50277553 >> >> Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com >> >> We have time for new software development projects. Contact me for a quote. >> >> >> >> >> >> >> On 4 jun 2013, at 18:58, Paul Hibbert wrote: >> >>> Hi Mark, >>> >>> Can you explain a little more as to exactly what doesn't work on OSX please? >>> >>> I have an app that allows the user to choose which monitor to take a snapshot from prior to making the snapshot and it works fine with multiple monitors on Mac & Win so I'm just curious if there is something I need to be aware of. >>> >>> Thanks, >>> >>> Paul >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Tue Jun 4 15:27:23 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 04 Jun 2013 21:27:23 +0200 Subject: [IMPORTANT] Survey about Programming LiveCode for the Real Beginner Message-ID: <51AE3F9B.3000409@economy-x-talk.com> Hi, Now that I can leave the craziness of book publishing and order processing slowly behind me, it is time to make a few more announcements. We will produce a second print of the book, but it will take a while to figure out all our options. We need to consider whether to edit the text of the book, how to change our logistics and if the format is still the right choice. It is still possible to order the book, but it will take at least 6 weeks to ship. We now have an official Q&A website. On this website, you will also find a FAQ and we are working on a list of errata. You can find the FAQ at http://qery.us/3hz and you can also add your own questions. At http://livecodebeginner.economy-x-talk.com you will find a portal to the Q&A and other important websites. To improve our services to you and to help us decide whether to print a second edition and in which format, we would like to ask you to go to http://qery.us/3i0 and fill out the survey. If you haven't received the book yet, you can fill it out now and do it again when you get the book or you can wait until you receive it. Do as you like. Your participation in the survey is essential, because your answers will be significant to our business decisions. If you have any friends who might be interested, please send them a copy of this e-mail and ask them to do the survey too. Your help is highly appreciated! -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi From mwieder at ahsoftware.net Tue Jun 4 15:27:16 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 4 Jun 2013 19:27:16 +0000 (UTC) Subject: LOL: Lawyers References: <55CE0507-171B-4818-B6FB-37E3A41D6869@buffalo.edu> <51AE34A0.6010707@fourthworld.com> Message-ID: >From "Modular dna-binding domains and methods of use": The article ?a? and ?an? are used herein to refer to one or more than one (i.e., to at least one) of the grammatical object of the article. By way of example, ?an element? means one or more element. Throughout the specification the word ?comprising,? or variations such as ?comprises? or ?comprising,? will be understood to imply the inclusion of a stated element, integer or step, or group of elements, integers or steps, but not the exclusion of any other element, integer or step, or group of elements, integers or steps. -- Mark Wieder mwieder at ahsoftware.net From matthias_livecode_150811 at m-r-d.de Tue Jun 4 16:04:09 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 4 Jun 2013 22:04:09 +0200 Subject: [OT] please support App Camp for girls Message-ID: Hi, please excuse this OT posting. But i think it?s an important project: Help to launch a non-profit organization! At camp, girls learn how to brainstorm, design, and build iPhone apps, working with women developers and designers. http://www.indiegogo.com/projects/app-camp-for-girls?utm_campaign=de50bd0392-App_Camp_for_Girls6_4_2013&utm_medium=email&utm_source=Boinx+Software+Ltd.+List&utm_term=0_e0e20c19df-de50bd0392-182935633 Regards, Matthias From stephenREVOLUTION2 at barncard.com Tue Jun 4 16:06:43 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 4 Jun 2013 13:06:43 -0700 Subject: RELEASE: LiveCode 6.0.2 In-Reply-To: <51AE3204.7010701@gmail.com> References: <51AE3204.7010701@gmail.com> Message-ID: No online registration for the COMMUNITY SERVER ! not practical, probably. Like I said, this is a big "^*&^*" deal ! Seems to work fine so far. freedom is a wonderful thing. sqb > Jolly good . . . > > . . . Except it still wants online registration . . . > > > ______________________________**_________________ > -- Stephen Barncard San Francisco Ca. USA more about sqb From matthias_livecode_150811 at m-r-d.de Tue Jun 4 16:49:14 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 4 Jun 2013 22:49:14 +0200 Subject: RELEASE: LiveCode 6.0.2 In-Reply-To: References: Message-ID: <10353E49-F270-4A10-83A8-8A2E34C448F9@m-r-d.de> Hi Ben, when will LC Server 6.02 commercial be released? Regards, Matthias Am 04.06.2013 um 17:07 schrieb Benjamin Beaumont : > Dear User List, > > We're pleased to announce the release of LiveCode 6.0.2. The installers can > be found here: > > http://downloads.livecode.com/livecode/6_0_2/ > http://downloads.livecode.com/livecode/server/6_0_2/ > > This is a maintenance release containing the following bug fixes: > > 10936 - Android SDK Path not recognised in Preferences - Mobile Support > 10895 - Non-public API usage - Apps are not permitted to access the UDID > 10916 - Script corruption > > Warm regards, > > The LiveCode team > > _____________________________________________ > > Benjamin Beaumont . RunRev Ltd > > LiveCode Product Manager > mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW > email : ben at runrev.com > company : +44(0) 845 219 89 23 > fax : +44(0) 845 458 8487 > web : www.runrev.com > > LiveCode - Unleash Your Killer App > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Tue Jun 4 16:55:16 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 4 Jun 2013 13:55:16 -0700 Subject: RELEASE: LiveCode 6.0.2 In-Reply-To: <10353E49-F270-4A10-83A8-8A2E34C448F9@m-r-d.de> References: <10353E49-F270-4A10-83A8-8A2E34C448F9@m-r-d.de> Message-ID: what would be the difference? running protected stacks? On Tue, Jun 4, 2013 at 1:49 PM, Matthias Rebbe < matthias_livecode_150811 at m-r-d.de> wrote: > Hi Ben, > > when will LC Server 6.02 commercial be released? > > Regards, > > Matthias > > > Am 04.06.2013 um 17:07 schrieb Benjamin Beaumont : > > > Dear User List, > > > > We're pleased to announce the release of LiveCode 6.0.2. The installers > can > > be found here: > > > > http://downloads.livecode.com/livecode/6_0_2/ > > http://downloads.livecode.com/livecode/server/6_0_2/ > > > > This is a maintenance release containing the following bug fixes: > > > > 10936 - Android SDK Path not recognised in Preferences - Mobile Support > > 10895 - Non-public API usage - Apps are not permitted to access the UDID > > 10916 - Script corruption > > > > Warm regards, > > > > The LiveCode team > > > > _____________________________________________ > > > > Benjamin Beaumont . RunRev Ltd > > > > LiveCode Product Manager > > mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW > > email : ben at runrev.com > > company : +44(0) 845 219 89 23 > > fax : +44(0) 845 458 8487 > > web : www.runrev.com > > > > LiveCode - Unleash Your Killer App > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From jacque at hyperactivesw.com Tue Jun 4 17:16:17 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 04 Jun 2013 16:16:17 -0500 Subject: (OT) Software Patents and computer based instruction In-Reply-To: <51AE34A0.6010707@fourthworld.com> References: <55CE0507-171B-4818-B6FB-37E3A41D6869@buffalo.edu> <51AE34A0.6010707@fourthworld.com> Message-ID: <51AE5921.3090501@hyperactivesw.com> On 6/4/13 1:40 PM, Richard Gaskin wrote: > Timothy Bleiler wrote: > > The patent process is clearly badly broken. > > Case in point: > > Method of swinging on a swing > So when a kid does this without being aware of the patent, can the parents be sued? Obviously the kid has DNA, but what if he doesn't have a substrate? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mcgrath3 at mac.com Tue Jun 4 17:17:06 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 04 Jun 2013 17:17:06 -0400 Subject: JSON In-Reply-To: <2E6957CF-DE51-470B-B996-BE3E9DDB01A4@sweattechnologies.com> References: <6406605F-D9BD-4A0D-8089-B9746C9A6061@mac.com> <2E6957CF-DE51-470B-B996-BE3E9DDB01A4@sweattechnologies.com> Message-ID: Monte, Are you saying that array's are not supported on iOS or are you saying that mergJSON is not supported on iOS? This is needed from an iOS app to send the data to my server from the app. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jun 3, 2013, at 10:32 PM, Monte Goulding wrote: > Unfortunately as there's no array support for iOS externals I can't implement mergJSON there... From andrew at ctech.me Tue Jun 4 17:21:06 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Tue, 4 Jun 2013 16:21:06 -0500 Subject: JSON In-Reply-To: References: <6406605F-D9BD-4A0D-8089-B9746C9A6061@mac.com> <2E6957CF-DE51-470B-B996-BE3E9DDB01A4@sweattechnologies.com> Message-ID: mergJSON i do believe. arrays not being supported on iOS would come as kind of a shock to me. On Tue, Jun 4, 2013 at 4:17 PM, Thomas McGrath III wrote: > Monte, Are you saying that array's are not supported on iOS or are you > saying that mergJSON is not supported on iOS? This is needed from an iOS > app to send the data to my server from the app. > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > On Jun 3, 2013, at 10:32 PM, Monte Goulding > wrote: > > > Unfortunately as there's no array support for iOS externals I can't > implement mergJSON there... > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From jacque at hyperactivesw.com Tue Jun 4 17:27:04 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 04 Jun 2013 16:27:04 -0500 Subject: JSON In-Reply-To: References: <6406605F-D9BD-4A0D-8089-B9746C9A6061@mac.com> <2E6957CF-DE51-470B-B996-BE3E9DDB01A4@sweattechnologies.com> Message-ID: <51AE5BA8.9060101@hyperactivesw.com> On 6/4/13 4:17 PM, Thomas McGrath III wrote: > Monte, Are you saying that array's are not supported on iOS or are > you saying that mergJSON is not supported on iOS? This is needed from > an iOS app to send the data to my server from the app. If Monte's external doesn't work out, there are several script-based solutions. Igor de Oliveira Couto: Andre Garzia: Mark Smith: Igor's is a newer update based on the other two, and in my tests it worked very well. You don't need to know JSON to use it. We eventually decided to go with plain text in my project, but I'd settled on Igor's library before we changed our minds. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Tue Jun 4 17:28:26 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 5 Jun 2013 07:28:26 +1000 Subject: JSON In-Reply-To: References: <6406605F-D9BD-4A0D-8089-B9746C9A6061@mac.com> <2E6957CF-DE51-470B-B996-BE3E9DDB01A4@sweattechnologies.com> Message-ID: On 05/06/2013, at 7:17 AM, Thomas McGrath III wrote: > Monte, Are you saying that array's are not supported on iOS or are you saying that mergJSON is not supported on iOS? This is needed from an iOS app to send the data to my server from the app. Arrays are not yet supported in iOS externals (it's all ifdefed out), however, it looks like I should be able to use the old externals sdk to compile for iOS... and possibly android if the external doesn't need any native features. Unlike most of my mergExt stuff mergJSON uses a cross platform C library and is a good candidate for that. However, this is probably going to be well down my priority list given I've only had one person interested in buying it and I don't currently need it on mobile... -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From mcgrath3 at mac.com Tue Jun 4 17:55:49 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 04 Jun 2013 17:55:49 -0400 Subject: JSON In-Reply-To: <51AE5BA8.9060101@hyperactivesw.com> References: <6406605F-D9BD-4A0D-8089-B9746C9A6061@mac.com> <2E6957CF-DE51-470B-B996-BE3E9DDB01A4@sweattechnologies.com> <51AE5BA8.9060101@hyperactivesw.com> Message-ID: <2E604270-E864-4F8A-903E-65AB03CD652C@mac.com> Thanks for the info. I am trying to use Igor's library and I am trying to build my first array to convert to json. This is the info I have to send as json: {"data": {"appuser_details": { "name":"Tom_iPad", "email":"iPad at gmail.com", "device_type":"2", "dentist_id":"73", "device_token":"98be5c7a3cc9e400ae6a90977ac6d64f498bb01cbe83c3c3d1bb4856de59ba1c" } } } I think I need to send "text/json" as a header. I have tried many things but I don't think I am sending the information correctly. I got a result "error 400 Bad Request" I don't think my array is right. -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com From matthias_livecode_150811 at m-r-d.de Tue Jun 4 18:04:06 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 5 Jun 2013 00:04:06 +0200 Subject: RELEASE: LiveCode 6.0.2 In-Reply-To: References: <10353E49-F270-4A10-83A8-8A2E34C448F9@m-r-d.de> Message-ID: Hi, i am not sure, but i think the licensing. I thought i have to release my source when using community editions? Or is this not necessary when using LC server? If not, i can live with the community edition of LC server. Regards, Matthias Am 04.06.2013 um 22:55 schrieb stephen barncard : > what would be the difference? > > running protected stacks? > > > On Tue, Jun 4, 2013 at 1:49 PM, Matthias Rebbe < > matthias_livecode_150811 at m-r-d.de> wrote: > >> Hi Ben, >> >> when will LC Server 6.02 commercial be released? >> >> Regards, >> >> Matthias >> >> >> Am 04.06.2013 um 17:07 schrieb Benjamin Beaumont : >> >>> Dear User List, >>> >>> We're pleased to announce the release of LiveCode 6.0.2. The installers >> can >>> be found here: >>> >>> http://downloads.livecode.com/livecode/6_0_2/ >>> http://downloads.livecode.com/livecode/server/6_0_2/ >>> >>> This is a maintenance release containing the following bug fixes: >>> >>> 10936 - Android SDK Path not recognised in Preferences - Mobile Support >>> 10895 - Non-public API usage - Apps are not permitted to access the UDID >>> 10916 - Script corruption >>> >>> Warm regards, >>> >>> The LiveCode team >>> >>> _____________________________________________ >>> >>> Benjamin Beaumont . RunRev Ltd >>> >>> LiveCode Product Manager >>> mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW >>> email : ben at runrev.com >>> company : +44(0) 845 219 89 23 >>> fax : +44(0) 845 458 8487 >>> web : www.runrev.com >>> >>> LiveCode - Unleash Your Killer App >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Tue Jun 4 18:07:40 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 5 Jun 2013 08:07:40 +1000 Subject: JSON In-Reply-To: <2E604270-E864-4F8A-903E-65AB03CD652C@mac.com> References: <6406605F-D9BD-4A0D-8089-B9746C9A6061@mac.com> <2E6957CF-DE51-470B-B996-BE3E9DDB01A4@sweattechnologies.com> <51AE5BA8.9060101@hyperactivesw.com> <2E604270-E864-4F8A-903E-65AB03CD652C@mac.com> Message-ID: <59390C69-03E1-442F-A139-92424CB23CB5@sweattechnologies.com> Are device_type and dentist_id meant to be strings or integers? On 05/06/2013, at 7:55 AM, Thomas McGrath III wrote: > Thanks for the info. I am trying to use Igor's library and I am trying to build my first array to convert to json. > > This is the info I have to send as json: > {"data": > {"appuser_details": > { > "name":"Tom_iPad", > "email":"iPad at gmail.com", > "device_type":"2", > "dentist_id":"73", > "device_token":"98be5c7a3cc9e400ae6a90977ac6d64f498bb01cbe83c3c3d1bb4856de59ba1c" > } > } > } > > I think I need to send "text/json" as a header. > > I have tried many things but I don't think I am sending the information correctly. > > I got a result "error 400 Bad Request" > > I don't think my array is right. > > > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From mwieder at ahsoftware.net Tue Jun 4 18:10:09 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 4 Jun 2013 22:10:09 +0000 (UTC) Subject: Monochrome Woes References: <51AB1966.60009@gmail.com> <51AB732E.4070509@gmail.com> <51AB7B7F.1060203@hyperactivesw.com> <51AB7D2F.7030701@hyperactivesw.com> <887637017.20130602102750@ahsoftware.net> <51AB869C.9000700@gmail.com> <3311210806.20130602112724@ahsoftware.net> <51AB8F97.1070605@gmail.com> <413659125.20130602120812@ahsoftware.net> <51ACCE17.2070309@gmail.com> Message-ID: Richmond writes: > For those who are interested, the icons for LC 6.0.2 are stored in the > revGeneralIcons stack. Looking into this again, the icons for the Application Browser are stored on card id 200593 of the revIcons stack. They're rather dismal. You can copy the icons from a pre-6.0 LC stack and replace the ones in LC6. You have to change the icon ids from the messagebox, as the property inspector helpfully refuses to do so, announcing that those ids are reserved for the IDE. Remember to save your work. My guess is that there were licensing problems with the older icon set and so it wasn't compatible with the dual-license OSS release, and that this was done in a hurry. It's just a guess, but I can't think of another reason why the better images would have been deprecated. -- Mark Wieder mwieder at ahsoftware.net From mcgrath3 at mac.com Tue Jun 4 18:16:11 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 04 Jun 2013 18:16:11 -0400 Subject: JSON In-Reply-To: <59390C69-03E1-442F-A139-92424CB23CB5@sweattechnologies.com> References: <6406605F-D9BD-4A0D-8089-B9746C9A6061@mac.com> <2E6957CF-DE51-470B-B996-BE3E9DDB01A4@sweattechnologies.com> <51AE5BA8.9060101@hyperactivesw.com> <2E604270-E864-4F8A-903E-65AB03CD652C@mac.com> <59390C69-03E1-442F-A139-92424CB23CB5@sweattechnologies.com> Message-ID: <8C66F407-53EA-40A8-9030-B87849C10C55@mac.com> I don't know Monte, I will try and find out. But the info below is what was sent in the test using a restful client by the developer of the api. -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jun 4, 2013, at 6:07 PM, Monte Goulding wrote: > Are device_type and dentist_id meant to be strings or integers? > > On 05/06/2013, at 7:55 AM, Thomas McGrath III wrote: > >> Thanks for the info. I am trying to use Igor's library and I am trying to build my first array to convert to json. >> >> This is the info I have to send as json: >> {"data": >> {"appuser_details": >> { >> "name":"Tom_iPad", >> "email":"iPad at gmail.com", >> "device_type":"2", >> "dentist_id":"73", >> "device_token":"98be5c7a3cc9e400ae6a90977ac6d64f498bb01cbe83c3c3d1bb4856de59ba1c" >> } >> } >> } >> >> I think I need to send "text/json" as a header. >> >> I have tried many things but I don't think I am sending the information correctly. >> >> I got a result "error 400 Bad Request" >> >> I don't think my array is right. >> >> >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> mcgrath3 at mac.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jiml at netrin.com Tue Jun 4 18:50:44 2013 From: jiml at netrin.com (Jim Lambert) Date: Tue, 4 Jun 2013 15:50:44 -0700 Subject: (OT) Software Patents and computer based instruction In-Reply-To: References: Message-ID: Richard wrote: > > Case in point: > > Method of swinging on a swing > LOL. The inventor has shortchanged himself by needlessly restricting the invention to swings hanging from trees. Write broad claims! :) Jim Lambert From jacque at hyperactivesw.com Tue Jun 4 18:57:46 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 04 Jun 2013 17:57:46 -0500 Subject: JSON In-Reply-To: <2E604270-E864-4F8A-903E-65AB03CD652C@mac.com> References: <6406605F-D9BD-4A0D-8089-B9746C9A6061@mac.com> <2E6957CF-DE51-470B-B996-BE3E9DDB01A4@sweattechnologies.com> <51AE5BA8.9060101@hyperactivesw.com> <2E604270-E864-4F8A-903E-65AB03CD652C@mac.com> Message-ID: <51AE70EA.6050004@hyperactivesw.com> On 6/4/13 4:55 PM, Thomas McGrath III wrote: > Thanks for the info. I am trying to use Igor's library and I am trying to build my first array to convert to json. > > This is the info I have to send as json: > {"data": > {"appuser_details": > { > "name":"Tom_iPad", > "email":"iPad at gmail.com", > "device_type":"2", > "dentist_id":"73", > "device_token":"98be5c7a3cc9e400ae6a90977ac6d64f498bb01cbe83c3c3d1bb4856de59ba1c" > } > } > } > > I think I need to send "text/json" as a header. > > I have tried many things but I don't think I am sending the information correctly. > > I got a result "error 400 Bad Request" > > I don't think my array is right. I got the same error at first. The web server can't understand what you're sending. You just need to create a regular LiveCode array (none of that punctuation stuff,) pass it through Igor's library, and then send a POST with whatever you get back. I'm not sure about the headers, I don't think I had to change those but it might depend on the server. Something like this off the top of my head: put "Tom_iPad" into tArray["data"]["appuser_details"]["name"] put "iPad at gmail.com" into tArray["data"]["appuser_details"]["email"] ...etc put jsonFromArray(tArray) into tJSON post tJSON to "http://xxx.xxx" You might have to twiddle that a bit. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Tue Jun 4 19:09:31 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 5 Jun 2013 09:09:31 +1000 Subject: JSON In-Reply-To: <8C66F407-53EA-40A8-9030-B87849C10C55@mac.com> References: <6406605F-D9BD-4A0D-8089-B9746C9A6061@mac.com> <2E6957CF-DE51-470B-B996-BE3E9DDB01A4@sweattechnologies.com> <51AE5BA8.9060101@hyperactivesw.com> <2E604270-E864-4F8A-903E-65AB03CD652C@mac.com> <59390C69-03E1-442F-A139-92424CB23CB5@sweattechnologies.com> <8C66F407-53EA-40A8-9030-B87849C10C55@mac.com> Message-ID: On 05/06/2013, at 8:16 AM, Thomas McGrath III wrote: > I don't know Monte, I will try and find out. But the info below is what was sent in the test using a restful client by the developer of the api. strings then -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From monte at sweattechnologies.com Tue Jun 4 19:13:43 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 5 Jun 2013 09:13:43 +1000 Subject: JSON In-Reply-To: <51AE70EA.6050004@hyperactivesw.com> References: <6406605F-D9BD-4A0D-8089-B9746C9A6061@mac.com> <2E6957CF-DE51-470B-B996-BE3E9DDB01A4@sweattechnologies.com> <51AE5BA8.9060101@hyperactivesw.com> <2E604270-E864-4F8A-903E-65AB03CD652C@mac.com> <51AE70EA.6050004@hyperactivesw.com> Message-ID: <0FBE892E-B12A-4349-A5A0-55EBA50E20AA@sweattechnologies.com> On 05/06/2013, at 8:57 AM, J. Landman Gay wrote: > I got the same error at first. The web server can't understand what you're sending. > > You just need to create a regular LiveCode array (none of that punctuation stuff,) pass it through Igor's library, and then send a POST with whatever you get back. I'm not sure about the headers, I don't think I had to change those but it might depend on the server. > > Something like this off the top of my head: > > put "Tom_iPad" into tArray["data"]["appuser_details"]["name"] > put "iPad at gmail.com" into tArray["data"]["appuser_details"]["email"] > ...etc > put jsonFromArray(tArray) into tJSON > post tJSON to "http://xxx.xxx" > > You might have to twiddle that a bit. Ah... how is that library working out if something is a number or a string? If it's doing it's just using "is a number" then given you have numbers that you need to send as strings you're going to have a problem. You might need to look at the api and find out if it has a way to force elements to be a string. Alternatively... seeing as it's really not a big document and you don't need to do JSONToArray you could just put a template in a custom property and use merge... Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From pete at lcsql.com Tue Jun 4 19:15:36 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 4 Jun 2013 16:15:36 -0700 Subject: (OT) Software Patents and computer based instruction In-Reply-To: References: Message-ID: All this talk of swings made me remember a document I was given when I first got into the computer business. You can read it here Pete lcSQL Software On Tue, Jun 4, 2013 at 3:50 PM, Jim Lambert wrote: > Richard wrote: > > > > Case in point: > > > > Method of swinging on a swing > > > > LOL. > > The inventor has shortchanged himself by needlessly restricting the > invention to swings hanging from trees. Write broad claims! :) > > Jim Lambert > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From alex at tweedly.net Tue Jun 4 19:26:07 2013 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 05 Jun 2013 00:26:07 +0100 Subject: randomly order a list In-Reply-To: References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <44DB3748-3519-4BD6-BD81-D65D9C6F6249@swcp.com> <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> <519E7F6D.3040507@tweedly.net> <08A24B77-8594-41D8-92BD-14CAC003D96B@swcp.com> Message-ID: <51AE778F.4070601@tweedly.net> No comments on the "collision-or-not-ness", but some concerns about performance. The performance of "random() & random()" is conveniently data-independent, but that for md5digest() is not. With nice short lines, it is indeed faster than the random&random version, but as the line size increases, so does the time taken by all of the digest methods. I didn't test it thoroughly, but the swap-over point is fairly low - somewhere around 500 chars per line. -- Alex. On 04/06/2013 18:51, Geoff Canyon wrote: > At the risk of beating the decaying equus -- the previously suggested > random() solutions should be fine for all purposes --I found an alternative > that: > > 1. Is faster than sorting by random(999999999) & random(999999999) > 2. Is about as fast as sorting by random(999999999) > 3. Is (I think) less likely to have duplicate sort keys > > The drawback is that it is determinative (albeit random) for any given set > of data, unless you are willing to accept performance equivalent to sorting > by random(999999999) & random(999999999), while providing near-certainty of > a true sort (I think). > > The one-time, as fast as any solution so far, sort is: > > sort lines of myVar by md5digest(each) > > Collisions are highly unlikely in 128 bits. Even random(999999999) & > random(999999999) only provides about 60 bits, which, to be clear, is > *more* than enough, but md5 is (I think) even more certain, and faster. > However, it will always produce the same results. > > sort lines of myVar by sha1digest(each) > > Works roughly the same: 160 bits of guaranteed-no-collision-ness, but it's > a little slower, although still much faster than random(999999999) & > random(999999999). Like MD5, it will always sort the same data the same > (random) way. > > The same-ness for either solution can (I think) be fixed by this: > > put ticks() into T > sort lines of myVar by md5digest(T & each) > > or > > put ticks() into T > sort lines of myVar by sha1digest(T & each) > > That should result in random results each time, and is a little faster > (MD5) or about 1/3 slower (SHA1) than random(999999999) & random(999999999) > > If anyone has thoughts on the collision-or-not-ness of MD5 or SHA1, feel > free to comment. Otherwise, I hope I'm done now ;-) > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Tue Jun 4 19:30:02 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 04 Jun 2013 16:30:02 -0700 Subject: (OT) Software Patents and computer based instruction In-Reply-To: Message-ID: Related: I have an illustrator friend who's done work for Marvel, Disney, and similar large media companies. When it comes to rights/ownership of work (which is always the company), the contracts provided by the media companies literally use the word "universe" to describe the extents of where their ownership applies. So unless you have the ability to travel to a different universe, your contract always remains in force. I imagine the corporate lawyers will soon add an addendum that covers time travel, so you can't go back and break the contract before it was written. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 6/4/13 3:50 PM, "Jim Lambert" wrote: >Richard wrote: >> >> Case in point: >> >> Method of swinging on a swing >> > >LOL. > >The inventor has shortchanged himself by needlessly restricting the >invention to swings hanging from trees. Write broad claims! :) > >Jim Lambert > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From andrew at ctech.me Tue Jun 4 19:40:27 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Tue, 4 Jun 2013 18:40:27 -0500 Subject: JSON In-Reply-To: <0FBE892E-B12A-4349-A5A0-55EBA50E20AA@sweattechnologies.com> References: <6406605F-D9BD-4A0D-8089-B9746C9A6061@mac.com> <2E6957CF-DE51-470B-B996-BE3E9DDB01A4@sweattechnologies.com> <51AE5BA8.9060101@hyperactivesw.com> <2E604270-E864-4F8A-903E-65AB03CD652C@mac.com> <51AE70EA.6050004@hyperactivesw.com> <0FBE892E-B12A-4349-A5A0-55EBA50E20AA@sweattechnologies.com> Message-ID: I dont know about the libraries he is using, but if it is based at all on the late mark smiths's the numbers in his array would translate to integers in terms of the json it spits out. I actually had to modify the output of the mark smith library to place 0's before decimal points to avoid bad request errors. { "data": { "appuser_details": { "name": "Tom_iPad", "email": "iPad at gmail.com", "device_type": "2", "dentist_id": "73", "device_token": "98be5c7a3cc9e400ae6a90977ac6d64f498bb01cbe83c3c3d1bb4856de59ba1c" } } } Also doing something like set the httpHeaders to "Content-Type: application/json" could help if you aren't doing this already. Hmm, I wonder why your back end developer would be looking to use strings in the place of integers. I On Tue, Jun 4, 2013 at 6:13 PM, Monte Goulding wrote: > > On 05/06/2013, at 8:57 AM, J. Landman Gay wrote: > > > I got the same error at first. The web server can't understand what > you're sending. > > > > You just need to create a regular LiveCode array (none of that > punctuation stuff,) pass it through Igor's library, and then send a POST > with whatever you get back. I'm not sure about the headers, I don't think I > had to change those but it might depend on the server. > > > > Something like this off the top of my head: > > > > put "Tom_iPad" into tArray["data"]["appuser_details"]["name"] > > put "iPad at gmail.com" into tArray["data"]["appuser_details"]["email"] > > ...etc > > put jsonFromArray(tArray) into tJSON > > post tJSON to "http://xxx.xxx" > > > > You might have to twiddle that a bit. > > Ah... how is that library working out if something is a number or a > string? If it's doing it's just using "is a number" then given you have > numbers that you need to send as strings you're going to have a problem. > You might need to look at the api and find out if it has a way to force > elements to be a string. Alternatively... seeing as it's really not a big > document and you don't need to do JSONToArray you could just put a template > in a custom property and use merge... > > Cheers > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From monte at sweattechnologies.com Tue Jun 4 19:58:27 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 5 Jun 2013 09:58:27 +1000 Subject: JSON In-Reply-To: References: <6406605F-D9BD-4A0D-8089-B9746C9A6061@mac.com> <2E6957CF-DE51-470B-B996-BE3E9DDB01A4@sweattechnologies.com> <51AE5BA8.9060101@hyperactivesw.com> <2E604270-E864-4F8A-903E-65AB03CD652C@mac.com> <51AE70EA.6050004@hyperactivesw.com> <0FBE892E-B12A-4349-A5A0-55EBA50E20AA@sweattechnologies.com> Message-ID: <4DC57B54-C3D5-46D0-AE8D-7E3CC1D3E93B@sweattechnologies.com> On 05/06/2013, at 9:40 AM, Andrew Kluthe wrote: > Hmm, I wonder why your back end developer would be looking to use strings > in the place of integers Well... they look like numbers in the sample data we have but they might not always be numbers. It's risky just assuming if an element is a number that it should be JSON encoded as a number... LiveCode might not care but the thing on the other end more than likely will break if it doesn't get the right type. mergJSON does this by allowing you to force elements as strings and also to pre-parse the array to ensure things are encoded correctly... things like an empty element might be meant to be an empty JSON object or array. Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From dochawk at gmail.com Tue Jun 4 20:54:18 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 4 Jun 2013 17:54:18 -0700 Subject: dealing with these *huge* pdf files generated In-Reply-To: References: <51AAC23E.8070202@hyperactivesw.com> <1370206576176-4665767.post@n4.nabble.com> <28D15864-A450-45CB-B7A8-95093C1B84F1@unimelb.edu.au> <1370242149381-4665782.post@n4.nabble.com> Message-ID: Here is a simple stack push the button to export it to ex2.pdf in the home folder. The "cash on hand" field shows when the pdf is printed. I duplicated the cash & checking fields to create the cow & tomato fields. I unchecked 3d borders. And that appears to take care of *these* pixels. I then set the output routine to set the 3d of fields to false as they're generated (in the schedules; it doesn't apply everywhere). The result is that the output drops from 2.1M in Sunday's example to 1.7M. Acrobat reduces this to 1M (compared to 1.1M yesterday), while Preview increases to 2.2M trying to reduce file size. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Tue Jun 4 20:54:39 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 4 Jun 2013 17:54:39 -0700 Subject: dealing with these *huge* pdf files generated In-Reply-To: References: <51AAC23E.8070202@hyperactivesw.com> <1370206576176-4665767.post@n4.nabble.com> <28D15864-A450-45CB-B7A8-95093C1B84F1@unimelb.edu.au> <1370242149381-4665782.post@n4.nabble.com> Message-ID: Here is the stack On Tue, Jun 4, 2013 at 5:54 PM, Dr. Hawkins wrote: > Here is a simple stack push the button to export it to ex2.pdf in the home > folder. > > The "cash on hand" field shows when the pdf is printed. > > I duplicated the cash & checking fields to create the cow & tomato > fields. I unchecked 3d borders. > > And that appears to take care of *these* pixels. > > I then set the output routine to set the 3d of fields to false as they're > generated (in the schedules; it doesn't apply everywhere). The result is > that the output drops from 2.1M in Sunday's example to 1.7M. Acrobat > reduces this to 1M (compared to 1.1M yesterday), while Preview increases > to 2.2M trying to reduce file size. > > > > > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From andrew at ctech.me Tue Jun 4 21:08:41 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Tue, 4 Jun 2013 20:08:41 -0500 Subject: JSON In-Reply-To: <4DC57B54-C3D5-46D0-AE8D-7E3CC1D3E93B@sweattechnologies.com> References: <6406605F-D9BD-4A0D-8089-B9746C9A6061@mac.com> <2E6957CF-DE51-470B-B996-BE3E9DDB01A4@sweattechnologies.com> <51AE5BA8.9060101@hyperactivesw.com> <2E604270-E864-4F8A-903E-65AB03CD652C@mac.com> <51AE70EA.6050004@hyperactivesw.com> <0FBE892E-B12A-4349-A5A0-55EBA50E20AA@sweattechnologies.com> <4DC57B54-C3D5-46D0-AE8D-7E3CC1D3E93B@sweattechnologies.com> Message-ID: Good point. Handy feature. I might have to see if that can replace my modified mark smith lib in some of my projects. Is mergJSON dual licensed? On Tue, Jun 4, 2013 at 6:58 PM, Monte Goulding wrote: > > On 05/06/2013, at 9:40 AM, Andrew Kluthe wrote: > > > Hmm, I wonder why your back end developer would be looking to use strings > > in the place of integers > > Well... they look like numbers in the sample data we have but they might > not always be numbers. It's risky just assuming if an element is a number > that it should be JSON encoded as a number... LiveCode might not care but > the thing on the other end more than likely will break if it doesn't get > the right type. mergJSON does this by allowing you to force elements as > strings and also to pre-parse the array to ensure things are encoded > correctly... things like an empty element might be meant to be an empty > JSON object or array. > > Cheers > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From monte at sweattechnologies.com Tue Jun 4 21:34:53 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 5 Jun 2013 11:34:53 +1000 Subject: JSON In-Reply-To: References: <6406605F-D9BD-4A0D-8089-B9746C9A6061@mac.com> <2E6957CF-DE51-470B-B996-BE3E9DDB01A4@sweattechnologies.com> <51AE5BA8.9060101@hyperactivesw.com> <2E604270-E864-4F8A-903E-65AB03CD652C@mac.com> <51AE70EA.6050004@hyperactivesw.com> <0FBE892E-B12A-4349-A5A0-55EBA50E20AA@sweattechnologies.com> <4DC57B54-C3D5-46D0-AE8D-7E3CC1D3E93B@sweattechnologies.com> Message-ID: <21339CDF-5618-4611-96A0-6CE06425E472@sweattechnologies.com> On 05/06/2013, at 11:08 AM, Andrew Kluthe wrote: > Good point. Handy feature. I might have to see if that can replace my > modified mark smith lib in some of my projects. Is mergJSON dual licensed? That's the intention but as there hasn't been a rush to buy (I did expect that given there's LC only options) I haven't added it yet as an option to buy on mergExt.com.... I'm still working out exactly what I should deliver as the commercial version... I'm thinking that just the license file naming the current version is all that's required. BTW it will be $49 individually and also bundled with mergExt. -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From mcgrath3 at mac.com Tue Jun 4 21:33:25 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 04 Jun 2013 21:33:25 -0400 Subject: JSON In-Reply-To: References: <6406605F-D9BD-4A0D-8089-B9746C9A6061@mac.com> <2E6957CF-DE51-470B-B996-BE3E9DDB01A4@sweattechnologies.com> <51AE5BA8.9060101@hyperactivesw.com> <2E604270-E864-4F8A-903E-65AB03CD652C@mac.com> <51AE70EA.6050004@hyperactivesw.com> <0FBE892E-B12A-4349-A5A0-55EBA50E20AA@sweattechnologies.com> Message-ID: <745ED764-AE03-4384-AEF6-FC623DA898F5@mac.com> Andrew, That did it. I had the headers wrong. set the httpHeaders to "Content-Type: application/json" worked and not set the httpHeaders to "text/json" did not. It actually worked. THanks to everyone who helped me out. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jun 4, 2013, at 7:40 PM, Andrew Kluthe wrote: > I dont know about the libraries he is using, but if it is based at all on > the late mark smiths's the numbers in his array would translate to integers > in terms of the json it spits out. I actually had to modify the output of > the mark smith library to place 0's before decimal points to avoid bad > request errors. > > { > "data": { > "appuser_details": { > "name": "Tom_iPad", > "email": "iPad at gmail.com", > "device_type": "2", > "dentist_id": "73", > "device_token": > "98be5c7a3cc9e400ae6a90977ac6d64f498bb01cbe83c3c3d1bb4856de59ba1c" > } > } > } > > Also doing something like > > set the httpHeaders to "Content-Type: application/json" > > could help if you aren't doing this already. > > Hmm, I wonder why your back end developer would be looking to use strings > in the place of integers. I > > > On Tue, Jun 4, 2013 at 6:13 PM, Monte Goulding > wrote: > >> >> On 05/06/2013, at 8:57 AM, J. Landman Gay wrote: >> >>> I got the same error at first. The web server can't understand what >> you're sending. >>> >>> You just need to create a regular LiveCode array (none of that >> punctuation stuff,) pass it through Igor's library, and then send a POST >> with whatever you get back. I'm not sure about the headers, I don't think I >> had to change those but it might depend on the server. >>> >>> Something like this off the top of my head: >>> >>> put "Tom_iPad" into tArray["data"]["appuser_details"]["name"] >>> put "iPad at gmail.com" into tArray["data"]["appuser_details"]["email"] >>> ...etc >>> put jsonFromArray(tArray) into tJSON >>> post tJSON to "http://xxx.xxx" >>> >>> You might have to twiddle that a bit. >> >> Ah... how is that library working out if something is a number or a >> string? If it's doing it's just using "is a number" then given you have >> numbers that you need to send as strings you're going to have a problem. >> You might need to look at the api and find out if it has a way to force >> elements to be a string. Alternatively... seeing as it's really not a big >> document and you don't need to do JSONToArray you could just put a template >> in a custom property and use merge... >> >> Cheers >> >> -- >> M E R Goulding >> Software development services >> Bespoke application development for vertical markets >> >> mergExt - There's an external for that! >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > Regards, > > Andrew Kluthe > andrew at ctech.me > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andrew at ctech.me Tue Jun 4 21:34:36 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Tue, 4 Jun 2013 20:34:36 -0500 Subject: JSON In-Reply-To: <745ED764-AE03-4384-AEF6-FC623DA898F5@mac.com> References: <6406605F-D9BD-4A0D-8089-B9746C9A6061@mac.com> <2E6957CF-DE51-470B-B996-BE3E9DDB01A4@sweattechnologies.com> <51AE5BA8.9060101@hyperactivesw.com> <2E604270-E864-4F8A-903E-65AB03CD652C@mac.com> <51AE70EA.6050004@hyperactivesw.com> <0FBE892E-B12A-4349-A5A0-55EBA50E20AA@sweattechnologies.com> <745ED764-AE03-4384-AEF6-FC623DA898F5@mac.com> Message-ID: Nice. glad to hear that! On Tue, Jun 4, 2013 at 8:33 PM, Thomas McGrath III wrote: > Andrew, That did it. I had the headers wrong. > > set the httpHeaders to "Content-Type: application/json" > > worked and not set the httpHeaders to "text/json" did not. > > It actually worked. THanks to everyone who helped me out. > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > On Jun 4, 2013, at 7:40 PM, Andrew Kluthe wrote: > > > I dont know about the libraries he is using, but if it is based at all on > > the late mark smiths's the numbers in his array would translate to > integers > > in terms of the json it spits out. I actually had to modify the output of > > the mark smith library to place 0's before decimal points to avoid bad > > request errors. > > > > { > > "data": { > > "appuser_details": { > > "name": "Tom_iPad", > > "email": "iPad at gmail.com", > > "device_type": "2", > > "dentist_id": "73", > > "device_token": > > "98be5c7a3cc9e400ae6a90977ac6d64f498bb01cbe83c3c3d1bb4856de59ba1c" > > } > > } > > } > > > > Also doing something like > > > > set the httpHeaders to "Content-Type: application/json" > > > > could help if you aren't doing this already. > > > > Hmm, I wonder why your back end developer would be looking to use strings > > in the place of integers. I > > > > > > On Tue, Jun 4, 2013 at 6:13 PM, Monte Goulding > > wrote: > > > >> > >> On 05/06/2013, at 8:57 AM, J. Landman Gay wrote: > >> > >>> I got the same error at first. The web server can't understand what > >> you're sending. > >>> > >>> You just need to create a regular LiveCode array (none of that > >> punctuation stuff,) pass it through Igor's library, and then send a POST > >> with whatever you get back. I'm not sure about the headers, I don't > think I > >> had to change those but it might depend on the server. > >>> > >>> Something like this off the top of my head: > >>> > >>> put "Tom_iPad" into tArray["data"]["appuser_details"]["name"] > >>> put "iPad at gmail.com" into tArray["data"]["appuser_details"]["email"] > >>> ...etc > >>> put jsonFromArray(tArray) into tJSON > >>> post tJSON to "http://xxx.xxx" > >>> > >>> You might have to twiddle that a bit. > >> > >> Ah... how is that library working out if something is a number or a > >> string? If it's doing it's just using "is a number" then given you have > >> numbers that you need to send as strings you're going to have a problem. > >> You might need to look at the api and find out if it has a way to force > >> elements to be a string. Alternatively... seeing as it's really not a > big > >> document and you don't need to do JSONToArray you could just put a > template > >> in a custom property and use merge... > >> > >> Cheers > >> > >> -- > >> M E R Goulding > >> Software development services > >> Bespoke application development for vertical markets > >> > >> mergExt - There's an external for that! > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > > > -- > > Regards, > > > > Andrew Kluthe > > andrew at ctech.me > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From dochawk at gmail.com Tue Jun 4 21:50:17 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 4 Jun 2013 18:50:17 -0700 Subject: (OT) Software Patents and computer based instruction In-Reply-To: References: Message-ID: On Tue, Jun 4, 2013 at 4:30 PM, Scott Rossi wrote: > Related: I have an illustrator friend who's done work for Marvel, Disney, > and similar large media companies. When it comes to rights/ownership of > work (which is always the company), the contracts provided by the media > companies literally use the word "universe" to describe the extents of > where their ownership applies. So unless you have the ability to travel > to a different universe, your contract always remains in force. > Not really--those comic book companies have plenty of universes . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From walter.h.brown at gmail.com Tue Jun 4 21:53:08 2013 From: walter.h.brown at gmail.com (Walt Brown) Date: Tue, 4 Jun 2013 21:53:08 -0400 Subject: (OT) Software Patents and computer based instruction In-Reply-To: References: Message-ID: Would a patent on time travel be retroactive? On Tue, Jun 4, 2013 at 9:50 PM, Dr. Hawkins wrote: > On Tue, Jun 4, 2013 at 4:30 PM, Scott Rossi > wrote: > > > Related: I have an illustrator friend who's done work for Marvel, Disney, > > and similar large media companies. When it comes to rights/ownership of > > work (which is always the company), the contracts provided by the media > > companies literally use the word "universe" to describe the extents of > > where their ownership applies. So unless you have the ability to travel > > to a different universe, your contract always remains in force. > > > > Not really--those comic book companies have plenty of universes . . . > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From stephenREVOLUTION2 at barncard.com Tue Jun 4 22:06:18 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 4 Jun 2013 19:06:18 -0700 Subject: dealing with these *huge* pdf files generated In-Reply-To: References: <51AAC23E.8070202@hyperactivesw.com> <1370206576176-4665767.post@n4.nabble.com> <28D15864-A450-45CB-B7A8-95093C1B84F1@unimelb.edu.au> <1370242149381-4665782.post@n4.nabble.com> Message-ID: Dr. Hawkins.... no attachments allowed on this mail-list. They need to be referenced from elsewhere... sqb On Tue, Jun 4, 2013 at 5:54 PM, Dr. Hawkins wrote: > Here is the stack > > On Tue, Jun 4, 2013 at 5:54 PM, Dr. Hawkins wrote: > > > Here is a simple stack push the button to export it to ex2.pdf in the > home > > folder. > > > > The "cash on hand" field shows when the pdf is printed. > > > > I duplicated the cash & checking fields to create the cow & tomato > > fields. I unchecked 3d borders. > > > > And that appears to take care of *these* pixels. > > > > I then set the output routine to set the 3d of fields to false as they're > > generated (in the schedules; it doesn't apply everywhere). The result is > > that the output drops from 2.1M in Sunday's example to 1.7M. Acrobat > > reduces this to 1M (compared to 1.1M yesterday), while Preview increases > > to 2.2M trying to reduce file size. > > > > > > > > > > > > > > -- > > Dr. Richard E. Hawkins, Esq. > > (702) 508-8462 > > > > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From mwieder at ahsoftware.net Tue Jun 4 22:37:10 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 4 Jun 2013 19:37:10 -0700 Subject: (OT) Software Patents and computer based instruction In-Reply-To: References: Message-ID: <142213396681.20130604193710@ahsoftware.net> Walt- Tuesday, June 4, 2013, 6:53:08 PM, you wrote: > Would a patent on time travel be retroactive? LOL. Or recursive. -- -Mark Wieder mwieder at ahsoftware.net From monte at sweattechnologies.com Tue Jun 4 22:57:49 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 5 Jun 2013 12:57:49 +1000 Subject: (OT) Software Patents and computer based instruction In-Reply-To: <142213396681.20130604193710@ahsoftware.net> References: <142213396681.20130604193710@ahsoftware.net> Message-ID: On 05/06/2013, at 12:37 PM, Mark Wieder wrote: >> Would a patent on time travel be retroactive? > > LOL. Or recursive. haha... the fact that there isn't a patent on time travel must mean it's never possible ;-) -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From jhj at jhj.com Tue Jun 4 23:01:18 2013 From: jhj at jhj.com (Jerry Jensen) Date: Tue, 4 Jun 2013 20:01:18 -0700 Subject: (OT) Software Patents and computer based instruction In-Reply-To: References: <142213396681.20130604193710@ahsoftware.net> Message-ID: <21F8D0D2-21A3-4603-8568-38A483070498@jhj.com> On Jun 4, 2013, at 7:57 PM, Monte Goulding wrote: > > On 05/06/2013, at 12:37 PM, Mark Wieder wrote: > >>> Would a patent on time travel be retroactive? >> >> LOL. Or recursive. > > haha... the fact that there isn't a patent on time travel must mean it's never possible ;-) Or that those who travel back to undo the patents are smarter than those who patent. From monte at sweattechnologies.com Tue Jun 4 23:11:24 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 5 Jun 2013 13:11:24 +1000 Subject: (OT) Software Patents and computer based instruction In-Reply-To: <21F8D0D2-21A3-4603-8568-38A483070498@jhj.com> References: <142213396681.20130604193710@ahsoftware.net> <21F8D0D2-21A3-4603-8568-38A483070498@jhj.com> Message-ID: <1394AF86-1780-4163-8250-5AC6779D19A4@sweattechnologies.com> On 05/06/2013, at 1:01 PM, Jerry Jensen wrote: >> On 05/06/2013, at 12:37 PM, Mark Wieder wrote: >> >>>> Would a patent on time travel be retroactive? >>> >>> LOL. Or recursive. >> >> haha... the fact that there isn't a patent on time travel must mean it's never possible ;-) > > Or that those who travel back to undo the patents are smarter than those who patent. Maybe they are busy giving themselves 1950-2000 sports almanacs ;-) -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From dochawk at gmail.com Tue Jun 4 23:29:57 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 4 Jun 2013 20:29:57 -0700 Subject: dealing with these *huge* pdf files generated In-Reply-To: References: <51AAC23E.8070202@hyperactivesw.com> <1370206576176-4665767.post@n4.nabble.com> <28D15864-A450-45CB-B7A8-95093C1B84F1@unimelb.edu.au> <1370242149381-4665782.post@n4.nabble.com> Message-ID: On Tue, Jun 4, 2013 at 7:06 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > Dr. Hawkins.... no attachments allowed on this mail-list. They need to be > referenced from elsewhere... > I believe that it is a 15k limit on this list. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From peterwawood at gmail.com Wed Jun 5 01:05:26 2013 From: peterwawood at gmail.com (Peter W A Wood) Date: Wed, 5 Jun 2013 13:05:26 +0800 Subject: RELEASE: LiveCode 6.0.2 In-Reply-To: References: <10353E49-F270-4A10-83A8-8A2E34C448F9@m-r-d.de> Message-ID: <26C4B3CD-B7DF-49AB-BA7F-82883720B0C1@gmail.com> Matthias I am no expert but I believe that you only need to release the source if you make your application available to others. Regards Peter http://LiveCode1001.blogspot.com On 5 Jun 2013, at 06:04, Matthias Rebbe wrote: > Hi, > > i am not sure, but i think the licensing. I thought i have to release my source when using community editions? > Or is this not necessary when using LC server? If not, i can live with the community edition of LC server. > > Regards, > > Matthias > > Am 04.06.2013 um 22:55 schrieb stephen barncard : > >> what would be the difference? >> >> running protected stacks? >> >> >> On Tue, Jun 4, 2013 at 1:49 PM, Matthias Rebbe < >> matthias_livecode_150811 at m-r-d.de> wrote: >> >>> Hi Ben, >>> >>> when will LC Server 6.02 commercial be released? >>> >>> Regards, >>> >>> Matthias >>> >>> >>> Am 04.06.2013 um 17:07 schrieb Benjamin Beaumont : >>> >>>> Dear User List, >>>> >>>> We're pleased to announce the release of LiveCode 6.0.2. The installers >>> can >>>> be found here: >>>> >>>> http://downloads.livecode.com/livecode/6_0_2/ >>>> http://downloads.livecode.com/livecode/server/6_0_2/ >>>> >>>> This is a maintenance release containing the following bug fixes: >>>> >>>> 10936 - Android SDK Path not recognised in Preferences - Mobile Support >>>> 10895 - Non-public API usage - Apps are not permitted to access the UDID >>>> 10916 - Script corruption >>>> >>>> Warm regards, >>>> >>>> The LiveCode team >>>> >>>> _____________________________________________ >>>> >>>> Benjamin Beaumont . RunRev Ltd >>>> >>>> LiveCode Product Manager >>>> mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW >>>> email : ben at runrev.com >>>> company : +44(0) 845 219 89 23 >>>> fax : +44(0) 845 458 8487 >>>> web : www.runrev.com >>>> >>>> LiveCode - Unleash Your Killer App >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at 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 at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> >> -- >> >> >> >> Stephen Barncard >> San Francisco Ca. USA >> >> more about sqb >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From igor at semperuna.com Wed Jun 5 02:02:18 2013 From: igor at semperuna.com (Igor de Oliveira Couto) Date: Wed, 5 Jun 2013 16:02:18 +1000 Subject: JSON In-Reply-To: <745ED764-AE03-4384-AEF6-FC623DA898F5@mac.com> References: <6406605F-D9BD-4A0D-8089-B9746C9A6061@mac.com> <2E6957CF-DE51-470B-B996-BE3E9DDB01A4@sweattechnologies.com> <51AE5BA8.9060101@hyperactivesw.com> <2E604270-E864-4F8A-903E-65AB03CD652C@mac.com> <51AE70EA.6050004@hyperactivesw.com> <0FBE892E-B12A-4349-A5A0-55EBA50E20AA@sweattechnologies.com> <745ED764-AE03-4384-AEF6-FC623DA898F5@mac.com> Message-ID: Sorry to come so late to this thread. It's nice to see that my little JSON library is being used. I wanted to let everyone know, that Monte's library is much faster and more efficient than the LiveCode-native solutions, like mine. I wholeheartedly recommend it. There are occasions, however, when a programmer may not be able to - or want to - use externals, so these native libraries can still come in handy. I saw that someone wanted to add features to a native JSON library - for instance, forcing the parser to recognise a certain value as a string rather than a number. I kindly ask you to consider using the EasyJSON library as a base, and contributing back your enhancements to the code. EasyJSON is hosted here: https://github.com/luxlogica/easyjson I tried to take great care to thoroughly document the code, so that it would be easier for others to understand, debug and enhance later. EasyJSON has also been released into the public domain, meaning that it can be safely used in both Open Source and closed-source commercial projects. And while you're there, you may want to check out another script I've released 'into the wild': EasyLocalNumber: https://github.com/luxlogica/easylocalnumber This is a behaviour script that makes it relatively painless to create localised numeric fields - ie., enabling the user to enter numbers with customised decimal and thousands separators, and currency symbols. Any enhancements and bug-fixes there would be most welcome! :-) Kindest regards to all, -- Igor Couto Sydney, Australia From lan.kc.macmail at gmail.com Wed Jun 5 02:07:11 2013 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 5 Jun 2013 14:07:11 +0800 Subject: [ANN] Help with a LiveCode Presentation/Demo Message-ID: Folks, I've volunteered to give a presentation/demo of LC Community at an up coming Mac User Group meeting. In preparation for this I've thrown together a very rough history and feature set of HyperCard, SuperCard, MetaCard, Revolution/LiveCode. It can be found here; as an anyone (you) can edit Google Spreadsheet: https://docs.google.com/spreadsheet/ccc?key=0Aqkz0MzC98e6dGNpcnhBR0VsQjRuOU92RDhPRWN2dnc&usp=sharing NOTE: there are 2 sheets, 1 = history, 2 = features I make no claim to it's accuracy, which is why, if anyone here would like to correct my entries, feel free. The availability of info on what occurred at the various major upgrades 2.0 - 5.5 of Revolution is fairly scant; but I'm not actually too concerned about that, I think I have enough info about where we started from and where we are now. The bit I'd really like input is 'Sheet2' which is a comparison chart. I'm after any LC features that you find indispensable - and if you know if the other development environments have it. I'm hoping to use this as a bit of a teaser. Personally, when I discovered Revolution's 'switch' statement, and database capabilities, I was a kid in a candy store. Those, plus 'repeat for each' and HTTP will definitely be making an appearance in my presentation. So I don't need generic 'the language is easy to read', or 'it cuts my development time in half', but specific commands or features that are compelling to you, as these may spark an interest in others. I notice that the claim of MetaCard being 30 times faster than JavaScript/Shell dates back to 1996. Since then I'm aware of at least 2 major engine improvements to Rev/LC. Anyone have any idea of how much faster LC is today? Empirical evidence not required, best guesstimate fine by me. Thanks From peterwawood at gmail.com Wed Jun 5 02:54:16 2013 From: peterwawood at gmail.com (Peter W A Wood) Date: Wed, 5 Jun 2013 14:54:16 +0800 Subject: [ANN] Help with a LiveCode Presentation/Demo In-Reply-To: References: Message-ID: <7FF7BEFE-689B-4E74-8804-407B8CADC720@gmail.com> Kay On 5 Jun 2013, at 14:07, Kay C Lan wrote: > I notice that the claim of MetaCard being 30 times faster than > JavaScript/Shell dates back to 1996. Since then I'm aware of at least 2 > major engine improvements to Rev/LC. Anyone have any idea of how much > faster LC is today? Empirical evidence not required, best guesstimate fine > by me. I think it will always be the case that language performance is not generally uniform, some things will be faster in one language (eg arithmetic) whilst somethings will be slower (string handling). However, there have been quite unimaginable performance improvements in JavaScript over the past years and I would suspect that on the whole JavaScript executes "faster" than LiveCode. Here's a little test that I ran in the Message Box, it concatenates 1,000,000 !s to Hello World: put the long seconds into tStart put "Hello World" into tHW repeat for 1000000 times put tHW & "!" into tHW end repeat put the long seconds into tEnd put tEnd - tStart into tTimeTaken put tTimeTaken It took 82.607967 seconds on my machine. Here's the equivalent in JavaScript: var end; var timeTaken; var i; var start = new Date().getTime(); var hw = 'hello'; for (i = 1; i < 1000000; i++) { hw += '!'; } end = new Date().getTime(); timeTaken = end - start; print(timeTaken); It took on average 145 milliseconds to run on my machine under Google's V8. It may be a very poor test but it shows how much faster JavaScript can be when compared to LiveCode (and hence the dangers of such comparisons). Hope your presentation goes well. Peter http://LiveCode1001.blogspot.com From monte at sweattechnologies.com Wed Jun 5 03:10:34 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 5 Jun 2013 17:10:34 +1000 Subject: [ANN] Help with a LiveCode Presentation/Demo In-Reply-To: <7FF7BEFE-689B-4E74-8804-407B8CADC720@gmail.com> References: <7FF7BEFE-689B-4E74-8804-407B8CADC720@gmail.com> Message-ID: <39632659-A413-41B7-80D0-6DF2B83C88D2@sweattechnologies.com> On 05/06/2013, at 4:54 PM, Peter W A Wood wrote: > > It may be a very poor test but it shows how much faster JavaScript can be when compared to LiveCode (and hence the dangers of such comparisons). If you change your code to use put "!" after tHW (which is more similar to +=) it only takes 165 milliseconds in LC. -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From richmondmathewson at gmail.com Wed Jun 5 03:25:19 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 05 Jun 2013 10:25:19 +0300 Subject: (OT) Software Patents and computer based instruction In-Reply-To: <51AE5921.3090501@hyperactivesw.com> References: <55CE0507-171B-4818-B6FB-37E3A41D6869@buffalo.edu> <51AE34A0.6010707@fourthworld.com> <51AE5921.3090501@hyperactivesw.com> Message-ID: <51AEE7DF.2020102@gmail.com> On 06/05/2013 12:16 AM, J. Landman Gay wrote: > On 6/4/13 1:40 PM, Richard Gaskin wrote: >> Timothy Bleiler wrote: >> > The patent process is clearly badly broken. >> >> Case in point: >> >> Method of swinging on a swing >> > > So when a kid does this without being aware of the patent, can the > parents be sued? Obviously the kid has DNA, but what if he doesn't > have a substrate? > Presumably if my kid falls off a swing and breaks her leg I can sue the patent holder for the medical bills + the trauma? From richmondmathewson at gmail.com Wed Jun 5 03:29:27 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 05 Jun 2013 10:29:27 +0300 Subject: Monochrome Woes In-Reply-To: References: <51AB1966.60009@gmail.com> <51AB732E.4070509@gmail.com> <51AB7B7F.1060203@hyperactivesw.com> <51AB7D2F.7030701@hyperactivesw.com> <887637017.20130602102750@ahsoftware.net> <51AB869C.9000700@gmail.com> <3311210806.20130602112724@ahsoftware.net> <51AB8F97.1070605@gmail.com> <413659125.20130602120812@ahsoftware.net> <51ACCE17.2070309@gmail.com> Message-ID: <51AEE8D7.7080305@gmail.com> On 06/05/2013 01:10 AM, Mark Wieder wrote: > Richmond writes: > >> For those who are interested, the icons for LC 6.0.2 are stored in the >> revGeneralIcons stack. > Looking into this again, the icons for the Application Browser are stored on > card id 200593 of the revIcons stack. They're rather dismal. You can copy > the icons from a pre-6.0 LC stack and replace the ones in LC6. You have to > change the icon ids from the messagebox, as the property inspector helpfully > refuses to do so, announcing that those ids are reserved for the IDE. > Remember to save your work. My guess is that there were licensing problems > with the older icon set and so it wasn't compatible with the dual-license > OSS release, and that this was done in a hurry. It's just a guess, but I > can't think of another reason why the better images would have been deprecated. > Probably an aesthetic decision. Frankly, going through that whole process you outline above is too much like hard work. What would be nice is an explanation as to why the icons were changed, seemingly on a whim. It would be very easy indeed (albeit time-consuming) to run up a series of 5 or six wee coloured icons on a stack with a replaceTheIconsYouDoNotLike script. Possibly the best way to do this is to colourise the current monochrome ones :) Richmond. From richmondmathewson at gmail.com Wed Jun 5 03:32:05 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 05 Jun 2013 10:32:05 +0300 Subject: (OT) Software Patents and computer based instruction In-Reply-To: References: Message-ID: <51AEE975.1050307@gmail.com> On 06/05/2013 02:30 AM, Scott Rossi wrote: > Related: I have an illustrator friend who's done work for Marvel, Disney, > and similar large media companies. When it comes to rights/ownership of > work (which is always the company), the contracts provided by the media > companies literally use the word "universe" to describe the extents of > where their ownership applies. So unless you have the ability to travel > to a different universe, your contract always remains in force. The other day I was having a long-distance phone call with a friend of mine who lives on a planet revolving round Alpha Centauri and he pointed out that as they invented a patenting system about 50,000 years before we did all of our patents were not worth a fig in terms of the 'universe'. LOL. Richmond. > > I imagine the corporate lawyers will soon add an addendum that covers time > travel, so you can't go back and break the contract before it was written. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 6/4/13 3:50 PM, "Jim Lambert" wrote: > >> Richard wrote: >>> Case in point: >>> >>> Method of swinging on a swing >>> >> LOL. >> >> The inventor has shortchanged himself by needlessly restricting the >> invention to swings hanging from trees. Write broad claims! :) >> >> Jim Lambert >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From peterwawood at gmail.com Wed Jun 5 04:07:33 2013 From: peterwawood at gmail.com (Peter W A Wood) Date: Wed, 5 Jun 2013 16:07:33 +0800 Subject: [ANN] Help with a LiveCode Presentation/Demo In-Reply-To: <39632659-A413-41B7-80D0-6DF2B83C88D2@sweattechnologies.com> References: <7FF7BEFE-689B-4E74-8804-407B8CADC720@gmail.com> <39632659-A413-41B7-80D0-6DF2B83C88D2@sweattechnologies.com> Message-ID: <835863E9-8CEE-4FFF-92EF-84743BD9DC0C@gmail.com> Monte On 5 Jun 2013, at 15:10, Monte Goulding wrote: >> It may be a very poor test but it shows how much faster JavaScript can be when compared to LiveCode (and hence the dangers of such comparisons). > > If you change your code to use put "!" after tHW (which is more similar to +=) it only takes 165 milliseconds in LC. Thanks. It does indeed take only 165 milliseconds (on my machine). I guess that does re-inforce my warning of the dangers of such comparisons :-) Peter From monte at sweattechnologies.com Wed Jun 5 04:36:14 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 5 Jun 2013 18:36:14 +1000 Subject: [ANN] Help with a LiveCode Presentation/Demo In-Reply-To: <835863E9-8CEE-4FFF-92EF-84743BD9DC0C@gmail.com> References: <7FF7BEFE-689B-4E74-8804-407B8CADC720@gmail.com> <39632659-A413-41B7-80D0-6DF2B83C88D2@sweattechnologies.com> <835863E9-8CEE-4FFF-92EF-84743BD9DC0C@gmail.com> Message-ID: Actually the original code was adding the string and ! To itself so it grew exponentially rather than linearly. The final string would have been very very very long... -- M E R Goulding Software development services mergExt - There's an external for that! On 05/06/2013, at 6:07 PM, Peter W A Wood wrote: > Thanks. It does indeed take only 165 milliseconds (on my machine). I guess that does re-inforce my warning of the dangers of such comparisons :-) From richmondmathewson at gmail.com Wed Jun 5 05:04:16 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 05 Jun 2013 12:04:16 +0300 Subject: Dismal icons and other things I don't like? Message-ID: <51AEFF10.1070206@gmail.com> This is where I am asking for some legal help. I intend to make colour replacement png images for the monochrome png images I don't like in Livecode 6.x.x and offer them in a stack with a button containing a replacement script, as well as a button that will restore the monochrome png images. I would like my coloured png images to be Open Source in exactly the same way as LC 6 is. So, presumably, I have to attach some sort of legal rigmarole to the stack, otherwise the "We patent swings" brigade can grab them and say that they are theirs and one has to stump up moolah for them. Grateful for advice. Richmond. From m_p_wilcox at yahoo.co.uk Wed Jun 5 05:21:48 2013 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Wed, 5 Jun 2013 10:21:48 +0100 (BST) Subject: First App rejected for odd reasons In-Reply-To: <08C4A669-CF2F-4DAC-ADB5-0CCB6A93D60D@icloud.com> References: <53E09AB0-063E-4333-9AEA-9173272A6906@mac.com> <08C4A669-CF2F-4DAC-ADB5-0CCB6A93D60D@icloud.com> Message-ID: <1370424108.7096.YahooMailNeo@web28801.mail.ir2.yahoo.com> >> I may be wrong about this (can anyone verify?), but if you're building for iOS 5 or later, you should be perfectly safe selecting armv7 only and building for that, since any devices capable of running iOS 5 and above are armv7 devices only. Yes, this is correct and a good idea - the iPhone 3G was the last device to have an ARMv6 processor and that can only run iOS 4.3 or earlier - that's why Apple has dropped support for armv6 builds from the more recent Xcode versions. I expect (really hope) that LiveCode only duplicates the engine code within the Universal binary and puts the main stack in a data section that is shared by both code variants - if that's the case, this might only save you a few megabytes of engine code, but you should do it anyway - iOS5+ with armv6 is pure waste. I'd not seen the main executable size issue before and a quick Google suggests both this and the not yet mandatory PIE warning are new. ?This is either a subtle crackdown on low quality apps produced by tools other than XCode or there are some new products or tools on the way which will care about this in the future. ?I'll bring it up on the engine forum. As I understand it, only the main stack is actually bundled inside the executable in a standalone, so a simple fix would be to create a launcher stack as your main stack which simply loads the previous main stack which you can include in the bundle separately. ?However, creating apps much, much larger than they need to be is not friendly to your users. ?Large images should be JPEG compressed - if they contain text that loses quality due to JPEG compression then split the images up (or if it's all text, store it as text not an image!). ?Audio should also be in a suitable compressed format (i.e. not WAV). In this case it sounds like LiveCode 6's application browser might be handy for finding out what's actually inside the stack easily, then removing all the media and referencing it externally. ?Otherwise it might be easier to rebuild the stack by copying the scripts across into a new one that only references external media from the start? Mark ________________________________ From: Chris Sheffield To: How to use LiveCode Sent: Monday, 3 June 2013, 20:54 Subject: Re: First App rejected for odd reasons Another thought. In the standalone settings, are you building a universal binary? I may be wrong about this (can anyone verify?), but if you're building for iOS 5 or later, you should be perfectly safe selecting armv7 only and building for that, since any devices capable of running iOS 5 and above are armv7 devices only. This may also reduce the size of your executable. From m_p_wilcox at yahoo.co.uk Wed Jun 5 05:50:02 2013 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Wed, 5 Jun 2013 10:50:02 +0100 (BST) Subject: mobile image gallery / slider - web or standalone based? In-Reply-To: References: Message-ID: <1370425802.16069.YahooMailNeo@web28806.mail.ir2.yahoo.com> Hi Matthias, If you go the LiveCode route you can download updates to images in the background to add/replace existing ones in the app - just make sure you include the images external to the stack. ?No need to do app updates to replace images. If you went the browser/jqtouch route in a native app you could also use standard web cache control features so the images didn't get reloaded all the time - you just have to manually persist your own browser cache between app launches. ?I don't know for sure but I doubt LiveCode does this last bit for you, so the web option is not as flexible right now and the slide/scroll performance will be poorer (a LiveCode swipe should move the image with your finger, like you're actually dragging the page, while the jqtouch version lags, so you've already swiped when the image starts moving). If you really prefer to create the gallery with web technology then you could use LiveCode to download updates to local files and have your web content reference those, rather than remote images directly. The downside to loading the images in the background with LiveCode at present is I don't think you can get the HTTP headers for the image files with LiveCode (which would let you check things like last modified date on files and folders on the web server) so you'd have to maintain a small file on your web server with details of the latest files and their modification dates so the app can figure out what it need to download in order to avoid lots of repeated downloads of the same files. ?Does that make sense? Mark ________________________________ From: Matthias Rebbe To: How to use LiveCode Sent: Monday, 3 June 2013, 19:43 Subject: mobile image gallery / slider - web or standalone based? Hi, what would be the best way to create a mobile image gallery with slider effect. I have to include an image gallery in an mobile app (ios and android). Would it be better to realize that image gallery slider (swiping with the finger) as? web based thing with jqtouch and use a native browser to integrate that in the mobile app? Advantage would be the ease of adding/replacing images. Disadvantage: The user does need an internet connection to see the images. Or is it much better to include all 30 images within the app and create the image gallery/slider with livecode? Advantage: Images are already on the device. No need to download them again and again. Disadvantage: Adding/replacing images? means updating the app in the stores I would prefer to create a web based image gallery and show that in a native browser control. What do you think? Regards, Matthias _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From lan.kc.macmail at gmail.com Wed Jun 5 05:53:04 2013 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 5 Jun 2013 17:53:04 +0800 Subject: [ANN] Help with a LiveCode Presentation/Demo In-Reply-To: References: <7FF7BEFE-689B-4E74-8804-407B8CADC720@gmail.com> <39632659-A413-41B7-80D0-6DF2B83C88D2@sweattechnologies.com> <835863E9-8CEE-4FFF-92EF-84743BD9DC0C@gmail.com> Message-ID: Monte, Very interesting, but you've made a mistake as well. Both your code and Peter's produce exactly the same string, there is no exponential growth. I created the following script: on mouseUp -- yes it's not a million cause I couldn't wait put 100000 into tRepeats put the long seconds into tStart put "Hello" into tHW repeat tRepeats times put tHW & "!" into tHW end repeat put the long seconds into tEnd put tEnd - tStart into tTimeTaken put "INTO took " &tTimeTaken & cr into msg put the long seconds into tStart put "Hello" into tWH repeat tRepeats times put "!" after tWH end repeat put the long seconds into tEnd put tEnd - tStart into tTimeTaken put "AFTER took " &tTimeTaken & cr after msg if (tWH = tWH) then put "TRUE" after msg else put "FALSE" after msg end if end mouseUp On my machine both strings end up equal. This appears to be like 'repeat for each' which we've all learnt is generally much faster than any other repeat loop. For reasons I certainly can't explain, LC seems to handle 'put after' exponentially faster than 'put into'. As Peter cautioned, speed comparisons are fraught with comparing Apples with Cheeses, but in this case, it made me look into V8 and I see, just like SC and MC learnt a long time ago, a better optimised engine makes a world of difference. It also emphasis what Richard Gaskin keeps telling us, that if speed matters, you'll need to skin the cat a couple of different ways to actually determine which IS the fastest LC code. I've now amended my Google Spreadsheet to indicate LC and JavaScript are similar in speed. Thanks On Wed, Jun 5, 2013 at 4:36 PM, Monte Goulding wrote: > Actually the original code was adding the string and ! To itself so it > grew exponentially rather than linearly. The final string would have been > very very very long... > > -- > M E R Goulding > Software development services > > mergExt - There's an external for that! > > On 05/06/2013, at 6:07 PM, Peter W A Wood wrote: > > > Thanks. It does indeed take only 165 milliseconds (on my machine). I > guess that does re-inforce my warning of the dangers of such comparisons :-) > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From lan.kc.macmail at gmail.com Wed Jun 5 05:57:00 2013 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 5 Jun 2013 17:57:00 +0800 Subject: [ANN] Help with a LiveCode Presentation/Demo In-Reply-To: References: <7FF7BEFE-689B-4E74-8804-407B8CADC720@gmail.com> <39632659-A413-41B7-80D0-6DF2B83C88D2@sweattechnologies.com> <835863E9-8CEE-4FFF-92EF-84743BD9DC0C@gmail.com> Message-ID: Sorry, typo... if (tWH = tWH) then should actually read if (tWH = tHW) then It really does produce the same string, I wasn't trying to rig the results. Thanks On Wed, Jun 5, 2013 at 5:53 PM, Kay C Lan wrote: > Monte, > > Very interesting, but you've made a mistake as well. Both your code and > Peter's produce exactly the same string, there is no exponential growth. > > I created the following script: > > on mouseUp > -- yes it's not a million cause I couldn't wait > put 100000 into tRepeats > > put the long seconds into tStart > put "Hello" into tHW > repeat tRepeats times > > put tHW & "!" into tHW > end repeat > put the long seconds into tEnd > put tEnd - tStart into tTimeTaken > put "INTO took " &tTimeTaken & cr into msg > > put the long seconds into tStart > put "Hello" into tWH > repeat tRepeats times > put "!" after tWH > > end repeat > put the long seconds into tEnd > put tEnd - tStart into tTimeTaken > put "AFTER took " &tTimeTaken & cr after msg > if (tWH = tWH) then > put "TRUE" after msg > else > put "FALSE" after msg > end if > end mouseUp > > On my machine both strings end up equal. This appears to be like 'repeat > for each' which we've all learnt is generally much faster than any other > repeat loop. For reasons I certainly can't explain, LC seems to handle 'put > after' exponentially faster than 'put into'. > > As Peter cautioned, speed comparisons are fraught with comparing Apples > with Cheeses, but in this case, it made me look into V8 and I see, just > like SC and MC learnt a long time ago, a better optimised engine makes a > world of difference. It also emphasis what Richard Gaskin keeps telling us, > that if speed matters, you'll need to skin the cat a couple of different > ways to actually determine which IS the fastest LC code. > > I've now amended my Google Spreadsheet to indicate LC and JavaScript are > similar in speed. > > Thanks > > > On Wed, Jun 5, 2013 at 4:36 PM, Monte Goulding < > monte at sweattechnologies.com> wrote: > >> Actually the original code was adding the string and ! To itself so it >> grew exponentially rather than linearly. The final string would have been >> very very very long... >> >> -- >> M E R Goulding >> Software development services >> >> mergExt - There's an external for that! >> >> On 05/06/2013, at 6:07 PM, Peter W A Wood wrote: >> >> > Thanks. It does indeed take only 165 milliseconds (on my machine). I >> guess that does re-inforce my warning of the dangers of such comparisons :-) >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From rabit at revigniter.com Wed Jun 5 06:39:01 2013 From: rabit at revigniter.com (Ralf Bitter) Date: Wed, 5 Jun 2013 12:39:01 +0200 Subject: RELEASE: LiveCode 6.0.2 In-Reply-To: <10353E49-F270-4A10-83A8-8A2E34C448F9@m-r-d.de> References: <10353E49-F270-4A10-83A8-8A2E34C448F9@m-r-d.de> Message-ID: <964DA8E7-B663-4C36-B2ED-88873C0FB63F@revigniter.com> On 04.06.2013, at 22:49, Matthias Rebbe wrote: > Hi Ben, > > when will LC Server 6.02 commercial be released? > > Regards, > > Matthias > This is definitely a reasonable question because: The community version of LiveCode server prevents using protected stacks. The current commercial version is 5.0.2. So, I, too, would like to know when the latest (6.0.2) version of the server engine will be available for those who have a commercial license. Ralf From klaus at major-k.de Wed Jun 5 06:47:55 2013 From: klaus at major-k.de (Klaus major-k) Date: Wed, 5 Jun 2013 12:47:55 +0200 Subject: Datagrid Header alignment? Message-ID: Hi friends, see subject, I searched the complete DataGrid PDF but did not find any info about aligning the HEADER of a TABLE datagrid. Maybe this feature is really missing in the DG lib? Any hints VERY welcome before I "feature request" this. :-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From monte at sweattechnologies.com Wed Jun 5 07:14:36 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 5 Jun 2013 21:14:36 +1000 Subject: [ANN] Help with a LiveCode Presentation/Demo In-Reply-To: References: <7FF7BEFE-689B-4E74-8804-407B8CADC720@gmail.com> <39632659-A413-41B7-80D0-6DF2B83C88D2@sweattechnologies.com> <835863E9-8CEE-4FFF-92EF-84743BD9DC0C@gmail.com> Message-ID: On 05/06/2013, at 7:53 PM, Kay C Lan wrote: > Both your code and > Peter's produce exactly the same string, there is no exponential growth. Ah... I was trying to explain the difference but replying from my phone where I couldn't see the original code... serves me right... -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From dixonja at hotmail.co.uk Wed Jun 5 08:10:17 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Wed, 5 Jun 2013 13:10:17 +0100 Subject: Successful recipe for LC iPhone apps... Message-ID: There seems to be lots of stories about rejection of LC apps from the iTunes store around.. What is the position regarding submission these days in the ever shifting sands of Apples' whims ? Has the iphone app got to be built at 640 x 960 ? What has position independant code got to do with building the app in liveCode ? I have an app ready for submission, but it has been built at 320 x 480... reading the stories on the forums it seems that submitting at this size will attract a rejection... is this correct ? Anybody submitted one recently and it got through ?.... From klaus at major-k.de Wed Jun 5 08:29:55 2013 From: klaus at major-k.de (Klaus major-k) Date: Wed, 5 Jun 2013 14:29:55 +0200 Subject: first steps in iOS, native scroll a datagrid Message-ID: Hi friends, I am currently making my first serious stps in iOS and cannot get my DG to scroll? I am sure I am missing something obvious, but cannot find a solution. In any case the DG does not scroll :-/ Any hints much appreciated, thanks! Here my card script: #################################################### local sScrollerID on preopencard lock screen if the environment <> "mobile" then exit preOpenCard end if MobileControlCreate "scroller" put the result into sScrollerId MobileControlSet sScrollerId, "rect", (the rect of grp "Datagrid 1") put the width of grp "Datafgrid 1" into tWidth put the dgFormattedheight of grp "Datagrid 1" into tHeight MobileControlSet sScrollerId, "contentRect", (0,0,tWidth,tHeight) MobileControlSet sScrollerId, "visible", "true" MobileControlSet sScrollerId, "canBounce", "true" MobileControlSet sScrollerId, "pagingEnabled", "false" MobileControlSet sScrollerId, "canScrollToTop", "false" end preopencard on scrollerDidScroll OffsetX, OffsetY lock screen ## Need only VScroll ## set the dghScroll of grp "DataGrid 1" to OffsetX set the dgvScroll of grp "DataGrid 1" to OffsetY ##set the Scroll of grp "DataGrid 1" to OffsetY unlock screen end scrollerDidScroll ##################################################### Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From skip at magicgate.com Wed Jun 5 08:36:11 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Wed, 5 Jun 2013 08:36:11 -0400 Subject: Successful recipe for LC iPhone apps... In-Reply-To: References: Message-ID: >From what I understand, yes, it needs to be built for iPhone 5 specifications or it will be rejected. SKIP On Wed, Jun 5, 2013 at 8:10 AM, John Dixon wrote: > There seems to be lots of stories about rejection of LC apps from the > iTunes store around.. > What is the position regarding submission these days in the ever shifting > sands of Apples' whims ? > > Has the iphone app got to be built at 640 x 960 ? > What has position independant code got to do with building the app in > liveCode ? > > I have an app ready for submission, but it has been built at 320 x 480... > reading the stories on the forums it seems that submitting at this size > will attract a rejection... is this correct ? > > Anybody submitted one recently and it got through ?.... > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mcgrath3 at mac.com Wed Jun 5 08:41:29 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Wed, 05 Jun 2013 08:41:29 -0400 Subject: First App rejected for odd reasons In-Reply-To: <1370424108.7096.YahooMailNeo@web28801.mail.ir2.yahoo.com> References: <53E09AB0-063E-4333-9AEA-9173272A6906@mac.com> <08C4A669-CF2F-4DAC-ADB5-0CCB6A93D60D@icloud.com> <1370424108.7096.YahooMailNeo@web28801.mail.ir2.yahoo.com> Message-ID: <64024F3B-5F72-4219-8290-2AE7B3CDF3C7@mac.com> Mark, At first I wanted to object to the need for JPEG only for large images as all of the research that I have done (especially concerning transparency issues) has told me to never use JPEG (except for the web) in most of my apps but then I realized that I have not tested those same results for iOS and Android engines, so I will need to do those tests again to verify/reject my findings. That said, using 2048 png's with transparency layers on fourteen cards with special visual effects and playing song files on one channel and a voice over on another channel did not slow down either the logic code or the effects code. I created a Ken Burns effect in LC and it runs as smoothly with the larger images as it does with smaller variations. So I'm not sure what would constitute a stack being 'much larger' than it needs to be - in my first case it was the main stack that was large and now it is the images folder that is large - either way the download is going to be the same size and be too big for cellular download (which is why I believe Apple has that warning in the first place.) I would not think that 14 retina sized images on 14 different cards is too large for a mobile app and that instead they must be referenced and that that would be a requirement. Normally I think if it was like 50 images it should be referenced but not just 14. Most LC projects I have seen all use lower quality images or regular 1024 images enlarged for retina via code, but they are definitely not retina images. All of that said, I think what you stated is spot on and should be included in a best practices type document somewhere for mobile development. Maybe with some recommendations for audio and compression comparisons. Thanks, Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jun 5, 2013, at 5:21 AM, Mark Wilcox wrote: >>> I may be wrong about this (can anyone verify?), but if you're building for iOS 5 or later, you should be perfectly safe selecting armv7 only and building for that, since any devices capable of running iOS 5 and above are armv7 devices only. > > > Yes, this is correct and a good idea - the iPhone 3G was the last device to have an ARMv6 processor and that can only run iOS 4.3 or earlier - that's why Apple has dropped support for armv6 builds from the more recent Xcode versions. > > I expect (really hope) that LiveCode only duplicates the engine code within the Universal binary and puts the main stack in a data section that is shared by both code variants - if that's the case, this might only save you a few megabytes of engine code, but you should do it anyway - iOS5+ with armv6 is pure waste. > > I'd not seen the main executable size issue before and a quick Google suggests both this and the not yet mandatory PIE warning are new. This is either a subtle crackdown on low quality apps produced by tools other than XCode or there are some new products or tools on the way which will care about this in the future. I'll bring it up on the engine forum. > > As I understand it, only the main stack is actually bundled inside the executable in a standalone, so a simple fix would be to create a launcher stack as your main stack which simply loads the previous main stack which you can include in the bundle separately. However, creating apps much, much larger than they need to be is not friendly to your users. Large images should be JPEG compressed - if they contain text that loses quality due to JPEG compression then split the images up (or if it's all text, store it as text not an image!). Audio should also be in a suitable compressed format (i.e. not WAV). > > In this case it sounds like LiveCode 6's application browser might be handy for finding out what's actually inside the stack easily, then removing all the media and referencing it externally. Otherwise it might be easier to rebuild the stack by copying the scripts across into a new one that only references external media from the start? > > Mark > > > ________________________________ > From: Chris Sheffield > To: How to use LiveCode > Sent: Monday, 3 June 2013, 20:54 > Subject: Re: First App rejected for odd reasons > > > Another thought. In the standalone settings, are you building a universal binary? I may be wrong about this (can anyone verify?), but if you're building for iOS 5 or later, you should be perfectly safe selecting armv7 only and building for that, since any devices capable of running iOS 5 and above are armv7 devices only. This may also reduce the size of your executable. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gerry.orkin at gmail.com Wed Jun 5 09:15:06 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Wed, 5 Jun 2013 23:15:06 +1000 Subject: first steps in iOS, native scroll a datagrid In-Reply-To: References: Message-ID: <9851D469-54FF-4C83-BBF5-E4CB9A4B270F@gmail.com> Your datagrid should be an object within a locked group. You then set the vScroll of the datagrid relative to that group when the user swipes the screen.. g On 05/06/2013, at 10:29 PM, Klaus major-k wrote: > set the dgvScroll of grp "DataGrid 1" to OffsetY From harrison at all-auctions.com Wed Jun 5 09:15:25 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Wed, 5 Jun 2013 09:15:25 -0400 Subject: Successful recipe for LC iPhone apps... In-Reply-To: References: Message-ID: <1DFAB634-8F37-4667-8A45-FD085D274283@all-auctions.com> Hi John, Apple told developers that starting in May all apps must provide support for retina display devices at the proper resolution for those devices. Its just another pain in the a? Good luck! Rick On Jun 5, 2013, at 8:10 AM, John Dixon wrote: > There seems to be lots of stories about rejection of LC apps from the iTunes store around.. > What is the position regarding submission these days in the ever shifting sands of Apples' whims ? > > Has the iphone app got to be built at 640 x 960 ? > What has position independant code got to do with building the app in liveCode ? > > I have an app ready for submission, but it has been built at 320 x 480... reading the stories on the forums it seems that submitting at this size will attract a rejection... is this correct ? > > Anybody submitted one recently and it got through ?.... > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Jun 5 09:18:33 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 05 Jun 2013 16:18:33 +0300 Subject: RELEASE: LiveCode 6.0.2 In-Reply-To: <964DA8E7-B663-4C36-B2ED-88873C0FB63F@revigniter.com> References: <10353E49-F270-4A10-83A8-8A2E34C448F9@m-r-d.de> <964DA8E7-B663-4C36-B2ED-88873C0FB63F@revigniter.com> Message-ID: <51AF3AA9.6060605@gmail.com> On 06/05/2013 01:39 PM, Ralf Bitter wrote: > On 04.06.2013, at 22:49, Matthias Rebbe wrote: > >> Hi Ben, >> >> when will LC Server 6.02 commercial be released? >> >> Regards, >> >> Matthias >> > > This is definitely a reasonable question because: > > The community version of LiveCode server prevents > using protected stacks. > > The current commercial version is 5.0.2. That's odd, I thought it was 5.5.5? Or maybe that is only for the non-Server version. > So, I, too, would like to know when the latest (6.0.2) > version of the server engine will be available > for those who have a commercial license. > > > Ralf > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Wed Jun 5 09:26:34 2013 From: klaus at major-k.de (Klaus major-k) Date: Wed, 5 Jun 2013 15:26:34 +0200 Subject: first steps in iOS, native scroll a datagrid In-Reply-To: <9851D469-54FF-4C83-BBF5-E4CB9A4B270F@gmail.com> References: <9851D469-54FF-4C83-BBF5-E4CB9A4B270F@gmail.com> Message-ID: Hi Gery, Am 05.06.2013 um 15:15 schrieb Gerry Orkin : > Your datagrid should be an object within a locked group. You then set the vScroll of the datagrid relative to that group when the user swipes the screen.. thank you! OK, so I need to GROUP the datagrid, anything else I need to do? Sorry, complete newbie to THIS stuff 8-) > g > > On 05/06/2013, at 10:29 PM, Klaus major-k wrote: >> set the dgvScroll of grp "DataGrid 1" to OffsetY Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From mcgrath3 at mac.com Wed Jun 5 09:28:47 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Wed, 05 Jun 2013 09:28:47 -0400 Subject: First App rejected for odd reasons In-Reply-To: <64024F3B-5F72-4219-8290-2AE7B3CDF3C7@mac.com> References: <53E09AB0-063E-4333-9AEA-9173272A6906@mac.com> <08C4A669-CF2F-4DAC-ADB5-0CCB6A93D60D@icloud.com> <1370424108.7096.YahooMailNeo@web28801.mail.ir2.yahoo.com> <64024F3B-5F72-4219-8290-2AE7B3CDF3C7@mac.com> Message-ID: I hope that didn't sound argumentative. I think this topic needs more discussion and input. Thanks again Mark for the input on this. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jun 5, 2013, at 8:41 AM, Thomas McGrath III wrote: > Mark, > > At first I wanted to object to the need for JPEG only for large images as all of the research that I have done (especially concerning transparency issues) has told me to never use JPEG (except for the web) in most of my apps but then I realized that I have not tested those same results for iOS and Android engines, so I will need to do those tests again to verify/reject my findings. That said, using 2048 png's with transparency layers on fourteen cards with special visual effects and playing song files on one channel and a voice over on another channel did not slow down either the logic code or the effects code. I created a Ken Burns effect in LC and it runs as smoothly with the larger images as it does with smaller variations. So I'm not sure what would constitute a stack being 'much larger' than it needs to be - in my first case it was the main stack that was large and now it is the images folder that is large - either way the download is going to be the same size and be too big for > cellular download (which is why I believe Apple has that warning in the first place.) I would not think that 14 retina sized images on 14 different cards is too large for a mobile app and that instead they must be referenced and that that would be a requirement. Normally I think if it was like 50 images it should be referenced but not just 14. Most LC projects I have seen all use lower quality images or regular 1024 images enlarged for retina via code, but they are definitely not retina images. > > All of that said, I think what you stated is spot on and should be included in a best practices type document somewhere for mobile development. Maybe with some recommendations for audio and compression comparisons. > > Thanks, > > Tom From alanstenhouse at hotmail.com Wed Jun 5 10:11:21 2013 From: alanstenhouse at hotmail.com (Alan Stenhouse) Date: Wed, 5 Jun 2013 16:11:21 +0200 Subject: first steps in iOS, native scroll a datagrid In-Reply-To: References: Message-ID: Hi Klaus that should work as you've got it. However, you have an error in the following line: put the width of grp "Datafgrid 1" into tWidth it should be grp "Datagrid 1" -- i.e. no "f" in the name That may explain why your scroller isn't quite working as you expect. Another thing to do in iOS for debugging - use some "put" statements which will output the statement to the /var/log/system.log file, when using the simulator. HTH, good luck! cheers Alan -- Alan Stenhouse alanstenhouse at hotmail.com Check out our apps on the App Store: BeatSpeak - the multilingual talking metronome; EV-Point - Find your nearest Electric Vehicle Recharge Station. On 05/06/2013, at 3:28 PM, use-livecode-request at lists.runrev.com wrote: > on scrollerDidScroll OffsetX, OffsetY > lock screen > > ## Need only VScroll > ## set the dghScroll of grp "DataGrid 1" to OffsetX > set the dgvScroll of grp "DataGrid 1" to OffsetY > ##set the Scroll of grp "DataGrid 1" to OffsetY > unlock screen > end scrollerDidScroll From coiin at verizon.net Wed Jun 5 10:35:20 2013 From: coiin at verizon.net (Colin Holgate) Date: Wed, 05 Jun 2013 10:35:20 -0400 Subject: first steps in iOS, native scroll a datagrid In-Reply-To: References: <9851D469-54FF-4C83-BBF5-E4CB9A4B270F@gmail.com> Message-ID: It will help if you use the right name: put the width of grp "Datafgrid 1" into tWidth I don't think that "f" should be in there. On Jun 5, 2013, at 9:26 AM, Klaus major-k wrote: > > >OK, so I need to GROUP the datagrid, anything else I need to do? > Sorry, complete newbie to THIS stuff 8-) From klaus at major-k.de Wed Jun 5 10:37:05 2013 From: klaus at major-k.de (Klaus major-k) Date: Wed, 5 Jun 2013 16:37:05 +0200 Subject: first steps in iOS, native scroll a datagrid In-Reply-To: References: Message-ID: <700E201C-27F5-4FFA-868E-0DECBD2A1976@major-k.de> Hi all, Am 05.06.2013 um 14:29 schrieb Klaus major-k : > Hi friends, > > I am currently making my first serious stps in iOS and cannot get my DG to scroll? > I am sure I am missing something obvious, but cannot find a solution. > In any case the DG does not scroll :-/ > > Any hints much appreciated, thanks! > > Here my card script: > #################################################### > local sScrollerID > > on preopencard > ... > end scrollerDidScroll > ##################################################### info: This DOES indeed wort, when i create the native control on OPENCARD. Not works when creating on PREOPENCARD, althohg it should... Anyway, I got it working now! :-) > Best > > Klaus Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From klaus at major-k.de Wed Jun 5 10:38:30 2013 From: klaus at major-k.de (Klaus major-k) Date: Wed, 5 Jun 2013 16:38:30 +0200 Subject: first steps in iOS, native scroll a datagrid In-Reply-To: References: <9851D469-54FF-4C83-BBF5-E4CB9A4B270F@gmail.com> Message-ID: <9FD7FB72-D0A8-4651-99AE-3A069CC835B4@major-k.de> Hi Colin, Am 05.06.2013 um 16:35 schrieb Colin Holgate : > It will help if you use the right name: > put the width of grp "Datafgrid 1" into tWidth > I don't think that "f" should be in there. yep, that was typo, but did not fix the problem. As I wrote in my last post, creating the native control on OPENCARD instead of PREOPENCARD fixed it for me!? Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From m_p_wilcox at yahoo.co.uk Wed Jun 5 10:40:35 2013 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Wed, 5 Jun 2013 15:40:35 +0100 (BST) Subject: First App rejected for odd reasons In-Reply-To: <64024F3B-5F72-4219-8290-2AE7B3CDF3C7@mac.com> References: <53E09AB0-063E-4333-9AEA-9173272A6906@mac.com> <08C4A669-CF2F-4DAC-ADB5-0CCB6A93D60D@icloud.com> <1370424108.7096.YahooMailNeo@web28801.mail.ir2.yahoo.com> <64024F3B-5F72-4219-8290-2AE7B3CDF3C7@mac.com> Message-ID: <1370443235.39523.YahooMailNeo@web28806.mail.ir2.yahoo.com> Hi Tom, No need to test JPEGs again on iOS/Android - the JPEG format itself doesn't support transparency! :) If you need transparency then there is another option which is to store the image and it's mask (effectively alpha channel) separately, although I've not worked with these features in LiveCode. If you have a number of very large images such that your app is genuinely hundreds of megabytes it's worth doing some optimisation - some users will not download really big apps to avoid using up limited storage space on their device. ?From a performance perspective any further compression of the data (e.g. JPEGs are smaller) actually makes more work for the device decompressing it although you're unlikely to notice the difference - it's only when you're downloading the images that making them smaller improves performance. One uncompressed image at iPad retina resolution is at least 12MB. 14 of those is 168MB. ?I generalised on "large images" before - PNGs can be very good for compressing images with relatively few colours in large blocks but terrible for compressing photographs. ?That said, sticking with PNG there are ways to get the exact same image much smaller with a better compressor. ?Take a look at this: http://imageoptim.com/ipad.html On the engine forum Mark Waddingham has said that they can tweak the build process to remove images (and even the main stack) from the executable fairly easily for future releases. ?Then the executable will only be about the size of the compiled engine, even if the app itself is much bigger. Mark's response also hinted that maybe if you're building a universal binary (i.e. more than just armv7) you might be getting 2 copies of everything in the main stack within the executable. >> So I'm not sure what would constitute a stack being 'much larger' than it needs to be - in my first case it was the main stack that was large and now it is the images folder that is large - either way the download is going to be the same size and be too big for cellular download (which is why I believe Apple has that warning in the first place.) Well, for a photograph, a PNG might give you 4:1 compression while due to the "retina" nature of the iPad display you typically can't see the reduced quality for the same image at medium quality 40:1 JPEG compression - full resolution with more compression usually looks better than 25% (original iPad) resolution with less compression. ?I'd say 10x the size is "much bigger". :) The size restriction is new and unrelated to the 3G download limit (which is 50MB). For now we can only speculate what the limit is for. Mark ________________________________ From: Thomas McGrath III To: How to use LiveCode Sent: Wednesday, 5 June 2013, 13:41 Subject: Re: First App rejected for odd reasons Mark, At first I wanted to object to the need for JPEG only for large images as all of the research that I have done (especially concerning transparency issues) has told me to never use JPEG (except for the web) in most of my apps but then I realized that I have not tested those same results for iOS and Android engines, so I will need to do those tests again to verify/reject my findings. That said, using 2048 png's with transparency layers on fourteen cards with special visual effects and playing song files on one channel and a voice over on another channel did not slow down either the logic code or the effects code. I created a Ken Burns effect in LC and it runs as smoothly with the larger images as it does with smaller variations. So I'm not sure what would constitute a stack being 'much larger' than it needs to be - in my first case it was the main stack that was large and now it is the images folder that is large - either way the download is going to be the same size and be too big for cellular download (which is why I believe Apple has that warning in the first place.) I would not think that 14 retina sized images on 14 different cards is too large for a mobile app and that instead they must be referenced and that that would be a requirement. Normally I think if it was like 50 images it should be referenced but not just 14. Most LC projects I have seen all use lower quality images or regular 1024 images enlarged for retina via code, but they are definitely not retina images. All of that said, I think what you stated is spot on and should be included in a best practices type document somewhere for mobile development. Maybe with some recommendations for audio and compression comparisons. Thanks, Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com From rabit at revigniter.com Wed Jun 5 10:49:51 2013 From: rabit at revigniter.com (Ralf Bitter) Date: Wed, 5 Jun 2013 16:49:51 +0200 Subject: RELEASE: LiveCode 6.0.2 In-Reply-To: <51AF3AA9.6060605@gmail.com> References: <10353E49-F270-4A10-83A8-8A2E34C448F9@m-r-d.de> <964DA8E7-B663-4C36-B2ED-88873C0FB63F@revigniter.com> <51AF3AA9.6060605@gmail.com> Message-ID: <78130C76-FB78-4DB3-82EE-D0293C2A9677@revigniter.com> 5.0.2 is the current commercial version of the server engine. At least this is what I get at the store having an active commercial license. Ralf On 05.06.2013, at 15:18, Richmond wrote: >> This is definitely a reasonable question because: >> >> The community version of LiveCode server prevents >> using protected stacks. >> >> The current commercial version is 5.0.2. > > That's odd, I thought it was 5.5.5? > > Or maybe that is only for the non-Server version. From m_p_wilcox at yahoo.co.uk Wed Jun 5 11:06:18 2013 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Wed, 5 Jun 2013 16:06:18 +0100 (BST) Subject: Successful recipe for LC iPhone apps... In-Reply-To: References: Message-ID: <1370444778.14675.YahooMailNeo@web28804.mail.ir2.yahoo.com> I haven't submitted an app but here's my take on the official Apple stance and what it means: All apps have to support the iPhone 5 resolution (or 4" Retina) and retina displays since May 1st. The iPhone 5 thing is clear - your app must scale to that resolution and not run in compatibility mode (with the black bars top and bottom). ?IIRC you need to include a Default-568h at 2x.png file (640x1136 px) image for the system not to put you in compatibility mode - even if it's a plain black one. The retina display support thing is not clear - if your app doesn't look great on a retina display they might reject it. ?Scaling images up programatically is definitely not banned though. ?If you're building native apps with Xcode they obviously want you to include @2x variants of all your images but the situation for apps built with other tools is less clear. I'm guessing most apps that include the default.png in all the @2x variants will probably be OK for now, since that's the only thing they can easily check programatically at submission time. Position independent code is only a warning for now and RunRev will fix that problem in a forthcoming release by setting the appropriate compile/link flags - looks like it's to do with a new security feature Apple are enabling to get better traction in the enterprise market. You do definitely need LC 6.0.2 (or 5.5.5) to get the UDID fix though. Mark ________________________________ From: John Dixon To: "use-livecode at lists.runrev.com" Sent: Wednesday, 5 June 2013, 13:10 Subject: Successful recipe for LC iPhone apps... There seems to be lots of stories about rejection of LC apps from the iTunes store around.. What is the position regarding submission these days in the ever shifting sands of Apples' whims ? Has the iphone app got to be built at 640 x 960 ? What has position independant code got to do with building the app in liveCode ? I have an app ready for submission, but it has been built at 320 x 480... reading the stories on the forums it seems that submitting at this size will attract a rejection... is this correct ? Anybody submitted one recently and it got through ?.... ??? ??? ??? ? ??? ??? ? _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dixonja at hotmail.co.uk Wed Jun 5 11:38:31 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Wed, 5 Jun 2013 16:38:31 +0100 Subject: Successful recipe for LC iPhone apps... In-Reply-To: <1370444778.14675.YahooMailNeo@web28804.mail.ir2.yahoo.com> References: , <1370444778.14675.YahooMailNeo@web28804.mail.ir2.yahoo.com> Message-ID: Mark... Thanks for the reply... I have already a couple of apps in the store that will run at the correct size, ie both on the iphone 4 and the iphone 5... I am not using any images... I am vague about whether we have to now only develop in a stack size of 640 x 960, for the iphone 4 or 640 x 1136 for the 5... or can I still lay it out at 320 x 480 as long as graphics and buttons are moved to appropriate places if the user should choose the run the app on an iphone 5 ? > Date: Wed, 5 Jun 2013 16:06:18 +0100 > From: m_p_wilcox at yahoo.co.uk > Subject: Re: Successful recipe for LC iPhone apps... > To: use-livecode at lists.runrev.com > > I haven't submitted an app but here's my take on the official Apple stance and what it means: > > All apps have to support the iPhone 5 resolution (or 4" Retina) and retina displays since May 1st. > > The iPhone 5 thing is clear - your app must scale to that resolution and not run in compatibility mode (with the black bars top and bottom). IIRC you need to include a Default-568h at 2x.png file (640x1136 px) image for the system not to put you in compatibility mode - even if it's a plain black one. > > The retina display support thing is not clear - if your app doesn't look great on a retina display they might reject it. Scaling images up programatically is definitely not banned though. If you're building native apps with Xcode they obviously want you to include @2x variants of all your images but the situation for apps built with other tools is less clear. I'm guessing most apps that include the default.png in all the @2x variants will probably be OK for now, since that's the only thing they can easily check programatically at submission time. > > Position independent code is only a warning for now and RunRev will fix that problem in a forthcoming release by setting the appropriate compile/link flags - looks like it's to do with a new security feature Apple are enabling to get better traction in the enterprise market. > > You do definitely need LC 6.0.2 (or 5.5.5) to get the UDID fix though. > > Mark > > > ________________________________ > From: John Dixon > To: "use-livecode at lists.runrev.com" > Sent: Wednesday, 5 June 2013, 13:10 > Subject: Successful recipe for LC iPhone apps... > > > There seems to be lots of stories about rejection of LC apps from the iTunes store around.. > What is the position regarding submission these days in the ever shifting sands of Apples' whims ? > > Has the iphone app got to be built at 640 x 960 ? > What has position independant code got to do with building the app in liveCode ? > > I have an app ready for submission, but it has been built at 320 x 480... reading the stories on the forums it seems that submitting at this size will attract a rejection... is this correct ? > > Anybody submitted one recently and it got through ?.... > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Wed Jun 5 11:50:08 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 5 Jun 2013 08:50:08 -0700 Subject: Datagrid Header alignment? In-Reply-To: References: Message-ID: set the dgHeaderAilgnment[]of group "yourdtagridname" to "left" ( or center or right). Pete lcSQL Software On Wed, Jun 5, 2013 at 3:47 AM, Klaus major-k wrote: > Hi friends, > > see subject, I searched the complete DataGrid PDF but did not find any info > about aligning the HEADER of a TABLE datagrid. > Maybe this feature is really missing in the DG lib? > > Any hints VERY welcome before I "feature request" this. :-) > > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Wed Jun 5 11:57:45 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 05 Jun 2013 08:57:45 -0700 Subject: [ANN] Help with a LiveCode Presentation/Demo In-Reply-To: <39632659-A413-41B7-80D0-6DF2B83C88D2@sweattechnologies.com> References: <39632659-A413-41B7-80D0-6DF2B83C88D2@sweattechnologies.com> Message-ID: <51AF5FF9.5080603@fourthworld.com> Monte Goulding wrote: > On 05/06/2013, at 4:54 PM, Peter W A Wood wrote: > >> It may be a very poor test but it shows how much faster JavaScript >> can be when compared to LiveCode (and hence the dangers of such >> comparisons). > > If you change your code to use put "!" after tHW (which is more > similar to +=) it only takes 165 milliseconds in LC. Good catch, Monte. Not only does it produce the same result as the JS code (which is working with MUCH smaller data), but some years ago Dr. Raney optimized the allocations triggered by "put...after" so it's a very good choice for such operations. Most interesting to me is how your time compares with Peter's JS time of 145 milliseconds: JavaScript engines have many millions of dollars invested in them by some of the world's most powerful tech giants (Apple, Google, Mozilla Foundation, and more), while LC has been the work of just a handful of people. After all the resources put into bringing JavaScript to where it is today, that LC can perform more or less on par with it is nothing short of astounding. And LC has only been open for a few weeks; this is just the beginning.... -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From klaus at major-k.de Wed Jun 5 12:00:32 2013 From: klaus at major-k.de (Klaus major-k) Date: Wed, 5 Jun 2013 18:00:32 +0200 Subject: Datagrid Header alignment? In-Reply-To: References: Message-ID: Hi Pete, Am 05.06.2013 um 17:50 schrieb Peter Haworth : > set the dgHeaderAilgnment[]of group "yourdtagridname" to > "left" ( or center or right). AHA! Thanks a lot! Looks like this did not make into the "Datagrid PDF" 8-) > Pete > lcSQL Software > > > On Wed, Jun 5, 2013 at 3:47 AM, Klaus major-k wrote: > >> Hi friends, >> >> see subject, I searched the complete DataGrid PDF but did not find any info >> about aligning the HEADER of a TABLE datagrid. >> Maybe this feature is really missing in the DG lib? >> >> Any hints VERY welcome before I "feature request" this. :-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From m_p_wilcox at yahoo.co.uk Wed Jun 5 12:07:32 2013 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Wed, 5 Jun 2013 17:07:32 +0100 (BST) Subject: Successful recipe for LC iPhone apps... In-Reply-To: References: , <1370444778.14675.YahooMailNeo@web28804.mail.ir2.yahoo.com> Message-ID: <1370448452.63571.YahooMailNeo@web28803.mail.ir2.yahoo.com> Not using images? ?Are you using images for your graphics/buttons, or is everything procedurally generated? ?My guess is that it won't matter at least at the moment, although procedurally generated stuff is definitely OK. The default.png and variants (e.g. default-568h at 2x.png) I mentioned are what LiveCode calls splash screens (they are not actually meant to be used as splash screens according to Apple's HIG - apologies for using the native iOS coding terminology) in the standalone application settings. ?I'm not sure what the standalone builder does if you don't set one for a particular resolution? I assume the app icon should also have a retina version for them to accept apps now. ?Beyond that if they think your app looks low-res on a retina display then they might reject it but I doubt there are any official criteria. Mark ________________________________ From: John Dixon To: How to use LiveCode Sent: Wednesday, 5 June 2013, 16:38 Subject: RE: Successful recipe for LC iPhone apps... Mark... Thanks for the reply... I have already a couple of apps in the store that will run at the correct size, ie both on the iphone 4 and the iphone 5... I am not using any images... I am vague about whether we have to now only develop in a stack size of 640 x 960, for the iphone 4 or 640 x 1136 for the 5... or can I still lay it out at 320 x 480 as long as graphics and buttons are moved to appropriate places if the user should choose the run the app on an iphone 5 ? > Date: Wed, 5 Jun 2013 16:06:18 +0100 > From: m_p_wilcox at yahoo.co.uk > Subject: Re: Successful recipe for LC iPhone apps... > To: use-livecode at lists.runrev.com > > I haven't submitted an app but here's my take on the official Apple stance and what it means: > > All apps have to support the iPhone 5 resolution (or 4" Retina) and retina displays since May 1st. > > The iPhone 5 thing is clear - your app must scale to that resolution and not run in compatibility mode (with the black bars top and bottom).? IIRC you need to include a Default-568h at 2x.png file (640x1136 px) image for the system not to put you in compatibility mode - even if it's a plain black one. > > The retina display support thing is not clear - if your app doesn't look great on a retina display they might reject it.? Scaling images up programatically is definitely not banned though.? If you're building native apps with Xcode they obviously want you to include @2x variants of all your images but the situation for apps built with other tools is less clear. I'm guessing most apps that include the default.png in all the @2x variants will probably be OK for now, since that's the only thing they can easily check programatically at submission time. > > Position independent code is only a warning for now and RunRev will fix that problem in a forthcoming release by setting the appropriate compile/link flags - looks like it's to do with a new security feature Apple are enabling to get better traction in the enterprise market. > > You do definitely need LC 6.0.2 (or 5.5.5) to get the UDID fix though. > > Mark > > > ________________________________ >? From: John Dixon > To: "use-livecode at lists.runrev.com" > Sent: Wednesday, 5 June 2013, 13:10 > Subject: Successful recipe for LC iPhone apps... >? > > There seems to be lots of stories about rejection of LC apps from the iTunes store around.. > What is the position regarding submission these days in the ever shifting sands of Apples' whims ? > > Has the iphone app got to be built at 640 x 960 ? > What has position independant code got to do with building the app in liveCode ? > > I have an app ready for submission, but it has been built at 320 x 480... reading the stories on the forums it seems that submitting at this size will attract a rejection... is this correct ? > > Anybody submitted one recently and it got through ?.... >? ? ? ? ? ? ? ? ? ? ? ? ? > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From gspearson at gmail.com Wed Jun 5 12:34:56 2013 From: gspearson at gmail.com (Graham Pearson) Date: Wed, 05 Jun 2013 12:34:56 -0400 Subject: revBrowser Error Message-ID: <51AF68B0.8090001@gmail.com> In using revBrowser, I am getting an error message from a web server that shows an error of java.lang.InterruptedException and if I view the same page in my browser outside of Livecode I do not get the same error. In my application I can click on another button to display a different Map Area and sometimes I get the error and other times I can not. This is like finding a needle in a haystack. Any Ideas or Suggestions to track down the root cause. From dochawk at gmail.com Wed Jun 5 13:04:27 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 5 Jun 2013 10:04:27 -0700 Subject: Huge pdf output tamed: [was:dealing with these *huge* pdf files generated] Message-ID: Wow. I set a little loop that set the 3d to false for *all* of my output fields. What was a 2.1 mb output is now 536k . . . Acrobat can shrink this to 384k. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From gcanyon at gmail.com Wed Jun 5 13:38:46 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 5 Jun 2013 12:38:46 -0500 Subject: randomly order a list In-Reply-To: <51AE778F.4070601@tweedly.net> References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <44DB3748-3519-4BD6-BD81-D65D9C6F6249@swcp.com> <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> <519E7F6D.3040507@tweedly.net> <08A24B77-8594-41D8-92BD-14CAC003D96B@swcp.com> <51AE778F.4070601@tweedly.net> Message-ID: What code were you using Alex? I thought the first step(s) of the MD5 process reduce (or grow) whatever input string is given to 128 bits, and then everything from there operates on the 128 bit data. Likewise for SHA1, in 160 bits. In other words, the size of the individual strings should have a limited impact on the MD5 algorithm. For example, the two times returned by this are nearly identical: on mouseUp repeat 5 put random(999999999) after S[1] end repeat repeat 5000 put random(999999999) after S[2] end repeat repeat with i = 1 to 2 put ticks() into T repeat 1000000 get MD5digest(S[1]) end repeat put i && ticks() - T & cr after R end repeat put R end mouseUp On Tue, Jun 4, 2013 at 6:26 PM, Alex Tweedly wrote: > No comments on the "collision-or-not-ness", but some concerns about > performance. > > The performance of "random() & random()" is conveniently data-independent, > but that for md5digest() is not. With nice short lines, it is indeed faster > than the random&random version, but as the line size increases, so does the > time taken by all of the digest methods. I didn't test it thoroughly, but > the swap-over point is fairly low - somewhere around 500 chars per line. > > -- Alex. > > > On 04/06/2013 18:51, Geoff Canyon wrote: > >> At the risk of beating the decaying equus -- the previously suggested >> random() solutions should be fine for all purposes --I found an >> alternative >> that: >> >> 1. Is faster than sorting by random(999999999) & random(999999999) >> 2. Is about as fast as sorting by random(999999999) >> 3. Is (I think) less likely to have duplicate sort keys >> >> The drawback is that it is determinative (albeit random) for any given set >> of data, unless you are willing to accept performance equivalent to >> sorting >> by random(999999999) & random(999999999), while providing near-certainty >> of >> a true sort (I think). >> >> The one-time, as fast as any solution so far, sort is: >> >> sort lines of myVar by md5digest(each) >> >> Collisions are highly unlikely in 128 bits. Even random(999999999) & >> random(999999999) only provides about 60 bits, which, to be clear, is >> *more* than enough, but md5 is (I think) even more certain, and faster. >> However, it will always produce the same results. >> >> sort lines of myVar by sha1digest(each) >> >> Works roughly the same: 160 bits of guaranteed-no-collision-ness, but it's >> a little slower, although still much faster than random(999999999) & >> random(999999999). Like MD5, it will always sort the same data the same >> (random) way. >> >> The same-ness for either solution can (I think) be fixed by this: >> >> put ticks() into T >> sort lines of myVar by md5digest(T & each) >> >> or >> >> put ticks() into T >> sort lines of myVar by sha1digest(T & each) >> >> That should result in random results each time, and is a little faster >> (MD5) or about 1/3 slower (SHA1) than random(999999999) & >> random(999999999) >> >> If anyone has thoughts on the collision-or-not-ness of MD5 or SHA1, feel >> free to comment. Otherwise, I hope I'm done now ;-) >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From stephenREVOLUTION2 at barncard.com Wed Jun 5 14:04:24 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 5 Jun 2013 11:04:24 -0700 Subject: RELEASE: LiveCode 6.0.2 In-Reply-To: <78130C76-FB78-4DB3-82EE-D0293C2A9677@revigniter.com> References: <10353E49-F270-4A10-83A8-8A2E34C448F9@m-r-d.de> <964DA8E7-B663-4C36-B2ED-88873C0FB63F@revigniter.com> <51AF3AA9.6060605@gmail.com> <78130C76-FB78-4DB3-82EE-D0293C2A9677@revigniter.com> Message-ID: I have here and have installed a commercial version "LiveCodeServer-6_0_0_rc_1-Linux" but can't tell you where to find it online. I got it before the kickstarter. It wasn't available for very long. Runrev is currently 'funny' about making old versions available ... sqb On Wed, Jun 5, 2013 at 7:49 AM, Ralf Bitter wrote: > > 5.0.2 is the current commercial version of the server engine. > At least this is what I get at the store having an active > commercial license. > > > Ralf > > On 05.06.2013, at 15:18, Richmond wrote: > > >> This is definitely a reasonable question because: > >> > >> The community version of LiveCode server prevents > >> using protected stacks. > >> > >> The current commercial version is 5.0.2. > > > > That's odd, I thought it was 5.5.5? > > > > Or maybe that is only for the non-Server version. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From janschenkel at yahoo.com Wed Jun 5 14:44:26 2013 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 5 Jun 2013 11:44:26 -0700 (PDT) Subject: revBrowser Error In-Reply-To: <51AF68B0.8090001@gmail.com> References: <51AF68B0.8090001@gmail.com> Message-ID: <1370457866.95057.YahooMailNeo@web141102.mail.bf1.yahoo.com> Hi Graham, Is the server returning an error page or is this happening on the client? Which platform is this on? Does the web page contain any applets? Jan Schenkel ? ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) ----- Original Message ----- From: Graham Pearson To: How to use LiveCode Cc: Sent: Wednesday, June 5, 2013 6:34 PM Subject: revBrowser Error In using revBrowser, I am getting an error message from a web server that shows an error of java.lang.InterruptedException and if I view the same page in my browser outside of Livecode I do not get the same error. In my application I can click on another button to display a different Map Area and sometimes I get the error and other times I can not. This is like finding a needle in a haystack. Any Ideas or Suggestions to track down the root cause. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Wed Jun 5 14:49:57 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 5 Jun 2013 20:49:57 +0200 Subject: RELEASE: LiveCode 6.0.2 In-Reply-To: References: <10353E49-F270-4A10-83A8-8A2E34C448F9@m-r-d.de> <964DA8E7-B663-4C36-B2ED-88873C0FB63F@revigniter.com> <51AF3AA9.6060605@gmail.com> <78130C76-FB78-4DB3-82EE-D0293C2A9677@revigniter.com> Message-ID: <4E3F1201-DED7-4E94-82E6-C0BE159A3FED@m-r-d.de> Hi, spoke to Heather today. There definitely will be a commercial version of LC server 6.x. There is an issue what has to be fixed. After that LC server commercial will be released. Regards, Matthias Am 05.06.2013 um 20:04 schrieb stephen barncard : > I have here and have installed a commercial version > "LiveCodeServer-6_0_0_rc_1-Linux" but can't tell you where to find it > online. I got it before the kickstarter. It wasn't available for very long. > > Runrev is currently 'funny' about making old versions available ... > > sqb > > > On Wed, Jun 5, 2013 at 7:49 AM, Ralf Bitter wrote: > >> >> 5.0.2 is the current commercial version of the server engine. >> At least this is what I get at the store having an active >> commercial license. >> >> >> Ralf >> >> On 05.06.2013, at 15:18, Richmond wrote: >> >>>> This is definitely a reasonable question because: >>>> >>>> The community version of LiveCode server prevents >>>> using protected stacks. >>>> >>>> The current commercial version is 5.0.2. >>> >>> That's odd, I thought it was 5.5.5? >>> >>> Or maybe that is only for the non-Server version. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andrew at ctech.me Wed Jun 5 14:54:01 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Wed, 5 Jun 2013 13:54:01 -0500 Subject: Is revBrowser all there is? Message-ID: Hey, I currently do most of my reporting and charting for livecode programs in html and launch it in an external browser. I tried using revBrowser on windows to show these reports right inside of livecode programs, but have found that the javascript support is less than robust for the js libraries I am using. I know there is a new browser control coming some time next year as part of the stetch goals on the kickstarter. But, currently, are there any windows based alternatives to revBrowser to tide me over until we get our new browser control? -- Regards, Andrew Kluthe andrew at ctech.me From mkoob at rogers.com Wed Jun 5 14:53:50 2013 From: mkoob at rogers.com (Martin Koob) Date: Wed, 5 Jun 2013 11:53:50 -0700 (PDT) Subject: Mac OS X standalone settings CFBundleVersionString = CFBundleShortVersionString Message-ID: <1370458430305-4665970.post@n4.nabble.com> I am setting the version for my Mac OS X application and I noticed that there is not a way to set theCFBundleVersion. In the standalone application settings for Mac OS X there are the following fields: Short Version = CFBundleShortVersionString which is supposed to be "a string comprised of three period-separated integers" Long Version = CFBundleLongVersionString There is not a field to enter the Bundle Version string. CFBundleVersionString = this is supposed to be a build number whether it is released or not When I look at the pList generated by standalone builder I see that the CFBundleVersionString is set to be the same as the CFBundleShortVersionString >From researching this a bit I have found that a version and build such as MyApp 2.1.1 (91) should have the following in the pList CFBundleShortVersionString = 2.1.1 = released version CFBundleVersionString = 91 = build Should this be changed in the standalone builder? I keep track of builds by using the format 2.1.1.91 in the 'Short Version' field. in the pList it shows up as CFBundleShortVersionString = 2.1.1.91 CFBundleVersionString = 2.1.1.91 Is this the way it should be done or should the standalone builder be changed to add a bundle version string field? I notice that LiveCode uses this practice LC Version 6.0.2 has the following in the pList CFBundleShortVersionString = 6.0.2-rc-1.1520 CFBundleVersionString = 6.0.2-rc-1.1520 There doesn't seem to be any problems from the way LiveCode saves these strings in the build. It looks like you can put anything in the string, so, should I worry about it or should this be added to QA as a bug or feature request? There is one bug in the runrevQA #6202 which asked for the CFBundleVersionString to be set to the CFBundleShortVersionString. It looks like that was done(the bug was not closed though) Thanks Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Mac-OS-X-standalone-settings-CFBundleVersionString-CFBundleShortVersionString-tp4665970.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Wed Jun 5 15:13:21 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 05 Jun 2013 22:13:21 +0300 Subject: RELEASE: LiveCode 6.0.2 In-Reply-To: References: <10353E49-F270-4A10-83A8-8A2E34C448F9@m-r-d.de> <964DA8E7-B663-4C36-B2ED-88873C0FB63F@revigniter.com> <51AF3AA9.6060605@gmail.com> <78130C76-FB78-4DB3-82EE-D0293C2A9677@revigniter.com> Message-ID: <51AF8DD1.7070002@gmail.com> On 06/05/2013 09:04 PM, stephen barncard wrote: > I have here and have installed a commercial version > "LiveCodeServer-6_0_0_rc_1-Linux" but can't tell you where to find it > online. I got it before the kickstarter. It wasn't available for very long. > > Runrev is currently 'funny' about making old versions available ... > > sqb > > Have a look hereabouts: http://downloads.livecode.com/livecode/ Yes, they are funny as I would like to be able to download versions as far back as 1.1.1, and it is hard to see why they won't allow that (they could put a disclaimer with every download saying "Not a squidgin of support whatsoever"). For the sake of argument; I really need 2.0.1 for my Absolutely first version, tray-loading iMac that runs Mac OS 10.3.9 that stays at my Mum's and Dad's house, and I use when I stay with them. Richmond. From mkoob at rogers.com Wed Jun 5 15:48:11 2013 From: mkoob at rogers.com (Martin Koob) Date: Wed, 5 Jun 2013 12:48:11 -0700 (PDT) Subject: RELEASE: LiveCode 6.0.2 In-Reply-To: References: Message-ID: <1370461691048-4665973.post@n4.nabble.com> On Mac OS X I noticed that the build number that is reported in the 'About' box is 1521 but the version string that is returned from 'get info' from the finder is 6.0.2-rc-1.1520. Is it the version string in the pList that has to be updated? (just saw this because I was looking at how the version strings are saved for another post.) Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/RELEASE-LiveCode-6-0-2-tp4665863p4665973.html Sent from the Revolution - User mailing list archive at Nabble.com. From MikeKerner at roadrunner.com Wed Jun 5 16:12:41 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 5 Jun 2013 16:12:41 -0400 Subject: DB/Reporting Tools Message-ID: I'm messing with Valentina right now for doing reporting/etc. Does anybody have any other tools they'd recommend for SQLite/MySQL? -- 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." From MikeKerner at roadrunner.com Wed Jun 5 16:32:01 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 5 Jun 2013 16:32:01 -0400 Subject: [off-ish]Why investors should make it rain on developer tools Message-ID: http://venturebeat.com/2013/06/04/why-investors-should-make-it-rain-on-developer-tools/ -- 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." From andrew at ctech.me Wed Jun 5 16:36:49 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Wed, 5 Jun 2013 15:36:49 -0500 Subject: DB/Reporting Tools In-Reply-To: References: Message-ID: I tried a lot of the different options for LC Reporting and most of them were a lot of work to setup for reports that aren't the prettiest. I never tried the valentina stuff, but for exporting to word documents, I like WordReport. I use this for a lease writing program. For everything else including charts, I have been building them using HTML (using javascript and Twitter Bootstrap style sheets), then I used the Merge function to merge and generate the data for the report, caching them to the disk and launching them in a browser. This had made me the happiest so far. On Wed, Jun 5, 2013 at 3:12 PM, Mike Kerner wrote: > I'm messing with Valentina right now for doing reporting/etc. Does anybody > have any other tools they'd recommend for SQLite/MySQL? > > -- > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From benr_mc at cogapp.com Wed Jun 5 17:28:05 2013 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed, 05 Jun 2013 22:28:05 +0100 Subject: (OT) Software Patents and computer based instruction In-Reply-To: References: <55CE0507-171B-4818-B6FB-37E3A41D6869@buffalo.edu> <51AE34A0.6010707@fourthworld.com> Message-ID: <51AFAD65.4030604@cogapp.com> On 04/06/2013 20:22, Mark Wieder wrote: > Richard Gaskin writes: > >> Case in point: >> >> Method of swinging on a swing >> > > LOL. "Actual jungle forestry is not required." > Even better is the "Referenced by" list: > > US20110239315 * Feb 2, 2011 Sep 29, 2011 Bonas Ulla Modular dna-binding > domains and methods of use > USRE41363 * Dec 8, 2005 Jun 1, 2010 Samsung Electronics Co., Ltd. Thin film > transistor substrate > etc > Another patent that references this one (presumably in the context "that was granted, so why not grant this one) is: http://www.google.com/patents/US5443036 "Method of exercising a cat" it's a lot less exciting than you think it will be. From lfredricks at proactive-intl.com Wed Jun 5 17:47:42 2013 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Wed, 5 Jun 2013 14:47:42 -0700 Subject: DB/Reporting Tools In-Reply-To: References: Message-ID: <733E5CC782124B9888F8209229B0C25B@GATEWAY> > I'm messing with Valentina right now for doing reporting/etc. > Does anybody have any other tools they'd recommend for SQLite/MySQL? Hi Mike, I believe reporting falls into two camps when it comes to RAD tools like LiveCode, irrespective of the actual reporting features: On one hand, you might have a native code based solution, where you hand make your own or someone has delivered a solution that incorporates native LiveCode controls. Then there are externals (like Valentina Reports ADK), which bring their own toolkit to the mix. It provides its own controls for the reports themselves (set up with Valentina Studio Pro), and these then bound to various queries from the database you elect to use. You might also want to consider how well reports scale to other platforms, like server implementations. Our Valentina Reports projects can, with a little tweaking, be used with Valentina Server. Valentina Server incorporates both native Valentina DB and Reports, and the Reports side can work with other databases other than just Valentina (like MySQL, Postgre, etc). Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From jacque at hyperactivesw.com Wed Jun 5 17:56:11 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 05 Jun 2013 16:56:11 -0500 Subject: [ANN] Help with a LiveCode Presentation/Demo In-Reply-To: References: Message-ID: <51AFB3FB.6090408@hyperactivesw.com> On 6/5/13 1:07 AM, Kay C Lan wrote: > Folks, > > I've volunteered to give a presentation/demo of LC Community at an up > coming Mac User Group meeting. > > In preparation for this I've thrown together a very rough history and > feature set of HyperCard, SuperCard, MetaCard, Revolution/LiveCode. It can > be found here; as an anyone (you) can edit Google Spreadsheet: > > https://docs.google.com/spreadsheet/ccc?key=0Aqkz0MzC98e6dGNpcnhBR0VsQjRuOU92RDhPRWN2dnc&usp=sharing > > NOTE: there are 2 sheets, 1 = history, 2 = features > > I make no claim to it's accuracy, which is why, if anyone here would like > to correct my entries, feel free. I changed 2 HC entries from "no" to "yes" -- OSA and "do". HC supported scripts written in AppleScript, which you could write directly inside its script editor, and had hooks for other languages though I don't think any others were actually added. The "do" command was part of the original HC syntax in version 1.0. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Jun 5 17:58:54 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 05 Jun 2013 16:58:54 -0500 Subject: [ANN] Help with a LiveCode Presentation/Demo In-Reply-To: References: Message-ID: <51AFB49E.8030805@hyperactivesw.com> On 6/5/13 1:07 AM, Kay C Lan wrote: > Folks, > > I've volunteered to give a presentation/demo of LC Community at an up > coming Mac User Group meeting. > > In preparation for this I've thrown together a very rough history and > feature set of HyperCard, SuperCard, MetaCard, Revolution/LiveCode. It can > be found here; as an anyone (you) can edit Google Spreadsheet: > > https://docs.google.com/spreadsheet/ccc?key=0Aqkz0MzC98e6dGNpcnhBR0VsQjRuOU92RDhPRWN2dnc&usp=sharing Oh, also, I didn't change "User Community" but there was/is one. In fact, the HC mailing list is still going and it even still gets an occasional post. In its heyday, community was everywhere. HC had its own forum on AOL and user groups were all over the world. I don't know if you meant the entry to apply only to today or not so I didn't change it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alex at tweedly.net Wed Jun 5 18:14:23 2013 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 05 Jun 2013 23:14:23 +0100 Subject: randomly order a list In-Reply-To: References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <44DB3748-3519-4BD6-BD81-D65D9C6F6249@swcp.com> <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> <519E7F6D.3040507@tweedly.net> <08A24B77-8594-41D8-92BD-14CAC003D96B@swcp.com> <51AE778F.4070601@tweedly.net> Message-ID: <51AFB83F.70102@tweedly.net> Your code has a minor bug :-) You "get MD5Digest(S[1]) " instead of using S[i] Here's the code I used (now extended to check different lengths). constant K=100000 -- the number of iterations constant KLength=20 -- this * 36 --> the number of chars per line on mouseup put empty into msg put the millisecs into t1 repeat K times put random(999999999) into j3 end repeat put "random" && the millisecs - t1 &CR after msg put the millisecs into t1 repeat K times put random(999999999) & random(999999999) into j3 end repeat put "random&random" && the millisecs - t1 &CR after msg put empty into L1 put "abcdefghijklmnopqrstuvwxyz0123456789" after L1 put the millisecs into t1 repeat K times put md5digest(L1) into j1 end repeat put "md5" && the number of chars in L1 && the millisecs - t1 &CR after msg put empty into L1 repeat kLength times put "abcdefghijklmnopqrstuvwxyz0123456789" after L1 end repeat put the millisecs into t1 repeat K times put md5digest(L1) into j1 end repeat put "md5" && the number of chars in L1 && the millisecs - t1 &CR after msg end mouseup and it gives something like (700 chars) random 20 random&random 157 md5 36 42 md5 720 235 (1440 chars) random 17 random&random 161 md5 36 41 md5 1440 431 -- Alex. On 05/06/2013 18:38, Geoff Canyon wrote: > What code were you using Alex? I thought the first step(s) of the MD5 > process reduce (or grow) whatever input string is given to 128 bits, and > then everything from there operates on the 128 bit data. Likewise for SHA1, > in 160 bits. > > In other words, the size of the individual strings should have a limited > impact on the MD5 algorithm. For example, the two times returned by this > are nearly identical: > > on mouseUp > repeat 5 > put random(999999999) after S[1] > end repeat > repeat 5000 > put random(999999999) after S[2] > end repeat > repeat with i = 1 to 2 > put ticks() into T > repeat 1000000 > get MD5digest(S[1]) > end repeat > put i && ticks() - T & cr after R > end repeat > put R > end mouseUp > > > > On Tue, Jun 4, 2013 at 6:26 PM, Alex Tweedly wrote: > >> No comments on the "collision-or-not-ness", but some concerns about >> performance. >> >> The performance of "random() & random()" is conveniently data-independent, >> but that for md5digest() is not. With nice short lines, it is indeed faster >> than the random&random version, but as the line size increases, so does the >> time taken by all of the digest methods. I didn't test it thoroughly, but >> the swap-over point is fairly low - somewhere around 500 chars per line. >> >> -- Alex. >> >> >> On 04/06/2013 18:51, Geoff Canyon wrote: >> >>> At the risk of beating the decaying equus -- the previously suggested >>> random() solutions should be fine for all purposes --I found an >>> alternative >>> that: >>> >>> 1. Is faster than sorting by random(999999999) & random(999999999) >>> 2. Is about as fast as sorting by random(999999999) >>> 3. Is (I think) less likely to have duplicate sort keys >>> >>> The drawback is that it is determinative (albeit random) for any given set >>> of data, unless you are willing to accept performance equivalent to >>> sorting >>> by random(999999999) & random(999999999), while providing near-certainty >>> of >>> a true sort (I think). >>> >>> The one-time, as fast as any solution so far, sort is: >>> >>> sort lines of myVar by md5digest(each) >>> >>> Collisions are highly unlikely in 128 bits. Even random(999999999) & >>> random(999999999) only provides about 60 bits, which, to be clear, is >>> *more* than enough, but md5 is (I think) even more certain, and faster. >>> However, it will always produce the same results. >>> >>> sort lines of myVar by sha1digest(each) >>> >>> Works roughly the same: 160 bits of guaranteed-no-collision-ness, but it's >>> a little slower, although still much faster than random(999999999) & >>> random(999999999). Like MD5, it will always sort the same data the same >>> (random) way. >>> >>> The same-ness for either solution can (I think) be fixed by this: >>> >>> put ticks() into T >>> sort lines of myVar by md5digest(T & each) >>> >>> or >>> >>> put ticks() into T >>> sort lines of myVar by sha1digest(T & each) >>> >>> That should result in random results each time, and is a little faster >>> (MD5) or about 1/3 slower (SHA1) than random(999999999) & >>> random(999999999) >>> >>> If anyone has thoughts on the collision-or-not-ness of MD5 or SHA1, feel >>> free to comment. Otherwise, I hope I'm done now ;-) >>> ______________________________**_________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Wed Jun 5 18:41:24 2013 From: dsc at swcp.com (Dar Scott) Date: Wed, 5 Jun 2013 16:41:24 -0600 Subject: randomly order a list In-Reply-To: References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <44DB3748-3519-4BD6-BD81-D65D9C6F6249@swcp.com> <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> <519E7F6D.3040507@tweedly.net> <08A24B77-8594-41D8-92BD-14CAC003D96B@swcp.com> <51AE778F.4070601@tweedly.net> Message-ID: <9986F528-75CB-4B83-BA07-D37BA5C35A95@swcp.com> MD5 works on 512-bit blocks. The message is padded so that it is 64 bits short of being a multiple of 512. It works on all of those blocks iteratively, generating a 128-bit value each iteration and consuming one. The final 128-bit value is the hash. So, it does crank away on all of the bits. However, if the length is 56 bytes or less, the time is constant. Dar On Jun 5, 2013, at 11:38 AM, Geoff Canyon wrote: > What code were you using Alex? I thought the first step(s) of the MD5 > process reduce (or grow) whatever input string is given to 128 bits, and > then everything from there operates on the 128 bit data. Likewise for SHA1, > in 160 bits. > > In other words, the size of the individual strings should have a limited > impact on the MD5 algorithm. For example, the two times returned by this > are nearly identical: > > on mouseUp > repeat 5 > put random(999999999) after S[1] > end repeat > repeat 5000 > put random(999999999) after S[2] > end repeat > repeat with i = 1 to 2 > put ticks() into T > repeat 1000000 > get MD5digest(S[1]) > end repeat > put i && ticks() - T & cr after R > end repeat > put R > end mouseUp > > > > On Tue, Jun 4, 2013 at 6:26 PM, Alex Tweedly wrote: > >> No comments on the "collision-or-not-ness", but some concerns about >> performance. >> >> The performance of "random() & random()" is conveniently data-independent, >> but that for md5digest() is not. With nice short lines, it is indeed faster >> than the random&random version, but as the line size increases, so does the >> time taken by all of the digest methods. I didn't test it thoroughly, but >> the swap-over point is fairly low - somewhere around 500 chars per line. >> >> -- Alex. >> >> >> On 04/06/2013 18:51, Geoff Canyon wrote: >> >>> At the risk of beating the decaying equus -- the previously suggested >>> random() solutions should be fine for all purposes --I found an >>> alternative >>> that: >>> >>> 1. Is faster than sorting by random(999999999) & random(999999999) >>> 2. Is about as fast as sorting by random(999999999) >>> 3. Is (I think) less likely to have duplicate sort keys >>> >>> The drawback is that it is determinative (albeit random) for any given set >>> of data, unless you are willing to accept performance equivalent to >>> sorting >>> by random(999999999) & random(999999999), while providing near-certainty >>> of >>> a true sort (I think). >>> >>> The one-time, as fast as any solution so far, sort is: >>> >>> sort lines of myVar by md5digest(each) >>> >>> Collisions are highly unlikely in 128 bits. Even random(999999999) & >>> random(999999999) only provides about 60 bits, which, to be clear, is >>> *more* than enough, but md5 is (I think) even more certain, and faster. >>> However, it will always produce the same results. >>> >>> sort lines of myVar by sha1digest(each) >>> >>> Works roughly the same: 160 bits of guaranteed-no-collision-ness, but it's >>> a little slower, although still much faster than random(999999999) & >>> random(999999999). Like MD5, it will always sort the same data the same >>> (random) way. >>> >>> The same-ness for either solution can (I think) be fixed by this: >>> >>> put ticks() into T >>> sort lines of myVar by md5digest(T & each) >>> >>> or >>> >>> put ticks() into T >>> sort lines of myVar by sha1digest(T & each) >>> >>> That should result in random results each time, and is a little faster >>> (MD5) or about 1/3 slower (SHA1) than random(999999999) & >>> random(999999999) >>> >>> If anyone has thoughts on the collision-or-not-ness of MD5 or SHA1, feel >>> free to comment. Otherwise, I hope I'm done now ;-) >>> ______________________________**_________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gspearson at gmail.com Wed Jun 5 19:14:35 2013 From: gspearson at gmail.com (Graham Pearson) Date: Wed, 05 Jun 2013 19:14:35 -0400 Subject: revBrowser Error In-Reply-To: <1370457866.95057.YahooMailNeo@web141102.mail.bf1.yahoo.com> References: <51AF68B0.8090001@gmail.com> <1370457866.95057.YahooMailNeo@web141102.mail.bf1.yahoo.com> Message-ID: <51AFC65B.9030507@gmail.com> I have an idea it is on the server since my web server is Coldfusion powered by Java and Apache. I can view the same page on multiple computers at the same time without an issue being reported. The error is only every once and awhile within the revBrowser. The page I am calling is an HTML5 Google Maps API V3 page inside of my LC First Application I am learning on. On 6/5/2013 2:44 PM, Jan Schenkel wrote: > Hi Graham, > > Is the server returning an error page or is this happening on the client? > Which platform is this on? > > Does the web page contain any applets? > > Jan Schenkel > > ===== > Quartam Reports & PDF Library for LiveCode > www.quartam.com > > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) > > > ----- Original Message ----- > From: Graham Pearson > To: How to use LiveCode > Cc: > Sent: Wednesday, June 5, 2013 6:34 PM > Subject: revBrowser Error > > In using revBrowser, I am getting an error message from a web server > that shows an error of java.lang.InterruptedException and if I view the > same page in my browser outside of Livecode I do not get the same error. > In my application I can click on another button to display a different > Map Area and sometimes I get the error and other times I can not. This > is like finding a needle in a haystack. Any Ideas or Suggestions to > track down the root cause. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From lan.kc.macmail at gmail.com Wed Jun 5 19:31:22 2013 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 6 Jun 2013 07:31:22 +0800 Subject: [ANN] Help with a LiveCode Presentation/Demo In-Reply-To: <51AFB49E.8030805@hyperactivesw.com> References: <51AFB49E.8030805@hyperactivesw.com> Message-ID: Thanks Jacque for the amendments. Yes the Feature List is reference to Today, and whilst I'm aware that HUGs still exist, I don't think I'd be recommending anyone spend their valuable time registering there today. It's funny, way back when, the reason I got into HyperCard was because a) it came with free with the Mac, and b) the MUG BBS was full of public domain stacks and the talk whether live or via BBS would ALWAYS eventually wonder onto HC. MUGs seem to be more HUGs back then. Now, here I am doing a LC demo at a MUG where the majority of users have never heard of HC. Just one big Revolution.... hmmm, good catchy name for a piece of software ;-) On Thu, Jun 6, 2013 at 5:58 AM, J. Landman Gay wrote: > On 6/5/13 1:07 AM, Kay C Lan wrote: > >> Folks, >> >> I've volunteered to give a presentation/demo of LC Community at an up >> coming Mac User Group meeting. >> >> In preparation for this I've thrown together a very rough history and >> feature set of HyperCard, SuperCard, MetaCard, Revolution/LiveCode. It can >> be found here; as an anyone (you) can edit Google Spreadsheet: >> >> https://docs.google.com/**spreadsheet/ccc?key=** >> 0Aqkz0MzC98e6dGNpcnhBR0VsQjRuO**U92RDhPRWN2dnc&usp=sharing >> > > Oh, also, I didn't change "User Community" but there was/is one. In fact, > the HC mailing list is still going and it even still gets an occasional > post. In its heyday, community was everywhere. HC had its own forum on AOL > and user groups were all over the world. I don't know if you meant the > entry to apply only to today or not so I didn't change it. > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From dsc at swcp.com Wed Jun 5 20:54:38 2013 From: dsc at swcp.com (Dar Scott) Date: Wed, 5 Jun 2013 18:54:38 -0600 Subject: randomly order a list In-Reply-To: <51AFB83F.70102@tweedly.net> References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <44DB3748-3519-4BD6-BD81-D65D9C6F6249@swcp.com> <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> <519E7F6D.3040507@tweedly.net> <08A24B77-8594-41D8-92BD-14CAC003D96B@swcp.com> <51AE778F.4070601@tweedly.net> <51AFB83F.70102@tweedly.net> Message-ID: <63871FB7-793D-4530-B3B1-FD2380DEBD0A@swcp.com> Here are some timings of random functions going in another direction. Results for an old mac mini: Works better on OS X. Time for a 1000 X loop divided by 1000. 134 ns get empty 227 ns get alphabet 288 ns get random(9999999) 327 ns get md5Digest(alphabet) 890 ns get md5Digest(startLongSeconds & alphabet) 1837 ns get md5Random() 2134 ns on mouseUp set the numberFormat to 0. put "Works better on OS X." & lf into field 1 put "Time for a 1000 X loop divided by 1000." & lf after field 1 put "abcdefghijklmnopqrstuvwxyz" into alphabet put the long seconds into t1 repeat 1000 times end repeat put the long seconds into t2 put "" & (t2-t1)*1000000 & " ns" & lf after field 1 put the long seconds into t1 repeat 1000 times get empty end repeat put the long seconds into t2 put "get empty " & (t2-t1)*1000000 & " ns" & lf after field 1 put the long seconds into t1 repeat 1000 times get alphabet end repeat put the long seconds into t2 put "get alphabet " & (t2-t1)*1000000 & " ns" & lf after field 1 put the long seconds into t1 repeat 1000 times get random(9999999) end repeat put the long seconds into t2 put "get random(9999999) " & (t2-t1)*1000000 & " ns" & lf after field 1 put the long seconds into t1 repeat 1000 times get md5Digest(alphabet) end repeat put the long seconds into t2 put "get md5Digest(alphabet) " & (t2-t1)*1000000 & " ns" & lf after field 1 put the long seconds into startLongSeconds put the long seconds into t1 repeat 1000 times get md5Digest( startLongSeconds & alphabet) end repeat put the long seconds into t2 put "get md5Digest(startLongSeconds & alphabet) " & (t2-t1)*1000000 & " ns" & lf after field 1 put the long seconds into t1 repeat 1000 times get md5Random() end repeat put the long seconds into t2 put "get md5Random() " & (t2-t1)*1000000 & " ns" & lf after field 1 end mouseUp local randomState = true private function md5Random if randomState then put the long seconds into randomState put md5Digest(randomState) into randomState return randomState end md5Random From bornstein at designeq.com Wed Jun 5 22:23:36 2013 From: bornstein at designeq.com (Howard Bornstein) Date: Wed, 5 Jun 2013 19:23:36 -0700 Subject: Getting Kanji from a .csv file Message-ID: I have a client who wants me to do some processing on a spreadsheet file that has been saved in .csv format. One of the fields contain either English or Japanese. When I look at the fields with the Japanese, it looks like gibberish. It does not display as Kanji. I believe the full data is still there because if I open it up in Numbers, the Kanji is displayed correctly. However, I need to use the .cvs file to process and I can't, for the life of me, make the Kanji appear. I am *way* in over my head here with regards to different languages. I assume this is a unicode issue but I am completely ignorant in this area. My question is: how can I take a .cvs file, which contains some Kanji text but doesn't display as Kanji, and convert it so that, as a text file, it displays as Kanji again. I don't care where this conversion takes place--I am doing a bunch of other processing of the file in LC so it can be anywhere in the process. I'm not doing anything with the Kanji itself except displaying it. I'd appreciate any help but if it involves unicode, please assume you are talking to an imbecile. TIA -- Regards, Howard Bornstein ----------------------- www.designeq.com From devin_asay at byu.edu Wed Jun 5 22:40:16 2013 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 6 Jun 2013 02:40:16 +0000 Subject: Where to write application data Message-ID: Hi folks, I know this discussion pops up here from time to time, but I can't find what I remember seeing. I checked Nabble, but no luck. For desktop applications, where can our applications legally write to for the three main OS's? I'm not talking about sandboxing for Mac App Store apps, just the normal place for writing application files. For Mac OS X I assume: /Users/myuser/Library/Application Support. For Windows XP/Vista/7: Something like C:/Documents and Settings/myuser/My Documents For Linux: No idea! Are any of these derivable from specialFolderPath()? I checked Ken Ray's site (http://www.sonsothunder.com/devres/livecode/tips/file010.htm) but don't find exactly what I'm looking for there, plus I'm not sure it's 100% up to date. Any tips? Thanks, Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From warren at warrensweb.us Wed Jun 5 23:01:38 2013 From: warren at warrensweb.us (Warren Samples) Date: Wed, 05 Jun 2013 22:01:38 -0500 Subject: Where to write application data In-Reply-To: References: Message-ID: <51AFFB92.7080800@warrensweb.us> On 06/05/2013 09:40 PM, Devin Asay wrote: > For Linux: No idea! In general in Linux, user specific data will go into an invisible directory with the application name, in the user's home directory. So, you can do something like put tData into URL "file:~/.myapp/the_data_file" remembering that the tilde "~" is already a shortcut to a directory. Warren From revdev at pdslabs.net Wed Jun 5 23:42:42 2013 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 05 Jun 2013 20:42:42 -0700 Subject: Getting Kanji from a .csv file In-Reply-To: References: Message-ID: <51B00532.6040000@pdslabs.net> Hi Howard, From one unicode-ignorant soul to another - Devin's explanation about LC & Unicode got me started: http://livecode.byu.edu/unicode/unicodeInRev.php -- the good part is about a third of the way down Using this info + LC's various unicode functions + the styledText of a field, I was recently able to paste multi-line Arabic text correctly. If I can do that, you can do Kanji. Really! It reads left-to-right doesn't it? Best - Phil On 6/5/13 7:23 PM, Howard Bornstein wrote: > I have a client who wants me to do some processing on a spreadsheet file > that has been saved in .csv format. One of the fields contain either > English or Japanese. When I look at the fields with the Japanese, it looks > like gibberish. It does not display as Kanji. > > I believe the full data is still there because if I open it up in Numbers, > the Kanji is displayed correctly. However, I need to use the .cvs file to > process and I can't, for the life of me, make the Kanji appear. > > I am *way* in over my head here with regards to different languages. I > assume this is a unicode issue but I am completely ignorant in this area. > > My question is: how can I take a .cvs file, which contains some Kanji text > but doesn't display as Kanji, and convert it so that, as a text file, it > displays as Kanji again. I don't care where this conversion takes place--I > am doing a bunch of other processing of the file in LC so it can be > anywhere in the process. I'm not doing anything with the Kanji itself > except displaying it. > > I'd appreciate any help but if it involves unicode, please assume you are > talking to an imbecile. > > TIA > -- Phil Davis From dsc at swcp.com Wed Jun 5 23:46:51 2013 From: dsc at swcp.com (Dar Scott) Date: Wed, 5 Jun 2013 21:46:51 -0600 Subject: Getting Kanji from a .csv file In-Reply-To: References: Message-ID: There are several standard ways to encode Japanese. If we assume the encoding is Unicode, there are several encoding forms. Some applications put a byte-order character at the beginning of a Unicode file. This can be used not only to determine byte order, but also the encoding form. If you see the first three bytes are EF BB BF, then you have UTF8 and you can throw those 3 bytes away. (The field might throw away byte-order characters, I don't remember.) You can also try trial and error. Use uniEncode() to convert to Unicode from UTF8 or, if that does not work, from Japanese (Shift-JIS). Then set the unicodeText of the field to value you get back. If that does not work, try setting the unicodeText to the file as is. Then try swapping odd-even bytes. Or you can let the list know the first dozen bytes of the file. Somebody might recognize it. Hex is better but decimal is OK if you are more comfortable with that. If you need some help with that, ask. Dar On Jun 5, 2013, at 8:23 PM, Howard Bornstein wrote: > I have a client who wants me to do some processing on a spreadsheet file > that has been saved in .csv format. One of the fields contain either > English or Japanese. When I look at the fields with the Japanese, it looks > like gibberish. It does not display as Kanji. > > I believe the full data is still there because if I open it up in Numbers, > the Kanji is displayed correctly. However, I need to use the .cvs file to > process and I can't, for the life of me, make the Kanji appear. > > I am *way* in over my head here with regards to different languages. I > assume this is a unicode issue but I am completely ignorant in this area. > > My question is: how can I take a .cvs file, which contains some Kanji text > but doesn't display as Kanji, and convert it so that, as a text file, it > displays as Kanji again. I don't care where this conversion takes place--I > am doing a bunch of other processing of the file in LC so it can be > anywhere in the process. I'm not doing anything with the Kanji itself > except displaying it. > > I'd appreciate any help but if it involves unicode, please assume you are > talking to an imbecile. > > TIA > > -- > Regards, > > Howard Bornstein > ----------------------- > www.designeq.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Wed Jun 5 23:50:36 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 5 Jun 2013 23:50:36 -0400 Subject: Caching Deleting Reusing Storing files from Internet Message-ID: Hi all, I have run this script on Windows, so please run this script in Mac, Linux, Android and iOS and tell me if these files are downloaded everytime that you run the script: on mouseUp create img set the text of last img to URL " https://dl.dropboxusercontent.com/u/3834621/cat1.gif" wait 120 ticks play URL "https://dl.dropboxusercontent.com/u/3834621/sq1.au" wait 4 seconds delete last img of this card end mouseUp I expected that the first time both files are downloaded they were stored and next time that a script request them LiveCode steps in, behind the scene to reuse the downloaded file, instead of downloading them again. What are the standars practices to reuse downloaded files in Android and iOS? Thanks in advance! Al From pete at lcsql.com Wed Jun 5 23:51:53 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 5 Jun 2013 20:51:53 -0700 Subject: Where to write application data In-Reply-To: References: Message-ID: Hi Devin, I've always used the location you mentioned for OSX with a folder for even the company name of the application name within it.. For Windows, I use specialFolderpath(26) which I think resolves to /Users/AppData/Roaming (maybe different on different versions of Windows. Not sure there's a standard place on Linux but I think I've just used the users home directory with a company/application folder within that. Pete lcSQL Software On Wed, Jun 5, 2013 at 7:40 PM, Devin Asay wrote: > Hi folks, > > I know this discussion pops up here from time to time, but I can't find > what I remember seeing. I checked Nabble, but no luck. > > For desktop applications, where can our applications legally write to for > the three main OS's? I'm not talking about sandboxing for Mac App Store > apps, just the normal place for writing application files. > > For Mac OS X I assume: /Users/myuser/Library/Application Support. > > For Windows XP/Vista/7: Something like C:/Documents and Settings/myuser/My > Documents > > For Linux: No idea! > > Are any of these derivable from specialFolderPath()? I checked Ken Ray's > site (http://www.sonsothunder.com/devres/livecode/tips/file010.htm) but > don't find exactly what I'm looking for there, plus I'm not sure it's 100% > up to date. > > Any tips? > > Thanks, > > Devin > > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From janschenkel at yahoo.com Thu Jun 6 00:27:16 2013 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 5 Jun 2013 21:27:16 -0700 (PDT) Subject: revBrowser Error In-Reply-To: <51AFC65B.9030507@gmail.com> References: <51AF68B0.8090001@gmail.com> <1370457866.95057.YahooMailNeo@web141102.mail.bf1.yahoo.com> <51AFC65B.9030507@gmail.com> Message-ID: <1370492836.48759.YahooMailNeo@web141106.mail.bf1.yahoo.com> If it's on the server, you could try and wade through the server's Apache and ColdFusion websites to try and spot the difference. A java.lang.InterruptedException here sounds like CondFusion is spawning a separate thread ofr the request and killing it off when it takes too long. And I doubt it only happens with revBrowser, or maybe you haven't seen it yet on other browsers. Unless there's some sort of difference between the request parameters and headers as sent by revBrowser. But it's going to take time to track that problem down on the server... Jan Schenkel. ? ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) ----- Original Message ----- From: Graham Pearson To: How to use LiveCode Cc: Sent: Thursday, June 6, 2013 1:14 AM Subject: Re: revBrowser Error I have an idea it is on the server since my web server is Coldfusion powered by Java and Apache. I can view the same page on multiple computers at the same time without an issue being reported. The error is only every once and awhile within the revBrowser. The page I am calling is an HTML5 Google Maps API V3 page inside of my LC First Application I am learning on. From ruslan_zasukhin at valentina-db.com Thu Jun 6 02:39:30 2013 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Thu, 06 Jun 2013 09:39:30 +0300 Subject: DB/Reporting Tools In-Reply-To: <733E5CC782124B9888F8209229B0C25B@GATEWAY> Message-ID: On 6/6/13 12:47 AM, "Lynn Fredricks" wrote: Hi Mike, Just now I have to see you post to this list questions. And I already have made 2 answer to you private I believe that answers are fine for community also to be archived. I will resend them now here also. >> I'm messing with Valentina right now for doing reporting/etc. >> Does anybody have any other tools they'd recommend for SQLite/MySQL? > > Hi Mike, > > I believe reporting falls into two camps when it comes to RAD tools like > LiveCode, irrespective of the actual reporting features: > > On one hand, you might have a native code based solution, where you hand > make your own or someone has delivered a solution that incorporates native > LiveCode controls. > > Then there are externals (like Valentina Reports ADK), which bring their own > toolkit to the mix. It provides its own controls for the reports themselves > (set up with Valentina Studio Pro), and these then bound to various queries > from the database you elect to use. > > You might also want to consider how well reports scale to other platforms, > like server implementations. Our Valentina Reports projects can, with a > little tweaking, be used with Valentina Server. Valentina Server > incorporates both native Valentina DB and Reports, and the Reports side can > work with other databases other than just Valentina (like MySQL, Postgre, > etc). -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From ruslan_zasukhin at valentina-db.com Thu Jun 6 02:40:32 2013 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Thu, 06 Jun 2013 09:40:32 +0300 Subject: FW: Valentina Reports Question In-Reply-To: Message-ID: ------ Forwarded Message From: Ruslan Zasukhin Date: Thu, 06 Jun 2013 08:16:55 +0300 On 6/6/13 12:40 AM, "Lynn Fredricks" wrote: Hi Mike, I will answer in few letters, separating issues. 1) In tickets I have direct you to our FAQs, because just couple weeks ago, we have add this FAQ about problem that Vstudio DEMO do not save reports into local .vsp. I have provide you link to this page Here 3d FAQ: Can I test before buy. It contains point: ============== If you want to prepare own .vsp file with own reports, then (!!!) you need do this with the help of Valentina Server, because in this way you can create new .vsp file and reports using VStudio and then connect from ADK application to use them, because your reports will live until VServer restart. ============== I.e. You need 1) install VSERVER with our free license 2) install Vstudio free 3) from Vstudio connect to VSERVER and create new Valentina Project on server... And here create your reports. 4) Quite VStudio. -- server still runs -- reports still alive. 5) you can now connect from any Valentina ADK to VSERVER and generate that reports. 6) reports on vserver can live even WEEKS until vserver is restarted. So, we don't need provide you any special time-limited license to test reports deeply. Our FREE tools allow this via chain VSTUDIO -> VSERVER <- ADK ------ End of Forwarded Message From ruslan_zasukhin at valentina-db.com Thu Jun 6 02:41:56 2013 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Thu, 06 Jun 2013 09:41:56 +0300 Subject: FW: Valentina Reports Question -- video tutorials, docs, ... In-Reply-To: Message-ID: ------ Forwarded Message From: Ruslan Zasukhin Date: Thu, 06 Jun 2013 08:50:58 +0300 Hi Mike, > I'm evaluating Valentina for our purposes here, but it's a little hard since > in the demo, everything I do in the reports engine gets booted the moment I > quit (or, like this morning, when the program crashes), and I'm trying to > build my first report, which must be a little more complex than I thought, > because I don't have it working, yet, and I don't have my brain wrapped > around how to make it work, yet. About this. 1) have you see our videos about report Editor? can be found in the wiki / videos section 2) have you found Report Editor section? All this can help make reports 3) you are welcome to Valentina lists, where you can describe task and our guys can help you. 4) Lynn, btw, lets try setup forum, because tasks about REPORTS should be in separate section. YOU CAN ASK as many question as needed to solve task :-) ------ End of Forwarded Message From alanstenhouse at hotmail.com Thu Jun 6 03:59:04 2013 From: alanstenhouse at hotmail.com (Alan Stenhouse) Date: Thu, 6 Jun 2013 09:59:04 +0200 Subject: Getting Kanji from a .csv file In-Reply-To: References: Message-ID: Hi Phil, Howard Actually, Kanji is normally read from top to bottom, right to left... but thankfully most of probably don't have to deal with it like that... :-) Another of Devin's useful articles on Unicode is this lesson: http://lessons.runrev.com/m/4067/l/20441 The function below might be useful for you too, in converting from your source data to Revolution format unicode text: function getRevTextFromUTF8 theText return unidecode(uniencode(theText,"utf8")) end getRevTextFromUTF8 although you might be working with UTF16 in which case put "utf16" in place of "utf8". Hope some of that helps - good luck! If not, try posting a portion of your file somewhere for us to test on. cheers Alan On 06/06/2013, at 5:42 AM, use-livecode-request at lists.runrev.com wrote: > Using this info + LC's various unicode functions + the styledText of a > field, I was recently able to paste multi-line Arabic text correctly. If > I can do that, you can do Kanji. Really! It reads left-to-right doesn't it? From heather at runrev.com Thu Jun 6 04:10:26 2013 From: heather at runrev.com (Heather Laine) Date: Thu, 6 Jun 2013 09:10:26 +0100 Subject: Mail List Move Planned Message-ID: <79EE8711-8CD1-413D-87E9-EBAE38F16B84@runrev.com> Dear list members, Just a heads up that we are planning to move this list to a different server on Monday. This will mean it will be offline for a few hours during the move. We'll let you know just before we start the move, and when it is back up again. During this period please don't attempt to post to the list as your mail is likely to vanish into a black hole. Once moved, you can continue to post as before, no change is required to the address. Warm Regards, Heather Heather Laine Customer Services Manager http://www.runrev.com/ From andre.bisseret at wanadoo.fr Thu Jun 6 04:43:54 2013 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Thu, 6 Jun 2013 10:43:54 +0200 Subject: Caching Deleting Reusing Storing files from Internet In-Reply-To: References: Message-ID: Bonjour Alejandro, On Mac, the files are downloaded each time I run the script. They are not stored. At first time I get a photo, then I got a small video (but very parasitized) followed by a short "noise" ;-) Best regards Andr? Le 6 juin 2013 ? 05:50, Alejandro Tejada a ?crit : > Hi all, > > I have run this script on Windows, so please run this > script in Mac, Linux, Android and iOS and tell me > if these files are downloaded everytime that you > run the script: > > on mouseUp > create img > set the text of last img to URL " > https://dl.dropboxusercontent.com/u/3834621/cat1.gif" > wait 120 ticks > play URL "https://dl.dropboxusercontent.com/u/3834621/sq1.au" > wait 4 seconds > delete last img of this card > end mouseUp > > I expected that the first time both files are downloaded > they were stored and next time that a script request them > LiveCode steps in, behind the scene to reuse the downloaded > file, instead of downloading them again. > > What are the standars practices to reuse downloaded files > in Android and iOS? > > Thanks in advance! > > Al > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From me at paulmaguire.me Thu Jun 6 05:41:42 2013 From: me at paulmaguire.me (Paul Maguire) Date: Thu, 6 Jun 2013 10:41:42 +0100 Subject: Successful recipe for LC iPhone apps... In-Reply-To: References: Message-ID: <0834743A-6CF2-4CCC-9812-1FCDE5D6F668@paulmaguire.me> On 5 Jun 2013, at 13:10, John Dixon wrote: > Anybody submitted one recently and it got through ?.... I just recently got my first LC app through. It is very graphic heavy. I built it at 320x480. I built full-screen assets at 640x960 and scaled these down 50%. The scaling code is handled by the altMobResizer plug in by Chip Walters (had to slightly mod it though to accommodate newer device resolutions). Built for iPhone 3 up and iPad1 up. Seems to work and display fine. Kind regards, Paul. From me at paulmaguire.me Thu Jun 6 05:47:42 2013 From: me at paulmaguire.me (Paul Maguire) Date: Thu, 6 Jun 2013 10:47:42 +0100 Subject: Successful recipe for LC iPhone apps... In-Reply-To: <0834743A-6CF2-4CCC-9812-1FCDE5D6F668@paulmaguire.me> References: <0834743A-6CF2-4CCC-9812-1FCDE5D6F668@paulmaguire.me> Message-ID: <1A9F810C-E55E-4599-A9FC-75AF646A0C19@paulmaguire.me> On 6 Jun 2013, at 10:41, Paul Maguire wrote: > altMobResizer plug in by Chip Walters That should be 'altMobileResizer' From matthias_livecode_150811 at m-r-d.de Thu Jun 6 06:31:17 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 6 Jun 2013 12:31:17 +0200 Subject: mobile image gallery / slider - web or standalone based? In-Reply-To: <1370425802.16069.YahooMailNeo@web28806.mail.ir2.yahoo.com> References: <1370425802.16069.YahooMailNeo@web28806.mail.ir2.yahoo.com> Message-ID: <2935ED70-3013-45F5-93A5-F463AE60881F@m-r-d.de> Mark, thank your for your thoughts. I think i will let livecode download the images to store and chache them directly. I could let my livecode app "communicate" with an LiveCode server script to get information about modification dates. Regards, Matthias Am 05.06.2013 um 11:50 schrieb Mark Wilcox : > Hi Matthias, > > If you go the LiveCode route you can download updates to images in the background to add/replace existing ones in the app - just make sure you include the images external to the stack. No need to do app updates to replace images. > > If you went the browser/jqtouch route in a native app you could also use standard web cache control features so the images didn't get reloaded all the time - you just have to manually persist your own browser cache between app launches. I don't know for sure but I doubt LiveCode does this last bit for you, so the web option is not as flexible right now and the slide/scroll performance will be poorer (a LiveCode swipe should move the image with your finger, like you're actually dragging the page, while the jqtouch version lags, so you've already swiped when the image starts moving). > > If you really prefer to create the gallery with web technology then you could use LiveCode to download updates to local files and have your web content reference those, rather than remote images directly. > > The downside to loading the images in the background with LiveCode at present is I don't think you can get the HTTP headers for the image files with LiveCode (which would let you check things like last modified date on files and folders on the web server) so you'd have to maintain a small file on your web server with details of the latest files and their modification dates so the app can figure out what it need to download in order to avoid lots of repeated downloads of the same files. Does that make sense? > > Mark > > > ________________________________ > From: Matthias Rebbe > To: How to use LiveCode > Sent: Monday, 3 June 2013, 19:43 > Subject: mobile image gallery / slider - web or standalone based? > > > Hi, > > what would be the best way to create a mobile image gallery with slider effect. > I have to include an image gallery in an mobile app (ios and android). > > Would it be better to realize that image gallery slider (swiping with the finger) as web based > thing with jqtouch and use a native browser to integrate that in the mobile app? > Advantage would be the ease of adding/replacing images. > Disadvantage: The user does need an internet connection to see the images. > > Or is it much better to include all 30 images within the app and create the image gallery/slider with livecode? > Advantage: Images are already on the device. No need to download them again and again. > Disadvantage: Adding/replacing images means updating the app in the stores > > I would prefer to create a web based image gallery and show that in a native browser control. > > What do you think? > > Regards, > > Matthias > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m_p_wilcox at yahoo.co.uk Thu Jun 6 07:21:08 2013 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Thu, 6 Jun 2013 12:21:08 +0100 (BST) Subject: mobile image gallery / slider - web or standalone based? In-Reply-To: <2935ED70-3013-45F5-93A5-F463AE60881F@m-r-d.de> References: <1370425802.16069.YahooMailNeo@web28806.mail.ir2.yahoo.com> <2935ED70-3013-45F5-93A5-F463AE60881F@m-r-d.de> Message-ID: <1370517668.92145.YahooMailNeo@web28802.mail.ir2.yahoo.com> Yes, my file-based method is purely to avoid needing to run a server at all (because it's really cheap just to host files on, say, Amazon S3) but if you run your own servers anyway then it's a much neater solution to have a simple API to tell you which images you need to download and where to get them from. ?The usual pattern here is for the app to store the date of the last time it refreshed it's local cache and send this to the server every time it starts up to find out if it needs to download any updates. ?This way you can use server side timestamps for everything and avoid the problem of device time skew. Mark ________________________________ From: Matthias Rebbe To: How to use LiveCode Sent: Thursday, 6 June 2013, 11:31 Subject: Re: mobile image gallery / slider - web or standalone based? Mark, thank your for your thoughts. I think i will let livecode download the images to store and chache them directly. I could let my livecode app "communicate" with an LiveCode server script to get information about modification dates. Regards, Matthias From klaus at major-k.de Thu Jun 6 07:40:00 2013 From: klaus at major-k.de (Klaus major-k) Date: Thu, 6 Jun 2013 13:40:00 +0200 Subject: import snapshot bug? Message-ID: Hi friends, I just experienced something that I consider a bug! LC 6.02 OOS, Mac OS X 10.8.4 When you issue a simple "import snapshot" you get the CROSSHAIR cursor and can drag a rect that gets snapshotted. At least it used to work like this :-/ I just tested this in a fresh stack with only a button: on mouseup import snapshot end mouseup The CROSSHAIR cursor appeard and I dragged a little rect, about 200*200 pixels. Now to my surprise this happened: The CROSSHAIR cursor STAYED and I could not do anything on my machine, no switching to desktop or anything else! VERY SCARY to say the least! Then I hit the ESCAPE buton (by reflex :-) on my keyboard and everything else worked again but I found a snapshot of my COMPLETE monitor in my stack, NOT from the rect that I dragged manually. Could someone please check this before I bugreport this? Thanks! Best Klaus Klaus Major http://www.major-k.de klaus at major-k.de From m.schonewille at economy-x-talk.com Thu Jun 6 07:46:25 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 06 Jun 2013 13:46:25 +0200 Subject: import snapshot bug? In-Reply-To: References: Message-ID: <51B07691.2040202@economy-x-talk.com> Hi Klaus, Didn't someone report exactly this yesterday? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 6/6/2013 13:40, Klaus major-k wrote: > Hi friends, > > I just experienced something that I consider a bug! > LC 6.02 OOS, Mac OS X 10.8.4 > > When you issue a simple "import snapshot" you get the CROSSHAIR cursor > and can drag a rect that gets snapshotted. At least it used to work like this :-/ > > I just tested this in a fresh stack with only a button: > on mouseup > import snapshot > end mouseup > > The CROSSHAIR cursor appeard and I dragged a little rect, about 200*200 pixels. > > Now to my surprise this happened: > The CROSSHAIR cursor STAYED and I could not do anything on my machine, > no switching to desktop or anything else! VERY SCARY to say the least! > > Then I hit the ESCAPE buton (by reflex :-) on my keyboard and everything else worked again > but I found a snapshot of my COMPLETE monitor in my stack, NOT from the rect that I > dragged manually. > > Could someone please check this before I bugreport this? > Thanks! > > > Best > > Klaus > > Klaus Major > http://www.major-k.de > klaus at major-k.de > From m.schonewille at economy-x-talk.com Thu Jun 6 07:50:36 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 06 Jun 2013 13:50:36 +0200 Subject: [IMPORTANT] Survey about Programming LiveCode for the Real Beginner In-Reply-To: <51AE3F9B.3000409@economy-x-talk.com> References: <51AE3F9B.3000409@economy-x-talk.com> Message-ID: <51B0778C.3000803@economy-x-talk.com> Hello, Please, don't forget to fill out the survey at http://qery.us/3i0 Your answers will determine whether we're going to produce a second print of the book, in which quantity and in which format. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ From klaus at major-k.de Thu Jun 6 07:53:54 2013 From: klaus at major-k.de (Klaus major-k) Date: Thu, 6 Jun 2013 13:53:54 +0200 Subject: import snapshot bug? In-Reply-To: <51B07691.2040202@economy-x-talk.com> References: <51B07691.2040202@economy-x-talk.com> Message-ID: Hi Mark, Am 06.06.2013 um 13:46 schrieb Mark Schonewille : > Hi Klaus, > > Didn't someone report exactly this yesterday? not that I knew :-) > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi > > Fill out this survey please > http://livecodebeginner.economy-x-talk.com/survey/ > > On 6/6/2013 13:40, Klaus major-k wrote: >> Hi friends, >> >> I just experienced something that I consider a bug! >> LC 6.02 OOS, Mac OS X 10.8.4 >> >> When you issue a simple "import snapshot" you get the CROSSHAIR cursor >> and can drag a rect that gets snapshotted. At least it used to work like this :-/ >> >> I just tested this in a fresh stack with only a button: >> on mouseup >> import snapshot >> end mouseup >> >> The CROSSHAIR cursor appeard and I dragged a little rect, about 200*200 pixels. >> >> Now to my surprise this happened: >> The CROSSHAIR cursor STAYED and I could not do anything on my machine, >> no switching to desktop or anything else! VERY SCARY to say the least! >> >> Then I hit the ESCAPE buton (by reflex :-) on my keyboard and everything else worked again >> but I found a snapshot of my COMPLETE monitor in my stack, NOT from the rect that I >> dragged manually. >> >> Could someone please check this before I bugreport this? >> Thanks! Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From dochawk at gmail.com Thu Jun 6 09:44:24 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 6 Jun 2013 06:44:24 -0700 Subject: Where to write application data In-Reply-To: References: Message-ID: On Wed, Jun 5, 2013 at 8:51 PM, Peter Haworth wrote: > Not sure there's a standard place on Linux but I think I've just used the > users home directory with a company/application folder within that > That, as Warren described, *is* the unix standard, and has been since the PDP-11. OK, it's kind of changed from a file to a directory for most things over the years :) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From ambassador at fourthworld.com Thu Jun 6 09:47:44 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 06 Jun 2013 06:47:44 -0700 Subject: Where to write application data In-Reply-To: References: Message-ID: <51B09300.3050409@fourthworld.com> Devin Asay wrote: > I checked Ken Ray's site (http://www.sonsothunder.com/devres/livecode > /tips/file010.htm) but don't find exactly what I'm looking for there, > plus I'm not sure it's 100% up to date. FWIW, I was talking about Ken about the list at his site just a couple weeks ago while diagnosing an issue on Win7, and it seems the info is pretty current. I use specialFolderPath(26) for Windows, which take you to a writable folder in user space on XP through Win7 and even Win8 IIRC. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From MikeKerner at roadrunner.com Thu Jun 6 09:49:40 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 6 Jun 2013 09:49:40 -0400 Subject: DB/Reporting Tools In-Reply-To: References: <733E5CC782124B9888F8209229B0C25B@GATEWAY> Message-ID: Andrew, "Rolling your own" is what I have been doing previously, with LC, but I have been messing with Valentina for a couple of weeks, which is why I was curious if anybody is using anything else with LC. As you can see from Lynn and Ruslan's posting of the conversation they were having with me off-list, they think there should be no other tool. We'll see. From ambassador at fourthworld.com Thu Jun 6 10:48:12 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 06 Jun 2013 07:48:12 -0700 Subject: DB/Reporting Tools In-Reply-To: References: Message-ID: <51B0A12C.90408@fourthworld.com> Mike Kerner wrote: > As you can see from Lynn and Ruslan's posting of the conversation > they were having with me off-list, they think there should be no > other tool. We'll see. Well, obviously as the makers of Valentina they're biased, but IMO their craftsman's pride is quite understandable: Not only is the feature set quite enticing (hence this discussion of reporting tools), but one thing they don't drive home as much as I believe it warrants is the unusual structure of their data store. While most stores are row-based, my understanding is that Valentina is column-based. Columnar stores often carry a bit of overhead for writes, but Ruslan's done such a good job with his that you'd never notice. Where columnar stores shine is in retrieval, specifically in searches. In a very broad sense, it's almost like having every column automatically indexed, but without the overhead normally associated with things like SQL indexes. What Ruslan's pulled off with Valentina is IMNSHO quite remarkable, esp. for use cases where search performance across multiple fields in large data sets is critical. Valentina may not be the best tool for every job, and I think even Lynn would be quick to agree with that. But it's an innovative option uniquely well suited for certain tasks, so I can't blame them if they're excited about what they've accomplished. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From devin_asay at byu.edu Thu Jun 6 10:57:57 2013 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 6 Jun 2013 14:57:57 +0000 Subject: Getting Kanji from a .csv file In-Reply-To: <51B00532.6040000@pdslabs.net> References: <51B00532.6040000@pdslabs.net> Message-ID: <5AA578BB-59D7-41BA-9CD2-6C4B59372300@byu.edu> On Jun 5, 2013, at 9:42 PM, Phil Davis wrote: > Hi Howard, > > From one unicode-ignorant soul to another - > > Devin's explanation about LC & Unicode got me started: > http://livecode.byu.edu/unicode/unicodeInRev.php -- the good part is about a third of the way down > > Using this info + LC's various unicode functions + the styledText of a field, I was recently able to paste multi-line Arabic text correctly. If I can do that, you can do Kanji. Really! It reads left-to-right doesn't it? Thanks for the kind words, Phil. The article is several years old now, and while most of the information is still valid, some significant things regarding Unicode changed for the better in the LiveCode 5.x cycle. (Although someone at RunRev has added some notes to it in the meantime to reflect some of the changes.) Some day I'll make some time to update the article. Devin Devin Asay Office of Digital Humanities Brigham Young University From mcgrath3 at mac.com Thu Jun 6 11:01:29 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 06 Jun 2013 11:01:29 -0400 Subject: Mail List Move Planned In-Reply-To: <79EE8711-8CD1-413D-87E9-EBAE38F16B84@runrev.com> References: <79EE8711-8CD1-413D-87E9-EBAE38F16B84@runrev.com> Message-ID: <737727BC-FABC-4611-A68E-46D322A6A459@mac.com> I always wanted to travel through a black hole. Can I do it anyway even if my email vanishes??? Please??? -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jun 6, 2013, at 4:10 AM, Heather Laine wrote: > Dear list members, > > Just a heads up that we are planning to move this list to a different server on Monday. This will mean it will be offline for a few hours during the move. We'll let you know just before we start the move, and when it is back up again. During this period please don't attempt to post to the list as your mail is likely to vanish into a black hole. > > Once moved, you can continue to post as before, no change is required to the address. > > Warm Regards, > > Heather > > Heather Laine > Customer Services Manager > http://www.runrev.com/ > From mcgrath3 at mac.com Thu Jun 6 11:04:49 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 06 Jun 2013 11:04:49 -0400 Subject: Successful recipe for LC iPhone apps... In-Reply-To: <1A9F810C-E55E-4599-A9FC-75AF646A0C19@paulmaguire.me> References: <0834743A-6CF2-4CCC-9812-1FCDE5D6F668@paulmaguire.me> <1A9F810C-E55E-4599-A9FC-75AF646A0C19@paulmaguire.me> Message-ID: Yeah, but that would be great plugin for Chip to build for crowd control? Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jun 6, 2013, at 5:47 AM, Paul Maguire wrote: > On 6 Jun 2013, at 10:41, Paul Maguire wrote: >> altMobResizer plug in by Chip Walters > > That should be 'altMobileResizer' > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From devin_asay at byu.edu Thu Jun 6 11:20:36 2013 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 6 Jun 2013 15:20:36 +0000 Subject: Where to write application data In-Reply-To: <51B09300.3050409@fourthworld.com> References: <51B09300.3050409@fourthworld.com> Message-ID: On Jun 6, 2013, at 7:47 AM, Richard Gaskin wrote: > Devin Asay wrote: > > > I checked Ken Ray's site (http://www.sonsothunder.com/devres/livecode > > /tips/file010.htm) but don't find exactly what I'm looking for there, > > plus I'm not sure it's 100% up to date. > > FWIW, I was talking about Ken about the list at his site just a couple weeks ago while diagnosing an issue on Win7, and it seems the info is pretty current. > > I use specialFolderPath(26) for Windows, which take you to a writable folder in user space on XP through Win7 and even Win8 IIRC. Thanks Richard(s), Pete, Warren, et al. This is very helpful. Devin Devin Asay Office of Digital Humanities Brigham Young University From ruslan_zasukhin at valentina-db.com Thu Jun 6 11:57:22 2013 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Thu, 06 Jun 2013 18:57:22 +0300 Subject: DB/Reporting Tools In-Reply-To: <51B0A12C.90408@fourthworld.com> Message-ID: On 6/6/13 5:48 PM, "Richard Gaskin" wrote: > Mike Kerner wrote: >> As you can see from Lynn and Ruslan's posting of the conversation >> they were having with me off-list, they think there should be no >> other tool. We'll see. > > Well, obviously as the makers of Valentina they're biased, but IMO their > craftsman's pride is quite understandable: > > Not only is the feature set quite enticing (hence this discussion of > reporting tools), but one thing they don't drive home as much as I > believe it warrants is the unusual structure of their data store. :-) Richard, please note, that Mike is going to use Valentina Reports with SQLite. Starting from 5.0, we have separate "Valentina DB ADK" and " Valentina Reports ADK" Valentina Reports can be used with SQLite, mySQL, PostgreSQL any other dbs via ODBC. ====== > Where columnar stores shine is in retrieval, specifically in searches. > In a very broad sense, it's almost like having every column > automatically indexed, but without the overhead normally associated with > things like SQL indexes. > > What Ruslan's pulled off with Valentina is IMNSHO quite remarkable, esp. > for use cases where search performance across multiple fields in large > data sets is critical. > > Valentina may not be the best tool for every job, and I think even Lynn > would be quick to agree with that. Don't know how Lynn, but I will be interested to hear :) We claim here that Valentina DB is perfect * Relational DB * Object-Relational DB * SQL DB * NON-SQL DB, because exists reach OO API: 50 classes with 1000 methods. * KEY-VALUE storage. === Large datasets - yes. But yet 5 years ago was prove that Valentina have beat mySQL on small queries per second... Because we use other nature of protocol. Prove was from our user, which developed ORM for RB, later for ObjC, and tested it both using mySQL and vServer. > But it's an innovative option > uniquely well suited for certain tasks, so I can't blame them if they're > excited about what they've accomplished. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From skip at magicgate.com Thu Jun 6 12:01:57 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Thu, 6 Jun 2013 12:01:57 -0400 Subject: Embed MapPoint into desktop application Message-ID: Anybody ever attempt to do this? Even possible? I am a scenario where a company is using MapPoint in a customized Access application. I want to rip it apart and re-build it but they rely heavily upon MapPoint that is integrated / imbedded in it. Just wondering if this has been attempted before.... SKIP From devin_asay at byu.edu Thu Jun 6 12:32:26 2013 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 6 Jun 2013 16:32:26 +0000 Subject: Where to write application data In-Reply-To: <51B09300.3050409@fourthworld.com> References: <51B09300.3050409@fourthworld.com> Message-ID: On Jun 6, 2013, at 7:47 AM, Richard Gaskin wrote: > Devin Asay wrote: > > > I checked Ken Ray's site (http://www.sonsothunder.com/devres/livecode > > /tips/file010.htm) but don't find exactly what I'm looking for there, > > plus I'm not sure it's 100% up to date. > > FWIW, I was talking about Ken about the list at his site just a couple weeks ago while diagnosing an issue on Win7, and it seems the info is pretty current. > > I use specialFolderPath(26) for Windows, which take you to a writable folder in user space on XP through Win7 and even Win8 IIRC. BTW, as I was experimenting I discovered that specialFolderPath("usr") on OS X yields ~/Library/Application Support. Maybe I'm the last one on this bus, but it was news to me, and very helpful. :) Devin Devin Asay Office of Digital Humanities Brigham Young University From pete at lcsql.com Thu Jun 6 13:36:57 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 6 Jun 2013 10:36:57 -0700 Subject: Where to write application data In-Reply-To: References: <51B09300.3050409@fourthworld.com> Message-ID: On Thu, Jun 6, 2013 at 9:32 AM, Devin Asay wrote: > BTW, as I was experimenting I discovered that specialFolderPath("usr") on > OS X yields ~/Library/Application Support. > > Maybe I'm the last one on this bus, but it was news to me, and very > helpful. :) > News to me also. specialFolderPath("support") gives the same result (0n 5.5.4) - I wonder if one of them is supposed to return the path to the system Library/Application SUpport? Pete lcSQL Software From rdimola at evergreeninfo.net Thu Jun 6 13:42:33 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 6 Jun 2013 13:42:33 -0400 Subject: Successful recipe for LC iPhone apps... In-Reply-To: References: Message-ID: <005001ce62dd$3a11e9b0$ae35bd10$@net> >Anybody submitted one recently and it got through ?.... John, I submitted an app on 5/22 and was approved on 5/25(3 Days. Fastest ever for me!!) using LC 5.5.5. iOS Xcode SDKs==>4.2, 4.4.1, 4.5.2 and 4.6. OSX 10.8.3. The app supports "3.1.3 or later", "Arm6/7(universal build)" and all device sizes and resolutions using my home rolled resolution/aspect ratio independence library. It also went up to the PlayStore simultaneously using LC 6.0.1. I did get these automated warnings from Apple though..... We have discovered one or more issues with your recent delivery for "Sectionals". Your delivery was successful, but you may wish to correct the following issues in your next delivery: Missing Push Notification Entitlement - Your app appears to include API used to register with the Apple Push Notification service, but the app signature's entitlements do not include the "aps-environment" entitlement. If your app uses the Apple Push Notification service, make sure your App ID is enabled for Push Notification in the Provisioning Portal, and resubmit after signing your app with a Distribution provisioning profile that includes the "aps-environment" entitlement. See "Provisioning and Development" in the Local and Push Notification Programming Guide for more information. If your app does not use the Apple Push Notification service, no action is required. You may remove the API from future submissions to stop this warning. If you use a third-party framework, you may need to contact the developer for information on removing the API. Non-PIE Binary - The executable 'JBT Red Book 343 555 Prod.app' is not a Position Independent Executable. Please ensure that your build settings are configured to create PIE executables. If you would like to update your binary for this app, you can reject this binary from the Binary Details page in iTunes Connect. Note that rejecting your binary will remove your app from the review queue and the review process will start over from the beginning when you resubmit your binary. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of John Dixon Sent: Wednesday, June 05, 2013 8:10 AM To: use-livecode at lists.runrev.com Subject: Successful recipe for LC iPhone apps... There seems to be lots of stories about rejection of LC apps from the iTunes store around.. What is the position regarding submission these days in the ever shifting sands of Apples' whims ? Has the iphone app got to be built at 640 x 960 ? What has position independant code got to do with building the app in liveCode ? I have an app ready for submission, but it has been built at 320 x 480... reading the stories on the forums it seems that submitting at this size will attract a rejection... is this correct ? Anybody submitted one recently and it got through ?.... _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Thu Jun 6 14:12:18 2013 From: klaus at major-k.de (Klaus major-k) Date: Thu, 6 Jun 2013 20:12:18 +0200 Subject: Where to write application data In-Reply-To: References: <51B09300.3050409@fourthworld.com> Message-ID: <622283AA-6119-4113-AAC0-AEE8AEBC0253@major-k.de> Hi guys, Am 06.06.2013 um 19:36 schrieb Peter Haworth : > On Thu, Jun 6, 2013 at 9:32 AM, Devin Asay wrote: > >> BTW, as I was experimenting I discovered that specialFolderPath("usr") on >> OS X yields ~/Library/Application Support. >> >> Maybe I'm the last one on this bus, but it was news to me, and very >> helpful. :) > > News to me also. specialFolderPath("support") gives the same result (0n > 5.5.4) - I wonder if one of them is supposed to return the path to the > system Library/Application SUpport? well, sometimes it is not a bad idea to read the "Release Notes" with every new version ;-) > Pete > lcSQL Software Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From pete at lcsql.com Thu Jun 6 14:33:21 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 6 Jun 2013 11:33:21 -0700 Subject: Getting Kanji from a .csv file In-Reply-To: <51B00532.6040000@pdslabs.net> References: <51B00532.6040000@pdslabs.net> Message-ID: Let's say I have an sqlite database with data stored in utf-8 format, which I think is the default for sqlite dbs. The application using the database may be taking input in ASCII format or unicode depending on the user's language settings. So sometimes, the application will get ASCII data and other times unicode. What do I need to do to ensure data ends up in the database in utf-8 format whether it's ASCII or unicode. SImilarly, when I'm displaying data from the database, do I need to do any conversion before displaying it to the user. Or does this "just work" as long as the data is is written and read on the same computer? Pete lcSQL Software On Wed, Jun 5, 2013 at 8:42 PM, Phil Davis wrote: > Hi Howard, > > From one unicode-ignorant soul to another - > > Devin's explanation about LC & Unicode got me started: > http://livecode.byu.edu/**unicode/unicodeInRev.php -- the good part is about a third of the way down > > Using this info + LC's various unicode functions + the styledText of a > field, I was recently able to paste multi-line Arabic text correctly. If I > can do that, you can do Kanji. Really! It reads left-to-right doesn't it? > > Best - > Phil > > > > On 6/5/13 7:23 PM, Howard Bornstein wrote: > >> I have a client who wants me to do some processing on a spreadsheet file >> that has been saved in .csv format. One of the fields contain either >> English or Japanese. When I look at the fields with the Japanese, it looks >> like gibberish. It does not display as Kanji. >> >> I believe the full data is still there because if I open it up in Numbers, >> the Kanji is displayed correctly. However, I need to use the .cvs file to >> process and I can't, for the life of me, make the Kanji appear. >> >> I am *way* in over my head here with regards to different languages. I >> assume this is a unicode issue but I am completely ignorant in this area. >> >> My question is: how can I take a .cvs file, which contains some Kanji text >> but doesn't display as Kanji, and convert it so that, as a text file, it >> displays as Kanji again. I don't care where this conversion takes place--I >> am doing a bunch of other processing of the file in LC so it can be >> anywhere in the process. I'm not doing anything with the Kanji itself >> except displaying it. >> >> I'd appreciate any help but if it involves unicode, please assume you are >> talking to an imbecile. >> >> TIA >> >> > -- > Phil Davis > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From pete at lcsql.com Thu Jun 6 14:57:59 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 6 Jun 2013 11:57:59 -0700 Subject: Where to write application data In-Reply-To: <622283AA-6119-4113-AAC0-AEE8AEBC0253@major-k.de> References: <51B09300.3050409@fourthworld.com> <622283AA-6119-4113-AAC0-AEE8AEBC0253@major-k.de> Message-ID: On Thu, Jun 6, 2013 at 11:12 AM, Klaus major-k wrote: > well, sometimes it is not a bad idea to read the "Release Notes" with > every new version ;-) > And sometimes, it's a good idea for the user guide and the dictionary to be updated with every new version! Actually, I take that back, it's ALWAYS a good idea to do that. Pete lcSQL Software From dsc at swcp.com Thu Jun 6 15:01:16 2013 From: dsc at swcp.com (Dar Scott) Date: Thu, 6 Jun 2013 13:01:16 -0600 Subject: Getting Kanji from a .csv file In-Reply-To: References: <51B00532.6040000@pdslabs.net> Message-ID: If, by ASCII, you mean classic ASCII, 7 bits, then ASCII is UTF-8. You can process it as UTF-8. In even other words, ASCII is a subset of UTF-8 in a sense. The ASCII codes are valid Unicode codes and the UTF-8 form of Unicode containing only that range looks just like a sequence of bytes with ASCII characters in them. If you mean (by ASCII) a single-byte character encoding, it gets harder, but maybe that can be bypassed. There have been some recent improvements (as someone mentioned) and more cool stuff in on the way. This is my first approach to this. Take the value of the unicodeText property of the field. Convert that to UTF-8 with uniDecode(). Store that in the db which is set up for that. (Alternately, you can set up the db for 16-bit unicode with some endian, and then do endian conversion based on the platform.) Coming back, do the reverse. When outputting to text files, include a byte ordering code at the beginning to be a hint to applications. Dar On Jun 6, 2013, at 12:33 PM, Peter Haworth wrote: > Let's say I have an sqlite database with data stored in utf-8 format, which > I think is the default for sqlite dbs. The application using the database > may be taking input in ASCII format or unicode depending on the user's > language settings. So sometimes, the application will get ASCII data and > other times unicode. > > > What do I need to do to ensure data ends up in the database in utf-8 format > whether it's ASCII or unicode. SImilarly, when I'm displaying data from > the database, do I need to do any conversion before displaying it to the > user. Or does this "just work" as long as the data is is written and read > on the same computer? > > > > Pete > lcSQL Software > > > On Wed, Jun 5, 2013 at 8:42 PM, Phil Davis wrote: > >> Hi Howard, >> >> From one unicode-ignorant soul to another - >> >> Devin's explanation about LC & Unicode got me started: >> http://livecode.byu.edu/**unicode/unicodeInRev.php -- the good part is about a third of the way down >> >> Using this info + LC's various unicode functions + the styledText of a >> field, I was recently able to paste multi-line Arabic text correctly. If I >> can do that, you can do Kanji. Really! It reads left-to-right doesn't it? >> >> Best - >> Phil >> >> >> >> On 6/5/13 7:23 PM, Howard Bornstein wrote: >> >>> I have a client who wants me to do some processing on a spreadsheet file >>> that has been saved in .csv format. One of the fields contain either >>> English or Japanese. When I look at the fields with the Japanese, it looks >>> like gibberish. It does not display as Kanji. >>> >>> I believe the full data is still there because if I open it up in Numbers, >>> the Kanji is displayed correctly. However, I need to use the .cvs file to >>> process and I can't, for the life of me, make the Kanji appear. >>> >>> I am *way* in over my head here with regards to different languages. I >>> assume this is a unicode issue but I am completely ignorant in this area. >>> >>> My question is: how can I take a .cvs file, which contains some Kanji text >>> but doesn't display as Kanji, and convert it so that, as a text file, it >>> displays as Kanji again. I don't care where this conversion takes place--I >>> am doing a bunch of other processing of the file in LC so it can be >>> anywhere in the process. I'm not doing anything with the Kanji itself >>> except displaying it. >>> >>> I'd appreciate any help but if it involves unicode, please assume you are >>> talking to an imbecile. >>> >>> TIA >>> >>> >> -- >> Phil Davis >> >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Thu Jun 6 15:57:35 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 6 Jun 2013 12:57:35 -0700 (PDT) Subject: Caching Deleting Reusing Storing files from Internet In-Reply-To: References: Message-ID: <1370548655562-4666026.post@n4.nabble.com> Hi Andr?, Andr? Bisseret wrote > On Mac, the files are downloaded > each time I run the script. > They are not stored. > At first time I get a photo, > then I got a small video (but very > parasitized) followed by a short "noise" ;-) Downloaded and displayed files were an animated gif and a short audio in format AU. Looks like I have to use the commands: Load URL / Unload URL Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Caching-Deleting-Reusing-Storing-files-from-Internet-tp4665992p4666026.html Sent from the Revolution - User mailing list archive at Nabble.com. From klaus at major-k.de Thu Jun 6 16:01:47 2013 From: klaus at major-k.de (Klaus major-k) Date: Thu, 6 Jun 2013 22:01:47 +0200 Subject: import snapshot bug? In-Reply-To: References: Message-ID: Hmmm, noone problems with this one or has a minute to spare to check this? And what if I say CHEEESEEE? :-) Am 06.06.2013 um 13:40 schrieb Klaus major-k : > Hi friends, > > I just experienced something that I consider a bug! > LC 6.02 OOS, Mac OS X 10.8.4 > > When you issue a simple "import snapshot" you get the CROSSHAIR cursor > and can drag a rect that gets snapshotted. At least it used to work like this :-/ > > I just tested this in a fresh stack with only a button: > on mouseup > import snapshot > end mouseup > > The CROSSHAIR cursor appeard and I dragged a little rect, about 200*200 pixels. > > Now to my surprise this happened: > The CROSSHAIR cursor STAYED and I could not do anything on my machine, > no switching to desktop or anything else! VERY SCARY to say the least! > > Then I hit the ESCAPE buton (by reflex :-) on my keyboard and everything else worked again > but I found a snapshot of my COMPLETE monitor in my stack, NOT from the rect that I > dragged manually. > > Could someone please check this before I bugreport this? > Thanks! Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From paulhibbert at mac.com Thu Jun 6 16:17:51 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Thu, 06 Jun 2013 13:17:51 -0700 Subject: import snapshot bug? In-Reply-To: References: Message-ID: <52A5CB89-6FB6-491D-A59A-FC6F4BD98B06@mac.com> Hi Klaus, I can confirm this does appear to be a bug from my tests, I didn't reply straight away because I was going to test LC 5.5.5 too, but the doorbell rang so I was sidetracked! I'll try LC 5.5.5 next. Paul LC 6.0.2 Mac OSX 10.7.5 On 2013-06-06, at 1:01 PM, Klaus major-k wrote: > Hmmm, noone problems with this one or has a minute to spare to check this? > > And what if I say CHEEESEEE? :-) > > Am 06.06.2013 um 13:40 schrieb Klaus major-k : > >> Hi friends, >> >> I just experienced something that I consider a bug! >> LC 6.02 OOS, Mac OS X 10.8.4 >> >> When you issue a simple "import snapshot" you get the CROSSHAIR cursor >> and can drag a rect that gets snapshotted. At least it used to work like this :-/ >> >> I just tested this in a fresh stack with only a button: >> on mouseup >> import snapshot >> end mouseup >> >> The CROSSHAIR cursor appeard and I dragged a little rect, about 200*200 pixels. >> >> Now to my surprise this happened: >> The CROSSHAIR cursor STAYED and I could not do anything on my machine, >> no switching to desktop or anything else! VERY SCARY to say the least! >> >> Then I hit the ESCAPE buton (by reflex :-) on my keyboard and everything else worked again >> but I found a snapshot of my COMPLETE monitor in my stack, NOT from the rect that I >> dragged manually. >> >> Could someone please check this before I bugreport this? >> Thanks! > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Thu Jun 6 16:19:04 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 06 Jun 2013 15:19:04 -0500 Subject: import snapshot bug? In-Reply-To: References: Message-ID: <51B0EEB8.9010105@hyperactivesw.com> I just tried it with LiveCode 6.0.2 and it works okay here. I sent "import snapshot" from the message box. Don't say the "C" word! On 6/6/13 3:01 PM, Klaus major-k wrote: > Hmmm, noone problems with this one or has a minute to spare to check this? > > And what if I say CHEEESEEE? :-) > > Am 06.06.2013 um 13:40 schrieb Klaus major-k : > >> Hi friends, >> >> I just experienced something that I consider a bug! >> LC 6.02 OOS, Mac OS X 10.8.4 >> >> When you issue a simple "import snapshot" you get the CROSSHAIR cursor >> and can drag a rect that gets snapshotted. At least it used to work like this :-/ >> >> I just tested this in a fresh stack with only a button: >> on mouseup >> import snapshot >> end mouseup >> >> The CROSSHAIR cursor appeard and I dragged a little rect, about 200*200 pixels. >> >> Now to my surprise this happened: >> The CROSSHAIR cursor STAYED and I could not do anything on my machine, >> no switching to desktop or anything else! VERY SCARY to say the least! >> >> Then I hit the ESCAPE buton (by reflex :-) on my keyboard and everything else worked again >> but I found a snapshot of my COMPLETE monitor in my stack, NOT from the rect that I >> dragged manually. >> >> Could someone please check this before I bugreport this? >> Thanks! > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Thu Jun 6 16:21:25 2013 From: klaus at major-k.de (Klaus major-k) Date: Thu, 6 Jun 2013 22:21:25 +0200 Subject: import snapshot bug? In-Reply-To: <52A5CB89-6FB6-491D-A59A-FC6F4BD98B06@mac.com> References: <52A5CB89-6FB6-491D-A59A-FC6F4BD98B06@mac.com> Message-ID: Hi Paul, Am 06.06.2013 um 22:17 schrieb Paul Hibbert : > Hi Klaus, > > I can confirm this does appear to be a bug from my tests, I didn't reply straight away because I was going to test LC 5.5.5 too, but the doorbell rang so I was sidetracked! OK. thanks! > I'll try LC 5.5.5 next. Already checked, same here! > Paul > > LC 6.0.2 Mac OSX 10.7.5 > > > On 2013-06-06, at 1:01 PM, Klaus major-k wrote: > >> Hmmm, noone problems with this one or has a minute to spare to check this? >> >> And what if I say CHEEESEEE? :-) >> >> Am 06.06.2013 um 13:40 schrieb Klaus major-k : >> >>> Hi friends, >>> >>> I just experienced something that I consider a bug! >>> LC 6.02 OOS, Mac OS X 10.8.4 >>> >>> When you issue a simple "import snapshot" you get the CROSSHAIR cursor >>> and can drag a rect that gets snapshotted. At least it used to work like this :-/ >>> >>> I just tested this in a fresh stack with only a button: >>> on mouseup >>> import snapshot >>> end mouseup >>> >>> The CROSSHAIR cursor appeard and I dragged a little rect, about 200*200 pixels. >>> >>> Now to my surprise this happened: >>> The CROSSHAIR cursor STAYED and I could not do anything on my machine, >>> no switching to desktop or anything else! VERY SCARY to say the least! >>> >>> Then I hit the ESCAPE buton (by reflex :-) on my keyboard and everything else worked again >>> but I found a snapshot of my COMPLETE monitor in my stack, NOT from the rect that I >>> dragged manually. >>> >>> Could someone please check this before I bugreport this? >>> Thanks! Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From klaus at major-k.de Thu Jun 6 16:24:50 2013 From: klaus at major-k.de (Klaus major-k) Date: Thu, 6 Jun 2013 22:24:50 +0200 Subject: import snapshot bug? In-Reply-To: <51B0EEB8.9010105@hyperactivesw.com> References: <51B0EEB8.9010105@hyperactivesw.com> Message-ID: <43528E26-F3A4-4651-A7BB-4913FF580ADD@major-k.de> Hi Jaqueline, Am 06.06.2013 um 22:19 schrieb "J. Landman Gay" : > I just tried it with LiveCode 6.0.2 and it works okay here. I sent "import snapshot" from the message box. O yeah, really works this way, but not in a button in a stack, too funky! > Don't say the "C" word! Hehe :-D Saw a cool pic (text only) on Facebook today: Sweet dreams are made of cheese Who am I to diss Brie I Cheddar the world And the Feta cheese Everybody's looking for Stilton :-D Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From mwieder at ahsoftware.net Thu Jun 6 16:26:26 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 6 Jun 2013 20:26:26 +0000 (UTC) Subject: Mail List Move Planned References: <79EE8711-8CD1-413D-87E9-EBAE38F16B84@runrev.com> Message-ID: Heather Laine writes: > Just a heads up that we are planning to move this list to a different server on Monday. Good thing this isn't being done on a weekday, when we might need the list. Thanks for the heads-up. -- Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Thu Jun 6 16:29:35 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 6 Jun 2013 20:29:35 +0000 (UTC) Subject: import snapshot bug? References: Message-ID: Klaus major-k writes: > > Hi friends, > > I just experienced something that I consider a bug! > LC 6.02 OOS, Mac OS X 10.8.4 > > When you issue a simple "import snapshot" you get the CROSSHAIR cursor > and can drag a rect that gets snapshotted. At least it used to work like this :-/ > > I just tested this in a fresh stack with only a button: > on mouseup > import snapshot > end mouseup Works fine here on linux in a button script. -- Mark Wieder mwieder at ahsoftware.net From klaus at major-k.de Thu Jun 6 16:34:48 2013 From: klaus at major-k.de (Klaus major-k) Date: Thu, 6 Jun 2013 22:34:48 +0200 Subject: import snapshot bug? In-Reply-To: References: Message-ID: Hi Mark, Am 06.06.2013 um 22:29 schrieb Mark Wieder : > Klaus major-k writes: > Hi friends, >> >> I just experienced something that I consider a bug! >> LC 6.02 OOS, Mac OS X 10.8.4 >> >> When you issue a simple "import snapshot" you get the CROSSHAIR cursor >> and can drag a rect that gets snapshotted. At least it used to work like this :-/ >> >> I just tested this in a fresh stack with only a button: >> on mouseup >> import snapshot >> end mouseup > > Works fine here on linux in a button script. OK, seems to be a Mac thing. But just too funky it works when executed from the message box!? 8-) Will bug report this. Thanks to all for checking! > -- > Mark Wieder > mwieder at ahsoftware.net Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From alex at tweedly.net Thu Jun 6 16:39:45 2013 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 06 Jun 2013 21:39:45 +0100 Subject: OT: Dinner or meetup in Berkeley (or SF, or somewhere, Wednesday 12th June Message-ID: <51B0F391.4050105@tweedly.net> I'm visiting the Bay Area next week, and trying to get together with Mark Weider and Shauna for dinner. Somewhere in Berkeley I guess, or somewhere else in the North Bay (that's up to Mark, I don't know where up there is good). If any other LC'ers would like to join us - please let one or both of us know. And if you're in the South Bay, and can't face the trek all the way up there, also get in touch with me - I'll be spending most of the week south of Palo Alto, and would happily meet up with others from this list to put a few more faces to names. I'm still free for lunch some days, and free or coffee etc. mid morning or mid-afternoon most days; I think I've run out of evenings already :-) Thanks -- Alex. From mwieder at ahsoftware.net Thu Jun 6 17:06:03 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 6 Jun 2013 21:06:03 +0000 (UTC) Subject: import snapshot bug? References: Message-ID: Klaus major-k writes: > OK, seems to be a Mac thing. > But just too funky it works when executed from the message box!? Yeah, if anything I'd expect the opposite. That message box is full of surprises. -- Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Thu Jun 6 17:10:41 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 6 Jun 2013 21:10:41 +0000 (UTC) Subject: OT: Dinner or meetup in Berkeley (or SF, or somewhere, =?utf-8?b?V2VkbmVzZGF5CTEydGg=?= June References: <51B0F391.4050105@tweedly.net> Message-ID: Alex- Thanks for posting this... I've been meaning to get around to it... I think SF is probably a more likely place to get folks to gather, but let's wait for responses to see who can make it where and see what we can get together. Responses to me or to Alex are fine. Probably not to this list, since I don't see a need to pollute the message stream for folks who are out of the area. Or otherwise just not interested. You know who you are. -- Mark Wieder mwieder at ahsoftware.net From joe.klemmer at gmail.com Thu Jun 6 17:47:17 2013 From: joe.klemmer at gmail.com (Joe Klemmer) Date: Thu, 6 Jun 2013 17:47:17 -0400 Subject: LiveCode and Linux Message-ID: Very new to LiveCode but not Linux or programming in general. I have LiveCode Community 6.0.1 installed on my Fedora 18 box but I'm having a small problem getting the mobile stuff configured. When I go to Preferences -> Mobile Support to setup for Android development, the JDK path shows (none) and no matter what I enter in the "choose directory" it remains none. I have the Sun... I mean Oracle JDK installed in /usr/java/jdk1.7.0_21/ and the OpenJDK in /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.19 but nothing I enter into this input seems to take. Also, when I try to set the Android SDK path, it keeps telling me there's no SDK installed. I have $HOME/Programs/android-sdk-linux, $HOME/Programs/adt-bundle-linux-x86/sdk and $HOME/Programs/android-studio/sdk. One of these should be right. Any pointers to where I could look for a solution or workaround or something? Much thanks, Joe -- Indie Game Dev and Linux User Contact Info: http://about.me/joeklemmer "Running Linux since 1991" From mwieder at ahsoftware.net Thu Jun 6 17:48:06 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 6 Jun 2013 21:48:06 +0000 (UTC) Subject: OT: Android file locations Message-ID: I'm technologically-challenged when it comes to mobile phones, but I managed to transfer a few pictures from the conference from phone to my Android tablet over a Bluetooth connection. (I'd be way too embarrassed to say how many days it took to figure out how to do that). I can see the pictures in the Android gallery in an album labeled "Bluetooth". Now I'd like to transfer them off the tablet into a web thingy somewhere, but I don't know where to find them. Any clues as to where to find them and how to transfer them out? So far googling hasn't turned up anything useful. Maybe I'm the first to try something this daft. -- Mark Wieder mwieder at ahsoftware.net From dochawk at gmail.com Thu Jun 6 17:50:54 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 6 Jun 2013 14:50:54 -0700 Subject: web wrappers for php, livecode, and remote postgres servers Message-ID: I suspect I'll understand much more this time around :) Even for local use, I'm writing wrappers of my own for multiple postgres db hits/queries that can be grouped. At the moment, they'll deal with livecode's inability to pass them correctly, but It also lets me bundle them for a single remote hit/lagtime. I suppose it's back to php (given the livecode limitation, livecode server won't solve the problem, but I think I'd have these same issues). When I use something like pg_open(), it looks like the user name and password would go, the db would be logged into, the transaction done, and then the connection closed--only to open again moments later. (and for multiple tranasactions, php could gather the results & send them back as a single piece. hmm, I guess if it was on the same server as the pg server, livecode might, too). Is there a way while using an https connection to simply keep my open database open, to streamline the transactions? (keeping in mind that multiple users from around the country will be hitting the same server, keeping theirs open? And is using a web layer really any more secure than a straight ssl connection? It would seem to me that the way to go would be to authenticate a connection for a few hours at a time. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From paulhibbert at mac.com Thu Jun 6 17:52:13 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Thu, 06 Jun 2013 14:52:13 -0700 Subject: import snapshot bug? In-Reply-To: References: Message-ID: <291FB8DD-20DB-4E5D-B7A5-57B4578C8EA8@mac.com> On 2013-06-06, at 1:34 PM, Klaus major-k wrote: >> Works fine here on linux in a button script. > > OK, seems to be a Mac thing. Works fine on Win7 too (via Parallels). Paul From tate83 at gmail.com Thu Jun 6 17:53:09 2013 From: tate83 at gmail.com (Pascal Lehner) Date: Thu, 6 Jun 2013 22:53:09 +0100 Subject: LiveCode and Linux In-Reply-To: References: Message-ID: Hi Joe, I think there is a bug with sdk paths in 6.0.1. Afaik it was fixed in 6.0.2, probably worth giving that a try. Best, Pascal On 6 Jun 2013 22:48, "Joe Klemmer" wrote: > Very new to LiveCode but not Linux or programming in general. I have > LiveCode Community 6.0.1 installed on my Fedora 18 box but I'm having > a small problem getting the mobile stuff configured. When I go to > Preferences -> Mobile Support to setup for Android development, the > JDK path shows (none) and no matter what I enter in the "choose > directory" it remains none. I have the Sun... I mean Oracle JDK > installed in /usr/java/jdk1.7.0_21/ and the OpenJDK in > /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.19 but nothing I enter into this > input seems to take. > > Also, when I try to set the Android SDK path, it keeps telling me > there's no SDK installed. I have $HOME/Programs/android-sdk-linux, > $HOME/Programs/adt-bundle-linux-x86/sdk and > $HOME/Programs/android-studio/sdk. One of these should be right. > > Any pointers to where I could look for a solution or workaround or > something? > > Much thanks, > Joe > > -- > Indie Game Dev and Linux User > Contact Info: http://about.me/joeklemmer > "Running Linux since 1991" > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Thu Jun 6 17:54:34 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 6 Jun 2013 21:54:34 +0000 (UTC) Subject: LiveCode and Linux References: Message-ID: Joe- I've got the following on Fedora Core 16... er... you're running a 32-bit FC, right? Not a 64-bit? I'm running with the openjdk rather than the Sun^H^H^HOracle version, but either should work. And the android sdk is still in my Downloads folder because I got lazy and never moved it out. Android development SDK root: /home/mwieder/Downloads/android-sdk-linux JDK path: /usr/lib/jvm/java-1.6.0-openjdk -- Mark Wieder mwieder at ahsoftware.net From endernafi at gmail.com Thu Jun 6 18:05:00 2013 From: endernafi at gmail.com (=?utf-8?Q?Ender_Nafi_Elek=C3=A7io=C4=9Flu?=) Date: Fri, 7 Jun 2013 01:05:00 +0300 Subject: [OT] What's happening here in Turkey... Message-ID: * This mail was posted by me last sunday but it's rejected because of length; so, trying again in 2 parts * Dear Friends, As I'm the one and only active LiveCode user in Turkey, I feel that the duty to inform you is on my shoulders. I was in the very center of the protests for several days & nights, severely beaten by police and injured because of their toxic gas and therefore I was away from the internet and forums and this user-list. It's early in the morning here in Istanbul, I'm dead tired but I feel obliged to write these sentences. This was the one and single biggest uprising in my country since 40 years. A protest without a leader, without an organization, without a politic movement, without vandalism! This was a civil protest to protect our trees {yes, just a couple of trees in a small park in the center square of Istanbul}? The authorities decided to cut down 600 trees which are 40 to 80 years old to build a mall despite the court order not-to. We went there and hugged the trees. Lied under their shadows. Read books to the police officers. Offered them our water and snacks. But after 3 days {on May 31st, Friday}, they {police ordered by government} decided to water cannon and pepper spray us and burned our tents without prior warning and without any reason!!! Our baby children was with us; they didn't care. We didn't throw them stones, we didn't swear or curse; they didn't care. We were hundreds but after the incident, thousands came by to support us. Police's reaction to that {crowd gathering to support} was brutal, absolutely brutal and merciless, all night. But we were not alone. Next morning {Jun 1st, Saturday}, nearly 50 thousand came from all over Istanbul. Police's reaction got harsher, few words exist to describe their hatred to us and I'm not that good in English, sorry :/ But then, in all cities of Turkey, uprisings begun. Police's reaction got more and more and more harsh. I don't know how this will end up. But, we won't leave our trees and our rights alone. No, it's not a *Turkish Spring(!)*. Because, this is not a political movement. This is a total civil protest. Yes, there are 3 or 4 cars damaged and one shop glass broken. Cars were police vehicles left alone and the shop belonged to the mayor of city of Istanbul. There are a couple lumpens & hooligans among us who don't belong to this community. We tried and mostly succeed to prevent them doing such things. I, for one, extinguished two fires and prevent a big painting getting stolen from France Consulate's outer wall. Thus, I think I can say there wasn't any vandalism for such a big uprising spread among many cities... The government is still stubborn and our media {all, I mean, all TV's and newspapers} is dead silent. There were beauty pageants and *the most weird cat in the world* documentaries and cheap soap operas in the TV channels because of their fear from government. Please think, what would your media's reaction if hundreds of thousands of people were attacked by police for days and nights, in Times Square? Well, I leave it to your imagination. * end of part 1 * Ender Nafi ~? together, we're smarter & stronger ?~ From endernafi at gmail.com Thu Jun 6 18:08:39 2013 From: endernafi at gmail.com (=?utf-8?Q?Ender_Nafi_Elek=C3=A7io=C4=9Flu?=) Date: Fri, 7 Jun 2013 01:08:39 +0300 Subject: [OT] What's happening here in Turkey... In-Reply-To: References: Message-ID: <7C753195056842ABB6D3833480768459@gmail.com> * here is part 2 * I don't want any help whatsoever from you, 'cause this is our case, I know. To stand up for our nature, for our cultural heritages, for our rights? This post is just to inform you and for sharing my feelings. But please, please remember: This is not a political movement; we, protesters, are hundreds of thousands as of now and we don't have any leaders, any organizations, think-tank's, parties, etc. this is a civil and humane movement to protect our trees and parks and woods! By the way, you can't imagine how much proud and happy I feel to see my people to rise up like this for such an innocent reason. Girls and boys, gays and straights, youngs and elders, all together! There's still hope for Homo Sapiens, after all :) Ok, that's it, I'm too tired and too beaten up by police to write any other sentences :) Here is BBC's news 3min. {same video, both youtube and facebook links, try facebook first} : http://www.facebook.com/photo.php?v=10151437942042742 http://www.youtube.com/watch?v=FLMeyvG95zM This is from CNN 11min. {same video, both youtube and facebook links, try facebook first} : http://www.facebook.com/photo.php?v=10151438794482742 http://www.youtube.com/watch?v=o-NCpPs_YhA And please read this letter, too, as it's written with a better English than mine and it's explaining the situation more accurately: http://defnesumanblogs.com/2013/06/01/what-is-happenning-in-istanbul/ With my kindest and warmest regards from Turkey, Ender Nafi ~? together, we're smarter & stronger ?~ From endernafi at gmail.com Thu Jun 6 18:51:45 2013 From: endernafi at gmail.com (=?utf-8?Q?Ender_Nafi_Elek=C3=A7io=C4=9Flu?=) Date: Fri, 7 Jun 2013 01:51:45 +0300 Subject: [OT] What's happening here in Turkey... In-Reply-To: <7C753195056842ABB6D3833480768459@gmail.com> References: <7C753195056842ABB6D3833480768459@gmail.com> Message-ID: <11D1DD0756094E67967289F5A05541F6@gmail.com> A little update to the situation: As of now, the police is forced to retract from Taksim - Istanbul and Gezi Park is like the Smurf Village :) I mean, everybody brings food and other goods; and whoever need something get whatever he/she needs. Money is not allowed. We built our library, our infirmary, our movie theatre, our restaurant(s); we even have a small orchard :) It's a dreamland ;-) This is what humanity can achieve without authority. Here's a clear view of who we, the protesters, are: http://onedio.com/haber/gezi-parki-eylemlerinden-gulumsetecek-ve-yureginizi-isitacak-24-fotograf-117116 Unfortunately, other cities of Turkey are struggling with police and religious fanatics who act with the police and supported by police. There are 3 murders by them and 4000+ wounded. May God be with them? ~ Ender Nafi ~? together, we're smarter & stronger ?~ From andrew at ctech.me Thu Jun 6 18:54:10 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Thu, 6 Jun 2013 17:54:10 -0500 Subject: [OT] What's happening here in Turkey... In-Reply-To: <11D1DD0756094E67967289F5A05541F6@gmail.com> References: <7C753195056842ABB6D3833480768459@gmail.com> <11D1DD0756094E67967289F5A05541F6@gmail.com> Message-ID: "This is what humanity can achieve without authority." All that and much more as history has shown when cracks in the systems of control open up enough for us to see something else being possible (even if only for a little while). ;) Let's de-legitimize the authority of any would-be governors and officials from every corner of the globe. Truly a touching account. Thanks. On Thu, Jun 6, 2013 at 5:51 PM, Ender Nafi Elek?io?lu wrote: > A little update to the situation: > > > As of now, the police is forced to retract from Taksim - Istanbul and Gezi > Park is like the Smurf Village :) > I mean, everybody brings food and other goods; and whoever need something > get whatever he/she needs. > Money is not allowed. > We built our library, our infirmary, our movie theatre, our restaurant(s); > we even have a small orchard :) > It's a dreamland ;-) > > This is what humanity can achieve without authority. > Here's a clear view of who we, the protesters, are: > > http://onedio.com/haber/gezi-parki-eylemlerinden-gulumsetecek-ve-yureginizi-isitacak-24-fotograf-117116 > > > Unfortunately, > other cities of Turkey are struggling with police and religious fanatics > who act with the police and supported by police. > There are 3 murders by them and 4000+ wounded. > > May God be with them... > > > > ~ Ender Nafi > > ~... together, we're smarter & stronger ...~ > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From selander at tkf.att.ne.jp Thu Jun 6 19:15:10 2013 From: selander at tkf.att.ne.jp (Tim Selander) Date: Fri, 07 Jun 2013 08:15:10 +0900 Subject: [OT] What's happening here in Turkey... In-Reply-To: References: Message-ID: <51B117FE.10203@tkf.att.ne.jp> Thank you very much for reporting, and for acting! Our thoughts and prayers are with you, along with wishes that all this will lead to a better society for your family and country. I've never had the privilege to visit Turkey. But a few years ago my sister in law took a year off work just to travel the world. She came back with lots of stories, of course. When we asked her, out of all the places she had been, which was the best, without hesitation she said, "Turkey!" I hope some day to be able to visit, so that I, too, can tell people that my favorite country in the world is Turkey, too! Tim Selander Tokyo, Japan On 6/7/13 7:05 AM, Ender Nafi Elek?io?lu wrote: > As I'm the one and only active LiveCode user in Turkey, I feel that the duty to inform you is on my shoulders. From joe.klemmer at gmail.com Thu Jun 6 19:22:03 2013 From: joe.klemmer at gmail.com (Joe Klemmer) Date: Thu, 6 Jun 2013 19:22:03 -0400 Subject: LiveCode and Linux In-Reply-To: References: Message-ID: On Thu, Jun 6, 2013 at 5:53 PM, Pascal Lehner wrote: > I think there is a bug with sdk paths in 6.0.1. Afaik it was fixed in > 6.0.2, probably worth giving that a try. When I go to d/l the community edition it only offers 6.0.1 for Linux. :-( -- Indie Game Dev and Linux User Contact Info: http://about.me/joeklemmer "Running Linux since 1991" From endernafi at gmail.com Thu Jun 6 19:31:52 2013 From: endernafi at gmail.com (=?utf-8?Q?Ender_Nafi_Elek=C3=A7io=C4=9Flu?=) Date: Fri, 7 Jun 2013 02:31:52 +0300 Subject: [OT] What's happening here in Turkey... In-Reply-To: <51B117FE.10203@tkf.att.ne.jp> References: <51B117FE.10203@tkf.att.ne.jp> Message-ID: @Pierre, Thank you, your moral support {I mean all of you wise people out there} is important to us, thank you. @Tim, I saw many tourists who defended Gezi Park with us against all that tear gas and police brutality. That wasn't their cause, that wasn't their country, that wasn't their trees. A couple of them, even, caught by police and likely to be deported; unfortunately. They were real heroes. Coming to Turkey just for sight-seeing but eventually defending the nature with us, arm-to-arm, hand-to-hand. They are heroes, indeed. @Andrew, *Anarchy* is suffered from a deliberate semantic shift. It's perceived as a bad word, like a *post-apocalyptic hell*. In fact, it's not. Gezi Park is the proof of it. {check the pictures at the link in my last post, again} Leaders and strong people are mostly not humanitarians {I exclude Chavez, he's awesome}. Because leading people or gaining power {economic, politic, etc.} needs an endless, greedy ambition. Most humanitarians lack this greed. We're like smurfs or hobbits. We love trees. Raising trees don't bring money; rising skyscrapers and malls does :/ We don't want to fight. Hobbits don't have much chance to the orcs or uruk-hai's. But then again, it was Frodo who has brought the ring to the mount doom and thrown it into the fire :) A little hope bushed out in me after this incident in Turkey. A hope for my children and grandchildren. Maybe they can live in a carbon-free world, where skyscrapers and sequoia's rise to the sky together... With warmest regards from Turkey, ~ Ender Nafi ~? together, we're smarter & stronger ?~ From mwieder at ahsoftware.net Thu Jun 6 19:28:26 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 6 Jun 2013 23:28:26 +0000 (UTC) Subject: LiveCode and Linux References: Message-ID: Joe Klemmer writes: > When I go to d/l the community edition it only offers 6.0.1 for Linux. http://downloads.livecode.com/livecode/6_0_2/ -- Mark Wieder mwieder at ahsoftware.net From joe.klemmer at gmail.com Thu Jun 6 19:31:00 2013 From: joe.klemmer at gmail.com (Joe Klemmer) Date: Thu, 6 Jun 2013 19:31:00 -0400 Subject: LiveCode and Linux In-Reply-To: References: Message-ID: On Thu, Jun 6, 2013 at 5:54 PM, Mark Wieder wrote: > I've got the following on Fedora Core 16... er... you're running a 32-bit > FC, right? Not a 64-bit? Right. 32-bit only. > I'm running with the openjdk rather than the Sun^H^H^HOracle version, but > either should work. And the android sdk is still in my Downloads folder > because I got lazy and never moved it out. > > Android development SDK root: > /home/mwieder/Downloads/android-sdk-linux > > JDK path: /usr/lib/jvm/java-1.6.0-openjdk That's effectively what I have but it's not playing nice with me. I'm going to try this on the Win7 box and see what happens there. Thanks, Joe From joe.klemmer at gmail.com Thu Jun 6 19:32:35 2013 From: joe.klemmer at gmail.com (Joe Klemmer) Date: Thu, 6 Jun 2013 19:32:35 -0400 Subject: LiveCode and Linux In-Reply-To: References: Message-ID: On Thu, Jun 6, 2013 at 7:28 PM, Mark Wieder wrote: >> When I go to d/l the community edition it only offers 6.0.1 for Linux. > > http://downloads.livecode.com/livecode/6_0_2/ You, sir, are a man among men! Thank you, Joe -- Indie Game Dev and Linux User Contact Info: http://about.me/joeklemmer "Running Linux since 1991" From jacque at hyperactivesw.com Thu Jun 6 19:39:23 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 06 Jun 2013 18:39:23 -0500 Subject: [OT] What's happening here in Turkey... In-Reply-To: <11D1DD0756094E67967289F5A05541F6@gmail.com> References: <7C753195056842ABB6D3833480768459@gmail.com> <11D1DD0756094E67967289F5A05541F6@gmail.com> Message-ID: <51B11DAB.1030808@hyperactivesw.com> On 6/6/13 5:51 PM, Ender Nafi Elek?io?lu wrote: > A little update to the situation: > > > As of now, the police is forced to retract from Taksim - Istanbul and Gezi Park is like the Smurf Village :) > I mean, everybody brings food and other goods; and whoever need something get whatever he/she needs. > Money is not allowed. > We built our library, our infirmary, our movie theatre, our restaurant(s); we even have a small orchard :) > It's a dreamland ;-) > > This is what humanity can achieve without authority. > Here's a clear view of who we, the protesters, are: > http://onedio.com/haber/gezi-parki-eylemlerinden-gulumsetecek-ve-yureginizi-isitacak-24-fotograf-117116 > > > Unfortunately, > other cities of Turkey are struggling with police and religious fanatics who act with the police and supported by police. > There are 3 murders by them and 4000+ wounded. > > May God be with them? The photos say more than words can tell. You have some remarkable people there. Take care of yourself, Ender. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dfepstein at comcast.net Thu Jun 6 19:39:25 2013 From: dfepstein at comcast.net (David Epstein) Date: Thu, 6 Jun 2013 19:39:25 -0400 Subject: Polygon's share of its rectangle inconsistent? Message-ID: <5E916091-0FDE-4C67-9D52-04601757A3AB@comcast.net> In order to properly adjust the relative area of two dissimilar polygons, I thought I would use a function to determine the fraction of each polygon's rectangle that is covered by the polygon. function coverage obLID set the filled of obLID to true put the rect of obLID into r repeat with x = (item 1 of r) to (item 3 of r) repeat with y = (item 2 of r) to (item 4 of r) put x,y into pt if within(obLID,pt) then add 1 to isIn add 1 to all end repeat end repeat return isIn/all end coverage This seems to work as expected, but I am perplexed by the fact that when I resize an object keeping its proportions constant (drag a corner with the shift key down; or script this) I get a surprising variation in the result. E.g., a fairly simple shape I tried went from 0.48 coverage up to 0.59 coverage when I shrank its dimensions by about two-thirds. With tens or hundreds of thousands of pixels being sampled in the calculation, I would not expect this variation. Many thanks for any insights or suggestions. David Epstein From mwieder at ahsoftware.net Thu Jun 6 19:40:12 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 6 Jun 2013 23:40:12 +0000 (UTC) Subject: LiveCode and Linux References: Message-ID: Joe Klemmer writes: > That's effectively what I have but it's not playing nice with me. I'm > going to try this on the Win7 box and see what happens there. Right... if it doesn't work on linux, try it on Windows . -- Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Thu Jun 6 19:41:42 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 6 Jun 2013 23:41:42 +0000 (UTC) Subject: LiveCode and Linux References: Message-ID: Joe- The announcement was made on the list a couple of days ago. The website is notoriously slow at keeping up. -- Mark Wieder mwieder at ahsoftware.net From joe.klemmer at gmail.com Thu Jun 6 19:46:50 2013 From: joe.klemmer at gmail.com (Joe Klemmer) Date: Thu, 6 Jun 2013 19:46:50 -0400 Subject: LiveCode and Linux In-Reply-To: References: Message-ID: On Thu, Jun 6, 2013 at 7:40 PM, Mark Wieder wrote: >> That's effectively what I have but it's not playing nice with me. I'm >> going to try this on the Win7 box and see what happens there. > > Right... if it doesn't work on linux, try it on Windows . Not to get into to much of a rant but I hate having to keep a WinXX box around just because I want to do game programming. Unfortunately, there's just so much stuff that's only available for Windows. -- Indie Game Dev and Linux User Contact Info: http://about.me/joeklemmer "Running Linux since 1991" From joe.klemmer at gmail.com Thu Jun 6 19:47:47 2013 From: joe.klemmer at gmail.com (Joe Klemmer) Date: Thu, 6 Jun 2013 19:47:47 -0400 Subject: LiveCode and Linux In-Reply-To: References: Message-ID: On Thu, Jun 6, 2013 at 7:41 PM, Mark Wieder wrote: > The announcement was made on the list a couple of days ago. The website is > notoriously slow at keeping up. Ah, ok. I just joined today. Still, you are a manly man. :-) From andrew at ctech.me Thu Jun 6 20:01:26 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Thu, 6 Jun 2013 19:01:26 -0500 Subject: [OT] What's happening here in Turkey... In-Reply-To: <51B11DAB.1030808@hyperactivesw.com> References: <7C753195056842ABB6D3833480768459@gmail.com> <11D1DD0756094E67967289F5A05541F6@gmail.com> <51B11DAB.1030808@hyperactivesw.com> Message-ID: @Andrew, *Anarchy* is suffered from a deliberate semantic shift. It's perceived as a bad word, like a *post-apocalyptic hell*. In fact, it's not. Gezi Park is the proof of it. {check the pictures at the link in my last post, again} Agreed. :) You don't have to convince me. I have considered myself an anarchist for going on 10 years, and have experienced many moments in that time where I saw the power of people tired of ASKING for things getting together to just DO them (albiet not as grand as what is happening right now where you are). I was pleasantly surprised to see someone advocating for this concept on this list. Direct action gets the goods. Cheers. On Thu, Jun 6, 2013 at 6:39 PM, J. Landman Gay wrote: > On 6/6/13 5:51 PM, Ender Nafi Elek?io?lu wrote: > >> A little update to the situation: >> >> >> As of now, the police is forced to retract from Taksim - Istanbul and >> Gezi Park is like the Smurf Village :) >> I mean, everybody brings food and other goods; and whoever need something >> get whatever he/she needs. >> Money is not allowed. >> We built our library, our infirmary, our movie theatre, our >> restaurant(s); we even have a small orchard :) >> It's a dreamland ;-) >> >> This is what humanity can achieve without authority. >> Here's a clear view of who we, the protesters, are: >> http://onedio.com/haber/gezi-**parki-eylemlerinden-** >> gulumsetecek-ve-yureginizi-**isitacak-24-fotograf-117116 >> >> >> Unfortunately, >> other cities of Turkey are struggling with police and religious fanatics >> who act with the police and supported by police. >> There are 3 murders by them and 4000+ wounded. >> >> May God be with them? >> > > The photos say more than words can tell. You have some remarkable people > there. Take care of yourself, Ender. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From mwieder at ahsoftware.net Thu Jun 6 20:07:12 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 7 Jun 2013 00:07:12 +0000 (UTC) Subject: LiveCode and Linux References: Message-ID: Joe Klemmer writes: > Ah, ok. I just joined today. Still, you are a manly man. LOL. And welcome to the party. -- Mark Wieder mwieder at ahsoftware.net From dsc at swcp.com Thu Jun 6 20:13:31 2013 From: dsc at swcp.com (Dar Scott) Date: Thu, 6 Jun 2013 18:13:31 -0600 Subject: Polygon's share of its rectangle inconsistent? In-Reply-To: <5E916091-0FDE-4C67-9D52-04601757A3AB@comcast.net> References: <5E916091-0FDE-4C67-9D52-04601757A3AB@comcast.net> Message-ID: lineSize? (aka border size) On Jun 6, 2013, at 5:39 PM, David Epstein wrote: > In order to properly adjust the relative area of two dissimilar polygons, I thought I would use a function to determine the fraction of each polygon's rectangle that is covered by the polygon. > > function coverage obLID > set the filled of obLID to true > put the rect of obLID into r > repeat with x = (item 1 of r) to (item 3 of r) > repeat with y = (item 2 of r) to (item 4 of r) > put x,y into pt > if within(obLID,pt) then add 1 to isIn > add 1 to all > end repeat > end repeat > return isIn/all > end coverage > > This seems to work as expected, but I am perplexed by the fact that when I resize an object keeping its proportions constant (drag a corner with the shift key down; or script this) I get a surprising variation in the result. E.g., a fairly simple shape I tried went from 0.48 coverage up to 0.59 coverage when I shrank its dimensions by about two-thirds. With tens or hundreds of thousands of pixels being sampled in the calculation, I would not expect this variation. > > Many thanks for any insights or suggestions. > > David Epstein > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Thu Jun 6 20:10:34 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 7 Jun 2013 00:10:34 +0000 (UTC) Subject: LiveCode and Linux References: Message-ID: Joe Klemmer writes: > Not to get into to much of a rant but I hate having to keep a WinXX > box around just because I want to do game programming. Unfortunately, > there's just so much stuff that's only available for Windows. Yeah. A few months ago after my last time-to-rebuild-Windows fiasco I gave up and relegated my Windows stuff to a Virtualbox VM. I won't get into a religious war here, but I don't think I've popped that VM open since then. There are a couple of things I miss, but not enough to think of using it as a real OS. -- Mark Wieder mwieder at ahsoftware.net From endernafi at gmail.com Thu Jun 6 20:27:19 2013 From: endernafi at gmail.com (=?utf-8?Q?Ender_Nafi_Elek=C3=A7io=C4=9Flu?=) Date: Fri, 7 Jun 2013 03:27:19 +0300 Subject: [OT] What's happening here in Turkey... In-Reply-To: References: <7C753195056842ABB6D3833480768459@gmail.com> <11D1DD0756094E67967289F5A05541F6@gmail.com> <51B11DAB.1030808@hyperactivesw.com> Message-ID: <42EA89408B8C4F6E9E70A58E370AB1D8@gmail.com> @Jacque, I'm also happy to see that *remarkable* people and to be with them. As I said, there is still hope for Homo Sapiens :) @Andrew, I'm an anarchist since I've read *The Dispossessed* of Ursula Le Guin when I was a child. But it was hard to believe that it can be realized. Seeing that I was wrong, is liberating. ~ Ender Nafi ~? together, we're smarter & stronger ?~ From andrew at ctech.me Thu Jun 6 20:31:05 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Thu, 6 Jun 2013 19:31:05 -0500 Subject: [OT] What's happening here in Turkey... In-Reply-To: <42EA89408B8C4F6E9E70A58E370AB1D8@gmail.com> References: <7C753195056842ABB6D3833480768459@gmail.com> <11D1DD0756094E67967289F5A05541F6@gmail.com> <51B11DAB.1030808@hyperactivesw.com> <42EA89408B8C4F6E9E70A58E370AB1D8@gmail.com> Message-ID: One of my favorite books, ender. Seeing a glimpse of another world through the cracks opening in this one after so many years of just putting up with it is exhilarating. Keep fighting, keep experimenting with ways to build new and exciting social relationships with your neighbors in gezi park. There are anarchists and many other concerned people in the west acting to express solidarity and mobilize ourselves to shake things up in our own parts of the planet. We see you and love you for what you are doing. On Thu, Jun 6, 2013 at 7:27 PM, Ender Nafi Elek?io?lu wrote: > @Jacque, > I'm also happy to see that *remarkable* people and to be with them. > As I said, there is still hope for Homo Sapiens :) > > @Andrew, > I'm an anarchist since I've read *The Dispossessed* of Ursula Le Guin when > I was a child. > But it was hard to believe that it can be realized. > Seeing that I was wrong, is liberating. > > > > ~ Ender Nafi > > ~? together, we're smarter & stronger ?~ > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From dsc at swcp.com Thu Jun 6 20:39:15 2013 From: dsc at swcp.com (Dar Scott) Date: Thu, 6 Jun 2013 18:39:15 -0600 Subject: Polygon's share of its rectangle inconsistent? In-Reply-To: <5E916091-0FDE-4C67-9D52-04601757A3AB@comcast.net> References: <5E916091-0FDE-4C67-9D52-04601757A3AB@comcast.net> Message-ID: <070D0E01-8FFA-41AD-8791-42DB5DA7879D@swcp.com> A couple other thoughts: If it is not the lineSize, then maybe you can get a clue by comparing the the rect to the extent of the points that are within(). When fine tuning how I look at pixels, I tend to think of them as between the lines in the coordinate grid, little squares. However, I sometimes think of coordinate points as in the middle of pixels. The concepts of rect, within(), and clickable might have different notions there. There might be another edge effect. Points along the edge have to be assigned as being within the click region or not. It might be related to how much area of a square pixel is in the region, that is, the color. If the threshold for clicking is not at 50%, then that might affect this. Dar On Jun 6, 2013, at 5:39 PM, David Epstein wrote: > In order to properly adjust the relative area of two dissimilar polygons, I thought I would use a function to determine the fraction of each polygon's rectangle that is covered by the polygon. > > function coverage obLID > set the filled of obLID to true > put the rect of obLID into r > repeat with x = (item 1 of r) to (item 3 of r) > repeat with y = (item 2 of r) to (item 4 of r) > put x,y into pt > if within(obLID,pt) then add 1 to isIn > add 1 to all > end repeat > end repeat > return isIn/all > end coverage > > This seems to work as expected, but I am perplexed by the fact that when I resize an object keeping its proportions constant (drag a corner with the shift key down; or script this) I get a surprising variation in the result. E.g., a fairly simple shape I tried went from 0.48 coverage up to 0.59 coverage when I shrank its dimensions by about two-thirds. With tens or hundreds of thousands of pixels being sampled in the calculation, I would not expect this variation. > > Many thanks for any insights or suggestions. > > David Epstein > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Thu Jun 6 21:06:28 2013 From: dsc at swcp.com (Dar Scott) Date: Thu, 6 Jun 2013 19:06:28 -0600 Subject: Polygon's share of its rectangle inconsistent? In-Reply-To: <5E916091-0FDE-4C67-9D52-04601757A3AB@comcast.net> References: <5E916091-0FDE-4C67-9D52-04601757A3AB@comcast.net> Message-ID: I'm doing something wrong. I tried your function and I get almost 100%. The function within seems to work on the bounding rectangle not the shape. With this mod, I do get 100 percent: function coverage obLID set the filled of obLID to true put the rect of obLID into r repeat with x = (item 1 of r) to (item 3 of r)-1 repeat with y = (item 2 of r) to (item 4 of r)-1 put x,y into pt if within(obLID,pt) then add 1 to isIn add 1 to all end repeat end repeat return isIn/all end coverage I subtracted 1 from the right and bottom. Dar On Jun 6, 2013, at 5:39 PM, David Epstein wrote: > In order to properly adjust the relative area of two dissimilar polygons, I thought I would use a function to determine the fraction of each polygon's rectangle that is covered by the polygon. > > function coverage obLID > set the filled of obLID to true > put the rect of obLID into r > repeat with x = (item 1 of r) to (item 3 of r) > repeat with y = (item 2 of r) to (item 4 of r) > put x,y into pt > if within(obLID,pt) then add 1 to isIn > add 1 to all > end repeat > end repeat > return isIn/all > end coverage > > This seems to work as expected, but I am perplexed by the fact that when I resize an object keeping its proportions constant (drag a corner with the shift key down; or script this) I get a surprising variation in the result. E.g., a fairly simple shape I tried went from 0.48 coverage up to 0.59 coverage when I shrank its dimensions by about two-thirds. With tens or hundreds of thousands of pixels being sampled in the calculation, I would not expect this variation. > > Many thanks for any insights or suggestions. > > David Epstein > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gerry.orkin at gmail.com Thu Jun 6 22:08:08 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Fri, 7 Jun 2013 12:08:08 +1000 Subject: [OT] What's happening here in Turkey... In-Reply-To: <42EA89408B8C4F6E9E70A58E370AB1D8@gmail.com> References: <7C753195056842ABB6D3833480768459@gmail.com> <11D1DD0756094E67967289F5A05541F6@gmail.com> <51B11DAB.1030808@hyperactivesw.com> <42EA89408B8C4F6E9E70A58E370AB1D8@gmail.com> Message-ID: <48D798AF-5636-41BB-AA9E-DBE7DB4CC3C7@gmail.com> Ender I was in Istanbul in September last year staying very near the park and loved the place - I definitely want to return. Thinking of you all, and hoping that this process leads to more respect and understanding, and less repression and religious bigotry. Cheers Gerry From capellan2000 at gmail.com Thu Jun 6 22:18:40 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 6 Jun 2013 19:18:40 -0700 (PDT) Subject: scrolling stack I made In-Reply-To: <519E6166.9090007@hyperactivesw.com> References: <6A58AF63-AA57-41CA-B65F-1F1775D54CA6@verizon.net> <519E6166.9090007@hyperactivesw.com> Message-ID: <1370571520992-4666071.post@n4.nabble.com> Hi All, Where could I find a link of this stack, already compiled for Android? I have tried, without success, to create an Android APK with Colin's stack using LiveCode Comunnity 6.0.2 for Android 2.2 Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/scrolling-stack-I-made-tp4665050p4666071.html Sent from the Revolution - User mailing list archive at Nabble.com. From coiin at verizon.net Thu Jun 6 22:34:02 2013 From: coiin at verizon.net (Colin Holgate) Date: Thu, 06 Jun 2013 22:34:02 -0400 Subject: scrolling stack I made In-Reply-To: <1370571520992-4666071.post@n4.nabble.com> References: <6A58AF63-AA57-41CA-B65F-1F1775D54CA6@verizon.net> <519E6166.9090007@hyperactivesw.com> <1370571520992-4666071.post@n4.nabble.com> Message-ID: <6FD730DB-B832-4EE0-A9BF-6162786448C9@verizon.net> I did previously build an APK version, but when I try now I get an "apk finalization failed" error. Are you able to open the stack I posted, and publish your own APK? Here's the one I made at the conference. The current one has some improvements: http://xfiles.funnygarbage.com/~colinholgate/apks/scroller.apk From dunbarx at aol.com Thu Jun 6 23:16:33 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 6 Jun 2013 23:16:33 -0400 (EDT) Subject: Polygon's share of its rectangle inconsistent? In-Reply-To: References: <5E916091-0FDE-4C67-9D52-04601757A3AB@comcast.net> Message-ID: <8D031448BBA95EB-22C4-F70E@webmail-d275.sysops.aol.com> I would have thought that the value should be 100% as well, since the array of points tested is within the rect of the object, not the colored part. I tried something like this a while ago, where I filled a polygon with a color, and tested whether the pixelColor was white or not. Interestingly, the color RGB values are not constant, because, I assume, a certain color "blue", say, is a blend of others. But it should be possible to do this, perhaps having to make sure that adjacent pixels are white, or maybe even three in a row, and then you are sure you are out of the visual colored polygon and in the white rect itself. Then you can compare the white with the color, and get the ratio. Craig Newman -----Original Message----- From: Dar Scott To: How to use LiveCode Sent: Thu, Jun 6, 2013 9:07 pm Subject: Re: Polygon's share of its rectangle inconsistent? I'm doing something wrong. I tried your function and I get almost 100%. The function within seems to work on the bounding rectangle not the shape. With this mod, I do get 100 percent: function coverage obLID set the filled of obLID to true put the rect of obLID into r repeat with x = (item 1 of r) to (item 3 of r)-1 repeat with y = (item 2 of r) to (item 4 of r)-1 put x,y into pt if within(obLID,pt) then add 1 to isIn add 1 to all end repeat end repeat return isIn/all end coverage I subtracted 1 from the right and bottom. Dar On Jun 6, 2013, at 5:39 PM, David Epstein wrote: > In order to properly adjust the relative area of two dissimilar polygons, I thought I would use a function to determine the fraction of each polygon's rectangle that is covered by the polygon. > > function coverage obLID > set the filled of obLID to true > put the rect of obLID into r > repeat with x = (item 1 of r) to (item 3 of r) > repeat with y = (item 2 of r) to (item 4 of r) > put x,y into pt > if within(obLID,pt) then add 1 to isIn > add 1 to all > end repeat > end repeat > return isIn/all > end coverage > > This seems to work as expected, but I am perplexed by the fact that when I resize an object keeping its proportions constant (drag a corner with the shift key down; or script this) I get a surprising variation in the result. E.g., a fairly simple shape I tried went from 0.48 coverage up to 0.59 coverage when I shrank its dimensions by about two-thirds. With tens or hundreds of thousands of pixels being sampled in the calculation, I would not expect this variation. > > Many thanks for any insights or suggestions. > > David Epstein > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Thu Jun 6 23:53:39 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 6 Jun 2013 20:53:39 -0700 (PDT) Subject: scrolling stack I made In-Reply-To: <6FD730DB-B832-4EE0-A9BF-6162786448C9@verizon.net> References: <6A58AF63-AA57-41CA-B65F-1F1775D54CA6@verizon.net> <519E6166.9090007@hyperactivesw.com> <1370571520992-4666071.post@n4.nabble.com> <6FD730DB-B832-4EE0-A9BF-6162786448C9@verizon.net> Message-ID: <1370577219135-4666074.post@n4.nabble.com> Hi Colin, Colin Holgate-2 wrote > I did previously build an APK version, but when I try now I get > an "apk finalization failed" error. Are you able to open the stack > I posted, and publish your own APK? > > Here's the one I made at the conference. The current one has > some improvements: > > http://xfiles.funnygarbage.com/~colinholgate/apks/scroller.apk I downloaded and try to run your APK file, but my Android device does not allows me to install the application. Strangely enough it says that will replace another application! :o http://www.amazon.com/Polaroid-PMID800-8-Internet-Tablet/dp/B00AAJQPS2/ref=cm_cr_pr_product_top Many Thanks for posting the download. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/scrolling-stack-I-made-tp4665050p4666074.html Sent from the Revolution - User mailing list archive at Nabble.com. From bornstein at designeq.com Thu Jun 6 23:58:36 2013 From: bornstein at designeq.com (Howard Bornstein) Date: Thu, 6 Jun 2013 20:58:36 -0700 Subject: Getting Kanji from a .csv file In-Reply-To: <51B00532.6040000@pdslabs.net> References: <51B00532.6040000@pdslabs.net> Message-ID: Hi Phil (and others), Thanks for the response and thanks especially to Devin for the excellent article. I was able to get the Kanji to appear properly after processing the whole file and then issuing this command: set the unicodetext of fld "ProcessedFile" to the uniencode(fld "ProcessedFile, "UTF8") Very easy when you know what to do :-) One puzzle still remaining though. After I got the Kanji to show up properly, I tried saving the file to a text file and when I opened it up in TextEdit, I had lost all the Kanji again. This surprised me because I thought that TextEdit was a UTF8-compliant app. I solved the problem by simply cutting and pasting from LiveCode to a TextEdit document (Kanji came intact) but I would still like to know how I could have saved the file as a text file from within LC and still have it work. Any ideas? On Wed, Jun 5, 2013 at 8:42 PM, Phil Davis wrote: > Hi Howard, > > From one unicode-ignorant soul to another - > > Devin's explanation about LC & Unicode got me started: > http://livecode.byu.edu/**unicode/unicodeInRev.php -- the good part is about a third of the way down > > Using this info + LC's various unicode functions + the styledText of a > field, I was recently able to paste multi-line Arabic text correctly. If I > can do that, you can do Kanji. Really! It reads left-to-right doesn't it? > > Best - > Phil > > > > > On 6/5/13 7:23 PM, Howard Bornstein wrote: > >> I have a client who wants me to do some processing on a spreadsheet file >> that has been saved in .csv format. One of the fields contain either >> English or Japanese. When I look at the fields with the Japanese, it looks >> like gibberish. It does not display as Kanji. >> >> I believe the full data is still there because if I open it up in Numbers, >> the Kanji is displayed correctly. However, I need to use the .cvs file to >> process and I can't, for the life of me, make the Kanji appear. >> >> I am *way* in over my head here with regards to different languages. I >> >> assume this is a unicode issue but I am completely ignorant in this area. >> >> My question is: how can I take a .cvs file, which contains some Kanji text >> but doesn't display as Kanji, and convert it so that, as a text file, it >> displays as Kanji again. I don't care where this conversion takes place--I >> am doing a bunch of other processing of the file in LC so it can be >> anywhere in the process. I'm not doing anything with the Kanji itself >> except displaying it. >> >> I'd appreciate any help but if it involves unicode, please assume you are >> talking to an imbecile. >> >> TIA >> >> > -- > Phil Davis > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > -- Regards, Howard Bornstein ----------------------- www.designeq.com From dsc at swcp.com Fri Jun 7 00:45:15 2013 From: dsc at swcp.com (Dar Scott) Date: Thu, 6 Jun 2013 22:45:15 -0600 Subject: Getting Kanji from a .csv file In-Reply-To: References: <51B00532.6040000@pdslabs.net> Message-ID: I don't know what characters the field might throw away. So, putting the file into the field and then modifying the field seems scary to me. Maybe all the data is there, but maybe not. I'd set the field kinda like this: set the unicodeText of field "Processed File" to the uniEncode( URL ("file:"&kFile1), "UTF8") Or something like that; just not putting it into the field first. And then save the field much like this: put uniDecode( the unicodeText of field "Processed File", "UTF8" ) into URL ("file:"&kFile2) You can use "file:" with UTF-8. No ghost ASCII CR or LF will show up in the representation of any characters other than CR and LF. There are probably typos or gross errors there, so fix as you need. However, even some of what you set might be lost if the field does not need it. I don't know if the field will throw away the byte-order character. This is often included in files to help programs identify the contents. Well, its designed to show byte-order but people do use it as a Unicode form signature. If that gets lost you might need to put one in at the start of the file. So, if you still have problems, off the top of my head and full of typos and gross errors, you can do something like this to add the byte-order character: set the useUnicode to true -- change the behavior of numToChar() put uniDecode( numToChar(0xFEFF) & the unicodeText of field "Processed File", "UTF8") into URL("file:"&kFile2) Dar On Jun 6, 2013, at 9:58 PM, Howard Bornstein wrote: > Hi Phil (and others), > > Thanks for the response and thanks especially to Devin for the excellent > article. I was able to get the Kanji to appear properly after processing > the whole file and then issuing this command: > > set the unicodetext of fld "ProcessedFile" to the uniencode(fld > "ProcessedFile, "UTF8") > > Very easy when you know what to do :-) > > One puzzle still remaining though. After I got the Kanji to show up > properly, I tried saving the file to a text file and when I opened it up in > TextEdit, I had lost all the Kanji again. This surprised me because I > thought that TextEdit was a UTF8-compliant app. > > I solved the problem by simply cutting and pasting from LiveCode to a > TextEdit document (Kanji came intact) but I would still like to know how I > could have saved the file as a text file from within LC and still have it > work. Any ideas? > > > > On Wed, Jun 5, 2013 at 8:42 PM, Phil Davis wrote: > >> Hi Howard, >> >> From one unicode-ignorant soul to another - >> >> Devin's explanation about LC & Unicode got me started: >> http://livecode.byu.edu/**unicode/unicodeInRev.php -- the good part is about a third of the way down >> >> Using this info + LC's various unicode functions + the styledText of a >> field, I was recently able to paste multi-line Arabic text correctly. If I >> can do that, you can do Kanji. Really! It reads left-to-right doesn't it? >> >> Best - >> Phil >> >> >> >> >> On 6/5/13 7:23 PM, Howard Bornstein wrote: >> >>> I have a client who wants me to do some processing on a spreadsheet file >>> that has been saved in .csv format. One of the fields contain either >>> English or Japanese. When I look at the fields with the Japanese, it looks >>> like gibberish. It does not display as Kanji. >>> >>> I believe the full data is still there because if I open it up in Numbers, >>> the Kanji is displayed correctly. However, I need to use the .cvs file to >>> process and I can't, for the life of me, make the Kanji appear. >>> >>> I am *way* in over my head here with regards to different languages. I >>> >>> assume this is a unicode issue but I am completely ignorant in this area. >>> >>> My question is: how can I take a .cvs file, which contains some Kanji text >>> but doesn't display as Kanji, and convert it so that, as a text file, it >>> displays as Kanji again. I don't care where this conversion takes place--I >>> am doing a bunch of other processing of the file in LC so it can be >>> anywhere in the process. I'm not doing anything with the Kanji itself >>> except displaying it. >>> >>> I'd appreciate any help but if it involves unicode, please assume you are >>> talking to an imbecile. >>> >>> TIA >>> >>> >> -- >> Phil Davis >> >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > > > > -- > Regards, > > Howard Bornstein > ----------------------- > www.designeq.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Fri Jun 7 00:57:45 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 07 Jun 2013 07:57:45 +0300 Subject: LiveCode and Linux In-Reply-To: References: Message-ID: <51B16849.1030802@gmail.com> On 07/06/13 02:22, Joe Klemmer wrote: > On Thu, Jun 6, 2013 at 5:53 PM, Pascal Lehner wrote: > >> I think there is a bug with sdk paths in 6.0.1. Afaik it was fixed in >> 6.0.2, probably worth giving that a try. > When I go to d/l the community edition it only offers 6.0.1 for Linux. :-( That's queer; I've had 6.0.2 for Linux running since Wednesday. Richmond. > > -- > Indie Game Dev and Linux User > Contact Info: http://about.me/joeklemmer > "Running Linux since 1991" > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From igor at semperuna.com Fri Jun 7 05:09:03 2013 From: igor at semperuna.com (Igor de Oliveira Couto) Date: Fri, 7 Jun 2013 19:09:03 +1000 Subject: Getting Kanji from a .csv file In-Reply-To: References: Message-ID: <3E80186C-D282-49F7-9817-10E8E2637827@semperuna.com> On 06/06/2013, at 12:23 PM, Howard Bornstein wrote: > [...] I'd appreciate any help but if it involves unicode, please assume you are > talking to an imbecile. [...] Unicode in LiveCode is a work-in-progress, and I believe it will see some major overhauling in the coming months, which will make it easier and more seamless to use. In the meantime, there is a bit of reading that you can do, which may make it easier for you to understand how unicode works, and how to handle unicode in LiveCode currently. You can start here: http://lessons.runrev.com/s/lessons/m/4071/l/12304-How-do-I-use-Unicode-in-Rev- Pay particular attention to the small sub-section titled "importing text from a utf-8 file". This may be enough to get you going, but should you then require more guidance, don't hesitate to send another message to the list. Kind regards, -- Igor Couto Sydney, Australia From igor at semperuna.com Fri Jun 7 05:17:43 2013 From: igor at semperuna.com (Igor de Oliveira Couto) Date: Fri, 7 Jun 2013 19:17:43 +1000 Subject: Where to write application data In-Reply-To: References: Message-ID: <315D23B1-91BD-4001-8751-6B5AD9CC63C2@semperuna.com> On 06/06/2013, at 12:40 PM, Devin Asay wrote: > For desktop applications, where can our applications legally write to for the three main OS's? I'm not talking about sandboxing for Mac App Store apps, just the normal place for writing application files. Hello, Devin, Not very long ago, I had the same question, and several users contributed their knowledge and experience in the different platforms, helping me compile an answer: QUESTION: Where do folks put application-specific preferences on Mac, Windows and Linux? The answer I compiled from all replies and pointers received was: 1) MacOS X Prefs Location: specialFolderPath("Home") & "/Library/Application Support/MyCompany/MyAppBundleID/" - - Apple requires you to use the application's bundle id for the *folder name* 2) Windows Prefs Location: specialFolderPath("0x001a") & "/MyApp/" 3) Linux Prefs Location: there does not seem to be a 'standard', but several programs seem to take the approach of creating a hidden folder in the user's home directory - specialFolderPath("Home") & "/.myapp/" 4) iOS Prefs Location: specialFolderPath("library") & "/MyAppBundleID/" - Apple requires you to use the application's bundle id for the *folder name* 5) Android Prefs Location: specialFolderPath("documents") The information above will help you find or create the appropriate directory in which to save your *preferences* file. If you want to save *documents*, or other support files, the location may vary. Lastly, in regards to the naming of the preferences file: it seems the preferences file itself can be called pretty much anything you want, as there do not seem to be any strict guidelines in any current platform. I hope this information helps! -- Igor Couto Sydney, Australia From me at paulmaguire.me Fri Jun 7 05:25:51 2013 From: me at paulmaguire.me (Paul Maguire) Date: Fri, 7 Jun 2013 10:25:51 +0100 Subject: [OT] What's happening here in Turkey... In-Reply-To: <48D798AF-5636-41BB-AA9E-DBE7DB4CC3C7@gmail.com> References: <7C753195056842ABB6D3833480768459@gmail.com> <11D1DD0756094E67967289F5A05541F6@gmail.com> <51B11DAB.1030808@hyperactivesw.com> <42EA89408B8C4F6E9E70A58E370AB1D8@gmail.com> <48D798AF-5636-41BB-AA9E-DBE7DB4CC3C7@gmail.com> Message-ID: A very moving personal account. Be aware (as your government must) that the eyes of the world are watching - you are not alone in your struggle. Best wishes to you and yours, Paul. From gspearson at gmail.com Fri Jun 7 05:32:21 2013 From: gspearson at gmail.com (Graham Pearson) Date: Fri, 07 Jun 2013 05:32:21 -0400 Subject: Embed MapPoint into desktop application In-Reply-To: References: Message-ID: <51B1A8A5.3010508@gmail.com> I am working on a map application but instead of using MapPoint, I am using Google Maps. In my application, we have 24 markets across the country that I have Lat/Long from FCC CallSign Broadcast Towers for Educational Use. I have created a webservice with this information so my application retrieves and XML file and stores it within SQLite. I then display the map for the specific Market that a user clicks upon and use Overlays to display a 35 mile radius around the tower. What I am working on now with the application is giving the user the ability to display all private/public school buildings within this 35 mile radius of the tower and upon clicking on a icon will display additional information about the tower and school building. What I have learned when I write applications is the end user does not care how or what is used just aslong as the new program provides the same functionality as the program they are used to using. On 6/6/2013 12:01 PM, Magicgate Software - Skip Kimpel wrote: > Anybody ever attempt to do this? Even possible? I am a scenario where a > company is using MapPoint in a customized Access application. I want to > rip it apart and re-build it but they rely heavily upon MapPoint that is > integrated / imbedded in it. > > Just wondering if this has been attempted before.... > > SKIP > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From coiin at verizon.net Fri Jun 7 08:21:18 2013 From: coiin at verizon.net (Colin Holgate) Date: Fri, 07 Jun 2013 08:21:18 -0400 Subject: scrolling stack I made In-Reply-To: <1370577219135-4666074.post@n4.nabble.com> References: <6A58AF63-AA57-41CA-B65F-1F1775D54CA6@verizon.net> <519E6166.9090007@hyperactivesw.com> <1370571520992-4666071.post@n4.nabble.com> <6FD730DB-B832-4EE0-A9BF-6162786448C9@verizon.net> <1370577219135-4666074.post@n4.nabble.com> Message-ID: Had you already built your own tests onto the device? On Jun 6, 2013, at 11:53 PM, Alejandro Tejada wrote: > I downloaded and try to run your APK file, but my Android device > does not allows me to install the application. Strangely enough > it says that will replace another application! From toolbook at kestner.de Fri Jun 7 08:37:39 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 7 Jun 2013 14:37:39 +0200 Subject: AW: Where to write application data In-Reply-To: <315D23B1-91BD-4001-8751-6B5AD9CC63C2@semperuna.com> References: <315D23B1-91BD-4001-8751-6B5AD9CC63C2@semperuna.com> Message-ID: <004601ce637b$cc8c3130$65a49390$@de> Hello, beside some preference files I have 8GB of video data for my application to install. The videos can't be stored in a user folder, they have to be accessible for all users. Because I am really not a Mac user or even developer, so I didn't find the correct place for my videos on a Mac up to now. Up to OS X 10.6 I stored the videos in /library/preferences/MyCompany/Videos/ Then Apple restricted the user permission to this directory, so I stored the videos in /applications/MyCompany/Videos. This works up to now, though I know, that this isn't a good style and people told me not to do that, but nobody could point me a better place. Would "/Library/Application Support/MyCompany/MyAppBundleID/" also be the best place for 8GB of video data, though it aren't "prefence files" or where would you store this kind of data? Any hints very welcome. Tiemo Hollmann > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Igor de Oliveira Couto > Gesendet: Freitag, 7. Juni 2013 11:18 > An: How to use LiveCode > Betreff: Re: Where to write application data > > On 06/06/2013, at 12:40 PM, Devin Asay wrote: > > > For desktop applications, where can our applications legally write to for > the three main OS's? I'm not talking about sandboxing for Mac App Store > apps, just the normal place for writing application files. > > Hello, Devin, > > Not very long ago, I had the same question, and several users contributed > their knowledge and experience in the different platforms, helping me > compile an answer: > > QUESTION: Where do folks put application-specific preferences on Mac, > Windows and Linux? > > The answer I compiled from all replies and pointers received was: > > 1) MacOS X Prefs Location: > specialFolderPath("Home") & "/Library/Application > Support/MyCompany/MyAppBundleID/" - - Apple requires you to use the > application's bundle id for the *folder name* > > 2) Windows Prefs Location: > specialFolderPath("0x001a") & "/MyApp/" > > 3) Linux Prefs Location: > there does not seem to be a 'standard', but several programs seem to take > the approach of creating a hidden folder in the user's home directory - > specialFolderPath("Home") & "/.myapp/" > > 4) iOS Prefs Location: > specialFolderPath("library") & "/MyAppBundleID/" - Apple requires you to > use the application's bundle id for the *folder name* > > 5) Android Prefs Location: > specialFolderPath("documents") > > The information above will help you find or create the appropriate > directory in which to save your *preferences* file. If you want to save > *documents*, or other support files, the location may vary. > > Lastly, in regards to the naming of the preferences file: it seems the > preferences file itself can be called pretty much anything you want, as > there do not seem to be any strict guidelines in any current platform. > > I hope this information helps! > > > -- > Igor Couto > Sydney, Australia > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Fri Jun 7 09:39:19 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 07 Jun 2013 06:39:19 -0700 Subject: Getting Kanji from a .csv file In-Reply-To: References: Message-ID: <51B1E287.40905@fourthworld.com> Dar Scott wrote: > You can use "file:" with UTF-8. No ghost ASCII CR or LF will show > up in the representation of any characters other than CR and LF. Maybe I'm just superstitious, but I've always used "binfile" with Unicode because I didn't expect the engine to understand the difference between bytes used as line endings and those same bytes that may appear as part of a character byte sequence. Have I been too cautious? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From dsc at swcp.com Fri Jun 7 10:11:15 2013 From: dsc at swcp.com (Dar Scott) Date: Fri, 7 Jun 2013 08:11:15 -0600 Subject: Getting Kanji from a .csv file In-Reply-To: <51B1E287.40905@fourthworld.com> References: <51B1E287.40905@fourthworld.com> Message-ID: <2E6BDABF-7F27-402E-A56B-BB9C40C4581B@swcp.com> Yeah, there is no need to use binfile, but it is OK. You can process the line ends before or after converting to Unicode, if you do. Not too cautious for not knowing. It is a normal and right approach to be aware of potential problems and make code robust for those, but now you know. Assuming a valid UTF-8 file... Only the ASCII characters in UTF-8 have the high bit zero. They are represented as single bytes. (ASCII files are UTF-8 files.) All other characters are represented with multiple bytes that have the high bit set, not just the first but even the following. (The first byte in binary is 11xxxxxx and the continuing bytes are 10xxxxxx.) This means there are no CR, LF, tab, or comma hidden in the non-ASCII characters. ASCII never has the high bit set. You can use line and item chunks with UTF-8. You can use offset (with care) and replace. Now, here is where I'm ignorant. I am cautious, perhaps overly cautious. I don't use word or token with UTF-8. I can never remember how word works, much less token. Maybe the above is enough for somebody to comment. Dar On Jun 7, 2013, at 7:39 AM, Richard Gaskin wrote: > Dar Scott wrote: > > > You can use "file:" with UTF-8. No ghost ASCII CR or LF will show > > up in the representation of any characters other than CR and LF. > > Maybe I'm just superstitious, but I've always used "binfile" with Unicode because I didn't expect the engine to understand the difference between bytes used as line endings and those same bytes that may appear as part of a character byte sequence. > > Have I been too cautious? > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Fri Jun 7 10:15:38 2013 From: dsc at swcp.com (Dar Scott) Date: Fri, 7 Jun 2013 08:15:38 -0600 Subject: Getting Kanji from a .csv file In-Reply-To: <2E6BDABF-7F27-402E-A56B-BB9C40C4581B@swcp.com> References: <51B1E287.40905@fourthworld.com> <2E6BDABF-7F27-402E-A56B-BB9C40C4581B@swcp.com> Message-ID: Now, you have me worried, Richard. Maybe I missed something in what the engine does with text files... On Jun 7, 2013, at 8:11 AM, Dar Scott wrote: > Yeah, there is no need to use binfile, but it is OK. You can process the line ends before or after converting to Unicode, if you do. > > Not too cautious for not knowing. It is a normal and right approach to be aware of potential problems and make code robust for those, but now you know. > > Assuming a valid UTF-8 file... > > Only the ASCII characters in UTF-8 have the high bit zero. They are represented as single bytes. (ASCII files are UTF-8 files.) All other characters are represented with multiple bytes that have the high bit set, not just the first but even the following. (The first byte in binary is 11xxxxxx and the continuing bytes are 10xxxxxx.) > > This means there are no CR, LF, tab, or comma hidden in the non-ASCII characters. ASCII never has the high bit set. You can use line and item chunks with UTF-8. You can use offset (with care) and replace. > > Now, here is where I'm ignorant. I am cautious, perhaps overly cautious. I don't use word or token with UTF-8. I can never remember how word works, much less token. Maybe the above is enough for somebody to comment. > > Dar > > > On Jun 7, 2013, at 7:39 AM, Richard Gaskin wrote: > >> Dar Scott wrote: >> >>> You can use "file:" with UTF-8. No ghost ASCII CR or LF will show >>> up in the representation of any characters other than CR and LF. >> >> Maybe I'm just superstitious, but I've always used "binfile" with Unicode because I didn't expect the engine to understand the difference between bytes used as line endings and those same bytes that may appear as part of a character byte sequence. >> >> Have I been too cautious? >> >> -- >> Richard Gaskin >> Fourth World >> LiveCode training and consulting: http://www.fourthworld.com >> Webzine for LiveCode developers: http://www.LiveCodeJournal.com >> Follow me on Twitter: http://twitter.com/FourthWorldSys >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Fri Jun 7 10:18:08 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 07 Jun 2013 07:18:08 -0700 Subject: Getting Kanji from a .csv file In-Reply-To: <2E6BDABF-7F27-402E-A56B-BB9C40C4581B@swcp.com> References: <2E6BDABF-7F27-402E-A56B-BB9C40C4581B@swcp.com> Message-ID: <51B1EBA0.6080307@fourthworld.com> Dar Scott wrote: > Yeah, there is no need to use binfile, but it is OK. You can process the line ends before or after converting to Unicode, if you do. > > Not too cautious for not knowing. It is a normal and right approach to be aware of potential problems and make code robust for those, but now you know. > > Assuming a valid UTF-8 file... > > Only the ASCII characters in UTF-8 have the high bit zero. They are represented as single bytes. (ASCII files are UTF-8 files.) All other characters are represented with multiple bytes that have the high bit set, not just the first but even the following. (The first byte in binary is 11xxxxxx and the continuing bytes are 10xxxxxx.) > > This means there are no CR, LF, tab, or comma hidden in the non-ASCII characters. ASCII never has the high bit set. You can use line and item chunks with UTF-8. You can use offset (with care) and replace. Thanks for that background, Dar. I had suspected there may have been something that makes such distinctions identifiable, but didn't know the details. Now I can use "file" with confidence (and less work handling line endings). Really nice to have you back on this list. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From selander at tkf.att.ne.jp Fri Jun 7 10:29:30 2013 From: selander at tkf.att.ne.jp (Tim Selander) Date: Fri, 07 Jun 2013 23:29:30 +0900 Subject: Getting Kanji from a .csv file In-Reply-To: References: <51B00532.6040000@pdslabs.net> Message-ID: <51B1EE4A.5080502@tkf.att.ne.jp> I do a lot of work with kanji; but not much with kanji and LiveCode, so I didn't jump into this thread earlier... Actually, the way TextEdit handles kanji is a complete mystery to me. Files it ought to open correctly, it doesn't. For example, TextEdit bungles the .csv files I output from Numbers. Yet, if I open the .csv with a text editor that supports different encodings, such as TextWrangler, the Numbers exported .csv opens properly (readable) and reports itself as a UTF8 encoded file. Another nice feature of TextWrangler is that if you open a file with the wrong encoding and you see a screen full of garbage, TW has a menu option to re-open the current file with a different encoding of your choice. Another quick way to check on the true encoding of a text file (.txt) is to open it with a browser, and then use the browser's "view with encoding xyz" feature until you get a readable page. Tim Selander Tokyo, Japan On 6/7/13 12:58 PM, Howard Bornstein wrote: > TextEdit, I had lost all the Kanji again. This surprised me because I > thought that TextEdit was a UTF8-compliant app. From rdimola at evergreeninfo.net Fri Jun 7 10:32:00 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 7 Jun 2013 10:32:00 -0400 Subject: LC 6.0.2 Activation Problem In-Reply-To: <51B1EBA0.6080307@fourthworld.com> References: <2E6BDABF-7F27-402E-A56B-BB9C40C4581B@swcp.com> <51B1EBA0.6080307@fourthworld.com> Message-ID: <010001ce638b$c587ac10$50970430$@net> Anyone having a problem licensing 6.0.2 commercial? Tried both on-line and off-line....no go. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From paulhibbert at mac.com Fri Jun 7 10:37:34 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Fri, 07 Jun 2013 07:37:34 -0700 Subject: LC 6.0.2 Activation Problem In-Reply-To: <010001ce638b$c587ac10$50970430$@net> References: <2E6BDABF-7F27-402E-A56B-BB9C40C4581B@swcp.com> <51B1EBA0.6080307@fourthworld.com> <010001ce638b$c587ac10$50970430$@net> Message-ID: <836E149B-85C0-47C6-9287-4729EABB267A@mac.com> No problem with LC 6.0.2, both Mac & Win work fine, but I can't registerLC 5.5.5, so I figured an email to Heather for Monday morning should sort my account details. LC 5.5.5 has allowed me the 60 day evaluation period. Paul On 2013-06-07, at 7:32 AM, Ralph DiMola wrote: > Anyone having a problem licensing 6.0.2 commercial? Tried both on-line and > off-line....no go. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Fri Jun 7 11:01:42 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 7 Jun 2013 08:01:42 -0700 (PDT) Subject: scrolling stack I made In-Reply-To: References: <6A58AF63-AA57-41CA-B65F-1F1775D54CA6@verizon.net> <519E6166.9090007@hyperactivesw.com> <1370571520992-4666071.post@n4.nabble.com> <6FD730DB-B832-4EE0-A9BF-6162786448C9@verizon.net> <1370577219135-4666074.post@n4.nabble.com> Message-ID: <1370617302340-4666093.post@n4.nabble.com> Hi Colin, Colin Holgate-2 wrote > Had you already built your own tests onto the device? No, I build the APK in Windows, then copy the installer to the Tablet and install from X-Plore: https://play.google.com/store/apps/details?id=com.lonelycatgames.Xplore&hl=en It has worked, so far, with the very simple test stacks compiled with LC Community Edition 6.0.2 Notice, I could not compile your stack for Android with this version of LC, and this Tablet Polaroid tablet uses Android 4.04 (API level 15) Ice Cream Sandwich. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/scrolling-stack-I-made-tp4665050p4666093.html Sent from the Revolution - User mailing list archive at Nabble.com. From jhurley0305 at sbcglobal.net Fri Jun 7 11:17:56 2013 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Fri, 7 Jun 2013 08:17:56 -0700 Subject: Polygon's share of its rectangle inconsistent? In-Reply-To: References: Message-ID: <34162506-169F-40D3-A8DA-5982672FE823@sbcglobal.net> Hi David, Would it help if you could calculate the area of the polygons? The following determines the area of any singly connected (the area of a figure 8 is zero) closed polygon: on mouseUp put the points of grc "polygon" into tPoints put line 1 of tPoints into tStart put the number of lines in tPoints into n put 0 into tArea repeat with i = 1 to n-1 put line i+1 of tPoints into tEnd put item 1 of tStart - item 1 of tEnd into tWidth put (item 2 of tStart + item 2 of tEnd)/2 into tHeight --The average height of this line. add tWidth * tHeight to tArea put tEnd into tStart end repeat put tArea into msg box end mouseUp Jim > > Message: 7 > Date: Thu, 6 Jun 2013 19:39:25 -0400 > From: David Epstein > To: use-livecode at lists.runrev.com > Subject: Polygon's share of its rectangle inconsistent? > Message-ID: <5E916091-0FDE-4C67-9D52-04601757A3AB at comcast.net> > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > In order to properly adjust the relative area of two dissimilar > polygons, I thought I would use a function to determine the fraction > of each polygon's rectangle that is covered by the polygon. > > function coverage obLID > set the filled of obLID to true > put the rect of obLID into r > repeat with x = (item 1 of r) to (item 3 of r) > repeat with y = (item 2 of r) to (item 4 of r) > put x,y into pt > if within(obLID,pt) then add 1 to isIn > add 1 to all > end repeat > end repeat > return isIn/all > end coverage > > This seems to work as expected, but I am perplexed by the fact that > when I resize an object keeping its proportions constant (drag a > corner with the shift key down; or script this) I get a surprising > variation in the result. E.g., a fairly simple shape I tried went > from 0.48 coverage up to 0.59 coverage when I shrank its dimensions > by about two-thirds. With tens or hundreds of thousands of pixels > being sampled in the calculation, I would not expect this variation. > > Many thanks for any insights or suggestions. > > David Epstein > ************************* From gcanyon at gmail.com Fri Jun 7 11:18:13 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Fri, 7 Jun 2013 10:18:13 -0500 Subject: randomly order a list In-Reply-To: <51AFB83F.70102@tweedly.net> References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <44DB3748-3519-4BD6-BD81-D65D9C6F6249@swcp.com> <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> <519E7F6D.3040507@tweedly.net> <08A24B77-8594-41D8-92BD-14CAC003D96B@swcp.com> <51AE778F.4070601@tweedly.net> <51AFB83F.70102@tweedly.net> Message-ID: On Wed, Jun 5, 2013 at 5:14 PM, Alex Tweedly wrote: > Your code has a minor bug :-) > > You "get MD5Digest(S[1]) " > instead of using S[i] > Arrrrrrrrgh!!! ;-) Interestingly, md5 appears to scale roughly linearly on the length of the strings. 100x as long string means about 15x as long to md5, while 1000x as long string means about 120x as long to md5. sha1 is longer but scales similarly. From roger.e.eller at sealedair.com Fri Jun 7 11:19:01 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 7 Jun 2013 11:19:01 -0400 Subject: OT: Android file locations In-Reply-To: References: Message-ID: You can connect your tablet to a computer with a USB cable. Copy the files. Upload them to web thingy of ur choice. :) ~Roger On Thu, Jun 6, 2013 at 5:48 PM, Mark Wieder wrote: > I'm technologically-challenged when it comes to mobile phones, but I > managed > to transfer a few pictures from the conference from phone to my Android > tablet over a Bluetooth connection. (I'd be way too embarrassed to say how > many days it took to figure out how to do that). > > I can see the pictures in the Android gallery in an album labeled > "Bluetooth". Now I'd like to transfer them off the tablet into a web thingy > somewhere, but I don't know where to find them. Any clues as to where to > find them and how to transfer them out? > > So far googling hasn't turned up anything useful. Maybe I'm the first to > try > something this daft. > > -- > Mark Wieder > mwieder at ahsoftware.net > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Fri Jun 7 11:57:12 2013 From: dsc at swcp.com (Dar Scott) Date: Fri, 7 Jun 2013 09:57:12 -0600 Subject: randomly order a list In-Reply-To: References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <44DB3748-3519-4BD6-BD81-D65D9C6F6249@swcp.com> <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> <519E7F6D.3040507@tweedly.net> <08A24B77-8594-41D8-92BD-14CAC003D96B@swcp.com> <51AE778F.4070601@tweedly.net> <51AFB83F.70102@tweedly.net> Message-ID: <4E5FD2E1-1545-4A59-BDEC-DD9267D7BAA1@swcp.com> Right. There is a little bit of overhead for padding for both md5 and sha1 (they use the same padding method), as a string a multiple of 64-bytes is created. Then each resulting 64-byte block is processed; this is linear. The methods are very similar, an important difference being the number of 32-bit chaining variables; md5 has four and sha1 has five. (The final values are the hash.) That is a factor in making the sha1 basic operation take longer, and thus the whole process take longer. (We could look it up and count all the XOR, SHIFT, OR and AND operations, but you can imagine there would be more in scrambling five things instead of four--well, scrambled along with a portion of the block.) I empathize your arrrgh. Dar On Jun 7, 2013, at 9:18 AM, Geoff Canyon wrote: > On Wed, Jun 5, 2013 at 5:14 PM, Alex Tweedly wrote: > >> Your code has a minor bug :-) >> >> You "get MD5Digest(S[1]) " >> instead of using S[i] >> > > > Arrrrrrrrgh!!! ;-) > > Interestingly, md5 appears to scale roughly linearly on the length of the > strings. 100x as long string means about 15x as long to md5, while 1000x as > long string means about 120x as long to md5. sha1 is longer but scales > similarly. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gcanyon at gmail.com Fri Jun 7 12:13:17 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Fri, 7 Jun 2013 11:13:17 -0500 Subject: randomly order a list In-Reply-To: <4E5FD2E1-1545-4A59-BDEC-DD9267D7BAA1@swcp.com> References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <44DB3748-3519-4BD6-BD81-D65D9C6F6249@swcp.com> <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> <519E7F6D.3040507@tweedly.net> <08A24B77-8594-41D8-92BD-14CAC003D96B@swcp.com> <51AE778F.4070601@tweedly.net> <51AFB83F.70102@tweedly.net> <4E5FD2E1-1545-4A59-BDEC-DD9267D7BAA1@swcp.com> Message-ID: I did some reading and it sounds like md5 and sha1 should both be deprecated in favor of sha256. On Fri, Jun 7, 2013 at 10:57 AM, Dar Scott wrote: > Right. There is a little bit of overhead for padding for both md5 and > sha1 (they use the same padding method), as a string a multiple of 64-bytes > is created. Then each resulting 64-byte block is processed; this is > linear. The methods are very similar, an important difference being the > number of 32-bit chaining variables; md5 has four and sha1 has five. (The > final values are the hash.) That is a factor in making the sha1 basic > operation take longer, and thus the whole process take longer. (We could > look it up and count all the XOR, SHIFT, OR and AND operations, but you can > imagine there would be more in scrambling five things instead of > four--well, scrambled along with a portion of the block.) > > I empathize your arrrgh. > > Dar > > > > On Jun 7, 2013, at 9:18 AM, Geoff Canyon wrote: > > > On Wed, Jun 5, 2013 at 5:14 PM, Alex Tweedly wrote: > > > >> Your code has a minor bug :-) > >> > >> You "get MD5Digest(S[1]) " > >> instead of using S[i] > >> > > > > > > Arrrrrrrrgh!!! ;-) > > > > Interestingly, md5 appears to scale roughly linearly on the length of the > > strings. 100x as long string means about 15x as long to md5, while 1000x > as > > long string means about 120x as long to md5. sha1 is longer but scales > > similarly. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Fri Jun 7 12:31:14 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 7 Jun 2013 09:31:14 -0700 Subject: Where to write application data In-Reply-To: <315D23B1-91BD-4001-8751-6B5AD9CC63C2@semperuna.com> References: <315D23B1-91BD-4001-8751-6B5AD9CC63C2@semperuna.com> Message-ID: On Fri, Jun 7, 2013 at 2:17 AM, Igor de Oliveira Couto wrote: > 1) MacOS X Prefs Location: > specialFolderPath("Home") & "/Library/Application > Support/MyCompany/MyAppBundleID/" - - Apple requires you to use the > application's bundle id for the *folder name* > Hi Igor, Never submitted anything to the App Store but I thought that the folder inside "MyCompany" could be your application name. Do I have that wrong? Pete lcSQL Software From richmondmathewson at gmail.com Fri Jun 7 12:45:59 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 07 Jun 2013 19:45:59 +0300 Subject: [OT] What's happening here in Turkey... In-Reply-To: <42EA89408B8C4F6E9E70A58E370AB1D8@gmail.com> References: <7C753195056842ABB6D3833480768459@gmail.com> <11D1DD0756094E67967289F5A05541F6@gmail.com> <51B11DAB.1030808@hyperactivesw.com> <42EA89408B8C4F6E9E70A58E370AB1D8@gmail.com> Message-ID: <51B20E47.5030807@gmail.com> On 06/07/2013 03:27 AM, Ender Nafi Elek?io?lu wrote: > @Jacque, > I'm also happy to see that *remarkable* people and to be with them. > As I said, there is still hope for Homo Sapiens :) > > @Andrew, > I'm an anarchist since I've read *The Dispossessed* of Ursula Le Guin when I was a child. > But it was hard to believe that it can be realized. > Seeing that I was wrong, is liberating. > > > > ~ Ender Nafi > > ~? together, we're smarter & stronger ?~ > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Well, Ender, I have a few things to say . . . 1. The police, as far as I can see, in Turkey, are being very heavy-handed indeed. 2. While the initial protest may have been about some trees this seems to have got beyond that. 3. In theory I am what is called an Anarcho-Capitalist (no, that is not a contradiction), in that I do NOT like state control of almost anything, but I do believe in private property and people being able to enjoy the full fruits of their labours (rather than have them stolen by a state that feels no need to explain what it is doing with them). 4. In practise I am not an anarchist because my experience suggests that humans are not up to the standard of managing to function properly in a state of true anarchy, and I am worried that in that sort of situation criminal elements would seize control. 5. I admire the courage of all of you in Taksim square (regardless of your political stance) and wish you well, and, whatever the final outcome pray that the perpetrators of the police outrages are brought to justice. 6. As I live right next-door to you in Bulgaria (where we have a sizeable Turkish-speaking majority) this is more immediate to me that perhaps it is to those on the Use-list who live in the West. 7. If you require any help (such as somewhere to have a "political holiday" for a bit) feel free to write to me off-list. Richmond. From richmondmathewson at gmail.com Fri Jun 7 12:56:00 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 07 Jun 2013 19:56:00 +0300 Subject: I'm a Happy Kickstart Camper . . . Message-ID: <51B210A0.9070502@gmail.com> Oh Yes I am, very happy indeed . . . "Project Update #20: Next Generation LiveCode (Open Source) by RunRev Ltd" and, Lo and Behold . . . "The next major version (6.1) will remove the current requirement to register a LiveCode account with us in order to activate LiveCode Community." [ although I am still very curious to know what RunRev's rationale of having that in the first place was ] Also lovely to see that we are being kept informed, as this must count as an understatement: "It has been a little while since our last update." I have to start my Summer teaching of Kiddos with LC OSS in about 10 days time as most of the Mummies and Daddies who want their kiddywinks to do this also want to push off to the seaside at the start of July: i.e. they want me to bring my 90 mins once a week for 4 weeks forward by 2 weeks and squeezed into 90 mins twice a week for 2 weeks . . . . . . this with 9, 10 and 11 year olds . . . Hmmmm so will probably be using 6.0.2 on various Debian derivatives, and will get my wife to translate a note for the parents as to how they have to do the online Reg. at home for the kiddos on their Windows boxes (this because I cannot work out where the licences should go in Windows; especially XP). I am planning to write up my classes and pop them somewhere convenient on the internet for anybody who wants to take a keek. Richmond. From richmondmathewson at gmail.com Fri Jun 7 13:09:22 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 07 Jun 2013 20:09:22 +0300 Subject: [OT] Kernels, VMware, Tip Message-ID: <51B213C2.5050308@gmail.com> If, like me, you are dependent for a variety of reasons on VMware on Ubuntu (or derivatives) or Mint Linux you have probably got fairly stroppy when VMware Player (or fancier) gets all 'funny' every time there is a kernel update (about every 2-3 days at the moment). Anyway here's a trick (and it is not mine, I'm not nearly that clever): copy-paste this into your Terminal and run it every time VMware gives you some nonsense about having to compile something-or-other, then doesn't and/or crashes: sudo vmware-modconfig --console --install-all It's a lifesaver. Richmond. From capellan2000 at gmail.com Fri Jun 7 13:17:03 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 7 Jun 2013 10:17:03 -0700 (PDT) Subject: I'm a Happy Kickstart Camper . . . In-Reply-To: <51B210A0.9070502@gmail.com> References: <51B210A0.9070502@gmail.com> Message-ID: <1370625423731-4666103.post@n4.nabble.com> Congratulations! :D I will like to read about a detailed account of the performance of your students, Richmond. Have a nice weekend! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/I-m-a-Happy-Kickstart-Camper-tp4666101p4666103.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Fri Jun 7 13:17:22 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 7 Jun 2013 17:17:22 +0000 (UTC) Subject: OT: Android file locations References: Message-ID: Roger Eller writes: > You can connect your tablet to a computer with a USB cable. Copy the files. > Upload them to web thingy of ur choice. :) Yes, thanks. The problem is where to find those files on the Android tablet. I imagine there must be a Bluetooth directory somewhere. Or some sort of images directory with a link to the imported files. I thought /media was a good place to start, but apparently not. -- Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Fri Jun 7 13:19:28 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 07 Jun 2013 12:19:28 -0500 Subject: AW: Where to write application data In-Reply-To: <004601ce637b$cc8c3130$65a49390$@de> References: <315D23B1-91BD-4001-8751-6B5AD9CC63C2@semperuna.com> <004601ce637b$cc8c3130$65a49390$@de> Message-ID: <51B21620.8090307@hyperactivesw.com> On 6/7/13 7:37 AM, Tiemo Hollmann TB wrote: > Would "/Library/Application > Support/MyCompany/MyAppBundleID/" also be the best place for 8GB of video > data, though it aren't "prefence files" or where would you store this kind > of data? Yes, that's where Apple wants you to store that kind of file. Anything the app uses should go there. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From capellan2000 at gmail.com Fri Jun 7 13:19:03 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 7 Jun 2013 10:19:03 -0700 (PDT) Subject: LiveCode APKs for Android Tablets Message-ID: <1370625543353-4666105.post@n4.nabble.com> Hi All, Does exists a list of Android Apps created with LiveCode? Probably, I could convince others Android users to test them too. Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-APKs-for-Android-Tablets-tp4666105.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Fri Jun 7 13:27:05 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 7 Jun 2013 17:27:05 +0000 (UTC) Subject: I'm a Happy Kickstart Camper . . . References: <51B210A0.9070502@gmail.com> Message-ID: Richmond writes: > [ although I am still very curious to know what RunRev's rationale of > having that in the first place was ] I realize you didn't ask for my guess about this, but... I think it was a misguided attempt to do things like know the size of the user base, keep users informed of updates, etc. > so will probably be using 6.0.2 on various Debian derivatives, and will > get my wife to translate a note for the parents > as to how they have to do the online Reg. at home for the kiddos on > their Windows boxes (this because I cannot work out > where the licences should go in Windows; especially XP). Try C:/Documents and Settings//Application Data/RunRev/Licenses -- Mark Wieder mwieder at ahsoftware.net From richmondmathewson at gmail.com Fri Jun 7 13:29:03 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 07 Jun 2013 20:29:03 +0300 Subject: I'm a Happy Kickstart Camper . . . In-Reply-To: References: <51B210A0.9070502@gmail.com> Message-ID: <51B2185F.4040008@gmail.com> On 06/07/2013 08:27 PM, Mark Wieder wrote: > Richmond writes: > >> [ although I am still very curious to know what RunRev's rationale of >> having that in the first place was ] > I realize you didn't ask for my guess about this, but... I think it was a > misguided attempt to do things like know the size of the user base, keep > users informed of updates, etc. No, I didn't ask for your guess; but it does make sense, so thanks! > >> so will probably be using 6.0.2 on various Debian derivatives, and will >> get my wife to translate a note for the parents >> as to how they have to do the online Reg. at home for the kiddos on >> their Windows boxes (this because I cannot work out >> where the licences should go in Windows; especially XP). > Try C:/Documents and Settings//Application Data/RunRev/Licenses > Thanks; will. Richmond. From mwieder at ahsoftware.net Fri Jun 7 13:32:28 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 7 Jun 2013 17:32:28 +0000 (UTC) Subject: I'm a Happy Kickstart Camper . . . References: <51B210A0.9070502@gmail.com> <51B2185F.4040008@gmail.com> Message-ID: Er... this being Windows, those should of course be backslashes instead of forward slashes. Sorry about that. -- Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri Jun 7 13:30:37 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 7 Jun 2013 17:30:37 +0000 (UTC) Subject: [OT] What's happening here in Turkey... References: <7C753195056842ABB6D3833480768459@gmail.com> <11D1DD0756094E67967289F5A05541F6@gmail.com> <51B11DAB.1030808@hyperactivesw.com> <42EA89408B8C4F6E9E70A58E370AB1D8@gmail.com> <51B20E47.5030807@gmail.com> Message-ID: Richmond writes: > I am worried that in that sort of situation criminal elements would seize > control. Hah! I was wondering when Richmond would join this, and I'm encouraged to see that he's an optimist who doesn't think this is the current state of the world. -- Mark Wieder mwieder at ahsoftware.net From richmondmathewson at gmail.com Fri Jun 7 13:39:05 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 07 Jun 2013 20:39:05 +0300 Subject: [OT] What's happening here in Turkey... In-Reply-To: References: <7C753195056842ABB6D3833480768459@gmail.com> <11D1DD0756094E67967289F5A05541F6@gmail.com> <51B11DAB.1030808@hyperactivesw.com> <42EA89408B8C4F6E9E70A58E370AB1D8@gmail.com> <51B20E47.5030807@gmail.com> Message-ID: <51B21AB9.7020608@gmail.com> On 06/07/2013 08:30 PM, Mark Wieder wrote: > Richmond writes: > >> I am worried that in that sort of situation criminal elements would seize >> control. > Hah! I was wondering when Richmond would join this, and I'm encouraged to > see that he's an optimist who doesn't think this is the current state of the > world. > Well put; let me rephrase that: I am worried that a more vicious set of criminal elements will seize control than those who currently are in control. Richmond. From richmondmathewson at gmail.com Fri Jun 7 13:40:42 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 07 Jun 2013 20:40:42 +0300 Subject: I'm a Happy Kickstart Camper . . . In-Reply-To: References: <51B210A0.9070502@gmail.com> <51B2185F.4040008@gmail.com> Message-ID: <51B21B1A.7020101@gmail.com> On 06/07/2013 08:32 PM, Mark Wieder wrote: > Er... this being Windows, those should of course be backslashes instead of > forward slashes. Sorry about that. > Hey; when travelling on the Motorway, as a kid, on our holidays, no stopping being allowed, my Dad said to me; "Always have a slash out of the Windows." Best, Richmond. From jacque at hyperactivesw.com Fri Jun 7 14:23:54 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 07 Jun 2013 13:23:54 -0500 Subject: OT: Android file locations In-Reply-To: References: Message-ID: <51B2253A.3000803@hyperactivesw.com> On 6/7/13 12:17 PM, Mark Wieder wrote: > Roger Eller writes: > >> You can connect your tablet to a computer with a USB cable. Copy the files. >> Upload them to web thingy of ur choice. :) > > Yes, thanks. The problem is where to find those files on the Android tablet. > I imagine there must be a Bluetooth directory somewhere. Or some sort of > images directory with a link to the imported files. I thought /media was a > good place to start, but apparently not. > Most Android file managers will let you do a file search. My first reaction is that the Bluetooth directory should be on the main level (on a non-rooted device) of the SD card, but you probably already looked there. I haven't used bluetooth on my device yet or I'd try it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Jun 7 14:26:36 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 07 Jun 2013 13:26:36 -0500 Subject: I'm a Happy Kickstart Camper . . . In-Reply-To: <51B210A0.9070502@gmail.com> References: <51B210A0.9070502@gmail.com> Message-ID: <51B225DC.8070900@hyperactivesw.com> On 6/7/13 11:56 AM, Richmond wrote: > > "The next major version (6.1) will remove the current requirement to > register a LiveCode account with us in order to activate LiveCode > Community." > > [ although I am still very curious to know what RunRev's rationale of > having that in the first place was ] Kevin said it was to see what the uptake was after the Kickstarter. That sounded reasonable to me. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Fri Jun 7 14:27:46 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 07 Jun 2013 21:27:46 +0300 Subject: I'm a Happy Kickstart Camper . . . In-Reply-To: <51B225DC.8070900@hyperactivesw.com> References: <51B210A0.9070502@gmail.com> <51B225DC.8070900@hyperactivesw.com> Message-ID: <51B22622.9070605@gmail.com> On 06/07/2013 09:26 PM, J. Landman Gay wrote: > On 6/7/13 11:56 AM, Richmond wrote: >> >> "The next major version (6.1) will remove the current requirement to >> register a LiveCode account with us in order to activate LiveCode >> Community." >> >> [ although I am still very curious to know what RunRev's rationale of >> having that in the first place was ] > > Kevin said it was to see what the uptake was after the Kickstarter. > That sounded reasonable to me. > Indeed it does. From capellan2000 at gmail.com Fri Jun 7 14:33:15 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 7 Jun 2013 11:33:15 -0700 (PDT) Subject: [OT] What's happening here in Turkey... In-Reply-To: References: Message-ID: <1370629995962-4666116.post@n4.nabble.com> Hi endernafi, My best wishes for you and all your partners in this fight for your rights to preserve the few natural environments left in your cities. Hopefully, those who want to crush the laws with their power will reconsider the real cost of their ambitions. Have a nice weekend! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-What-s-happening-here-in-Turkey-tp4666044p4666116.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Fri Jun 7 14:48:09 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 7 Jun 2013 18:48:09 +0000 (UTC) Subject: OT: Android file locations References: <51B2253A.3000803@hyperactivesw.com> Message-ID: J. Landman Gay writes: > Most Android file managers will let you do a file search. My first > reaction is that the Bluetooth directory should be on the main level (on > a non-rooted device) of the SD card, but you probably already looked > there. I haven't used bluetooth on my device yet or I'd try it. Thanks. It's an HP Touchpad, so there's no external sd card. The files are buried somewhere. I'd do a file search if I had an idea what to look for. -- Mark Wieder mwieder at ahsoftware.net From dochawk at gmail.com Fri Jun 7 15:05:43 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 7 Jun 2013 12:05:43 -0700 Subject: LC 6.0.2 Activation Problem In-Reply-To: <010001ce638b$c587ac10$50970430$@net> References: <2E6BDABF-7F27-402E-A56B-BB9C40C4581B@swcp.com> <51B1EBA0.6080307@fourthworld.com> <010001ce638b$c587ac10$50970430$@net> Message-ID: On Fri, Jun 7, 2013 at 7:32 AM, Ralph DiMola wrote: > > Anyone having a problem licensing 6.0.2 commercial? Tried both on-line and > off-line....no go. I just hit this. It would have been nice if either the updater or rev had even notified me that it was out; I found out on this list. And it tells me that my current account "does not allow you to run LiveCode Commercial" grr. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Fri Jun 7 15:12:15 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 07 Jun 2013 22:12:15 +0300 Subject: I'm a Happy Kickstart Camper . . . In-Reply-To: References: <51B210A0.9070502@gmail.com> Message-ID: <51B2308F.4040702@gmail.com> On 06/07/2013 08:27 PM, Mark Wieder wrote: > Richmond writes: > >> [ although I am still very curious to know what RunRev's rationale of >> having that in the first place was ] > I realize you didn't ask for my guess about this, but... I think it was a > misguided attempt to do things like know the size of the user base, keep > users informed of updates, etc. > >> so will probably be using 6.0.2 on various Debian derivatives, and will >> get my wife to translate a note for the parents >> as to how they have to do the online Reg. at home for the kiddos on >> their Windows boxes (this because I cannot work out >> where the licences should go in Windows; especially XP). > Try C:/Documents and Settings//Application Data/RunRev/Licenses > Now, when I go to C:\Documents and Settings\RM on my XP install on VMware Player 5.0.2 there is NO "Application Data" folder, which is 'gae queer' to say the least. When I make a new folder and try to call it 'Application Data' XP makes a funny noise and tells me that folder already exists; so it must be hidden in some way (and, unlike Linux, one cannot just go "show hidden files") . . . Aha, gottit . . . but will the Mummies and Daddies who haven't a clue about computers? not exactly obvious. ------------------- On my Windows 7 install (similarly on VMware) I end up with something entirely different from what you describe: (and it took a bit of pissing around to find this) C:\Users\*username*\AppData\Roaming\RunRev\Licenses ---------------------- Does this mean that there are a number of possibilities re Windows 7 (that's an ugly thought) ? Richmond. From jacque at hyperactivesw.com Fri Jun 7 15:21:04 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 07 Jun 2013 14:21:04 -0500 Subject: OT: Android file locations In-Reply-To: References: <51B2253A.3000803@hyperactivesw.com> Message-ID: <51B232A0.7050006@hyperactivesw.com> On 6/7/13 1:48 PM, Mark Wieder wrote: > J. Landman Gay writes: > >> Most Android file managers will let you do a file search. My first >> reaction is that the Bluetooth directory should be on the main level (on >> a non-rooted device) of the SD card, but you probably already looked >> there. I haven't used bluetooth on my device yet or I'd try it. > > Thanks. It's an HP Touchpad, so there's no external sd card. The files are > buried somewhere. I'd do a file search if I had an idea what to look for. > My Samsung doesn't have an SD card either, but it refers to its storage area as the "SD Card". The main directories are all in there. ES File Explorer will find folders as well as files, so whatever you're using probably will too. Initially I'd search for "Bluetooth". Or download ES File Explorer, it's free. BTW, I love that app, I use it all the time. In fact, it will connect to your LAN via wifi and move files to your computer for you. It's only partially functional on OS X since Apple changed SMB networking -- it can only see the public dropbox now, but it used to see everything. :( -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Fri Jun 7 17:16:13 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 7 Jun 2013 21:16:13 +0000 (UTC) Subject: LiveCode and Linux References: Message-ID: Joe Klemmer writes: > Ah, ok. I just joined today. Joe: btw... I find the easiest way to traverse the list archives is but nabble does a good job as well. -- Mark Wieder mwieder at ahsoftware.net From dsc at swcp.com Fri Jun 7 18:05:22 2013 From: dsc at swcp.com (Dar Scott) Date: Fri, 7 Jun 2013 16:05:22 -0600 Subject: randomly order a list In-Reply-To: References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <44DB3748-3519-4BD6-BD81-D65D9C6F6249@swcp.com> <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> <519E7F6D.3040507@tweedly.net> <08A24B77-8594-41D8-92BD-14CAC003D96B@swcp.com> <51AE778F.4070601@tweedly.net> <51AFB83F.70102@tweedly.net> <4E5FD2E1-1545-4A59-BDEC-DD9267D7BAA1@swcp.com> Message-ID: <0F8BE292-CFF5-41DF-BE05-481267C03C56@swcp.com> For we mere mortals, I suspect that the social and physical aspects of security dominate and the infinitesimal increase in application speed from using the faster functions might in some mysterious way do more for our security than a better hash. But, also, being one of the mere mortals, I can't really say anything on the subject. So, I lean toward what the experts recommend, but md5 and sha1 are good hashes and they are readily available. They are usually not the weakest link in our security. Given that, if sha256 is needed, there are several approaches to getting it done in LiveCode. Dar On Jun 7, 2013, at 10:13 AM, Geoff Canyon wrote: > I did some reading and it sounds like md5 and sha1 should both be > deprecated in favor of sha256. > > > On Fri, Jun 7, 2013 at 10:57 AM, Dar Scott wrote: > >> Right. There is a little bit of overhead for padding for both md5 and >> sha1 (they use the same padding method), as a string a multiple of 64-bytes >> is created. Then each resulting 64-byte block is processed; this is >> linear. The methods are very similar, an important difference being the >> number of 32-bit chaining variables; md5 has four and sha1 has five. (The >> final values are the hash.) That is a factor in making the sha1 basic >> operation take longer, and thus the whole process take longer. (We could >> look it up and count all the XOR, SHIFT, OR and AND operations, but you can >> imagine there would be more in scrambling five things instead of >> four--well, scrambled along with a portion of the block.) >> >> I empathize your arrrgh. >> >> Dar >> >> >> >> On Jun 7, 2013, at 9:18 AM, Geoff Canyon wrote: >> >>> On Wed, Jun 5, 2013 at 5:14 PM, Alex Tweedly wrote: >>> >>>> Your code has a minor bug :-) >>>> >>>> You "get MD5Digest(S[1]) " >>>> instead of using S[i] >>>> >>> >>> >>> Arrrrrrrrgh!!! ;-) >>> >>> Interestingly, md5 appears to scale roughly linearly on the length of the >>> strings. 100x as long string means about 15x as long to md5, while 1000x >> as >>> long string means about 120x as long to md5. sha1 is longer but scales >>> similarly. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Fri Jun 7 18:07:01 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 7 Jun 2013 15:07:01 -0700 Subject: adapting height of datagrid when entering data Message-ID: People will be putting various things to the datagrid that I'm using; the number of lines will vary. I would like the resulting grid to increase and adapt to longer entries. I've modified the stack of the returnInField handler to insert the return. What I would like to do, though, is change the height of my row to match when this happens (and to reduce it if something else goes in, and set it on initial load/display). "the target", though, is not the field holding the data. It seems to me it should be put the height of (the formatted text of the target) into newHeight if newHeight>old height then set the height of the target to the height of (the formatted text of the target) repeat (across the fields for that row) set the height of theField to newHeight end repeat end if Is there a sane way to do this? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From pete at lcsql.com Fri Jun 7 18:08:21 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 7 Jun 2013 15:08:21 -0700 Subject: When is a color not a color Message-ID: Having an issue with using "is a color" put "20,40,100,200" into tVar put tVar is a color ...returns true. I thought that color references were either three numbers, a hex value, or a color name. If there is a valid color reference consisting of 4 numbers, it seems there's a conflict between that an "is a rect". Pete lcSQL Software From igor at semperuna.com Fri Jun 7 18:18:21 2013 From: igor at semperuna.com (Igor de Oliveira Couto) Date: Sat, 8 Jun 2013 08:18:21 +1000 Subject: Where to write application data In-Reply-To: References: <315D23B1-91BD-4001-8751-6B5AD9CC63C2@semperuna.com> Message-ID: <78FEBEA5-53C8-4D0A-A41A-F8ABF6F0C921@semperuna.com> Hello, Peter, Sent from my iPad On 08/06/2013, at 2:31 AM, Peter Haworth wrote: > On Fri, Jun 7, 2013 at 2:17 AM, Igor de Oliveira Couto > wrote: > >> 1) MacOS X Prefs Location: >> specialFolderPath("Home") & "/Library/Application >> Support/MyCompany/MyAppBundleID/" - - Apple requires you to use the >> application's bundle id for the *folder name* > > Hi Igor, > Never submitted anything to the App Store but I thought that the folder > inside "MyCompany" could be your application name. Do I have that wrong? Like you, I've never submitted anything to the App Store either, but the information was given to me by other users who have. I remember also being pointed to an article in the Apple KnowledgeBase. I cannot find the article now, but perhaps someone can point you to it. Perhaps if you just use the app name it will still work, like with many things Apple, but apparently it is not the way Apple wants you to do it. If anyone has different information, please do let us know, and I'll update my little list! :) Kind regards to all, -- Igor Couto Sydney, Australia From igor at semperuna.com Fri Jun 7 18:22:04 2013 From: igor at semperuna.com (Igor de Oliveira Couto) Date: Sat, 8 Jun 2013 08:22:04 +1000 Subject: [OT] What's happening here in Turkey... In-Reply-To: <51B20E47.5030807@gmail.com> References: <7C753195056842ABB6D3833480768459@gmail.com> <11D1DD0756094E67967289F5A05541F6@gmail.com> <51B11DAB.1030808@hyperactivesw.com> <42EA89408B8C4F6E9E70A58E370AB1D8@gmail.com> <51B20E47.5030807@gmail.com> Message-ID: <02FB7329-A8A4-4020-8843-B3EC62B3FC9E@semperuna.com> Hello Richmond! Sent from my iPad On 08/06/2013, at 2:45 AM, Richmond wrote: > 4. In practise I am not an anarchist because my experience suggests that humans are not up to the standard > of managing to function properly in a state of true anarchy, and I am worried that in that sort of situation > criminal elements would seize control. You may be interested in reading about Anarcho-Syndicalism: http://en.wikipedia.org/wiki/Anarcho-syndicalism Kindest regards to all, -- Igor Couto Sydney, Australia From igor at semperuna.com Fri Jun 7 18:25:27 2013 From: igor at semperuna.com (Igor de Oliveira Couto) Date: Sat, 8 Jun 2013 08:25:27 +1000 Subject: I'm a Happy Kickstart Camper . . . In-Reply-To: <51B210A0.9070502@gmail.com> References: <51B210A0.9070502@gmail.com> Message-ID: <405CBBD4-DD6E-4AE0-BD99-7A863F2C639F@semperuna.com> Sent from my iPad On 08/06/2013, at 2:56 AM, Richmond wrote: > I am planning to write up my classes and pop them somewhere convenient on the internet for anybody who wants > to take a keek. That is mighty generous of you, and will certainly be useful to many! Thank you, in advance! :) -- Igor Couto Sydney, Australia From niconiko at gmail.com Fri Jun 7 19:15:39 2013 From: niconiko at gmail.com (Nicolas Cueto) Date: Sat, 8 Jun 2013 08:15:39 +0900 Subject: OT: Android file locations In-Reply-To: <51B232A0.7050006@hyperactivesw.com> References: <51B2253A.3000803@hyperactivesw.com> <51B232A0.7050006@hyperactivesw.com> Message-ID: Speaking of ES File Explorer (indispensable app, I agree), Jacqueline, in a kind reply a while back to a post of mine on a topic similar to this, wrote about "sandwiching". And after I had read what she wrote, the first thing I thought of was ES File Explorer. So, I'll intrude into this thread to rephrase my original question about file navigation. Since ES File Explorer enables an Android user to navigate to any file located in any directory, can LC do that too? If not now, could it in future? for example, if someone built an external? -- Nicolas Cueto On Sat, Jun 8, 2013 at 4:21 AM, J. Landman Gay wrote: > On 6/7/13 1:48 PM, Mark Wieder wrote: > >> J. Landman Gay writes: >> >> Most Android file managers will let you do a file search. My first >>> reaction is that the Bluetooth directory should be on the main level (on >>> a non-rooted device) of the SD card, but you probably already looked >>> there. I haven't used bluetooth on my device yet or I'd try it. >>> >> >> Thanks. It's an HP Touchpad, so there's no external sd card. The files are >> buried somewhere. I'd do a file search if I had an idea what to look for. >> >> > My Samsung doesn't have an SD card either, but it refers to its storage > area as the "SD Card". The main directories are all in there. > > ES File Explorer will find folders as well as files, so whatever you're > using probably will too. Initially I'd search for "Bluetooth". Or download > ES File Explorer, it's free. > > BTW, I love that app, I use it all the time. In fact, it will connect to > your LAN via wifi and move files to your computer for you. It's only > partially functional on OS X since Apple changed SMB networking -- it can > only see the public dropbox now, but it used to see everything. :( > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From bornstein at designeq.com Fri Jun 7 19:21:41 2013 From: bornstein at designeq.com (Howard Bornstein) Date: Fri, 7 Jun 2013 16:21:41 -0700 Subject: Getting Kanji from a .csv file In-Reply-To: References: <51B00532.6040000@pdslabs.net> Message-ID: > I don't know what characters the field might throw away. So, putting the > file into the field and then modifying the field seems scary to me. Maybe > all the data is there, but maybe not. > The actual command I used was (extraneous "the" in my first example) I had no problems with this. In fact, it processed a file with about 300,000 lines in just a few seconds. And then save the field much like this: > > put uniDecode( the unicodeText of field "Processed File", "UTF8" ) into > URL ("file:"&kFile2) > I tried some variations of this but was not able to save the file from within LC and still have the Kanji viewable in TextEdit. I guess you didn't read the part about teaching to the imbecile because the rest of your explanation was way over my head. But thanks for trying. I would still like to find a way to do this from within LC. -- Regards, Howard Bornstein ----------------------- www.designeq.com From chipp at chipp.com Fri Jun 7 20:41:39 2013 From: chipp at chipp.com (Chipp Walters) Date: Fri, 7 Jun 2013 17:41:39 -0700 Subject: Successful recipe for LC iPhone apps... In-Reply-To: References: <0834743A-6CF2-4CCC-9812-1FCDE5D6F668@paulmaguire.me> <1A9F810C-E55E-4599-A9FC-75AF646A0C19@paulmaguire.me> Message-ID: I guess I would start with a water cannon, or just smoke bombs? btw, there have been some mods made lately to altMobileResizer. Just press the update button. Jerry Daniels and I are using it to build some Android/iOS tablet/smartphone apps for our company. On Thu, Jun 6, 2013 at 8:04 AM, Thomas McGrath III wrote: > Yeah, but that would be great plugin for Chip to build for crowd control? > > From capellan2000 at gmail.com Fri Jun 7 21:22:08 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 7 Jun 2013 18:22:08 -0700 (PDT) Subject: scrolling stack I made In-Reply-To: <1370617302340-4666093.post@n4.nabble.com> References: <6A58AF63-AA57-41CA-B65F-1F1775D54CA6@verizon.net> <519E6166.9090007@hyperactivesw.com> <1370571520992-4666071.post@n4.nabble.com> <6FD730DB-B832-4EE0-A9BF-6162786448C9@verizon.net> <1370577219135-4666074.post@n4.nabble.com> <1370617302340-4666093.post@n4.nabble.com> Message-ID: <1370654528025-4666131.post@n4.nabble.com> I downloaded your APK installer in a Samsung S3 Galaxy (Android 4.1.1) http://www.amazon.com/Samsung-Galaxy-Unlocked-Smart-Marble/dp/B0080DJ6CM When I tried to install it, just get the same error as in the Polaroid tablet. (Application NOT installed) Alejandro -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/scrolling-stack-I-made-tp4665050p4666131.html Sent from the Revolution - User mailing list archive at Nabble.com. From roger.e.eller at sealedair.com Fri Jun 7 21:43:45 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 7 Jun 2013 21:43:45 -0400 Subject: scrolling stack I made In-Reply-To: <1370654528025-4666131.post@n4.nabble.com> References: <6A58AF63-AA57-41CA-B65F-1F1775D54CA6@verizon.net> <519E6166.9090007@hyperactivesw.com> <1370571520992-4666071.post@n4.nabble.com> <6FD730DB-B832-4EE0-A9BF-6162786448C9@verizon.net> <1370577219135-4666074.post@n4.nabble.com> <1370617302340-4666093.post@n4.nabble.com> <1370654528025-4666131.post@n4.nabble.com> Message-ID: I also get that error on my 4.1.1 tablet. Sent from my Pipo M2 On Jun 7, 2013 9:23 PM, "Alejandro Tejada" wrote: > I downloaded your APK installer in a Samsung S3 Galaxy (Android 4.1.1) > http://www.amazon.com/Samsung-Galaxy-Unlocked-Smart-Marble/dp/B0080DJ6CM > > When I tried to install it, just get the same error as in the Polaroid > tablet. > (Application NOT installed) > > Alejandro > > > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/scrolling-stack-I-made-tp4665050p4666131.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Fri Jun 7 21:46:54 2013 From: dsc at swcp.com (Dar Scott) Date: Fri, 7 Jun 2013 19:46:54 -0600 Subject: Getting Kanji from a .csv file In-Reply-To: References: <51B00532.6040000@pdslabs.net> Message-ID: <2C0AE285-D36B-4D84-98EF-4CAFE8E86CB9@swcp.com> Oh, TextEdit cheats. Did this come from TextEdit? It puts some info in the resource fork. That is lost when you write back out. I'll ponder this. Or maybe some OS X resource experts might know. Dar On Jun 7, 2013, at 5:21 PM, Howard Bornstein wrote: >> I don't know what characters the field might throw away. So, putting the >> file into the field and then modifying the field seems scary to me. Maybe >> all the data is there, but maybe not. >> > > The actual command I used was to uniencode(fld "ProcessedFile, "UTF8")> (extraneous "the" in my first > example) > > I had no problems with this. In fact, it processed a file with about > 300,000 lines in just a few seconds. > > And then save the field much like this: >> >> put uniDecode( the unicodeText of field "Processed File", "UTF8" ) into >> URL ("file:"&kFile2) >> > > I tried some variations of this but was not able to save the file from > within LC and still have the Kanji viewable in TextEdit. I guess you didn't > read the part about teaching to the imbecile because the rest of your > explanation was way over my head. > > But thanks for trying. > > I would still like to find a way to do this from within LC. > > -- > Regards, > > Howard Bornstein > ----------------------- > www.designeq.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From endernafi at gmail.com Fri Jun 7 22:04:35 2013 From: endernafi at gmail.com (=?utf-8?Q?Ender_Nafi_Elek=C3=A7io=C4=9Flu?=) Date: Sat, 8 Jun 2013 05:04:35 +0300 Subject: [OT] What's happening here in Turkey... In-Reply-To: <02FB7329-A8A4-4020-8843-B3EC62B3FC9E@semperuna.com> References: <7C753195056842ABB6D3833480768459@gmail.com> <11D1DD0756094E67967289F5A05541F6@gmail.com> <51B11DAB.1030808@hyperactivesw.com> <42EA89408B8C4F6E9E70A58E370AB1D8@gmail.com> <51B20E47.5030807@gmail.com> <02FB7329-A8A4-4020-8843-B3EC62B3FC9E@semperuna.com> Message-ID: <1189B6B4FDCE4648BA20A2A19C484C6E@gmail.com> Hello all, First, I can't tell how much glad I am to see your support. Thanks for on-list and many, many off-list replies and good wishes. I'd like to give you an update about the situation. "I do wonder what happened last night when the PM arrived back in the country?" - Alan We were wondering that too, but he didn't surprise us. He repeated the same statements before the trip, during the trip and after the trip {a trip to Morocco & Tunisia}. He insists not to calm things down. Stubborn and arrogant, drunken with power. He says : *We won't get permission from a couple of fascist looters to make the mall.* Yeah baby, we're the fascists, sure :)) {if you see words in blogs as "chapul, chapulling, tschapul, chapullier" that's the turkish word for *looter*} And ok, don't get permission from us. But, there's a court order, I mean, COURT ORDER AGAINST THE CONSTRUCTION. I still can't comprehend how he can ignore this. We just can't understand his mind. It's a dangerous road, dangerous indeed. Abdullah Gul, the president of the republic, and the other high-ranked party members made calming statements when Erdogan was in trip. But he came against them too and got angry for their statements. They're trying to calm down the nation and Erdogan is still stubborn. He's like a bully from 6th grade, nothing more! Childish sentences, anger and hatred. His followers are alike. He said that Monday 10th July, police will enter into Taksim to get us out. Well, we're waiting, come to papa :) It's like a giant vaudeville, like a Chaplin movie. With kindest regards from Turkey. ~ Ender Nafi ~? together, we're smarter & stronger ?~ From rdimola at evergreeninfo.net Fri Jun 7 21:57:08 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 7 Jun 2013 21:57:08 -0400 Subject: When is a color not a color In-Reply-To: References: Message-ID: <7f4ca567-d281-4990-b3b7-3fcbb91ea0d4@blur> Pete, Isn't the 4th number the alpha channel? Ralph DiMola MIS Director Evergreen Information Services rdimola at evergreeninfo.net -----Original message----- From: Peter Haworth To: How to use LiveCode Sent: Fri, Jun 7, 2013 22:08:21 GMT+00:00 Subject: When is a color not a color Having an issue with using "is a color" put "20,40,100,200" into tVar put tVar is a color ...returns true. I thought that color references were either three numbers, a hex value, or a color name. If there is a valid color reference consisting of 4 numbers, it seems there's a conflict between that an "is a rect". Pete lcSQL Software _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From endernafi at gmail.com Fri Jun 7 22:05:19 2013 From: endernafi at gmail.com (=?utf-8?Q?Ender_Nafi_Elek=C3=A7io=C4=9Flu?=) Date: Sat, 8 Jun 2013 05:05:19 +0300 Subject: [OT] What's happening here in Turkey... In-Reply-To: <1189B6B4FDCE4648BA20A2A19C484C6E@gmail.com> References: <7C753195056842ABB6D3833480768459@gmail.com> <11D1DD0756094E67967289F5A05541F6@gmail.com> <51B11DAB.1030808@hyperactivesw.com> <42EA89408B8C4F6E9E70A58E370AB1D8@gmail.com> <51B20E47.5030807@gmail.com> <02FB7329-A8A4-4020-8843-B3EC62B3FC9E@semperuna.com> <1189B6B4FDCE4648BA20A2A19C484C6E@gmail.com> Message-ID: <2ED968FDE7294571BD2CF374C37C852A@gmail.com> Hello again, "While the initial protest may have been about some trees this seems to have got beyond that." - Richmond Did you see the Firefly movie 'Serenity' ? In the opening scene, a student asks the teacher: "Why the independents didn't like us, why didn't they want to get more civilized?" Then child River Tam whispers: "We meddle!" Erdogan meddles! He decides how much children we should get, he decides when and where we eat or drink, he decides whether we should go to war, he decides our home decorations, he decides what we should read, etc. People don't like meddled with. For long years, religious people suffered in Turkey. They couldn't get dressed {turban, etc.} like they want, they couldn't pray in public places, they couldn't get jobs in government offices, military, etc., they couldn't read Quran freely. We fought for them, for their independence. But now, they have the power and doing the same thing they suffered. It's a sad scenario repeating itself. However, we're grateful for one thing to Erdogan. He brought all that distinct and hating-each-other fractions of our society together. In Gezi Park muslims and atheists are together, sunnis and alevis, turks and kurds, gays and straights, rightists and leftists, ? Then he poured this most apolitic {non-political?} generation of the history to the streets. Way to go Mr. Erdogan, job well done :) From a street writing: "A tree died, a nation awakened!" Here is a short documentary regarding the last 10 days {8min.}: http://www.youtube.com/watch?v=eIdREXpZBz4 What will happen, how will this end? I don't know. But I know one thing, I won't allow that trees to be cut off; no, sir! Be well my friends, With kindest regards from Turkey. ~ Ender Nafi ~? together, we're smarter & stronger ?~ From dsc at swcp.com Fri Jun 7 22:24:09 2013 From: dsc at swcp.com (Dar Scott) Date: Fri, 7 Jun 2013 20:24:09 -0600 Subject: Getting Kanji from a .csv file In-Reply-To: <2C0AE285-D36B-4D84-98EF-4CAFE8E86CB9@swcp.com> References: <51B00532.6040000@pdslabs.net> <2C0AE285-D36B-4D84-98EF-4CAFE8E86CB9@swcp.com> Message-ID: <4BD61297-3D9D-4AD8-959F-B11CECD8B4AF@swcp.com> OK, using the Unicode byte order mark as a signature does work for TextEdit. The "byte order mark" is a non displaying Unicode character. The code is U+FEFF. That is, it is FEFF in base 16, which we write as the numeral 0xFEFF in LiveCode. It is just a big character. It can be used as a pattern, a signature, to indicate what form and encoding scheme the Unicode is in in the file. It can even be used to recognize UTF8 in contrast with other encodings. It is sufficient for TextEdit to decide the file is UTF8. (TextEdit is not that smart and relies on cheats it puts into resources, so the signature is important.) You can put it in front of your unicode data before you put it into the field or after. It is preserved by the field (my worries were for naught). Just make sure you have it at the front of the file before you save. Here is how to put it in front of your unicode text: set the useUnicode to true -- make numToChar use 16-bit chunks not bytes put numToChar( 0xFEFF ) before myUnicodeText That's it! After you convert myUnicodeText (so named in my example) to UTF8 and save it, your file will be 3 bytes bigger than the original (that character is expanded to 3 bytes in UTF8). The file can grow if you keep editing the same file, so once you have the above working, work on only adding it if it is not already there. I know this is a lot to take in and I apologize for not being able to explain things simply. Just ask and I will try. Or somebody who can figure out what I'm saying might be able to explain it better. Dar On Jun 7, 2013, at 7:46 PM, Dar Scott wrote: > Oh, TextEdit cheats. Did this come from TextEdit? It puts some info in the resource fork. That is lost when you write back out. > > I'll ponder this. Or maybe some OS X resource experts might know. > > Dar > > On Jun 7, 2013, at 5:21 PM, Howard Bornstein wrote: > >>> I don't know what characters the field might throw away. So, putting the >>> file into the field and then modifying the field seems scary to me. Maybe >>> all the data is there, but maybe not. >>> >> >> The actual command I used was > to uniencode(fld "ProcessedFile, "UTF8")> (extraneous "the" in my first >> example) >> >> I had no problems with this. In fact, it processed a file with about >> 300,000 lines in just a few seconds. >> >> And then save the field much like this: >>> >>> put uniDecode( the unicodeText of field "Processed File", "UTF8" ) into >>> URL ("file:"&kFile2) >>> >> >> I tried some variations of this but was not able to save the file from >> within LC and still have the Kanji viewable in TextEdit. I guess you didn't >> read the part about teaching to the imbecile because the rest of your >> explanation was way over my head. >> >> But thanks for trying. >> >> I would still like to find a way to do this from within LC. >> >> -- >> Regards, >> >> Howard Bornstein >> ----------------------- >> www.designeq.com >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andrew at ctech.me Fri Jun 7 22:38:44 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Fri, 7 Jun 2013 21:38:44 -0500 Subject: [OT] What's happening here in Turkey... In-Reply-To: <02FB7329-A8A4-4020-8843-B3EC62B3FC9E@semperuna.com> References: <7C753195056842ABB6D3833480768459@gmail.com> <11D1DD0756094E67967289F5A05541F6@gmail.com> <51B11DAB.1030808@hyperactivesw.com> <42EA89408B8C4F6E9E70A58E370AB1D8@gmail.com> <51B20E47.5030807@gmail.com> <02FB7329-A8A4-4020-8843-B3EC62B3FC9E@semperuna.com> Message-ID: The various streams of thought in anarchy being talked about here is really much more than I could have hoped for. An-cap, an-syn, whatever your cup of tea is it's good to see there is some expression of anti-statist desires in place I would often expect to be the last place to see such talk. It is sometimes easy to get stuck in such a marginalized ideological ghetto (at least in north america) and begin to feel like a bit of a wingnut for wanting something more than what is currently offered. Cheers. On Fri, Jun 7, 2013 at 5:22 PM, Igor de Oliveira Couto wrote: > Hello Richmond! > > Sent from my iPad > > On 08/06/2013, at 2:45 AM, Richmond wrote: > > > 4. In practise I am not an anarchist because my experience suggests that > humans are not up to the standard > > of managing to function properly in a state of true anarchy, and I am > worried that in that sort of situation > > criminal elements would seize control. > > You may be interested in reading about Anarcho-Syndicalism: > > http://en.wikipedia.org/wiki/Anarcho-syndicalism > > Kindest regards to all, > > -- > Igor Couto > Sydney, Australia > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From rdimola at evergreeninfo.net Fri Jun 7 23:56:07 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 7 Jun 2013 23:56:07 -0400 Subject: LC 6.0.2 Activation Problem In-Reply-To: References: <2E6BDABF-7F27-402E-A56B-BB9C40C4581B@swcp.com> <51B1EBA0.6080307@fourthworld.com> <010001ce638b$c587ac10$50970430$@net> Message-ID: <012c01ce63fc$1b5affa0$5210fee0$@net> Opened Up Ticket#2013060710001478 Heather is on it. I also found out from the list rather than the usual email from Ben. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Dr. Hawkins Sent: Friday, June 07, 2013 3:06 PM To: How to use LiveCode Subject: Re: LC 6.0.2 Activation Problem On Fri, Jun 7, 2013 at 7:32 AM, Ralph DiMola wrote: > > Anyone having a problem licensing 6.0.2 commercial? Tried both on-line > and off-line....no go. I just hit this. It would have been nice if either the updater or rev had even notified me that it was out; I found out on this list. And it tells me that my current account "does not allow you to run LiveCode Commercial" grr. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Sat Jun 8 00:03:32 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sat, 8 Jun 2013 00:03:32 -0400 Subject: scrolling stack I made In-Reply-To: References: <6A58AF63-AA57-41CA-B65F-1F1775D54CA6@verizon.net> <519E6166.9090007@hyperactivesw.com> <1370571520992-4666071.post@n4.nabble.com> <6FD730DB-B832-4EE0-A9BF-6162786448C9@verizon.net> <1370577219135-4666074.post@n4.nabble.com> <1370617302340-4666093.post@n4.nabble.com> <1370654528025-4666131.post@n4.nabble.com> Message-ID: <012d01ce63fd$24b090f0$6e11b2d0$@net> Roger or anyone, Could you install mine from the PlayStore and see if you have a problem with 4.1.1? Search "JBT" or "Sectionals". The app is for the Jewelers Board of Trade. You won't get past the login screen but that should be enough to see if it works. I'm thinking of upgrading from my Droid X to a Galaxy S3 or S4 and keep the 2.2 Droid X for backwards compatibility testing. Thanks in advance!!!!! Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Roger Eller Sent: Friday, June 07, 2013 9:44 PM To: How to use LiveCode Subject: Re: scrolling stack I made I also get that error on my 4.1.1 tablet. Sent from my Pipo M2 On Jun 7, 2013 9:23 PM, "Alejandro Tejada" wrote: > I downloaded your APK installer in a Samsung S3 Galaxy (Android 4.1.1) > http://www.amazon.com/Samsung-Galaxy-Unlocked-Smart-Marble/dp/B0080DJ6 > CM > > When I tried to install it, just get the same error as in the Polaroid > tablet. > (Application NOT installed) > > Alejandro > > > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/scrolling-stack-I-made- > tp4665050p4666131.html Sent from the Revolution - User mailing list > archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From simon at asato-media.com Sat Jun 8 00:36:54 2013 From: simon at asato-media.com (As_Simon) Date: Fri, 7 Jun 2013 21:36:54 -0700 (PDT) Subject: [OT] What's happening here in Turkey... In-Reply-To: <2ED968FDE7294571BD2CF374C37C852A@gmail.com> References: <7C753195056842ABB6D3833480768459@gmail.com> <11D1DD0756094E67967289F5A05541F6@gmail.com> <51B11DAB.1030808@hyperactivesw.com> <42EA89408B8C4F6E9E70A58E370AB1D8@gmail.com> <51B20E47.5030807@gmail.com> <02FB7329-A8A4-4020-8843-B3EC62B3FC9E@semperuna.com> <1189B6B4FDCE4648BA20A2A19C484C6E@gmail.com> <2ED968FDE7294571BD2CF374C37C852A@gmail.com> Message-ID: <1370666214112-4666141.post@n4.nabble.com> Hi Ender, Keep safe, keep hydrating. I admit I don't understand, the media (all) does not convey the ideal. What tree would fight to save? I have no comparison. Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-What-s-happening-here-in-Turkey-tp4666044p4666141.html Sent from the Revolution - User mailing list archive at Nabble.com. From bornstein at designeq.com Sat Jun 8 01:14:20 2013 From: bornstein at designeq.com (Howard Bornstein) Date: Fri, 7 Jun 2013 22:14:20 -0700 Subject: Getting Kanji from a .csv file In-Reply-To: <4BD61297-3D9D-4AD8-959F-B11CECD8B4AF@swcp.com> References: <51B00532.6040000@pdslabs.net> <2C0AE285-D36B-4D84-98EF-4CAFE8E86CB9@swcp.com> <4BD61297-3D9D-4AD8-959F-B11CECD8B4AF@swcp.com> Message-ID: Hmmm, I tried what you suggested but it didn't seem to work. Here's my code with your snippet inserted: *put* uniEncode (the unicodeText of field "ConvertedText", "UTF8") into thetext *set* the useUnicode to true *-- make numToChar use 16-bit chunks not bytes* *put* numToChar( 0xFEFF ) before thetext *put* thetext into URL ("file:Messages.txt") I noticed that at one point you suggested if I change the first line of my code to use uniDecode: *put* uniDecode (the unicodeText of field "ConvertedText", "UTF8") into thetext then the entire document shows up as Kanji and lots of garbage characters. It should contain only English and Kanji. On Fri, Jun 7, 2013 at 7:24 PM, Dar Scott wrote: > OK, using the Unicode byte order mark as a signature does work for > TextEdit. > > The "byte order mark" is a non displaying Unicode character. The code is > U+FEFF. That is, it is FEFF in base 16, which we write as the numeral > 0xFEFF in LiveCode. It is just a big character. It can be used as a > pattern, a signature, to indicate what form and encoding scheme the Unicode > is in in the file. It can even be used to recognize UTF8 in contrast with > other encodings. > > It is sufficient for TextEdit to decide the file is UTF8. (TextEdit is > not that smart and relies on cheats it puts into resources, so the > signature is important.) > > You can put it in front of your unicode data before you put it into the > field or after. It is preserved by the field (my worries were for naught). > > Just make sure you have it at the front of the file before you save. > > Here is how to put it in front of your unicode text: > > set the useUnicode to true -- make numToChar use 16-bit chunks not bytes > put numToChar( 0xFEFF ) before myUnicodeText > > That's it! > > After you convert myUnicodeText (so named in my example) to UTF8 and save > it, your file will be 3 bytes bigger than the original (that character is > expanded to 3 bytes in UTF8). The file can grow if you keep editing the > same file, so once you have the above working, work on only adding it if it > is not already there. > > I know this is a lot to take in and I apologize for not being able to > explain things simply. Just ask and I will try. Or somebody who can > figure out what I'm saying might be able to explain it better. > > Dar > > > > On Jun 7, 2013, at 7:46 PM, Dar Scott wrote: > > > Oh, TextEdit cheats. Did this come from TextEdit? It puts some info in > the resource fork. That is lost when you write back out. > > > > I'll ponder this. Or maybe some OS X resource experts might know. > > > > Dar > > > > On Jun 7, 2013, at 5:21 PM, Howard Bornstein wrote: > > > >>> I don't know what characters the field might throw away. So, putting > the > >>> file into the field and then modifying the field seems scary to me. > Maybe > >>> all the data is there, but maybe not. > >>> > >> > >> The actual command I used was "ProcessedFile" > >> to uniencode(fld "ProcessedFile, "UTF8")> (extraneous "the" in my first > >> example) > >> > >> I had no problems with this. In fact, it processed a file with about > >> 300,000 lines in just a few seconds. > >> > >> And then save the field much like this: > >>> > >>> put uniDecode( the unicodeText of field "Processed File", "UTF8" ) into > >>> URL ("file:"&kFile2) > >>> > >> > >> I tried some variations of this but was not able to save the file from > >> within LC and still have the Kanji viewable in TextEdit. I guess you > didn't > >> read the part about teaching to the imbecile because the rest of your > >> explanation was way over my head. > >> > >> But thanks for trying. > >> > >> I would still like to find a way to do this from within LC. > >> > >> -- > >> Regards, > >> > >> Howard Bornstein > >> ----------------------- > >> www.designeq.com > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Howard Bornstein ----------------------- www.designeq.com From bornstein at designeq.com Sat Jun 8 01:17:05 2013 From: bornstein at designeq.com (Howard Bornstein) Date: Fri, 7 Jun 2013 22:17:05 -0700 Subject: Getting Kanji from a .csv file In-Reply-To: References: <51B00532.6040000@pdslabs.net> <2C0AE285-D36B-4D84-98EF-4CAFE8E86CB9@swcp.com> <4BD61297-3D9D-4AD8-959F-B11CECD8B4AF@swcp.com> Message-ID: Sorry, Gmail sent my message before I was ready. Since I don't really know what I'm doing, I'm just mucking about. But that did change things a bit, so it seems like we're close to the solution. I just don't know how to arrange the pieces yet. Thanks for your suggestions so far. -- Regards, Howard Bornstein ----------------------- www.designeq.com From endernafi at gmail.com Sat Jun 8 01:33:56 2013 From: endernafi at gmail.com (=?utf-8?Q?Ender_Nafi_Elek=C3=A7io=C4=9Flu?=) Date: Sat, 8 Jun 2013 08:33:56 +0300 Subject: [OT] What's happening here in Turkey... In-Reply-To: <1370666214112-4666141.post@n4.nabble.com> References: <7C753195056842ABB6D3833480768459@gmail.com> <11D1DD0756094E67967289F5A05541F6@gmail.com> <51B11DAB.1030808@hyperactivesw.com> <42EA89408B8C4F6E9E70A58E370AB1D8@gmail.com> <51B20E47.5030807@gmail.com> <02FB7329-A8A4-4020-8843-B3EC62B3FC9E@semperuna.com> <1189B6B4FDCE4648BA20A2A19C484C6E@gmail.com> <2ED968FDE7294571BD2CF374C37C852A@gmail.com> <1370666214112-4666141.post@n4.nabble.com> Message-ID: <352999C3656246F299F514EC8635F448@gmail.com> Simon, thank you for your advice but the police already hydrates us well, with high-pressure water canons :)) About the media? You know, all newspapers and all tv's belong to some companies, holdings. And that particular companies do business with government. They are wired to government. Thus, they feel obliged to make proponent news. We, protesters, don't need common media. We have twitter, we have facebook, we have mail. I, for one, don't own even a tv! Unfortunately the public still watch tv and buy newspapers. And they - the majority of our society - learn and follow the ongoing situation from these proponent news of common media. My whole family rejected me, yes, it happened. { that was the first days of the protests, now we're good, somewhat :) } They said: "If you're with that communist, anarchist mad dogs who burn cars and plunder shops, then you're not our son!" Because they don't know that we don't burn cars or plunder shops. We built libraries and grow orchards. No, but one, shop is plundered in Taksim. And last night, thanks to an outstanding turkish hacker group - the RedHack -, some documents were revealed which prove undoubtedly that provocateur government agents burnt that cars `_? And about the trees to save? Our fight is for freedom. Freedom of gypsies, armenians, rums {greeks of turkish nationality}, gays, cats, dogs, prostitutes, trees, kurds, caterpillars. We don't want the alevis {an islamic sect, a main division actually; alevi - sunni is like orthodox - catholic} pretend like they're sunnis. They should have the freedom to be themselves. I'm not alevi nor kurdish, btw. My ethnicity belong to the majority of turkey, sunni turkish. That doesn't change anything. Their cause is my cause. I was a soldier until recent years. I spent 16 year of my life in the army, I was a captain when I resigned. I fought at many places, many regions. When I was a young lieutenant, I put 4 of my soldiers to a forest road as guard. I ordered them not to allow any car to pass from that dirt road. I didn't tell the reason but apparently they soon found out and rumor spread. Then every other officers in my battalion mocked with me for months as Caterpillar Guardian. Yes, there was a caterpillar convoy at that road and I didn't want them get smashed by a damn jeep or truck. They had the right to live. Being powerful shouldn't give people the right to smash the weaker whether it's an animal or grass or another ethnicity. Regards, ~ Ender Nafi ~? together, we're smarter & stronger ?~ From endernafi at gmail.com Sat Jun 8 01:33:56 2013 From: endernafi at gmail.com (=?utf-8?Q?Ender_Nafi_Elek=C3=A7io=C4=9Flu?=) Date: Sat, 8 Jun 2013 08:33:56 +0300 Subject: [OT] What's happening here in Turkey... In-Reply-To: <1370666214112-4666141.post@n4.nabble.com> References: <7C753195056842ABB6D3833480768459@gmail.com> <11D1DD0756094E67967289F5A05541F6@gmail.com> <51B11DAB.1030808@hyperactivesw.com> <42EA89408B8C4F6E9E70A58E370AB1D8@gmail.com> <51B20E47.5030807@gmail.com> <02FB7329-A8A4-4020-8843-B3EC62B3FC9E@semperuna.com> <1189B6B4FDCE4648BA20A2A19C484C6E@gmail.com> <2ED968FDE7294571BD2CF374C37C852A@gmail.com> <1370666214112-4666141.post@n4.nabble.com> Message-ID: <352999C3656246F299F514EC8635F448@gmail.com> Simon, thank you for your advice but the police already hydrates us well, with high-pressure water canons :)) About the media? You know, all newspapers and all tv's belong to some companies, holdings. And that particular companies do business with government. They are wired to government. Thus, they feel obliged to make proponent news. We, protesters, don't need common media. We have twitter, we have facebook, we have mail. I, for one, don't own even a tv! Unfortunately the public still watch tv and buy newspapers. And they - the majority of our society - learn and follow the ongoing situation from these proponent news of common media. My whole family rejected me, yes, it happened. { that was the first days of the protests, now we're good, somewhat :) } They said: "If you're with that communist, anarchist mad dogs who burn cars and plunder shops, then you're not our son!" Because they don't know that we don't burn cars or plunder shops. We built libraries and grow orchards. No, but one, shop is plundered in Taksim. And last night, thanks to an outstanding turkish hacker group - the RedHack -, some documents were revealed which prove undoubtedly that provocateur government agents burnt that cars `_? And about the trees to save? Our fight is for freedom. Freedom of gypsies, armenians, rums {greeks of turkish nationality}, gays, cats, dogs, prostitutes, trees, kurds, caterpillars. We don't want the alevis {an islamic sect, a main division actually; alevi - sunni is like orthodox - catholic} pretend like they're sunnis. They should have the freedom to be themselves. I'm not alevi nor kurdish, btw. My ethnicity belong to the majority of turkey, sunni turkish. That doesn't change anything. Their cause is my cause. I was a soldier until recent years. I spent 16 year of my life in the army, I was a captain when I resigned. I fought at many places, many regions. When I was a young lieutenant, I put 4 of my soldiers to a forest road as guard. I ordered them not to allow any car to pass from that dirt road. I didn't tell the reason but apparently they soon found out and rumor spread. Then every other officers in my battalion mocked with me for months as Caterpillar Guardian. Yes, there was a caterpillar convoy at that road and I didn't want them get smashed by a damn jeep or truck. They had the right to live. Being powerful shouldn't give people the right to smash the weaker whether it's an animal or grass or another ethnicity. Regards, ~ Ender Nafi ~? together, we're smarter & stronger ?~ From dsc at swcp.com Sat Jun 8 01:35:05 2013 From: dsc at swcp.com (Dar Scott) Date: Fri, 7 Jun 2013 23:35:05 -0600 Subject: Getting Kanji from a .csv file In-Reply-To: References: <51B00532.6040000@pdslabs.net> <2C0AE285-D36B-4D84-98EF-4CAFE8E86CB9@swcp.com> <4BD61297-3D9D-4AD8-959F-B11CECD8B4AF@swcp.com> Message-ID: put URL ("file:" & inputFile) into originalFile -- UTF-8 put uniEncode(originalFile,"UTF8") into UofO -- UTF-16 set the unicodeText of field "Test" to UofO -- UTF-16 -- -- process the field -- put the unicodeText of field "Test" into UofF -- UTF-16 set the useUnicode to true put numtoChar(0xFEFF) before UofF -- UTF-16 set the useUnicode to false put uniDecode(UofF,"UTF8") into UTF8ofF -- UTF-8 put UTF8ofF into URL ("file:"&outputFile) -- UTF-8 On Jun 7, 2013, at 11:14 PM, Howard Bornstein wrote: > Hmmm, I tried what you suggested but it didn't seem to work. > > Here's my code with your snippet inserted: > > *put* uniEncode (the unicodeText of field "ConvertedText", "UTF8") into > thetext > > *set* the useUnicode to true *-- make numToChar use 16-bit chunks not > bytes* > > *put* numToChar( 0xFEFF ) before thetext > > *put* thetext into URL ("file:Messages.txt") > > I noticed that at one point you suggested of field "Processed File", "UTF8" ) into URL ("file:"&kFile2)> > > > if I change the first line of my code to use uniDecode: > > *put* uniDecode (the unicodeText of field "ConvertedText", "UTF8") into > thetext > > then the entire document shows up as Kanji and lots of garbage characters. > It should contain only English and Kanji. > > > On Fri, Jun 7, 2013 at 7:24 PM, Dar Scott wrote: > >> OK, using the Unicode byte order mark as a signature does work for >> TextEdit. >> >> The "byte order mark" is a non displaying Unicode character. The code is >> U+FEFF. That is, it is FEFF in base 16, which we write as the numeral >> 0xFEFF in LiveCode. It is just a big character. It can be used as a >> pattern, a signature, to indicate what form and encoding scheme the Unicode >> is in in the file. It can even be used to recognize UTF8 in contrast with >> other encodings. >> >> It is sufficient for TextEdit to decide the file is UTF8. (TextEdit is >> not that smart and relies on cheats it puts into resources, so the >> signature is important.) >> >> You can put it in front of your unicode data before you put it into the >> field or after. It is preserved by the field (my worries were for naught). >> >> Just make sure you have it at the front of the file before you save. >> >> Here is how to put it in front of your unicode text: >> >> set the useUnicode to true -- make numToChar use 16-bit chunks not bytes >> put numToChar( 0xFEFF ) before myUnicodeText >> >> That's it! >> >> After you convert myUnicodeText (so named in my example) to UTF8 and save >> it, your file will be 3 bytes bigger than the original (that character is >> expanded to 3 bytes in UTF8). The file can grow if you keep editing the >> same file, so once you have the above working, work on only adding it if it >> is not already there. >> >> I know this is a lot to take in and I apologize for not being able to >> explain things simply. Just ask and I will try. Or somebody who can >> figure out what I'm saying might be able to explain it better. >> >> Dar >> >> >> >> On Jun 7, 2013, at 7:46 PM, Dar Scott wrote: >> >>> Oh, TextEdit cheats. Did this come from TextEdit? It puts some info in >> the resource fork. That is lost when you write back out. >>> >>> I'll ponder this. Or maybe some OS X resource experts might know. >>> >>> Dar >>> >>> On Jun 7, 2013, at 5:21 PM, Howard Bornstein wrote: >>> >>>>> I don't know what characters the field might throw away. So, putting >> the >>>>> file into the field and then modifying the field seems scary to me. >> Maybe >>>>> all the data is there, but maybe not. >>>>> >>>> >>>> The actual command I used was > "ProcessedFile" >>>> to uniencode(fld "ProcessedFile, "UTF8")> (extraneous "the" in my first >>>> example) >>>> >>>> I had no problems with this. In fact, it processed a file with about >>>> 300,000 lines in just a few seconds. >>>> >>>> And then save the field much like this: >>>>> >>>>> put uniDecode( the unicodeText of field "Processed File", "UTF8" ) into >>>>> URL ("file:"&kFile2) >>>>> >>>> >>>> I tried some variations of this but was not able to save the file from >>>> within LC and still have the Kanji viewable in TextEdit. I guess you >> didn't >>>> read the part about teaching to the imbecile because the rest of your >>>> explanation was way over my head. >>>> >>>> But thanks for trying. >>>> >>>> I would still like to find a way to do this from within LC. >>>> >>>> -- >>>> Regards, >>>> >>>> Howard Bornstein >>>> ----------------------- >>>> www.designeq.com >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at 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 at 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 at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > Regards, > > Howard Bornstein > ----------------------- > www.designeq.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sat Jun 8 01:54:11 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 08 Jun 2013 00:54:11 -0500 Subject: When is a color not a color In-Reply-To: <7f4ca567-d281-4990-b3b7-3fcbb91ea0d4@blur> References: <7f4ca567-d281-4990-b3b7-3fcbb91ea0d4@blur> Message-ID: <51B2C703.8090102@hyperactivesw.com> On 6/7/13 8:57 PM, Ralph DiMola wrote: > Pete, > > Isn't the 4th number the alpha channel? That was my first thought too until the engine told me that "1,2,3,456,78,2013" was also a color. Seems it not only ignores the number ranges, but it only looks to see if there are (at least) 3 items. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bonnmike at gmail.com Sat Jun 8 02:06:43 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 8 Jun 2013 00:06:43 -0600 Subject: When is a color not a color In-Reply-To: <51B2C703.8090102@hyperactivesw.com> References: <7f4ca567-d281-4990-b3b7-3fcbb91ea0d4@blur> <51B2C703.8090102@hyperactivesw.com> Message-ID: A single integer is also true with "1" is a color also. The dictionary says if it sees an integer it returns true to maintain compatibility with supercard. Methinks the matching is still a bit loose. Works fine with hex designation though. put "#ffffff" is a color returns true as expected, and put "#gggggg" returns false also as expected. So, avoid integers and use hex format to bipass the issue. On Fri, Jun 7, 2013 at 11:54 PM, J. Landman Gay wrote: > On 6/7/13 8:57 PM, Ralph DiMola wrote: > >> Pete, >> >> Isn't the 4th number the alpha channel? >> > > That was my first thought too until the engine told me that > "1,2,3,456,78,2013" was also a color. Seems it not only ignores the number > ranges, but it only looks to see if there are (at least) 3 items. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From liste.revo at medard.on-rev.com Sat Jun 8 03:18:19 2013 From: liste.revo at medard.on-rev.com (Medard) Date: Sat, 8 Jun 2013 09:18:19 +0200 Subject: Re-subscribing Test - Please Disregard Message-ID: <1l4530a.5ho578glo2nwM%liste.revo@medard.on-rev.com> Re-subscribing, after being banned for bounces ;-> I forgot to make the changes after the On-Rev server was modified... Note that I wrote a message to to explain the situation, but there was no response -- unless the banning was a response ;-) From richmondmathewson at gmail.com Sat Jun 8 05:07:00 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 08 Jun 2013 12:07:00 +0300 Subject: Re-subscribing Test - Please Disregard In-Reply-To: <1l4530a.5ho578glo2nwM%liste.revo@medard.on-rev.com> References: <1l4530a.5ho578glo2nwM%liste.revo@medard.on-rev.com> Message-ID: <51B2F434.3030809@gmail.com> On 06/08/2013 10:18 AM, Medard wrote: > Re-subscribing, after being banned for bounces ;-> > > I forgot to make the changes after the On-Rev server was modified... > > Note that I wrote a message to to > explain the situation, but there was no response -- unless the banning > was a response ;-) Um - censorship ? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From liste.revo at medard.on-rev.com Sat Jun 8 05:56:05 2013 From: liste.revo at medard.on-rev.com (Medard) Date: Sat, 8 Jun 2013 11:56:05 +0200 Subject: Re-subscribing Test - Please Disregard In-Reply-To: <51B2F434.3030809@gmail.com> Message-ID: <1l45afp.1f130lw5zu51cM%liste.revo@medard.on-rev.com> Richmond wrote: > Um - censorship ? I don't think so ;-) Simply, there is no human at this address... From m.schonewille at economy-x-talk.com Sat Jun 8 06:18:32 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 08 Jun 2013 12:18:32 +0200 Subject: Bought the book but didn't hear from Economy-x-Talk? Message-ID: <51B304F8.1060609@economy-x-talk.com> Hi, If you bought the book "Programming LiveCode for the Real Beginner", but you never got an e-mail from Economy-x-Talk, please contact me! If you try to contact me, but don't get any replies, check your spam box first. If you really didn't get a reply, use a different e-mail address. Avoid Gmail, Hotmail, Yahoo and AOL. If possible, whitelist the Economy-x-Talk.com domain name. If this message wasn't meant for you but you're still reading, you might want to fill out this survey: http://livecodebeginner.economy-x-talk.com/survey/ -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi From dfepstein at comcast.net Sat Jun 8 07:45:49 2013 From: dfepstein at comcast.net (David Epstein) Date: Sat, 8 Jun 2013 07:45:49 -0400 Subject: Polygon's share of its rectangle inconsistent? Message-ID: <56E4634B-AC76-40D1-BA13-77E56478F59D@comcast.net> Thanks to Dar Scott, Craig Newman, and Jim Hurley for thinking about this. I don't know why the coverage function would yield 1.0 (except for a very small graphic; see glitch described below). The Dar Scott amendment to my function--subtracting 1 from the right and bottom of the rect that I survey--is, I learned, equivalent to testing whether "pt is within the rect of grcLID"; in other words the pixels on the bottom and right edge of a graphic's rect are not counted as "within" the graphic's rect. I tested Dar's suggestions about lineSize and borderWidth. Perhaps because I have showBorder set to false borderwidth had no effect. LineSize did affect the results of my "coverage" function, with results that are peculiar but do not solve my original puzzle (that reported "coverage" should not, but does, vary as I scale a shape). I resorted to careful study of a very simple polygon, an isosceles right triangle with its hypotenuse toward the bottom left. This is a case where I would want my "coverage" function to return 0.5, since half of the rectangle is covered by the visible graphic. Rather amazingly, the "within(graphicLID,point)" function returned true not only for the points I expected, but for 5 additional diagonal "lines" of pixels forming a kind of border extending left and down from my visible hypotenuse. This was true both for a 10 x 10 rectangle and for a 50 x 50 rectangle. This makes it easy to see why "coverage" seems to decline as a graphic gets bigger, since these false positive pixels are a much larger share of a small rectangle. But why is "within" returning all these false positives? I tested the "margins" property to no avail. One further source of difficulty: If I define a grapic?s ?points?, LC seems to impose a lower limit of 8 x 8 on its width and height. Thus while a triangle with points 0,0 10,0 10,10 0,0 has 100 pixels within its rect, defining a triangle with points 0,0 5,0 etc. results in an object with 64 -- not the expected 25 -- pixels within its rect. And almost all of those extra pixels also register as "within" the filled graphic itself, so that "coverage" gets close to 1.0. Jim Hurley?s function is very useful, but I was hoping to use ?within ()? so that I could handle graphics that are not singly connected and closed. Is there some way to script a test for those cases? David Epstein From richmondmathewson at gmail.com Sat Jun 8 10:45:05 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 08 Jun 2013 17:45:05 +0300 Subject: [OT] Devawriter Updated Message-ID: <51B34371.4070006@gmail.com> http://www.indiegogo.com/projects/devawriter#share From richmondmathewson at gmail.com Sat Jun 8 10:50:15 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 08 Jun 2013 17:50:15 +0300 Subject: Making a bad impression on MacUpdate Message-ID: <51B344A7.6070406@gmail.com> Really: https://www.macupdate.com/app/mac/36141/livecode 1. The listing should be bang up-to-date. 2. The OSS version should be there as well. Richmond. From roger.e.eller at sealedair.com Sat Jun 8 10:51:40 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 8 Jun 2013 10:51:40 -0400 Subject: scrolling stack I made In-Reply-To: <012d01ce63fd$24b090f0$6e11b2d0$@net> References: <6A58AF63-AA57-41CA-B65F-1F1775D54CA6@verizon.net> <519E6166.9090007@hyperactivesw.com> <1370571520992-4666071.post@n4.nabble.com> <6FD730DB-B832-4EE0-A9BF-6162786448C9@verizon.net> <1370577219135-4666074.post@n4.nabble.com> <1370617302340-4666093.post@n4.nabble.com> <1370654528025-4666131.post@n4.nabble.com> <012d01ce63fd$24b090f0$6e11b2d0$@net> Message-ID: Searching via the play store app did not reveal your app because it knows what devices I have. I did find it however by searching from a browser (not signed in). From there, I touched the icon and it took me to your app in the play store. Immediately, I saw that it says "Your device isn't compatible with this version". >From the screenshots, the app appears to have a phone layout. Did you have to specify anywhere that it can also run on tablets? I believe J. Landman Gay also had this initial problem with Casey's Solitaire, but it runs fine on tablets now. ~Roger Sent from my Pipo M2 On Jun 8, 2013 12:02 AM, "Ralph DiMola" wrote: > Roger or anyone, > > Could you install mine from the PlayStore and see if you have a problem > with > 4.1.1? Search "JBT" or "Sectionals". The app is for the Jewelers Board of > Trade. You won't get past the login screen but that should be enough to see > if it works. I'm thinking of upgrading from my Droid X to a Galaxy S3 or S4 > and keep the 2.2 Droid X for backwards compatibility testing. > > Thanks in advance!!!!! > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf > Of Roger Eller > Sent: Friday, June 07, 2013 9:44 PM > To: How to use LiveCode > Subject: Re: scrolling stack I made > > I also get that error on my 4.1.1 tablet. > > Sent from my Pipo M2 > On Jun 7, 2013 9:23 PM, "Alejandro Tejada" wrote: > > > I downloaded your APK installer in a Samsung S3 Galaxy (Android 4.1.1) > > http://www.amazon.com/Samsung-Galaxy-Unlocked-Smart-Marble/dp/B0080DJ6 > > CM > > > > When I tried to install it, just get the same error as in the Polaroid > > tablet. > > (Application NOT installed) > > > > Alejandro > > > > > > > > > > > > -- > > View this message in context: > > http://runtime-revolution.278305.n4.nabble.com/scrolling-stack-I-made- > > tp4665050p4666131.html Sent from the Revolution - User mailing list > > archive at Nabble.com. > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From palcibiades-first at yahoo.co.uk Sat Jun 8 11:13:59 2013 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sat, 8 Jun 2013 08:13:59 -0700 (PDT) Subject: I'm a Happy Kickstart Camper . . . In-Reply-To: <51B225DC.8070900@hyperactivesw.com> References: <51B210A0.9070502@gmail.com> <51B225DC.8070900@hyperactivesw.com> Message-ID: <1370704439952-4666156.post@n4.nabble.com> Yes, agreed. I wasn't very comfortable with it as a long term thing, but this is a fair enough reason when you have just taken such a momentous step. It would be nice to know what the response has been - any idea of how many new registrations? J. Landman Gay wrote > Kevin said it was to see what the uptake was after the Kickstarter. That > sounded reasonable to me. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/I-m-a-Happy-Kickstart-Camper-tp4666101p4666156.html Sent from the Revolution - User mailing list archive at Nabble.com. From ffgrohmann at gmail.com Sat Jun 8 11:52:46 2013 From: ffgrohmann at gmail.com (Friedrich F. Grohmann) Date: Sat, 8 Jun 2013 23:52:46 +0800 Subject: [OT] What's happening here in Turkey... In-Reply-To: <352999C3656246F299F514EC8635F448@gmail.com> References: <7C753195056842ABB6D3833480768459@gmail.com> <11D1DD0756094E67967289F5A05541F6@gmail.com> <51B11DAB.1030808@hyperactivesw.com> <42EA89408B8C4F6E9E70A58E370AB1D8@gmail.com> <51B20E47.5030807@gmail.com> <02FB7329-A8A4-4020-8843-B3EC62B3FC9E@semperuna.com> <1189B6B4FDCE4648BA20A2A19C484C6E@gmail.com> <2ED968FDE7294571BD2CF374C37C852A@gmail.com> <1370666214112-4666141.post@n4.nabble.com> <352999C3656246F299F514EC8635F448@gmail.com> Message-ID: The caterpillars, what a marvelous story. I absolutely loved it. Profound respect and best wishes for you, your family, and all your friends. May sanity prevail. All the best from the Far East, Fritz On Sat, Jun 8, 2013 at 1:33 PM, Ender Nafi Elek?io?lu wrote: > Simon, thank you for your advice > but the police already hydrates us well, with high-pressure water canons > :)) > > > About the media? > You know, all newspapers and all tv's belong to some companies, holdings. > And that particular companies do business with government. > They are wired to government. > Thus, they feel obliged to make proponent news. > > We, protesters, don't need common media. > We have twitter, we have facebook, we have mail. > I, for one, don't own even a tv! > Unfortunately the public still watch tv and buy newspapers. > And they - the majority of our society - learn and follow > the ongoing situation from these proponent news of common media. > My whole family rejected me, yes, it happened. { that was the first days > of the protests, now we're good, somewhat :) } > They said: "If you're with that communist, anarchist mad dogs who burn > cars and plunder shops, then you're not our son!" > Because they don't know that we don't burn cars or plunder shops. > We built libraries and grow orchards. > No, but one, shop is plundered in Taksim. > And last night, thanks to an outstanding turkish hacker group - the > RedHack -, > some documents were revealed which prove undoubtedly that provocateur > government agents burnt that cars `_? > > > And about the trees to save? > Our fight is for freedom. > Freedom of gypsies, armenians, rums {greeks of turkish nationality}, gays, > cats, dogs, prostitutes, trees, kurds, caterpillars. > We don't want the alevis {an islamic sect, a main division actually; alevi > - sunni is like orthodox - catholic} pretend like they're sunnis. > They should have the freedom to be themselves. > I'm not alevi nor kurdish, btw. > My ethnicity belong to the majority of turkey, sunni turkish. > That doesn't change anything. > Their cause is my cause. > > I was a soldier until recent years. > I spent 16 year of my life in the army, I was a captain when I resigned. > I fought at many places, many regions. > When I was a young lieutenant, I put 4 of my soldiers to a forest road as > guard. > I ordered them not to allow any car to pass from that dirt road. > I didn't tell the reason but apparently they soon found out and rumor > spread. > Then every other officers in my battalion mocked with me for months as > Caterpillar Guardian. > Yes, there was a caterpillar convoy at that road and I didn't want them > get smashed by a damn jeep or truck. > They had the right to live. > > Being powerful shouldn't give people the right to smash the weaker whether > it's an animal or grass or another ethnicity. > > > > Regards, > > ~ Ender Nafi > > ~? together, we're smarter & stronger ?~ > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Sat Jun 8 12:26:52 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 8 Jun 2013 09:26:52 -0700 Subject: When is a color not a color In-Reply-To: <51B2C703.8090102@hyperactivesw.com> References: <7f4ca567-d281-4990-b3b7-3fcbb91ea0d4@blur> <51B2C703.8090102@hyperactivesw.com> Message-ID: Thanks everyone. It seems "is a color" is broken. I did see the dictionary entry about accepting a single integer as a color but this goes beyond that. I think I'll enter a bug report about it. By way of context, I'm trying to identify what type of data is in custom properties as part of a project I'm working on. For that purpose, looks like I will test for all the other "is a" options first, then write my own code to check for a color. In order to do that, I need to be sure I'm aware of all valid color values. As mentioned in my original post, I thought they were either three numbers each between 0-255, a hex value, or a color name, but it sounds like it's possible to have a 4th integer as an alpha channel? IS that correct? Thanks, Pete lcSQL Software On Fri, Jun 7, 2013 at 10:54 PM, J. Landman Gay wrote: > On 6/7/13 8:57 PM, Ralph DiMola wrote: > >> Pete, >> >> Isn't the 4th number the alpha channel? >> > > That was my first thought too until the engine told me that > "1,2,3,456,78,2013" was also a color. Seems it not only ignores the number > ranges, but it only looks to see if there are (at least) 3 items. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From pete at lcsql.com Sat Jun 8 12:52:02 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 8 Jun 2013 09:52:02 -0700 Subject: Developing for multiple desktop platforms Message-ID: My usual development machine is a Mac but I've been using a WIndows 8 box quite a bit recently. I'm really glad I had the opportunity to do that for a number of reasons. First, it's made me a lot more aware of things I need to pay attention to to make sure things look right on Windows. I've come across numerous instances where label fields display at the correct width to show all the their contents on Mac but on WIndows, the text is slightly truncated. Same issue with other controls too although not as widespread. And, I finally understand the purpose of the menuLines property for option menus. Doesn't seem to do anything on OSX but sure does on WIndows. Plus I'm now seeing other things in option menus I didn't realize, like you can't disable menu items, and long subitem lists don't work very well, if at all, on WIndows. I'm also finding the IDE menu setup much more usable on WIndows than Mac. The way that the IDE's system menu keeps changing on OSX depending on context has always been frustrating to me. In WIndows, there's a menu in the main IDE window that never changes and another one in the SCript Editor window for actions specific to script editing, a much better scheme in my opinion. As a result of this experience, I'm wondering if anyone has ever prepared a list of "gotchas" to watch out for when developing on one platform with the intent of running on others - I'm talking desktop, not mobile. I'd be willing to host such a list on my web site if anyone would like to contribute their knowledge; I'm sure there's more that I have mentioned in this post. Pete lcSQL Software From dsc at swcp.com Sat Jun 8 13:06:05 2013 From: dsc at swcp.com (Dar Scott) Date: Sat, 8 Jun 2013 11:06:05 -0600 Subject: Polygon's share of its rectangle inconsistent? In-Reply-To: <56E4634B-AC76-40D1-BA13-77E56478F59D@comcast.net> References: <56E4634B-AC76-40D1-BA13-77E56478F59D@comcast.net> Message-ID: Yeah, the lineSize idea doesn't get far (at this point) when the function is looking at the entire rectangle and returning 100% in my case I don't know if this is a function bug or a dictionary issue. From the dictionary... If the point is within the clickable area of the object, the within function returns true, even if another object is layered on top of the object. If the object is a graphic, its interior is considered to be within the graphic only if the graphic's filled property is true or the graphic is selected. Since the entire rectangle seems to be the clickable area of the graphic, the entire rectangle in my case, the second paragraph makes no sense. Also, it is not clear to me why filled is considered and not opaque. I'm missing a lot here. (There are two coordinate systems used in pixel graphics (for whole number coordinates). One puts the coordinate grid between the pixels. This makes sense when looking at the rectangle of things and even when looking carefully at rectangle graphics. The other looks at the points as being in the middle of the pixel. It is off (.5,.5) from the other. If fractional pixel coordinates or pixel-less coordinates come, the differences will be minimal. When these concepts are mixed we get mixed results.) Now, I'm surprised. Why are you getting about 50% when I'm getting 100%? I'm using LiveCode 5.5.4 on OS X 10.6.8. I think somebody else was getting 100%, too. Because of that, or until we figure out why that is, within() might work on your system but not on others. I'm not sure what "singly connected" means. Does this mean a graphic can work like several graphics? If this does not have to work in the field, you can put your graphic on the appropriate contrasting background and get an image of the bounding rectangle and analyze the pixels. Dar On Jun 8, 2013, at 5:45 AM, David Epstein wrote: > Thanks to Dar Scott, Craig Newman, and Jim Hurley for thinking about this. I don't know why the coverage function would yield 1.0 (except for a very small graphic; see glitch described below). The Dar Scott amendment to my function--subtracting 1 from the right and bottom of the rect that I survey--is, I learned, equivalent to testing whether "pt is within the rect of grcLID"; in other words the pixels on the bottom and right edge of a graphic's rect are not counted as "within" the graphic's rect. > I tested Dar's suggestions about lineSize and borderWidth. Perhaps because I have showBorder set to false borderwidth had no effect. LineSize did affect the results of my "coverage" function, with results that are peculiar but do not solve my original puzzle (that reported "coverage" should not, but does, vary as I scale a shape). > I resorted to careful study of a very simple polygon, an isosceles right triangle with its hypotenuse toward the bottom left. This is a case where I would want my "coverage" function to return 0.5, since half of the rectangle is covered by the visible graphic. Rather amazingly, the "within(graphicLID,point)" function returned true not only for the points I expected, but for 5 additional diagonal "lines" of pixels forming a kind of border extending left and down from my visible hypotenuse. This was true both for a 10 x 10 rectangle and for a 50 x 50 rectangle. > This makes it easy to see why "coverage" seems to decline as a graphic gets bigger, since these false positive pixels are a much larger share of a small rectangle. But why is "within" returning all these false positives? I tested the "margins" property to no avail. > One further source of difficulty: > If I define a grapic?s ?points?, LC seems to impose a lower limit of 8 x 8 on its width and height. Thus while a triangle with points 0,0 10,0 10,10 0,0 has 100 pixels within its rect, defining a triangle with points 0,0 5,0 etc. results in an object with 64 -- not the expected 25 -- pixels within its rect. And almost all of those extra pixels also register as "within" the filled graphic itself, so that "coverage" gets close to 1.0. > > Jim Hurley?s function is very useful, but I was hoping to use ?within()? so that I could handle graphics that are not singly connected and closed. Is there some way to script a test for those cases? > David Epstein > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Sat Jun 8 13:20:53 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 8 Jun 2013 10:20:53 -0700 Subject: Unicode (was Getting Kanji from a .csv file) Message-ID: I apologize up front for being particularly clueless on this whole character encoding concept. I'm still trying to adjust to speaking American English as opposed to the Queen's English so not too suprising I'm not grasping unicode too well! I understand the concepts and the use of uniencode and unidecode but I don;t understand when I need to care. I'll use my SQLiteAdmin program as an example. It provides schema maintenance and data browsing/update features for SQLite databases and uses most of the standard LC controls, including datagrids. Users can enter data into it and have it used to INSERT, UPDATE, or DELETE rows. They can also type in SELECT criteria and have the qualifying data displayed in field and datagrid controls. Currently, there is no attempt to do any encoding or decoding of data. On my computers here in the USA, I've never had any issues using it on any of my databases, but I've never tried to access one whose contents weren't in American English.. Now let's say someone in a country whose language requires the use of unicode encoding purchases the program. WIll it work OK for that person in terms of entering data into the controls and displaying data in the controls from their database, assuming that the database contains UTF8 encoded data? Or do I have to uniencode/decode to ensure things work right? Now let's say the database is using UTF16 encoding, or anything other than UTF8. I can detect that situation in the database and I think I would need to use uniencode/decode to deal with it? Now the user takes his UTF8 database and puts it on a colleague's computer here in the USA with the computer's language settings set to American English. I would then need to decode/encode.... I think. >From the original thread, it seems clear that when I import data into the database via SQLiteAdmin, I do need to be aware of the encoding in the imported file and that there may be a way to detect that within the file depending on how it was produced. Conversely, when I export data, I should try to create the same marker in the file. And finally, is the simplest way to take care of this to simply uniencode/decode everything using the databases encoding without regard as to whether that's necessary or not? Pete lcSQL Software From endernafi at gmail.com Sat Jun 8 13:40:04 2013 From: endernafi at gmail.com (=?utf-8?Q?Ender_Nafi_Elek=C3=A7io=C4=9Flu?=) Date: Sat, 8 Jun 2013 20:40:04 +0300 Subject: [OT] What's happening here in Turkey... In-Reply-To: References: <7C753195056842ABB6D3833480768459@gmail.com> <11D1DD0756094E67967289F5A05541F6@gmail.com> <51B11DAB.1030808@hyperactivesw.com> <42EA89408B8C4F6E9E70A58E370AB1D8@gmail.com> <51B20E47.5030807@gmail.com> <02FB7329-A8A4-4020-8843-B3EC62B3FC9E@semperuna.com> <1189B6B4FDCE4648BA20A2A19C484C6E@gmail.com> <2ED968FDE7294571BD2CF374C37C852A@gmail.com> <1370666214112-4666141.post@n4.nabble.com> <352999C3656246F299F514EC8635F448@gmail.com> Message-ID: This time; a little less information, a little more propaganda; sorry :) At least 100 thousand gathered in Taksim this evening, it's spectacular; words hardly describe this scene! --- To all my hobbit brothers out there? Remember, Uruk-hai's may have giant swords, Goblins may be 4 times bigger than you; but it was little Frodo who brought the ring to Mount Doom and liberate the Middle World! Song of the Lonely Mountain, Hobbits in Taksim : https://www.facebook.com/photo.php?v=535279806533521 With warmest and kindest regards from Turkey, Cheers brothers & sisters? ~ Ender Nafi ~? together, we're smarter & stronger ?~ From richmondmathewson at gmail.com Sat Jun 8 13:47:08 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 08 Jun 2013 20:47:08 +0300 Subject: Unicode (was Getting Kanji from a .csv file) In-Reply-To: References: Message-ID: <51B36E1C.6060307@gmail.com> Why do I have a funny feeling you are over-complicating things? Let's start with a few questions: 1. "Queen's English": well as Queen Mary IV and III ( http://www.jacobite.ca/kings/mary4.htm) couldn't get her head round any English to save her life, that must be a serious problem . . . LOL. 2. Here, in Bulgaria, everybody who works with computers has English (of some sort), and a lot of databases function in a Latinised form of Bulgarian (not very linguistically satisfactory, but functional as per databases). 3. If you are going to target users whose language uses characters that require double-byte encoding that is when the "fun" starts; and as Livecode seems only to function with Unicode characters in the first linguistic plane some are going to be forever inaccessible regardless of what you do. 4. Work out which language groups you are going to target first, instead of working unneccessarily to provide something that will be "all things to all men" when, possibly, only a subset of "all men" are likely to be using it. Having been messing around with Unicode for about 5 years I would have thought the safest way to haddle data is quite different; as charToNum can find the unique Unicode address of each character and numToChar can find the character again which not just convert all your data into a series of delimited unicode addresses? Data can then be stored in exactly the same fashion regardless of which language it was entered into. e.g. 2339,2337,2351 can be stored and manipulated just as easily as 41,37,62, where the first set is 3 Hindi chars, while the second is a set of Latin chars. You could 'pad' small numbers like this 002339,002337,002351 and 000041,000037,000062 to aid searching. Richmond. On 06/08/2013 08:20 PM, Peter Haworth wrote: > I apologize up front for being particularly clueless on this whole > character encoding concept. I'm still trying to adjust to speaking > American English as opposed to the Queen's English so not too suprising I'm > not grasping unicode too well! > > I understand the concepts and the use of uniencode and unidecode but I > don;t understand when I need to care. > > I'll use my SQLiteAdmin program as an example. It provides schema > maintenance and data browsing/update features for SQLite databases and uses > most of the standard LC controls, including datagrids. Users can enter > data into it and have it used to INSERT, UPDATE, or DELETE rows. They can > also type in SELECT criteria and have the qualifying data displayed in > field and datagrid controls. Currently, there is no attempt to do any > encoding or decoding of data. > > On my computers here in the USA, I've never had any issues using it on any > of my databases, but I've never tried to access one whose contents weren't > in American English.. > > Now let's say someone in a country whose language requires the use of > unicode encoding purchases the program. WIll it work OK for that person in > terms of entering data into the controls and displaying data in the > controls from their database, assuming that the database contains UTF8 > encoded data? Or do I have to uniencode/decode to ensure things work right? > > Now let's say the database is using UTF16 encoding, or anything other than > UTF8. I can detect that situation in the database and I think I would need > to use uniencode/decode to deal with it? > > Now the user takes his UTF8 database and puts it on a colleague's computer > here in the USA with the computer's language settings set to American > English. I would then need to decode/encode.... I think. > > From the original thread, it seems clear that when I import data into the > database via SQLiteAdmin, I do need to be aware of the encoding in the > imported file and that there may be a way to detect that within the file > depending on how it was produced. Conversely, when I export data, I should > try to create the same marker in the file. > > And finally, is the simplest way to take care of this to simply > uniencode/decode everything using the databases encoding without regard as > to whether that's necessary or not? > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Sat Jun 8 14:11:18 2013 From: dsc at swcp.com (Dar Scott) Date: Sat, 8 Jun 2013 12:11:18 -0600 Subject: Unicode (was Getting Kanji from a .csv file) In-Reply-To: References: Message-ID: <782F1F14-09FF-4786-A3F1-631582680E7B@swcp.com> I encourage you to go to full Unicode. That means (for now) using the unicodeText to get text into and out of a field. Then convert that to UTF8 and back for a database with UTF-8 encoding. (And at this point you can say that your program only works with UTF-8 encoding set for SQLite.) It is my understanding that SQLite does not have any lossy encodings. That is, you don't lose anything by saving to the db. That is, all encodings are Unicode. My comments are based on that. You probably can't reliably move a db with UTF-16 encoding from one machine to another. Since your program is general, you probably want to accommodate db with UTF-16, UTF-16LE, and UTF-16BE. I'm guessing you can store the Unicode you get from the unicodeText directly for UTF-16. For the others you might have to byte swap. Long ago I made a enhancement suggestion to include UTF-16LE and UTF-16BE in uniEncode and uniDecode. I don't think it is there, so you will have to do it yourself. Essentially, you see if what is native for your machine matches your target encoding. If not swap. To see if the chars are stored little endian or not ... Gotta run. Dar On Jun 8, 2013, at 11:20 AM, Peter Haworth wrote: > I apologize up front for being particularly clueless on this whole > character encoding concept. I'm still trying to adjust to speaking > American English as opposed to the Queen's English so not too suprising I'm > not grasping unicode too well! > > I understand the concepts and the use of uniencode and unidecode but I > don;t understand when I need to care. > > I'll use my SQLiteAdmin program as an example. It provides schema > maintenance and data browsing/update features for SQLite databases and uses > most of the standard LC controls, including datagrids. Users can enter > data into it and have it used to INSERT, UPDATE, or DELETE rows. They can > also type in SELECT criteria and have the qualifying data displayed in > field and datagrid controls. Currently, there is no attempt to do any > encoding or decoding of data. > > On my computers here in the USA, I've never had any issues using it on any > of my databases, but I've never tried to access one whose contents weren't > in American English.. > > Now let's say someone in a country whose language requires the use of > unicode encoding purchases the program. WIll it work OK for that person in > terms of entering data into the controls and displaying data in the > controls from their database, assuming that the database contains UTF8 > encoded data? Or do I have to uniencode/decode to ensure things work right? > > Now let's say the database is using UTF16 encoding, or anything other than > UTF8. I can detect that situation in the database and I think I would need > to use uniencode/decode to deal with it? > > Now the user takes his UTF8 database and puts it on a colleague's computer > here in the USA with the computer's language settings set to American > English. I would then need to decode/encode.... I think. > >> From the original thread, it seems clear that when I import data into the > database via SQLiteAdmin, I do need to be aware of the encoding in the > imported file and that there may be a way to detect that within the file > depending on how it was produced. Conversely, when I export data, I should > try to create the same marker in the file. > > And finally, is the simplest way to take care of this to simply > uniencode/decode everything using the databases encoding without regard as > to whether that's necessary or not? > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sat Jun 8 15:55:02 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 08 Jun 2013 14:55:02 -0500 Subject: scrolling stack I made In-Reply-To: References: <6A58AF63-AA57-41CA-B65F-1F1775D54CA6@verizon.net> <519E6166.9090007@hyperactivesw.com> <1370571520992-4666071.post@n4.nabble.com> <6FD730DB-B832-4EE0-A9BF-6162786448C9@verizon.net> <1370577219135-4666074.post@n4.nabble.com> <1370617302340-4666093.post@n4.nabble.com> <1370654528025-4666131.post@n4.nabble.com> <012d01ce63fd$24b090f0$6e11b2d0$@net> Message-ID: <51B38C16.1090104@hyperactivesw.com> On 6/8/13 9:51 AM, Roger Eller wrote: >>From the screenshots, the app appears to have a phone layout. Did you have > to specify anywhere that it can also run on tablets? I believe J. Landman > Gay also had this initial problem with Casey's Solitaire, but it runs fine > on tablets now. Actually I had the reverse problem and eventually decided to release only for tablets. But the issue wasn't that the app wouldn't install on small phones (it did) but that the layout just didn't conform comfortably to small screens. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Jun 8 15:57:47 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 08 Jun 2013 14:57:47 -0500 Subject: I'm a Happy Kickstart Camper . . . In-Reply-To: <1370704439952-4666156.post@n4.nabble.com> References: <51B210A0.9070502@gmail.com> <51B225DC.8070900@hyperactivesw.com> <1370704439952-4666156.post@n4.nabble.com> Message-ID: <51B38CBB.8020506@hyperactivesw.com> On 6/8/13 10:13 AM, Peter Alcibiades wrote: > It would be nice to know what the response has been - any idea of how many > new registrations? I'm sure RR wouldn't ever say. But Kevin mentioned that tech support inquiries have gone from hundreds to thousands (a week? a day? can't remember) and someone on the forums said that signups had increased 7,000 almost overnight. That was right after the Kickstarter, there may be more now. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Jun 8 16:01:12 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 08 Jun 2013 15:01:12 -0500 Subject: Developing for multiple desktop platforms In-Reply-To: References: Message-ID: <51B38D88.4030006@hyperactivesw.com> On 6/8/13 11:52 AM, Peter Haworth wrote: > I'm also finding the IDE menu setup much more usable on WIndows than Mac. > The way that the IDE's system menu keeps changing on OSX depending on > context has always been frustrating to me. In WIndows, there's a menu in > the main IDE window that never changes and another one in the SCript Editor > window for actions specific to script editing, a much better scheme in my > opinion. I usually leave editmenus set to true on my development stacks while I'm working on them. That way the menu stays in the stack window on OS X just as it is on a PC. You do lose the ability to use keyboard menu shortcuts, but the advantages of doing layout while the menu is visible, and the permanancy of the IDE menus makes that a small tradeoff. I think you're stuck with the script editor menu change, but that doesn't bother me much. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mpetrides at earthlink.net Sat Jun 8 16:09:00 2013 From: mpetrides at earthlink.net (Marian Petrides, M.D.) Date: Sat, 8 Jun 2013 16:09:00 -0400 Subject: Looking for Mac Flow Charting Software In-Reply-To: <51B38D88.4030006@hyperactivesw.com> References: <51B38D88.4030006@hyperactivesw.com> Message-ID: I hope this isn't a verboten use of this list and, if it is, my apologies in advance. I have a friend who is looking for Mac software that does flowcharting. Do any of the developers on this list have a product that does this? If not, can someone recommend a good product for this purpose? Thanks! Marian From devin_asay at byu.edu Sat Jun 8 16:25:23 2013 From: devin_asay at byu.edu (Devin Asay) Date: Sat, 8 Jun 2013 20:25:23 +0000 Subject: Looking for Mac Flow Charting Software In-Reply-To: References: <51B38D88.4030006@hyperactivesw.com> Message-ID: As it happens, Chipp Walters just mentioned his product Diagram Creator in a recent email. Check it out here: http://blog.chipp.com/new-downloads-for-diagramcreator/ Maybe it's useful for what your friend needs. Devin On Jun 8, 2013, at 2:09 PM, Marian Petrides, M.D. wrote: > I hope this isn't a verboten use of this list and, if it is, my apologies in advance. I have a friend who is looking for Mac software that does flowcharting. Do any of the developers on this list have a product that does this? If not, can someone recommend a good product for this purpose? Thanks! > > Marian > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Devin Asay Humanities Technology and Research Support Center Brigham Young University From dsc at swcp.com Sat Jun 8 16:34:27 2013 From: dsc at swcp.com (Dar Scott) Date: Sat, 8 Jun 2013 14:34:27 -0600 Subject: [OT] What's happening here in Turkey... In-Reply-To: References: <7C753195056842ABB6D3833480768459@gmail.com> <11D1DD0756094E67967289F5A05541F6@gmail.com> <51B11DAB.1030808@hyperactivesw.com> <42EA89408B8C4F6E9E70A58E370AB1D8@gmail.com> <51B20E47.5030807@gmail.com> <02FB7329-A8A4-4020-8843-B3EC62B3FC9E@semperuna.com> <1189B6B4FDCE4648BA20A2A19C484C6E@gmail.com> <2ED968FDE7294571BD2CF374C37C852A@gmail.com> <1370666214112-4666141.post@n4.nabble.com> <352999C3656246F299F514EC8635F448@gmail.com> Message-ID: Politicians stay in power by buying cronies. They make the favors for these few look good, good to groups in the populace. So, they get crony funding and popular support. These bought cronies are usually big businessmen who would usually fail by being inept or crooked. The result is big power in states and bad management in a fifth of the big businesses. To compete, some other businesses have to play along. This is enabled by those of the populace who love states or worship states. The process is also helped by those who are would-be petty dictators and like the idea of a mechanism where they can control others. So, all over the world as states grow in power, we see the state as a growing burden in our lives. But, relying less on the state means a better understanding of property. The example of politicians helping cronies by building a mall is a good example. Who owns the park? Who owns the trees? Who has the say? Is it jointly owned by all the people? Are pieces owned by individuals? Does the politician own it? The many answers people have for these questions muddy the water and creates confusion as we look for freedom and a lesser role of the state in our lives. However, for most people of the world, the state is the highest authority, the determiner of right and wrong, the bringer of blessings, the blesser of actions. As much as we feel for your plight, most people will see the state as the one in the right by definition. Only by a change in this view can you gain world sympathy. (Of course, some might pretend a sympathy in state-vs-state contexts.) So, my heart goes out for you. But, I don't think we are going to see much of a positive view around the world, unless a few politicians try to exploit the situation. I wish you well. Dar On Jun 8, 2013, at 11:40 AM, Ender Nafi Elek?io?lu wrote: > This time; a little less information, a little more propaganda; sorry :) > At least 100 thousand gathered in Taksim this evening, > it's spectacular; words hardly describe this scene! > > --- > > To all my hobbit brothers out there? > Remember, > Uruk-hai's may have giant swords, Goblins may be 4 times bigger than you; > but it was little Frodo who brought the ring to Mount Doom and liberate the Middle World! > > Song of the Lonely Mountain, Hobbits in Taksim : > https://www.facebook.com/photo.php?v=535279806533521 > > > > With warmest and kindest regards from Turkey, > Cheers brothers & sisters? > > > ~ Ender Nafi > > ~? together, we're smarter & stronger ?~ > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sat Jun 8 16:51:46 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 08 Jun 2013 23:51:46 +0300 Subject: I'm a Happy Kickstart Camper . . . In-Reply-To: <51B38CBB.8020506@hyperactivesw.com> References: <51B210A0.9070502@gmail.com> <51B225DC.8070900@hyperactivesw.com> <1370704439952-4666156.post@n4.nabble.com> <51B38CBB.8020506@hyperactivesw.com> Message-ID: <51B39962.3000309@gmail.com> On 06/08/2013 10:57 PM, J. Landman Gay wrote: > On 6/8/13 10:13 AM, Peter Alcibiades wrote: > >> It would be nice to know what the response has been - any idea of how >> many >> new registrations? > > I'm sure RR wouldn't ever say. But Kevin mentioned that tech support > inquiries have gone from hundreds to thousands (a week? a day? can't > remember) and someone on the forums said that signups had increased > 7,000 almost overnight. That was right after the Kickstarter, there > may be more now. > Or, after the initial over-reaction, things may have tapered off a bit. From richmondmathewson at gmail.com Sat Jun 8 16:53:21 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 08 Jun 2013 23:53:21 +0300 Subject: Looking for Mac Flow Charting Software In-Reply-To: References: <51B38D88.4030006@hyperactivesw.com> Message-ID: <51B399C1.8080109@gmail.com> On 06/08/2013 11:09 PM, Marian Petrides, M.D. wrote: > I hope this isn't a verboten use of this list and, if it is, my apologies in advance. I have a friend who is looking for Mac software that does flowcharting. Do any of the developers on this list have a product that does this? If not, can someone recommend a good product for this purpose? Thanks! > > Marian > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Dunno what its like; but nothing like a 5 second search in MacUpdate: https://www.macupdate.com/app/mac/29714/strom Richmond. From richmondmathewson at gmail.com Sat Jun 8 17:14:49 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 09 Jun 2013 00:14:49 +0300 Subject: [OT] What's happening here in Turkey... In-Reply-To: References: <7C753195056842ABB6D3833480768459@gmail.com> <11D1DD0756094E67967289F5A05541F6@gmail.com> <51B11DAB.1030808@hyperactivesw.com> <42EA89408B8C4F6E9E70A58E370AB1D8@gmail.com> <51B20E47.5030807@gmail.com> <02FB7329-A8A4-4020-8843-B3EC62B3FC9E@semperuna.com> <1189B6B4FDCE4648BA20A2A19C484C6E@gmail.com> <2ED968FDE7294571BD2CF374C37C852A@gmail.com> <1370666214112-4666141.post@n4.nabble.com> <352999C3656246F299F514EC8635F448@gmail.com> Message-ID: <51B39EC9.80102@gmail.com> On 06/08/2013 11:34 PM, Dar Scott wrote: > Politicians stay in power by buying cronies. They make the favors for these few look good, good to groups in the populace. So, they get crony funding and popular support. These bought cronies are usually big businessmen who would usually fail by being inept or crooked. The result is big power in states and bad management in a fifth of the big businesses. To compete, some other businesses have to play along. > > This is enabled by those of the populace who love states or worship states. The process is also helped by those who are would-be petty dictators and like the idea of a mechanism where they can control others. > > So, all over the world as states grow in power, we see the state as a growing burden in our lives. > > But, relying less on the state means a better understanding of property. That's right; as the concept of the state owning anything is a very odd concept indeed. I own a large, brown wooden elephant. You can point at me and say "Richmond owns that elephant." What do you point at when the state "owns" something - something pretty amorphous if it has any sort of form at all. People pay me to teach their children English because the state (the Bulgarian state) fails miserably; I use that money to send my younger son to private High school in Germany, pay for a half-decent dentist (instead of the useless ones who can only get a job by working for the state), pay for a half-decent doctor. This also means than when a filling falls out I am in a position to complain, while if the state does it (even though I do pay for it via tax) because of the lie that it is somehow 'free' I cannot complain. I have been trying for 8 years to get parents of children I teach to go and complain about the physical abuse (hitting) many of their children suffer at state "schools" to no avail; after all "if it is free we cannot complain" - and these really quite stupid parents cannot understand that "free and the point of delivery" is NOT free. As the profit-motive is almost genetically encoded into humans any stateless society has to allow private property and private interests; hence the idea of Anarcho-Capitalism; which, in practice should produce something rather similar to all other types anarchism. Political systems (whether voted in or imposed) that do away with private property have signally failed. > The example of politicians helping cronies by building a mall is a good example. Who owns the park? Who owns the trees? Who has the say? Is it jointly owned by all the people? Are pieces owned by individuals? Does the politician own it? The many answers people have for these questions muddy the water and creates confusion as we look for freedom and a lesser role of the state in our lives. > > However, for most people of the world, the state is the highest authority, the determiner of right and wrong, Only if you are daft enough to equate morality with legality! It is illegal to smoke inside a restaurant in Bulgaria; it is not wrong, but an awful lot of people are stupid enough to think it is. > the bringer of blessings, the blesser of actions. Um; a side-effect of the waning away of mass religiousness is that the state has taken the place of a deity and its rules have taken the place of a divinely determined moral code; its judges and other officers have become priests. > As much as we feel for your plight, most people will see the state as the one in the right by definition. Only by a change in this view can you gain world sympathy. (Of course, some might pretend a sympathy in state-vs-state contexts.) state-vs-state contexts are very rarely really state-vs-state pure and simple. If one looks at the second world war the Axis powers were committing acts that were morally repugnant to the vast majority of people (gassing vast numbers of people); and while the Allies, in combatting the Axis powers also committed many morally wrong things (c.f. fire-bombing of Dresden), one can argue on the basis of "greater-good" grounds that their actions were morally justified. Now, as to the US sending drones to blow up targets in Yemen and so forth; as far as I can see that is morally indefensible. > > So, my heart goes out for you. But, I don't think we are going to see much of a positive view around the world, unless a few politicians try to exploit the situation. > > I wish you well. > > Dar > > Sorry, Livecoders, went off on that one a bit. Richmond. From richmondmathewson at gmail.com Sat Jun 8 17:16:43 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 09 Jun 2013 00:16:43 +0300 Subject: [OT] What's happening here in Turkey... In-Reply-To: <02FB7329-A8A4-4020-8843-B3EC62B3FC9E@semperuna.com> References: <7C753195056842ABB6D3833480768459@gmail.com> <11D1DD0756094E67967289F5A05541F6@gmail.com> <51B11DAB.1030808@hyperactivesw.com> <42EA89408B8C4F6E9E70A58E370AB1D8@gmail.com> <51B20E47.5030807@gmail.com> <02FB7329-A8A4-4020-8843-B3EC62B3FC9E@semperuna.com> Message-ID: <51B39F3B.3060505@gmail.com> On 06/08/2013 01:22 AM, Igor de Oliveira Couto wrote: > Hello Richmond! > > Sent from my iPad > > On 08/06/2013, at 2:45 AM, Richmond wrote: > >> 4. In practise I am not an anarchist because my experience suggests that humans are not up to the standard >> of managing to function properly in a state of true anarchy, and I am worried that in that sort of situation >> criminal elements would seize control. > You may be interested in reading about Anarcho-Syndicalism: > > http://en.wikipedia.org/wiki/Anarcho-syndicalism Jolly interesting; although I am not unduly fussed about ironing out the injustices supposedly inherent in a capitalistic society as observation and reading has taught me that ALL societies are unequal, one way or another. > > Kindest regards to all, > > -- > Igor Couto > Sydney, Australia > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Sat Jun 8 18:39:52 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 8 Jun 2013 15:39:52 -0700 Subject: Unicode (was Getting Kanji from a .csv file) In-Reply-To: <51B36E1C.6060307@gmail.com> References: <51B36E1C.6060307@gmail.com> Message-ID: On Sat, Jun 8, 2013 at 10:47 AM, Richmond wrote: > Why do I have a funny feeling you are over-complicating things? > I don't know but I hope you're right! > > Let's start with a few questions: > > 1. "Queen's English": well as Queen Mary IV and III ( > http://www.jacobite.ca/kings/**mary4.htm > ) > couldn't get her head round any English to save her life, that must be a > serious problem . . . LOL. > Did she speak a unicode dialect of Bavarian? > > 2. Here, in Bulgaria, everybody who works with computers has English (of > some sort), and a lot of > databases function in a Latinised form of Bulgarian (not very > linguistically satisfactory, but functional as per databases). > > 3. If you are going to target users whose language uses characters that > require double-byte encoding > that is when the "fun" starts; and as Livecode seems only to function with > Unicode characters in the > first linguistic plane some are going to be forever inaccessible > regardless of what you do. > OK, I won't worry about that then. > > 4. Work out which language groups you are going to target first, instead > of working unneccessarily > to provide something that will be "all things to all men" when, possibly, > only a subset of "all men" are > likely to be using it. > Well that's the problem. This isn't an end user application, it's a general purpose utility that could be purchased by anyone in any country. > > Having been messing around with Unicode for about 5 years I would have > thought the safest way to haddle data is quite different; > as charToNum can find the unique Unicode address of each character and > numToChar can find the character again which not just > convert all your data into a series of delimited unicode addresses? > > Data can then be stored in exactly the same fashion regardless of which > language it was entered into. > > e.g. 2339,2337,2351 can be stored and manipulated just as easily as > 41,37,62, where the first set is 3 Hindi chars, while the second > is a set of Latin chars. You could 'pad' small numbers like this > 002339,002337,002351 and 000041,000037,000062 to aid searching. > > Yeah but this isn't data that I have any control over, it's other peoples' databases used in their applications so it's already in the database in whatever encoding they've chosen. Richmond. > > > On 06/08/2013 08:20 PM, Peter Haworth wrote: > >> I apologize up front for being particularly clueless on this whole >> character encoding concept. I'm still trying to adjust to speaking >> American English as opposed to the Queen's English so not too suprising >> I'm >> not grasping unicode too well! >> >> I understand the concepts and the use of uniencode and unidecode but I >> don;t understand when I need to care. >> >> I'll use my SQLiteAdmin program as an example. It provides schema >> maintenance and data browsing/update features for SQLite databases and >> uses >> most of the standard LC controls, including datagrids. Users can enter >> data into it and have it used to INSERT, UPDATE, or DELETE rows. They can >> also type in SELECT criteria and have the qualifying data displayed in >> field and datagrid controls. Currently, there is no attempt to do any >> encoding or decoding of data. >> >> On my computers here in the USA, I've never had any issues using it on any >> of my databases, but I've never tried to access one whose contents weren't >> in American English.. >> >> Now let's say someone in a country whose language requires the use of >> unicode encoding purchases the program. WIll it work OK for that person >> in >> terms of entering data into the controls and displaying data in the >> controls from their database, assuming that the database contains UTF8 >> encoded data? Or do I have to uniencode/decode to ensure things work >> right? >> >> Now let's say the database is using UTF16 encoding, or anything other than >> UTF8. I can detect that situation in the database and I think I would >> need >> to use uniencode/decode to deal with it? >> >> Now the user takes his UTF8 database and puts it on a colleague's computer >> here in the USA with the computer's language settings set to American >> English. I would then need to decode/encode.... I think. >> >> From the original thread, it seems clear that when I import data into the >> database via SQLiteAdmin, I do need to be aware of the encoding in the >> imported file and that there may be a way to detect that within the file >> depending on how it was produced. Conversely, when I export data, I should >> try to create the same marker in the file. >> >> And finally, is the simplest way to take care of this to simply >> uniencode/decode everything using the databases encoding without regard as >> to whether that's necessary or not? >> >> Pete >> lcSQL Software >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From pete at lcsql.com Sat Jun 8 18:41:18 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 8 Jun 2013 15:41:18 -0700 Subject: Unicode (was Getting Kanji from a .csv file) In-Reply-To: <782F1F14-09FF-4786-A3F1-631582680E7B@swcp.com> References: <782F1F14-09FF-4786-A3F1-631582680E7B@swcp.com> Message-ID: Thanks Dar, I think I get the picture now. I'll stick with UTF8 for now. Pete lcSQL Software On Sat, Jun 8, 2013 at 11:11 AM, Dar Scott wrote: > I encourage you to go to full Unicode. > > That means (for now) using the unicodeText to get text into and out of a > field. > > Then convert that to UTF8 and back for a database with UTF-8 encoding. > > (And at this point you can say that your program only works with UTF-8 > encoding set for SQLite.) > > It is my understanding that SQLite does not have any lossy encodings. > That is, you don't lose anything by saving to the db. That is, all > encodings are Unicode. My comments are based on that. > > You probably can't reliably move a db with UTF-16 encoding from one > machine to another. > > Since your program is general, you probably want to accommodate db with > UTF-16, UTF-16LE, and UTF-16BE. > > I'm guessing you can store the Unicode you get from the unicodeText > directly for UTF-16. > > For the others you might have to byte swap. > > Long ago I made a enhancement suggestion to include UTF-16LE and UTF-16BE > in uniEncode and uniDecode. I don't think it is there, so you will have to > do it yourself. > > Essentially, you see if what is native for your machine matches your > target encoding. If not swap. To see if the chars are stored little > endian or not ... > > Gotta run. > > Dar > > > On Jun 8, 2013, at 11:20 AM, Peter Haworth wrote: > > > I apologize up front for being particularly clueless on this whole > > character encoding concept. I'm still trying to adjust to speaking > > American English as opposed to the Queen's English so not too suprising > I'm > > not grasping unicode too well! > > > > I understand the concepts and the use of uniencode and unidecode but I > > don;t understand when I need to care. > > > > I'll use my SQLiteAdmin program as an example. It provides schema > > maintenance and data browsing/update features for SQLite databases and > uses > > most of the standard LC controls, including datagrids. Users can enter > > data into it and have it used to INSERT, UPDATE, or DELETE rows. They > can > > also type in SELECT criteria and have the qualifying data displayed in > > field and datagrid controls. Currently, there is no attempt to do any > > encoding or decoding of data. > > > > On my computers here in the USA, I've never had any issues using it on > any > > of my databases, but I've never tried to access one whose contents > weren't > > in American English.. > > > > Now let's say someone in a country whose language requires the use of > > unicode encoding purchases the program. WIll it work OK for that person > in > > terms of entering data into the controls and displaying data in the > > controls from their database, assuming that the database contains UTF8 > > encoded data? Or do I have to uniencode/decode to ensure things work > right? > > > > Now let's say the database is using UTF16 encoding, or anything other > than > > UTF8. I can detect that situation in the database and I think I would > need > > to use uniencode/decode to deal with it? > > > > Now the user takes his UTF8 database and puts it on a colleague's > computer > > here in the USA with the computer's language settings set to American > > English. I would then need to decode/encode.... I think. > > > >> From the original thread, it seems clear that when I import data into > the > > database via SQLiteAdmin, I do need to be aware of the encoding in the > > imported file and that there may be a way to detect that within the file > > depending on how it was produced. Conversely, when I export data, I > should > > try to create the same marker in the file. > > > > And finally, is the simplest way to take care of this to simply > > uniencode/decode everything using the databases encoding without regard > as > > to whether that's necessary or not? > > > > Pete > > lcSQL Software > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Sat Jun 8 19:14:08 2013 From: dsc at swcp.com (Dar Scott) Date: Sat, 8 Jun 2013 17:14:08 -0600 Subject: Unicode (was Getting Kanji from a .csv file) In-Reply-To: References: <782F1F14-09FF-4786-A3F1-631582680E7B@swcp.com> Message-ID: I'm guessing that most installations, maybe the vast majority, would have encoding set up for UTF-8. (You will have to query SQLite experts on how many people really use an encoding other than UTF-8.) When (and if) you decide to support UTF-16 (native endian), UTF-16BE and UTF-16LE, it should be straightforward. Maybe by then uniEncode and uniDecode will have endian options and it will be even easier. This will save the need for a dialog box. Dar On Jun 8, 2013, at 4:41 PM, Peter Haworth wrote: > Thanks Dar, I think I get the picture now. I'll stick with UTF8 for now. > > > > Pete > lcSQL Software > > > On Sat, Jun 8, 2013 at 11:11 AM, Dar Scott wrote: > >> I encourage you to go to full Unicode. >> >> That means (for now) using the unicodeText to get text into and out of a >> field. >> >> Then convert that to UTF8 and back for a database with UTF-8 encoding. >> >> (And at this point you can say that your program only works with UTF-8 >> encoding set for SQLite.) >> >> It is my understanding that SQLite does not have any lossy encodings. >> That is, you don't lose anything by saving to the db. That is, all >> encodings are Unicode. My comments are based on that. >> >> You probably can't reliably move a db with UTF-16 encoding from one >> machine to another. >> >> Since your program is general, you probably want to accommodate db with >> UTF-16, UTF-16LE, and UTF-16BE. >> >> I'm guessing you can store the Unicode you get from the unicodeText >> directly for UTF-16. >> >> For the others you might have to byte swap. >> >> Long ago I made a enhancement suggestion to include UTF-16LE and UTF-16BE >> in uniEncode and uniDecode. I don't think it is there, so you will have to >> do it yourself. >> >> Essentially, you see if what is native for your machine matches your >> target encoding. If not swap. To see if the chars are stored little >> endian or not ... >> >> Gotta run. >> >> Dar >> >> >> On Jun 8, 2013, at 11:20 AM, Peter Haworth wrote: >> >>> I apologize up front for being particularly clueless on this whole >>> character encoding concept. I'm still trying to adjust to speaking >>> American English as opposed to the Queen's English so not too suprising >> I'm >>> not grasping unicode too well! >>> >>> I understand the concepts and the use of uniencode and unidecode but I >>> don;t understand when I need to care. >>> >>> I'll use my SQLiteAdmin program as an example. It provides schema >>> maintenance and data browsing/update features for SQLite databases and >> uses >>> most of the standard LC controls, including datagrids. Users can enter >>> data into it and have it used to INSERT, UPDATE, or DELETE rows. They >> can >>> also type in SELECT criteria and have the qualifying data displayed in >>> field and datagrid controls. Currently, there is no attempt to do any >>> encoding or decoding of data. >>> >>> On my computers here in the USA, I've never had any issues using it on >> any >>> of my databases, but I've never tried to access one whose contents >> weren't >>> in American English.. >>> >>> Now let's say someone in a country whose language requires the use of >>> unicode encoding purchases the program. WIll it work OK for that person >> in >>> terms of entering data into the controls and displaying data in the >>> controls from their database, assuming that the database contains UTF8 >>> encoded data? Or do I have to uniencode/decode to ensure things work >> right? >>> >>> Now let's say the database is using UTF16 encoding, or anything other >> than >>> UTF8. I can detect that situation in the database and I think I would >> need >>> to use uniencode/decode to deal with it? >>> >>> Now the user takes his UTF8 database and puts it on a colleague's >> computer >>> here in the USA with the computer's language settings set to American >>> English. I would then need to decode/encode.... I think. >>> >>>> From the original thread, it seems clear that when I import data into >> the >>> database via SQLiteAdmin, I do need to be aware of the encoding in the >>> imported file and that there may be a way to detect that within the file >>> depending on how it was produced. Conversely, when I export data, I >> should >>> try to create the same marker in the file. >>> >>> And finally, is the simplest way to take care of this to simply >>> uniencode/decode everything using the databases encoding without regard >> as >>> to whether that's necessary or not? >>> >>> Pete >>> lcSQL Software >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Sat Jun 8 20:58:55 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 09 Jun 2013 02:58:55 +0200 Subject: [ANN] LiveCode-bijeenkomst in Nederland Message-ID: <51B3D34F.4090301@economy-x-talk.com> Beste LiveCode-gebruikers in Nederland, Bijna een jaar geleden organiseerden we een bijeenkomst voor Nederlandse LiveCode-gebruikers. Het is de hoogste tijd weer eens bijeen te komen. Op de agenda staan: presentaties, hulp met LiveCode-kwesties, algemene vragen, boekpresentatie en signeren, verloting van een Take Control of your Mac e-book en TopXNotes software. Wellicht zal er ook een gast uit het buitenland iets over zijn projecten komen vertellen; hierover later meer. Drank en versnaperingen komen voor eigen rekening. Toegang gratis. Als je bij deze bijeenkomst wilt zijn, dan kun je deze link http://qery.us/3i4 gebruiken om een te geven welke dag en tijd jou het beste uitkomt. Je kunt ook meerdere tijdstippen selecteren, als je geen specifieke voorkeur hebt. In verband met deelname uit het buitenland, zullen we proberen een zo laat mogelijke datum vast te stellen. Als je belangstelling hebt voor het nieuwe boek "Programming LiveCode for the Real Beginner", laat dit dan weten. Bij voldoende belangstelling zal een exemplaar van de 2e druk voor 26 euro i.p.v. 32 euro kunnen worden aangeschaft (de korting bestaat uit de uitgespaarde verzendkosten). Heb je vragen? Dan kun je die sturen aan ondergetekende sturen via m.schonewille at economy-x-talk.com. Als je nog iemand kent die wellicht ook aan de bijeenkomst deel wil nemen, stuur hem of haar dan een kopietje van deze e-mail. Summary in English: After almost an entire year, it is time for Dutch LiveCode users to have another meeting. Subjects this time: presentations, questions, book "Programming LiveCode...", two raffles, and possibly a foreign guest. If you want to participate, you can register at http://qery.us/3i4 and indicate which date and time suits you best. If you want to buy aforementioned book at a discount (postage), let me know. Any questions? Send me a message. Feel free to send a copy of this e-mail to your friends. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ From mwieder at ahsoftware.net Sat Jun 8 21:29:25 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 8 Jun 2013 18:29:25 -0700 Subject: I'm a Happy Kickstart Camper . . . In-Reply-To: <51B38CBB.8020506@hyperactivesw.com> References: <51B210A0.9070502@gmail.com> <51B225DC.8070900@hyperactivesw.com> <1370704439952-4666156.post@n4.nabble.com> <51B38CBB.8020506@hyperactivesw.com> Message-ID: <38554931919.20130608182925@ahsoftware.net> Jacque- Saturday, June 8, 2013, 12:57:47 PM, you wrote: > On 6/8/13 10:13 AM, Peter Alcibiades wrote: >> It would be nice to know what the response has been - any idea of how many >> new registrations? Kevin mentioned some impressive statistics in the conference keynote. I don't remember them, but the graphs were nice. -- -Mark Wieder mwieder at ahsoftware.net From richmondmathewson at gmail.com Sun Jun 9 03:35:47 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 09 Jun 2013 10:35:47 +0300 Subject: I'm a Happy Kickstart Camper . . . In-Reply-To: <38554931919.20130608182925@ahsoftware.net> References: <51B210A0.9070502@gmail.com> <51B225DC.8070900@hyperactivesw.com> <1370704439952-4666156.post@n4.nabble.com> <51B38CBB.8020506@hyperactivesw.com> <38554931919.20130608182925@ahsoftware.net> Message-ID: <51B43053.5000009@gmail.com> On 06/09/2013 04:29 AM, Mark Wieder wrote: > Jacque- > > Saturday, June 8, 2013, 12:57:47 PM, you wrote: > >> On 6/8/13 10:13 AM, Peter Alcibiades wrote: >>> It would be nice to know what the response has been - any idea of how many >>> new registrations? > Kevin mentioned some impressive statistics in the conference keynote. > I don't remember them, but the graphs were nice. > Let's see them (along with a lot of other "stuff") on the RunRev website them. I don't know what has happened to the RunRev website; it its latest incarnation it seems to have shrunk to a shadow of its former self. From livfoss at mac.com Sun Jun 9 06:51:15 2013 From: livfoss at mac.com (Graham Samuel) Date: Sun, 09 Jun 2013 12:51:15 +0200 Subject: Works in IDE, doesn't work in standalone (revisited) Message-ID: Folks, I am struggling with an issue I reported before, but then I had other scripting errors making it unclear what was going on. Having now cleared these errors, I have the following situation: 1. I have a tools palette which permits the user to pick a graphics (vector drawing) tool such as 'rectangle' 2. When the tool is set, the user expects to create a graphic on one of two visible cards in the program 3. In the IDE this work perfectly. 4. In the standalone (equally on Mac and PC), on one of the cards (the card that matters to the user), the rectangle is drawn but it's always the same size (a small square), and in fact corresponds to what happens in the IDE if you pick a graphic tool and click without dragging. Logging tests reporting the value of cantSelect for the card and reporting the firing of the newGraphic handler show that it's all working apart from the drag: but the really strange thing is that on the other visible card, the graphic creation works perfectly. The difference I know about between the cards is that one has only a single field on it, the other has a lot of graphics already. I am not trying to draw on top of the graphics in these tests, although doing so does in fact work in the IDE. The above shows definitively that I have done something to the 'problem' card which does not show up in the IDE but does show up in the standalone. I think this is by definition a bug, but before I attempt to report it, I would like to pin it down somehow. Can anyone suggest a way of finding out what's going on? I am already looking at tool selection, mouseDown, newGraphic - and I can't see anything wrong. I don't know a way of checking that the ability of the tool to grab the handles of a graphic has been inhibited, which is what seems to be happening. Maybe there's a hidden property that does this? TIA Graham From rman at free.fr Sun Jun 9 07:46:05 2013 From: rman at free.fr (Robert Mann) Date: Sun, 9 Jun 2013 04:46:05 -0700 (PDT) Subject: Making a bad impression on MacUpdate In-Reply-To: <51B344A7.6070406@gmail.com> References: <51B344A7.6070406@gmail.com> Message-ID: <1370778365058-4666182.post@n4.nabble.com> Hi ! I recently bought a soft there and took a look at Livecode.; and was a little bit.. angry to see some harsh comments on live code, so I answered back (Robert something) It seems to me a good idea to encourage the list to go and add some responsible experienced views instead of fast "one-minute" judgments that are thrown in with quite a bit of irresponsability I found. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Making-a-bad-impression-on-MacUpdate-tp4666154p4666182.html Sent from the Revolution - User mailing list archive at Nabble.com. From jhurley0305 at sbcglobal.net Sun Jun 9 10:28:37 2013 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Sun, 9 Jun 2013 07:28:37 -0700 Subject: Polygon's share of its rectangle inconsistent? In-Reply-To: References: Message-ID: <50D91EEB-AAE4-4E51-B65E-6121C69A1158@sbcglobal.net> > > > Message: 1 > Date: Sat, 8 Jun 2013 11:06:05 -0600 > From: Dar Scott > To: How to use LiveCode > Subject: Re: Polygon's share of its rectangle inconsistent? > Message-ID: > Content-Type: text/plain; charset=windows-1252 > > (Snip) > > I'm not sure what "singly connected" means. Does this mean a graphic can work like several graphics? > > Dar > Hi Dar, The code I offered for obtaining the area within a closed, singly connected polygon relied on the sum of the areas underneath a connected series of line segments equates to the area within those segments. The area under a single line segment defined by it's end points x1,y1 and x2,y2 is given by (x2 - x1) * (y1 + y2)/2 The area under the "top" of the polygon (where x2 - x1) is positive) minus the area under the "bottom" (where x1 - x2 is negative) is equal to the area within. This presumes one moves clockwise around the polygon. Going counter-clockwise the area calculated is negative. For a symmetric, doubly connected figure, such as a figure 8, there is a clockwise segment and an equal and opposite counter-clockwise segment, resulting in zero net area. A figure is singly connected if it is possible to move to every point within, without crossing a line. The figure "0" is singly connected; the figure "8" is doubly connected. Jim From dochawk at gmail.com Sun Jun 9 10:41:09 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 9 Jun 2013 07:41:09 -0700 Subject: stuffing a group into a database or other file Message-ID: I'm mulling over a solution for generating my output, which is currently a parts stack from which I draw groups. Can groups somehow be stored and made to binary data? The dictionary entry for clipboard notes a "objects" setting (which, in fact, I use). I guess I would just need a clipboard<==>blob converter to be able to store binary blobs in databases. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From me at paulmaguire.me Sun Jun 9 10:56:59 2013 From: me at paulmaguire.me (Paul Maguire) Date: Sun, 9 Jun 2013 15:56:59 +0100 Subject: [OT] What's happening here in Turkey... In-Reply-To: <51B39EC9.80102@gmail.com> References: <7C753195056842ABB6D3833480768459@gmail.com> <11D1DD0756094E67967289F5A05541F6@gmail.com> <51B11DAB.1030808@hyperactivesw.com> <42EA89408B8C4F6E9E70A58E370AB1D8@gmail.com> <51B20E47.5030807@gmail.com> <02FB7329-A8A4-4020-8843-B3EC62B3FC9E@semperuna.com> <1189B6B4FDCE4648BA20A2A19C484C6E@gmail.com> <2ED968FDE7294571BD2CF374C37C852A@gmail.com> <1370666214112-4666141.post@n4.nabble.com> <352999C3656246F299F514EC8635F448@gmail.com> <51B39EC9.80102@gmail.com> Message-ID: <22857C7E-7447-4A2F-BCDD-B8C389ADD798@paulmaguire.me> I just deleted an almighty response after remembering that I was to beware the troll. Instead, I'd like to consider the interesting cultural phenomenon of 'internet gentlemanly language eccentricity'. It's something I am witnessing more an more, every day. The basic gist is that many people seem to be using a heady mixture of Victorian English crossed with medievalism - Doctor Who-style. What I am encountering is lots of expressions like 'methinks', 'jolly good', 'good sir', 'spiffing', 'kind gentleman' etc. etc. It's rife and viral. It runs in parallel with the fashion for beards, brogue shoes, flicky public-school haircuts, tweed, and names that sound like parts of middle England. It's like Monty Python meets Blackadder. And it must be stopped. Clearly not as disturbing as what is happening in Turkey and the responses of certain LC list members methinks. From richmondmathewson at gmail.com Sun Jun 9 11:34:12 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 09 Jun 2013 18:34:12 +0300 Subject: [OT] What's happening here in Turkey... In-Reply-To: <22857C7E-7447-4A2F-BCDD-B8C389ADD798@paulmaguire.me> References: <7C753195056842ABB6D3833480768459@gmail.com> <11D1DD0756094E67967289F5A05541F6@gmail.com> <51B11DAB.1030808@hyperactivesw.com> <42EA89408B8C4F6E9E70A58E370AB1D8@gmail.com> <51B20E47.5030807@gmail.com> <02FB7329-A8A4-4020-8843-B3EC62B3FC9E@semperuna.com> <1189B6B4FDCE4648BA20A2A19C484C6E@gmail.com> <2ED968FDE7294571BD2CF374C37C852A@gmail.com> <1370666214112-4666141.post@n4.nabble.com> <352999C3656246F299F514EC8635F448@gmail.com> <51B39EC9.80102@gmail.com> <22857C7E-7447-4A2F-BCDD-B8C389ADD798@paulmaguire.me> Message-ID: <51B4A074.2040807@gmail.com> On 06/09/2013 05:56 PM, Paul Maguire wrote: > I just deleted an almighty response after remembering that I was to beware the troll. > > Instead, I'd like to consider the interesting cultural phenomenon of 'internet gentlemanly language eccentricity'. It's something I am witnessing more an more, every day. The basic gist is that many people seem to be using a heady mixture of Victorian English crossed with medievalism - Doctor Who-style. What I am encountering is lots of expressions like 'methinks', 'jolly good', 'good sir', 'spiffing', 'kind gentleman' etc. etc. It's rife and viral. Jolly-Hockey-sticks, well spotted old bean. And what, pray tell, is wrong with a thorough enjoyment of the language instead of being dry as a bone? It's the mode don't ye know? Wait till the chaps start using sixties and seventies slang such as "really mint" and then you can really start complaining. > > It runs in parallel with the fashion for beards, brogue shoes, flicky public-school haircuts, tweed, and names that sound like parts of middle England. It's like Monty Python meets Blackadder. Bl**dy good combination by the sounds of it. > And it must be stopped. And why, forbye? Do I detect some sort of inverted snobbery going on here. If you think that I am going to apologise that I went to a public school you've got another thing coming. I went to a public school and, quite frankly, hated most of my time there, and was the victim of prolonged sadistic bullying. That didn't stop me, however, getting a decent education and getting a place at a decent University (Durham). For a start, those "levellers" who feel that chaps and chappesses who went to public schools should apologise, roll in the mud, put on some "amour de bou" fake working-class accent forget that most of us did not go to public schools for choice; it was the pater and the mater who made that decision. The fact that most Mummies and Daddies who did not send their little sprogs to public school was only because they couldn't stump up the moolah, or the sprogs were too thick to pass a scholarship exam, or they suffered from Tony Benn disease is conveniently overlooked. To which it is time to cry "Top Hole, Old Bean" and make the best of the advantages God, one's filthy rich parents or a scholarship gave one! > > Clearly not as disturbing as what is happening in Turkey Not nearly as disturbing. > and the responses of certain LC list members methinks. And what is so disturbing about the responses of certain LC list members? At least one LC list member seems to be writing as if he is the standard bearer of a stuffy, boring constitutional monarchy and is afraid of letting his mind wander to the increasing disadvantages of living in a surveillance society. Complacency is our worst enemy. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Sun Jun 9 12:32:49 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sun, 9 Jun 2013 12:32:49 -0400 Subject: scrolling stack I made In-Reply-To: References: <6A58AF63-AA57-41CA-B65F-1F1775D54CA6@verizon.net> <519E6166.9090007@hyperactivesw.com> <1370571520992-4666071.post@n4.nabble.com> <6FD730DB-B832-4EE0-A9BF-6162786448C9@verizon.net> <1370577219135-4666074.post@n4.nabble.com> <1370617302340-4666093.post@n4.nabble.com> <1370654528025-4666131.post@n4.nabble.com> <012d01ce63fd$24b090f0$6e11b2d0$@net> Message-ID: <016501ce652e$fbaca620$f305f260$@net> Very strange. Could this be an Android OS version problem? I thought there was some backwards compatibility. On the developers console it tell me my apk supports all devices. See stats from the developers console below: Supported devices 2876 Excluded devices 0 Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Roger Eller Sent: Saturday, June 08, 2013 10:52 AM To: How to use LiveCode Subject: RE: scrolling stack I made Searching via the play store app did not reveal your app because it knows what devices I have. I did find it however by searching from a browser (not signed in). From there, I touched the icon and it took me to your app in the play store. Immediately, I saw that it says "Your device isn't compatible with this version". >From the screenshots, the app appears to have a phone layout. Did you have to specify anywhere that it can also run on tablets? I believe J. Landman Gay also had this initial problem with Casey's Solitaire, but it runs fine on tablets now. ~Roger Sent from my Pipo M2 On Jun 8, 2013 12:02 AM, "Ralph DiMola" wrote: > Roger or anyone, > > Could you install mine from the PlayStore and see if you have a > problem with 4.1.1? Search "JBT" or "Sectionals". The app is for the > Jewelers Board of Trade. You won't get past the login screen but that > should be enough to see if it works. I'm thinking of upgrading from my > Droid X to a Galaxy S3 or S4 and keep the 2.2 Droid X for backwards > compatibility testing. > > Thanks in advance!!!!! > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf Of Roger Eller > Sent: Friday, June 07, 2013 9:44 PM > To: How to use LiveCode > Subject: Re: scrolling stack I made > > I also get that error on my 4.1.1 tablet. > > Sent from my Pipo M2 > On Jun 7, 2013 9:23 PM, "Alejandro Tejada" wrote: > > > I downloaded your APK installer in a Samsung S3 Galaxy (Android > > 4.1.1) > > http://www.amazon.com/Samsung-Galaxy-Unlocked-Smart-Marble/dp/B0080D > > J6 > > CM > > > > When I tried to install it, just get the same error as in the > > Polaroid tablet. > > (Application NOT installed) > > > > Alejandro > > > > > > > > > > > > -- > > View this message in context: > > http://runtime-revolution.278305.n4.nabble.com/scrolling-stack-I-mad > > e- tp4665050p4666131.html Sent from the Revolution - User mailing > > list archive at Nabble.com. > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at 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 at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Sun Jun 9 12:38:04 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 9 Jun 2013 09:38:04 -0700 Subject: I'm a Happy Kickstart Camper . . . In-Reply-To: <51B43053.5000009@gmail.com> References: <51B210A0.9070502@gmail.com> <51B225DC.8070900@hyperactivesw.com> <1370704439952-4666156.post@n4.nabble.com> <51B38CBB.8020506@hyperactivesw.com> <38554931919.20130608182925@ahsoftware.net> <51B43053.5000009@gmail.com> Message-ID: <49332229572.20130609093804@ahsoftware.net> Richmond- Sunday, June 9, 2013, 12:35:47 AM, you wrote: > I don't know what has happened to the RunRev website; it its latest > incarnation it seems > to have shrunk to a shadow of its former self. I was talking up LiveCode to our CEO the other day and I sent him a link to the website. Then I went and looked at the website. Should have done that first. I see nothing on the content-free homepage that would compel me to dig further - it rather looks like one of those catch-all web pages you get when you mistype a url and get urged to "buy this domain". I *am* encouraged, though, by the fact that the Kickstarter money is being spent on nuts-and-bolts foundation work and not on a flash(tm)y new website. -- -Mark Wieder mwieder at ahsoftware.net From stephenREVOLUTION2 at barncard.com Sun Jun 9 12:41:15 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 9 Jun 2013 09:41:15 -0700 Subject: stuffing a group into a database or other file In-Reply-To: References: Message-ID: the copy command can obtain the binary image of any object, which then resides in clipboardData[ objects] and can be stored as a custom property or a binary 'blob' for your db This is what I did to create a way to export sound clips from a stack to see if it could be done. On Sun, Jun 9, 2013 at 7:41 AM, Dr. Hawkins wrote: > I'm mulling over a solution for generating my output, which is currently a > parts stack from which I draw groups. > > Can groups somehow be stored and made to binary data? > > The dictionary entry for clipboard notes a "objects" setting (which, in > fact, I use). I guess I would just need a clipboard<==>blob converter to > be able to store binary blobs in databases. > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From richmondmathewson at gmail.com Sun Jun 9 12:53:24 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 09 Jun 2013 19:53:24 +0300 Subject: I'm a Happy Kickstart Camper . . . In-Reply-To: <49332229572.20130609093804@ahsoftware.net> References: <51B210A0.9070502@gmail.com> <51B225DC.8070900@hyperactivesw.com> <1370704439952-4666156.post@n4.nabble.com> <51B38CBB.8020506@hyperactivesw.com> <38554931919.20130608182925@ahsoftware.net> <51B43053.5000009@gmail.com> <49332229572.20130609093804@ahsoftware.net> Message-ID: <51B4B304.7030000@gmail.com> On 06/09/2013 07:38 PM, Mark Wieder wrote: > Richmond- > > Sunday, June 9, 2013, 12:35:47 AM, you wrote: > >> I don't know what has happened to the RunRev website; it its latest >> incarnation it seems >> to have shrunk to a shadow of its former self. > I was talking up LiveCode to our CEO the other day and I sent him a > link to the website. > > Then I went and looked at the website. > Should have done that first. > > I see nothing on the content-free homepage that would compel me to dig > further - it rather looks like one of those catch-all web pages you > get when you mistype a url and get urged to "buy this domain". > I *am* encouraged, though, by the fact that the Kickstarter money is > being spent on nuts-and-bolts foundation work and not on a flash(tm)y > new website. > Yes, it is good that the money is going where it is; but I don't know what was wrong with the old website. And that photo of slightly vacuous teenagers is awful. Richmond. From dsc at swcp.com Sun Jun 9 13:18:32 2013 From: dsc at swcp.com (Dar Scott) Date: Sun, 9 Jun 2013 11:18:32 -0600 Subject: Polygon's share of its rectangle inconsistent? In-Reply-To: <50D91EEB-AAE4-4E51-B65E-6121C69A1158@sbcglobal.net> References: <50D91EEB-AAE4-4E51-B65E-6121C69A1158@sbcglobal.net> Message-ID: Thanks! You mentioned clockwise and counter-clockwise and I wondered if that was what was making within() return true of everywhere in the rect of the polygon (except the right and bottom edges) instead within the shape as others have seen. I tried both and within() worked as expected; I was not getting the results as before. I have no idea what the difference is. Dar On Jun 9, 2013, at 8:28 AM, Jim Hurley wrote: >> >> >> Message: 1 >> Date: Sat, 8 Jun 2013 11:06:05 -0600 >> From: Dar Scott >> To: How to use LiveCode >> Subject: Re: Polygon's share of its rectangle inconsistent? >> Message-ID: >> Content-Type: text/plain; charset=windows-1252 >> >> (Snip) >> >> I'm not sure what "singly connected" means. Does this mean a graphic can work like several graphics? >> >> Dar >> > > Hi Dar, > > The code I offered for obtaining the area within a closed, singly connected polygon relied on the sum of the areas underneath a connected series of line segments equates to the area within those segments. The area under a single line segment defined by it's end points x1,y1 and x2,y2 is given by (x2 - x1) * (y1 + y2)/2 > > The area under the "top" of the polygon (where x2 - x1) is positive) minus the area under the "bottom" (where x1 - x2 is negative) is equal to the area within. > > This presumes one moves clockwise around the polygon. Going counter-clockwise the area calculated is negative. For a symmetric, doubly connected figure, such as a figure 8, there is a clockwise segment and an equal and opposite counter-clockwise segment, resulting in zero net area. > > A figure is singly connected if it is possible to move to every point within, without crossing a line. The figure "0" is singly connected; the figure "8" is doubly connected. > > Jim > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Sun Jun 9 13:36:24 2013 From: coiin at verizon.net (Colin Holgate) Date: Sun, 09 Jun 2013 13:36:24 -0400 Subject: I'm a Happy Kickstart Camper . . . In-Reply-To: <49332229572.20130609093804@ahsoftware.net> References: <51B210A0.9070502@gmail.com> <51B225DC.8070900@hyperactivesw.com> <1370704439952-4666156.post@n4.nabble.com> <51B38CBB.8020506@hyperactivesw.com> <38554931919.20130608182925@ahsoftware.net> <51B43053.5000009@gmail.com> <49332229572.20130609093804@ahsoftware.net> Message-ID: Which website? On Jun 9, 2013, at 12:38 PM, Mark Wieder wrote: > I was talking up LiveCode to our CEO the other day and I sent him a > link to the website. From richmondmathewson at gmail.com Sun Jun 9 13:42:29 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 09 Jun 2013 20:42:29 +0300 Subject: I'm a Happy Kickstart Camper . . . In-Reply-To: References: <51B210A0.9070502@gmail.com> <51B225DC.8070900@hyperactivesw.com> <1370704439952-4666156.post@n4.nabble.com> <51B38CBB.8020506@hyperactivesw.com> <38554931919.20130608182925@ahsoftware.net> <51B43053.5000009@gmail.com> <49332229572.20130609093804@ahsoftware.net> Message-ID: <51B4BE85.9020402@gmail.com> On 06/09/2013 08:36 PM, Colin Holgate wrote: > Which website? > > On Jun 9, 2013, at 12:38 PM, Mark Wieder wrote: > >> I was talking up LiveCode to our CEO the other day and I sent him a >> link to the website. > Probably this one: http://runrev.com/ Why do I despise dumbing-down so much? Must be something about my "yoof" that encouraged me to study everything in all its wonderful complexity rather than simply skating across the surface. Richmond. From richmondmathewson at gmail.com Sun Jun 9 13:52:06 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 09 Jun 2013 20:52:06 +0300 Subject: How to circumvent RunRev's current "front end" to their website Message-ID: <51B4C0C6.7050405@gmail.com> http://www.edvista.com/claire/rev/ has all the links which RunRev has hidden away. Richmond. From mwieder at ahsoftware.net Sun Jun 9 13:51:39 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 9 Jun 2013 10:51:39 -0700 Subject: I'm a Happy Kickstart Camper . . . In-Reply-To: <51B4BE85.9020402@gmail.com> References: <51B210A0.9070502@gmail.com> <51B225DC.8070900@hyperactivesw.com> <1370704439952-4666156.post@n4.nabble.com> <51B38CBB.8020506@hyperactivesw.com> <38554931919.20130608182925@ahsoftware.net> <51B43053.5000009@gmail.com> <49332229572.20130609093804@ahsoftware.net> <51B4BE85.9020402@gmail.com> Message-ID: <1193802940.20130609105139@ahsoftware.net> Richmond- Sunday, June 9, 2013, 10:42:29 AM, you wrote: > On 06/09/2013 08:36 PM, Colin Holgate wrote: >> Which website? > Probably this one: http://runrev.com/ This one, too. http://www.livecode.com -- -Mark Wieder mwieder at ahsoftware.net From pmbrig at gmail.com Sun Jun 9 14:13:40 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sun, 9 Jun 2013 14:13:40 -0400 Subject: I'm a Happy Kickstart Camper . . . In-Reply-To: <1193802940.20130609105139@ahsoftware.net> References: <51B210A0.9070502@gmail.com> <51B225DC.8070900@hyperactivesw.com> <1370704439952-4666156.post@n4.nabble.com> <51B38CBB.8020506@hyperactivesw.com> <38554931919.20130608182925@ahsoftware.net> <51B43053.5000009@gmail.com> <49332229572.20130609093804@ahsoftware.net> <51B4BE85.9020402@gmail.com> <1193802940.20130609105139@ahsoftware.net> Message-ID: On Jun 9, 2013, at 1:51 PM, Mark Wieder wrote: > Richmond- > > Sunday, June 9, 2013, 10:42:29 AM, you wrote: > >> On 06/09/2013 08:36 PM, Colin Holgate wrote: >>> Which website? > >> Probably this one: http://runrev.com/ > > This one, too. http://www.livecode.com The livecode.com site is the real LC home page. RunRev is the company that sells LC, LC web hosting, and Typing Tutor. If you want to guide someone to LC, use http://www.livecode.com, since it gives links to "how it works," "what it does," and "who is it for," as well as the downloads page. Still has that high school girls image, however -- seems designed to sell to the "programming for the rest of us" crowd, not serious developers. If I were doing marketing I'd change that fast. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From richmondmathewson at gmail.com Sun Jun 9 14:15:09 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 09 Jun 2013 21:15:09 +0300 Subject: I'm a Happy Kickstart Camper . . . In-Reply-To: <1193802940.20130609105139@ahsoftware.net> References: <51B210A0.9070502@gmail.com> <51B225DC.8070900@hyperactivesw.com> <1370704439952-4666156.post@n4.nabble.com> <51B38CBB.8020506@hyperactivesw.com> <38554931919.20130608182925@ahsoftware.net> <51B43053.5000009@gmail.com> <49332229572.20130609093804@ahsoftware.net> <51B4BE85.9020402@gmail.com> <1193802940.20130609105139@ahsoftware.net> Message-ID: <51B4C62D.4080501@gmail.com> On 06/09/2013 08:51 PM, Mark Wieder wrote: > Richmond- > > Sunday, June 9, 2013, 10:42:29 AM, you wrote: > >> On 06/09/2013 08:36 PM, Colin Holgate wrote: >>> Which website? >> Probably this one: http://runrev.com/ > This one, too. http://www.livecode.com > "Quickly. Easily. Free." At least 2 of those words are a bit disingenuous (quite apart from the idea of dividing a series of adjectives with full-stops) I tell you what; after 6 hours with a load of 9, 10 and 11 year olds over the next 3 weeks we shall see how many of them agree with 'Quickly' or 'Easily'. Now were RunRev to describe their product like this: Livecode is an object-based programming system that allows one to see what is going on as one goes along, instead of having to stare blankly at miles of mind-numbing code. Livecode is a system that allows people who have fallen foul of traditional programming languages to develop software in a visually satisfying way that is both intuitive and yet complex. Livecode, while allowing one to develop software far more rapidly than many traditional programming languages is still both deep and broad enough to allow highly complex software to be developed. Seems that they need to get over the dumbing-down obsession that seems to have gripped Britain (and elsewhere) and stop insulting people's intelligence. Richmond. From mpetrides at earthlink.net Sun Jun 9 14:17:06 2013 From: mpetrides at earthlink.net (Marian Petrides, M.D.) Date: Sun, 9 Jun 2013 14:17:06 -0400 Subject: Looking for Mac Flow Charting Software In-Reply-To: <51B399C1.8080109@gmail.com> References: <51B38D88.4030006@hyperactivesw.com> <51B399C1.8080109@gmail.com> Message-ID: <77744922-779D-44CB-9333-8D092ACA32EC@earthlink.net> Thanks, Richmond. He found something called Diagrammix on the App Store and is trying the demo now. I was hoping someone would have firsthand knowledge of flowcharting software, either as the author of the software (in LiveCode, natch), or by having used it. If he gives me feedback on Diagrammix, I'll post it here for others to benefit from. From richmondmathewson at gmail.com Sun Jun 9 14:23:21 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 09 Jun 2013 21:23:21 +0300 Subject: I'm a Happy Kickstart Camper . . . In-Reply-To: References: <51B210A0.9070502@gmail.com> <51B225DC.8070900@hyperactivesw.com> <1370704439952-4666156.post@n4.nabble.com> <51B38CBB.8020506@hyperactivesw.com> <38554931919.20130608182925@ahsoftware.net> <51B43053.5000009@gmail.com> <49332229572.20130609093804@ahsoftware.net> <51B4BE85.9020402@gmail.com> <1193802940.20130609105139@ahsoftware.net> Message-ID: <51B4C819.5040701@gmail.com> On 06/09/2013 09:13 PM, Peter M. Brigham wrote: > On Jun 9, 2013, at 1:51 PM, Mark Wieder wrote: > >> Richmond- >> >> Sunday, June 9, 2013, 10:42:29 AM, you wrote: >> >>> On 06/09/2013 08:36 PM, Colin Holgate wrote: >>>> Which website? >>> Probably this one: http://runrev.com/ >> This one, too. http://www.livecode.com > The livecode.com site is the real LC home page. RunRev is the company that sells LC, LC web hosting, and Typing Tutor. If you want to guide someone to LC, use http://www.livecode.com, since it gives links to "how it works," "what it does," and "who is it for," as well as the downloads page. Still has that high school girls image, however -- seems designed to sell to the "programming for the rest of us" crowd, not serious developers. If I were doing marketing I'd change that fast. Frankly that High School girl really gives me the boak. Especially as she does not look like a girl who is concentrating on getting her head down to something serious, but looks as though she is sharing a "social media moment" with some of her air-headed chums. I am a lucky person insofar as I run a private language school so can weed out the "social media moment" girls and boys without lacking for serious kids, who, if they want to have social media moments are at least intelligent enough that a classroom is not the right place to have them. > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Sun Jun 9 14:25:48 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 9 Jun 2013 20:25:48 +0200 Subject: Looking for Mac Flow Charting Software In-Reply-To: <77744922-779D-44CB-9333-8D092ACA32EC@earthlink.net> References: <51B38D88.4030006@hyperactivesw.com> <51B399C1.8080109@gmail.com> <77744922-779D-44CB-9333-8D092ACA32EC@earthlink.net> Message-ID: <953ABCE3-015B-42D5-91BB-B51EC620B081@economy-x-talk.com> Hi Marian, Str?m was made with LiveCode. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 9 jun 2013, at 20:17, Marian Petrides, M.D. wrote: > Thanks, Richmond. He found something called Diagrammix on the App Store and is trying the demo now. I was hoping someone would have firsthand knowledge of flowcharting software, either as the author of the software (in LiveCode, natch), or by having used it. If he gives me feedback on Diagrammix, I'll post it here for others to benefit from. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Jun 9 14:27:10 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 09 Jun 2013 21:27:10 +0300 Subject: Looking for Mac Flow Charting Software In-Reply-To: <77744922-779D-44CB-9333-8D092ACA32EC@earthlink.net> References: <51B38D88.4030006@hyperactivesw.com> <51B399C1.8080109@gmail.com> <77744922-779D-44CB-9333-8D092ACA32EC@earthlink.net> Message-ID: <51B4C8FE.8000904@gmail.com> On 06/09/2013 09:17 PM, Marian Petrides, M.D. wrote: > Thanks, Richmond. He found something called Diagrammix on the App Store and is trying the demo now. I was hoping someone would have firsthand knowledge of flowcharting software, either as the author of the software (in LiveCode, natch), or by having used it. If he gives me feedback on Diagrammix, I'll post it here for others to benefit from. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode I have been using Xmind on and off for a bit, and it certainly does the trick for me: http://www.xmind.net/download/linux/ http://www.xmind.net/download/mac/ http://www.xmind.net/download/win/ 'Tis Free. Richmond. From mpetrides at earthlink.net Sun Jun 9 14:52:28 2013 From: mpetrides at earthlink.net (Marian Petrides, M.D.) Date: Sun, 9 Jun 2013 14:52:28 -0400 Subject: Looking for Mac Flow Charting Software In-Reply-To: <51B4C8FE.8000904@gmail.com> References: <51B38D88.4030006@hyperactivesw.com> <51B399C1.8080109@gmail.com> <77744922-779D-44CB-9333-8D092ACA32EC@earthlink.net> <51B4C8FE.8000904@gmail.com> Message-ID: Thanks, Richmond and Mark. I hadn't realize that Strom was made with LC. I passed your recommendations on to my friend. In the meanwhile, he had tried the demo version of Diagrammix and liked it enough to buy it. But just in case it doesn't meet his needs in the future, I thought he might like to hear what you all had to say. Many thanks! Marian On Jun 9, 2013, at 2:27 PM, Richmond wrote: >> > > I have been using Xmind on and off for a bit, and it certainly does the trick for me: > > http://www.xmind.net/download/linux/ > > http://www.xmind.net/download/mac/ > > http://www.xmind.net/download/win/ > > 'Tis Free. > > Richmond. > Hi Marian, Str?m was made with LiveCode. -- Best regards, Mark Schonewille From ambassador at fourthworld.com Sun Jun 9 15:14:30 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 09 Jun 2013 12:14:30 -0700 Subject: Making a bad impression on MacUpdate In-Reply-To: <1370778365058-4666182.post@n4.nabble.com> References: <1370778365058-4666182.post@n4.nabble.com> Message-ID: <51B4D416.9080506@fourthworld.com> Robert Mann wrote: > Hi ! I recently bought a soft there and took a look at Livecode.; and was a > little bit.. angry to see some harsh comments on live code, so I answered > back (Robert something) It seems to me a good idea to encourage the list to > go and add some responsible experienced views instead of fast "one-minute" > judgments that are thrown in with quite a bit of irresponsability I found. Apparently having a section titled "iOS Native Controls" in the Release Notes hasn't been clear enough to help people find info on LC's support for iOS native controls. ;) -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From livfoss at mac.com Sun Jun 9 15:17:50 2013 From: livfoss at mac.com (Graham Samuel) Date: Sun, 09 Jun 2013 21:17:50 +0200 Subject: Works in IDE, doesn't work in standalone (revisited) In-Reply-To: References: Message-ID: <241C2F6E-40C3-4D53-B106-09A2BFDC6DE9@mac.com> I am still trying to track this. Can anyone explain what prevents a tool (like the graphic tool, where the style of the graphicTemplate is set to "rectangle") actually working as the user drags the mouse across a card? I have checked the cantSelect of the card and the cantModify of the stack, and they're both false, but i have a case where I just can't get the tool to allow a drag (it creates a graphic, but one can't resize it), nor can the pointer tool select the graphics on the card, even though they can be selected by script. I just can't think what other factors are involved in stopping these tools working like they do in the IDE. I can't find anything in the LC Dictionary or the User Guide (in fact it would be hard to deduce from either of them that one can offer a user the kind of drawing tools which are present in the IDE, but that's another issue)> Any ideas, anyone? TIA Graham On 9 Jun 2013, at 12:51, Graham Samuel wrote: > Folks, I am struggling with an issue I reported before, but then I had other scripting errors making it unclear what was going on. Having now cleared these errors, I have the following situation: > > 1. I have a tools palette which permits the user to pick a graphics (vector drawing) tool such as 'rectangle' > 2. When the tool is set, the user expects to create a graphic on one of two visible cards in the program > 3. In the IDE this work perfectly. > 4. In the standalone (equally on Mac and PC), on one of the cards (the card that matters to the user), the rectangle is drawn but it's always the same size (a small square), and in fact corresponds to what happens in the IDE if you pick a graphic tool and click without dragging. Logging tests reporting the value of cantSelect for the card and reporting the firing of the newGraphic handler show that it's all working apart from the drag: but the really strange thing is that on the other visible card, the graphic creation works perfectly. The difference I know about between the cards is that one has only a single field on it, the other has a lot of graphics already. I am not trying to draw on top of the graphics in these tests, although doing so does in fact work in the IDE. > > The above shows definitively that I have done something to the 'problem' card which does not show up in the IDE but does show up in the standalone. I think this is by definition a bug, but before I attempt to report it, I would like to pin it down somehow. > > Can anyone suggest a way of finding out what's going on? I am already looking at tool selection, mouseDown, newGraphic - and I can't see anything wrong. I don't know a way of checking that the ability of the tool to grab the handles of a graphic has been inhibited, which is what seems to be happening. Maybe there's a hidden property that does this? > > TIA > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Sun Jun 9 15:31:33 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 9 Jun 2013 12:31:33 -0700 (PDT) Subject: Works in IDE, doesn't work in standalone (revisited) In-Reply-To: <241C2F6E-40C3-4D53-B106-09A2BFDC6DE9@mac.com> References: <241C2F6E-40C3-4D53-B106-09A2BFDC6DE9@mac.com> Message-ID: <1370806293099-4666205.post@n4.nabble.com> Hi Graham, Graham Samuel-4 wrote > [snip] > Any ideas, anyone? Do you have a stack to download and test? Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Works-in-IDE-doesn-t-work-in-standalone-revisited-tp4666181p4666205.html Sent from the Revolution - User mailing list archive at Nabble.com. From skip at magicgate.com Sun Jun 9 15:35:47 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Sun, 9 Jun 2013 15:35:47 -0400 Subject: What is your vote for charting? Message-ID: I need to produce some good looking charts in my app. What is your vote: Charts Engine or ChartMaker? SKIP From capellan2000 at gmail.com Sun Jun 9 15:38:18 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 9 Jun 2013 12:38:18 -0700 (PDT) Subject: stuffing a group into a database or other file In-Reply-To: References: Message-ID: <1370806698425-4666207.post@n4.nabble.com> Hi Stephen, Stephen Barncard-4 wrote > the copy command can obtain the binary image of any object, which then > resides in clipboardData[ objects] and can be stored as a custom > property > or a binary 'blob' for your db > This is what I did to create a way to export sound clips from a stack to > see if it could be done. Did you released the script that allows to export embedded sounds from stacks? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/stuffing-a-group-into-a-database-or-other-file-tp4666184p4666207.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Sun Jun 9 15:41:42 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 09 Jun 2013 14:41:42 -0500 Subject: Works in IDE, doesn't work in standalone (revisited) In-Reply-To: <241C2F6E-40C3-4D53-B106-09A2BFDC6DE9@mac.com> References: <241C2F6E-40C3-4D53-B106-09A2BFDC6DE9@mac.com> Message-ID: <51B4DA76.603@hyperactivesw.com> On 6/9/13 2:17 PM, Graham Samuel wrote: > I just can't think what other factors are involved in stopping these > tools working like they do in the IDE. I can't find anything in the > LC Dictionary or the User Guide (in fact it would be hard to deduce > from either of them that one can offer a user the kind of drawing > tools which are present in the IDE, but that's another issue)> I think the reason you aren't getting answers is because no one knows. Is the graphic inside a group? Something similar just came up in the forums recently only it was related to an image that couldn't be moved. It's a bug in the engine. In this case the problem was setting the vScrollbar of the group to true; if that was removed then it worked normally. I don't know if your problem is similar or not, but if the graphic is in a group and the one that works is not in a group, it may be related. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From skip at magicgate.com Sun Jun 9 15:50:26 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Sun, 9 Jun 2013 15:50:26 -0400 Subject: is anyone using FieldTrip Rich Text Editor In-Reply-To: <72C46F6F-30BD-47AB-8868-43886B850622@mac.com> References: <2931DAD1-EB3B-451D-8535-F74B4F4AE6BB@m-r-d.de> <72C46F6F-30BD-47AB-8868-43886B850622@mac.com> Message-ID: What version are you using? On Fri, May 24, 2013 at 8:30 AM, Thomas McGrath III wrote: > I tried using it but I kept getting "no such object" errors and this stack > is password protected in the script editor. So I am not using it. > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > On May 24, 2013, at 7:56 AM, Matthias Rebbe < > matthias_livecode_150811 at m-r-d.de> wrote: > > > Hi, > > > > is anyone on list using FieldTrip and would like to answer me some > questions about the usage? > > > > Right now i am experiencing some strange behaviour: > > 1. ftplaceToolbar places the toolbar and a field to the stack > > 2. sometimes the toolbar suddenly grays out and is not responsive > anymore (IDE and standalone) > > > > Is it just me or is anyone else noticing that behaviour? > > > > Did you manage to place only some of the FieldTrip buttons(e.g. size, > bold, italic, underline) > > to the stack instead of the whole toolbar? > > > > Regards, > > > > Matthias > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From capellan2000 at gmail.com Sun Jun 9 16:00:31 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 9 Jun 2013 13:00:31 -0700 (PDT) Subject: scrolling stack I made In-Reply-To: References: <519E6166.9090007@hyperactivesw.com> <1370571520992-4666071.post@n4.nabble.com> <6FD730DB-B832-4EE0-A9BF-6162786448C9@verizon.net> <1370577219135-4666074.post@n4.nabble.com> <1370617302340-4666093.post@n4.nabble.com> <1370654528025-4666131.post@n4.nabble.com> <012d01ce63fd$24b090f0$6e11b2d0$@net> Message-ID: <1370808031256-4666210.post@n4.nabble.com> Hi All, This the website of Ralph DiMola's Android application: https://play.google.com/store/apps/details?id=com.jewelersboard.app.sectional Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/scrolling-stack-I-made-tp4665050p4666210.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Sun Jun 9 16:28:41 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 9 Jun 2013 13:28:41 -0700 Subject: scrolling stack I made In-Reply-To: References: <6A58AF63-AA57-41CA-B65F-1F1775D54CA6@verizon.net> Message-ID: <89720050.20130609132841@ahsoftware.net> Geoff- Wednesday, May 22, 2013, 10:02:54 AM, you wrote: > Here it is adapted to use the array again. It's too bad (for this) that the > loc can't use a fractional value and just work. I thought I had a patch for the engine source that would allow this, but the parser outsmarted me (again). Still working on it. -- -Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Sun Jun 9 16:31:15 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 09 Jun 2013 13:31:15 -0700 Subject: What is your vote for charting? In-Reply-To: References: Message-ID: <51B4E613.2060402@fourthworld.com> Skip wrote: > I need to produce some good looking charts in my app. > > What is your vote: Charts Engine or ChartMaker? I don't yet have experience with either, and both developers have a good reputation for well-conceived APIs, so it may be a close call. For myself, one requirement both myself and my clients have for libraries is that we have the option to acquire a limited license for modifying the source within a proprietary work. Whether we need to modify it some some app-specific need, or just need to make an emergency bug fix for some unexpected change in the engine, being able to do so is essential for us. Curry Kenworthy has done a great job on that with licensing options for his WordLib and other libraries. He provides an option that costs a multiple of the standard usage license, and grants the licensee the right to modify the source however they may need for their work, while restricting redistribution of the library by itself so it protects his own interests as well. I recently had a correspondence with Hugh Senior (ChartMaker) on this, and while we haven't yet sealed the deal I don't think he'd mind me noting that he was receptive to the idea. I don't know if Charts Engine provides such an option, but it seems at least worth asking for. In practical terms, for a library developer it means a much larger check and a smaller support obligation, so it seems a good deal all around. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From matthias_livecode_150811 at m-r-d.de Sun Jun 9 16:43:17 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sun, 9 Jun 2013 22:43:17 +0200 Subject: is anyone using FieldTrip Rich Text Editor In-Reply-To: References: <2931DAD1-EB3B-451D-8535-F74B4F4AE6BB@m-r-d.de> <72C46F6F-30BD-47AB-8868-43886B850622@mac.com> Message-ID: <8D1CAC17-20AD-43BD-A94E-30CA1F0A9483@m-r-d.de> Hi Skip, i am not Tom, but what version do you have? I have here Beta-1a. I asked Curry what version the most current one is, but did not get an precise answer. The same with SpreadLib. Purchased both in summer 2012 and never got an update only the first beta. I will think twice in future before paying for just beta software. Btw: Does anyone have a newer version of SpreadLib than SpreadLib02001 I know Curry had some health problems in the past, so software updates could be a problem. But some more information or replies to email would have been nice. Matthias Am 09.06.2013 um 21:50 schrieb Magicgate Software - Skip Kimpel : > What version are you using? > > > On Fri, May 24, 2013 at 8:30 AM, Thomas McGrath III wrote: > >> I tried using it but I kept getting "no such object" errors and this stack >> is password protected in the script editor. So I am not using it. >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> mcgrath3 at mac.com >> >> On May 24, 2013, at 7:56 AM, Matthias Rebbe < >> matthias_livecode_150811 at m-r-d.de> wrote: >> >>> Hi, >>> >>> is anyone on list using FieldTrip and would like to answer me some >> questions about the usage? >>> >>> Right now i am experiencing some strange behaviour: >>> 1. ftplaceToolbar places the toolbar and a field to the stack >>> 2. sometimes the toolbar suddenly grays out and is not responsive >> anymore (IDE and standalone) >>> >>> Is it just me or is anyone else noticing that behaviour? >>> >>> Did you manage to place only some of the FieldTrip buttons(e.g. size, >> bold, italic, underline) >>> to the stack instead of the whole toolbar? >>> >>> Regards, >>> >>> Matthias >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Jun 9 17:03:50 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 10 Jun 2013 00:03:50 +0300 Subject: IDE colorizer Message-ID: <51B4EDB6.8090107@gmail.com> Right here: Livecode Forum/General/Off-Topic/Boring revMenubar and revTools colours this stack will change your LC 6 revMenubar and revTools stacks to a variety of colours. I have been turning my IDE stacks black for about 5 years as I find that they are easier to see like that. Richmond. From stephenREVOLUTION2 at barncard.com Sun Jun 9 17:47:29 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 9 Jun 2013 14:47:29 -0700 Subject: stuffing a group into a database or other file In-Reply-To: <1370806698425-4666207.post@n4.nabble.com> References: <1370806698425-4666207.post@n4.nabble.com> Message-ID: Damn, I'd promised it but never did it. I didn't want anyone to see the messy experimental code.... very sloppy and I made up functions that could have been handled by native code - I didn't know they existed, like BinaryDecode. I discovered that later when I was checking out (late) Mark Smith's code for his audio waveform stack. I was too ashamed of my short cuts and didn't want to re-write the thing. It was also about "protecting my secret" at first, but I don't feel that way now... anybody could have done this. It just took heaps of trial and error, I had no help from anyone. Also it was incomplete, I could only get AIF conversion to work , WAV gave me problems, so I stopped when I proved audio could be exported. The specs for AIF and WAV are out there (although parts are vague). The hardest thing was to try to understand the way Rev handled audio files of different types and sample rates and the function of the numbers at the end of the file. Audio in LiveRev is VERY basic to begin with. Sample rates limited up to 48k. Sample depth limited to 16 bit. Stereo is interleaved. No compressed format can be stored, except the really old .au format, and I failed to export those, although I spent an inordinate time investigating and trying. LiveRev stores an exact, full size binary of the audio file after the headers are stripped no matter what the source was, so to recreate the file, the appropriate headers and jump tables need to be re-created. The audio type doesn't seem to be part of the spec that is stored so that must be derived from the suffix of the name of the stored audio clip. Perhaps these are the reasons why the creators of the engine gave up on the idea of exporting. I also found you don't want to create custom properties imbedded in an audio clip, even though the engine doesn't try to prevent that; it just bungs up the audio file, sometimes disastrously! I was just about to share with the late Mark Smith, and he was excited about the prospect. We were going to collaborate when I found out he had died. Lastly there was talk about improved AV in Livecode, so I shelved the project, and the client that brought up the possibility of wanting it disappeared, so I moved on. Now that the engine is open sourced, perhaps some of the mysteries are now in the open, but how can I use knowledge of the audio system to make a commercial application using this ? Gives me a headache. I think I promised Jerry a copy but forgot if I did or not; apologies if I didn't. He was really the only other person that asked besides you, Al... I need to see if these stacks even work any more in the latest version, I haven't checked since my mom passed. I will report back. sqb On Sun, Jun 9, 2013 at 12:38 PM, Alejandro Tejada wrote: > Hi Stephen, > > > Stephen Barncard-4 wrote > > the copy command can obtain the binary image of any object, which then > > resides in clipboardData[ objects] and can be stored as a custom > > property > > or a binary 'blob' for your db > > This is what I did to create a way to export sound clips from a stack to > > see if it could be done. > > Did you released the script that allows to export > embedded sounds from stacks? > > Al > > > Stephen Barncard San Francisco Ca. USA more about sqb From livfoss at mac.com Sun Jun 9 18:08:00 2013 From: livfoss at mac.com (Graham Samuel) Date: Mon, 10 Jun 2013 00:08:00 +0200 Subject: Works in IDE, doesn't work in standalone (revisited) In-Reply-To: <51B4DA76.603@hyperactivesw.com> References: <241C2F6E-40C3-4D53-B106-09A2BFDC6DE9@mac.com> <51B4DA76.603@hyperactivesw.com> Message-ID: Thanks Jacque, it's always good to hear your advice. Sadly in this case, there isn't a group in sight, just a card with quite a bunch of images and graphics on it already, which just won't let me draw anything else on it. I keep devising different tests, but no luck so far. The drawing tools within the IDE toolbar seem pretty robust, so I am going to take a look at their scripts. I expect (as is so often true) it will turn out to be something quite trivial that I've done: but at bottom I still think it's a bug. I shan't ask the list again, but if light dawns I will come back and explain it in case anyone else gets bit. Graham On 9 Jun 2013, at 21:41, J. Landman Gay wrote: > On 6/9/13 2:17 PM, Graham Samuel wrote: > >> I just can't think what other factors are involved in stopping these >> tools working like they do in the IDE. I can't find anything in the >> LC Dictionary or the User Guide (in fact it would be hard to deduce >> from either of them that one can offer a user the kind of drawing >> tools which are present in the IDE, but that's another issue)> > > I think the reason you aren't getting answers is because no one knows. Is the graphic inside a group? Something similar just came up in the forums recently only it was related to an image that couldn't be moved. It's a bug in the engine. In this case the problem was setting the vScrollbar of the group to true; if that was removed then it worked normally. > > I don't know if your problem is similar or not, but if the graphic is in a group and the one that works is not in a group, it may be related. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Sun Jun 9 18:33:07 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 09 Jun 2013 15:33:07 -0700 Subject: Works in IDE, doesn't work in standalone (revisited) In-Reply-To: References: Message-ID: <51B502A3.7080309@fourthworld.com> Graham, do you have or can you conveniently create a reasonably simple stack that illustrates the problem which we can review? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From dochawk at gmail.com Sun Jun 9 18:37:54 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 9 Jun 2013 15:37:54 -0700 Subject: stuffing a group into a database or other file In-Reply-To: References: Message-ID: On Sun, Jun 9, 2013 at 9:41 AM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > the copy command can obtain the binary image of any object, which then > resides in clipboardData[ objects] and can be stored as a custom property > or a binary 'blob' for your db > So I would I then set the clipboardData["objects"] to revDataFromQuery(,,myDb," SELECT myBlob FROM myTable") pasete set the name of it to myGroupName ? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dsc at swcp.com Sun Jun 9 18:57:38 2013 From: dsc at swcp.com (Dar Scott) Date: Sun, 9 Jun 2013 16:57:38 -0600 Subject: Polygon's share of its rectangle inconsistent? In-Reply-To: <56E4634B-AC76-40D1-BA13-77E56478F59D@comcast.net> References: <56E4634B-AC76-40D1-BA13-77E56478F59D@comcast.net> Message-ID: <3EA097B5-C2FB-4F69-A045-558BFB0D6D66@swcp.com> I have learned a bit more. As I mentioned earlier, all of my first polygons had within() true for the entire rectangle less the right and bottom rows. I have now been able to make some right triangles that do not have this problem. However, if I make the lineSize greater than 18 (for mine) the problem comes back. It goes a way when I make the lineSize less than 18. The legs on these right triangles are 100. The area as seen by within() is definitely greater than half for 0 lineSize. It does go up with lineSize. On mine. Mapping out within() shows the diagonal being about 6 pixels wider but limited to the box one pixel smaller than the rectangle. Maybe 5, as you saw, I don't count well. It seems within() is not reliable and doesn't count well. If the rectangle for small graphics is not what you want because of the minimum rectangle, then you might need to look for the min and max of the points to get what you want. I looked at some tiny squares with smoothing on. It looks as thought the shape is drawn with the corners in the middle of pixels. As squares get bigger, something goes wrong, and I haven't looked what it is. (I suspect that if the width is greater than 8 the right and bottom smooth edge is cut off.) You might be able to track down within() issues by creating a translucent overlay image that shows what pixels are within. I had a problem with LiveCode closing polygons I left open, so I was not able to test that. I think that you might be able to test whether a polygon is singly connected. (I just learned that phrase.) But, maybe there is a better way to do a math calculation of the area. Dar On Jun 8, 2013, at 5:45 AM, David Epstein wrote: > Thanks to Dar Scott, Craig Newman, and Jim Hurley for thinking about this. I don't know why the coverage function would yield 1.0 (except for a very small graphic; see glitch described below). The Dar Scott amendment to my function--subtracting 1 from the right and bottom of the rect that I survey--is, I learned, equivalent to testing whether "pt is within the rect of grcLID"; in other words the pixels on the bottom and right edge of a graphic's rect are not counted as "within" the graphic's rect. > I tested Dar's suggestions about lineSize and borderWidth. Perhaps because I have showBorder set to false borderwidth had no effect. LineSize did affect the results of my "coverage" function, with results that are peculiar but do not solve my original puzzle (that reported "coverage" should not, but does, vary as I scale a shape). > I resorted to careful study of a very simple polygon, an isosceles right triangle with its hypotenuse toward the bottom left. This is a case where I would want my "coverage" function to return 0.5, since half of the rectangle is covered by the visible graphic. Rather amazingly, the "within(graphicLID,point)" function returned true not only for the points I expected, but for 5 additional diagonal "lines" of pixels forming a kind of border extending left and down from my visible hypotenuse. This was true both for a 10 x 10 rectangle and for a 50 x 50 rectangle. > This makes it easy to see why "coverage" seems to decline as a graphic gets bigger, since these false positive pixels are a much larger share of a small rectangle. But why is "within" returning all these false positives? I tested the "margins" property to no avail. > One further source of difficulty: > If I define a grapic?s ?points?, LC seems to impose a lower limit of 8 x 8 on its width and height. Thus while a triangle with points 0,0 10,0 10,10 0,0 has 100 pixels within its rect, defining a triangle with points 0,0 5,0 etc. results in an object with 64 -- not the expected 25 -- pixels within its rect. And almost all of those extra pixels also register as "within" the filled graphic itself, so that "coverage" gets close to 1.0. > > Jim Hurley?s function is very useful, but I was hoping to use ?within()? so that I could handle graphics that are not singly connected and closed. Is there some way to script a test for those cases? > David Epstein > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Sun Jun 9 20:06:31 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 9 Jun 2013 17:06:31 -0700 Subject: stuffing a group into a database or other file In-Reply-To: References: Message-ID: something like that.... if it were a BLOB presumably one won't have to binary encode... On Sun, Jun 9, 2013 at 3:37 PM, Dr. Hawkins wrote: > On Sun, Jun 9, 2013 at 9:41 AM, stephen barncard < > stephenREVOLUTION2 at barncard.com> wrote: > > > the copy command can obtain the binary image of any object, which then > > resides in clipboardData[ objects] and can be stored as a custom > property > > or a binary 'blob' for your db > > > > So I would I then > > set the clipboardData["objects"] to revDataFromQuery(,,myDb," SELECT > myBlob FROM myTable") > pasete > set the name of it to myGroupName > > ? > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From dfepstein at comcast.net Sun Jun 9 20:55:23 2013 From: dfepstein at comcast.net (David Epstein) Date: Sun, 9 Jun 2013 20:55:23 -0400 Subject: Polygon's share of its rectangle inconsistent? Message-ID: <7487F43D-739D-47F0-84C3-EA84C8C840A9@comcast.net> Although within(,) returns a significant number of false positives when a polygon is tested, I find that it gives much better results when testing an image. I imported a snapshot of my graphic, then ran my "coverage" function on the image rather than the graphic itself. ("coverage" reports the number of pixels that are within the object divided by the number of pixels that are within the object's rectangle). For the image, "coverage" remains quite close to constant when you resize the image, or when you resize the graphic and then import and test a new snapshot. David Epstein From jiml at netrin.com Sun Jun 9 21:20:39 2013 From: jiml at netrin.com (Jim Lambert) Date: Sun, 9 Jun 2013 18:20:39 -0700 Subject: What is your vote for charting? In-Reply-To: References: Message-ID: Skip, I own, use (albeit only occasionally) and like Charts Engine and ChartMaker. They're both well made. Each takes a different functional approach to charting and each produces somewhat different looks for their charts. They're not terrible expensive and sometimes show up in bundles, which makes them even cheaper. Having both gives you the broadest choice for tailoring charting to each particular application you're developing. Jim Lambert From dsc at swcp.com Mon Jun 10 00:30:12 2013 From: dsc at swcp.com (Dar Scott) Date: Sun, 9 Jun 2013 22:30:12 -0600 Subject: handler called before preOpenStack Message-ID: <75BBA1EE-ABCE-4494-97CE-FDBBE0F38B1E@swcp.com> I forgot the name of the handler that is called in an application before preOpenStack. "restart"? Does that still exist? Dar From scott at tactilemedia.com Mon Jun 10 01:09:59 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 09 Jun 2013 22:09:59 -0700 Subject: handler called before preOpenStack In-Reply-To: <75BBA1EE-ABCE-4494-97CE-FDBBE0F38B1E@swcp.com> Message-ID: Startup? Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 6/9/13 9:30 PM, "Dar Scott" wrote: >I forgot the name of the handler that is called in an application before >preOpenStack. "restart"? Does that still exist? > >Dar > > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Mon Jun 10 01:16:26 2013 From: dsc at swcp.com (Dar Scott) Date: Sun, 9 Jun 2013 23:16:26 -0600 Subject: handler called before preOpenStack In-Reply-To: References: Message-ID: Thanks! On Jun 9, 2013, at 11:09 PM, Scott Rossi wrote: > Startup? > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 6/9/13 9:30 PM, "Dar Scott" wrote: > >> I forgot the name of the handler that is called in an application before >> preOpenStack. "restart"? Does that still exist? >> >> Dar >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Mon Jun 10 02:48:42 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 10 Jun 2013 08:48:42 +0200 Subject: AW: AW: Where to write application data In-Reply-To: <51B21620.8090307@hyperactivesw.com> References: <315D23B1-91BD-4001-8751-6B5AD9CC63C2@semperuna.com> <004601ce637b$cc8c3130$65a49390$@de> <51B21620.8090307@hyperactivesw.com> Message-ID: <000a01ce65a6$8c018750$a40495f0$@de> Thank you Jacqueline for your clear advice! Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von J. Landman Gay > Gesendet: Freitag, 7. Juni 2013 19:19 > An: How to use LiveCode > Betreff: Re: AW: Where to write application data > > On 6/7/13 7:37 AM, Tiemo Hollmann TB wrote: > > Would "/Library/Application > > Support/MyCompany/MyAppBundleID/" also be the best place for 8GB of > > video data, though it aren't "prefence files" or where would you store > > this kind of data? > > Yes, that's where Apple wants you to store that kind of file. Anything the > app uses should go there. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Mon Jun 10 03:42:58 2013 From: livfoss at mac.com (Graham Samuel) Date: Mon, 10 Jun 2013 09:42:58 +0200 Subject: Works in IDE, doesn't work in standalone (revisited) In-Reply-To: <51B502A3.7080309@fourthworld.com> References: <51B502A3.7080309@fourthworld.com> Message-ID: <389C5CB5-E448-44E5-8955-2D434C759F0D@mac.com> Yes, Richard, I really want to do this - it's really the only way forward that makes real sense. Unfortunately it is proving difficult, since the design of this app (not originally mine) is somewhat convoluted, which means teasing out the essentials of the problem (without making it disappear along the way) is rather a long process. I suspect that, when I finally do get a repeatable sample stack, I will simultaneously be able to see what the problem really is. It's just a bit of a slog. Anyway thanks for the interest and I hope to get back to the list fairly soon. Graham On 10 Jun 2013, at 00:33, Richard Gaskin wrote: > Graham, do you have or can you conveniently create a reasonably simple stack that illustrates the problem which we can review? > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Mon Jun 10 03:45:57 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 10 Jun 2013 09:45:57 +0200 Subject: AW: AW: Where to write application data In-Reply-To: <000a01ce65a6$8c018750$a40495f0$@de> References: <315D23B1-91BD-4001-8751-6B5AD9CC63C2@semperuna.com> <004601ce637b$cc8c3130$65a49390$@de> <51B21620.8090307@hyperactivesw.com> <000a01ce65a6$8c018750$a40495f0$@de> Message-ID: <000b01ce65ae$8b7e2ce0$a27a86a0$@de> Noop, I just realized that the path in the original post was read specialFolderPath ("Home") & "..." So this is again a user based path. What I need is a application based path like specialFolderPath ("asup") & "...", But trying to create a subfolder in "asup" I get "can't create that directory" though I am logged in as an admin. What do you need to create subfolders in "asup"? Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Tiemo Hollmann TB > Gesendet: Montag, 10. Juni 2013 08:49 > An: 'How to use LiveCode' > Betreff: AW: AW: Where to write application data > > Thank you Jacqueline for your clear advice! > Tiemo > > > > -----Urspr?ngliche Nachricht----- > > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag > > von J. Landman Gay > > Gesendet: Freitag, 7. Juni 2013 19:19 > > An: How to use LiveCode > > Betreff: Re: AW: Where to write application data > > > > On 6/7/13 7:37 AM, Tiemo Hollmann TB wrote: > > > Would "/Library/Application > > > Support/MyCompany/MyAppBundleID/" also be the best place for 8GB of > > > video data, though it aren't "prefence files" or where would you > > > store this kind of data? > > > > Yes, that's where Apple wants you to store that kind of file. Anything > > the app uses should go there. > > > > -- > > Jacqueline Landman Gay | jacque at hyperactivesw.com > > HyperActive Software | http://www.hyperactivesw.com > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From janschenkel at yahoo.com Mon Jun 10 03:46:26 2013 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 10 Jun 2013 00:46:26 -0700 (PDT) Subject: Works in IDE, doesn't work in standalone (revisited) In-Reply-To: References: <241C2F6E-40C3-4D53-B106-09A2BFDC6DE9@mac.com> <51B4DA76.603@hyperactivesw.com> Message-ID: <1370850386.7967.YahooMailNeo@web141102.mail.bf1.yahoo.com> Hi Graham, Do you reset the templateGraphic before choosing the graphic tool? Can you check if the lockLocation of the templateGraphic is true by any chance? We'll get it sorted out, I'm sure :-) Jan Schenkel. ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time."??(La Rochefoucauld) >________________________________ > From: Graham Samuel >To: How to use LiveCode >Sent: Monday, June 10, 2013 12:08 AM >Subject: Re: Works in IDE, doesn't work in standalone (revisited) > > >Thanks Jacque, it's always good to hear your advice. Sadly in this case, there isn't a group in sight, just a card with quite a bunch of images and graphics on it already, which just won't let me draw anything else on it. > >I keep devising different tests, but no luck so far. The drawing tools within the IDE toolbar seem pretty robust, so I am going to take a look at their scripts. I expect (as is so often true) it will turn out to be something quite trivial that I've done: but at bottom I still think it's a bug. > >I shan't ask the list again, but if light dawns I will come back and explain it in case anyone else gets bit. > >Graham > From livfoss at mac.com Mon Jun 10 05:24:37 2013 From: livfoss at mac.com (Graham Samuel) Date: Mon, 10 Jun 2013 11:24:37 +0200 Subject: Works in IDE, doesn't work in standalone (revisited) In-Reply-To: <1370850386.7967.YahooMailNeo@web141102.mail.bf1.yahoo.com> References: <241C2F6E-40C3-4D53-B106-09A2BFDC6DE9@mac.com> <51B4DA76.603@hyperactivesw.com> <1370850386.7967.YahooMailNeo@web141102.mail.bf1.yahoo.com> Message-ID: Thanks for that Jan. I checked the lockLocation of the templateGraphic and it's off, as it should be. Anyway the chosen graphic tool works on cards on other stacks, just not on the one I want it to work on, so to that extent the templateGraphic must be OK. I could go on about this, but I feel honour bound not to waste any more bandwidth. Cheers Graham On 10 Jun 2013, at 09:46, Jan Schenkel wrote: > Hi Graham, > > Do you reset the templateGraphic before choosing the graphic tool? > Can you check if the lockLocation of the templateGraphic is true by any chance? > > > We'll get it sorted out, I'm sure :-) > > Jan Schenkel. > > ===== > Quartam Reports & PDF Library for LiveCode > www.quartam.com > > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) > > >> ________________________________ >> From: Graham Samuel >> To: How to use LiveCode >> Sent: Monday, June 10, 2013 12:08 AM >> Subject: Re: Works in IDE, doesn't work in standalone (revisited) >> >> >> Thanks Jacque, it's always good to hear your advice. Sadly in this case, there isn't a group in sight, just a card with quite a bunch of images and graphics on it already, which just won't let me draw anything else on it. >> >> I keep devising different tests, but no luck so far. The drawing tools within the IDE toolbar seem pretty robust, so I am going to take a look at their scripts. I expect (as is so often true) it will turn out to be something quite trivial that I've done: but at bottom I still think it's a bug. >> >> I shan't ask the list again, but if light dawns I will come back and explain it in case anyone else gets bit. >> >> Graham >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From janschenkel at yahoo.com Mon Jun 10 05:29:57 2013 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 10 Jun 2013 02:29:57 -0700 (PDT) Subject: Works in IDE, doesn't work in standalone (revisited) In-Reply-To: References: <241C2F6E-40C3-4D53-B106-09A2BFDC6DE9@mac.com> <51B4DA76.603@hyperactivesw.com> <1370850386.7967.YahooMailNeo@web141102.mail.bf1.yahoo.com> Message-ID: <1370856597.58459.YahooMailNeo@web141106.mail.bf1.yahoo.com> Is there a 'newGraphic' message handler involved by any chance? Jan Schenkel. ? ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) ----- Original Message ----- > From: Graham Samuel > To: How to use LiveCode > Cc: > Sent: Monday, June 10, 2013 11:24 AM > Subject: Re: Works in IDE, doesn't work in standalone (revisited) > >T hanks for that Jan. I checked the lockLocation of the templateGraphic and > it's off, as it should be. Anyway the chosen graphic tool works on cards on > other stacks, just not on the one I want it to work on, so to that extent the > templateGraphic must be OK. I could go on about this, but I feel honour bound > not to waste any more bandwidth. > > Cheers > > Graham > From livfoss at mac.com Mon Jun 10 06:55:41 2013 From: livfoss at mac.com (Graham Samuel) Date: Mon, 10 Jun 2013 12:55:41 +0200 Subject: Works in IDE, doesn't work in standalone (revisited) In-Reply-To: <1370856597.58459.YahooMailNeo@web141106.mail.bf1.yahoo.com> References: <241C2F6E-40C3-4D53-B106-09A2BFDC6DE9@mac.com> <51B4DA76.603@hyperactivesw.com> <1370850386.7967.YahooMailNeo@web141102.mail.bf1.yahoo.com> <1370856597.58459.YahooMailNeo@web141106.mail.bf1.yahoo.com> Message-ID: <03D5B7DB-9DD0-4371-AB8B-ABCF5C607BF1@mac.com> Yep There is just one 'newGraphic' handler, in the script of a mainstack which is acting as a library. All it does is log information like the cantSelect of objects - logging is just putting text into a field somewhere. When I comment it out, the program behaves as before; BUT I also have a 'newTool' handler in the same place which makes sure that the cantSelect of the card and some other objects is set to false, and the cantModify of the stack is also set to false; and if I comment that out, the tool won't even draw the little graphics that it was allowing before (although the graphic tool, like the pointer tool, still works on another card). So we may be getting somewhere. Thanks so much for your interest Graham On 10 Jun 2013, at 11:29, Jan Schenkel wrote: > Is there a 'newGraphic' message handler involved by any chance? > > > Jan Schenkel. > > > ===== > Quartam Reports & PDF Library for LiveCode > www.quartam.com > > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) > > > ----- Original Message ----- >> From: Graham Samuel >> To: How to use LiveCode >> Cc: >> Sent: Monday, June 10, 2013 11:24 AM >> Subject: Re: Works in IDE, doesn't work in standalone (revisited) >> >> T hanks for that Jan. I checked the lockLocation of the templateGraphic and >> it's off, as it should be. Anyway the chosen graphic tool works on cards on >> other stacks, just not on the one I want it to work on, so to that extent the >> templateGraphic must be OK. I could go on about this, but I feel honour bound >> not to waste any more bandwidth. >> >> Cheers >> >> Graham >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From me at paulmaguire.me Mon Jun 10 07:49:38 2013 From: me at paulmaguire.me (Paul Maguire) Date: Mon, 10 Jun 2013 12:49:38 +0100 Subject: Successful recipe for LC iPhone apps... In-Reply-To: References: <0834743A-6CF2-4CCC-9812-1FCDE5D6F668@paulmaguire.me> <1A9F810C-E55E-4599-A9FC-75AF646A0C19@paulmaguire.me> Message-ID: Hey Chip. On 8 Jun 2013, at 01:41, Chipp Walters wrote: > btw, there have been some mods made lately to altMobileResizer. Just press > the update button. Thanks! Your code really helped me get an understanding of how to build my first multi-platform res-independent app. Kind regards, Paul. From me at paulmaguire.me Mon Jun 10 08:05:46 2013 From: me at paulmaguire.me (Paul Maguire) Date: Mon, 10 Jun 2013 13:05:46 +0100 Subject: [OT] What's happening here in Turkey... In-Reply-To: <51B4A074.2040807@gmail.com> References: <7C753195056842ABB6D3833480768459@gmail.com> <11D1DD0756094E67967289F5A05541F6@gmail.com> <51B11DAB.1030808@hyperactivesw.com> <42EA89408B8C4F6E9E70A58E370AB1D8@gmail.com> <51B20E47.5030807@gmail.com> <02FB7329-A8A4-4020-8843-B3EC62B3FC9E@semperuna.com> <1189B6B4FDCE4648BA20A2A19C484C6E@gmail.com> <2ED968FDE7294571BD2CF374C37C852A@gmail.com> <1370666214112-4666141.post@n4.nabble.com> <352999C3656246F299F514EC8635F448@gmail.com> <51B39EC9.80102@gmail.com> <22857C7E-7447-4A2F-BCDD-B8C389ADD798@paulmaguire.me> <51B4A074.2040807@gmail.com> Message-ID: <25C8508D-7B80-4ECB-B50E-5C1B4BA40D26@paulmaguire.me> On 9 Jun 2013, at 16:34, Richmond wrote: >> And it must be stopped. > > And why, forbye? Because it's delusional affectation of the highest order. And rather silly. And there shall be no silliness here, for this is a place where silliness has no abode. > If you think that I am going to apologise that I went to a public school you've got > another thing coming. I went to a private secondary school taught by Jesuit ex-Oxford dons. Wasn't too bad - I had the pleasure of being taught Latin and Ancient Greek, unlike many of my unfortunate contemporaries, alas. > The fact that most Mummies and Daddies who did not send their little sprogs to public school was only because they couldn't stump up > the moolah, or the sprogs were too thick to pass a scholarship exam, or they suffered from Tony Benn disease is conveniently overlooked. > > To which it is time to cry "Top Hole, Old Bean" and make the best of the advantages God, one's filthy rich parents or a scholarship gave one! You're making this up 'innit? You're actually sitting in your underpants in a council estate in Leith, about to nip out to the local Spar for a Pot Noodle for lunch. 'Nuff. From mcgrath3 at mac.com Mon Jun 10 08:55:42 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 10 Jun 2013 08:55:42 -0400 Subject: I'm a Happy Kickstart Camper . . . In-Reply-To: <1193802940.20130609105139@ahsoftware.net> References: <51B210A0.9070502@gmail.com> <51B225DC.8070900@hyperactivesw.com> <1370704439952-4666156.post@n4.nabble.com> <51B38CBB.8020506@hyperactivesw.com> <38554931919.20130608182925@ahsoftware.net> <51B43053.5000009@gmail.com> <49332229572.20130609093804@ahsoftware.net> <51B4BE85.9020402@gmail.com> <1193802940.20130609105139@ahsoftware.net> Message-ID: The runrev.com site is a responsive site that scales to mobile proportions but the livecode.com site is not responsive. It's like they hired two different companies to build them. Interesting. -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jun 9, 2013, at 1:51 PM, Mark Wieder wrote: > Richmond- > > Sunday, June 9, 2013, 10:42:29 AM, you wrote: > >> On 06/09/2013 08:36 PM, Colin Holgate wrote: >>> Which website? > >> Probably this one: http://runrev.com/ > > This one, too. http://www.livecode.com > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Mon Jun 10 09:23:42 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 10 Jun 2013 09:23:42 -0400 Subject: is anyone using FieldTrip Rich Text Editor In-Reply-To: <8D1CAC17-20AD-43BD-A94E-30CA1F0A9483@m-r-d.de> References: <2931DAD1-EB3B-451D-8535-F74B4F4AE6BB@m-r-d.de> <72C46F6F-30BD-47AB-8868-43886B850622@mac.com> <8D1CAC17-20AD-43BD-A94E-30CA1F0A9483@m-r-d.de> Message-ID: <0B5735BE-0A55-4FED-89CB-4DD18001FED6@mac.com> I have version 1.0 -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jun 9, 2013, at 4:43 PM, Matthias Rebbe wrote: > Hi Skip, > > i am not Tom, but what version do you have? I have here Beta-1a. > > I asked Curry what version the most current one is, but did not get an precise answer. > > The same with SpreadLib. > > Purchased both in summer 2012 and never got an update only the first beta. > > I will think twice in future before paying for just beta software. > > Btw: Does anyone have a newer version of SpreadLib than SpreadLib02001 > > I know Curry had some health problems in the past, so software updates could be a problem. But some more information or > replies to email would have been nice. > > Matthias > > > Am 09.06.2013 um 21:50 schrieb Magicgate Software - Skip Kimpel : > >> What version are you using? >> >> >> On Fri, May 24, 2013 at 8:30 AM, Thomas McGrath III wrote: >> >>> I tried using it but I kept getting "no such object" errors and this stack >>> is password protected in the script editor. So I am not using it. >>> >>> -- Tom McGrath III >>> http://lazyriver.on-rev.com >>> mcgrath3 at mac.com >>> >>> On May 24, 2013, at 7:56 AM, Matthias Rebbe < >>> matthias_livecode_150811 at m-r-d.de> wrote: >>> >>>> Hi, >>>> >>>> is anyone on list using FieldTrip and would like to answer me some >>> questions about the usage? >>>> >>>> Right now i am experiencing some strange behaviour: >>>> 1. ftplaceToolbar places the toolbar and a field to the stack >>>> 2. sometimes the toolbar suddenly grays out and is not responsive >>> anymore (IDE and standalone) >>>> >>>> Is it just me or is anyone else noticing that behaviour? >>>> >>>> Did you manage to place only some of the FieldTrip buttons(e.g. size, >>> bold, italic, underline) >>>> to the stack instead of the whole toolbar? >>>> >>>> Regards, >>>> >>>> Matthias >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From skip at magicgate.com Mon Jun 10 09:52:59 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Mon, 10 Jun 2013 09:52:59 -0400 Subject: is anyone using FieldTrip Rich Text Editor In-Reply-To: <0B5735BE-0A55-4FED-89CB-4DD18001FED6@mac.com> References: <2931DAD1-EB3B-451D-8535-F74B4F4AE6BB@m-r-d.de> <72C46F6F-30BD-47AB-8868-43886B850622@mac.com> <8D1CAC17-20AD-43BD-A94E-30CA1F0A9483@m-r-d.de> <0B5735BE-0A55-4FED-89CB-4DD18001FED6@mac.com> Message-ID: Beta 1a here. Tom, you have a non-beta version??? On Mon, Jun 10, 2013 at 9:23 AM, Thomas McGrath III wrote: > I have version 1.0 > > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > On Jun 9, 2013, at 4:43 PM, Matthias Rebbe < > matthias_livecode_150811 at m-r-d.de> wrote: > > > Hi Skip, > > > > i am not Tom, but what version do you have? I have here Beta-1a. > > > > I asked Curry what version the most current one is, but did not get an > precise answer. > > > > The same with SpreadLib. > > > > Purchased both in summer 2012 and never got an update only the first > beta. > > > > I will think twice in future before paying for just beta software. > > > > Btw: Does anyone have a newer version of SpreadLib than SpreadLib02001 > > > > I know Curry had some health problems in the past, so software updates > could be a problem. But some more information or > > replies to email would have been nice. > > > > Matthias > > > > > > Am 09.06.2013 um 21:50 schrieb Magicgate Software - Skip Kimpel < > skip at magicgate.com>: > > > >> What version are you using? > >> > >> > >> On Fri, May 24, 2013 at 8:30 AM, Thomas McGrath III >wrote: > >> > >>> I tried using it but I kept getting "no such object" errors and this > stack > >>> is password protected in the script editor. So I am not using it. > >>> > >>> -- Tom McGrath III > >>> http://lazyriver.on-rev.com > >>> mcgrath3 at mac.com > >>> > >>> On May 24, 2013, at 7:56 AM, Matthias Rebbe < > >>> matthias_livecode_150811 at m-r-d.de> wrote: > >>> > >>>> Hi, > >>>> > >>>> is anyone on list using FieldTrip and would like to answer me some > >>> questions about the usage? > >>>> > >>>> Right now i am experiencing some strange behaviour: > >>>> 1. ftplaceToolbar places the toolbar and a field to the stack > >>>> 2. sometimes the toolbar suddenly grays out and is not responsive > >>> anymore (IDE and standalone) > >>>> > >>>> Is it just me or is anyone else noticing that behaviour? > >>>> > >>>> Did you manage to place only some of the FieldTrip buttons(e.g. size, > >>> bold, italic, underline) > >>>> to the stack instead of the whole toolbar? > >>>> > >>>> Regards, > >>>> > >>>> Matthias > >>>> > >>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From skip at magicgate.com Mon Jun 10 09:58:16 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Mon, 10 Jun 2013 09:58:16 -0400 Subject: stuffing a group into a database or other file In-Reply-To: References: Message-ID: Would this be, by chance, be a good case for Andre's *Data Storage Lib?* ** *SKIP* On Sun, Jun 9, 2013 at 8:06 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > something like that.... if it were a BLOB presumably one won't have to > binary encode... > > > On Sun, Jun 9, 2013 at 3:37 PM, Dr. Hawkins wrote: > > > On Sun, Jun 9, 2013 at 9:41 AM, stephen barncard < > > stephenREVOLUTION2 at barncard.com> wrote: > > > > > the copy command can obtain the binary image of any object, which then > > > resides in clipboardData[ objects] and can be stored as a custom > > property > > > or a binary 'blob' for your db > > > > > > > So I would I then > > > > set the clipboardData["objects"] to revDataFromQuery(,,myDb," SELECT > > myBlob FROM myTable") > > pasete > > set the name of it to myGroupName > > > > ? > > > > -- > > Dr. Richard E. Hawkins, Esq. > > (702) 508-8462 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mcgrath3 at mac.com Mon Jun 10 10:25:48 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 10 Jun 2013 10:25:48 -0400 Subject: is anyone using FieldTrip Rich Text Editor In-Reply-To: References: <2931DAD1-EB3B-451D-8535-F74B4F4AE6BB@m-r-d.de> <72C46F6F-30BD-47AB-8868-43886B850622@mac.com> <8D1CAC17-20AD-43BD-A94E-30CA1F0A9483@m-r-d.de> <0B5735BE-0A55-4FED-89CB-4DD18001FED6@mac.com> Message-ID: <5CB1F051-DF47-40F5-B1C8-5DC5B0A8FB6C@mac.com> No, inside the plugin stack it says 1.0 but the folder name and test stack says beta 1 -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jun 10, 2013, at 9:52 AM, Magicgate Software - Skip Kimpel wrote: > Beta 1a here. Tom, you have a non-beta version??? > > > > On Mon, Jun 10, 2013 at 9:23 AM, Thomas McGrath III wrote: > >> I have version 1.0 >> >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> mcgrath3 at mac.com >> >> On Jun 9, 2013, at 4:43 PM, Matthias Rebbe < >> matthias_livecode_150811 at m-r-d.de> wrote: >> >>> Hi Skip, >>> >>> i am not Tom, but what version do you have? I have here Beta-1a. >>> >>> I asked Curry what version the most current one is, but did not get an >> precise answer. >>> >>> The same with SpreadLib. >>> >>> Purchased both in summer 2012 and never got an update only the first >> beta. >>> >>> I will think twice in future before paying for just beta software. >>> >>> Btw: Does anyone have a newer version of SpreadLib than SpreadLib02001 >>> >>> I know Curry had some health problems in the past, so software updates >> could be a problem. But some more information or >>> replies to email would have been nice. >>> >>> Matthias >>> >>> >>> Am 09.06.2013 um 21:50 schrieb Magicgate Software - Skip Kimpel < >> skip at magicgate.com>: >>> >>>> What version are you using? >>>> >>>> >>>> On Fri, May 24, 2013 at 8:30 AM, Thomas McGrath III >> wrote: >>>> >>>>> I tried using it but I kept getting "no such object" errors and this >> stack >>>>> is password protected in the script editor. So I am not using it. >>>>> >>>>> -- Tom McGrath III >>>>> http://lazyriver.on-rev.com >>>>> mcgrath3 at mac.com >>>>> >>>>> On May 24, 2013, at 7:56 AM, Matthias Rebbe < >>>>> matthias_livecode_150811 at m-r-d.de> wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> is anyone on list using FieldTrip and would like to answer me some >>>>> questions about the usage? >>>>>> >>>>>> Right now i am experiencing some strange behaviour: >>>>>> 1. ftplaceToolbar places the toolbar and a field to the stack >>>>>> 2. sometimes the toolbar suddenly grays out and is not responsive >>>>> anymore (IDE and standalone) >>>>>> >>>>>> Is it just me or is anyone else noticing that behaviour? >>>>>> >>>>>> Did you manage to place only some of the FieldTrip buttons(e.g. size, >>>>> bold, italic, underline) >>>>>> to the stack instead of the whole toolbar? >>>>>> >>>>>> Regards, >>>>>> >>>>>> Matthias >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at 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 at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Mon Jun 10 10:34:37 2013 From: curry at pair.com (Curry Kenworthy) Date: Mon, 10 Jun 2013 09:34:37 -0500 Subject: is anyone using FieldTrip Rich Text Editor In-Reply-To: References: Message-ID: <51B5E3FD.8080907@pair.com> Howdy, The current versions are: FieldTrip: Beta 1a (Jan 16, 2013) SpreadLib: 0.2.001 (Apr 17, 2013) As I mentioned to Matthias, I'll be working on FieldTrip again shortly to make a round of changes and look into two issues he brought to my attention. SpreadLib will be reaching 1.0 soon. (The current beta features are powerful and equivalent to most 1.0 products, but I like to give products beta time and ensure that the gold release is top notch.) Current focus is the rollout of WordLib 2.0, which is already completed and will be showing up on the Marketplace soon! Best wishes, Curry K. From skip at magicgate.com Mon Jun 10 10:55:14 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Mon, 10 Jun 2013 10:55:14 -0400 Subject: is anyone using FieldTrip Rich Text Editor In-Reply-To: <51B5E3FD.8080907@pair.com> References: <51B5E3FD.8080907@pair.com> Message-ID: Thank's Curry! SKIP On Mon, Jun 10, 2013 at 10:34 AM, Curry Kenworthy wrote: > > Howdy, > > The current versions are: > > FieldTrip: Beta 1a (Jan 16, 2013) > > > > > SpreadLib: 0.2.001 (Apr 17, 2013) > > > > > As I mentioned to Matthias, I'll be working on FieldTrip again shortly to > make a round of changes and look into two issues he brought to my attention. > > SpreadLib will be reaching 1.0 soon. (The current beta features are > powerful and equivalent to most 1.0 products, but I like to give products > beta time and ensure that the gold release is top notch.) > > Current focus is the rollout of WordLib 2.0, which is already completed > and will be showing up on the Marketplace soon! > > Best wishes, > > Curry K. > > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From matthias_livecode_150811 at m-r-d.de Mon Jun 10 11:03:55 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 10 Jun 2013 17:03:55 +0200 Subject: is anyone using FieldTrip Rich Text Editor In-Reply-To: <51B5E3FD.8080907@pair.com> References: <51B5E3FD.8080907@pair.com> Message-ID: Curry, just for your information: The spreadlib.rev in the Spreadlib02001.zip is dated 30th october 2012 not 17th april 2013. Regards, Matthias Am 10.06.2013 um 16:34 schrieb Curry Kenworthy : > > Howdy, > > The current versions are: > > FieldTrip: Beta 1a (Jan 16, 2013) > > > SpreadLib: 0.2.001 (Apr 17, 2013) > > > As I mentioned to Matthias, I'll be working on FieldTrip again shortly to make a round of changes and look into two issues he brought to my attention. > > SpreadLib will be reaching 1.0 soon. (The current beta features are powerful and equivalent to most 1.0 products, but I like to give products beta time and ensure that the gold release is top notch.) > > Current focus is the rollout of WordLib 2.0, which is already completed and will be showing up on the Marketplace soon! > > Best wishes, > > Curry K. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvg at mac.com Mon Jun 10 11:24:19 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Mon, 10 Jun 2013 17:24:19 +0200 Subject: preparing a stack for printing Message-ID: Hi I'm trying to print a kind of report, and am weirded out by all the different rectangles and widths that are available (printRectangle, printPaperRectangle, printPaperSize, printMargins, etc.) All I want is the printable area, so I can set the width and height of my stack to that amount, then print the first card. It seems that the below lines produce an approximation amount, but it's not completely correct. The approach also so weirdly backwards and roundabout! I guess my question is, isn't there any way to get the same or a better result more easily? put item 3 of the printRectangle - item 1 of the PrintRectangle - item 1 of the printMargins - item 3 of the printMargins into myEffectivePrintWidth put item 4 of the printRectangle - item 2 of the PrintRectangle - item 2 of the printMargins - item 4 of the printMargins into myEffectivePrintHeight -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From curry at pair.com Mon Jun 10 11:47:34 2013 From: curry at pair.com (Curry Kenworthy) Date: Mon, 10 Jun 2013 10:47:34 -0500 Subject: is anyone using FieldTrip Rich Text Editor In-Reply-To: References: Message-ID: <51B5F516.2070104@pair.com> > dated 30th october 2012 not 17th april 2013. Crikey! FTP reupload date. CK From skip at magicgate.com Mon Jun 10 11:51:52 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Mon, 10 Jun 2013 11:51:52 -0400 Subject: is anyone using FieldTrip Rich Text Editor In-Reply-To: <51B5F516.2070104@pair.com> References: <51B5F516.2070104@pair.com> Message-ID: So does that mean there is something newer to play with? On Mon, Jun 10, 2013 at 11:47 AM, Curry Kenworthy wrote: > dated 30th october 2012 not 17th april 2013. >> > > Crikey! FTP reupload date. > > CK > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Mon Jun 10 12:02:09 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 10 Jun 2013 09:02:09 -0700 Subject: Works in IDE, doesn't work in standalone (revisited) In-Reply-To: <03D5B7DB-9DD0-4371-AB8B-ABCF5C607BF1@mac.com> References: <241C2F6E-40C3-4D53-B106-09A2BFDC6DE9@mac.com> <51B4DA76.603@hyperactivesw.com> <1370850386.7967.YahooMailNeo@web141102.mail.bf1.yahoo.com> <1370856597.58459.YahooMailNeo@web141106.mail.bf1.yahoo.com> <03D5B7DB-9DD0-4371-AB8B-ABCF5C607BF1@mac.com> Message-ID: <8242081410.20130610090209@ahsoftware.net> Graham- Monday, June 10, 2013, 3:55:41 AM, you wrote: > There is just one 'newGraphic' handler, in the script of a > mainstack which is acting as a library. All it does is log > information like the cantSelect of objects - logging is just putting > text into a field somewhere. When I comment it out, the program Are you passing the newGraphic message along after you process it? -- -Mark Wieder mwieder at ahsoftware.net From dochawk at gmail.com Mon Jun 10 12:29:52 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 10 Jun 2013 09:29:52 -0700 Subject: stuffing a group into a database or other file In-Reply-To: References: Message-ID: On Mon, Jun 10, 2013 at 6:58 AM, Magicgate Software - Skip Kimpel < skip at magicgate.com> wrote: > Would this be, by chance, be a good case for Andre's *Data Storage Lib?* > It doesn't look like it--I'll already be using a database, and providing updates to client's databases, so I want things to live in those databases, not extra files. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From curry at pair.com Mon Jun 10 12:30:30 2013 From: curry at pair.com (Curry Kenworthy) Date: Mon, 10 Jun 2013 11:30:30 -0500 Subject: is anyone using FieldTrip Rich Text Editor In-Reply-To: References: Message-ID: <51B5FF26.3000005@pair.com> > So does that mean there is something newer to play with? There will be soon! If a few people would like to try release candidates a couple of weeks ahead of official releases, while platform testing and documentation/demo changes are still underway, let me know offlist. WordLib is already out the door, but WordOut, SpreadLib, SpreadOut, WordReport, and FieldTrip are all due for updates and/or official releases soon. Can't guarantee which one will come first, and I'd like to keep private testing to a limited number of people, so best case is if you're interested in more than one of the above! If so, just let me know which products and which platforms you want to try them on. Best wishes, Curry K. From matthias_livecode_150811 at m-r-d.de Mon Jun 10 12:32:30 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 10 Jun 2013 18:32:30 +0200 Subject: is anyone using FieldTrip Rich Text Editor In-Reply-To: <51B5F516.2070104@pair.com> References: <51B5F516.2070104@pair.com> Message-ID: <0310D572-FD75-48A3-9C07-4A28E907BBF8@m-r-d.de> Curry, it?s not the date of the zip file. I meant the date of the file "spreadlib.rev" inside the Zip. Am 10.06.2013 um 17:47 schrieb Curry Kenworthy : >> dated 30th october 2012 not 17th april 2013. > > Crikey! FTP reupload date. > > CK > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon Jun 10 12:32:50 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 10 Jun 2013 19:32:50 +0300 Subject: [OT] What's happening here in Turkey... In-Reply-To: <25C8508D-7B80-4ECB-B50E-5C1B4BA40D26@paulmaguire.me> References: <7C753195056842ABB6D3833480768459@gmail.com> <11D1DD0756094E67967289F5A05541F6@gmail.com> <51B11DAB.1030808@hyperactivesw.com> <42EA89408B8C4F6E9E70A58E370AB1D8@gmail.com> <51B20E47.5030807@gmail.com> <02FB7329-A8A4-4020-8843-B3EC62B3FC9E@semperuna.com> <1189B6B4FDCE4648BA20A2A19C484C6E@gmail.com> <2ED968FDE7294571BD2CF374C37C852A@gmail.com> <1370666214112-4666141.post@n4.nabble.com> <352999C3656246F299F514EC8635F448@gmail.com> <51B39EC9.80102@gmail.com> <22857C7E-7447-4A2F-BCDD-B8C389ADD798@paulmaguire.me> <51B4A074.2040807@gmail.com> <25C8508D-7B80-4ECB-B50E-5C1B4BA40D26@paulmaguire.me> Message-ID: <51B5FFB2.7070305@gmail.com> On 06/10/2013 03:05 PM, Paul Maguire wrote: > On 9 Jun 2013, at 16:34, Richmond wrote: >>> And it must be stopped. >> And why, forbye? > Because it's delusional affectation of the highest order. And rather silly. And there shall be no silliness here, for this is a place where silliness has no abode. > >> If you think that I am going to apologise that I went to a public school you've got >> another thing coming. > I went to a private secondary school taught by Jesuit ex-Oxford dons. Wasn't too bad - I had the pleasure of being taught Latin and Ancient Greek, unlike many of my unfortunate contemporaries, alas. > >> The fact that most Mummies and Daddies who did not send their little sprogs to public school was only because they couldn't stump up >> the moolah, or the sprogs were too thick to pass a scholarship exam, or they suffered from Tony Benn disease is conveniently overlooked. >> >> To which it is time to cry "Top Hole, Old Bean" and make the best of the advantages God, one's filthy rich parents or a scholarship gave one! > You're making this up 'innit? You're actually sitting in your underpants in a council estate in Leith, about to nip out to the local Spar for a Pot Noodle for lunch. No, I'm not; but I am sitting in a top-floor flat in Bulgaria. > > 'Nuff. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Mon Jun 10 13:27:51 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 10 Jun 2013 10:27:51 -0700 Subject: [OT] Google Drive and Stack Files Message-ID: Wondering if anyone has used Google drive to store their stack files. I've had my stack files on Google Drive for quite a while but until the last few days have always accessed them from the same computer. Recently, I've been accessing a stack file from a different computer for , with my usual computer powered off. On the second computer, all looks fine in my Google Drive folder, but now on my normal computer, I see many versions of the stack file each with a number in parens after the name, and the correctly named stack file doesn't have any of the changes I've made in the last few days. I'm pretty sure the highest numbered of these files has all the changes I've made in it so I can recover from this but wondering if anyone can shed any light on why this might have happened. Pete lcSQL Software From dochawk at gmail.com Mon Jun 10 14:43:16 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 10 Jun 2013 11:43:16 -0700 Subject: finding hte position in the field when backspaceKey hit Message-ID: I'm handling backspaceKey (and others) in a combobox. by the time it is hit, another field will be displayed nearby. After the handler, in which the label is reset (I need the label changed for handling before giving up control, so I can't pass the message to get it done), the cursor is placed at the beginning, rather than the end, of the combobox. I could assume that the last character was deleted, but is there a way to store the cursor position in the field, so that I can move it to one before? It seems to me that it should be a selectedSomething, or (to my thinking) a cursor property, but I can't find anything in the ictionary. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From devin_asay at byu.edu Mon Jun 10 14:49:09 2013 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 10 Jun 2013 18:49:09 +0000 Subject: finding hte position in the field when backspaceKey hit In-Reply-To: References: Message-ID: <38211535-7AAE-427F-B774-C8A6F962D967@byu.edu> On Jun 10, 2013, at 12:43 PM, Dr. Hawkins wrote: > I'm handling backspaceKey (and others) in a combobox. by the time it is > hit, another field will be displayed nearby. > > After the handler, in which the label is reset (I need the label changed > for handling before giving up control, so I can't pass the message to get > it done), the cursor is placed at the beginning, rather than the end, of > the combobox. > > I could assume that the last character was deleted, but is there a way to > store the cursor position in the field, so that I can move it to one > before? It seems to me that it should be a selectedSomething, or (to my > thinking) a cursor property, but I can't find anything in the dictionary. Richard, Did you try the selectedChunk? Devin Devin Asay Office of Digital Humanities Brigham Young University From dochawk at gmail.com Mon Jun 10 14:49:20 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 10 Jun 2013 11:49:20 -0700 Subject: working with unicodeFormattedText Message-ID: I'm still wrapping my head around this. If I have non-unicode, should I be able to write, put the unicodeFormattedText of fld "myField" into myData I'm doing this before working with the database, but I still get ERROR: invalid byte sequence for encoding "UTF8": 0xd0 0x20 -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From MikeKerner at roadrunner.com Mon Jun 10 15:30:43 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 10 Jun 2013 15:30:43 -0400 Subject: Multitasking Comes to iOS, Time for LC to make it better Message-ID: Well, now that we are going to get multitasking, I would love to see some new tweaks from LC so we can take advantage, like, for example, being able to push data updates live, while the device's owner is doing something less, umm, productive. -- 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." From dsc at swcp.com Mon Jun 10 15:37:38 2013 From: dsc at swcp.com (Dar Scott) Date: Mon, 10 Jun 2013 13:37:38 -0600 Subject: working with unicodeFormattedText In-Reply-To: References: Message-ID: That sequence is not really invalid UTF-8. NUL-SPACE is valid in a strict sense, just unlikely. However, it does look very much like UTF-16BE. You need to convert this to UTF-8 using uniDecode(). The property unicodeFormattedText will give you UTF-16 in native ordering. (And unicodeFormattedText will insert extra line-ends. If you don't want that, use unicodeText.) Dar On Jun 10, 2013, at 12:49 PM, Dr. Hawkins wrote: > I'm still wrapping my head around this. If I have non-unicode, should I be > able to write, > > put the unicodeFormattedText of fld "myField" into myData > > I'm doing this before working with the database, but I still get > > ERROR: invalid byte sequence for encoding "UTF8": 0xd0 0x20 > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon Jun 10 15:41:24 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 10 Jun 2013 22:41:24 +0300 Subject: Monochrome Woes - revisited Message-ID: <51B62BE4.5020003@gmail.com> As promised here's the hack stack to colorize / colourise your App-Browser icons: Forum / General / Feature Requests / Return Colour to the Application Browser "AppBrowserer.zip" If you don't like what it does, roll your own. Richmond. From m.schonewille at economy-x-talk.com Mon Jun 10 15:43:51 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 10 Jun 2013 21:43:51 +0200 Subject: Jeffrey Potts Message-ID: <51B62C77.8030104@economy-x-talk.com> Jeffrey, Please contact me. The contact info I have on record is incorrect. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ From jacque at hyperactivesw.com Mon Jun 10 15:51:39 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 10 Jun 2013 14:51:39 -0500 Subject: preparing a stack for printing In-Reply-To: References: Message-ID: <51B62E4B.9050800@hyperactivesw.com> On 6/10/13 10:24 AM, Bj?rnke von Gierke wrote: > Hi > > I'm trying to print a kind of report, and am weirded out by all the > different rectangles and widths that are available (printRectangle, > printPaperRectangle, printPaperSize, printMargins, etc.) > > All I want is the printable area, so I can set the width and height > of my stack to that amount, then print the first card. > > It seems that the below lines produce an approximation amount, but > it's not completely correct. The approach also so weirdly backwards > and roundabout! I guess my question is, isn't there any way to get > the same or a better result more easily? > > put item 3 of the printRectangle - item 1 of the PrintRectangle - > item 1 of the printMargins - item 3 of the printMargins into > myEffectivePrintWidth > > put item 4 of the printRectangle - item 2 of the PrintRectangle - > item 2 of the printMargins - item 4 of the printMargins into > myEffectivePrintHeight All printers include areas of the paper that they can't print on. Usually that's about a quarter inch on the sides and a half inch at the bottom and sometimes the top, but each printer is different. The printRectangle gives you the actual area that the printer is capable of printing to. The printMargins add extra space to that area, so you don't want any printMargins. Set all the printMargins to zero. Method One: If the card objects are not exactly at the edges of the card, then the card's blank space will also be added to the printout. If you want objects to appear exactly within the printer's available area, place card objects at the very edges and top of the card. Usually that means you need to make a separate stack just for printing because in the real stack it looks bad. After all that is done, you can just print directly using the printRectangle to determine the size the card should be: set the rect of this stack to the printRectangle Set the printing stack's visibility to false so that the user can't see it move to the top left of the screen. You'll probably want to rearrange the objects at the edges of the newly sized card before printing. Method Two: Alternately you can print the card "into rect" and use the printRectangle as the target rect. This won't require a separate printing card. That is easier but this method will resize the card objects, which may or may not be what you want: print this cd from the topLeft of firstObject to the bottomRight of lastObject into rect the printRectangle -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dochawk at gmail.com Mon Jun 10 16:30:04 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 10 Jun 2013 13:30:04 -0700 Subject: working with unicodeFormattedText In-Reply-To: References: Message-ID: On Mon, Jun 10, 2013 at 12:37 PM, Dar Scott wrote: > That sequence is not really invalid UTF-8. NUL-SPACE is valid in a strict > sense, just unlikely. However, it does look very much like UTF-16BE. > It came, at some point, from a mac keyboard, hung around in an openoffice spreadsheet, and now I'm cutting & pasting into a field that processes it. > You need to convert this to UTF-8 using uniDecode(). The property > unicodeFormattedText will give you UTF-16 in native ordering. > I tried put unidecode(fld "newAbrevs", "UTF8") into theData and get the same error. similarly for put unidecode(fld "newAbrevs") into theData (And unicodeFormattedText will insert extra line-ends. If you don't want > that, use unicodeText.) > All I really want to do is stay utf8 from start to finish :) And what's in the DB needs to be directly usable by openoffice and the like without any pre-processing. Is there some way that everything pasted in would automatically be converted from the host system character set (mac/windows/linux) to UTF8? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Mon Jun 10 16:31:20 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 10 Jun 2013 13:31:20 -0700 Subject: Multitasking Comes to iOS, Time for LC to make it better In-Reply-To: References: Message-ID: On Mon, Jun 10, 2013 at 12:30 PM, Mike Kerner wrote: > Well, now that we are going to get multitasking, I would love to see some > new tweaks from LC so we can take advantage, like, for example, being able > to push data updates live, while the device's owner is doing something > less, umm, productive. > Heck, I'd like even very primitive threading for LC itself, so that I can update a remote db in the background while the user continues to work, instead of a potentially multi-second lag. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Mon Jun 10 16:35:41 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 10 Jun 2013 13:35:41 -0700 Subject: finding hte position in the field when backspaceKey hit In-Reply-To: <38211535-7AAE-427F-B774-C8A6F962D967@byu.edu> References: <38211535-7AAE-427F-B774-C8A6F962D967@byu.edu> Message-ID: On Mon, Jun 10, 2013 at 11:49 AM, Devin Asay wrote: > > Did you try the selectedChunk? > Yes, but the result is nonsensical: with "bac" typed, and hitting backspace, put the selected chunk of btn "abrev" yields, char 1 to 27 of button 13 -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dsc at swcp.com Mon Jun 10 16:45:32 2013 From: dsc at swcp.com (Dar Scott) Date: Mon, 10 Jun 2013 14:45:32 -0600 Subject: working with unicodeFormattedText In-Reply-To: References: Message-ID: <88B2D8BF-427A-4B7C-A1A7-79DA54A1A219@swcp.com> Try this. To put a UTF-8 string into the field... set the unicodeText of field "unicodeText" to uniEncode(UTF8String,"UTF8") To get a UTF-8 string from the field... put uniDecode( the unicodeText of field "Unicode Text", "UTF8" ) into UTF8String I combined two operations into single lines; I hope that doesn't obscure things. Dar On Jun 10, 2013, at 2:30 PM, Dr. Hawkins wrote: > On Mon, Jun 10, 2013 at 12:37 PM, Dar Scott wrote: > >> That sequence is not really invalid UTF-8. NUL-SPACE is valid in a strict >> sense, just unlikely. However, it does look very much like UTF-16BE. >> > > It came, at some point, from a mac keyboard, hung around in an openoffice > spreadsheet, and now I'm cutting & pasting into a field that processes it. > > >> You need to convert this to UTF-8 using uniDecode(). The property >> unicodeFormattedText will give you UTF-16 in native ordering. >> > > I tried > put unidecode(fld "newAbrevs", "UTF8") into theData > > and get the same error. similarly for > > put unidecode(fld "newAbrevs") into theData > > > (And unicodeFormattedText will insert extra line-ends. If you don't want >> that, use unicodeText.) >> > > All I really want to do is stay utf8 from start to finish :) > > And what's in the DB needs to be directly usable by openoffice and the like > without any pre-processing. > > Is there some way that everything pasted in would automatically be > converted from the host system character set (mac/windows/linux) to UTF8? > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Mon Jun 10 16:52:15 2013 From: dsc at swcp.com (Dar Scott) Date: Mon, 10 Jun 2013 14:52:15 -0600 Subject: working with unicodeFormattedText In-Reply-To: <88B2D8BF-427A-4B7C-A1A7-79DA54A1A219@swcp.com> References: <88B2D8BF-427A-4B7C-A1A7-79DA54A1A219@swcp.com> Message-ID: I neglected to explain why. The short "why" is that what you get from unicodeText is UTF-16 (16-bit characters, mostly) in native byte order, that is, the order the computer likes. Those same characters can be represented in UTF-8, which is nice for text that is mostly ASCII, is robust concerning byte-order issues, is efficient in memory needs (but not compressed) and yet can represent all of Unicode. LiveCode strings (in the current version) are really just byte sequences we interpret as characters. Each Unicode character we rip out of a field is two bytes. Dar On Jun 10, 2013, at 2:45 PM, Dar Scott wrote: > Try this. > > To put a UTF-8 string into the field... > set the unicodeText of field "unicodeText" to uniEncode(UTF8String,"UTF8") > > To get a UTF-8 string from the field... > put uniDecode( the unicodeText of field "Unicode Text", "UTF8" ) into UTF8String > > I combined two operations into single lines; I hope that doesn't obscure things. > > Dar > > > > On Jun 10, 2013, at 2:30 PM, Dr. Hawkins wrote: > >> On Mon, Jun 10, 2013 at 12:37 PM, Dar Scott wrote: >> >>> That sequence is not really invalid UTF-8. NUL-SPACE is valid in a strict >>> sense, just unlikely. However, it does look very much like UTF-16BE. >>> >> >> It came, at some point, from a mac keyboard, hung around in an openoffice >> spreadsheet, and now I'm cutting & pasting into a field that processes it. >> >> >>> You need to convert this to UTF-8 using uniDecode(). The property >>> unicodeFormattedText will give you UTF-16 in native ordering. >>> >> >> I tried >> put unidecode(fld "newAbrevs", "UTF8") into theData >> >> and get the same error. similarly for >> >> put unidecode(fld "newAbrevs") into theData >> >> >> (And unicodeFormattedText will insert extra line-ends. If you don't want >>> that, use unicodeText.) >>> >> >> All I really want to do is stay utf8 from start to finish :) >> >> And what's in the DB needs to be directly usable by openoffice and the like >> without any pre-processing. >> >> Is there some way that everything pasted in would automatically be >> converted from the host system character set (mac/windows/linux) to UTF8? >> >> -- >> Dr. Richard E. Hawkins, Esq. >> (702) 508-8462 >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Mon Jun 10 17:06:27 2013 From: dsc at swcp.com (Dar Scott) Date: Mon, 10 Jun 2013 15:06:27 -0600 Subject: Multitasking Comes to iOS, Time for LC to make it better In-Reply-To: References: Message-ID: <8BFDDE81-E25D-4386-90D0-2C582B290290@swcp.com> Perhaps this can be exploited to allow the event model to work better. Better and more messages and callbacks can allow the event model to get things done while people are doing other things. On the desktop, we might be getting command-line LiveCode back. This means that some tasks can be pushed to a standalone and communication with that is by 'open process' reads and writes, or by TCP/IP. However, I heard somebody mention (dunno who, so this is blatant rumor) that development and stacks being tested will be more isolated, perhaps in separate threads or processes, and there might be some generalization of that that might help. Overall, my feeling is to let the event model work. If we find weaknesses there, then lets ponder those. Dar On Jun 10, 2013, at 2:31 PM, Dr. Hawkins wrote: > On Mon, Jun 10, 2013 at 12:30 PM, Mike Kerner wrote: > >> Well, now that we are going to get multitasking, I would love to see some >> new tweaks from LC so we can take advantage, like, for example, being able >> to push data updates live, while the device's owner is doing something >> less, umm, productive. >> > > Heck, I'd like even very primitive threading for LC itself, so that I can > update a remote db in the background while the user continues to work, > instead of a potentially multi-second lag. > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From me at paulmaguire.me Mon Jun 10 17:23:30 2013 From: me at paulmaguire.me (Paul Maguire) Date: Mon, 10 Jun 2013 22:23:30 +0100 Subject: =?windows-1252?Q?Android_and_iOS_embedded_fonts_used_in_native_b?= =?windows-1252?Q?rowser_control=85?= Message-ID: <301FBE13-16C6-4E82-946C-6F2249C7EE26@paulmaguire.me> Hello again. I can't work this out! I still can't get embedded fonts to display in Android native browser. I can get embedded fonts to appear in the UI when I set up UI controls. All works fine in iOS. I stripped almost everything away and have a test stack here: https://www.dropbox.com/s/7szotykzd9od6sh/AndroidBrowserScrollerFonts.zip If anyone has 2 mins to take a look and see where I'm going wrong I'd really appreciate it. Doing my nut in. Kind regards, Paul. From MikeKerner at roadrunner.com Mon Jun 10 17:23:13 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 10 Jun 2013 17:23:13 -0400 Subject: Multitasking Comes to iOS, Time for LC to make it better In-Reply-To: <8BFDDE81-E25D-4386-90D0-2C582B290290@swcp.com> References: <8BFDDE81-E25D-4386-90D0-2C582B290290@swcp.com> Message-ID: I'm not immediately as worreid about getting multithreading/multitasking in LC, because there are ways around that, if necessary. On mobile, though, there are significant advantages to having better/more capability while the app is not in the front. On Mon, Jun 10, 2013 at 5:06 PM, Dar Scott wrote: > Perhaps this can be exploited to allow the event model to work better. > Better and more messages and callbacks can allow the event model to get > things done while people are doing other things. > > On the desktop, we might be getting command-line LiveCode back. This > means that some tasks can be pushed to a standalone and communication with > that is by 'open process' reads and writes, or by TCP/IP. > > However, I heard somebody mention (dunno who, so this is blatant rumor) > that development and stacks being tested will be more isolated, perhaps in > separate threads or processes, and there might be some generalization of > that that might help. > > Overall, my feeling is to let the event model work. If we find weaknesses > there, then lets ponder those. > > Dar > > > On Jun 10, 2013, at 2:31 PM, Dr. Hawkins wrote: > > > On Mon, Jun 10, 2013 at 12:30 PM, Mike Kerner >wrote: > > > >> Well, now that we are going to get multitasking, I would love to see > some > >> new tweaks from LC so we can take advantage, like, for example, being > able > >> to push data updates live, while the device's owner is doing something > >> less, umm, productive. > >> > > > > Heck, I'd like even very primitive threading for LC itself, so that I can > > update a remote db in the background while the user continues to work, > > instead of a potentially multi-second lag. > > > > > > -- > > Dr. Richard E. Hawkins, Esq. > > (702) 508-8462 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at 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." From dsc at swcp.com Mon Jun 10 17:26:31 2013 From: dsc at swcp.com (Dar Scott) Date: Mon, 10 Jun 2013 15:26:31 -0600 Subject: finding hte position in the field when backspaceKey hit In-Reply-To: References: <38211535-7AAE-427F-B774-C8A6F962D967@byu.edu> Message-ID: <065067FB-02D4-406F-824A-A4B7EF033833@swcp.com> I missed some important part of this. Isn't a combo box a field? On Jun 10, 2013, at 2:35 PM, Dr. Hawkins wrote: > On Mon, Jun 10, 2013 at 11:49 AM, Devin Asay wrote: > >> >> Did you try the selectedChunk? >> > > Yes, but the result is nonsensical: with "bac" typed, and hitting > backspace, > > put the selected chunk of btn "abrev" > > yields, > > char 1 to 27 of button 13 > > > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jpottsx1 at gmail.com Mon Jun 10 17:36:11 2013 From: jpottsx1 at gmail.com (Potts Jeff) Date: Mon, 10 Jun 2013 17:36:11 -0400 Subject: Jeffrey Potts In-Reply-To: <51B62C77.8030104@economy-x-talk.com> References: <51B62C77.8030104@economy-x-talk.com> Message-ID: Hi Mark, Sorry about that, we recently moved.Our new address is 66 Paul St Picton, Ontario k0k2t0 613-645-2212 On Mon, Jun 10, 2013 at 3:43 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Jeffrey, > > Please contact me. The contact info I have on record is incorrect. > > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/**xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour > spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > Fill out this survey please > http://livecodebeginner.**economy-x-talk.com/survey/ > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From dsc at swcp.com Mon Jun 10 17:38:04 2013 From: dsc at swcp.com (Dar Scott) Date: Mon, 10 Jun 2013 15:38:04 -0600 Subject: Multitasking Comes to iOS, Time for LC to make it better In-Reply-To: References: <8BFDDE81-E25D-4386-90D0-2C582B290290@swcp.com> Message-ID: <1910DF21-1176-4996-A1C8-CCBA33E0C176@swcp.com> Whoops, I misunderstood. Yeah, I agree. First, for externals, perhaps, and then some message/callback handlers in scripts. (I would characterize "getting around" as a different style or paradigm, though.) Dar On Jun 10, 2013, at 3:23 PM, Mike Kerner wrote: > I'm not immediately as worreid about getting multithreading/multitasking in > LC, because there are ways around that, if necessary. On mobile, though, > there are significant advantages to having better/more capability while the > app is not in the front. > > > On Mon, Jun 10, 2013 at 5:06 PM, Dar Scott wrote: > >> Perhaps this can be exploited to allow the event model to work better. >> Better and more messages and callbacks can allow the event model to get >> things done while people are doing other things. >> >> On the desktop, we might be getting command-line LiveCode back. This >> means that some tasks can be pushed to a standalone and communication with >> that is by 'open process' reads and writes, or by TCP/IP. >> >> However, I heard somebody mention (dunno who, so this is blatant rumor) >> that development and stacks being tested will be more isolated, perhaps in >> separate threads or processes, and there might be some generalization of >> that that might help. >> >> Overall, my feeling is to let the event model work. If we find weaknesses >> there, then lets ponder those. >> >> Dar >> >> >> On Jun 10, 2013, at 2:31 PM, Dr. Hawkins wrote: >> >>> On Mon, Jun 10, 2013 at 12:30 PM, Mike Kerner >> wrote: >>> >>>> Well, now that we are going to get multitasking, I would love to see >> some >>>> new tweaks from LC so we can take advantage, like, for example, being >> able >>>> to push data updates live, while the device's owner is doing something >>>> less, umm, productive. >>>> >>> >>> Heck, I'd like even very primitive threading for LC itself, so that I can >>> update a remote db in the background while the user continues to work, >>> instead of a potentially multi-second lag. >>> >>> >>> -- >>> Dr. Richard E. Hawkins, Esq. >>> (702) 508-8462 >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Mon Jun 10 17:43:57 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 10 Jun 2013 23:43:57 +0200 Subject: Jeffrey Potts In-Reply-To: References: <51B62C77.8030104@economy-x-talk.com> Message-ID: <51B6489D.5090905@economy-x-talk.com> Thanks for the reply, Jeff. I replied off-list. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 6/10/2013 23:36, Potts Jeff wrote: > Hi Mark, > > Sorry about that, we recently moved.Our new address is > > > On Mon, Jun 10, 2013 at 3:43 PM, Mark Schonewille < > m.schonewille at economy-x-talk.com> wrote: > >> Jeffrey, >> >> Please contact me. The contact info I have on record is incorrect. >> >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/**xtalkprogrammer >> KvK: 50277553 >> >> Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour >> spaces. http://www.color-converter.com >> >> Buy my new book "Programming LiveCode for the Real Beginner" >> http://qery.us/3fi >> >> Fill out this survey please >> http://livecodebeginner.**economy-x-talk.com/survey/ >> From dsc at swcp.com Mon Jun 10 17:57:35 2013 From: dsc at swcp.com (Dar Scott) Date: Mon, 10 Jun 2013 15:57:35 -0600 Subject: finding hte position in the field when backspaceKey hit In-Reply-To: <065067FB-02D4-406F-824A-A4B7EF033833@swcp.com> References: <38211535-7AAE-427F-B774-C8A6F962D967@byu.edu> <065067FB-02D4-406F-824A-A4B7EF033833@swcp.com> Message-ID: <337A294F-C19C-497D-822F-050AD5CDB28C@swcp.com> This hander in the combo box scripts seems to provide the position before the character is actually removed. on backspaceKey put the selectedChunk into field "log" pass backspaceKey end backspaceKey However, I have a feeling I don't really understand what you are doing. Dar On Jun 10, 2013, at 3:26 PM, Dar Scott wrote: > I missed some important part of this. Isn't a combo box a field? > > > On Jun 10, 2013, at 2:35 PM, Dr. Hawkins wrote: > >> On Mon, Jun 10, 2013 at 11:49 AM, Devin Asay wrote: >> >>> >>> Did you try the selectedChunk? >>> >> >> Yes, but the result is nonsensical: with "bac" typed, and hitting >> backspace, >> >> put the selected chunk of btn "abrev" >> >> yields, >> >> char 1 to 27 of button 13 >> >> >> >> >> -- >> Dr. Richard E. Hawkins, Esq. >> (702) 508-8462 >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Mon Jun 10 17:58:22 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 10 Jun 2013 14:58:22 -0700 Subject: finding hte position in the field when backspaceKey hit In-Reply-To: <065067FB-02D4-406F-824A-A4B7EF033833@swcp.com> References: <38211535-7AAE-427F-B774-C8A6F962D967@byu.edu> <065067FB-02D4-406F-824A-A4B7EF033833@swcp.com> Message-ID: On Mon, Jun 10, 2013 at 2:26 PM, Dar Scott wrote: > > I missed some important part of this. Isn't a combo box a field? It's a button with a field-like-thingy that receives most field messages. It's contents, though, are the list of pre-allowed values, and it's label is what you edit. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Mon Jun 10 18:02:40 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 10 Jun 2013 15:02:40 -0700 Subject: working with unicodeFormattedText In-Reply-To: References: <88B2D8BF-427A-4B7C-A1A7-79DA54A1A219@swcp.com> Message-ID: On Mon, Jun 10, 2013 at 1:52 PM, Dar Scott wrote: > I neglected to explain why. > > The short "why" is that what you get from unicodeText is UTF-16 (16-bit characters, mostly) >in native byte order, that is, the order the computer likes. Those same characters can be >represented in UTF-8, which is nice for text that is mostly ASCII, is robust concerning >byte-order issues, is efficient in memory needs (but not compressed) and yet can represent >all of Unicode. LiveCode strings (in the current version) are really just byte sequences we >interpret as characters. Each Unicode character we rip out of a field is two bytes. UTF-16 opens an entire new can of worms . . . I want to stay at utf8, and even have a very, very limited use for that instead of plain ascii. Curly quotes are nice, and I need things like ? for names, and that's it. Turning things from native to UTF8 on the way to the db will solve what I need--but I'm not quite clear how to do this (all my machinations so far have failed), and I'm not clear whether I need to watch somehow for non native (say, pasted from a webpage), or across a VM from another operating system. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Mon Jun 10 18:07:14 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 10 Jun 2013 15:07:14 -0700 Subject: finding hte position in the field when backspaceKey hit In-Reply-To: <337A294F-C19C-497D-822F-050AD5CDB28C@swcp.com> References: <38211535-7AAE-427F-B774-C8A6F962D967@byu.edu> <065067FB-02D4-406F-824A-A4B7EF033833@swcp.com> <337A294F-C19C-497D-822F-050AD5CDB28C@swcp.com> Message-ID: On Mon, Jun 10, 2013 at 2:57 PM, Dar Scott wrote: > on backspaceKey > put the selectedChunk into field "log" > pass backspaceKey > end backspaceKey > > However, I have a feeling I don't really understand what you are doing. You are getting a different result than I am, at least if I single-step. I get something like "char 900 to 915 of field 4" as the result of the selectedChunk. And what I'm really after is the cursor position, in case someone clicked their way between characters 3 and 4 and deleted character 3. Hmm, maybe I could solve this with "dispatch backspaceKey to this card", and then it would go on, remove the character, and come back to me to handle? (or would the target change?) increment recursionLevel, and either pass backspaceKey if not yet recursed, and handle my own way if recursed? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From bonnmike at gmail.com Mon Jun 10 18:27:12 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 10 Jun 2013 16:27:12 -0600 Subject: finding hte position in the field when backspaceKey hit In-Reply-To: References: <38211535-7AAE-427F-B774-C8A6F962D967@byu.edu> <065067FB-02D4-406F-824A-A4B7EF033833@swcp.com> <337A294F-C19C-497D-822F-050AD5CDB28C@swcp.com> Message-ID: The problem seems to be that since its a combo box, the whole curent line is considered selected no matter where the cursor is. IF you put the cursor in the field of the combo box on any line and set your backspace handler to get "the selectedtext" it returns the whole line even if there is no hilite. The combo box seems pretty limited in some ways due to its hybrid nature. You might consider rolling your own. A field and an option button as a custom control would probably work, and then you get access to all field functionality. I'm sure there are ways, but not sure fighting with the combobox will ever get you to your destination unless you dig into the underlying stuff. On Mon, Jun 10, 2013 at 4:07 PM, Dr. Hawkins wrote: > On Mon, Jun 10, 2013 at 2:57 PM, Dar Scott wrote: > > on backspaceKey > > put the selectedChunk into field "log" > > pass backspaceKey > > end backspaceKey > > > > However, I have a feeling I don't really understand what you are doing. > > You are getting a different result than I am, at least if I single-step. > > I get something like "char 900 to 915 of field 4" as the result of the > selectedChunk. > > And what I'm really after is the cursor position, in case someone > clicked their way between characters 3 and 4 and deleted character 3. > > Hmm, maybe I could solve this with "dispatch backspaceKey to this > card", and then it would go on, remove the character, and come back to > me to handle? (or would the target change?) > > increment recursionLevel, and either pass backspaceKey if not yet > recursed, and handle my own way if recursed? > > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Mon Jun 10 18:30:43 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 10 Jun 2013 17:30:43 -0500 Subject: finding hte position in the field when backspaceKey hit In-Reply-To: References: <38211535-7AAE-427F-B774-C8A6F962D967@byu.edu> <065067FB-02D4-406F-824A-A4B7EF033833@swcp.com> <337A294F-C19C-497D-822F-050AD5CDB28C@swcp.com> Message-ID: <51B65393.3090302@hyperactivesw.com> On 6/10/13 5:07 PM, Dr. Hawkins wrote: > On Mon, Jun 10, 2013 at 2:57 PM, Dar Scott wrote: >> on backspaceKey >> put the selectedChunk into field "log" >> pass backspaceKey >> end backspaceKey >> >> However, I have a feeling I don't really understand what you are doing. > > You are getting a different result than I am, at least if I single-step. > > I get something like "char 900 to 915 of field 4" as the result of the > selectedChunk. If you're stepping through in the debugger, the field being referenced is the script editor and the selectedchunk is the hilited line you're looking at. Set a breakpoint after you get the selectedchunk to get more accurate results. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Mon Jun 10 19:09:27 2013 From: dsc at swcp.com (Dar Scott) Date: Mon, 10 Jun 2013 17:09:27 -0600 Subject: working with unicodeFormattedText In-Reply-To: References: <88B2D8BF-427A-4B7C-A1A7-79DA54A1A219@swcp.com> Message-ID: <59F3C6DF-9521-4E61-8EA9-9F8D374E0544@swcp.com> You don't have to think UTF-16, maybe the "why" is distracting. Those lines I gave you should work. Again... To put a UTF-8 string into the field... set the unicodeText of field "unicodeText" to uniEncode(UTF8String,"UTF8") To get a UTF-8 string from the field... put uniDecode( the unicodeText of field "Unicode Text", "UTF8" ) into UTF8String Or, the last one encapsulated in a function... function utf8FromField s return uniDecode( the unicodeText of field s, "UTF8" ) end utf8FromField Dar On Jun 10, 2013, at 4:02 PM, Dr. Hawkins wrote: > On Mon, Jun 10, 2013 at 1:52 PM, Dar Scott wrote: >> I neglected to explain why. >> >> The short "why" is that what you get from unicodeText is UTF-16 (16-bit characters, mostly) >> in native byte order, that is, the order the computer likes. Those same characters can be >> represented in UTF-8, which is nice for text that is mostly ASCII, is robust concerning >> byte-order issues, is efficient in memory needs (but not compressed) and yet can represent >> all of Unicode. LiveCode strings (in the current version) are really just byte sequences we >> interpret as characters. Each Unicode character we rip out of a field is two bytes. > > UTF-16 opens an entire new can of worms . . . > > I want to stay at utf8, and even have a very, very limited use for > that instead of plain ascii. Curly quotes are nice, and I need things > like ? for names, and that's it. > > Turning things from native to UTF8 on the way to the db will solve > what I need--but I'm not quite clear how to do this (all my > machinations so far have failed), and I'm not clear whether I need to > watch somehow for non native (say, pasted from a webpage), or across a > VM from another operating system. > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Mon Jun 10 19:20:55 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 11 Jun 2013 09:20:55 +1000 Subject: Multitasking Comes to iOS, Time for LC to make it better In-Reply-To: References: <8BFDDE81-E25D-4386-90D0-2C582B290290@swcp.com> Message-ID: On 11/06/2013, at 7:23 AM, Mike Kerner wrote: > I'm not immediately as worreid about getting multithreading/multitasking in > LC, because there are ways around that, if necessary. On mobile, though, > there are significant advantages to having better/more capability while the > app is not in the front. Is there some change to background task execution coming on iOS 7 or something? FWIW background tasks are already available for LiveCode by deleting the exits on suspend key and using one of my cheap externals to start a background task ;-) Apple (at least until iOS 6 .. not sure what announcement prompted this question) only allow 10 minutes of background execution unless your app suits one of the UIBackgroundModes... like a music or accurate location tracking app... Given even with that the battery life is appalling I'd be surprised if they opened this up... -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From mwieder at ahsoftware.net Mon Jun 10 19:18:55 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 10 Jun 2013 16:18:55 -0700 Subject: finding hte position in the field when backspaceKey hit In-Reply-To: <51B65393.3090302@hyperactivesw.com> References: <38211535-7AAE-427F-B774-C8A6F962D967@byu.edu> <065067FB-02D4-406F-824A-A4B7EF033833@swcp.com> <337A294F-C19C-497D-822F-050AD5CDB28C@swcp.com> <51B65393.3090302@hyperactivesw.com> Message-ID: <15868286712.20130610161855@ahsoftware.net> Jacque- Monday, June 10, 2013, 3:30:43 PM, you wrote: > If you're stepping through in the debugger, the field being referenced > is the script editor and the selectedchunk is the hilited line you're > looking at. But note that the built-in debugger has a problem dereferencing the selectedchunk, so ymmv. There's a bug filed in bugzilla on this. -- -Mark Wieder mwieder at ahsoftware.net From coiin at verizon.net Mon Jun 10 19:34:44 2013 From: coiin at verizon.net (Colin Holgate) Date: Mon, 10 Jun 2013 19:34:44 -0400 Subject: Multitasking Comes to iOS, Time for LC to make it better In-Reply-To: References: <8BFDDE81-E25D-4386-90D0-2C582B290290@swcp.com> Message-ID: <35D4C12D-951E-43EA-BF80-A0B8AF515F6C@verizon.net> There are a number of techniques they're using. Apparently, the OS watches for when you tend to use apps, and will keep them updated based on that. Also, if you wake up your device for any reason, the OS will make sure that any app that needs an update will get it then, while power is on. I just downloaded iOS 7, will know in a little while how it works with LiveCode apps. On Jun 10, 2013, at 7:20 PM, Monte Goulding wrote: > >Is there some change to background task execution coming on iOS 7 or something? FWIW background tasks are already available for LiveCode by deleting the exits on suspend key and using one of my cheap externals to start a background task ;-) From monte at sweattechnologies.com Mon Jun 10 19:46:25 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 11 Jun 2013 09:46:25 +1000 Subject: Multitasking Comes to iOS, Time for LC to make it better In-Reply-To: <35D4C12D-951E-43EA-BF80-A0B8AF515F6C@verizon.net> References: <8BFDDE81-E25D-4386-90D0-2C582B290290@swcp.com> <35D4C12D-951E-43EA-BF80-A0B8AF515F6C@verizon.net> Message-ID: On 11/06/2013, at 9:34 AM, Colin Holgate wrote: > There are a number of techniques they're using. Apparently, the OS watches for when you tend to use apps, and will keep them updated based on that. Also, if you wake up your device for any reason, the OS will make sure that any app that needs an update will get it then, while power is on. What do you mean by updated? -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From coiin at verizon.net Mon Jun 10 19:54:53 2013 From: coiin at verizon.net (Colin Holgate) Date: Mon, 10 Jun 2013 19:54:53 -0400 Subject: Multitasking Comes to iOS, Time for LC to make it better In-Reply-To: References: <8BFDDE81-E25D-4386-90D0-2C582B290290@swcp.com> <35D4C12D-951E-43EA-BF80-A0B8AF515F6C@verizon.net> Message-ID: <6A5987BA-26E9-4146-8624-98047D19172C@verizon.net> Suppose you need to know the user's location, you may not get that while the device is shut down, or asleep, but if the user turns it on to get the latest weather, your LiveCode app would get a location update. Or something on those lines. On Jun 10, 2013, at 7:46 PM, Monte Goulding wrote: > What do you mean by updated? From lan.kc.macmail at gmail.com Mon Jun 10 19:56:24 2013 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 11 Jun 2013 07:56:24 +0800 Subject: LC Community - Script Limits Message-ID: To Richard Gaskin, I'm posting in this public domain as there are clearly far more new LC users visitng the List and so I felt it appropriate to hilight your excellent article on the Message Path: http://www.fourthworld.com/embassy/articles/revolution_message_path.html Considering Mark Weider's recent revelation that script limits are gone, I was wondering if you would be updating the article to reflect the current state of affairs. Thanks On Thu, May 2, 2013 at 8:17 AM, Mark Wieder wrote: > > No. There are no script limits and the limits on the number of frontscripts > etc have also been removed. > > From MikeKerner at roadrunner.com Mon Jun 10 20:00:50 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 10 Jun 2013 20:00:50 -0400 Subject: Multitasking Comes to iOS, Time for LC to make it better In-Reply-To: <6A5987BA-26E9-4146-8624-98047D19172C@verizon.net> References: <8BFDDE81-E25D-4386-90D0-2C582B290290@swcp.com> <35D4C12D-951E-43EA-BF80-A0B8AF515F6C@verizon.net> <6A5987BA-26E9-4146-8624-98047D19172C@verizon.net> Message-ID: For those of you at didn't know, ios 7 beta is now available for download on newer iphones and ipod touches at the beta dev center. On Monday, June 10, 2013, Colin Holgate wrote: > Suppose you need to know the user's location, you may not get that while > the device is shut down, or asleep, but if the user turns it on to get the > latest weather, your LiveCode app would get a location update. > > Or something on those lines. > > > On Jun 10, 2013, at 7:46 PM, Monte Goulding > > wrote: > > > What do you mean by updated? > > _______________________________________________ > use-livecode mailing list > use-livecode at 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." From monte at sweattechnologies.com Mon Jun 10 20:14:42 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 11 Jun 2013 10:14:42 +1000 Subject: Multitasking Comes to iOS, Time for LC to make it better In-Reply-To: References: <8BFDDE81-E25D-4386-90D0-2C582B290290@swcp.com> <35D4C12D-951E-43EA-BF80-A0B8AF515F6C@verizon.net> Message-ID: On 11/06/2013, at 9:46 AM, Monte Goulding wrote: > > On 11/06/2013, at 9:34 AM, Colin Holgate wrote: > >> There are a number of techniques they're using. Apparently, the OS watches for when you tend to use apps, and will keep them updated based on that. Also, if you wake up your device for any reason, the OS will make sure that any app that needs an update will get it then, while power is on. > > What do you mean by updated? Ah... I see... you are talking about app updates while the OP is talking about multitasking. It looks like there are two new UIBackgroundModes which need support in the app delegate to work. I'm guessing each will allow the app to run for an extra 10 minute interval when invoked. -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From monte at sweattechnologies.com Mon Jun 10 20:15:46 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 11 Jun 2013 10:15:46 +1000 Subject: Multitasking Comes to iOS, Time for LC to make it better In-Reply-To: <6A5987BA-26E9-4146-8624-98047D19172C@verizon.net> References: <8BFDDE81-E25D-4386-90D0-2C582B290290@swcp.com> <35D4C12D-951E-43EA-BF80-A0B8AF515F6C@verizon.net> <6A5987BA-26E9-4146-8624-98047D19172C@verizon.net> Message-ID: <12FF5B83-5311-4323-A337-0FF78AA6942D@sweattechnologies.com> On 11/06/2013, at 9:54 AM, Colin Holgate wrote: > Suppose you need to know the user's location, you may not get that while the device is shut down, or asleep, but if the user turns it on to get the latest weather, your LiveCode app would get a location update. Nope, that's already available... see mergCL. -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From coiin at verizon.net Mon Jun 10 20:10:06 2013 From: coiin at verizon.net (Colin Holgate) Date: Mon, 10 Jun 2013 20:10:06 -0400 Subject: Multitasking Comes to iOS, Time for LC to make it better In-Reply-To: References: <8BFDDE81-E25D-4386-90D0-2C582B290290@swcp.com> <35D4C12D-951E-43EA-BF80-A0B8AF515F6C@verizon.net> <6A5987BA-26E9-4146-8624-98047D19172C@verizon.net> Message-ID: So far so good. Strangely, I haven't found a way to search for an app, Spotlight seems to have gone. I didn't yet install Xcode 5 to see how LiveCode apps will work. Will do that in a while. On Jun 10, 2013, at 8:00 PM, Mike Kerner wrote: > For those of you at didn't know, ios 7 beta is now available for download > on newer iphones and ipod touches at the beta dev center. From monte at sweattechnologies.com Mon Jun 10 20:17:11 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 11 Jun 2013 10:17:11 +1000 Subject: LC Community - Script Limits In-Reply-To: References: Message-ID: On 11/06/2013, at 9:56 AM, Kay C Lan wrote: >> No. There are no script limits and the limits on the number of frontscripts >> etc have also been removed. I think that's only for community. -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From monte at sweattechnologies.com Mon Jun 10 20:19:37 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 11 Jun 2013 10:19:37 +1000 Subject: Multitasking Comes to iOS, Time for LC to make it better In-Reply-To: References: <8BFDDE81-E25D-4386-90D0-2C582B290290@swcp.com> <35D4C12D-951E-43EA-BF80-A0B8AF515F6C@verizon.net> <6A5987BA-26E9-4146-8624-98047D19172C@verizon.net> Message-ID: On 11/06/2013, at 10:10 AM, Colin Holgate wrote: > I didn't yet install Xcode 5 to see how LiveCode apps will work. Will do that in a while. There won't be any device builds agains the iOS 7 sdk yet in LiveCode so you won't need Xcode 5 to test... just build using Xcode 4.6. -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From coiin at verizon.net Mon Jun 10 20:15:48 2013 From: coiin at verizon.net (Colin Holgate) Date: Mon, 10 Jun 2013 20:15:48 -0400 Subject: Multitasking Comes to iOS, Time for LC to make it better In-Reply-To: References: <8BFDDE81-E25D-4386-90D0-2C582B290290@swcp.com> <35D4C12D-951E-43EA-BF80-A0B8AF515F6C@verizon.net> <6A5987BA-26E9-4146-8624-98047D19172C@verizon.net> Message-ID: <004E076A-D337-41D3-A2F1-CF2EE9FAB06E@verizon.net> It's more the dragging onto my iPhone part that I'm thinking about. On Jun 10, 2013, at 8:19 PM, Monte Goulding wrote: > >There won't be any device builds agains the iOS 7 sdk yet in LiveCode so you won't need Xcode 5 to test... just build using Xcode 4.6. From monte at sweattechnologies.com Mon Jun 10 20:25:44 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 11 Jun 2013 10:25:44 +1000 Subject: Multitasking Comes to iOS, Time for LC to make it better In-Reply-To: <004E076A-D337-41D3-A2F1-CF2EE9FAB06E@verizon.net> References: <8BFDDE81-E25D-4386-90D0-2C582B290290@swcp.com> <35D4C12D-951E-43EA-BF80-A0B8AF515F6C@verizon.net> <6A5987BA-26E9-4146-8624-98047D19172C@verizon.net> <004E076A-D337-41D3-A2F1-CF2EE9FAB06E@verizon.net> Message-ID: <3EFBEA23-8C5A-47C0-A185-1AEBB1FCC194@sweattechnologies.com> On 11/06/2013, at 10:15 AM, Colin Holgate wrote: > It's more the dragging onto my iPhone part that I'm thinking about. Hmm... Xcode organiser should work with all sdks... -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From monte at sweattechnologies.com Mon Jun 10 20:29:14 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 11 Jun 2013 10:29:14 +1000 Subject: Multitasking Comes to iOS, Time for LC to make it better In-Reply-To: References: <8BFDDE81-E25D-4386-90D0-2C582B290290@swcp.com> <35D4C12D-951E-43EA-BF80-A0B8AF515F6C@verizon.net> Message-ID: On 11/06/2013, at 10:14 AM, Monte Goulding wrote: > I'm guessing each will allow the app to run for an extra 10 minute interval when invoked. OK, was wrong here... looks like you need to retain a completion handler then execute it when you're done with the fetch. iOS then recognises if your app took a short time and gives your app higher priority when allocating execution time... -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From coiin at verizon.net Mon Jun 10 20:37:03 2013 From: coiin at verizon.net (Colin Holgate) Date: Mon, 10 Jun 2013 20:37:03 -0400 Subject: Multitasking Comes to iOS, Time for LC to make it better In-Reply-To: References: <8BFDDE81-E25D-4386-90D0-2C582B290290@swcp.com> <35D4C12D-951E-43EA-BF80-A0B8AF515F6C@verizon.net> <6A5987BA-26E9-4146-8624-98047D19172C@verizon.net> Message-ID: <1DC0D416-8A96-4870-82E4-220738D515A8@verizon.net> I think things are works. I could drag apps onto Xcode to install them ok. From gerry.orkin at gmail.com Mon Jun 10 20:58:45 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Tue, 11 Jun 2013 10:58:45 +1000 Subject: Multitasking Comes to iOS, Time for LC to make it better In-Reply-To: <1DC0D416-8A96-4870-82E4-220738D515A8@verizon.net> References: <8BFDDE81-E25D-4386-90D0-2C582B290290@swcp.com> <35D4C12D-951E-43EA-BF80-A0B8AF515F6C@verizon.net> <6A5987BA-26E9-4146-8624-98047D19172C@verizon.net> <1DC0D416-8A96-4870-82E4-220738D515A8@verizon.net> Message-ID: <2C536F42-3D90-4BE1-A4B9-7558EE618DD9@gmail.com> Colin So they install, but are they working ok? I'm tempted to download the iOS 7 beta but not if my LC apps stop working :) Gerry On 11/06/2013, at 10:37 AM, Colin Holgate wrote: > I think things are works. I could drag apps onto Xcode to install them ok. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Mon Jun 10 21:34:49 2013 From: coiin at verizon.net (Colin Holgate) Date: Mon, 10 Jun 2013 21:34:49 -0400 Subject: Multitasking Comes to iOS, Time for LC to make it better In-Reply-To: <2C536F42-3D90-4BE1-A4B9-7558EE618DD9@gmail.com> References: <8BFDDE81-E25D-4386-90D0-2C582B290290@swcp.com> <35D4C12D-951E-43EA-BF80-A0B8AF515F6C@verizon.net> <6A5987BA-26E9-4146-8624-98047D19172C@verizon.net> <1DC0D416-8A96-4870-82E4-220738D515A8@verizon.net> <2C536F42-3D90-4BE1-A4B9-7558EE618DD9@gmail.com> Message-ID: <965797DE-8012-426B-821A-B77A13303297@verizon.net> The thing I tried was laid out for iPad 3, and I could see the the top area on iPhone 5, so I think it was working correctly. On Jun 10, 2013, at 8:58 PM, Gerry Orkin wrote: > So they install, but are they working ok? I'm tempted to download the iOS 7 beta but not if my LC apps stop working :) From coiin at verizon.net Mon Jun 10 21:35:42 2013 From: coiin at verizon.net (Colin Holgate) Date: Mon, 10 Jun 2013 21:35:42 -0400 Subject: Multitasking Comes to iOS, Time for LC to make it better In-Reply-To: <3EFBEA23-8C5A-47C0-A185-1AEBB1FCC194@sweattechnologies.com> References: <8BFDDE81-E25D-4386-90D0-2C582B290290@swcp.com> <35D4C12D-951E-43EA-BF80-A0B8AF515F6C@verizon.net> <6A5987BA-26E9-4146-8624-98047D19172C@verizon.net> <004E076A-D337-41D3-A2F1-CF2EE9FAB06E@verizon.net> <3EFBEA23-8C5A-47C0-A185-1AEBB1FCC194@sweattechnologies.com> Message-ID: <2C965108-795B-49AC-941A-2997009D8EF1@verizon.net> Sadly no, you always need the latest Xcode to drag onto the latest iOS. On Jun 10, 2013, at 8:25 PM, Monte Goulding wrote: > Hmm... Xcode organiser should work with all sdks... > From gerry.orkin at gmail.com Mon Jun 10 21:55:00 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Tue, 11 Jun 2013 11:55:00 +1000 Subject: Multitasking Comes to iOS, Time for LC to make it better In-Reply-To: <965797DE-8012-426B-821A-B77A13303297@verizon.net> References: <8BFDDE81-E25D-4386-90D0-2C582B290290@swcp.com> <35D4C12D-951E-43EA-BF80-A0B8AF515F6C@verizon.net> <6A5987BA-26E9-4146-8624-98047D19172C@verizon.net> <1DC0D416-8A96-4870-82E4-220738D515A8@verizon.net> <2C536F42-3D90-4BE1-A4B9-7558EE618DD9@gmail.com> <965797DE-8012-426B-821A-B77A13303297@verizon.net> Message-ID: <68BCDEC6-7BAC-45BC-87C5-C3773BC4E4B2@gmail.com> Ok, but being cautious - can anyone else confirm that iPhone apps built with LC 6.x and installed with the xCode 5 beta are working fine on iOS 7? Cheers Gerry On 11/06/2013, at 11:34 AM, Colin Holgate wrote: > The thing I tried was laid out for iPad 3, and I could see the the top area on iPhone 5, so I think it was working correctly. > > > On Jun 10, 2013, at 8:58 PM, Gerry Orkin wrote: > >> So they install, but are they working ok? I'm tempted to download the iOS 7 beta but not if my LC apps stop working :) > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Mon Jun 10 22:13:20 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 11 Jun 2013 12:13:20 +1000 Subject: Multitasking Comes to iOS, Time for LC to make it better In-Reply-To: <2C965108-795B-49AC-941A-2997009D8EF1@verizon.net> References: <8BFDDE81-E25D-4386-90D0-2C582B290290@swcp.com> <35D4C12D-951E-43EA-BF80-A0B8AF515F6C@verizon.net> <6A5987BA-26E9-4146-8624-98047D19172C@verizon.net> <004E076A-D337-41D3-A2F1-CF2EE9FAB06E@verizon.net> <3EFBEA23-8C5A-47C0-A185-1AEBB1FCC194@sweattechnologies.com> <2C965108-795B-49AC-941A-2997009D8EF1@verizon.net> Message-ID: <7581E269-D219-4B95-A9FB-B8EE76C4C0CE@sweattechnologies.com> On 11/06/2013, at 11:35 AM, Colin Holgate wrote: > Sadly no, you always need the latest Xcode to drag onto the latest iOS. Maybe that's just for beta... I can't remember the last time I dragged an app onto a device though... I have mergTestFlight which builds and puts it on my phone via fruitstrap ;-) -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From coiin at verizon.net Mon Jun 10 22:21:06 2013 From: coiin at verizon.net (Colin Holgate) Date: Mon, 10 Jun 2013 22:21:06 -0400 Subject: Multitasking Comes to iOS, Time for LC to make it better In-Reply-To: <7581E269-D219-4B95-A9FB-B8EE76C4C0CE@sweattechnologies.com> References: <8BFDDE81-E25D-4386-90D0-2C582B290290@swcp.com> <35D4C12D-951E-43EA-BF80-A0B8AF515F6C@verizon.net> <6A5987BA-26E9-4146-8624-98047D19172C@verizon.net> <004E076A-D337-41D3-A2F1-CF2EE9FAB06E@verizon.net> <3EFBEA23-8C5A-47C0-A185-1AEBB1FCC194@sweattechnologies.com> <2C965108-795B-49AC-941A-2997009D8EF1@verizon.net> <7581E269-D219-4B95-A9FB-B8EE76C4C0CE@sweattechnologies.com> Message-ID: I have other similar options, and those do work. It's just Xcode that requires you to have the latest version. On Jun 10, 2013, at 10:13 PM, Monte Goulding wrote: > >Maybe that's just for beta... I can't remember the last time I dragged an app onto a device though... I have mergTestFlight which builds and puts it on my phone via fruitstrap ;-) From coiin at verizon.net Mon Jun 10 22:22:23 2013 From: coiin at verizon.net (Colin Holgate) Date: Mon, 10 Jun 2013 22:22:23 -0400 Subject: Multitasking Comes to iOS, Time for LC to make it better In-Reply-To: <68BCDEC6-7BAC-45BC-87C5-C3773BC4E4B2@gmail.com> References: <8BFDDE81-E25D-4386-90D0-2C582B290290@swcp.com> <35D4C12D-951E-43EA-BF80-A0B8AF515F6C@verizon.net> <6A5987BA-26E9-4146-8624-98047D19172C@verizon.net> <1DC0D416-8A96-4870-82E4-220738D515A8@verizon.net> <2C536F42-3D90-4BE1-A4B9-7558EE618DD9@gmail.com> <965797DE-8012-426B-821A-B77A13303297@verizon.net> <68BCDEC6-7BAC-45BC-87C5-C3773BC4E4B2@gmail.com> Message-ID: <0DC1A953-28B1-4432-8381-8CCDFEAB4B0A@verizon.net> I think I was saying that it does work. Do you have more than one device, I'm just using my iPhone 5 on iOS 7. On Jun 10, 2013, at 9:55 PM, Gerry Orkin wrote: > >Ok, but being cautious - can anyone else confirm that iPhone apps built with LC 6.x and installed with the xCode 5 beta are working fine on iOS 7? From dochawk at gmail.com Mon Jun 10 22:54:58 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 10 Jun 2013 19:54:58 -0700 Subject: LC Community - Script Limits In-Reply-To: References: Message-ID: On Mon, Jun 10, 2013 at 5:17 PM, Monte Goulding wrote: > I think that's only for community. That would seem to be a *really* bad idea for the distributed version--doesn't that encourage creating programs that *cannot* be run with the commercial version??? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Mon Jun 10 22:58:41 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 10 Jun 2013 19:58:41 -0700 Subject: returning a result *and* closing the modal stack? Message-ID: I've created my own modal dialog. I would now like it to return a result. It seems that these are mutually exlusive, though--both "return" and "close this stack" halt execution. I could, I suppose, set a custom property, but is there a way to make the simple way work? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From stephenREVOLUTION2 at barncard.com Mon Jun 10 23:58:09 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 10 Jun 2013 20:58:09 -0700 Subject: returning a result *and* closing the modal stack? In-Reply-To: References: Message-ID: check out "dialogData" in the dict On Mon, Jun 10, 2013 at 7:58 PM, Dr. Hawkins wrote: > I've created my own modal dialog. > > I would now like it to return a result. > > It seems that these are mutually exlusive, though--both "return" and > "close this stack" halt execution. > > I could, I suppose, set a custom property, but is there a way to make > the simple way work? > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From jacque at hyperactivesw.com Tue Jun 11 00:03:02 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 10 Jun 2013 23:03:02 -0500 Subject: returning a result *and* closing the modal stack? In-Reply-To: References: Message-ID: <7097519f-238f-4bd6-a9b0-ce373136df05@email.android.com> "Dr. Hawkins" wrote: >I've created my own modal dialog. > >I would now like it to return a result. > >It seems that these are mutually exlusive, though--both "return" and >"close this stack" halt execution. > >I could, I suppose, set a custom property, but is there a way to make >the simple way work? Typically that's what the dialogdata is for. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Jun 11 00:06:00 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 10 Jun 2013 23:06:00 -0500 Subject: LC Community - Script Limits In-Reply-To: References: Message-ID: <3bc61923-4a39-43e1-9895-03739ef37c1b@email.android.com> "Dr. Hawkins" wrote: >On Mon, Jun 10, 2013 at 5:17 PM, Monte Goulding > wrote: >> I think that's only for community. > >That would seem to be a *really* bad idea for the distributed >version--doesn't that encourage creating programs that *cannot* be run >with the commercial version??? I thought the two versions were identical except for the security code. That would mean there are no limits of any kind. I'm pretty sure that's the case. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Tue Jun 11 00:28:28 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 11 Jun 2013 14:28:28 +1000 Subject: LC Community - Script Limits In-Reply-To: References: Message-ID: <185A24E5-A742-4D8C-918D-1B5881C06F91@sweattechnologies.com> On 11/06/2013, at 12:54 PM, Dr. Hawkins wrote: > That would seem to be a *really* bad idea for the distributed > version--doesn't that encourage creating programs that *cannot* be run > with the commercial version??? Possibly... given I'm the one that asked for it's removal on the vendors list before the kickstarter campaign I guess I should defend it. The main reason I wanted it removed was for LCServer... more specifically revIgniter relies heavily on merge and this change will reduce the head scratching there... 99.999999% of server stuff will just use the GPL version FWIW I think RunRev should remove it from commercial too.. the whole idea is it protects them from someone creating a competing product but given the license protects them and it's only a license protecting them from the GPL version being used the same way the whole thing is redundant... -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From monte at sweattechnologies.com Tue Jun 11 00:36:02 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 11 Jun 2013 14:36:02 +1000 Subject: LC Community - Script Limits In-Reply-To: <3bc61923-4a39-43e1-9895-03739ef37c1b@email.android.com> References: <3bc61923-4a39-43e1-9895-03739ef37c1b@email.android.com> Message-ID: <4E64E9F2-E518-419F-9DAD-B6A1C6A1204C@sweattechnologies.com> Well... it depends on if there's a different mode_standalone.cpp for commercial standalones.... it's not something I've bothered testing.... perhaps someone wants to build a desktop app with LC 6.0.2 to see what the scriptlimits are? On 11/06/2013, at 2:06 PM, J. Landman Gay wrote: > I thought the two versions were identical except for the security code. That would mean there are no limits of any kind. I'm pretty sure that's the case. -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From rdimola at evergreeninfo.net Tue Jun 11 00:33:52 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 11 Jun 2013 00:33:52 -0400 Subject: =?us-ascii?Q?RE:_Android_and_iOS_embedded_fonts_used_in_native_browser_co?= =?us-ascii?Q?ntrol.?= In-Reply-To: <301FBE13-16C6-4E82-946C-6F2249C7EE26@paulmaguire.me> References: <301FBE13-16C6-4E82-946C-6F2249C7EE26@paulmaguire.me> Message-ID: <005601ce665c$e0828e80$a187ab80$@net> Hmmm... Played with your stack for a while today. Me thinks my QC guy lied to me. I can't seem to get any fonts except for the standard web fonts to work. Works in iOS but not Android. I will look at this again tomorrow.....Film at 11 Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Paul Maguire Sent: Monday, June 10, 2013 5:24 PM To: How to use LiveCode Subject: Android and iOS embedded fonts used in native browser control. Hello again. I can't work this out! I still can't get embedded fonts to display in Android native browser. I can get embedded fonts to appear in the UI when I set up UI controls. All works fine in iOS. I stripped almost everything away and have a test stack here: https://www.dropbox.com/s/7szotykzd9od6sh/AndroidBrowserScrollerFonts.zip If anyone has 2 mins to take a look and see where I'm going wrong I'd really appreciate it. Doing my nut in. Kind regards, Paul. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From gerry.orkin at gmail.com Tue Jun 11 01:11:21 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Tue, 11 Jun 2013 15:11:21 +1000 Subject: Multitasking Comes to iOS, Time for LC to make it better In-Reply-To: <0DC1A953-28B1-4432-8381-8CCDFEAB4B0A@verizon.net> References: <8BFDDE81-E25D-4386-90D0-2C582B290290@swcp.com> <35D4C12D-951E-43EA-BF80-A0B8AF515F6C@verizon.net> <6A5987BA-26E9-4146-8624-98047D19172C@verizon.net> <1DC0D416-8A96-4870-82E4-220738D515A8@verizon.net> <2C536F42-3D90-4BE1-A4B9-7558EE618DD9@gmail.com> <965797DE-8012-426B-821A-B77A13303297@verizon.net> <68BCDEC6-7BAC-45BC-87C5-C3773BC4E4B2@gmail.com> <0DC1A953-28B1-4432-8381-8CCDFEAB4B0A@verizon.net> Message-ID: <97FC16F5-C1AE-475E-A1A5-23BE7D98C95A@gmail.com> I wasn't doubting you, but multiple information sources make for safer decisions :) g On 11/06/2013, at 12:22 PM, Colin Holgate wrote: > I think I was saying that it does work. Do you have more than one device, I'm just using my iPhone 5 on iOS 7. > > > On Jun 10, 2013, at 9:55 PM, Gerry Orkin wrote: > >>> Ok, but being cautious - can anyone else confirm that iPhone apps built with LC 6.x and installed with the xCode 5 beta are working fine on iOS 7? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From simon at asato-media.com Tue Jun 11 03:05:51 2013 From: simon at asato-media.com (As_Simon) Date: Tue, 11 Jun 2013 00:05:51 -0700 (PDT) Subject: [OT] What's happening here in Turkey... In-Reply-To: <352999C3656246F299F514EC8635F448@gmail.com> References: <11D1DD0756094E67967289F5A05541F6@gmail.com> <51B11DAB.1030808@hyperactivesw.com> <42EA89408B8C4F6E9E70A58E370AB1D8@gmail.com> <51B20E47.5030807@gmail.com> <02FB7329-A8A4-4020-8843-B3EC62B3FC9E@semperuna.com> <1189B6B4FDCE4648BA20A2A19C484C6E@gmail.com> <2ED968FDE7294571BD2CF374C37C852A@gmail.com> <1370666214112-4666141.post@n4.nabble.com> <352999C3656246F299F514EC8635F448@gmail.com> Message-ID: <1370934351526-4666311.post@n4.nabble.com> Hi Ender, How was the weekend? I don't know if they can delete this thread for getting dangerously close to political ravings. I hope you have another method to communicate to us/me if it does. I have to admit the lack of (major) destruction of personal property is fantastic, with such a large group it's says a lot about what you are doing. I can't think of another large gathering with the police involved that didn't have some idiot throwing a rock at a store window... just because. Being a cynic of the human condition that "bucket brigade" of the removal of the trash impressed me (posted video). Again showing the respect of the participants. Don't think I didn't notice in the video's what appeared to be the exchange of money in a transaction, so it's not all free hugs. Still, if you say it's not the norm I'm prepared to roll with it. Also the throwing of rocks (?) at the police, is that just in the capital or happening at the park as well. Keep writing, Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-What-s-happening-here-in-Turkey-tp4666044p4666311.html Sent from the Revolution - User mailing list archive at Nabble.com. From me at paulmaguire.me Tue Jun 11 06:12:00 2013 From: me at paulmaguire.me (Paul Maguire) Date: Tue, 11 Jun 2013 11:12:00 +0100 Subject: Android and iOS embedded fonts used in native browser control. In-Reply-To: <005601ce665c$e0828e80$a187ab80$@net> References: <301FBE13-16C6-4E82-946C-6F2249C7EE26@paulmaguire.me> <005601ce665c$e0828e80$a187ab80$@net> Message-ID: <506491C4-0820-4722-8DAE-BBDC12977132@paulmaguire.me> Hi Ralf. On 11 Jun 2013, at 05:33, Ralph DiMola wrote: > Hmmm... Played with your stack for a while today. Me thinks my QC guy lied > to me. I can't seem to get any fonts except for the standard web fonts to > work. Works in iOS but not Android. I will look at this again > tomorrow.....Film at 11 Thanks for looking at this. Thought I was losing my mind. Isn't this a very very common task ie. showing custom fonts in a web scroller in iOS and Android? Seems like it should be! FYI I tried some CSS stuff like adding this to the style sheet: @font-face { font-family: "GROBOLD"; src: url('Fonts/GROBOLD.ttf'); } Nada. Kind regards, Paul. From me at paulmaguire.me Tue Jun 11 06:16:27 2013 From: me at paulmaguire.me (Paul Maguire) Date: Tue, 11 Jun 2013 11:16:27 +0100 Subject: Android and iOS embedded fonts used in native browser control. In-Reply-To: <506491C4-0820-4722-8DAE-BBDC12977132@paulmaguire.me> References: <301FBE13-16C6-4E82-946C-6F2249C7EE26@paulmaguire.me> <005601ce665c$e0828e80$a187ab80$@net> <506491C4-0820-4722-8DAE-BBDC12977132@paulmaguire.me> Message-ID: On 11 Jun 2013, at 11:12, Paul Maguire wrote: > Ralf ... when he really meant: Ralph. From rabit at revigniter.com Tue Jun 11 06:41:40 2013 From: rabit at revigniter.com (Ralf Bitter) Date: Tue, 11 Jun 2013 12:41:40 +0200 Subject: LC Community - Script Limits In-Reply-To: References: Message-ID: <2A45020B-2855-4BE7-AA85-80234F2E6A35@revigniter.com> Checked the community edition of LiveCode server (6.0.2) and can not confirm that there are no script limits. The limits are still 10,10,50,10. Given the statement of Mark Wieder I am confused. Ralf On 11.06.2013, at 01:56, Kay C Lan wrote: > To Richard Gaskin, > > I'm posting in this public domain as there are clearly far more new LC > users visitng the List and so I felt it appropriate to hilight your > excellent article on the Message Path: > > http://www.fourthworld.com/embassy/articles/revolution_message_path.html > > Considering Mark Weider's recent revelation that script limits are gone, I > was wondering if you would be updating the article to reflect the current > state of affairs. > > Thanks > > On Thu, May 2, 2013 at 8:17 AM, Mark Wieder wrote: > >> >> No. There are no script limits and the limits on the number of frontscripts >> etc have also been removed. From me at paulmaguire.me Tue Jun 11 06:47:31 2013 From: me at paulmaguire.me (Paul Maguire) Date: Tue, 11 Jun 2013 11:47:31 +0100 Subject: LC 5.5.5 and Android test - broken... Message-ID: <5DE7DB69-1D95-4C31-BA84-61C12096A0A2@paulmaguire.me> Hi. Another observation. The 5.5.5 update for commercial version to resolve iOS submission problem seems unable to build a test deployment for Android. Works fine 5.5.4. I have hardware connected via USB, recognised as a Test Target in Development, builds, tries to launch on hardware, and fails (returns to desktop). Same for any phone I try. Annoying that something in Android has become broken in the updating from 5.5.4 to 5.5.5. Kind regards, Paul. From sc at sahores-conseil.com Tue Jun 11 08:32:28 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Tue, 11 Jun 2013 14:32:28 +0200 Subject: LC 5.5.5 and Android test - broken... In-Reply-To: <5DE7DB69-1D95-4C31-BA84-61C12096A0A2@paulmaguire.me> References: <5DE7DB69-1D95-4C31-BA84-61C12096A0A2@paulmaguire.me> Message-ID: <4D5EFB68-43BF-480C-B85D-B390FFF725CC@sahores-conseil.com> Same here (OSX 10.7.5) Le 11 juin 2013 ? 12:47, Paul Maguire a ?crit : > Another observation. The 5.5.5 update for commercial version to resolve iOS submission problem seems unable to build a test deployment for Android. Works fine 5.5.4. -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From endernafi at gmail.com Tue Jun 11 09:51:51 2013 From: endernafi at gmail.com (=?utf-8?Q?Ender_Nafi_Elek=C3=A7io=C4=9Flu?=) Date: Tue, 11 Jun 2013 16:51:51 +0300 Subject: [OT] What's happening here in Turkey... In-Reply-To: <1370934351526-4666311.post@n4.nabble.com> References: <11D1DD0756094E67967289F5A05541F6@gmail.com> <51B11DAB.1030808@hyperactivesw.com> <42EA89408B8C4F6E9E70A58E370AB1D8@gmail.com> <51B20E47.5030807@gmail.com> <02FB7329-A8A4-4020-8843-B3EC62B3FC9E@semperuna.com> <1189B6B4FDCE4648BA20A2A19C484C6E@gmail.com> <2ED968FDE7294571BD2CF374C37C852A@gmail.com> <1370666214112-4666141.post@n4.nabble.com> <352999C3656246F299F514EC8635F448@gmail.com> <1370934351526-4666311.post@n4.nabble.com> Message-ID: <752B5E3E091B463B828004A9C7FC848A@gmail.com> Hey guys, It's pretty bad in here, police attacked taksim, many wounded, some very serious. They also entered the biggest courthouse of Istanbul and gathered many lawyers {50+} forcefully without a court order which is illegal as you know. I'll post later a more detailed message about what happened today and the background & true reasons of these events 'cause it's revealing slowly nowadays. You may have seen some resisters throwing molotov cocktails to the police. Don't believe! It's not true, they are civil police officers, we have photo proof. I'm in hurry now, sorry? With warmest regards from Turkey, ~ Ender Nafi ~? together, we're smarter & stronger ?~ From endernafi at gmail.com Tue Jun 11 09:51:51 2013 From: endernafi at gmail.com (=?utf-8?Q?Ender_Nafi_Elek=C3=A7io=C4=9Flu?=) Date: Tue, 11 Jun 2013 16:51:51 +0300 Subject: [OT] What's happening here in Turkey... In-Reply-To: <1370934351526-4666311.post@n4.nabble.com> References: <11D1DD0756094E67967289F5A05541F6@gmail.com> <51B11DAB.1030808@hyperactivesw.com> <42EA89408B8C4F6E9E70A58E370AB1D8@gmail.com> <51B20E47.5030807@gmail.com> <02FB7329-A8A4-4020-8843-B3EC62B3FC9E@semperuna.com> <1189B6B4FDCE4648BA20A2A19C484C6E@gmail.com> <2ED968FDE7294571BD2CF374C37C852A@gmail.com> <1370666214112-4666141.post@n4.nabble.com> <352999C3656246F299F514EC8635F448@gmail.com> <1370934351526-4666311.post@n4.nabble.com> Message-ID: <752B5E3E091B463B828004A9C7FC848A@gmail.com> Hey guys, It's pretty bad in here, police attacked taksim, many wounded, some very serious. They also entered the biggest courthouse of Istanbul and gathered many lawyers {50+} forcefully without a court order which is illegal as you know. I'll post later a more detailed message about what happened today and the background & true reasons of these events 'cause it's revealing slowly nowadays. You may have seen some resisters throwing molotov cocktails to the police. Don't believe! It's not true, they are civil police officers, we have photo proof. I'm in hurry now, sorry? With warmest regards from Turkey, ~ Ender Nafi ~? together, we're smarter & stronger ?~ From livfoss at mac.com Tue Jun 11 09:54:40 2013 From: livfoss at mac.com (Graham Samuel) Date: Tue, 11 Jun 2013 15:54:40 +0200 Subject: Works in IDE, doesn't work in standalone (revisited) In-Reply-To: <8242081410.20130610090209@ahsoftware.net> References: <241C2F6E-40C3-4D53-B106-09A2BFDC6DE9@mac.com> <51B4DA76.603@hyperactivesw.com> <1370850386.7967.YahooMailNeo@web141102.mail.bf1.yahoo.com> <1370856597.58459.YahooMailNeo@web141106.mail.bf1.yahoo.com> <03D5B7DB-9DD0-4371-AB8B-ABCF5C607BF1@mac.com> <8242081410.20130610090209@ahsoftware.net> Message-ID: Hi Mark Actually I wasn't, but when I commented out my whole newGraphic handler, the issue in my app remained the same. Works in the IDE (usually), doesn't work in the standalone. So thanks for the thought, but it's got to be something else: also choosing the pointer tool (which works) does not then allow selection of graphics on the card even though they can be selected via script. I believe I have no cantSelect or cantModify properties set to true (though that may be the answer in the end, since the inability to select looks very much as if one of these props is true). I am still trying to strip it down to essentials, while doing other stuff (like driving from the South of France to London - all the way - tomorrow, and getting ready for that). Thanks Graham On 10 Jun 2013, at 18:02, Mark Wieder wrote: > Graham- > > Monday, June 10, 2013, 3:55:41 AM, you wrote: > >> There is just one 'newGraphic' handler, in the script of a >> mainstack which is acting as a library. All it does is log >> information like the cantSelect of objects - logging is just putting >> text into a field somewhere. When I comment it out, the program > > Are you passing the newGraphic message along after you process it? > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From janschenkel at yahoo.com Tue Jun 11 10:00:03 2013 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 11 Jun 2013 07:00:03 -0700 (PDT) Subject: Works in IDE, doesn't work in standalone (revisited) In-Reply-To: References: <241C2F6E-40C3-4D53-B106-09A2BFDC6DE9@mac.com> <51B4DA76.603@hyperactivesw.com> <1370850386.7967.YahooMailNeo@web141102.mail.bf1.yahoo.com> <1370856597.58459.YahooMailNeo@web141106.mail.bf1.yahoo.com> <03D5B7DB-9DD0-4371-AB8B-ABCF5C607BF1@mac.com> <8242081410.20130610090209@ahsoftware.net> Message-ID: <1370959203.44666.YahooMailNeo@web141106.mail.bf1.yahoo.com> You may have already checked this, but what is the style of the stack? TopLevel, Modeless, Palette? If it's TopLevel in the IDE but not in the standalone, that might explain it. Jan Schenkel. ? ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) ----- Original Message ----- > From: Graham Samuel > To: How to use LiveCode > Cc: > Sent: Tuesday, June 11, 2013 3:54 PM > Subject: Re: Works in IDE, doesn't work in standalone (revisited) > > Hi Mark > > Actually I wasn't, but when I commented out my whole newGraphic handler, the > issue in my app remained the same. Works in the IDE (usually), doesn't work > in the standalone. > > So thanks for the thought, but it's got to be something else: also choosing > the pointer tool (which works) does not then allow selection of graphics on the > card even though they can be selected via script. I believe I have no cantSelect > or cantModify properties set to true (though that may be the answer in the end, > since the inability to select looks very much as if one of these props is true). > I am still trying to strip it down to essentials, while doing other stuff (like > driving from the South of France to London - all the way - tomorrow, and getting > ready for that). > > Thanks > > Graham > > > On 10 Jun 2013, at 18:02, Mark Wieder wrote: > >> Graham- >> >> Monday, June 10, 2013, 3:55:41 AM, you wrote: >> >>> There is just one 'newGraphic' handler, in the script of a >>> mainstack which is acting as a library. All it does is log >>> information like the cantSelect of objects - logging is just putting >>> text into a field somewhere. When I comment it out, the program >> >> Are you passing the newGraphic message along after you process it? >> >> -- >> -Mark Wieder >> mwieder at ahsoftware.net >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mazzapaoloitaly at gmail.com Tue Jun 11 10:12:33 2013 From: mazzapaoloitaly at gmail.com (paolo mazza) Date: Tue, 11 Jun 2013 16:12:33 +0200 Subject: [OT] What's happening here in Turkey... In-Reply-To: <752B5E3E091B463B828004A9C7FC848A@gmail.com> References: <11D1DD0756094E67967289F5A05541F6@gmail.com> <51B11DAB.1030808@hyperactivesw.com> <42EA89408B8C4F6E9E70A58E370AB1D8@gmail.com> <51B20E47.5030807@gmail.com> <02FB7329-A8A4-4020-8843-B3EC62B3FC9E@semperuna.com> <1189B6B4FDCE4648BA20A2A19C484C6E@gmail.com> <2ED968FDE7294571BD2CF374C37C852A@gmail.com> <1370666214112-4666141.post@n4.nabble.com> <352999C3656246F299F514EC8635F448@gmail.com> <1370934351526-4666311.post@n4.nabble.com> <752B5E3E091B463B828004A9C7FC848A@gmail.com> Message-ID: Ender, your messages from Istanbul are very interesting and I hope you will keep on informing us about the riots in Turkey. All in all this is the "revolution" mailing list, so you are not completely out of topic ;-) I will be in Istanbul in July and I am sure I will love your country. I know what you mean when you talk about misinformation and falsification of reality by the mass media. I am Italian. Still, internet and in particular this mailing list, is a valuable resource. I wish you all the best Paolo From rdimola at evergreeninfo.net Tue Jun 11 10:30:48 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 11 Jun 2013 10:30:48 -0400 Subject: Android and iOS embedded fonts used in native browser control. In-Reply-To: <506491C4-0820-4722-8DAE-BBDC12977132@paulmaguire.me> References: <301FBE13-16C6-4E82-946C-6F2249C7EE26@paulmaguire.me> <005601ce665c$e0828e80$a187ab80$@net> <506491C4-0820-4722-8DAE-BBDC12977132@paulmaguire.me> Message-ID: <001a01ce66b0$4500ca40$cf025ec0$@net> Paul, Me too. Could you submit this to support. Include your original htmlwrappertop. Also add in a css like you did below and also include an inline css like this. This is a show stopper! Let's get mother ship involved.

This is a native control Sample text formatted with inline CSS.

Thanks Ralph (except when I playing the score from The Sound of Music, then it's Ralf) >FYI I tried some CSS stuff like adding this to the style sheet: @font-face { font-family: "GROBOLD"; src: url('Fonts/GROBOLD.ttf'); } Nada. Kind regards, Paul. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From nigels at amglighthouse.co.za Tue Jun 11 10:52:42 2013 From: nigels at amglighthouse.co.za (Nigel Soden) Date: Tue, 11 Jun 2013 16:52:42 +0200 Subject: (IOS7) And LiveCode Message-ID: Greetings and salutations to the LiveCode Band of Brothers and Sisters After watching this http://www.apple.com/ios/ios7/ I was wondering how this will affect LiveCode in the long run especially after reading up some of the documentation here https://developer.apple.com/ios7/. Reading between the lines I'm of the impression that unless apps do not conform as prescribed in the doc's the will be rejected. My personnel impression on the new look and feel of IOS7 is on the plus side. I also know to create an application on the level of this is not a simple task. From ambassador at fourthworld.com Tue Jun 11 11:15:54 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 11 Jun 2013 08:15:54 -0700 Subject: Works in IDE, doesn't work in standalone (revisited) In-Reply-To: References: Message-ID: <51B73F2A.80906@fourthworld.com> Graham Samuel wrote: > ...also choosing the pointer tool (which works) does not then allow > selection of graphics on the card even though they can be selected > via script. I believe I have no cantSelect or cantModify properties > set to true (though that may be the answer in the end, since the > inability to select looks very much as if one of these props is > true). It does indeed. If you've also double-checked the stack mode as Jan suggested, I would thoroughly review relevant objects for the cantSelect property. When checking stack mode, be sure to check not only the command used to open the stacks ("modeless", "toplevel", etc.), but also check the stack's "style" property. When used with simply "go" or "open", the style property governs the window's mode, and depending on how the stack is opened in the IDE, the IDE may be toplevelling a stack that actually has a different mode. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From ambassador at fourthworld.com Tue Jun 11 12:00:57 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 11 Jun 2013 09:00:57 -0700 Subject: LC Community - Script Limits In-Reply-To: References: Message-ID: <51B749B9.4@fourthworld.com> Kay C Lan wrote: > To Richard Gaskin, > > I'm posting in this public domain as there are clearly far more new LC > users visitng the List and so I felt it appropriate to hilight your > excellent article on the Message Path: > > http://www.fourthworld.com/embassy/articles/revolution_message_path.html > > Considering Mark Weider's recent revelation that script limits are gone, I > was wondering if you would be updating the article to reflect the current > state of affairs. Thank you for the kind words. If we can get verification, either from RunRev or through testing, that the scriptLimits are indeed gone in all versions, I'll be happy to update the article to reflect that when I return toward the end of the month from a trip I'm about to take. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From rdimola at evergreeninfo.net Tue Jun 11 13:21:26 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 11 Jun 2013 13:21:26 -0400 Subject: RELEASE: LiveCode 6.0.2 In-Reply-To: References: <10353E49-F270-4A10-83A8-8A2E34C448F9@m-r-d.de> Message-ID: <005701ce66c8$1ae5e750$50b1b5f0$@net> I am getting A "Non-Public API usage" for "Apps are not permitted to access the UUID" from the application loader. I thought this was fixed? Anyone else successfully upload a binary with 6.0.2 Build 1521? I thought this error was fixed in 6.0.2. I also thought in the past this error was sent via email after you uploaded the binary? I reverted to 5.5.5 and no complaints from the Application Loader or the iTunes Store. I'm now in waiting for review..... AND fixing the Android SDK again(Last time I'll mention it) Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From gspearson at gmail.com Tue Jun 11 14:24:07 2013 From: gspearson at gmail.com (Graham Pearson) Date: Tue, 11 Jun 2013 14:24:07 -0400 Subject: revBrowserCallScript In-Reply-To: <13F14E39-828B-429C-A0BA-BE0FCA5D9FA7@unil.ch> References: <514BE755.1090608@hyperactivesw.com> <7332128A-A190-440D-9CE5-371FE3476ED0@sweattechnologies.com> <514BEF75.3010207@hyperactivesw.com> <7CAB0849-4594-442A-BF54-0AB56F797B10@sweattechnologies.com> <514BF57D.7080505@hyperactivesw.com> <628B4A0C-127A-455A-97F3-FA01179039AD@sweattechnologies.com> <514BF98C.8000607@hyperactivesw.com> <13F14E39-828B-429C-A0BA-BE0FCA5D9FA7@unil.ch> Message-ID: <51B76B47.4030108@gmail.com> I am not sure if you got this working but in working with an application that is based on google maps I have the Rev stuff working but I am at a loss with the markers of google maps. Here is my line in Rev Script get revBrowserCallScript(sBrowserId, "AddSchoolMarker", tSchoolsInMarketDataArray[RecordSet][SchoolsWithinMarket][L][@attributes]["ID"], tSchoolsInMarketDataArray[RecordSet][SchoolsWithinMarket][L]["SchoolName"], tSchoolsInMarketDataArray[RecordSet][SchoolsWithinMarket][L]["Address"], tSchoolsInMarketDataArray[RecordSet][SchoolsWithinMarket][L]["City"], tSchoolsInMarketDataArray[RecordSet][SchoolsWithinMarket][L]["State"], tSchoolsInMarketDataArray[RecordSet][SchoolsWithinMarket][L]["ZipCode"], tSchoolsInMarketDataArray[RecordSet][SchoolsWithinMarket][L]["ZipPlus4"], tSchoolsInMarketDataArray[RecordSet][SchoolsWithinMarket][L]["SchoolLatitude"], tSchoolsInMarketDataArray[RecordSet][SchoolsWithinMarket][L]["SchoolLongitude"], tSchoolsInMarketDataArray[RecordSet][SchoolsWithinMarket][L]["TotalStudents"], tSchoolsInMarketDataArray[RecordSet][SchoolsWithinMarket][L]["DistanceFromBTATower"], tSchoolsInMarketDataArray[RecordSet][SchoolsWithinMarket][L]["CountyName"], tSchoolsInMarketDataArray[RecordSet][SchoolsWithinMarket][L]["PhoneNumber"], tSchoolsInMarketDataArray[RecordSet][SchoolsWithinMarket][L]["HasVOLEquipment"], tSchoolsInMarketDataArray[RecordSet][SchoolsWithinMarket][L]["HasEBSLicenseModem"]) All of these variables are being pulled from a MySQL Database through a Web Service powered by Coldfusion and returned to Livecode as an XML Packet. Which when I do window.alert I am getting each one of these parameters to display properly. Below is my javascript code which the marker section is not working. With the revBrowserCallScript it does call the function on the webpage, I just can not get the marker to show up within the browser object. On 3/22/2013 5:00 AM, Jacques Hausser wrote: > Call to experts: > > I have newbie's problems with revBrowserCallScript. I'm using a browser and an html file built according to various examples to display google maps; it's OK and revBrowserCallScript works as expected for functions without parameters? but issues an error when I try to use parameters. I didn't find anything very enlighting in doc, former messages and forums? Thanks for any hint ! > > Jacques > > My function call: > > get revBrowserCallScript(LBrowserID,MoveAndZoom,tLat,tLong,tZoom) > > the function called (one of several different versions): > > function MoveAndZoom(pLat,pLng,pZoom) > { > var tCenter = new google.maps.LatLng(pLat,pLng); > var sortie = "OK"; > map.setZoom(pZoom); > map.panto(tCenter); > return sortie; > } > > I also tried with map.setCenter(tCenter), as well as with and without 'get' and 'return sortie;'. > > the error is (External handler: exception) near "error in script" > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From MikeKerner at roadrunner.com Tue Jun 11 14:29:38 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 11 Jun 2013 14:29:38 -0400 Subject: (IOS7) And LiveCode In-Reply-To: References: Message-ID: Without disclosing anything that would be confidential (since the documents are confidential), I don't read it that way, but there are a couple of things that were requirements that are now being shunned that made me laugh. On Tue, Jun 11, 2013 at 10:52 AM, Nigel Soden wrote: > Greetings and salutations to the LiveCode Band of Brothers and Sisters > > After watching this http://www.apple.com/ios/ios7/ I was wondering how > this will affect LiveCode in the long run especially after reading up some > of the documentation here https://developer.apple.com/ios7/. Reading > between the lines I'm of the impression that unless apps do not conform as > prescribed in the doc's the will be rejected. > > My personnel impression on the new look and feel of IOS7 is on the plus > side. I also know to create an application on the level of this is not a > simple task. > _______________________________________________ > use-livecode mailing list > use-livecode at 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." From mwieder at ahsoftware.net Tue Jun 11 15:19:09 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 11 Jun 2013 19:19:09 +0000 (UTC) Subject: When is a color not a color References: <7f4ca567-d281-4990-b3b7-3fcbb91ea0d4@blur> <51B2C703.8090102@hyperactivesw.com> Message-ID: Peter Haworth writes: > As mentioned in my original post, I thought they were either three numbers > each between 0-255, a hex value, or a color name, but it sounds like it's > possible to have a 4th integer as an alpha channel? IS that correct? I can't say whether it's right or not, but here's what the color parser in the engine code (in uidc.cpp) does: check for a number if that fails, check against the colornames return boolean for the colornames check else check for a second number (g value) if only one number dissect the first number into rgb components else (we have r&b values) get a third number (g value) if only two numbers, return False parse the rgb values into a color variable return True so 4th through nth numbers will just be ignored. -- Mark Wieder mwieder at ahsoftware.net From iowahengst at mac.com Tue Jun 11 15:37:21 2013 From: iowahengst at mac.com (Randy Hengst) Date: Tue, 11 Jun 2013 14:37:21 -0500 Subject: Multitasking Comes to iOS, Time for LC to make it better In-Reply-To: References: <8BFDDE81-E25D-4386-90D0-2C582B290290@swcp.com> <35D4C12D-951E-43EA-BF80-A0B8AF515F6C@verizon.net> <6A5987BA-26E9-4146-8624-98047D19172C@verizon.net> Message-ID: <4AA3AA5D-AEEB-4846-9EF1-DE137CDCA494@mac.com> Hi all, I've never installed a beta iOS. Can anyone point me to the instructions about doing so? I've downloaded an iOS 7 beta? now what? My version of Xcode is 4.5.2 My iPhone 4 currently has 6.1.3? which, btw, doesn't work with my current version of Xcode. I'm using Lion 10.7.4 I've checked on the Apple Developer site? can't find a set of instructions about installing. be well, randy On Jun 10, 2013, at 7:10 PM, Colin Holgate wrote: > So far so good. Strangely, I haven't found a way to search for an app, Spotlight seems to have gone. > > I didn't yet install Xcode 5 to see how LiveCode apps will work. Will do that in a while. > > > > On Jun 10, 2013, at 8:00 PM, Mike Kerner wrote: > >> For those of you at didn't know, ios 7 beta is now available for download >> on newer iphones and ipod touches at the beta dev center. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Tue Jun 11 15:55:35 2013 From: coiin at verizon.net (Colin Holgate) Date: Tue, 11 Jun 2013 15:55:35 -0400 Subject: Multitasking Comes to iOS, Time for LC to make it better In-Reply-To: <4AA3AA5D-AEEB-4846-9EF1-DE137CDCA494@mac.com> References: <8BFDDE81-E25D-4386-90D0-2C582B290290@swcp.com> <35D4C12D-951E-43EA-BF80-A0B8AF515F6C@verizon.net> <6A5987BA-26E9-4146-8624-98047D19172C@verizon.net> <4AA3AA5D-AEEB-4846-9EF1-DE137CDCA494@mac.com> Message-ID: Go into the iTunes you use for doing backups of your iPhone, and do a backup. You get there by selecting the iPhone and looking in the lower ?Backups? area of the window. In the upper area, perhaps labeled ?iPhone 5?, you should see a "Check for Updates" button. Option-click on that, and you can point it to the ipsw file that was on the DMG you have downloaded. From cszasz at mac.com Tue Jun 11 15:57:58 2013 From: cszasz at mac.com (charles61) Date: Tue, 11 Jun 2013 12:57:58 -0700 (PDT) Subject: Putting two groups onto the clipboard Message-ID: <1370980678676-4666332.post@n4.nabble.com> I have some edit fields that have been grouped into two separate groups. How can I placed the two groups onto the clipboard in an app that so that they can be pasted (from the app) to a word processing document? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Putting-two-groups-onto-the-clipboard-tp4666332.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at lcsql.com Tue Jun 11 16:07:08 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 11 Jun 2013 13:07:08 -0700 Subject: When is a color not a color In-Reply-To: References: <7f4ca567-d281-4990-b3b7-3fcbb91ea0d4@blur> <51B2C703.8090102@hyperactivesw.com> Message-ID: Thanks Mark. I entered a bug report on this and it is being investigated. Meantime, I check for all the other "is a" possibilites first, then do my own check for a color. Pete lcSQL Software On Tue, Jun 11, 2013 at 12:19 PM, Mark Wieder wrote: > Peter Haworth writes: > > > As mentioned in my original post, I thought they were either three > numbers > > each between 0-255, a hex value, or a color name, but it sounds like it's > > possible to have a 4th integer as an alpha channel? IS that correct? > > I can't say whether it's right or not, but here's what the color parser in > the engine code (in uidc.cpp) does: > > check for a number > if that fails, > check against the colornames > return boolean for the colornames check > else > check for a second number (g value) > if only one number > dissect the first number into rgb components > else (we have r&b values) > get a third number (g value) > if only two numbers, return False > parse the rgb values into a color variable > return True > > so 4th through nth numbers will just be ignored. > > -- > Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From niggemann at uni-wh.de Tue Jun 11 16:40:29 2013 From: niggemann at uni-wh.de (BNig) Date: Tue, 11 Jun 2013 13:40:29 -0700 (PDT) Subject: When is a color not a color In-Reply-To: References: <7f4ca567-d281-4990-b3b7-3fcbb91ea0d4@blur> <51B2C703.8090102@hyperactivesw.com> Message-ID: <1370983229325-4666334.post@n4.nabble.com> Hi Pete, Just for fun: 1 Button 1 field ------------------------ on mouseUp put 256 into tSoMany repeat with i = 1 to tSoMany put i & tab & tab & "Just Some Colorized Text" & return after tData end repeat delete last char of tData lock screen put tData into field 1 repeat with i = 1 to tSoMany set the textColor of line i of field 1 to i end repeat repeat with i = 1 to tSoMany put tab & (the textColor of line i of field 1) after line i of field 1 end repeat unlock screen end mouseUp ---------------------------- Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/When-is-a-color-not-a-color-tp4666124p4666334.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at lcsql.com Tue Jun 11 17:41:22 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 11 Jun 2013 14:41:22 -0700 Subject: When is a color not a color In-Reply-To: <1370983229325-4666334.post@n4.nabble.com> References: <7f4ca567-d281-4990-b3b7-3fcbb91ea0d4@blur> <51B2C703.8090102@hyperactivesw.com> <1370983229325-4666334.post@n4.nabble.com> Message-ID: On Tue, Jun 11, 2013 at 1:40 PM, BNig wrote: > on mouseUp > put 256 into tSoMany > repeat with i = 1 to tSoMany > put i & tab & tab & "Just Some Colorized Text" & return after tData > end repeat > delete last char of tData > lock screen > put tData into field 1 > repeat with i = 1 to tSoMany > set the textColor of line i of field 1 to i > end repeat > repeat with i = 1 to tSoMany > put tab & (the textColor of line i of field 1) after line i of field > 1 > end repeat > > unlock screen > end mouseUp > Fascinating! I guess single numbers get translated into rgb triplets somehow. The dictionary has something in it about single numbers being treated as a valid color by "is a" for compatibility with Hypercard. Pete lcSQL Software From niggemann at uni-wh.de Tue Jun 11 18:32:31 2013 From: niggemann at uni-wh.de (BNig) Date: Tue, 11 Jun 2013 15:32:31 -0700 (PDT) Subject: When is a color not a color In-Reply-To: References: <7f4ca567-d281-4990-b3b7-3fcbb91ea0d4@blur> <51B2C703.8090102@hyperactivesw.com> <1370983229325-4666334.post@n4.nabble.com> Message-ID: <1370989951322-4666336.post@n4.nabble.com> I guess the numbers 1 to 256 refer to some color look up table for 8 bit color that is somehow in the engine? Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/When-is-a-color-not-a-color-tp4666124p4666336.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Tue Jun 11 19:27:00 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 11 Jun 2013 23:27:00 +0000 (UTC) Subject: When is a color not a color References: <7f4ca567-d281-4990-b3b7-3fcbb91ea0d4@blur> <51B2C703.8090102@hyperactivesw.com> <1370983229325-4666334.post@n4.nabble.com> <1370989951322-4666336.post@n4.nabble.com> Message-ID: BNig writes: > > I guess the numbers 1 to 256 refer to some color look up table for 8 bit > color that is somehow in the engine? Exactly. There's an array of 256 RGB values in uidc.cpp. If only one number is present, the parsecolor algorithm restricts it to a value between 1 and 256, then uses that number to retrieve the corresponding array element and extracts the RGB values (0-255) from it. Then, for some reason I haven't wrapped my head around, it seems to multiply those RGB values by 257 for later use. Hmmm... everything was going so well up to that point. -- Mark Wieder mwieder at ahsoftware.net From dsc at swcp.com Tue Jun 11 19:38:14 2013 From: dsc at swcp.com (Dar Scott) Date: Tue, 11 Jun 2013 17:38:14 -0600 Subject: When is a color not a color In-Reply-To: References: <7f4ca567-d281-4990-b3b7-3fcbb91ea0d4@blur> <51B2C703.8090102@hyperactivesw.com> <1370983229325-4666334.post@n4.nabble.com> <1370989951322-4666336.post@n4.nabble.com> Message-ID: byte dup On Jun 11, 2013, at 5:27 PM, Mark Wieder wrote: > Then, for some reason I haven't wrapped my head around, it seems to multiply > those RGB values by 257 for later use. From iowahengst at mac.com Tue Jun 11 20:02:05 2013 From: iowahengst at mac.com (Randy Hengst) Date: Tue, 11 Jun 2013 19:02:05 -0500 Subject: Multitasking Comes to iOS, Time for LC to make it better In-Reply-To: References: <8BFDDE81-E25D-4386-90D0-2C582B290290@swcp.com> <35D4C12D-951E-43EA-BF80-A0B8AF515F6C@verizon.net> <6A5987BA-26E9-4146-8624-98047D19172C@verizon.net> <4AA3AA5D-AEEB-4846-9EF1-DE137CDCA494@mac.com> Message-ID: <3974B475-9B8D-43E5-86F7-FCA0B91C95C1@mac.com> OK, well thank you Colin. That was easy. I loaded iOS 7 on an iPhone 4?. and so far, the two apps of mine that I've tried (as downloads from the app store) work just fine? That is really good since things broke with iOS5 and iOS6. The apps were sent to the app store in Dec 2012?. off the top of my head, I can't remember what LC version I was using then? and my notes aren't handy. I'll mess with sending a new build to the phone (using Jacque's AirLaunch) in the next day or so. be well, randy ----- On Jun 11, 2013, at 2:55 PM, Colin Holgate wrote: > Go into the iTunes you use for doing backups of your iPhone, and do a backup. You get there by selecting the iPhone and looking in the lower ?Backups? area of the window. In the upper area, perhaps labeled ?iPhone 5?, you should see a "Check for Updates" button. Option-click on that, and you can point it to the ipsw file that was on the DMG you have downloaded. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Tue Jun 11 20:12:57 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 12 Jun 2013 02:12:57 +0200 Subject: Putting two groups onto the clipboard In-Reply-To: <1370980678676-4666332.post@n4.nabble.com> References: <1370980678676-4666332.post@n4.nabble.com> Message-ID: <51B7BD09.1090806@economy-x-talk.com> Hi Charles, I wonder what you have tried to far and why it didn't work? One solution is on mouseUp export snapshot from grp 1 to myPict as PNG set the clipboarddata["image"] to myPict end mouseUp but because this doesn't always give nice results, you might try on mouseUp export snapshot from rect (the rect of grp 1) of this cd \ to myPict as PNG set the clipboarddata["image"] to myPict end mouseUp -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 6/11/2013 21:57, charles61 wrote: > I have some edit fields that have been grouped into two separate groups. How > can I placed the two groups onto the clipboard in an app that so that they > can be pasted (from the app) to a word processing document? > > From m.schonewille at economy-x-talk.com Tue Jun 11 20:15:37 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 12 Jun 2013 02:15:37 +0200 Subject: Putting two groups onto the clipboard In-Reply-To: <51B7BD09.1090806@economy-x-talk.com> References: <1370980678676-4666332.post@n4.nabble.com> <51B7BD09.1090806@economy-x-talk.com> Message-ID: <51B7BDA9.4090808@economy-x-talk.com> Charles, If you want to copy two groups at once, you can temporarily group the groups or create a rect from the topleft of one and the bottomright of the other group: put the topleft of grp 1 & comma & the bottomright of grp 2 into myRect -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 6/12/2013 02:12, Mark Schonewille wrote: > Hi Charles, > > I wonder what you have tried to far and why it didn't work? > > One solution is > > on mouseUp > export snapshot from grp 1 to myPict as PNG > set the clipboarddata["image"] to myPict > end mouseUp > > but because this doesn't always give nice results, you might try > > on mouseUp > export snapshot from rect (the rect of grp 1) of this cd \ > to myPict as PNG > set the clipboarddata["image"] to myPict > end mouseUp > > > On 6/11/2013 21:57, charles61 wrote: >> I have some edit fields that have been grouped into two separate >> groups. How >> can I placed the two groups onto the clipboard in an app that so that >> they >> can be pasted (from the app) to a word processing document? >> >> > From bonnmike at gmail.com Tue Jun 11 20:17:44 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 11 Jun 2013 18:17:44 -0600 Subject: Putting two groups onto the clipboard In-Reply-To: <51B7BD09.1090806@economy-x-talk.com> References: <1370980678676-4666332.post@n4.nabble.com> <51B7BD09.1090806@economy-x-talk.com> Message-ID: Yeah, as mark said, you can do the snapshot thing. If you want to just get the text you'd have to loop through the fields in each group, grab the text and assemble it however you need it in a variable, then put it into the clipboarddata["text"] or .. well something like that. On Tue, Jun 11, 2013 at 6:12 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi Charles, > > I wonder what you have tried to far and why it didn't work? > > One solution is > > on mouseUp > export snapshot from grp 1 to myPict as PNG > set the clipboarddata["image"] to myPict > end mouseUp > > but because this doesn't always give nice results, you might try > > on mouseUp > export snapshot from rect (the rect of grp 1) of this cd \ > to myPict as PNG > set the clipboarddata["image"] to myPict > end mouseUp > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/**xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour > spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > Fill out this survey please > http://livecodebeginner.**economy-x-talk.com/survey/ > > On 6/11/2013 21:57, charles61 wrote: > >> I have some edit fields that have been grouped into two separate groups. >> How >> can I placed the two groups onto the clipboard in an app that so that they >> can be pasted (from the app) to a word processing document? >> >> >> > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From endernafi at gmail.com Tue Jun 11 20:23:57 2013 From: endernafi at gmail.com (Ender Nafi) Date: Wed, 12 Jun 2013 03:23:57 +0300 Subject: [OT] What's happening here in Turkey... Message-ID: guys, it's very, very bad in here. I'd prefer to be beaten by police :) gas is worse when it's used so much, so dense :/ watch cnn international, it airs taksim live. keep safe, pray for us {and me :-) } warmest wishes from istanbul, ender nafi From stephenREVOLUTION2 at barncard.com Tue Jun 11 20:33:18 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 11 Jun 2013 17:33:18 -0700 Subject: [OT] What's happening here in Turkey... In-Reply-To: References: Message-ID: Ender, I've been watching this all day and am getting madder and madder - the tyranny is WORLD WIDE, it may not be better here at some point, although there many here don't see it and sit there like sheep. I expect to see similar scenes in our cities at some point. On Tue, Jun 11, 2013 at 5:23 PM, Ender Nafi wrote: > guys, > it's very, very bad in here. > I'd prefer to be beaten by police :) > gas is worse when it's used so much, so dense :/ > > watch cnn international, > it airs taksim live. > > keep safe, > pray for us {and me :-) } > > warmest wishes from istanbul, > ender nafi > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From andrew at ctech.me Tue Jun 11 20:48:12 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Tue, 11 Jun 2013 19:48:12 -0500 Subject: [OT] What's happening here in Turkey... In-Reply-To: References: Message-ID: Ender, CS Gas can often be passively drawn in by fires to neutralize some of the effects. Burning barricades? Regards, Andrew On Tue, Jun 11, 2013 at 7:33 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > Ender, I've been watching this all day and am getting madder and madder - > the tyranny is WORLD WIDE, it may not be better here at some point, > although there many here don't see it and sit there like sheep. I expect > to see similar scenes in our cities at some point. > > > On Tue, Jun 11, 2013 at 5:23 PM, Ender Nafi wrote: > > > guys, > > it's very, very bad in here. > > I'd prefer to be beaten by police :) > > gas is worse when it's used so much, so dense :/ > > > > watch cnn international, > > it airs taksim live. > > > > keep safe, > > pray for us {and me :-) } > > > > warmest wishes from istanbul, > > ender nafi > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From mwieder at ahsoftware.net Tue Jun 11 21:02:21 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 11 Jun 2013 18:02:21 -0700 Subject: When is a color not a color In-Reply-To: References: <7f4ca567-d281-4990-b3b7-3fcbb91ea0d4@blur> <51B2C703.8090102@hyperactivesw.com> <1370983229325-4666334.post@n4.nabble.com> <1370989951322-4666336.post@n4.nabble.com> Message-ID: <8433334926.20130611180221@ahsoftware.net> Dar- Tuesday, June 11, 2013, 4:38:14 PM, you wrote: > byte dup Yes, I understand *what* it's doing, but I don't know why. Seems like it's redundantly repeating itself over and over and over again and again. -- -Mark Wieder mwieder at ahsoftware.net From curry at pair.com Tue Jun 11 21:09:39 2013 From: curry at pair.com (Curry Kenworthy) Date: Tue, 11 Jun 2013 20:09:39 -0500 Subject: ANN: WordLib 2.0 - Formatting, Meta, Mobile, Android In-Reply-To: References: Message-ID: <51B7CA53.3020000@pair.com> I'm happy to announce a new version of WordLib! Ready for extreme imports? It's time for total document domination. WordLib 2.0 brings serious attitude to your word processing imports with a bevy of new MS Word formatting features (such as paragraph alignment, line spacing, borders, complex highlights, better tables, hierarchical lists) to match the new field capabilities in LiveCode 5.5 and later. You also get "the rest of the story" with document meta info, added options such as a starting folder for the import command, friendly Unicode, a better Mobile experience thanks to greater parity with Desktop features, and an improved demo that runs everywhere. And now "everywhere" just got bigger; this version includes the Android platform, so documents may run, but there's nowhere to hide from your import capabilities. If you're new to WordLib, it's all about getting a Word or OpenOffice file into a LiveCode field, either at runtime so that your end users can load arbitrary documents, or during development if you want to use your favorite word processor to design content for your fields. Web page and download are here: http://curryk.com/wordlib.html To purchase WordLib, you can choose between two great options, the RunRev Marketplace and my eSellerate store. Both are linked in the above web page and in the software demo itself. (The eSellerate store is ready to deliver the new version immediately, as of this announcement, so if you're in a hurry it's there for the taking. However, I want to equally encourage the RunRev Marketplace, which offers a great purchase experience and stellar support. I'm not sure exactly what time the new version will show up there, but just download the demo first from the above link, and I'll post here again when I see the Marketplace updated.) The 2.0 series is a paid upgrade, and will span approximately a year of continued development and updates, with the initial focus on OpenOffice and legacy Word improvements. For my awesome existing customers, if you wish to upgrade via eSellerate, just shoot me an email offlist with "WordLib Upgrade" in the subject line and I'll email back an upgrade coupon within one day. If you wish to upgrade via the RunRev store, you'll be receiving information soon. (This version is compatible with Commercial LiveCode; I'll be catching up on features and updates for my product line first, as people have been anticipating these, before looking into the Community edition possibilities.) I hope you enjoy the update! I'll be announcing updates for other products soon. Best wishes, Curry Kenworthy -- WordLib: Import MS Word and OpenOffice documents http://curryk.com/wordlib.html WordReport: Template-driven MS Word and OpenOffice reports, from invoices and worksheets to catalogs and mail merge http://curryk.com/wordreport.html Need custom software development or RunRev help? http://curryk.com/consulting/ From endernafi at gmail.com Tue Jun 11 21:15:30 2013 From: endernafi at gmail.com (Ender Nafi) Date: Wed, 12 Jun 2013 04:15:30 +0300 Subject: [OT] What's happening here in Turkey... Message-ID: we've used water buckets to neutralize gas capsules. but the first attack at 19.00 was bad. the crowd was huge, nowhere to run and they used too, too many gas. and the worst part is, we weren't prepared 'cause we didn't expect. the governor had PROMISED not to attack. thus, many of us brought children. it was like hell, absolutely hell. people falling to ground while crowd running backwards, children screams, and every breath burns lungs. i was sure that i will die painfully. i am here from the beginning for two weeks, beaten by the police, breathed pepper gas and all. so, i've been thinking that i saw worst. clearly, i was mistaking. the weird, screamy, animalish voices of those children trying to breath are still in my ears. CHILDREN FOR HEAVEN'S SAKE, CHILDREN!!!!!! they even gas-bombed the infirmary. that's illegal even at war. i'm rageful!!!! yet, i didn't throw even a pebble or plastic bottle to the police and tried to prevent those do. we're not like them, we shouldn't be. we're different... best, ender nafi From mcgrath3 at mac.com Tue Jun 11 21:40:45 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 11 Jun 2013 21:40:45 -0400 Subject: change orientation on just one card Message-ID: <704697A5-D9C9-4366-8BDE-AEA488CC71FD@mac.com> Has anyone been successful in having just one card in an app be restricted to just landscape. I have an app that is supported for all orientations but for one card I want to restrict the allowed orientations to just landscape. I tried this on the card I want to restrict but with no luck: on preopencard if the environment is "mobile" then mobileSetAllowedOrientations "landscape left,landscape right" end if end preopencard Is there a way to set the orientation when opening a card. I can't seem to discover any. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com From sc at sahores-conseil.com Tue Jun 11 21:45:31 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Wed, 12 Jun 2013 03:45:31 +0200 Subject: [OT] What's happening here in Turkey... In-Reply-To: References: Message-ID: <79B43053-F7E6-4520-9376-36DEC444AD88@sahores-conseil.com> Ender, Today, the front shows up in Istanbul but, it's walking all around over/against us and will do so until we get "le bon-sens" ??! and, more decisive, the courage to ground the laws of the next for coming times. Are we going to get strong enough to merit something else than tyranny ? Are we going to act and build a worldwide republic where states would become unable to rely on financial bandits driven vandalism ??, where peoples would rely on creativity, added value work and respecteous pacific exchanges ? Awaiting to ear you. Be careful. Le 12 juin 2013 ? 02:33, stephen barncard a ?crit : > Ender, I've been watching this all day and am getting madder and madder - > the tyranny is WORLD WIDE, it may not be better here at some point, > although there many here don't see it and sit there like sheep. I expect > to see similar scenes in our cities at some point. > > > On Tue, Jun 11, 2013 at 5:23 PM, Ender Nafi wrote: > >> guys, >> it's very, very bad in here. >> I'd prefer to be beaten by police :) >> gas is worse when it's used so much, so dense :/ >> >> watch cnn international, >> it airs taksim live. >> >> keep safe, >> pray for us {and me :-) } >> >> warmest wishes from istanbul, >> ender nafi >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From sc at sahores-conseil.com Tue Jun 11 21:52:38 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Wed, 12 Jun 2013 03:52:38 +0200 Subject: [OT] What's happening here in Turkey... In-Reply-To: References: Message-ID: <42B1AEC0-E93B-48D2-AB58-B0B3D9509AC1@sahores-conseil.com> Please, give them the protection to stay away from this as much as possible? Le 12 juin 2013 ? 03:15, Ender Nafi a ?crit : > CHILDREN FOR HEAVEN'S SAKE, CHILDREN!!!!!! -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From sc at sahores-conseil.com Tue Jun 11 22:03:50 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Wed, 12 Jun 2013 04:03:50 +0200 Subject: [OT] What's happening here in Turkey... In-Reply-To: References: Message-ID: <0F39CDE2-A33F-48BF-AD38-85DA73EEA596@sahores-conseil.com> Le 12 juin 2013 ? 03:15, Ender Nafi a ?crit : > we're not like them, > we shouldn't be. > > we're different? Would you mean : courage is up and alone, violence and fear neutralize each other down ? -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From jacque at hyperactivesw.com Tue Jun 11 23:12:50 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 11 Jun 2013 22:12:50 -0500 Subject: change orientation on just one card In-Reply-To: <704697A5-D9C9-4366-8BDE-AEA488CC71FD@mac.com> References: <704697A5-D9C9-4366-8BDE-AEA488CC71FD@mac.com> Message-ID: <51B7E732.9070904@hyperactivesw.com> On 6/11/13 8:40 PM, Thomas McGrath III wrote: > Has anyone been successful in having just one card in an app be > restricted to just landscape. I have an app that is supported for all > orientations but for one card I want to restrict the allowed > orientations to just landscape. > > I tried this on the card I want to restrict but with no luck: on > preopencard if the environment is "mobile" then > mobileSetAllowedOrientations "landscape left,landscape right" end if > end preopencard > > Is there a way to set the orientation when opening a card. I can't > seem to discover any. I haven't ever tried to do that, but reading the docs, it says that setting allowed orientations only takes effect the next time an orientation changes. If I'm reading it right, and the user is already in portrait mode, then the orientation restriction wouldn't happen until after they try to rotate the device at least once. Maybe just structuring your resizestack handler on that card would be enough. Assuming you have a resizestack handler, always set up the layout to landscape if you're on that card. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Tue Jun 11 23:17:23 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 11 Jun 2013 20:17:23 -0700 Subject: change orientation on just one card In-Reply-To: <704697A5-D9C9-4366-8BDE-AEA488CC71FD@mac.com> Message-ID: Seems to work here in LC 5.5.3 (what I have handy). Not sure if anything has changed in later versions. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 6/11/13 6:40 PM, "Thomas McGrath III" wrote: >Has anyone been successful in having just one card in an app be >restricted to just landscape. I have an app that is supported for all >orientations but for one card I want to restrict the allowed orientations >to just landscape. > >I tried this on the card I want to restrict but with no luck: >on preopencard > if the environment is "mobile" then > mobileSetAllowedOrientations "landscape left,landscape right" > end if >end preopencard > >Is there a way to set the orientation when opening a card. I can't seem >to discover any. > >Tom > > >-- Tom McGrath III >http://lazyriver.on-rev.com >mcgrath3 at mac.com > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From gerry.orkin at gmail.com Tue Jun 11 23:37:03 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Wed, 12 Jun 2013 13:37:03 +1000 Subject: [OT] What's happening here in Turkey... In-Reply-To: References: Message-ID: Sounds terrible Ender, but I was surprised by this: > the governor had PROMISED not to attack. > thus, many of us brought children. Really? After the previous week's events people thought this might be a safe place to bring chilren?!? Wishing you well, Gerry From m.schonewille at economy-x-talk.com Wed Jun 12 04:59:07 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 12 Jun 2013 10:59:07 +0200 Subject: Bought the book but didn't hear from Economy-x-Talk? In-Reply-To: <51B304F8.1060609@economy-x-talk.com> References: <51B304F8.1060609@economy-x-talk.com> Message-ID: <51B8385B.7050201@economy-x-talk.com> Hi, In the first batch of shipments, there are still 3 people who never confirmed their postal mail address. If you bought the book but never heard from Economy-x-Talk, please contact me immediately. Make sure to use a different e-mail server (different IP and domain), if you tried to contact me earlier. Avoid Gmail, AOL, Hotmail and Yahoo. Also, anyone can still do this survey: http://livecodebeginner.economy-x-talk.com/survey/ You'd help me tremendously by answering these questions. Kind regards, Mark -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ From m.schonewille at economy-x-talk.com Wed Jun 12 05:02:30 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 12 Jun 2013 11:02:30 +0200 Subject: [ANN] LiveCode-bijeenkomst in Nederland In-Reply-To: <51B3D34F.4090301@economy-x-talk.com> References: <51B3D34F.4090301@economy-x-talk.com> Message-ID: <51B83926.6000808@economy-x-talk.com> Hi, If you're Dutch, please register as soon as possible at http://qery.us/3i4. Anyone else is welcome too (Germans and Belgians?), if the travelling distance isn't too much for you. We might have one or two well-known people from the LC community attenting the event. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 6/9/2013 02:58, Mark Schonewille wrote: > Beste LiveCode-gebruikers in Nederland, > > Bijna een jaar geleden organiseerden we een bijeenkomst voor Nederlandse > LiveCode-gebruikers. Het is de hoogste tijd weer eens bijeen te komen. > Op de agenda staan: presentaties, hulp met LiveCode-kwesties, algemene > vragen, boekpresentatie en signeren, verloting van een Take Control of > your Mac e-book en TopXNotes software. Wellicht zal er ook een gast uit > het buitenland iets over zijn projecten komen vertellen; hierover later > meer. Drank en versnaperingen komen voor eigen rekening. Toegang gratis. > > Als je bij deze bijeenkomst wilt zijn, dan kun je deze link > http://qery.us/3i4 gebruiken om een te geven welke dag en tijd jou het > beste uitkomt. Je kunt ook meerdere tijdstippen selecteren, als je geen > specifieke voorkeur hebt. In verband met deelname uit het buitenland, > zullen we proberen een zo laat mogelijke datum vast te stellen. > > Als je belangstelling hebt voor het nieuwe boek "Programming LiveCode > for the Real Beginner", laat dit dan weten. Bij voldoende belangstelling > zal een exemplaar van de 2e druk voor 26 euro i.p.v. 32 euro kunnen > worden aangeschaft (de korting bestaat uit de uitgespaarde verzendkosten). > > Heb je vragen? Dan kun je die sturen aan ondergetekende sturen via > m.schonewille at economy-x-talk.com. Als je nog iemand kent die wellicht > ook aan de bijeenkomst deel wil nemen, stuur hem of haar dan een > kopietje van deze e-mail. > > > Summary in English: > > After almost an entire year, it is time for Dutch LiveCode users to have > another meeting. Subjects this time: presentations, questions, book > "Programming LiveCode...", two raffles, and possibly a foreign guest. > > If you want to participate, you can register at http://qery.us/3i4 and > indicate which date and time suits you best. If you want to buy > aforementioned book at a discount (postage), let me know. > > Any questions? Send me a message. Feel free to send a copy of this > e-mail to your friends. > From sc at sahores-conseil.com Wed Jun 12 05:54:33 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Wed, 12 Jun 2013 11:54:33 +0200 Subject: change orientation on just one card In-Reply-To: References: Message-ID: <0EC2D0AF-80FE-4582-93A7-60E1AB4650A3@sahores-conseil.com> Works fine here (LC 5.5.5) in using the following code to open a substack in landscape mode and return to portrait mode as soon as the app closes it and goes back to the main stack : 1.- In the substack stack's script : > on preopenStack > if the environment is not "mobile" > then exit preopenStack > else if "playerA" is in the short name of this stack > then mobileSetAllowedOrientations "portrait,landscape left,landscape right" > end preopenStack 2.- In the substack card's script : > on preopencard > mobileUnlockOrientation > mobileSetAllowedOrientations "portrait,landscape left,landscape right" > end preopencard > > on closeCard > mobileSetAllowedOrientations "portrait" > end closeCard 3.- In the mainstack stack's script : nothing 4.- In the mainstack card's script : nothing Both preopenStack and preopenCard are needed to get the mobileSetAllowedOrientations message being efficiently catched on both iOS and Android platforms. Le 12 juin 2013 ? 05:17, Scott Rossi a ?crit : > Seems to work here in LC 5.5.3 (what I have handy). > > Not sure if anything has changed in later versions. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 6/11/13 6:40 PM, "Thomas McGrath III" wrote: > >> Has anyone been successful in having just one card in an app be >> restricted to just landscape. I have an app that is supported for all >> orientations but for one card I want to restrict the allowed orientations >> to just landscape. >> >> I tried this on the card I want to restrict but with no luck: >> on preopencard >> if the environment is "mobile" then >> mobileSetAllowedOrientations "landscape left,landscape right" >> end if >> end preopencard >> >> Is there a way to set the orientation when opening a card. I can't seem >> to discover any. >> >> Tom >> >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> mcgrath3 at mac.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From richmondmathewson at gmail.com Wed Jun 12 07:39:59 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 12 Jun 2013 14:39:59 +0300 Subject: Colours going all wrong in LC 6 Message-ID: <51B85E0F.1070104@gmail.com> So I typed this into my Message Box: set the hiliteColor of stack Home" to 117,63,61 save stack "Home" then Quit Livecode and Restarted it, at which point selected items appeared in something that could perhaps be described as "upset stomach brown" which is very odd indeed when 117,63,61 is a fairly groovy shade of green. [Linux] Richmond. From richmondmathewson at gmail.com Wed Jun 12 08:07:44 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 12 Jun 2013 15:07:44 +0300 Subject: Changing the selection colour in LC 6 Message-ID: <51B86490.6000807@gmail.com> I have just uploaded a stack to do that: Forums/General./Feature Requests/Return Colour to the Application Browser it can change the selection colour to green or blue, and back to Henry Ford black if you so wish. For some odd reason it does not affect the Dictionary. Richmond. From mcgrath3 at mac.com Wed Jun 12 08:17:43 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Wed, 12 Jun 2013 08:17:43 -0400 Subject: change orientation on just one card In-Reply-To: <0EC2D0AF-80FE-4582-93A7-60E1AB4650A3@sahores-conseil.com> References: <0EC2D0AF-80FE-4582-93A7-60E1AB4650A3@sahores-conseil.com> Message-ID: Apparently it seems that the mobileUnlockOrientation is needed to allow a card to auto rotate to the desired new set of orientations allowed (even though there was no mobileLockOrientation set before). -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jun 12, 2013, at 5:54 AM, Pierre Sahores wrote: > Works fine here (LC 5.5.5) in using the following code to open a substack in landscape mode and return to portrait mode as soon as the app closes it and goes back to the main stack : > > 1.- In the substack stack's script : > >> on preopenStack >> if the environment is not "mobile" >> then exit preopenStack >> else if "playerA" is in the short name of this stack >> then mobileSetAllowedOrientations "portrait,landscape left,landscape right" >> end preopenStack > > 2.- In the substack card's script : > >> on preopencard >> mobileUnlockOrientation >> mobileSetAllowedOrientations "portrait,landscape left,landscape right" >> end preopencard >> >> on closeCard >> mobileSetAllowedOrientations "portrait" >> end closeCard > > 3.- In the mainstack stack's script : nothing > > 4.- In the mainstack card's script : nothing > > Both preopenStack and preopenCard are needed to get the mobileSetAllowedOrientations message being efficiently catched on both iOS and Android platforms. > > > Le 12 juin 2013 ? 05:17, Scott Rossi a ?crit : > >> Seems to work here in LC 5.5.3 (what I have handy). >> >> Not sure if anything has changed in later versions. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> On 6/11/13 6:40 PM, "Thomas McGrath III" wrote: >> >>> Has anyone been successful in having just one card in an app be >>> restricted to just landscape. I have an app that is supported for all >>> orientations but for one card I want to restrict the allowed orientations >>> to just landscape. >>> >>> I tried this on the card I want to restrict but with no luck: >>> on preopencard >>> if the environment is "mobile" then >>> mobileSetAllowedOrientations "landscape left,landscape right" >>> end if >>> end preopencard >>> >>> Is there a way to set the orientation when opening a card. I can't seem >>> to discover any. >>> >>> Tom >>> >>> >>> -- Tom McGrath III >>> http://lazyriver.on-rev.com >>> mcgrath3 at mac.com >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > Pierre Sahores > mobile : 06 03 95 77 70 > www.sahores-conseil.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dixonja at hotmail.co.uk Wed Jun 12 08:26:02 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Wed, 12 Jun 2013 13:26:02 +0100 Subject: change orientation on just one card In-Reply-To: References: , <0EC2D0AF-80FE-4582-93A7-60E1AB4650A3@sahores-conseil.com>, Message-ID: No that is not the case... setting the setAllowedOrientations to a new configuration is sufficient... I have an example where viewing a map on a card in landscape... tapping the callout... the card rotates automatically to portrait when displaying the info on another card... all that has been done is to drop landscape from the allowed orientations... > Subject: Re: change orientation on just one card > From: mcgrath3 at mac.com > Date: Wed, 12 Jun 2013 08:17:43 -0400 > To: use-livecode at lists.runrev.com > > Apparently it seems that the mobileUnlockOrientation is needed to allow a card to auto rotate to the desired new set of orientations allowed (even though there was no mobileLockOrientation set before). > > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > On Jun 12, 2013, at 5:54 AM, Pierre Sahores wrote: > > > Works fine here (LC 5.5.5) in using the following code to open a substack in landscape mode and return to portrait mode as soon as the app closes it and goes back to the main stack : > > > > 1.- In the substack stack's script : > > > >> on preopenStack > >> if the environment is not "mobile" > >> then exit preopenStack > >> else if "playerA" is in the short name of this stack > >> then mobileSetAllowedOrientations "portrait,landscape left,landscape right" > >> end preopenStack > > > > 2.- In the substack card's script : > > > >> on preopencard > >> mobileUnlockOrientation > >> mobileSetAllowedOrientations "portrait,landscape left,landscape right" > >> end preopencard > >> > >> on closeCard > >> mobileSetAllowedOrientations "portrait" > >> end closeCard > > > > 3.- In the mainstack stack's script : nothing > > > > 4.- In the mainstack card's script : nothing > > > > Both preopenStack and preopenCard are needed to get the mobileSetAllowedOrientations message being efficiently catched on both iOS and Android platforms. > > > > > > Le 12 juin 2013 ? 05:17, Scott Rossi a ?crit : > > > >> Seems to work here in LC 5.5.3 (what I have handy). > >> > >> Not sure if anything has changed in later versions. > >> > >> Regards, > >> > >> Scott Rossi > >> Creative Director > >> Tactile Media, UX/UI Design > >> > >> > >> > >> > >> On 6/11/13 6:40 PM, "Thomas McGrath III" wrote: > >> > >>> Has anyone been successful in having just one card in an app be > >>> restricted to just landscape. I have an app that is supported for all > >>> orientations but for one card I want to restrict the allowed orientations > >>> to just landscape. > >>> > >>> I tried this on the card I want to restrict but with no luck: > >>> on preopencard > >>> if the environment is "mobile" then > >>> mobileSetAllowedOrientations "landscape left,landscape right" > >>> end if > >>> end preopencard > >>> > >>> Is there a way to set the orientation when opening a card. I can't seem > >>> to discover any. > >>> > >>> Tom > >>> > >>> > >>> -- Tom McGrath III > >>> http://lazyriver.on-rev.com > >>> mcgrath3 at mac.com > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at 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 at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > -- > > Pierre Sahores > > mobile : 06 03 95 77 70 > > www.sahores-conseil.com > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From cszasz at mac.com Wed Jun 12 08:41:40 2013 From: cszasz at mac.com (charles61) Date: Wed, 12 Jun 2013 05:41:40 -0700 (PDT) Subject: Putting two groups onto the clipboard In-Reply-To: References: <1370980678676-4666332.post@n4.nabble.com> <51B7BD09.1090806@economy-x-talk.com> Message-ID: Thanks Mike and Mark for your suggestions! Sent from my iPad On Jun 11, 2013, at 8:18 PM, "Mike Bonner [via Runtime Revolution]" wrote: > Yeah, as mark said, you can do the snapshot thing. If you want to just get > the text you'd have to loop through the fields in each group, grab the text > and assemble it however you need it in a variable, then put it into the > clipboarddata["text"] or .. well something like that. > > > On Tue, Jun 11, 2013 at 6:12 PM, Mark Schonewille < > [hidden email]> wrote: > > > Hi Charles, > > > > I wonder what you have tried to far and why it didn't work? > > > > One solution is > > > > on mouseUp > > export snapshot from grp 1 to myPict as PNG > > set the clipboarddata["image"] to myPict > > end mouseUp > > > > but because this doesn't always give nice results, you might try > > > > on mouseUp > > export snapshot from rect (the rect of grp 1) of this cd \ > > to myPict as PNG > > set the clipboarddata["image"] to myPict > > end mouseUp > > > > -- > > Best regards, > > > > Mark Schonewille > > > > Economy-x-Talk Consulting and Software Engineering > > Homepage: http://economy-x-talk.com > > Twitter: http://twitter.com/**xtalkprogrammer > > KvK: 50277553 > > > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour > > spaces. http://www.color-converter.com > > > > Buy my new book "Programming LiveCode for the Real Beginner" > > http://qery.us/3fi > > > > Fill out this survey please > > http://livecodebeginner.**economy-x-talk.com/survey/ > > > > On 6/11/2013 21:57, charles61 wrote: > > > >> I have some edit fields that have been grouped into two separate groups. > >> How > >> can I placed the two groups onto the clipboard in an app that so that they > >> can be pasted (from the app) to a word processing document? > >> > >> > >> > > ______________________________**_________________ > > use-livecode mailing list > > [hidden email] > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/**mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > [hidden email] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > If you reply to this email, your message will be added to the discussion below: > http://runtime-revolution.278305.n4.nabble.com/Putting-two-groups-onto-the-clipboard-tp4666332p4666342.html > To unsubscribe from Putting two groups onto the clipboard, click here. > NAML -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Putting-two-groups-onto-the-clipboard-tp4666332p4666363.html Sent from the Revolution - User mailing list archive at Nabble.com. From heather.williams11 at btinternet.com Wed Jun 12 11:20:31 2013 From: heather.williams11 at btinternet.com (Heather Laine) Date: Wed, 12 Jun 2013 16:20:31 +0100 Subject: admin test please ignore Message-ID: This is just a test related to the moving of the lists to another server. Please ignore it. Regards, Heather From heather.williams11 at btinternet.com Wed Jun 12 12:02:06 2013 From: heather.williams11 at btinternet.com (Heather Laine) Date: Wed, 12 Jun 2013 17:02:06 +0100 Subject: admin test please ignore Message-ID: This is just a test related to the moving of the lists to another server. Please ignore it. Regards, Heather From dwilliams at runrev.com Wed Jun 12 14:03:44 2013 From: dwilliams at runrev.com (dwilliams at runrev.com) Date: Wed, 12 Jun 2013 20:03:44 +0200 Subject: admin test please ignore Message-ID: <20130612200344.118145lq3nbi49og@meg.on-rev.com> admin test please ignore From heather at runrev.com Wed Jun 12 14:50:48 2013 From: heather at runrev.com (Heather Laine) Date: Wed, 12 Jun 2013 19:50:48 +0100 Subject: LiveCode 6.1 dp 1 available Message-ID: <28BD1383-71E4-451D-8775-2631A27868A5@runrev.com> Hi all, I'm please to announce the release of LiveCode 6.1-dp-1. The installers and release notes can be found through the following link: http://downloads.livecode.com/livecode/6_1_0/ You'll notice that we've moved to a single set of release notes, dropping the separate iOS, Android and Server notes. A lot of the information in those separate docs was better served being presented as a developers guide, with the main release notes being reserved for detailing changes in the current release cycle. The builds still contain the old iOS and Android release notes, but these will be removed in future releases. The new guides can be found here: http://livecode.com/developers/guides/mobile/ http://livecode.com/developers/guides/server/ A few new features and bug fixes have been included in this release. Notably, we've added support for chained behaviors and iOS remote control. As ever, see the release notes and the Quality Control Center for full details: http://downloads.livecode.com/livecode/6_1_0/LiveCodeNotes-6_1_0_dp_1.pdf http://quality.runrev.com/buglist.cgi?target_milestone=6.1.0-dp-1 As part of the 6.1 release we also plan to revamp the community activation process. This update will be added to future DPs. Thanks, The LiveCode Team. Heather Laine Customer Services Manager http://www.runrev.com/ From richmondmathewson at gmail.com Wed Jun 12 14:59:41 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 12 Jun 2013 21:59:41 +0300 Subject: Default hiliteColor at fault? Message-ID: <51B8C51D.4070407@gmail.com> Copied from "elsewhere": "it looks like the the window manager returns black as the default hilite colour. If the hilite colour were empty and LiveCode wouldn't make any adjustments to that, you would be unable to see if any text is selected. I think this is a bug in the window manager, not in LiveCode. To be sure, you'll have to report the bug and see what RunRev has to say about it." Richmond. From gcanyon at gmail.com Wed Jun 12 14:59:31 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 12 Jun 2013 13:59:31 -0500 Subject: LC Community - Script Limits In-Reply-To: <51B749B9.4@fourthworld.com> References: <51B749B9.4@fourthworld.com> Message-ID: I built standalones with both community and commercial. In my limited experimentation, neither has scriptlimits. On Tue, Jun 11, 2013 at 11:00 AM, Richard Gaskin wrote: > Kay C Lan wrote: > > To Richard Gaskin, >> >> I'm posting in this public domain as there are clearly far more new LC >> users visitng the List and so I felt it appropriate to hilight your >> excellent article on the Message Path: >> >> http://www.fourthworld.com/**embassy/articles/revolution_** >> message_path.html >> >> Considering Mark Weider's recent revelation that script limits are gone, I >> was wondering if you would be updating the article to reflect the current >> state of affairs. >> > > Thank you for the kind words. > > If we can get verification, either from RunRev or through testing, that > the scriptLimits are indeed gone in all versions, I'll be happy to update > the article to reflect that when I return toward the end of the month from > a trip I'm about to take. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/**FourthWorldSys > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Wed Jun 12 15:05:35 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 12 Jun 2013 22:05:35 +0300 Subject: LC Community - Script Limits In-Reply-To: References: <51B749B9.4@fourthworld.com> Message-ID: <51B8C67F.2060704@gmail.com> On 06/12/2013 09:59 PM, Geoff Canyon wrote: > I built standalones with both community and commercial. In my limited > experimentation, neither has scriptlimits. > > > Pardon my naivety, but I have a standalone I market that has about 6,000 lines in a vast number of objects; I really don't know what the fuss is all about. http://andregarzia.on-rev.com/richmond/dwriterpro.html http://www.indiegogo.com/projects/devawriter#share Richmond. From richmondmathewson at gmail.com Wed Jun 12 15:08:19 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 12 Jun 2013 22:08:19 +0300 Subject: The Use-List on a new server Message-ID: <51B8C723.50208@gmail.com> Does anyone jalouse the URL fae the server as I'm aye forjeskit that I cannae tak a glisk at the postings in contex ? Richmond. From gcanyon at gmail.com Wed Jun 12 15:34:31 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 12 Jun 2013 14:34:31 -0500 Subject: LC Community - Script Limits In-Reply-To: <51B8C67F.2060704@gmail.com> References: <51B749B9.4@fourthworld.com> <51B8C67F.2060704@gmail.com> Message-ID: 6,000 lines of scripts that you set in the development environment? That's normal. 6,000 lines of scripts that you execute with "do" or that you set as scripts within the standalone? That's unusual (in LC). On Wed, Jun 12, 2013 at 2:05 PM, Richmond wrote: > On 06/12/2013 09:59 PM, Geoff Canyon wrote: > >> I built standalones with both community and commercial. In my limited >> experimentation, neither has scriptlimits. >> >> >> >> > Pardon my naivety, but I have a standalone I market that has about 6,000 > lines in a vast number of objects; > I really don't know what the fuss is all about. > > http://andregarzia.on-rev.com/**richmond/dwriterpro.html > > http://www.indiegogo.com/**projects/devawriter#share > > Richmond. From richmondmathewson at gmail.com Wed Jun 12 15:52:01 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 12 Jun 2013 22:52:01 +0300 Subject: LC Community - Script Limits In-Reply-To: References: <51B749B9.4@fourthworld.com> <51B8C67F.2060704@gmail.com> Message-ID: <51B8D161.2000607@gmail.com> On 06/12/2013 10:34 PM, Geoff Canyon wrote: > 6,000 lines of scripts that you set in the development environment? That's > normal. 6,000 lines of scripts that you execute with "do" or that you set > as scripts within the standalone? That's unusual (in LC). I have 6,000 lines under an image that has an identity problem and thinks its a button (well, I have buckets of the things), now I have all sorts of rawKeyDowns that send "mouseDown" and "mouseUp" signals to those images. Obviously (!?&*) when I spin each version of my thing off from its stack as standalones those scripts get rolled up inside the standalones. Richmond. > > > On Wed, Jun 12, 2013 at 2:05 PM, Richmond wrote: > >> On 06/12/2013 09:59 PM, Geoff Canyon wrote: >> >>> I built standalones with both community and commercial. In my limited >>> experimentation, neither has scriptlimits. >>> >>> >>> >>> >> Pardon my naivety, but I have a standalone I market that has about 6,000 >> lines in a vast number of objects; >> I really don't know what the fuss is all about. >> >> http://andregarzia.on-rev.com/**richmond/dwriterpro.html >> >> http://www.indiegogo.com/**projects/devawriter#share >> >> Richmond. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Wed Jun 12 16:03:03 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 12 Jun 2013 13:03:03 -0700 Subject: 6.1 Message-ID: Just read the release notes for 6.1, some nice stuff in there - I really like the new pageRange property. However, I'm not so happy about the properties changes, at least until I check them out and see exactly what the changes are. It sounds like "the properties" doesn't return all the properties it used to return, only those needed to recreate it. That's great for those who want to recreate an object by maybe not so great for folks who want to use it for other purposes. And it would be nice to get a bit more explanation of only returning the unicode variants "if, and only if, they are needed". Pete lcSQL Software From jacque at hyperactivesw.com Wed Jun 12 16:03:29 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 12 Jun 2013 15:03:29 -0500 Subject: LC Community - Script Limits In-Reply-To: <51B8D161.2000607@gmail.com> References: <51B749B9.4@fourthworld.com> <51B8C67F.2060704@gmail.com> <51B8D161.2000607@gmail.com> Message-ID: <51B8D411.7000200@hyperactivesw.com> On 6/12/13 2:52 PM, Richmond wrote: > On 06/12/2013 10:34 PM, Geoff Canyon wrote: >> 6,000 lines of scripts that you set in the development environment? >> That's >> normal. 6,000 lines of scripts that you execute with "do" or that you set >> as scripts within the standalone? That's unusual (in LC). > > I have 6,000 lines under an image that has an identity problem and > thinks its a button (well, I have > buckets of the things), now I have all sorts of rawKeyDowns that send > "mouseDown" and "mouseUp" > signals to those images. > > Obviously (!?&*) when I spin each version of my thing off from its stack > as standalones those scripts get > rolled up inside the standalones. Script limits apply/applied only to scripts created on the fly within standalones. Scripts written in the IDE have never had limits. A standalone can now issue a "do" command with a script of more than 10 lines. It couldn't before. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Wed Jun 12 16:14:42 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 12 Jun 2013 23:14:42 +0300 Subject: LC Community - Script Limits In-Reply-To: <51B8D411.7000200@hyperactivesw.com> References: <51B749B9.4@fourthworld.com> <51B8C67F.2060704@gmail.com> <51B8D161.2000607@gmail.com> <51B8D411.7000200@hyperactivesw.com> Message-ID: <51B8D6B2.1040002@gmail.com> On 06/12/2013 11:03 PM, J. Landman Gay wrote: > On 6/12/13 2:52 PM, Richmond wrote: >> On 06/12/2013 10:34 PM, Geoff Canyon wrote: >>> 6,000 lines of scripts that you set in the development environment? >>> That's >>> normal. 6,000 lines of scripts that you execute with "do" or that >>> you set >>> as scripts within the standalone? That's unusual (in LC). >> >> I have 6,000 lines under an image that has an identity problem and >> thinks its a button (well, I have >> buckets of the things), now I have all sorts of rawKeyDowns that send >> "mouseDown" and "mouseUp" >> signals to those images. >> >> Obviously (!?&*) when I spin each version of my thing off from its stack >> as standalones those scripts get >> rolled up inside the standalones. > > Script limits apply/applied only to scripts created on the fly within > standalones. Scripts written in the IDE have never had limits. A > standalone can now issue a "do" command with a script of more than 10 > lines. It couldn't before. > Thanks for a super, clear and concise explanation. Richmond. From mwieder at ahsoftware.net Wed Jun 12 16:24:44 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 12 Jun 2013 20:24:44 +0000 (UTC) Subject: The Use-List on a new server References: <51B8C723.50208@gmail.com> Message-ID: Richmond writes: > Does anyone jalouse the URL fae the server as I'm aye forjeskit > that I cannae tak a glisk at the postings in contex ? "context", eh? Had to look that up: "to weave together"... nice one. The old stand-by: http://news.gmane.org/gmane.comp.ide.revolution.user -- Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Wed Jun 12 16:27:58 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 12 Jun 2013 15:27:58 -0500 Subject: 6.1 In-Reply-To: References: Message-ID: <51B8D9CE.1020203@hyperactivesw.com> On 6/12/13 3:03 PM, Peter Haworth wrote: > It sounds like "the properties" doesn't return all the properties it used > to return, only those needed to recreate it. That's great for those who > want to recreate an object by maybe not so great for folks who want to use > it for other purposes. It's the other way around, the properties used to omit some of the new ones like graphic effects. They've been added in. It never did list redundant ones though (an explanation is in the docs.) For example, width and height are omitted because they can be obtained from the rect. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Wed Jun 12 16:29:02 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 12 Jun 2013 20:29:02 +0000 (UTC) Subject: When is a color not a color References: <7f4ca567-d281-4990-b3b7-3fcbb91ea0d4@blur> <51B2C703.8090102@hyperactivesw.com> Message-ID: Peter Haworth writes: > Thanks Mark. I entered a bug report on this and it is being investigated. > Meantime, I check for all the other "is a" possibilites first, then do my > own check for a color. I submitted a fix for this bug today. -- Mark Wieder mwieder at ahsoftware.net From monte at sweattechnologies.com Wed Jun 12 17:01:01 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 13 Jun 2013 07:01:01 +1000 Subject: 6.1 In-Reply-To: References: Message-ID: <00D585E2-1944-4528-8E21-D92B7D0FF67E@sweattechnologies.com> On 13/06/2013, at 6:03 AM, Peter Haworth wrote: > However, I'm not so happy about the properties changes, at least until I > check them out and see exactly what the changes are. Sorry to hear that.. you can read all the forum posts about the development of these changes if you like so you understand people's reasoning... > > It sounds like "the properties" doesn't return all the properties it used > to return, only those needed to recreate it. That's great for those who > want to recreate an object by maybe not so great for folks who want to use > it for other purposes. If properties aren't set it no longer returns them > > And it would be nice to get a bit more explanation of only returning the > unicode variants "if, and only if, they are needed". For example if you set the unicodeLabel to something which actually is unicode then it will return the unicodeLabel otherwise it will return the label. -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From dsc at swcp.com Wed Jun 12 17:58:39 2013 From: dsc at swcp.com (Dar Scott) Date: Wed, 12 Jun 2013 15:58:39 -0600 Subject: 6.1 In-Reply-To: <00D585E2-1944-4528-8E21-D92B7D0FF67E@sweattechnologies.com> References: <00D585E2-1944-4528-8E21-D92B7D0FF67E@sweattechnologies.com> Message-ID: On Jun 12, 2013, at 3:01 PM, Monte Goulding wrote: > For example if you set the unicodeLabel to something which actually is unicode then it will return the unicodeLabel otherwise it will return the label. Huh? Dar From monte at sweattechnologies.com Wed Jun 12 18:01:49 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 13 Jun 2013 08:01:49 +1000 Subject: 6.1 In-Reply-To: References: <00D585E2-1944-4528-8E21-D92B7D0FF67E@sweattechnologies.com> Message-ID: On 13/06/2013, at 7:58 AM, Dar Scott wrote: > > Huh? These properties are actually stored as UTF8 so when the properties is called it works out if it's ascii or not and returns label if it is. -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From monte at sweattechnologies.com Wed Jun 12 18:39:58 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 13 Jun 2013 08:39:58 +1000 Subject: 6.1 In-Reply-To: References: <00D585E2-1944-4528-8E21-D92B7D0FF67E@sweattechnologies.com> Message-ID: <4D0EC976-4D8F-40B6-9339-2DD20FAB3B6E@sweattechnologies.com> On 13/06/2013, at 7:58 AM, Dar Scott wrote: >> For example if you set the unicodeLabel to something which actually is unicode then it will return the unicodeLabel otherwise it will return the label. I realise now I should have said 'could not be represented as ascii' rather than 'actually is unicode'... -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From pete at lcsql.com Wed Jun 12 18:53:39 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 12 Jun 2013 15:53:39 -0700 Subject: When is a color not a color In-Reply-To: References: <7f4ca567-d281-4990-b3b7-3fcbb91ea0d4@blur> <51B2C703.8090102@hyperactivesw.com> Message-ID: Great, thanks Mark. Pete lcSQL Software On Wed, Jun 12, 2013 at 1:29 PM, Mark Wieder wrote: > Peter Haworth writes: > > > Thanks Mark. I entered a bug report on this and it is being > investigated. > > Meantime, I check for all the other "is a" possibilites first, then do > my > > own check for a color. > > I submitted a fix for this bug today. > > -- > Mark Wieder > mwieder at ahsoftware.net > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Wed Jun 12 19:09:07 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 12 Jun 2013 23:09:07 +0000 (UTC) Subject: 6.1 References: <00D585E2-1944-4528-8E21-D92B7D0FF67E@sweattechnologies.com> Message-ID: Dar Scott writes: > > For example if you set the unicodeLabel to something which actually is unicode then it will return the > unicodeLabel otherwise it will return the label. > > Huh? Or rather, "label" will appear in the properties if the label can be represented as ASCII, and you won't see "unicodelabel" in the list. Otherwise "label" will not appear when you request the properties, and "unicodelabel" will. -- Mark Wieder mwieder at ahsoftware.net From dsc at swcp.com Wed Jun 12 19:11:51 2013 From: dsc at swcp.com (Dar Scott) Date: Wed, 12 Jun 2013 17:11:51 -0600 Subject: 6.1 In-Reply-To: <4D0EC976-4D8F-40B6-9339-2DD20FAB3B6E@sweattechnologies.com> References: <00D585E2-1944-4528-8E21-D92B7D0FF67E@sweattechnologies.com> <4D0EC976-4D8F-40B6-9339-2DD20FAB3B6E@sweattechnologies.com> Message-ID: <431A1F51-26A9-44AB-B165-E90FB795CC0A@swcp.com> Yeah, sometimes you have to watch out for those of us who are tediously obtuse. I do get it now. On Jun 12, 2013, at 4:39 PM, Monte Goulding wrote: > > On 13/06/2013, at 7:58 AM, Dar Scott wrote: > >>> For example if you set the unicodeLabel to something which actually is unicode then it will return the unicodeLabel otherwise it will return the label. > > > I realise now I should have said 'could not be represented as ascii' rather than 'actually is unicode'... > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Wed Jun 12 19:24:51 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 13 Jun 2013 09:24:51 +1000 Subject: 6.1 In-Reply-To: References: <00D585E2-1944-4528-8E21-D92B7D0FF67E@sweattechnologies.com> Message-ID: <5B53735D-F67D-4A22-B53B-82FA085B26DA@sweattechnologies.com> On 13/06/2013, at 9:09 AM, Mark Wieder wrote: > Or rather, "label" will appear in the properties if the label can be > represented as ASCII, and you won't see "unicodelabel" in the list. > Otherwise "label" will not appear when you request the properties, and > "unicodelabel" will. That is precisely what I should have said ;-) -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From mwieder at ahsoftware.net Wed Jun 12 19:53:00 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 12 Jun 2013 23:53:00 +0000 (UTC) Subject: 6.1 References: <00D585E2-1944-4528-8E21-D92B7D0FF67E@sweattechnologies.com> <5B53735D-F67D-4A22-B53B-82FA085B26DA@sweattechnologies.com> Message-ID: Monte Goulding writes: > That is precisely what I should have said You did. I just translated from the Tasmanian. -- Mark Wieder mwieder at ahsoftware.net From pete at lcsql.com Wed Jun 12 19:54:44 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 12 Jun 2013 16:54:44 -0700 Subject: 6.1 In-Reply-To: <51B8D9CE.1020203@hyperactivesw.com> References: <51B8D9CE.1020203@hyperactivesw.com> Message-ID: OK, well the wording of the release notes implies that some properties that were previously returned are no longer there, at least by my reading. I know some properties that were missing have been included in 6.1 and that's great. I did a quick test to compare the properties returned by 6.1 and 5.5 for a stack, card, field and button. The following properties have been added for those objects in 6.1: STACK fullscreen editMenus systemWindow shadowOffset CARD shadowOffset FIELD None BUTTON None I can't say for sure but I'm pretty sure there are still missing properties The following properties are returned in 5.5 but NOT in 6.1 STACK menubar linkHiliteColor patterns colors linkVisitedColor title linkColor textStyle underlineLinks password scroll behavior textSize textFont CARD rect patterns defaultButton colors textStyle behavior textSize textFont FIELD None BUTTON None I'm hoping my test script is flawed because that seems like a mess if it's true. Busy checking now. Pete lcSQL Software On Wed, Jun 12, 2013 at 1:27 PM, J. Landman Gay wrote: > On 6/12/13 3:03 PM, Peter Haworth wrote: > > It sounds like "the properties" doesn't return all the properties it used >> to return, only those needed to recreate it. That's great for those who >> want to recreate an object by maybe not so great for folks who want to use >> it for other purposes. >> > > It's the other way around, the properties used to omit some of the new > ones like graphic effects. They've been added in. > > It never did list redundant ones though (an explanation is in the docs.) > For example, width and height are omitted because they can be obtained from > the rect. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From jiml at netrin.com Wed Jun 12 19:56:02 2013 From: jiml at netrin.com (Jim Lambert) Date: Wed, 12 Jun 2013 16:56:02 -0700 Subject: LiveCode 6.1 dp 1 available In-Reply-To: References: Message-ID: Heather wrote: > You'll notice that we've moved to a single set of release notes, dropping the separate iOS, Android and Server notes. Better! > The new guides can be found here: Nice! Thanks, Jim Lambert From monte at sweattechnologies.com Wed Jun 12 20:07:30 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 13 Jun 2013 10:07:30 +1000 Subject: 6.1 In-Reply-To: References: <51B8D9CE.1020203@hyperactivesw.com> Message-ID: Where are these lists coming from? colors and patterns are now individual properties... you also can't have both a foreColor and a forePattern etc so it returns the one you have if you have one... Also as I said before if properties aren't set then it doesn't return them. On 13/06/2013, at 9:54 AM, Peter Haworth wrote: > OK, well the wording of the release notes implies that some properties that > were previously returned are no longer there, at least by my reading. I > know some properties that were missing have been included in 6.1 and that's > great. > > I did a quick test to compare the properties returned by 6.1 and 5.5 for a > stack, card, field and button. > > The following properties have been added for those objects in 6.1: > > STACK > fullscreen > editMenus > systemWindow > shadowOffset > > CARD > shadowOffset > > FIELD > None > > BUTTON > None > > I can't say for sure but I'm pretty sure there are still missing properties > > > The following properties are returned in 5.5 but NOT in 6.1 > > STACK > menubar > linkHiliteColor > patterns > colors > linkVisitedColor > title > linkColor > textStyle > underlineLinks > password > scroll > behavior > textSize > textFont > > CARD > rect > patterns > defaultButton > colors > textStyle > behavior > textSize > textFont > > FIELD > None > > BUTTON > None > > I'm hoping my test script is flawed because that seems like a mess if it's > true. Busy checking now. > > > > Pete > lcSQL Software > > > On Wed, Jun 12, 2013 at 1:27 PM, J. Landman Gay wrote: > >> On 6/12/13 3:03 PM, Peter Haworth wrote: >> >> It sounds like "the properties" doesn't return all the properties it used >>> to return, only those needed to recreate it. That's great for those who >>> want to recreate an object by maybe not so great for folks who want to use >>> it for other purposes. >>> >> >> It's the other way around, the properties used to omit some of the new >> ones like graphic effects. They've been added in. >> >> It never did list redundant ones though (an explanation is in the docs.) >> For example, width and height are omitted because they can be obtained from >> the rect. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From monte at sweattechnologies.com Wed Jun 12 20:10:17 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 13 Jun 2013 10:10:17 +1000 Subject: 6.1 In-Reply-To: References: <51B8D9CE.1020203@hyperactivesw.com> Message-ID: Oh... and there were some read only properties being returned which it was documented not to do so they were removed. On 13/06/2013, at 10:07 AM, Monte Goulding wrote: > Also as I said before if properties aren't set then it doesn't return them. -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From scott at tactilemedia.com Wed Jun 12 21:14:16 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 12 Jun 2013 18:14:16 -0700 Subject: Truncate Text Based On Available Space? Message-ID: Has anyone created a routine that will truncate text in a field to given pixel width, and append ellipses? I found one that limits text based on character count, but I'm looking to limit based on available space. Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From terry.judd at unimelb.edu.au Wed Jun 12 21:19:19 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Thu, 13 Jun 2013 01:19:19 +0000 Subject: Truncate Text Based On Available Space? In-Reply-To: References: Message-ID: <2E819D23-3C40-4112-85A9-959AB3B8B3EE@unimelb.edu.au> Scott - have a look at the truncateText routine (I think that's what it's called) within the datagrid. Terry... On 13/06/2013, at 11:14 AM, Scott Rossi wrote: > Has anyone created a routine that will truncate text in a field to given > pixel width, and append ellipses? > > I found one that limits text based on character count, but I'm looking to > limit based on available space. > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From pete at lcsql.com Wed Jun 12 21:21:16 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 12 Jun 2013 18:21:16 -0700 Subject: 6.1 In-Reply-To: References: <51B8D9CE.1020203@hyperactivesw.com> Message-ID: I wrote a script which I ran in 6.1 that got the keys of the properties of the objects I mentioned then stored them in custom properties. Then I I loaded the stack in 5.5, got the keys of the properties again and stored them in a different set of custom properties. Finally, compared the two sets of cprops to get the differences. While not returning properties that aren't set may satisfy your needs, it certainly doesn't fill my requirements. It's always been impossible to get a full list of properties simply because some of them, and I don't mean derived ones, were omitted from the list for reasons, I assume, of oversight. So now those, or at least some of them have been included, but a whole bunch of others are not returned if they are not set. Can you perhaps see that plays havoc with any scripts that currently expect them to be returned, set or not? Not returning them simply because they are not set is a step backwards. If there is a need for that, then let's have another form of "the properties" that indicates that, perhaps, "the working properties" or "the effective properties". Off to the QCC to file a bug report. Pete lcSQL Software On Wed, Jun 12, 2013 at 5:07 PM, Monte Goulding wrote: > Where are these lists coming from? > > colors and patterns are now individual properties... you also can't have > both a foreColor and a forePattern etc so it returns the one you have if > you have one... > > Also as I said before if properties aren't set then it doesn't return them. > > On 13/06/2013, at 9:54 AM, Peter Haworth wrote: > > > OK, well the wording of the release notes implies that some properties > that > > were previously returned are no longer there, at least by my reading. I > > know some properties that were missing have been included in 6.1 and > that's > > great. > > > > I did a quick test to compare the properties returned by 6.1 and 5.5 for > a > > stack, card, field and button. > > > > The following properties have been added for those objects in 6.1: > > > > STACK > > fullscreen > > editMenus > > systemWindow > > shadowOffset > > > > CARD > > shadowOffset > > > > FIELD > > None > > > > BUTTON > > None > > > > I can't say for sure but I'm pretty sure there are still missing > properties > > > > > > The following properties are returned in 5.5 but NOT in 6.1 > > > > STACK > > menubar > > linkHiliteColor > > patterns > > colors > > linkVisitedColor > > title > > linkColor > > textStyle > > underlineLinks > > password > > scroll > > behavior > > textSize > > textFont > > > > CARD > > rect > > patterns > > defaultButton > > colors > > textStyle > > behavior > > textSize > > textFont > > > > FIELD > > None > > > > BUTTON > > None > > > > I'm hoping my test script is flawed because that seems like a mess if > it's > > true. Busy checking now. > > > > > > > > Pete > > lcSQL Software > > > > > > On Wed, Jun 12, 2013 at 1:27 PM, J. Landman Gay < > jacque at hyperactivesw.com>wrote: > > > >> On 6/12/13 3:03 PM, Peter Haworth wrote: > >> > >> It sounds like "the properties" doesn't return all the properties it > used > >>> to return, only those needed to recreate it. That's great for those > who > >>> want to recreate an object by maybe not so great for folks who want to > use > >>> it for other purposes. > >>> > >> > >> It's the other way around, the properties used to omit some of the new > >> ones like graphic effects. They've been added in. > >> > >> It never did list redundant ones though (an explanation is in the docs.) > >> For example, width and height are omitted because they can be obtained > from > >> the rect. > >> > >> -- > >> Jacqueline Landman Gay | jacque at hyperactivesw.com > >> HyperActive Software | http://www.hyperactivesw.com > >> > >> ______________________________**_________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/**mailman/listinfo/use-livecode< > http://lists.runrev.com/mailman/listinfo/use-livecode> > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Wed Jun 12 21:32:45 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 12 Jun 2013 18:32:45 -0700 Subject: 6.1 Message-ID: <51B9213D.2010403@fourthworld.com> Peter Haworth wrote: > Not returning them simply because they are not set is a step backwards. If > there is a need for that, then let's have another form of "the properties" > that indicates that, perhaps, "the working properties" or "the effective > properties". I like where you're going with that. It may also be helpful to be able to get a list of just the names, without the values, for a given object, similar to "the propertyNames" but limited to those relevant to the specified object: get the propertyNames [of ] Whenever I'm teaching someone new to the language, one of the first questions that comes up is "What properties are available for each object?" Extending the propertyNames function this way helps, allowing us to make learning tools easily as well as inspectors and more. In conjunction with Peter's proposal above to also return prop values, we'd have a pretty complete set of stuff that way. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dunbarx at aol.com Wed Jun 12 21:44:26 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 12 Jun 2013 21:44:26 -0400 (EDT) Subject: Truncate Text Based On Available Space? In-Reply-To: References: Message-ID: <8D035EEAC2AD38D-13C8-7EC3@webmail-d262.sysops.aol.com> Scott. This is a Kluge and a half, but I filled a field with some text. In a button script: on mouseUp ask "What length to trunc?" if it is not an integer then exit mouseup click at the left of fld 1 + it & "," & the top of fld 1 + 12 put "..." into char (word 2 of the selectedChunk) to 10000 of fld 1 end mouseUp Is this anything like you wanted? Of course the subsequent text is lost, though it could be saved somewhere. And I only dealt with the first line, since I hard coded the vertical dimension (12) of the click location. But I can see it being extended anywhere in the field. Craig Newman -----Original Message----- From: Scott Rossi To: LiveCode Mail List Sent: Wed, Jun 12, 2013 9:15 pm Subject: Truncate Text Based On Available Space? Has anyone created a routine that will truncate text in a field to given pixel width, and append ellipses? I found one that limits text based on character count, but I'm looking to limit based on available space. Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Wed Jun 12 21:44:46 2013 From: dsc at swcp.com (Dar Scott) Date: Wed, 12 Jun 2013 19:44:46 -0600 Subject: 6.1 In-Reply-To: <51B9213D.2010403@fourthworld.com> References: <51B9213D.2010403@fourthworld.com> Message-ID: <435BCFC6-7A62-4787-AFC5-A278E6F4684B@swcp.com> On Jun 12, 2013, at 7:32 PM, Richard Gaskin wrote: > Whenever I'm teaching someone new to the language, one of the first questions that comes up is "What properties are available for each object?" Yes! And since LIveCode is evolving, this is also nice for review by old hands. Dar From monte at sweattechnologies.com Wed Jun 12 22:04:47 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 13 Jun 2013 12:04:47 +1000 Subject: 6.1 In-Reply-To: References: <51B8D9CE.1020203@hyperactivesw.com> Message-ID: <8FEAE8A3-343E-40B8-8D13-98B372C046E7@sweattechnologies.com> On 13/06/2013, at 11:21 AM, Peter Haworth wrote: > While not returning properties that aren't set may satisfy your needs, it > certainly doesn't fill my requirements. It's always been impossible to get > a full list of properties simply because some of them, and I don't mean > derived ones, were omitted from the list for reasons, I assume, of > oversight. So now those, or at least some of them have been included, but > a whole bunch of others are not returned if they are not set. Can you > perhaps see that plays havoc with any scripts that currently expect them to > be returned, set or not? I'm not sure I understand exactly what you are using the properties for? Is it just to get the keys? > > Not returning them simply because they are not set is a step backwards. If > there is a need for that, then let's have another form of "the properties" > that indicates that, perhaps, "the working properties" or "the effective > properties". The effective properties has been implemented but this means something different to what you are thinking... > > Off to the QCC to file a bug report. OK... might be good to discuss this on the engine forum... I -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From monte at sweattechnologies.com Wed Jun 12 22:11:57 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 13 Jun 2013 12:11:57 +1000 Subject: 6.1 In-Reply-To: <51B9213D.2010403@fourthworld.com> References: <51B9213D.2010403@fourthworld.com> Message-ID: On 13/06/2013, at 11:32 AM, Richard Gaskin wrote: > like where you're going with that. It may also be helpful to be able to get a list of just the names, without the values, for a given object, similar to "the propertyNames" but limited to those relevant to the specified object: > > get the propertyNames [of ] > > Whenever I'm teaching someone new to the language, one of the first questions that comes up is "What properties are available for each object?" > > Extending the propertyNames function this way helps, allowing us to make learning tools easily as well as inspectors and more. That's a good idea but is a separate slightly related topic... perhaps raise it on the engine forum... would you want read only properties returned there.. what about synonyms... there's lots to be discussed along with finding someone prepared to implement it... > > In conjunction with Peter's proposal above to also return prop values, we'd have a pretty complete set of stuff that way. I've got no problem with there being unset values returned... I think it was runrevmark that wanted that... there is an issue with some properties like color/pattern that overwrite each other so you can't return both if you want things to work right... Folks this has all been discussed out in the open on the engine forum... it's a dp 1... don't panic just post on the engine forum topic... -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From jacque at hyperactivesw.com Wed Jun 12 22:22:17 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 12 Jun 2013 21:22:17 -0500 Subject: LiveCode 6.1 dp 1 available In-Reply-To: <28BD1383-71E4-451D-8775-2631A27868A5@runrev.com> References: <28BD1383-71E4-451D-8775-2631A27868A5@runrev.com> Message-ID: <51B92CD9.2090803@hyperactivesw.com> On 6/12/13 1:50 PM, Heather Laine wrote: > You'll notice that we've moved to a single set of release notes, > dropping the separate iOS, Android and Server notes. A lot of the > information in those separate docs was better served being presented > as a developers guide, with the main release notes being reserved for > detailing changes in the current release cycle. The builds still > contain the old iOS and Android release notes, but these will be > removed in future releases. I had to extract and save the 6.0.2 release notes, because until the dictionary is updated I couldn't find a way to look up the new terms introduced in 6.0.2. At least, there's no "split/combine as set" in the dictionary yet, which is what I was looking for. Maybe that was just an oversight. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Wed Jun 12 22:35:53 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 12 Jun 2013 19:35:53 -0700 Subject: Truncate Text Based On Available Space? In-Reply-To: <8D035EEAC2AD38D-13C8-7EC3@webmail-d262.sysops.aol.com> Message-ID: Yeah, a little kludgy but workable maybe with some labor (was hoping to avoid labor though). Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 6/12/13 6:44 PM, "dunbarx at aol.com" wrote: >Scott. > > >This is a Kluge and a half, but I filled a field with some text. In a >button script: > > > >on mouseUp > ask "What length to trunc?" > if it is not an integer then exit mouseup > click at the left of fld 1 + it & "," & the top of fld 1 + 12 > put "..." into char (word 2 of the selectedChunk) to 10000 of fld 1 >end mouseUp > > >Is this anything like you wanted? Of course the subsequent text is lost, >though it could be saved somewhere. And I only dealt with the first line, >since I hard coded the vertical dimension (12) of the click location. But >I can see it being extended anywhere in the field. > > >Craig Newman > > > >-----Original Message----- >From: Scott Rossi >To: LiveCode Mail List >Sent: Wed, Jun 12, 2013 9:15 pm >Subject: Truncate Text Based On Available Space? > > >Has anyone created a routine that will truncate text in a field to given >pixel width, and append ellipses? > >I found one that limits text based on character count, but I'm looking to >limit based on available space. > >Thanks & Regards, > >Scott Rossi >Creative Director >Tactile Media, UX/UI Design > > > > >_______________________________________________ >use-livecode mailing list >use-livecode at 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 at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Wed Jun 12 22:47:22 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 12 Jun 2013 21:47:22 -0500 Subject: Truncate Text Based On Available Space? In-Reply-To: References: Message-ID: <51B932BA.505@hyperactivesw.com> On 6/12/13 8:14 PM, Scott Rossi wrote: > Has anyone created a routine that will truncate text in a field to given > pixel width, and append ellipses? > > I found one that limits text based on character count, but I'm looking to > limit based on available space. I did this ages ago, like back in MC. I used a real field, but now that I know better I'd use the templatefield instead. It's ugly, but since you can only measure text width from a field, you have to loop. The pseudocode is something like: store the original text somewhere for reference later put it into a field repeat until the formattedwidth of the text is <= the column: delete last char of the field put "..." into last char of the field end repeat Even with a "real" field it was still pretty fast. Probably would be faster with the templatefield. The "..." isn't three periods, it needs to be the real elipsis character so that the "last" character includes all three visual dots. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Wed Jun 12 22:57:22 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 13 Jun 2013 12:57:22 +1000 Subject: Truncate Text Based On Available Space? In-Reply-To: <51B932BA.505@hyperactivesw.com> References: <51B932BA.505@hyperactivesw.com> Message-ID: <33252F4B-FD6B-4D3F-A6D2-4E41DC819EFE@sweattechnologies.com> On 13/06/2013, at 12:47 PM, J. Landman Gay wrote: > I did this ages ago, like back in MC. I used a real field, but now that I know better I'd use the templatefield instead. It's ugly, but since you can only measure text width from a field, you have to loop. The pseudocode is something like: > > store the original text somewhere for reference later > put it into a field > repeat until the formattedwidth of the text is <= the column: > delete last char of the field > put "..." into last char of the field > end repeat > > Even with a "real" field it was still pretty fast. Probably would be faster with the templatefield. The "..." isn't three periods, it needs to be the real elipsis character so that the "last" character includes all three visual dots. Cool... wouldn't it be nice if there was a field property to get it to do that automatically.... -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From jacque at hyperactivesw.com Wed Jun 12 23:01:22 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 12 Jun 2013 22:01:22 -0500 Subject: Truncate Text Based On Available Space? In-Reply-To: <33252F4B-FD6B-4D3F-A6D2-4E41DC819EFE@sweattechnologies.com> References: <51B932BA.505@hyperactivesw.com> <33252F4B-FD6B-4D3F-A6D2-4E41DC819EFE@sweattechnologies.com> Message-ID: <51B93602.4010900@hyperactivesw.com> On 6/12/13 9:57 PM, Monte Goulding wrote: > > On 13/06/2013, at 12:47 PM, J. Landman Gay wrote: > >> I did this ages ago, like back in MC. I used a real field, but now that I know better I'd use the templatefield instead. It's ugly, but since you can only measure text width from a field, you have to loop. The pseudocode is something like: >> >> store the original text somewhere for reference later >> put it into a field >> repeat until the formattedwidth of the text is <= the column: >> delete last char of the field >> put "..." into last char of the field >> end repeat >> >> Even with a "real" field it was still pretty fast. Probably would be faster with the templatefield. The "..." isn't three periods, it needs to be the real elipsis character so that the "last" character includes all three visual dots. > > Cool... wouldn't it be nice if there was a field property to get it to do that automatically.... You bet. And while you're at it, make it so we can optionally insert the elipsis into the middle of the string too, like Apple does it. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Wed Jun 12 23:16:46 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 13 Jun 2013 13:16:46 +1000 Subject: Truncate Text Based On Available Space? In-Reply-To: <51B93602.4010900@hyperactivesw.com> References: <51B932BA.505@hyperactivesw.com> <33252F4B-FD6B-4D3F-A6D2-4E41DC819EFE@sweattechnologies.com> <51B93602.4010900@hyperactivesw.com> Message-ID: On 13/06/2013, at 1:01 PM, J. Landman Gay wrote: > You bet. And while you're at it, make it so we can optionally insert the elipsis into the middle of the string too, like Apple does it. :) Lol... I didn't say I was going to do it ;-) ... I'm avoiding even looking at the field object code.... -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From jacque at hyperactivesw.com Wed Jun 12 23:23:17 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 12 Jun 2013 22:23:17 -0500 Subject: Truncate Text Based On Available Space? In-Reply-To: References: <51B932BA.505@hyperactivesw.com> <33252F4B-FD6B-4D3F-A6D2-4E41DC819EFE@sweattechnologies.com> <51B93602.4010900@hyperactivesw.com> Message-ID: <51B93B25.5000704@hyperactivesw.com> On 6/12/13 10:16 PM, Monte Goulding wrote: > >I'm avoiding even looking at the field object code.... Dr Raney called the field object "The Beast". Time to put on your lion tamer hat. I watched runrevMark s...c...r...o...l...l through the button code once. I hear the field object is even worse. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Wed Jun 12 23:52:58 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 13 Jun 2013 13:52:58 +1000 Subject: Truncate Text Based On Available Space? In-Reply-To: <51B93B25.5000704@hyperactivesw.com> References: <51B932BA.505@hyperactivesw.com> <33252F4B-FD6B-4D3F-A6D2-4E41DC819EFE@sweattechnologies.com> <51B93602.4010900@hyperactivesw.com> <51B93B25.5000704@hyperactivesw.com> Message-ID: <97785857-378E-4B36-A9DB-886F2B1947C9@sweattechnologies.com> On 13/06/2013, at 1:23 PM, J. Landman Gay wrote: > Dr Raney called the field object "The Beast". Time to put on your lion tamer hat. I had a quick look... and decided to stop looking... ;-) -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From rdimola at evergreeninfo.net Thu Jun 13 01:18:18 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 13 Jun 2013 01:18:18 -0400 Subject: Android and iOS embedded fonts used in native browser control. In-Reply-To: <506491C4-0820-4722-8DAE-BBDC12977132@paulmaguire.me> References: <301FBE13-16C6-4E82-946C-6F2249C7EE26@paulmaguire.me> <005601ce665c$e0828e80$a187ab80$@net> <506491C4-0820-4722-8DAE-BBDC12977132@paulmaguire.me> Message-ID: <010a01ce67f5$6a976c00$3fc64400$@net> Paul, Did you submit this as a bug or to support? If not I will do it using your test stack, if that is OK with you? Thanks Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Paul Maguire Sent: Tuesday, June 11, 2013 6:12 AM To: How to use LiveCode Subject: Re: Android and iOS embedded fonts used in native browser control. Hi Ralf. On 11 Jun 2013, at 05:33, Ralph DiMola wrote: > Hmmm... Played with your stack for a while today. Me thinks my QC guy > lied to me. I can't seem to get any fonts except for the standard web > fonts to work. Works in iOS but not Android. I will look at this again > tomorrow.....Film at 11 Thanks for looking at this. Thought I was losing my mind. Isn't this a very very common task ie. showing custom fonts in a web scroller in iOS and Android? Seems like it should be! FYI I tried some CSS stuff like adding this to the style sheet: @font-face { font-family: "GROBOLD"; src: url('Fonts/GROBOLD.ttf'); } Nada. Kind regards, Paul. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From me at paulmaguire.me Thu Jun 13 05:32:21 2013 From: me at paulmaguire.me (Paul Maguire) Date: Thu, 13 Jun 2013 10:32:21 +0100 Subject: Android and iOS embedded fonts used in native browser control. In-Reply-To: <010a01ce67f5$6a976c00$3fc64400$@net> References: <301FBE13-16C6-4E82-946C-6F2249C7EE26@paulmaguire.me> <005601ce665c$e0828e80$a187ab80$@net> <506491C4-0820-4722-8DAE-BBDC12977132@paulmaguire.me> <010a01ce67f5$6a976c00$3fc64400$@net> Message-ID: Hey Ralph. I prepped some bits yesterday but haven't filed anything (never actually filed a LC bug report). I have had no time at all in past 2 days - sorry. If you are up for it, please use my example by all means. Thanks again for your help on this. Btw in my Android porting I'm coming across a lot of issues, some if which I have resolved - I'm going to post a list of issues and workarounds soon for others like me in the future. Kind regards, Paul. On 13 Jun 2013, at 06:18, "Ralph DiMola" wrote: > Paul, > > Did you submit this as a bug or to support? If not I will do it using your > test stack, if that is OK with you? > > Thanks > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of Paul Maguire > Sent: Tuesday, June 11, 2013 6:12 AM > To: How to use LiveCode > Subject: Re: Android and iOS embedded fonts used in native browser control. > > Hi Ralf. > > On 11 Jun 2013, at 05:33, Ralph DiMola wrote: >> Hmmm... Played with your stack for a while today. Me thinks my QC guy >> lied to me. I can't seem to get any fonts except for the standard web >> fonts to work. Works in iOS but not Android. I will look at this again >> tomorrow.....Film at 11 > > > Thanks for looking at this. Thought I was losing my mind. Isn't this a very > very common task ie. showing custom fonts in a web scroller in iOS and > Android? Seems like it should be! > > FYI I tried some CSS stuff like adding this to the style sheet: > > @font-face { > font-family: "GROBOLD"; > src: url('Fonts/GROBOLD.ttf'); > } > > Nada. > > Kind regards, Paul. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tate83 at gmail.com Thu Jun 13 08:54:11 2013 From: tate83 at gmail.com (Pascal Lehner) Date: Thu, 13 Jun 2013 14:54:11 +0200 Subject: XML and Unicode Message-ID: Hi everyone, I am working on small tool to convert a specific XML file into several html pages. The whole thing looks good and should be working fine eventually. However, there is one thing I did not figure out yet: Unicode. My XML is partially french and has a lot of symbols like this: Personnes du monde rural aux 19?me et 20?me si?cles however, when I read this file into Livecode and take it apart, I get stuff like this in my variables: Personnes du monde rural aux 19??me et 20??me si??cles Can someone help me changin these symols back to their originals respecitvely I will need them in a html file in the end. I guess that's some Unicode issue but I am somehow lost when and how to best change the strings.. Thanks a lot :-) Pascal -- Pascal Lehner 147/1 St Leonards Street Edinburgh EH8 9RB United Kingdom From toolbook at kestner.de Thu Jun 13 09:06:38 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 13 Jun 2013 15:06:38 +0200 Subject: AW: XML and Unicode In-Reply-To: References: Message-ID: <004d01ce6836$d74e2af0$85ea80d0$@de> You could try: put unidecode(uniencode(tContents,"UTF8"),"english") into tContents where tContents is what you have read from your XML file. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Pascal Lehner > Gesendet: Donnerstag, 13. Juni 2013 14:54 > An: How to use LiveCode > Betreff: XML and Unicode > > Hi everyone, > > I am working on small tool to convert a specific XML file into several html > pages. > The whole thing looks good and should be working fine eventually. However, > there is one thing I did not figure out yet: Unicode. > > My XML is partially french and has a lot of symbols like this: > Personnes du monde rural aux 19?me et 20?me > si?cles > > however, when I read this file into Livecode and take it apart, I get stuff > like this in my variables: > > Personnes du monde rural aux 19??me et 20??me si??cles Can someone > help me changin these symols back to their originals respecitvely I will > need them in a html file in the end. I guess that's some Unicode issue but > I am somehow lost when and how to best change the strings.. > > Thanks a lot :-) > > Pascal > > -- > > Pascal Lehner > > 147/1 St Leonards Street > Edinburgh > EH8 9RB > United Kingdom > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Thu Jun 13 09:08:59 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 13 Jun 2013 15:08:59 +0200 Subject: XML and Unicode In-Reply-To: References: Message-ID: <21F80B28-8D4E-4644-A58B-32ECC55A424C@economy-x-talk.com> Hi Pascal, Read the data as binary and convert it. put url "binfile:folder/file.xml" into myData put uniDecode(uniEncode(myData,"UTF8")) into myData -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 13 jun 2013, at 14:54, Pascal Lehner wrote: > Hi everyone, > > I am working on small tool to convert a specific XML file into several html > pages. > The whole thing looks good and should be working fine eventually. However, > there is one thing I did not figure out yet: Unicode. > > My XML is partially french and has a lot of symbols like this: > Personnes du monde rural aux 19?me et 20?me > si?cles > > however, when I read this file into Livecode and take it apart, I get stuff > like this in my variables: > > Personnes du monde rural aux 19??me et 20??me si??cles > Can someone help me changin these symols back to their originals > respecitvely I will need them in a html file in the end. I guess that's > some Unicode issue but I am somehow lost when and how to best change the > strings.. > > Thanks a lot :-) > > Pascal > > -- > > Pascal Lehner > > 147/1 St Leonards Street > Edinburgh > EH8 9RB > United Kingdom > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tate83 at gmail.com Thu Jun 13 09:12:42 2013 From: tate83 at gmail.com (Pascal Lehner) Date: Thu, 13 Jun 2013 15:12:42 +0200 Subject: XML and Unicode In-Reply-To: <21F80B28-8D4E-4644-A58B-32ECC55A424C@economy-x-talk.com> References: <21F80B28-8D4E-4644-A58B-32ECC55A424C@economy-x-talk.com> Message-ID: Thanks, that works perfectly :-) I did not try using decode and encode at the same time.. Pascal On 13 June 2013 15:08, Mark Schonewille wrote: > Hi Pascal, > > Read the data as binary and convert it. > > put url "binfile:folder/file.xml" into myData > put uniDecode(uniEncode(myData,"UTF8")) into myData > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour > spaces. http://www.color-converter.com > > We have time for new software development projects. Contact me for a quote. > > > > > > > On 13 jun 2013, at 14:54, Pascal Lehner wrote: > > > Hi everyone, > > > > I am working on small tool to convert a specific XML file into several > html > > pages. > > The whole thing looks good and should be working fine eventually. > However, > > there is one thing I did not figure out yet: Unicode. > > > > My XML is partially french and has a lot of symbols like this: > > Personnes du monde rural aux 19?me et 20?me > > si?cles > > > > however, when I read this file into Livecode and take it apart, I get > stuff > > like this in my variables: > > > > Personnes du monde rural aux 19??me et 20??me si??cles > > Can someone help me changin these symols back to their originals > > respecitvely I will need them in a html file in the end. I guess that's > > some Unicode issue but I am somehow lost when and how to best change the > > strings.. > > > > Thanks a lot :-) > > > > Pascal > > > > -- > > > > Pascal Lehner > > > > 147/1 St Leonards Street > > Edinburgh > > EH8 9RB > > United Kingdom > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Thu Jun 13 09:50:52 2013 From: dsc at swcp.com (Dar Scott) Date: Thu, 13 Jun 2013 07:50:52 -0600 Subject: 6.1 In-Reply-To: <435BCFC6-7A62-4787-AFC5-A278E6F4684B@swcp.com> References: <51B9213D.2010403@fourthworld.com> <435BCFC6-7A62-4787-AFC5-A278E6F4684B@swcp.com> Message-ID: Perhaps, for me, a table in the dictionary or a good book would suffice for displaying all properties of an object. It doesn't have to be a function. There are advantages of a function that I might exploit, but I'm always reluctant to add new things. Dar On Jun 12, 2013, at 7:44 PM, Dar Scott wrote: > > On Jun 12, 2013, at 7:32 PM, Richard Gaskin wrote: > >> Whenever I'm teaching someone new to the language, one of the first questions that comes up is "What properties are available for each object?" > > Yes! > > And since LIveCode is evolving, this is also nice for review by old hands. > > Dar --------------------------- 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. dsc at swcp.com Computer programming and tinkering, usually in supporting those developing in LiveCode--typically by making LiveCode controls, libraries and externals, and sometimes by writing associated microcontroller firmware. --------------------------- From janschenkel at yahoo.com Thu Jun 13 10:51:01 2013 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 13 Jun 2013 07:51:01 -0700 (PDT) Subject: 6.1 In-Reply-To: References: Message-ID: <1371135061.23251.YahooMailNeo@web141101.mail.bf1.yahoo.com> Thanks for the positive feedback on the new pageRanges property :-) ? Jan Schenkel. ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) ----- Original Message ----- > From: Peter Haworth > To: How to use LiveCode > Cc: > Sent: Wednesday, June 12, 2013 10:03 PM > Subject: 6.1 > > Just read the release notes for 6.1, some nice stuff in there - I really > like the new pageRange property. > From janschenkel at yahoo.com Thu Jun 13 10:54:06 2013 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 13 Jun 2013 07:54:06 -0700 (PDT) Subject: Truncate Text Based On Available Space? In-Reply-To: <97785857-378E-4B36-A9DB-886F2B1947C9@sweattechnologies.com> References: <51B932BA.505@hyperactivesw.com> <33252F4B-FD6B-4D3F-A6D2-4E41DC819EFE@sweattechnologies.com> <51B93602.4010900@hyperactivesw.com> <51B93B25.5000704@hyperactivesw.com> <97785857-378E-4B36-A9DB-886F2B1947C9@sweattechnologies.com> Message-ID: <1371135246.40094.YahooMailNeo@web141104.mail.bf1.yahoo.com> ----- Original Message ----- > From: Monte Goulding > To: How to use LiveCode > Cc: > Sent: Thursday, June 13, 2013 5:52 AM > Subject: Re: Truncate Text Based On Available Space? > > > On 13/06/2013, at 1:23 PM, J. Landman Gay wrote: > >> Dr Raney called the field object "The Beast". Time to put on your > lion tamer hat. > > > I had? a quick look... and decided to stop looking... ;-) > That's why for the pageRanges property, I limited myself to figuring out how the pageHeights property worked and taking it from there. If I had started dissecting the whole thing I might have given up or maybe you would have found me sobbing in a corner at the conference ;-) Jan Schenkel. ? ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From mcgrath3 at mac.com Thu Jun 13 11:04:46 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 13 Jun 2013 11:04:46 -0400 Subject: change orientation on just one card In-Reply-To: References: <0EC2D0AF-80FE-4582-93A7-60E1AB4650A3@sahores-conseil.com> Message-ID: <735FC0C1-2CCA-4E2F-BB3B-B10F47B6A796@mac.com> FYI, I had a library interrupting the preOpenCard handler and so was not getting the expected results that I needed. It is fixed now and this works as expected for me. John, I have my set allowed in the preOpen card and it works on iOS. Which one is needed for Android??? Thanks to everyone for the sanity check. -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jun 12, 2013, at 8:26 AM, John Dixon wrote: > No that is not the case... setting the setAllowedOrientations to a new configuration is sufficient... I have an example where viewing a map on a card in landscape... tapping the callout... the card rotates automatically to portrait when displaying the info on another card... all that has been done is to drop landscape from the allowed orientations... > >> Subject: Re: change orientation on just one card >> From: mcgrath3 at mac.com >> Date: Wed, 12 Jun 2013 08:17:43 -0400 >> To: use-livecode at lists.runrev.com >> >> Apparently it seems that the mobileUnlockOrientation is needed to allow a card to auto rotate to the desired new set of orientations allowed (even though there was no mobileLockOrientation set before). >> >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> mcgrath3 at mac.com >> >> On Jun 12, 2013, at 5:54 AM, Pierre Sahores wrote: >> >>> Works fine here (LC 5.5.5) in using the following code to open a substack in landscape mode and return to portrait mode as soon as the app closes it and goes back to the main stack : >>> >>> 1.- In the substack stack's script : >>> >>>> on preopenStack >>>> if the environment is not "mobile" >>>> then exit preopenStack >>>> else if "playerA" is in the short name of this stack >>>> then mobileSetAllowedOrientations "portrait,landscape left,landscape right" >>>> end preopenStack >>> >>> 2.- In the substack card's script : >>> >>>> on preopencard >>>> mobileUnlockOrientation >>>> mobileSetAllowedOrientations "portrait,landscape left,landscape right" >>>> end preopencard >>>> >>>> on closeCard >>>> mobileSetAllowedOrientations "portrait" >>>> end closeCard >>> >>> 3.- In the mainstack stack's script : nothing >>> >>> 4.- In the mainstack card's script : nothing >>> >>> Both preopenStack and preopenCard are needed to get the mobileSetAllowedOrientations message being efficiently catched on both iOS and Android platforms. >>> >>> >>> Le 12 juin 2013 ? 05:17, Scott Rossi a ?crit : >>> >>>> Seems to work here in LC 5.5.3 (what I have handy). >>>> >>>> Not sure if anything has changed in later versions. >>>> >>>> Regards, >>>> >>>> Scott Rossi >>>> Creative Director >>>> Tactile Media, UX/UI Design >>>> >>>> >>>> >>>> >>>> On 6/11/13 6:40 PM, "Thomas McGrath III" wrote: >>>> >>>>> Has anyone been successful in having just one card in an app be >>>>> restricted to just landscape. I have an app that is supported for all >>>>> orientations but for one card I want to restrict the allowed orientations >>>>> to just landscape. >>>>> >>>>> I tried this on the card I want to restrict but with no luck: >>>>> on preopencard >>>>> if the environment is "mobile" then >>>>> mobileSetAllowedOrientations "landscape left,landscape right" >>>>> end if >>>>> end preopencard >>>>> >>>>> Is there a way to set the orientation when opening a card. I can't seem >>>>> to discover any. >>>>> >>>>> Tom >>>>> >>>>> >>>>> -- Tom McGrath III >>>>> http://lazyriver.on-rev.com >>>>> mcgrath3 at mac.com >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at 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 at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> -- >>> Pierre Sahores >>> mobile : 06 03 95 77 70 >>> www.sahores-conseil.com >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Thu Jun 13 11:25:50 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 13 Jun 2013 11:25:50 -0400 Subject: change orientation on just one card In-Reply-To: <735FC0C1-2CCA-4E2F-BB3B-B10F47B6A796@mac.com> References: <0EC2D0AF-80FE-4582-93A7-60E1AB4650A3@sahores-conseil.com> <735FC0C1-2CCA-4E2F-BB3B-B10F47B6A796@mac.com> Message-ID: <002301ce684a$49aac500$dd004f00$@net> Tom, I do this using similar code in both iOS and Android. It has given the same user experience on both platforms. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Thomas McGrath III Sent: Thursday, June 13, 2013 11:05 AM To: How to use LiveCode Subject: Re: change orientation on just one card FYI, I had a library interrupting the preOpenCard handler and so was not getting the expected results that I needed. It is fixed now and this works as expected for me. John, I have my set allowed in the preOpen card and it works on iOS. Which one is needed for Android??? Thanks to everyone for the sanity check. -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jun 12, 2013, at 8:26 AM, John Dixon wrote: > No that is not the case... setting the setAllowedOrientations to a new configuration is sufficient... I have an example where viewing a map on a card in landscape... tapping the callout... the card rotates automatically to portrait when displaying the info on another card... all that has been done is to drop landscape from the allowed orientations... > >> Subject: Re: change orientation on just one card >> From: mcgrath3 at mac.com >> Date: Wed, 12 Jun 2013 08:17:43 -0400 >> To: use-livecode at lists.runrev.com >> >> Apparently it seems that the mobileUnlockOrientation is needed to allow a card to auto rotate to the desired new set of orientations allowed (even though there was no mobileLockOrientation set before). >> >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> mcgrath3 at mac.com >> >> On Jun 12, 2013, at 5:54 AM, Pierre Sahores wrote: >> >>> Works fine here (LC 5.5.5) in using the following code to open a substack in landscape mode and return to portrait mode as soon as the app closes it and goes back to the main stack : >>> >>> 1.- In the substack stack's script : >>> >>>> on preopenStack >>>> if the environment is not "mobile" >>>> then exit preopenStack >>>> else if "playerA" is in the short name of this stack then >>>> mobileSetAllowedOrientations "portrait,landscape left,landscape right" >>>> end preopenStack >>> >>> 2.- In the substack card's script : >>> >>>> on preopencard >>>> mobileUnlockOrientation >>>> mobileSetAllowedOrientations "portrait,landscape left,landscape right" >>>> end preopencard >>>> >>>> on closeCard >>>> mobileSetAllowedOrientations "portrait" >>>> end closeCard >>> >>> 3.- In the mainstack stack's script : nothing >>> >>> 4.- In the mainstack card's script : nothing >>> >>> Both preopenStack and preopenCard are needed to get the mobileSetAllowedOrientations message being efficiently catched on both iOS and Android platforms. >>> >>> >>> Le 12 juin 2013 ? 05:17, Scott Rossi a ?crit : >>> >>>> Seems to work here in LC 5.5.3 (what I have handy). >>>> >>>> Not sure if anything has changed in later versions. >>>> >>>> Regards, >>>> >>>> Scott Rossi >>>> Creative Director >>>> Tactile Media, UX/UI Design >>>> >>>> >>>> >>>> >>>> On 6/11/13 6:40 PM, "Thomas McGrath III" wrote: >>>> >>>>> Has anyone been successful in having just one card in an app be >>>>> restricted to just landscape. I have an app that is supported for >>>>> all orientations but for one card I want to restrict the allowed >>>>> orientations to just landscape. >>>>> >>>>> I tried this on the card I want to restrict but with no luck: >>>>> on preopencard >>>>> if the environment is "mobile" then >>>>> mobileSetAllowedOrientations "landscape left,landscape right" >>>>> end if >>>>> end preopencard >>>>> >>>>> Is there a way to set the orientation when opening a card. I can't >>>>> seem to discover any. >>>>> >>>>> Tom >>>>> >>>>> >>>>> -- Tom McGrath III >>>>> http://lazyriver.on-rev.com >>>>> mcgrath3 at mac.com >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at 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 at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> -- >>> Pierre Sahores >>> mobile : 06 03 95 77 70 >>> www.sahores-conseil.com >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Thu Jun 13 11:33:20 2013 From: dsc at swcp.com (Dar Scott) Date: Thu, 13 Jun 2013 09:33:20 -0600 Subject: XML and Unicode In-Reply-To: References: Message-ID: <50338858-7452-424F-BE80-F912F6EAD7B0@swcp.com> You can often find the encoding of an XML file in the XML declaration. Look for the encoding attribute: Or, since you say "specific", assume what you think is right. Converting to your native encoding is lossy. You might lose characters. You can check that by converting back and seeing if you get the same thing. If that is a concern. However, if you are careful, that might work OK. I would lean toward processing UTF-8. Whether you read that in with binfile: or file: depends on how you are using the data. I recommend against using the native encoding for your machine for HTML if this tool is to be portable or handle a wide range of characters. Be explicit and specific. It is easy to get things working on your machine and then have it fail on other people's computers. Here are a couple approaches for HTML: 1. Use ASCII for the HTML file. Convert characters not in ASCII to HTML character references. If HTML readability (even for testing) is important then use character entity names for the common ones. You can display the ASCII directly in fields. If the source or intermediate strings are UTF-8, display those by converting to Unicode and setting the unicodeText property of the field. 2. Specify the character encoding of the HTML file in the file. Like this: If your file is UTF-8, you might want to consider that. The HTTP server might remove that and replace it with a similar HTTP header. You might note have to worry about special characters this way. If it turns out that working with UTF-8 for intermediate values is the right thing, you can always display that by converting it to Unicode (LiveCode) and then setting the unicodeText property of the appropriate field with that. I don't know how available XML tools in LiveCode handle UTF-8. Dar On Jun 13, 2013, at 6:54 AM, Pascal Lehner wrote: > Hi everyone, > > I am working on small tool to convert a specific XML file into several html > pages. > The whole thing looks good and should be working fine eventually. However, > there is one thing I did not figure out yet: Unicode. > > My XML is partially french and has a lot of symbols like this: > Personnes du monde rural aux 19?me et 20?me > si?cles > > however, when I read this file into Livecode and take it apart, I get stuff > like this in my variables: > > Personnes du monde rural aux 19??me et 20??me si??cles > Can someone help me changin these symols back to their originals > respecitvely I will need them in a html file in the end. I guess that's > some Unicode issue but I am somehow lost when and how to best change the > strings.. > > Thanks a lot :-) > > Pascal > > -- > > Pascal Lehner > > 147/1 St Leonards Street > Edinburgh > EH8 9RB > United Kingdom --------------------------- 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. dsc at swcp.com Computer programming and tinkering, usually in supporting those developing in LiveCode--typically by making LiveCode controls, libraries and externals, and sometimes by writing associated microcontroller firmware. --------------------------- We can not force our goodwill on anyone, we can only set good examples and hope people wish to emulate us. --Ron Paul From rabit at revigniter.com Thu Jun 13 11:49:58 2013 From: rabit at revigniter.com (Ralf Bitter) Date: Thu, 13 Jun 2013 17:49:58 +0200 Subject: Database connection fails using community server 6.0.2 Message-ID: <3E35088D-98E0-4899-8EC0-0E35C978A8EE@revigniter.com> Has anyone been able to connect successfully to a MySQL / PostgreSQL database using the community edition of LiveCode server 6.0.2? Replaced version 6.0.0-rc-1 with the community version. Since then I am unable to establish a database connection. (Permissions are correct) Ralf From dsc at swcp.com Thu Jun 13 12:04:58 2013 From: dsc at swcp.com (Dar Scott) Date: Thu, 13 Jun 2013 10:04:58 -0600 Subject: change orientation on just one card In-Reply-To: <735FC0C1-2CCA-4E2F-BB3B-B10F47B6A796@mac.com> References: <0EC2D0AF-80FE-4582-93A7-60E1AB4650A3@sahores-conseil.com> <735FC0C1-2CCA-4E2F-BB3B-B10F47B6A796@mac.com> Message-ID: <68E0771F-92FF-4C79-8FF8-E6082FB4B449@swcp.com> Maybe PASS in such handlers is a good habit. I'm not sure. Dar On Jun 13, 2013, at 9:04 AM, Thomas McGrath III wrote: > FYI, I had a library interrupting the preOpenCard handler and so was not getting the expected results that I needed. It is fixed now and this works as expected for me. > > John, I have my set allowed in the preOpen card and it works on iOS. Which one is needed for Android??? > > Thanks to everyone for the sanity check. > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > On Jun 12, 2013, at 8:26 AM, John Dixon wrote: > >> No that is not the case... setting the setAllowedOrientations to a new configuration is sufficient... I have an example where viewing a map on a card in landscape... tapping the callout... the card rotates automatically to portrait when displaying the info on another card... all that has been done is to drop landscape from the allowed orientations... >> >>> Subject: Re: change orientation on just one card >>> From: mcgrath3 at mac.com >>> Date: Wed, 12 Jun 2013 08:17:43 -0400 >>> To: use-livecode at lists.runrev.com >>> >>> Apparently it seems that the mobileUnlockOrientation is needed to allow a card to auto rotate to the desired new set of orientations allowed (even though there was no mobileLockOrientation set before). >>> >>> >>> -- Tom McGrath III >>> http://lazyriver.on-rev.com >>> mcgrath3 at mac.com >>> >>> On Jun 12, 2013, at 5:54 AM, Pierre Sahores wrote: >>> >>>> Works fine here (LC 5.5.5) in using the following code to open a substack in landscape mode and return to portrait mode as soon as the app closes it and goes back to the main stack : >>>> >>>> 1.- In the substack stack's script : >>>> >>>>> on preopenStack >>>>> if the environment is not "mobile" >>>>> then exit preopenStack >>>>> else if "playerA" is in the short name of this stack >>>>> then mobileSetAllowedOrientations "portrait,landscape left,landscape right" >>>>> end preopenStack >>>> >>>> 2.- In the substack card's script : >>>> >>>>> on preopencard >>>>> mobileUnlockOrientation >>>>> mobileSetAllowedOrientations "portrait,landscape left,landscape right" >>>>> end preopencard >>>>> >>>>> on closeCard >>>>> mobileSetAllowedOrientations "portrait" >>>>> end closeCard >>>> >>>> 3.- In the mainstack stack's script : nothing >>>> >>>> 4.- In the mainstack card's script : nothing >>>> >>>> Both preopenStack and preopenCard are needed to get the mobileSetAllowedOrientations message being efficiently catched on both iOS and Android platforms. >>>> >>>> >>>> Le 12 juin 2013 ? 05:17, Scott Rossi a ?crit : >>>> >>>>> Seems to work here in LC 5.5.3 (what I have handy). >>>>> >>>>> Not sure if anything has changed in later versions. >>>>> >>>>> Regards, >>>>> >>>>> Scott Rossi >>>>> Creative Director >>>>> Tactile Media, UX/UI Design >>>>> >>>>> >>>>> >>>>> >>>>> On 6/11/13 6:40 PM, "Thomas McGrath III" wrote: >>>>> >>>>>> Has anyone been successful in having just one card in an app be >>>>>> restricted to just landscape. I have an app that is supported for all >>>>>> orientations but for one card I want to restrict the allowed orientations >>>>>> to just landscape. >>>>>> >>>>>> I tried this on the card I want to restrict but with no luck: >>>>>> on preopencard >>>>>> if the environment is "mobile" then >>>>>> mobileSetAllowedOrientations "landscape left,landscape right" >>>>>> end if >>>>>> end preopencard >>>>>> >>>>>> Is there a way to set the orientation when opening a card. I can't seem >>>>>> to discover any. >>>>>> >>>>>> Tom >>>>>> >>>>>> >>>>>> -- Tom McGrath III >>>>>> http://lazyriver.on-rev.com >>>>>> mcgrath3 at mac.com >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at 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 at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> -- >>>> Pierre Sahores >>>> mobile : 06 03 95 77 70 >>>> www.sahores-conseil.com >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Thu Jun 13 12:10:50 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 13 Jun 2013 12:10:50 -0400 Subject: change orientation on just one card In-Reply-To: <68E0771F-92FF-4C79-8FF8-E6082FB4B449@swcp.com> References: <0EC2D0AF-80FE-4582-93A7-60E1AB4650A3@sahores-conseil.com> <735FC0C1-2CCA-4E2F-BB3B-B10F47B6A796@mac.com> <68E0771F-92FF-4C79-8FF8-E6082FB4B449@swcp.com> Message-ID: PASS seems to help a lot when working with many libraries. ;-) But tracking down the messages path for this with locked libraries is a real pain. -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jun 13, 2013, at 12:04 PM, Dar Scott wrote: > Maybe PASS in such handlers is a good habit. I'm not sure. > > Dar > > > On Jun 13, 2013, at 9:04 AM, Thomas McGrath III wrote: > >> FYI, I had a library interrupting the preOpenCard handler and so was not getting the expected results that I needed. It is fixed now and this works as expected for me. >> >> John, I have my set allowed in the preOpen card and it works on iOS. Which one is needed for Android??? >> >> Thanks to everyone for the sanity check. >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> mcgrath3 at mac.com >> >> On Jun 12, 2013, at 8:26 AM, John Dixon wrote: >> >>> No that is not the case... setting the setAllowedOrientations to a new configuration is sufficient... I have an example where viewing a map on a card in landscape... tapping the callout... the card rotates automatically to portrait when displaying the info on another card... all that has been done is to drop landscape from the allowed orientations... >>> >>>> Subject: Re: change orientation on just one card >>>> From: mcgrath3 at mac.com >>>> Date: Wed, 12 Jun 2013 08:17:43 -0400 >>>> To: use-livecode at lists.runrev.com >>>> >>>> Apparently it seems that the mobileUnlockOrientation is needed to allow a card to auto rotate to the desired new set of orientations allowed (even though there was no mobileLockOrientation set before). >>>> >>>> >>>> -- Tom McGrath III >>>> http://lazyriver.on-rev.com >>>> mcgrath3 at mac.com >>>> >>>> On Jun 12, 2013, at 5:54 AM, Pierre Sahores wrote: >>>> >>>>> Works fine here (LC 5.5.5) in using the following code to open a substack in landscape mode and return to portrait mode as soon as the app closes it and goes back to the main stack : >>>>> >>>>> 1.- In the substack stack's script : >>>>> >>>>>> on preopenStack >>>>>> if the environment is not "mobile" >>>>>> then exit preopenStack >>>>>> else if "playerA" is in the short name of this stack >>>>>> then mobileSetAllowedOrientations "portrait,landscape left,landscape right" >>>>>> end preopenStack >>>>> >>>>> 2.- In the substack card's script : >>>>> >>>>>> on preopencard >>>>>> mobileUnlockOrientation >>>>>> mobileSetAllowedOrientations "portrait,landscape left,landscape right" >>>>>> end preopencard >>>>>> >>>>>> on closeCard >>>>>> mobileSetAllowedOrientations "portrait" >>>>>> end closeCard >>>>> >>>>> 3.- In the mainstack stack's script : nothing >>>>> >>>>> 4.- In the mainstack card's script : nothing >>>>> >>>>> Both preopenStack and preopenCard are needed to get the mobileSetAllowedOrientations message being efficiently catched on both iOS and Android platforms. >>>>> >>>>> >>>>> Le 12 juin 2013 ? 05:17, Scott Rossi a ?crit : >>>>> >>>>>> Seems to work here in LC 5.5.3 (what I have handy). >>>>>> >>>>>> Not sure if anything has changed in later versions. >>>>>> >>>>>> Regards, >>>>>> >>>>>> Scott Rossi >>>>>> Creative Director >>>>>> Tactile Media, UX/UI Design >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On 6/11/13 6:40 PM, "Thomas McGrath III" wrote: >>>>>> >>>>>>> Has anyone been successful in having just one card in an app be >>>>>>> restricted to just landscape. I have an app that is supported for all >>>>>>> orientations but for one card I want to restrict the allowed orientations >>>>>>> to just landscape. >>>>>>> >>>>>>> I tried this on the card I want to restrict but with no luck: >>>>>>> on preopencard >>>>>>> if the environment is "mobile" then >>>>>>> mobileSetAllowedOrientations "landscape left,landscape right" >>>>>>> end if >>>>>>> end preopencard >>>>>>> >>>>>>> Is there a way to set the orientation when opening a card. I can't seem >>>>>>> to discover any. >>>>>>> >>>>>>> Tom >>>>>>> >>>>>>> >>>>>>> -- Tom McGrath III >>>>>>> http://lazyriver.on-rev.com >>>>>>> mcgrath3 at mac.com >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at 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 at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> -- >>>>> Pierre Sahores >>>>> mobile : 06 03 95 77 70 >>>>> www.sahores-conseil.com >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Thu Jun 13 12:16:40 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 13 Jun 2013 12:16:40 -0400 Subject: change orientation on just one card In-Reply-To: <68E0771F-92FF-4C79-8FF8-E6082FB4B449@swcp.com> References: <0EC2D0AF-80FE-4582-93A7-60E1AB4650A3@sahores-conseil.com> <735FC0C1-2CCA-4E2F-BB3B-B10F47B6A796@mac.com> <68E0771F-92FF-4C79-8FF8-E6082FB4B449@swcp.com> Message-ID: <002e01ce6851$63865230$2a92f690$@net> I found that (at least on mobile) pass is always a good idea for pre/open/resize handlers. For example I found if did not pass resizestack... In iOS the page just flipped hard and did not smoothly rotate. Also things would sometimes go sideways if didn't pass preopencard and opencard. So..... I started passing every engine message and then got myself in trouble after passing returninfield and started sending returns all over the place in a loop. I now try to make a judgment call on what messages to pass. A guide-line on engine messages to pass would be helpful. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Dar Scott Sent: Thursday, June 13, 2013 12:05 PM To: How to use LiveCode Subject: Re: change orientation on just one card Maybe PASS in such handlers is a good habit. I'm not sure. Dar On Jun 13, 2013, at 9:04 AM, Thomas McGrath III wrote: > FYI, I had a library interrupting the preOpenCard handler and so was not getting the expected results that I needed. It is fixed now and this works as expected for me. > > John, I have my set allowed in the preOpen card and it works on iOS. Which one is needed for Android??? > > Thanks to everyone for the sanity check. > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > On Jun 12, 2013, at 8:26 AM, John Dixon wrote: > >> No that is not the case... setting the setAllowedOrientations to a new configuration is sufficient... I have an example where viewing a map on a card in landscape... tapping the callout... the card rotates automatically to portrait when displaying the info on another card... all that has been done is to drop landscape from the allowed orientations... >> >>> Subject: Re: change orientation on just one card >>> From: mcgrath3 at mac.com >>> Date: Wed, 12 Jun 2013 08:17:43 -0400 >>> To: use-livecode at lists.runrev.com >>> >>> Apparently it seems that the mobileUnlockOrientation is needed to allow a card to auto rotate to the desired new set of orientations allowed (even though there was no mobileLockOrientation set before). >>> >>> >>> -- Tom McGrath III >>> http://lazyriver.on-rev.com >>> mcgrath3 at mac.com >>> >>> On Jun 12, 2013, at 5:54 AM, Pierre Sahores wrote: >>> >>>> Works fine here (LC 5.5.5) in using the following code to open a substack in landscape mode and return to portrait mode as soon as the app closes it and goes back to the main stack : >>>> >>>> 1.- In the substack stack's script : >>>> >>>>> on preopenStack >>>>> if the environment is not "mobile" >>>>> then exit preopenStack >>>>> else if "playerA" is in the short name of this stack then >>>>> mobileSetAllowedOrientations "portrait,landscape left,landscape right" >>>>> end preopenStack >>>> >>>> 2.- In the substack card's script : >>>> >>>>> on preopencard >>>>> mobileUnlockOrientation >>>>> mobileSetAllowedOrientations "portrait,landscape left,landscape right" >>>>> end preopencard >>>>> >>>>> on closeCard >>>>> mobileSetAllowedOrientations "portrait" >>>>> end closeCard >>>> >>>> 3.- In the mainstack stack's script : nothing >>>> >>>> 4.- In the mainstack card's script : nothing >>>> >>>> Both preopenStack and preopenCard are needed to get the mobileSetAllowedOrientations message being efficiently catched on both iOS and Android platforms. >>>> >>>> >>>> Le 12 juin 2013 ? 05:17, Scott Rossi a ?crit : >>>> >>>>> Seems to work here in LC 5.5.3 (what I have handy). >>>>> >>>>> Not sure if anything has changed in later versions. >>>>> >>>>> Regards, >>>>> >>>>> Scott Rossi >>>>> Creative Director >>>>> Tactile Media, UX/UI Design >>>>> >>>>> >>>>> >>>>> >>>>> On 6/11/13 6:40 PM, "Thomas McGrath III" wrote: >>>>> >>>>>> Has anyone been successful in having just one card in an app be >>>>>> restricted to just landscape. I have an app that is supported for >>>>>> all orientations but for one card I want to restrict the allowed >>>>>> orientations to just landscape. >>>>>> >>>>>> I tried this on the card I want to restrict but with no luck: >>>>>> on preopencard >>>>>> if the environment is "mobile" then >>>>>> mobileSetAllowedOrientations "landscape left,landscape right" >>>>>> end if >>>>>> end preopencard >>>>>> >>>>>> Is there a way to set the orientation when opening a card. I >>>>>> can't seem to discover any. >>>>>> >>>>>> Tom >>>>>> >>>>>> >>>>>> -- Tom McGrath III >>>>>> http://lazyriver.on-rev.com >>>>>> mcgrath3 at mac.com >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at 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 at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> -- >>>> Pierre Sahores >>>> mobile : 06 03 95 77 70 >>>> www.sahores-conseil.com >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at 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 at 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 at 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 at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Thu Jun 13 12:38:05 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 13 Jun 2013 09:38:05 -0700 Subject: 6.1 In-Reply-To: References: <51B9213D.2010403@fourthworld.com> <435BCFC6-7A62-4787-AFC5-A278E6F4684B@swcp.com> Message-ID: In response to the various posts. My need is to get the names of all the properties of any given object, not necessarily the values. As far as I know, the only way to do that is to get the properties of the object and then get the keys of the result. So yes, an extension to the propertynames as suggested would be a great idea. For the reasons above, I would suggest that the propertynames be capable of returning all properties, even those that are derived, read only, or synonyms, perhaps by use of various keywords. Meanwhile, this change just broke a critical part of my code, is not backward compatible, and there is no way for me to work around it other than go to a considerable amount of effort to maintain my own list of properties per object which I don't consider to be a reasonable alternative. By contrast, without this change, all that is needed to determine if a property is set or not is a simple "if empty" test. I contributed to the discussion on the engine forum, as Monte is suggesting, but the change went ahead anyway, perhaps because I didn't explain myself clearly enough. I see no reason why these issues shouldn't be discussed here rather than the engine forum; this list has far more visibility than the engine forum and it's critical that as many people as possible are aware of what changes are being suggested. Much as I appreciate the time and effort that people are willing to put in to making engine changes in this new open source era, I strongly believe this change should be removed, modified so that the properties can be made to behave as they did prior to 6.1, or put on hold until the proposed change to the propertynames can be implemented. Pete lcSQL Software > --------------------------- > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Thu Jun 13 12:57:31 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 13 Jun 2013 11:57:31 -0500 Subject: Truncate Text Based On Available Space? In-Reply-To: <1371135246.40094.YahooMailNeo@web141104.mail.bf1.yahoo.com> References: <51B932BA.505@hyperactivesw.com> <33252F4B-FD6B-4D3F-A6D2-4E41DC819EFE@sweattechnologies.com> <51B93602.4010900@hyperactivesw.com> <51B93B25.5000704@hyperactivesw.com> <97785857-378E-4B36-A9DB-886F2B1947C9@sweattechnologies.com> <1371135246.40094.YahooMailNeo@web141104.mail.bf1.yahoo.com> Message-ID: <51B9F9FB.9050002@hyperactivesw.com> On 6/13/13 9:54 AM, Jan Schenkel wrote: > That's why for the pageRanges property, I limited myself to figuring out how the pageHeights property worked and taking it from there. > If I had started dissecting the whole thing I might have given up or maybe you would have found me sobbing in a corner at the conference ;-) I found you sobbing in a corner anyway because you couldn't find a clean shirt. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Jun 13 13:05:04 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 13 Jun 2013 12:05:04 -0500 Subject: 6.1 In-Reply-To: References: <51B9213D.2010403@fourthworld.com> <435BCFC6-7A62-4787-AFC5-A278E6F4684B@swcp.com> Message-ID: <51B9FBC0.5060504@hyperactivesw.com> On 6/13/13 11:38 AM, Peter Haworth wrote: > I contributed to the discussion on the engine forum, as Monte is > suggesting, but the change went ahead anyway, This is a good example of why contributors need to be especially careful not to change or break existing behaviors. RunrevMark does a very good job of monitoring that, but this one slipped by. I know that I use some conventions that may be rarely used by anyone else, but if they broke I'd be sunk. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Thu Jun 13 14:20:33 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 13 Jun 2013 11:20:33 -0700 Subject: [OT] Change Default Finder View On OS X? Message-ID: ( On OS X Lion ) Anybody know if it's possible to change the default window contents when opening a new Finder window? Every time I launch a new window, the Finder defaults to showing "All My Files". This would be fine except it includes email messages, which numbers over 10,000 and can take several seconds to display. Any way to change this behavior? Or simply select a new default somehow? Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From bonnmike at gmail.com Thu Jun 13 14:24:47 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 13 Jun 2013 12:24:47 -0600 Subject: [OT] Change Default Finder View On OS X? In-Reply-To: References: Message-ID: If its the same as mountain lion, go to preferences for finder, general tab, mid way down change "New Finder Windows Show:" to whatever you wish to be default. On Thu, Jun 13, 2013 at 12:20 PM, Scott Rossi wrote: > ( On OS X Lion ) > Anybody know if it's possible to change the default window contents when > opening a new Finder window? Every time I launch a new window, the Finder > defaults to showing "All My Files". This would be fine except it includes > email messages, which numbers over 10,000 and can take several seconds to > display. > Any way to change this behavior? Or simply select a new default somehow? > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Thu Jun 13 14:28:40 2013 From: dsc at swcp.com (Dar Scott) Date: Thu, 13 Jun 2013 12:28:40 -0600 Subject: 6.1 In-Reply-To: <51B9FBC0.5060504@hyperactivesw.com> References: <51B9213D.2010403@fourthworld.com> <435BCFC6-7A62-4787-AFC5-A278E6F4684B@swcp.com> <51B9FBC0.5060504@hyperactivesw.com> Message-ID: <30576A47-92E3-4CC3-A63B-2E99D334032F@swcp.com> Maybe one stage in discussion might be an entry or notice in some declaration web pages. It might be easy to find proposed changes and there might be some easy name for the list, like "green pages" or "bust notices". I have said too much for one not volunteering. Dar On Jun 13, 2013, at 11:05 AM, J. Landman Gay wrote: > On 6/13/13 11:38 AM, Peter Haworth wrote: > >> I contributed to the discussion on the engine forum, as Monte is >> suggesting, but the change went ahead anyway, > > This is a good example of why contributors need to be especially careful not to change or break existing behaviors. RunrevMark does a very good job of monitoring that, but this one slipped by. > > I know that I use some conventions that may be rarely used by anyone else, but if they broke I'd be sunk. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Thu Jun 13 14:32:14 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 13 Jun 2013 11:32:14 -0700 Subject: [OT] Change Default Finder View On OS X? In-Reply-To: Message-ID: [ forehead smack #6,437 ] Thanks Mike Bonner, knew it had to be something simple. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 6/13/13 11:24 AM, "Mike Bonner" wrote: >If its the same as mountain lion, go to preferences for finder, general >tab, mid way down change "New Finder Windows Show:" to whatever you wish >to >be default. > > >On Thu, Jun 13, 2013 at 12:20 PM, Scott Rossi >wrote: > >> ( On OS X Lion ) >> Anybody know if it's possible to change the default window contents when >> opening a new Finder window? Every time I launch a new window, the >>Finder >> defaults to showing "All My Files". This would be fine except it >>includes >> email messages, which numbers over 10,000 and can take several seconds >>to >> display. >> Any way to change this behavior? Or simply select a new default >>somehow? >> >> Thanks & Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Thu Jun 13 14:53:34 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 13 Jun 2013 21:53:34 +0300 Subject: 6.1 In-Reply-To: References: Message-ID: <51BA152E.2020502@gmail.com> On 06/12/2013 11:03 PM, Peter Haworth wrote: > Just read the release notes for 6.1, some nice stuff in there - I really > like the new pageRange property. > > However, I'm not so happy about the properties changes, at least until I > check them out and see exactly what the changes are. > > It sounds like "the properties" doesn't return all the properties it used > to return, only those needed to recreate it. That's great for those who > want to recreate an object by maybe not so great for folks who want to use > it for other purposes. > > I just made up a simple stack with a button "Button" and a scrolling list field "PROPPS". The button contains this script: on mouseUp get the properties of btn "Button" combine it using return and colon put it into fld "PROPPS" end mouseUp Running that under Livecode 4.5 ends up with this in the textField: accelKey: accelMods: accelText: altId:0 armBorder:true armFill:false armed:false armedIcon:0 autoArm:false autoHilite:true behavior: blendLevel:0 borderWidth:2 cantSelect:false colors: and doing exactly the same thing in Livecode 6.1 ends up with this: altId:0 armBorder:true armFill:false armed:false armedIcon:0 autoArm:false autoHilite:true blendLevel:0 borderWidth:2 cantSelect:false default:true disabled:false disabledIcon:0 family:0 hiliteBorder:true hiliteFill:true hiliteIcon:0 hilited:false hoverIcon:0 icon:0 id:1005 ink:srcCopy labelWidth:0 layer:2 layerMode:static lockLoc:false margins:4 menuHistory:1 menuLines:5 menuMouseButton:1 mnemonic:0 name:Button opaque:true rect:162,31,244,54 shadow:false shadowOffset:4 sharedHilite:true showBorder:true showFocusBorder:true showHilite:false showIcon:false showName:true style:standard textAlign:center threeD:true titleWidth:0 traversalOn:true visible:true visitedIcon:0 Now what interests me are several things: 1. LC 4.5's list contains items that are NOT listed in 6.1's and the other way round, although 6.1's is longer. I can understand that 6.1's might be longer owing to it listing properties that were not previously listed by 'get the properties', but I cannot understand why it might leave out some of those listed in 4.5 Richmond. From 3mcgrath at comcast.net Thu Jun 13 15:21:49 2013 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Thu, 13 Jun 2013 15:21:49 -0400 Subject: Dropbox in livecode Message-ID: Is it possible to directly load a text file stored on dropbox into LC for processing then change that info and re-upload to the same file on dropbox??? The share link from dropbox is to a web addy that includes a link to download the file instead of a direct link to the file itself. Tom Thomas J McGrath III 3mcgrath at comcast.net Lazy River Software http://lazyriver.on-rev.com From scott at tactilemedia.com Thu Jun 13 15:43:40 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 13 Jun 2013 12:43:40 -0700 Subject: Dropbox in livecode In-Reply-To: Message-ID: Hi Tom: Am pretty sure files in the Public folder allow direct access. Last I checked (v1.x), you had to use a full file path; you couldn't access a folder and get a list of files -- not sure if they changed this with 2.0. AFAIK, other files are not available without going through Web sharing. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 6/13/13 12:21 PM, "Thomas McGrath III" <3mcgrath at comcast.net> wrote: >Is it possible to directly load a text file stored on dropbox into LC for >processing then change that info and re-upload to the same file on >dropbox??? > >The share link from dropbox is to a web addy that includes a link to >download the file instead of a direct link to the file itself. > >Tom > >Thomas J McGrath III >3mcgrath at comcast.net > >Lazy River Software >http://lazyriver.on-rev.com > > > > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From matthias_livecode_150811 at m-r-d.de Thu Jun 13 15:49:54 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 13 Jun 2013 21:49:54 +0200 Subject: Dropbox in livecode In-Reply-To: References: Message-ID: Hi Tom, Guglielmo Braguglia published a dropbox library some time ago. http://www.phoenixsea.ch/downloads/Livecode/phxDropboxLib.zip Regards, Matthias Am 13.06.2013 um 21:21 schrieb Thomas McGrath III <3mcgrath at comcast.net>: > Is it possible to directly load a text file stored on dropbox into LC for processing then change that info and re-upload to the same file on dropbox??? > > The share link from dropbox is to a web addy that includes a link to download the file instead of a direct link to the file itself. > > Tom > > Thomas J McGrath III > 3mcgrath at comcast.net > > Lazy River Software > http://lazyriver.on-rev.com > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Thu Jun 13 16:03:18 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 13 Jun 2013 20:03:18 +0000 (UTC) Subject: 6.1 References: <51BA152E.2020502@gmail.com> Message-ID: Richmond writes: > but I cannot understand why it might leave out some of those listed in 4.5 It sometimes helps to read a thread before responding. tl;dr: it's a work in progress. -- Mark Wieder mwieder at ahsoftware.net From pete at lcsql.com Thu Jun 13 16:06:13 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 13 Jun 2013 13:06:13 -0700 Subject: 6.1 In-Reply-To: <51B9FBC0.5060504@hyperactivesw.com> References: <51B9213D.2010403@fourthworld.com> <435BCFC6-7A62-4787-AFC5-A278E6F4684B@swcp.com> <51B9FBC0.5060504@hyperactivesw.com> Message-ID: There's been discussion recently on what the purpose of the developers list is. I think discussion of contributed engine and IDE changes is a perfect use for it. Forums are fine but they require an active effort to go look at them whereas the email lists just turn up. I think that's been discussed at length in the past too. Pete lcSQL Software On Thu, Jun 13, 2013 at 10:05 AM, J. Landman Gay wrote: > On 6/13/13 11:38 AM, Peter Haworth wrote: > > I contributed to the discussion on the engine forum, as Monte is >> suggesting, but the change went ahead anyway, >> > > This is a good example of why contributors need to be especially careful > not to change or break existing behaviors. RunrevMark does a very good job > of monitoring that, but this one slipped by. > > I know that I use some conventions that may be rarely used by anyone else, > but if they broke I'd be sunk. > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From monte at sweattechnologies.com Thu Jun 13 16:40:47 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 14 Jun 2013 06:40:47 +1000 Subject: 6.1 In-Reply-To: <51B9FBC0.5060504@hyperactivesw.com> References: <51B9213D.2010403@fourthworld.com> <435BCFC6-7A62-4787-AFC5-A278E6F4684B@swcp.com> <51B9FBC0.5060504@hyperactivesw.com> Message-ID: On 14/06/2013, at 3:05 AM, "J. Landman Gay" wrote: > This is a good example of why contributors need to be especially careful not to change or break existing behaviors. RunrevMark does a very good job of monitoring that, but this one slipped by. It hasn't slipped by it just wasn't clearly expressed until now but this is only dp 1. Because Pete didn't post to the engine forum I did it for him and had some feedback from RunRevMark and will make a couple of tweaks to the contribution. I actually agree that it should return empty values. That change was introduced when trying to work out what to do about unicode/ascii color/pattern issues. The property will still return unicode if the property contains non-ascii because I can't see any way around that but the color and pattern properties will all be returned and when setting they will need to be handled to deal with an empty color overwriting a pattern that has a value or visa versa... the properties property has been broken and unattended for many years... the whole point was to fix it not break it more! BTW I didn't invent the engine forum... I read posts here so if people move discussion from there to here I will see it but I'm not sure how closely Mark follows this list which is why I suggested posting to the forum... -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From MikeKerner at roadrunner.com Thu Jun 13 16:59:23 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 13 Jun 2013 16:59:23 -0400 Subject: Dropbox in livecode In-Reply-To: References: Message-ID: I'm doing this right now, and going back and forth with iOS, as well. On Thu, Jun 13, 2013 at 3:49 PM, Matthias Rebbe < matthias_livecode_150811 at m-r-d.de> wrote: > Hi Tom, > > Guglielmo Braguglia published a dropbox library some time ago. > > http://www.phoenixsea.ch/downloads/Livecode/phxDropboxLib.zip > > Regards, > > Matthias > > > Am 13.06.2013 um 21:21 schrieb Thomas McGrath III <3mcgrath at comcast.net>: > > > Is it possible to directly load a text file stored on dropbox into LC > for processing then change that info and re-upload to the same file on > dropbox??? > > > > The share link from dropbox is to a web addy that includes a link to > download the file instead of a direct link to the file itself. > > > > Tom > > > > Thomas J McGrath III > > 3mcgrath at comcast.net > > > > Lazy River Software > > http://lazyriver.on-rev.com > > > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at 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." From dochawk at gmail.com Thu Jun 13 17:02:23 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 13 Jun 2013 14:02:23 -0700 Subject: a *fast* check for whether another machine is on the local network? Message-ID: Is there a *fast* way to see if another machine is currently on the local network, by name (somemachine.local) or otherwise, from within livecode? There's always sending a message and waiting for it to hang, but I'd like something that happens quickly. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dunbarx at aol.com Thu Jun 13 17:13:56 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 13 Jun 2013 17:13:56 -0400 (EDT) Subject: a *fast* check for whether another machine is on the local network? In-Reply-To: References: Message-ID: <8D036920BF72013-2240-E132@webmail-m204.sysops.aol.com> Richard. Would the "openSockets" function do what you need? Not as direct as what OS9 could do, but those days are over. And I am sure there must be an appleScript gadget that could query the network. Craig Newman -----Original Message----- From: Dr. Hawkins To: How to use LiveCode Sent: Thu, Jun 13, 2013 5:02 pm Subject: a *fast* check for whether another machine is on the local network? Is there a *fast* way to see if another machine is currently on the local network, by name (somemachine.local) or otherwise, from within livecode? There's always sending a message and waiting for it to hang, but I'd like something that happens quickly. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Thu Jun 13 17:43:58 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 13 Jun 2013 21:43:58 +0000 (UTC) Subject: Dropbox in livecode References: Message-ID: Mike Kerner writes: > I'm doing this right now, and going back and forth with iOS, as well. 1. Are you doing this to a local dropbox folder, or to the web? 2. To your own dropbox or to someone else's? -- Mark Wieder mwieder at ahsoftware.net From daryl at synergetic-data.com Thu Jun 13 17:52:03 2013 From: daryl at synergetic-data.com (Daryl Williams) Date: Thu, 13 Jun 2013 14:52:03 -0700 Subject: a *fast* check for whether another machine is on the local network? In-Reply-To: <8D036920BF72013-2240-E132@webmail-m204.sysops.aol.com> References: <8D036920BF72013-2240-E132@webmail-m204.sysops.aol.com> Message-ID: <51BA3F03.8080405@synergetic-data.com> According to the the dictionary: openSockets: Returns a list of the currently open sockets. I believe they mean on the localhost, although it doesn't specifically say so. I think you will need to use the shell command to ping whatever address(es) you had in mind. On a class C, or 24 bit CIDR network there may be up to 254 addresses in use. If you wanted to check them all you would have to loop through the address range with something like the following: put "192.168.1" into myNetwork repeat with ipOctet = 1 to 254 put shell("ping -c1 " & myNetwork & ipOctet) into tResult if tResult is not empty then -- check result end if end repeat Please note the "-c 1" option passed to ping, this will cause ping to send only one packet. By default on unix platforms ping will continue until interrupted, on windows ping quits after 4 packets have been sent. Either way be aware that your script will block until the repeat sequence is done unless you do this as a message event. If on the other hand you have a set of known clients you provide a service to and you just want to see if they are around, you could send out a broadcast packet on the network (address 255) and have the clients available answer up when they get it. Hope this is of some help. Daryl On 6/13/13 2:13 PM, dunbarx at aol.com wrote: > Richard. > > > Would the "openSockets" function do what you need? Not as direct as what OS9 could do, but those days are over. And I am sure there must be an appleScript gadget that could query the network. > > > > Craig Newman > > > -----Original Message----- > From: Dr. Hawkins > To: How to use LiveCode > Sent: Thu, Jun 13, 2013 5:02 pm > Subject: a *fast* check for whether another machine is on the local network? > > > Is there a *fast* way to see if another machine is currently on the > local network, by name (somemachine.local) or otherwise, from within > livecode? > > There's always sending a message and waiting for it to hang, but I'd > like something that happens quickly. > From dsc at swcp.com Thu Jun 13 17:52:32 2013 From: dsc at swcp.com (Dar Scott) Date: Thu, 13 Jun 2013 15:52:32 -0600 Subject: a *fast* check for whether another machine is on the local network? In-Reply-To: References: Message-ID: <388241D8-5614-421F-AE77-C4E1DB6FEA2F@swcp.com> On Jun 13, 2013, at 3:02 PM, Dr. Hawkins wrote: > Is there a *fast* way to see if another machine is currently on the > local network, by name (somemachine.local) or otherwise, from within > livecode? > > There's always sending a message and waiting for it to hang, but I'd > like something that happens quickly. On OS X: You can use shell("arp -a") and look whether the IP address is included. The list associates the underlying Ethernet address with the IP address. It will expire after 20 minutes of non use. So, this really means this computer talked to that computer in the last 20 minutes. I think the best way has to involve a message. To keep it fast, use an IP address rather than the host name. Use a method with a fast timeout. You might be able to use shell(" ping -c 1 -t 1 10.9.8.7") but that would take a second if the computer is not there. If you have a service set up on that computer then you might be able to try that. On Windows: Similar Dar --------------------------- 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. dsc at swcp.com Computer programming and tinkering, usually in supporting those developing in LiveCode--typically by making LiveCode controls, libraries and externals, and sometimes by writing associated microcontroller firmware. --------------------------- From dochawk at gmail.com Thu Jun 13 17:54:07 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 13 Jun 2013 14:54:07 -0700 Subject: a *fast* check for whether another machine is on the local network? In-Reply-To: <8D036920BF72013-2240-E132@webmail-m204.sysops.aol.com> References: <8D036920BF72013-2240-E132@webmail-m204.sysops.aol.com> Message-ID: On Thu, Jun 13, 2013 at 2:13 PM, wrote: > Would the "openSockets" function do what you need? Not as direct as what >OS9 could do, but those days are over. And I am sure there must be an >appleScript gadget that could query the network. But that only handles connections already open, doesn't it? What I'm really looking at is a laptop that spends some of its time in the office, but also goes to court, where an attorney may want to make time entries. At that point, I'd like the laptop to simply figure out where it is without waiting for a timeout. The problem with applescript is that I'll be selling more windows than mac for the foreseeable future, and I'm tryng to limit the number of areas in which windows gets short-featured for its deficiencies . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dsc at swcp.com Thu Jun 13 18:11:28 2013 From: dsc at swcp.com (Dar Scott) Date: Thu, 13 Jun 2013 16:11:28 -0600 Subject: a *fast* check for whether another machine is on the local network? In-Reply-To: References: <8D036920BF72013-2240-E132@webmail-m204.sysops.aol.com> Message-ID: > What I'm really looking at is a laptop that spends some of its time in > the office, but also goes to court, where an attorney may want to make > time entries. > > At that point, I'd like the laptop to simply figure out where it is > without waiting for a timeout. Windows has this swoon-awful concept of recognizing networks by patterns in the network. Well, the notion is not awful, just Windows policy. You might be able to tap into that. If you know that the subnets are going to be different, you can find the IP address of the laptop and see which network it is on. If this looks like the right way for you, then ask. There are other things you can try depending on how specific or how general the situation is. If the computer is the dhcp server or something, there are ways. Dar From daryl at synergetic-data.com Thu Jun 13 18:11:52 2013 From: daryl at synergetic-data.com (Daryl Williams) Date: Thu, 13 Jun 2013 15:11:52 -0700 Subject: a *fast* check for whether another machine is on the local network? In-Reply-To: References: <8D036920BF72013-2240-E132@webmail-m204.sysops.aol.com> Message-ID: <51BA43A8.5040509@synergetic-data.com> It sounds like what you are really looking for is a local gateway to get to the Internet, and to where ever the time entries are made? It is a convention may administrators use to put gateways at either end of the local network, i.e. nnn.nnn.nnn.1 or nnn.nnn.nnn.255, but you would still need to know the network address prefix, and it would still not be 100% reliable if the gateway has actually been placed at a different address. There is also a router discovery protocol called "ICMP Router Discovery Messages" described in RFC 1256, available at: http://tools.ietf.org/html/rfc1256 that may be of help. There is another fairly good description of it available at: http://technet.microsoft.com/en-us/library/cc957901.aspx. Good Luck. Daryl On 6/13/13 2:54 PM, Dr. Hawkins wrote: > On Thu, Jun 13, 2013 at 2:13 PM, wrote: >> Would the "openSockets" function do what you need? Not as direct as what >> OS9 could do, but those days are over. And I am sure there must be an >> appleScript gadget that could query the network. > But that only handles connections already open, doesn't it? > > What I'm really looking at is a laptop that spends some of its time in > the office, but also goes to court, where an attorney may want to make > time entries. > > At that point, I'd like the laptop to simply figure out where it is > without waiting for a timeout. > > The problem with applescript is that I'll be selling more windows than > mac for the foreseeable future, and I'm tryng to limit the number of > areas in which windows gets short-featured for its deficiencies . . . > > > > From monte at sweattechnologies.com Thu Jun 13 18:29:07 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 14 Jun 2013 08:29:07 +1000 Subject: 6.1 In-Reply-To: References: <51B9213D.2010403@fourthworld.com> <435BCFC6-7A62-4787-AFC5-A278E6F4684B@swcp.com> <51B9FBC0.5060504@hyperactivesw.com> Message-ID: On 14/06/2013, at 6:40 AM, Monte Goulding wrote: > the properties property has been broken and unattended for many years... the whole point was to fix it not break it more! Here you go... https://github.com/montegoulding/livecode/commit/d3d8b294b9332f1e5e3f64f332247e29946d9c19 -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From gerry.orkin at gmail.com Thu Jun 13 18:33:47 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Thu, 13 Jun 2013 15:33:47 -0700 (PDT) Subject: Dropbox in livecode In-Reply-To: References: Message-ID: <1371162827196.84882d61@Nodemailer> Monte has a Dropbox iOS external.? ?Gerry On Fri, Jun 14, 2013 at 7:44 AM, Mark Wieder wrote: > Mike Kerner writes: >> I'm doing this right now, and going back and forth with iOS, as well. > 1. Are you doing this to a local dropbox folder, or to the web? > 2. To your own dropbox or to someone else's? > -- > Mark Wieder > mwieder at ahsoftware.net > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From familymoy at yahoo.co.uk Thu Jun 13 18:39:03 2013 From: familymoy at yahoo.co.uk (patricia moy) Date: Thu, 13 Jun 2013 23:39:03 +0100 (BST) Subject: greetings. Message-ID: <1371163143.25401.YahooMailNeo@web133203.mail.ir2.yahoo.com> http://meatandeggfree.com/gemwpk/wltgnmn/all/yolrrmh/cktmq.ranafa From mwieder at ahsoftware.net Thu Jun 13 18:48:00 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 13 Jun 2013 22:48:00 +0000 (UTC) Subject: a *fast* check for whether another machine is on the =?utf-8?b?bG9jYWwJbmV0d29yaz8=?= References: <8D036920BF72013-2240-E132@webmail-m204.sysops.aol.com> Message-ID: Dr. Hawkins writes: > > On Thu, Jun 13, 2013 at 2:13 PM, wrote: > > Would the "openSockets" function do what you need? Not as direct as what > >OS9 could do, but those days are over. And I am sure there must be an > >appleScript gadget that could query the network. > > But that only handles connections already open, doesn't it? > > What I'm really looking at is a laptop that spends some of its time in > the office, but also goes to court, where an attorney may want to make > time entries. > > At that point, I'd like the laptop to simply figure out where it is > without waiting for a timeout. I think the ping-once method is going to give you the best results. If you *know* that the laptop has an open socket then you migh try open socket to ipaddress:socket with message "ItsAlive" Barring that, I think the NSA can tell you exactly where a laptop is. -- Mark Wieder mwieder at ahsoftware.net From monte at sweattechnologies.com Thu Jun 13 19:04:03 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 14 Jun 2013 09:04:03 +1000 Subject: Dropbox in livecode In-Reply-To: <1371162827196.84882d61@Nodemailer> References: <1371162827196.84882d61@Nodemailer> Message-ID: <5CD2A88E-1FFE-4A4D-A796-F8442B5E23A6@sweattechnologies.com> On 14/06/2013, at 8:33 AM, "Gerry Orkin" wrote: > Monte has a Dropbox iOS external. Yes indeed... and when 6.1 is released I will release mergDropboxSync which makes the whole thing a walk in the park... -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From dochawk at gmail.com Thu Jun 13 19:19:53 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 13 Jun 2013 16:19:53 -0700 Subject: a *fast* check for whether another machine is on the local network? In-Reply-To: <51BA43A8.5040509@synergetic-data.com> References: <8D036920BF72013-2240-E132@webmail-m204.sysops.aol.com> <51BA43A8.5040509@synergetic-data.com> Message-ID: On Thu, Jun 13, 2013 at 3:11 PM, Daryl Williams wrote: > It sounds like what you are really looking for is a local gateway to get to > the Internet, and to where ever the time entries are made? No; actually the opposite. If I have a connection, presumably by vpn (this is for postgres), I want to use it. If there is no connection to the server, I want to put things into a local sqlite database, and use that to update the postgres base later. I'm looking for a quick way to achieve this, rather than something with a lengthy timeout -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From pete at lcsql.com Thu Jun 13 19:37:26 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 13 Jun 2013 16:37:26 -0700 Subject: 6.1 In-Reply-To: References: <51B9213D.2010403@fourthworld.com> <435BCFC6-7A62-4787-AFC5-A278E6F4684B@swcp.com> <51B9FBC0.5060504@hyperactivesw.com> Message-ID: Thanks Monte. That code also shows me the various synonyms for the color properties. I don't understand the code well enough to figure this out so I have to ask if this change will now return the unicode variants if they are not set? Remember, it's the names I'm interested in, not the values. Pete lcSQL Software On Thu, Jun 13, 2013 at 3:29 PM, Monte Goulding wrote: > > On 14/06/2013, at 6:40 AM, Monte Goulding > wrote: > > > the properties property has been broken and unattended for many years... > the whole point was to fix it not break it more! > > Here you go... > https://github.com/montegoulding/livecode/commit/d3d8b294b9332f1e5e3f64f332247e29946d9c19 > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From daryl at synergetic-data.com Thu Jun 13 19:53:42 2013 From: daryl at synergetic-data.com (Daryl Williams) Date: Thu, 13 Jun 2013 16:53:42 -0700 Subject: a *fast* check for whether another machine is on the local network? In-Reply-To: References: <8D036920BF72013-2240-E132@webmail-m204.sysops.aol.com> <51BA43A8.5040509@synergetic-data.com> Message-ID: <51BA5B86.9080504@synergetic-data.com> If I am understanding correctly you might try using either the netstat or route commands to find your default gateway, and if there is none then save things to the local database. The problem with this approach will be determining the right syntax to use for the current platform your code is running on. Unfortunately the syntax is a bit different from windows to os x to linux, but they will all report on the routing tables, including the default router, at which point you just need to parse the command output (again different from platform to platform) an take the appropriate action. The output can be rather detailed and verbose, but should not too hard to parse. Regards, Daryl On 6/13/13 4:19 PM, Dr. Hawkins wrote: > On Thu, Jun 13, 2013 at 3:11 PM, Daryl Williams > wrote: >> It sounds like what you are really looking for is a local gateway to get to >> the Internet, and to where ever the time entries are made? > > No; actually the opposite. > > If I have a connection, presumably by vpn (this is for postgres), I > want to use it. If there is no connection to the server, I want to > put things into a local sqlite database, and use that to update the > postgres base later. I'm looking for a quick way to achieve this, > rather than something with a lengthy timeout > From monte at sweattechnologies.com Thu Jun 13 20:08:44 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 14 Jun 2013 10:08:44 +1000 Subject: 6.1 In-Reply-To: References: <51B9213D.2010403@fourthworld.com> <435BCFC6-7A62-4787-AFC5-A278E6F4684B@swcp.com> <51B9FBC0.5060504@hyperactivesw.com> Message-ID: <1594A647-E3AA-408B-849B-18562BF0D7E3@sweattechnologies.com> On 14/06/2013, at 9:37 AM, Peter Haworth wrote: > Thanks Monte. That code also shows me the various synonyms for the color > properties. > > I don't understand the code well enough to figure this out so I have to ask > if this change will now return the unicode variants if they are not set? > Remember, it's the names I'm interested in, not the values. No it won't. The unicode variants are a special case were it's only possible to return one or the other as far as I can see... luckily it's only 3 (unicodeLabel/Title,unicodeToolTip,unicodeText of button) unicodeText of field is covered by the htmlText property. I wanted to only return the unicode variants for consistency but Mark felt that the ascii variants should be returned if possible... The issue is it's not an either/or thing with the unicode variants... both would have a value if one does... -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From dsc at swcp.com Thu Jun 13 20:07:55 2013 From: dsc at swcp.com (Dar Scott) Date: Thu, 13 Jun 2013 18:07:55 -0600 Subject: a *fast* check for whether another machine is on the local network? In-Reply-To: References: <8D036920BF72013-2240-E132@webmail-m204.sysops.aol.com> <51BA43A8.5040509@synergetic-data.com> Message-ID: <9BBEA0F5-D7CC-4042-8777-27E3CC300EBF@swcp.com> Would a timeout you control be satisfactory? I was picturing LAN rather than VPN, so I was imagining a 50 ms timeout, but maybe you will need a second. The timeout spec for Windows ping has ms resolution. The timeout for OS X ping has a second resolution. You can try the arp test first. You can try opening a socket to a known service. Or, if the computer is not stealth, even to a port that has no service listening on it. There are a few gotchas, but that can work. You have to do your own timeout. Dar On Jun 13, 2013, at 5:19 PM, Dr. Hawkins wrote: > On Thu, Jun 13, 2013 at 3:11 PM, Daryl Williams > wrote: >> It sounds like what you are really looking for is a local gateway to get to >> the Internet, and to where ever the time entries are made? > > > No; actually the opposite. > > If I have a connection, presumably by vpn (this is for postgres), I > want to use it. If there is no connection to the server, I want to > put things into a local sqlite database, and use that to update the > postgres base later. I'm looking for a quick way to achieve this, > rather than something with a lengthy timeout > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Thu Jun 13 21:10:14 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 13 Jun 2013 18:10:14 -0700 Subject: 6.1 In-Reply-To: <1594A647-E3AA-408B-849B-18562BF0D7E3@sweattechnologies.com> References: <51B9213D.2010403@fourthworld.com> <435BCFC6-7A62-4787-AFC5-A278E6F4684B@swcp.com> <51B9FBC0.5060504@hyperactivesw.com> <1594A647-E3AA-408B-849B-18562BF0D7E3@sweattechnologies.com> Message-ID: OK, I can live with adding those to my list of properties manually for now. Hopefully, the movement to improve "the propertynames" will gather steam so it won;t be necessary to use the properties t get a list of property names for an object. Pete lcSQL Software On Thu, Jun 13, 2013 at 5:08 PM, Monte Goulding wrote: > > On 14/06/2013, at 9:37 AM, Peter Haworth wrote: > > > Thanks Monte. That code also shows me the various synonyms for the color > > properties. > > > > I don't understand the code well enough to figure this out so I have to > ask > > if this change will now return the unicode variants if they are not set? > > Remember, it's the names I'm interested in, not the values. > > No it won't. The unicode variants are a special case were it's only > possible to return one or the other as far as I can see... luckily it's > only 3 (unicodeLabel/Title,unicodeToolTip,unicodeText of button) > unicodeText of field is covered by the htmlText property. I wanted to only > return the unicode variants for consistency but Mark felt that the ascii > variants should be returned if possible... The issue is it's not an > either/or thing with the unicode variants... both would have a value if one > does... > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Thu Jun 13 21:28:52 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 13 Jun 2013 18:28:52 -0700 Subject: 6.1 In-Reply-To: References: <51B9213D.2010403@fourthworld.com> <435BCFC6-7A62-4787-AFC5-A278E6F4684B@swcp.com> <51B9FBC0.5060504@hyperactivesw.com> Message-ID: <190207725711.20130613182852@ahsoftware.net> Pete- Thursday, June 13, 2013, 1:06:13 PM, you wrote: > There's been discussion recently on what the purpose of the developers list > is. I think discussion of contributed engine and IDE changes is a perfect > use for it. I disagree because not everybody's on that list. I don't know what the future of that list is other than Yet Another Place To Hang Out (YAPTHO). > Forums are fine but they require an active effort to go look at them > whereas the email lists just turn up. I think that's been discussed at > length in the past too. Yep. I'm no fan of the web forum thing, but that's where the engine and IDE contributions discussions are taking place. -- -Mark Wieder mwieder at ahsoftware.net From monte at sweattechnologies.com Thu Jun 13 22:06:59 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 14 Jun 2013 12:06:59 +1000 Subject: 6.1 In-Reply-To: References: <51B9213D.2010403@fourthworld.com> <435BCFC6-7A62-4787-AFC5-A278E6F4684B@swcp.com> <51B9FBC0.5060504@hyperactivesw.com> <1594A647-E3AA-408B-849B-18562BF0D7E3@sweattechnologies.com> Message-ID: <3D52C91D-9E2F-4A8B-AAE8-82FFA9A4B24A@sweattechnologies.com> The thing about the propertyNames of object type property is that basically it would just be maintaining a list in the engine rather than in the docs or IDE or something.. There's no real way to inspect an object type to see what properties it has... Other than one idea I have of parsing over the lextable and testing the object for each property to see if there's an error when you try and get the property... But that's kind of brute force and would return all the synonyms too... I guess you could filter out the synonyms somehow... Still some architectural change may make this easy so it's better to start a topic on the engine forum. -- M E R Goulding Software development services mergExt - There's an external for that! On 14/06/2013, at 11:10 AM, Peter Haworth wrote: > Hopefully, the movement to improve "the propertynames" will gather steam > so it won;t be necessary to use the properties t get a list of property > names for an object. From rdimola at evergreeninfo.net Thu Jun 13 22:34:34 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 13 Jun 2013 22:34:34 -0400 Subject: Dropbox in livecode In-Reply-To: <5CD2A88E-1FFE-4A4D-A796-F8442B5E23A6@sweattechnologies.com> References: <1371162827196.84882d61@Nodemailer> <5CD2A88E-1FFE-4A4D-A796-F8442B5E23A6@sweattechnologies.com> Message-ID: <005b01ce68a7$b522ffc0$1f68ff40$@net> Monte, What's the current scuttlebutt on Android Externals? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Monte Goulding Sent: Thursday, June 13, 2013 7:04 PM To: How to use LiveCode Subject: Re: Dropbox in livecode On 14/06/2013, at 8:33 AM, "Gerry Orkin" wrote: > Monte has a Dropbox iOS external. Yes indeed... and when 6.1 is released I will release mergDropboxSync which makes the whole thing a walk in the park... -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Thu Jun 13 23:07:19 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 14 Jun 2013 13:07:19 +1000 Subject: Dropbox in livecode In-Reply-To: <005b01ce68a7$b522ffc0$1f68ff40$@net> References: <1371162827196.84882d61@Nodemailer> <5CD2A88E-1FFE-4A4D-A796-F8442B5E23A6@sweattechnologies.com> <005b01ce68a7$b522ffc0$1f68ff40$@net> Message-ID: <005B1F5E-8FA5-424C-A86F-78AA63C0F27A@sweattechnologies.com> On 14/06/2013, at 12:34 PM, Ralph DiMola wrote: > What's the current scuttlebutt on Android Externals? Well... at the moment I'm working out how to do old style externals for android... I've got it working for iOS with mergJSON and it looks like I can do the same for android once I work out the nitty gritty... It's how RunRev do their externals but I need to massage it all into something less specific to their repo... Then we will have cross platform C/C++ externals.... Beyond that is what we really want in a Java interface and at the moment because I haven't really done any JNI before I'm just following along with great interest what RunRevMark and Jan are doing/discussing while making some contributions to the way the interface definition files are compiled... The other thing I've been doing is playing with OS X externals using the new externals sdk which after a bugfix to the engine from RunRevMark is working pretty nicely so mergAV, mergAWS and possibly some others (maybe the forthcoming mergSocket... ) will be available on OS X soonish... The nice thing about that is you can test in the IDE... Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From th.douez at gmail.com Fri Jun 14 02:10:12 2013 From: th.douez at gmail.com (Thierry Douez) Date: Fri, 14 Jun 2013 08:10:12 +0200 Subject: Dropbox in livecode In-Reply-To: <005B1F5E-8FA5-424C-A86F-78AA63C0F27A@sweattechnologies.com> References: <1371162827196.84882d61@Nodemailer> <5CD2A88E-1FFE-4A4D-A796-F8442B5E23A6@sweattechnologies.com> <005b01ce68a7$b522ffc0$1f68ff40$@net> <005B1F5E-8FA5-424C-A86F-78AA63C0F27A@sweattechnologies.com> Message-ID: ?Hi Monte,? 2013/6/14 Monte Goulding > > > The other thing I've been doing is playing with OS X externals using the > new externals sdk which after a bugfix to the engine from RunRevMark is > working pretty nicely so mergAV, mergAWS and possibly some others (maybe > the forthcoming mergSocket... ) will be available on OS X soonish... The > nice thing about that is you can test in the IDE... > > ?Umm, is that too much asking where we can find this new sdk ? Thanks, Thierry ? From monte at sweattechnologies.com Fri Jun 14 03:05:11 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 14 Jun 2013 17:05:11 +1000 Subject: Dropbox in livecode In-Reply-To: References: <1371162827196.84882d61@Nodemailer> <5CD2A88E-1FFE-4A4D-A796-F8442B5E23A6@sweattechnologies.com> <005b01ce68a7$b522ffc0$1f68ff40$@net> <005B1F5E-8FA5-424C-A86F-78AA63C0F27A@sweattechnologies.com> Message-ID: <26EB9B03-8CCE-49C7-9948-C72DA0623D8A@sweattechnologies.com> On 14/06/2013, at 4:10 PM, Thierry Douez wrote: > ?Umm, is that too much asking where we can find this new sdk ? It's in the github repo for livecode... a folder named lcidl To get it working on OS X you need to create an iOS external project then add a bundle target. However to get a version of livecode that doesn't hang when you use LCObjectPost or a tailed handler then you need to cherrypick this commit from runrevmark: https://github.com/runrevmark/livecode/commit/f363f333ee05b8429019b7564719e399268cd830 Hopefully that will be merged into LC 6.1 ;-) Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From monte at sweattechnologies.com Fri Jun 14 03:10:02 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 14 Jun 2013 17:10:02 +1000 Subject: Dropbox in livecode In-Reply-To: <26EB9B03-8CCE-49C7-9948-C72DA0623D8A@sweattechnologies.com> References: <1371162827196.84882d61@Nodemailer> <5CD2A88E-1FFE-4A4D-A796-F8442B5E23A6@sweattechnologies.com> <005b01ce68a7$b522ffc0$1f68ff40$@net> <005B1F5E-8FA5-424C-A86F-78AA63C0F27A@sweattechnologies.com> <26EB9B03-8CCE-49C7-9948-C72DA0623D8A@sweattechnologies.com> Message-ID: On 14/06/2013, at 5:05 PM, Monte Goulding wrote: > It's in the github repo for livecode... a folder named lcidl Actually... scratch that... it's on the runrev site as the iOS Externals SDK... but you still need to cherrypick the commit if you want to LCObjectPost... -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From toolbook at kestner.de Fri Jun 14 06:34:41 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 14 Jun 2013 12:34:41 +0200 Subject: AW: AW: Where to write application data In-Reply-To: <000b01ce65ae$8b7e2ce0$a27a86a0$@de> References: <315D23B1-91BD-4001-8751-6B5AD9CC63C2@semperuna.com> <004601ce637b$cc8c3130$65a49390$@de> <51B21620.8090307@hyperactivesw.com> <000a01ce65a6$8c018750$a40495f0$@de> <000b01ce65ae$8b7e2ce0$a27a86a0$@de> Message-ID: <005d01ce68ea$c7e62db0$57b28910$@de> Just FYI: With the kind advice of Runrev I finally found my wanted location. I will store my application files for all users in: specialFolderPath ("sdat") what is: "/Users/Shared/" & "MyCompany/MyAppBundleID/MyFiles" I still have to set the read/write permission for all users to my folders and files in that directory, but a chmod 666 via shell should do that. Thanks Tiemo P.S. If you can set file and folder permissions via LC nowadays a hint would be nice. > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Tiemo Hollmann TB > Gesendet: Montag, 10. Juni 2013 09:46 > An: 'How to use LiveCode' > Betreff: AW: AW: Where to write application data > > Noop, I just realized that the path in the original post was read > specialFolderPath ("Home") & "..." > So this is again a user based path. What I need is a application based path > like specialFolderPath ("asup") & "...", But trying to create a subfolder > in "asup" I get "can't create that directory" though I am logged in as an > admin. What do you need to create subfolders in "asup"? > Tiemo > > > > -----Urspr?ngliche Nachricht----- > > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag > > von Tiemo Hollmann TB > > Gesendet: Montag, 10. Juni 2013 08:49 > > An: 'How to use LiveCode' > > Betreff: AW: AW: Where to write application data > > > > Thank you Jacqueline for your clear advice! > > Tiemo > > > > > > > -----Urspr?ngliche Nachricht----- > > > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > > Auftrag > > > von J. Landman Gay > > > Gesendet: Freitag, 7. Juni 2013 19:19 > > > An: How to use LiveCode > > > Betreff: Re: AW: Where to write application data > > > > > > On 6/7/13 7:37 AM, Tiemo Hollmann TB wrote: > > > > Would "/Library/Application > > > > Support/MyCompany/MyAppBundleID/" also be the best place for 8GB > > > > of video data, though it aren't "prefence files" or where would > > > > you store this kind of data? > > > > > > Yes, that's where Apple wants you to store that kind of file. > > > Anything the app uses should go there. > > > > > > -- > > > Jacqueline Landman Gay | jacque at hyperactivesw.com > > > HyperActive Software | http://www.hyperactivesw.com > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Fri Jun 14 08:30:05 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 14 Jun 2013 08:30:05 -0400 Subject: Dropbox in livecode In-Reply-To: References: <1371162827196.84882d61@Nodemailer> <5CD2A88E-1FFE-4A4D-A796-F8442B5E23A6@sweattechnologies.com> <005b01ce68a7$b522ffc0$1f68ff40$@net> <005B1F5E-8FA5-424C-A86F-78AA63C0F27A@sweattechnologies.com> <26EB9B03-8CCE-49C7-9948-C72DA0623D8A@sweattechnologies.com> Message-ID: Mark: 1) I'm doing it to the web. You could certainly go to your local folder, but that would be difficult on iOS, and I have the desktop app running on a user's machine, so I don't want them having unfettered access to the folder. 2) I have a bunch of users using it with multiple folders that I control on ios and desktop. 3) I'm using guglielmo's library, BUT, he has an issue in the 1.02 version. i don't know if he's fixed it or not, but I fixed it in mine and sent him the changes sometime between a couple of weeks and a month ago. 4) I'm using the library on both ios and desktop. There some issue or another with mergdropbox when I was implementing this, and I got it working with guglielmo's library on ios, so I'm just using that for now. On Fri, Jun 14, 2013 at 3:10 AM, Monte Goulding wrote: > > On 14/06/2013, at 5:05 PM, Monte Goulding wrote: > > > It's in the github repo for livecode... a folder named lcidl > > Actually... scratch that... it's on the runrev site as the iOS Externals > SDK... but you still need to cherrypick the commit if you want to > LCObjectPost... > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at 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." From guglielmo at braguglia.ch Fri Jun 14 09:04:20 2013 From: guglielmo at braguglia.ch (Guglielmo Braguglia) Date: Fri, 14 Jun 2013 15:04:20 +0200 Subject: Dropbox in livecode In-Reply-To: References: <1371162827196.84882d61@Nodemailer> <5CD2A88E-1FFE-4A4D-A796-F8442B5E23A6@sweattechnologies.com> <005b01ce68a7$b522ffc0$1f68ff40$@net> <005B1F5E-8FA5-424C-A86F-78AA63C0F27A@sweattechnologies.com> <26EB9B03-8CCE-49C7-9948-C72DA0623D8A@sweattechnologies.com> Message-ID: <51BB14D4.2070901@braguglia.ch> Hi Mike, sorry for the long silence ... I was out of office for quite long time ... :-) I updated the library with your corrections and with few other corrections ... you can still download from the same link (http://www.phoenixsea.ch/downloads/Livecode/phxDropboxLib.zip - /version 1.03/). Please, before replacing your library, verify that the corrections that I made are ok ... ;-) Cordially, Guglielmo On 6/14/13 14:30 PM, Mike Kerner wrote: > Mark: > > 1) I'm doing it to the web. You could certainly go to your local folder, > but that would be difficult on iOS, and I have the desktop app running on a > user's machine, so I don't want them having unfettered access to the folder. > 2) I have a bunch of users using it with multiple folders that I control on > ios and desktop. > 3) I'm using guglielmo's library, BUT, he has an issue in the 1.02 > version. i don't know if he's fixed it or not, but I fixed it in mine and > sent him the changes sometime between a couple of weeks and a month ago. > 4) I'm using the library on both ios and desktop. There some issue or > another with mergdropbox when I was implementing this, and I got it working > with guglielmo's library on ios, so I'm just using that for now. > > > On Fri, Jun 14, 2013 at 3:10 AM, Monte Goulding > wrote: >> On 14/06/2013, at 5:05 PM, Monte Goulding wrote: >> >>> It's in the github repo for livecode... a folder named lcidl >> Actually... scratch that... it's on the runrev site as the iOS Externals >> SDK... but you still need to cherrypick the commit if you want to >> LCObjectPost... >> >> -- >> M E R Goulding >> Software development services >> Bespoke application development for vertical markets >> >> mergExt - There's an external for that! >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From mcgrath3 at mac.com Fri Jun 14 09:19:44 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 14 Jun 2013 09:19:44 -0400 Subject: imageData and resizing Message-ID: I'm trying to find a solution to images getting messed up after doubling their size for retina and then trying to set the imageData after they have been resized. The images get messed up with either horizontal lines or color shifts. This works for one image but not for a group of images. As soon as I try to set the imageData of a group of images about half way through the images start to screw up. set the resizeQuality of image x of group "images" to "best" set the lockLoc of image x of group "images" to true set the width of image x of group "images" to (the width of image x of group "images" * 2) set the height of image x of group "images" to (the height of image x of group "images" * 2) set the imageData of image x to tempimage Any ideas or workarounds??? Thanks -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com From dixonja at hotmail.co.uk Fri Jun 14 09:50:23 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Fri, 14 Jun 2013 14:50:23 +0100 Subject: Dare I ask ... Is 'Odin' down again ? Message-ID: Anyone confirm that ODIN is down again ? From dochawk at gmail.com Fri Jun 14 10:03:12 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 14 Jun 2013 07:03:12 -0700 Subject: a *fast* check for whether another machine is on the local network? In-Reply-To: <51BA5B86.9080504@synergetic-data.com> References: <8D036920BF72013-2240-E132@webmail-m204.sysops.aol.com> <51BA43A8.5040509@synergetic-data.com> <51BA5B86.9080504@synergetic-data.com> Message-ID: On Thu, Jun 13, 2013 at 4:53 PM, Daryl Williams wrote: > If I am understanding correctly you might try using either the netstat or > route commands to find your default gateway, and if there is none then save > things to the local database. doesn't give me the timeout issues again--if the laptop is opened in the new location, won't the old router still be on the list, and need to be checked? > The problem with this approach will be determining the right syntax to use > for the current platform your code is running on. Unfortunately the syntax > is a bit different from windows to os x to linux, but they will all report > on the routing tables, including the default router, at which point you just > need to parse the command output (again different from platform to platform) > an take the appropriate action. The output can be rather detailed and > verbose, but should not too hard to parse. This isn't too big of a problem--I already have OS based switches lying around the code. I guess I'll have to buy a windows machine for the first time in my life to do some testing of that code on, though . . . After going through all of these, it sounds like the controlled timeout is the way to go--when this stack comes to the front, it does a check. If it thinks it's not on the VPN already, it just continues to use the local cache db--unless it sees "something"? new telling it that the VPN is back, in which case it tries. If it thinks it should be on VPN, it pings for good measure with the 1s/50ms timeout. Hmm, this can be delayed until the first db write, too. So the only time the user gets hit for the whole second is when he actually changes from VPN to no VPN (blocked, no internet, whatever). Thank you to all. I now know more things I never expected to learn :) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From bonnmike at gmail.com Fri Jun 14 10:24:05 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 14 Jun 2013 08:24:05 -0600 Subject: Dare I ask ... Is 'Odin' down again ? In-Reply-To: References: Message-ID: It appears so. *sigh* On Fri, Jun 14, 2013 at 7:50 AM, John Dixon wrote: > Anyone confirm that ODIN is down again ? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From paulhibbert at mac.com Fri Jun 14 10:46:54 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Fri, 14 Jun 2013 07:46:54 -0700 Subject: imageData and resizing In-Reply-To: References: Message-ID: <3A266FBC-51D0-4BA4-BF97-5CCCD536D76A@mac.com> Thomas, In your script we can't see where "tempimage" comes from or what it contains, so to get this to work I had to change the last line to? set the imageData of image x to the imageData of image x Then it appears to work OK, for me at least. Paul On 2013-06-14, at 6:19 AM, Thomas McGrath III wrote: > I'm trying to find a solution to images getting messed up after doubling their size for retina and then trying to set the imageData after they have been resized. The images get messed up with either horizontal lines or color shifts. > > This works for one image but not for a group of images. As soon as I try to set the imageData of a group of images about half way through the images start to screw up. > > set the resizeQuality of image x of group "images" to "best" > set the lockLoc of image x of group "images" to true > set the width of image x of group "images" to (the width of image x of group "images" * 2) > set the height of image x of group "images" to (the height of image x of group "images" * 2) > set the imageData of image x to tempimage > > Any ideas or workarounds??? > > Thanks > > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Fri Jun 14 12:31:10 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 14 Jun 2013 09:31:10 -0700 Subject: 6.1 In-Reply-To: <190207725711.20130613182852@ahsoftware.net> References: <51B9213D.2010403@fourthworld.com> <435BCFC6-7A62-4787-AFC5-A278E6F4684B@swcp.com> <51B9FBC0.5060504@hyperactivesw.com> <190207725711.20130613182852@ahsoftware.net> Message-ID: As far as I can tell, everyone who has posted on the forums is on the developers list. In fact, discussing engine/IDE changes on the developer list would certainly get them more visibility than using the forums at the moment; I haven't counted but I doubt there are more than 10 people who have made any posts on the forums. Monte's point about Mark not checking the dev list is a valid point though, his insights are obviously crucial. Pete lcSQL Software On Thu, Jun 13, 2013 at 6:28 PM, Mark Wieder wrote: > Pete- > > Thursday, June 13, 2013, 1:06:13 PM, you wrote: > > > There's been discussion recently on what the purpose of the developers > list > > is. I think discussion of contributed engine and IDE changes is a perfect > > use for it. > > I disagree because not everybody's on that list. I don't know what the > future of that list is other than Yet Another Place To Hang Out > (YAPTHO). > > > Forums are fine but they require an active effort to go look at them > > whereas the email lists just turn up. I think that's been discussed at > > length in the past too. > > Yep. > I'm no fan of the web forum thing, but that's where the engine and IDE > contributions discussions are taking place. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Fri Jun 14 12:42:19 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 14 Jun 2013 09:42:19 -0700 Subject: 6.1 In-Reply-To: <3D52C91D-9E2F-4A8B-AAE8-82FFA9A4B24A@sweattechnologies.com> References: <51B9213D.2010403@fourthworld.com> <435BCFC6-7A62-4787-AFC5-A278E6F4684B@swcp.com> <51B9FBC0.5060504@hyperactivesw.com> <1594A647-E3AA-408B-849B-18562BF0D7E3@sweattechnologies.com> <3D52C91D-9E2F-4A8B-AAE8-82FFA9A4B24A@sweattechnologies.com> Message-ID: Monte, I was just looking at bug # 8884 regarding missing properties and you had a post on there with a huge list of constant declarations for each property of each object. Couldn't that be used as the basis for the propertynames of objecttype? I would also like to suggest that we should think twice about excluding synonyms or any other category of property. Excluding them means there's a brick wall between them and anyone who would like to get them. I'm not saying they should always be returned, just that there should be some sort of syntax that would allow for them to be returned if needed. Pete lcSQL Software On Thu, Jun 13, 2013 at 7:06 PM, Monte Goulding wrote: > The thing about the propertyNames of object type property is that > basically it would just be maintaining a list in the engine rather than in > the docs or IDE or something.. There's no real way to inspect an object > type to see what properties it has... Other than one idea I have of parsing > over the lextable and testing the object for each property to see if > there's an error when you try and get the property... But that's kind of > brute force and would return all the synonyms too... I guess you could > filter out the synonyms somehow... Still some architectural change may make > this easy so it's better to start a topic on the engine forum. > > -- > M E R Goulding > Software development services > > mergExt - There's an external for that! > > On 14/06/2013, at 11:10 AM, Peter Haworth wrote: > > > Hopefully, the movement to improve "the propertynames" will gather steam > > so it won;t be necessary to use the properties t get a list of property > > names for an object. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From daryl at synergetic-data.com Fri Jun 14 12:58:06 2013 From: daryl at synergetic-data.com (Daryl Williams) Date: Fri, 14 Jun 2013 09:58:06 -0700 Subject: a *fast* check for whether another machine is on the local network? In-Reply-To: References: <8D036920BF72013-2240-E132@webmail-m204.sysops.aol.com> <51BA43A8.5040509@synergetic-data.com> <51BA5B86.9080504@synergetic-data.com> Message-ID: <51BB4B9E.4070804@synergetic-data.com> I tested this on my mac laptop with both a wired and wireless interface, running mountain lion, using the following command: $ route get default the result was: 1. with both interfaces up the route command picked the wired interface and reported the gateway was up. 2. unplugged the wired interface and the route command picked the wireless interface and reported the gateway was up. 3. turned off the wireless interface, and left the wired interface unplugged and the route command reported the error: route: writing to routing socket: not in table. 4. turned on the wireless interface, left the wired interface unplugged and turned off the wireless gateway. The route command immediately reported the same error: route: writing to routing socket: not in table. 5. turned the wireless gateway back on and the route command immediately reported the default gateway was up. So it seems like this approach might be viable. However, you will still need that controlled timeout and once you get the ip address of the current gateway the ping will probably be the easiest cross platform command to use to determine the current gateway status. As far the windows box, you might want to try either vmware or virtual box, both offer very good machine virtualization. Regards, Daryl On 6/14/13 7:03 AM, Dr. Hawkins wrote: > On Thu, Jun 13, 2013 at 4:53 PM, Daryl Williams > wrote: >> If I am understanding correctly you might try using either the netstat or >> route commands to find your default gateway, and if there is none then save >> things to the local database. > doesn't give me the timeout issues again--if the laptop is opened in > the new location, won't the old router still be on the list, and need > to be checked? > > >> The problem with this approach will be determining the right syntax to use >> for the current platform your code is running on. Unfortunately the syntax >> is a bit different from windows to os x to linux, but they will all report >> on the routing tables, including the default router, at which point you just >> need to parse the command output (again different from platform to platform) >> an take the appropriate action. The output can be rather detailed and >> verbose, but should not too hard to parse. > This isn't too big of a problem--I already have OS based switches > lying around the code. I guess I'll have to buy a windows machine for > the first time in my life to do some testing of that code on, though . > . . > > After going through all of these, it sounds like the controlled > timeout is the way to go--when this stack comes to the front, it does > a check. If it thinks it's not on the VPN already, it just continues > to use the local cache db--unless it sees "something"? new telling it > that the VPN is back, in which case it tries. If it thinks it should > be on VPN, it pings for good measure with the 1s/50ms timeout. Hmm, > this can be delayed until the first db write, too. So the only time > the user gets hit for the whole second is when he actually changes > from VPN to no VPN (blocked, no internet, whatever). > > Thank you to all. I now know more things I never expected to learn :) > > From mwieder at ahsoftware.net Fri Jun 14 13:44:52 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 14 Jun 2013 17:44:52 +0000 (UTC) Subject: Dare I ask ... Is 'Odin' down again ? References: Message-ID: Mike Bonner writes: > It appears so. *sigh* This is starting to get annoying. Maybe runrev should outsource hosting to folks who know what they're doing. Or at least learn what the words "redundancy" and "failover" mean. There is absolutely no reason to recommend on-rev hosting to anyone, and several good reasons not to. -- Mark wieder mwieder at ahsoftware.net From mkoob at rogers.com Fri Jun 14 14:02:53 2013 From: mkoob at rogers.com (Martin Koob) Date: Fri, 14 Jun 2013 11:02:53 -0700 (PDT) Subject: Dare I ask ... Is 'Odin' down again ? In-Reply-To: References: Message-ID: <1371232973610-4666481.post@n4.nabble.com> My sites on Odin seems to be working properly. Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Dare-I-ask-Is-Odin-down-again-tp4666473p4666481.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Fri Jun 14 14:07:30 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 14 Jun 2013 13:07:30 -0500 Subject: AW: AW: Where to write application data In-Reply-To: <005d01ce68ea$c7e62db0$57b28910$@de> References: <315D23B1-91BD-4001-8751-6B5AD9CC63C2@semperuna.com> <004601ce637b$cc8c3130$65a49390$@de> <51B21620.8090307@hyperactivesw.com> <000a01ce65a6$8c018750$a40495f0$@de> <000b01ce65ae$8b7e2ce0$a27a86a0$@de> <005d01ce68ea$c7e62db0$57b28910$@de> Message-ID: <51BB5BE2.7020403@hyperactivesw.com> On 6/14/13 5:34 AM, Tiemo Hollmann TB wrote: > Just FYI: With the kind advice of Runrev I finally found my wanted location. > I will store my application files for all users in: specialFolderPath > ("sdat") what is: "/Users/Shared/" & "MyCompany/MyAppBundleID/MyFiles" > I still have to set the read/write permission for all users to my folders > and files in that directory, but a chmod 666 via shell should do that. > Thanks > Tiemo > > P.S. If you can set file and folder permissions via LC nowadays a hint would > be nice. I don't think you can. But thanks for finding this out, I never noticed that folder before. I see there's a Library folder containing an Application Support folder and a Preferences folder in there too, and that some apps store their company folders in those. It looks like you can do it either way, I see both. I have: /Users/Shared/MyCompany/file and also: /Users/Shared/Application Support/MyCompany/file /Users/Shared/Preferences/MyCompany/file -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bonnmike at gmail.com Fri Jun 14 14:07:38 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 14 Jun 2013 12:07:38 -0600 Subject: 6.1 In-Reply-To: References: <51B9213D.2010403@fourthworld.com> <435BCFC6-7A62-4787-AFC5-A278E6F4684B@swcp.com> <51B9FBC0.5060504@hyperactivesw.com> <190207725711.20130613182852@ahsoftware.net> Message-ID: I read the posts on the forum, and don't have access to the dev list so even though i'm not able to contribute it lets me see some of whats going on to tweak and improve lc. I wouldn't mind the discussions being held on a "list" but if that happens my preference would be a new list so that I can actually read the stuff. Forums do tend to be unwieldy especially as they get busier (and that is DEFINITELY happening with the lc forums) So I don't know what the best option would be other than.. "I still want to be able to read whats happening no matter where the developments occur" On Fri, Jun 14, 2013 at 10:31 AM, Peter Haworth wrote: > As far as I can tell, everyone who has posted on the forums is on the > developers list. In fact, discussing engine/IDE changes on the developer > list would certainly get them more visibility than using the forums at the > moment; I haven't counted but I doubt there are more than 10 people who > have made any posts on the forums. > > Monte's point about Mark not checking the dev list is a valid point though, > his insights are obviously crucial. > > Pete > lcSQL Software > > > On Thu, Jun 13, 2013 at 6:28 PM, Mark Wieder > wrote: > > > Pete- > > > > Thursday, June 13, 2013, 1:06:13 PM, you wrote: > > > > > There's been discussion recently on what the purpose of the developers > > list > > > is. I think discussion of contributed engine and IDE changes is a > perfect > > > use for it. > > > > I disagree because not everybody's on that list. I don't know what the > > future of that list is other than Yet Another Place To Hang Out > > (YAPTHO). > > > > > Forums are fine but they require an active effort to go look at them > > > whereas the email lists just turn up. I think that's been discussed at > > > length in the past too. > > > > Yep. > > I'm no fan of the web forum thing, but that's where the engine and IDE > > contributions discussions are taking place. > > > > -- > > -Mark Wieder > > mwieder at ahsoftware.net > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Fri Jun 14 14:10:57 2013 From: dsc at swcp.com (Dar Scott) Date: Fri, 14 Jun 2013 12:10:57 -0600 Subject: a *fast* check for whether another machine is on the local network? In-Reply-To: References: <8D036920BF72013-2240-E132@webmail-m204.sysops.aol.com> <51BA43A8.5040509@synergetic-data.com> <51BA5B86.9080504@synergetic-data.com> Message-ID: Just wondering. A thought. Why not try to open the db? Perhaps in the background. If you have an image indicating the db selected, it can have some sort of busy look before one is selected. Or simply use the local db if the remote db is not available at the time of a save. If that works, use it. If it fails, go to the fallback. You can even keeping trying to open the db. By the time the first save is needed, perhaps the decision as to what db to use is already done. Dar On Jun 14, 2013, at 8:03 AM, Dr. Hawkins wrote: > On Thu, Jun 13, 2013 at 4:53 PM, Daryl Williams > wrote: >> If I am understanding correctly you might try using either the netstat or >> route commands to find your default gateway, and if there is none then save >> things to the local database. > > doesn't give me the timeout issues again--if the laptop is opened in > the new location, won't the old router still be on the list, and need > to be checked? > > >> The problem with this approach will be determining the right syntax to use >> for the current platform your code is running on. Unfortunately the syntax >> is a bit different from windows to os x to linux, but they will all report >> on the routing tables, including the default router, at which point you just >> need to parse the command output (again different from platform to platform) >> an take the appropriate action. The output can be rather detailed and >> verbose, but should not too hard to parse. > > This isn't too big of a problem--I already have OS based switches > lying around the code. I guess I'll have to buy a windows machine for > the first time in my life to do some testing of that code on, though . > . . > > After going through all of these, it sounds like the controlled > timeout is the way to go--when this stack comes to the front, it does > a check. If it thinks it's not on the VPN already, it just continues > to use the local cache db--unless it sees "something"? new telling it > that the VPN is back, in which case it tries. If it thinks it should > be on VPN, it pings for good measure with the 1s/50ms timeout. Hmm, > this can be delayed until the first db write, too. So the only time > the user gets hit for the whole second is when he actually changes > from VPN to no VPN (blocked, no internet, whatever). > > Thank you to all. I now know more things I never expected to learn :) > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Fri Jun 14 14:16:18 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 14 Jun 2013 12:16:18 -0600 Subject: a *fast* check for whether another machine is on the local network? In-Reply-To: References: <8D036920BF72013-2240-E132@webmail-m204.sysops.aol.com> <51BA43A8.5040509@synergetic-data.com> <51BA5B86.9080504@synergetic-data.com> Message-ID: if you add the -v switch to what dar suggested (route -v get default) it returns the mac address for the default gateway which you could store as a location. If mac address is ... On Fri, Jun 14, 2013 at 12:10 PM, Dar Scott wrote: > Just wondering. A thought. > > Why not try to open the db? Perhaps in the background. If you have an > image indicating the db selected, it can have some sort of busy look before > one is selected. Or simply use the local db if the remote db is not > available at the time of a save. > > If that works, use it. If it fails, go to the fallback. You can even > keeping trying to open the db. > > By the time the first save is needed, perhaps the decision as to what db > to use is already done. > > Dar > > > On Jun 14, 2013, at 8:03 AM, Dr. Hawkins wrote: > > > On Thu, Jun 13, 2013 at 4:53 PM, Daryl Williams > > wrote: > >> If I am understanding correctly you might try using either the netstat > or > >> route commands to find your default gateway, and if there is none then > save > >> things to the local database. > > > > doesn't give me the timeout issues again--if the laptop is opened in > > the new location, won't the old router still be on the list, and need > > to be checked? > > > > > >> The problem with this approach will be determining the right syntax to > use > >> for the current platform your code is running on. Unfortunately the > syntax > >> is a bit different from windows to os x to linux, but they will all > report > >> on the routing tables, including the default router, at which point you > just > >> need to parse the command output (again different from platform to > platform) > >> an take the appropriate action. The output can be rather detailed and > >> verbose, but should not too hard to parse. > > > > This isn't too big of a problem--I already have OS based switches > > lying around the code. I guess I'll have to buy a windows machine for > > the first time in my life to do some testing of that code on, though . > > . . > > > > After going through all of these, it sounds like the controlled > > timeout is the way to go--when this stack comes to the front, it does > > a check. If it thinks it's not on the VPN already, it just continues > > to use the local cache db--unless it sees "something"? new telling it > > that the VPN is back, in which case it tries. If it thinks it should > > be on VPN, it pings for good measure with the 1s/50ms timeout. Hmm, > > this can be delayed until the first db write, too. So the only time > > the user gets hit for the whole second is when he actually changes > > from VPN to no VPN (blocked, no internet, whatever). > > > > Thank you to all. I now know more things I never expected to learn :) > > > > > > -- > > Dr. Richard E. Hawkins, Esq. > > (702) 508-8462 > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Fri Jun 14 14:27:52 2013 From: dsc at swcp.com (Dar Scott) Date: Fri, 14 Jun 2013 12:27:52 -0600 Subject: a *fast* check for whether another machine is on the local network? In-Reply-To: References: <8D036920BF72013-2240-E132@webmail-m204.sysops.aol.com> <51BA43A8.5040509@synergetic-data.com> <51BA5B86.9080504@synergetic-data.com> Message-ID: That was Daryl. I suggested arp and ipconfig, but leaned toward ping and maybe a socket test, but if it can be done in the background I like best a direct test of connecting to the db. It is easy to get us confused; just remember, I'm the round hirsute one. Dar On Jun 14, 2013, at 12:16 PM, Mike Bonner wrote: > if you add the -v switch to what dar suggested (route -v get default) it > returns the mac address for the default gateway which you could store as a > location. If mac address is ... > > > On Fri, Jun 14, 2013 at 12:10 PM, Dar Scott wrote: > >> Just wondering. A thought. >> >> Why not try to open the db? Perhaps in the background. If you have an >> image indicating the db selected, it can have some sort of busy look before >> one is selected. Or simply use the local db if the remote db is not >> available at the time of a save. >> >> If that works, use it. If it fails, go to the fallback. You can even >> keeping trying to open the db. >> >> By the time the first save is needed, perhaps the decision as to what db >> to use is already done. >> >> Dar >> >> >> On Jun 14, 2013, at 8:03 AM, Dr. Hawkins wrote: >> >>> On Thu, Jun 13, 2013 at 4:53 PM, Daryl Williams >>> wrote: >>>> If I am understanding correctly you might try using either the netstat >> or >>>> route commands to find your default gateway, and if there is none then >> save >>>> things to the local database. >>> >>> doesn't give me the timeout issues again--if the laptop is opened in >>> the new location, won't the old router still be on the list, and need >>> to be checked? >>> >>> >>>> The problem with this approach will be determining the right syntax to >> use >>>> for the current platform your code is running on. Unfortunately the >> syntax >>>> is a bit different from windows to os x to linux, but they will all >> report >>>> on the routing tables, including the default router, at which point you >> just >>>> need to parse the command output (again different from platform to >> platform) >>>> an take the appropriate action. The output can be rather detailed and >>>> verbose, but should not too hard to parse. >>> >>> This isn't too big of a problem--I already have OS based switches >>> lying around the code. I guess I'll have to buy a windows machine for >>> the first time in my life to do some testing of that code on, though . >>> . . >>> >>> After going through all of these, it sounds like the controlled >>> timeout is the way to go--when this stack comes to the front, it does >>> a check. If it thinks it's not on the VPN already, it just continues >>> to use the local cache db--unless it sees "something"? new telling it >>> that the VPN is back, in which case it tries. If it thinks it should >>> be on VPN, it pings for good measure with the 1s/50ms timeout. Hmm, >>> this can be delayed until the first db write, too. So the only time >>> the user gets hit for the whole second is when he actually changes >>> from VPN to no VPN (blocked, no internet, whatever). >>> >>> Thank you to all. I now know more things I never expected to learn :) >>> >>> >>> -- >>> Dr. Richard E. Hawkins, Esq. >>> (702) 508-8462 >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Fri Jun 14 14:30:06 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 14 Jun 2013 12:30:06 -0600 Subject: a *fast* check for whether another machine is on the local network? In-Reply-To: References: <8D036920BF72013-2240-E132@webmail-m204.sysops.aol.com> <51BA43A8.5040509@synergetic-data.com> <51BA5B86.9080504@synergetic-data.com> Message-ID: Ooops, your text could be twins. No wonder I got confused! Those D's and A's and R's all look alike. On Fri, Jun 14, 2013 at 12:27 PM, Dar Scott wrote: > That was Daryl. I suggested arp and ipconfig, but leaned toward ping and > maybe a socket test, but if it can be done in the background I like best a > direct test of connecting to the db. It is easy to get us confused; just > remember, I'm the round hirsute one. > > Dar > > > On Jun 14, 2013, at 12:16 PM, Mike Bonner wrote: > > > if you add the -v switch to what dar suggested (route -v get default) it > > returns the mac address for the default gateway which you could store as > a > > location. If mac address is ... > > > > > > On Fri, Jun 14, 2013 at 12:10 PM, Dar Scott wrote: > > > >> Just wondering. A thought. > >> > >> Why not try to open the db? Perhaps in the background. If you have an > >> image indicating the db selected, it can have some sort of busy look > before > >> one is selected. Or simply use the local db if the remote db is not > >> available at the time of a save. > >> > >> If that works, use it. If it fails, go to the fallback. You can even > >> keeping trying to open the db. > >> > >> By the time the first save is needed, perhaps the decision as to what db > >> to use is already done. > >> > >> Dar > >> > >> > >> On Jun 14, 2013, at 8:03 AM, Dr. Hawkins wrote: > >> > >>> On Thu, Jun 13, 2013 at 4:53 PM, Daryl Williams > >>> wrote: > >>>> If I am understanding correctly you might try using either the netstat > >> or > >>>> route commands to find your default gateway, and if there is none then > >> save > >>>> things to the local database. > >>> > >>> doesn't give me the timeout issues again--if the laptop is opened in > >>> the new location, won't the old router still be on the list, and need > >>> to be checked? > >>> > >>> > >>>> The problem with this approach will be determining the right syntax to > >> use > >>>> for the current platform your code is running on. Unfortunately the > >> syntax > >>>> is a bit different from windows to os x to linux, but they will all > >> report > >>>> on the routing tables, including the default router, at which point > you > >> just > >>>> need to parse the command output (again different from platform to > >> platform) > >>>> an take the appropriate action. The output can be rather detailed and > >>>> verbose, but should not too hard to parse. > >>> > >>> This isn't too big of a problem--I already have OS based switches > >>> lying around the code. I guess I'll have to buy a windows machine for > >>> the first time in my life to do some testing of that code on, though . > >>> . . > >>> > >>> After going through all of these, it sounds like the controlled > >>> timeout is the way to go--when this stack comes to the front, it does > >>> a check. If it thinks it's not on the VPN already, it just continues > >>> to use the local cache db--unless it sees "something"? new telling it > >>> that the VPN is back, in which case it tries. If it thinks it should > >>> be on VPN, it pings for good measure with the 1s/50ms timeout. Hmm, > >>> this can be delayed until the first db write, too. So the only time > >>> the user gets hit for the whole second is when he actually changes > >>> from VPN to no VPN (blocked, no internet, whatever). > >>> > >>> Thank you to all. I now know more things I never expected to learn :) > >>> > >>> > >>> -- > >>> Dr. Richard E. Hawkins, Esq. > >>> (702) 508-8462 > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From alex at tweedly.net Fri Jun 14 16:30:01 2013 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 14 Jun 2013 21:30:01 +0100 Subject: a *fast* check for whether another machine is on the local network? In-Reply-To: <388241D8-5614-421F-AE77-C4E1DB6FEA2F@swcp.com> References: <388241D8-5614-421F-AE77-C4E1DB6FEA2F@swcp.com> Message-ID: <51BB7D49.8060804@tweedly.net> Sorry, I've been offline for a while, so this reply is coming kind of late, but I don't think anything in the subsequent discussion invalidates it. If you don't want to wait a second, you could do (for address 10.0.0.232) -- NB we don't care if this succeeds or not open datagram socket to "10.0.0.232:4000" -- if paranoid: wait for 10 ms put shell("arp -a") into temp filter temp with "*10.0.0.232*" The open socket may or may not work - but it will resolve the IP address first, and hence get an entry in the arp table. Then you can check variable 'temp' to verify the IP address is there, and that it has an actual mac address corresponding to it (rather than "incomplete"). NB "open datagram socket" will return without waiting for the socket to open; I think it may do the addr resolution before returning, but you could be cautious / paranoid and do a "wait 10 ms" before doing the arp check. btw - corner case - if you have a router doing proxy arp replies (e.g. to handle hosts that can't do default route), then this will falsely appear to work - but AFAIK that is a very, very uncommon situation nowadays. -- Alex. On 13/06/2013 22:52, Dar Scott wrote: > On Jun 13, 2013, at 3:02 PM, Dr. Hawkins wrote: > >> Is there a *fast* way to see if another machine is currently on the >> local network, by name (somemachine.local) or otherwise, from within >> livecode? >> >> There's always sending a message and waiting for it to hang, but I'd >> like something that happens quickly. > On OS X: > > You can use shell("arp -a") and look whether the IP address is included. The list associates the underlying Ethernet address with the IP address. It will expire after 20 minutes of non use. So, this really means this computer talked to that computer in the last 20 minutes. > > I think the best way has to involve a message. To keep it fast, use an IP address rather than the host name. Use a method with a fast timeout. > > You might be able to use shell(" ping -c 1 -t 1 10.9.8.7") but that would take a second if the computer is not there. > > If you have a service set up on that computer then you might be able to try that. > > On Windows: > > Similar > > > Dar > > > --------------------------- > 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. > dsc at swcp.com > > Computer programming and tinkering, > usually in supporting those developing in > LiveCode--typically by making LiveCode > controls, libraries and externals, and > sometimes by writing associated > microcontroller firmware. > --------------------------- > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Fri Jun 14 16:37:18 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 15 Jun 2013 06:37:18 +1000 Subject: 6.1 In-Reply-To: References: <51B9213D.2010403@fourthworld.com> <435BCFC6-7A62-4787-AFC5-A278E6F4684B@swcp.com> <51B9FBC0.5060504@hyperactivesw.com> <190207725711.20130613182852@ahsoftware.net> Message-ID: <06366605-080B-49C7-A70C-8DD24C499659@sweattechnologies.com> On 15/06/2013, at 2:31 AM, Peter Haworth wrote: > As far as I can tell, everyone who has posted on the forums is on the > developers list. In fact, discussing engine/IDE changes on the developer > list would certainly get them more visibility than using the forums at the > moment; I haven't counted but I doubt there are more than 10 people who > have made any posts on the forums. > > Monte's point about Mark not checking the dev list is a valid point though, > his insights are obviously crucial. At the time *here* I thought was the use list... I think he skim reads but doesn't comment on the dev list... at least a few comments he's made to me indicated he's been aware of conversations on there... still... it's a closed list so it's not appropriate for discussing work on an open source project. I think it would be good to have some other kind of solution... perhaps a wiki where we can post a proposal and then comment on it/edit it until people are happy but the main proposal is a working document rather than it all getting lost in emails or forum pages... -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From mwieder at ahsoftware.net Fri Jun 14 16:43:45 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 14 Jun 2013 20:43:45 +0000 (UTC) Subject: 6.1 References: <51B9213D.2010403@fourthworld.com> <435BCFC6-7A62-4787-AFC5-A278E6F4684B@swcp.com> <51B9FBC0.5060504@hyperactivesw.com> <1594A647-E3AA-408B-849B-18562BF0D7E3@sweattechnologies.com> <3D52C91D-9E2F-4A8B-AAE8-82FFA9A4B24A@sweattechnologies.com> Message-ID: Peter Haworth writes: > I would also like to suggest that we should think twice about excluding > synonyms or any other category of property. Excluding them means there's a > brick wall between them and anyone who would like to get them. I'm not > saying they should always be returned, just that there should be some sort > of syntax that would allow for them to be returned if needed. Two things I don't get: 1. why are you continuing this discussion here instead of in the properties topic on the forum? 2. what does including synonyms in the list of properties deliver? You really want "the properties" to return "backcolor" as well as "backgroundcolor"? With the same value? I don't. Not listing synonyms in the properties list is not the same as asking for the backcolor of a control. -- Mark Wieder mwieder at ahsoftware.net From pete at lcsql.com Fri Jun 14 17:12:15 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 14 Jun 2013 14:12:15 -0700 Subject: 6.1 In-Reply-To: References: <51B9213D.2010403@fourthworld.com> <435BCFC6-7A62-4787-AFC5-A278E6F4684B@swcp.com> <51B9FBC0.5060504@hyperactivesw.com> <190207725711.20130613182852@ahsoftware.net> Message-ID: Don't remember but do the forums have RSS feeds? Pete lcSQL Software On Fri, Jun 14, 2013 at 11:07 AM, Mike Bonner wrote: > I read the posts on the forum, and don't have access to the dev list so > even though i'm not able to contribute it lets me see some of whats going > on to tweak and improve lc. I wouldn't mind the discussions being held on > a "list" but if that happens my preference would be a new list so that I > can actually read the stuff. Forums do tend to be unwieldy especially as > they get busier (and that is DEFINITELY happening with the lc forums) So I > don't know what the best option would be other than.. "I still want to be > able to read whats happening no matter where the developments occur" > > > On Fri, Jun 14, 2013 at 10:31 AM, Peter Haworth wrote: > > > As far as I can tell, everyone who has posted on the forums is on the > > developers list. In fact, discussing engine/IDE changes on the developer > > list would certainly get them more visibility than using the forums at > the > > moment; I haven't counted but I doubt there are more than 10 people who > > have made any posts on the forums. > > > > Monte's point about Mark not checking the dev list is a valid point > though, > > his insights are obviously crucial. > > > > Pete > > lcSQL Software > > > > > > On Thu, Jun 13, 2013 at 6:28 PM, Mark Wieder > > wrote: > > > > > Pete- > > > > > > Thursday, June 13, 2013, 1:06:13 PM, you wrote: > > > > > > > There's been discussion recently on what the purpose of the > developers > > > list > > > > is. I think discussion of contributed engine and IDE changes is a > > perfect > > > > use for it. > > > > > > I disagree because not everybody's on that list. I don't know what the > > > future of that list is other than Yet Another Place To Hang Out > > > (YAPTHO). > > > > > > > Forums are fine but they require an active effort to go look at them > > > > whereas the email lists just turn up. I think that's been discussed > at > > > > length in the past too. > > > > > > Yep. > > > I'm no fan of the web forum thing, but that's where the engine and IDE > > > contributions discussions are taking place. > > > > > > -- > > > -Mark Wieder > > > mwieder at ahsoftware.net > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at sweattechnologies.com Fri Jun 14 17:21:50 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 15 Jun 2013 07:21:50 +1000 Subject: 6.1 In-Reply-To: References: <51B9213D.2010403@fourthworld.com> <435BCFC6-7A62-4787-AFC5-A278E6F4684B@swcp.com> <51B9FBC0.5060504@hyperactivesw.com> <1594A647-E3AA-408B-849B-18562BF0D7E3@sweattechnologies.com> <3D52C91D-9E2F-4A8B-AAE8-82FFA9A4B24A@sweattechnologies.com> Message-ID: <0C859B35-76A6-48C9-BA1D-4B42F0C78E1E@sweattechnologies.com> On 15/06/2013, at 6:43 AM, Mark Wieder wrote: > 2. what does including synonyms in the list of properties deliver? You > really want "the properties" to return "backcolor" as well as > "backgroundcolor"? With the same value? I don't. Not listing synonyms in the > properties list is not the same as asking for the backcolor of a control. I think he's talking about a propertyNames function rather than the properties. Note that I don't think it's possible to have the propertyNames and the propertyNames of objectRef... I might look into it but really think it would be easier to maintain a list outside the engine of the officially sanctioned unabbreviated properties of each object... the engine just isn't setup for it... -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From pete at lcsql.com Fri Jun 14 17:29:54 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 14 Jun 2013 14:29:54 -0700 Subject: 6.1 In-Reply-To: References: <51B9213D.2010403@fourthworld.com> <435BCFC6-7A62-4787-AFC5-A278E6F4684B@swcp.com> <51B9FBC0.5060504@hyperactivesw.com> <1594A647-E3AA-408B-849B-18562BF0D7E3@sweattechnologies.com> <3D52C91D-9E2F-4A8B-AAE8-82FFA9A4B24A@sweattechnologies.com> Message-ID: On Fri, Jun 14, 2013 at 1:43 PM, Mark Wieder wrote: > Two things I don't get: > > 1. why are you continuing this discussion here instead of in the properties > topic on the forum? > > 2. what does including synonyms in the list of properties deliver? You > really want "the properties" to return "backcolor" as well as > "backgroundcolor"? With the same value? I don't. Not listing synonyms in > the > properties list is not the same as asking for the backcolor of a control. > Maybe I'm confused but I thought this discussion was now about the propertynames not the properties? Sorry if I didn't make that clear. To clarify, I don't care about synonyms coming back from the properties but I do think there should be a way to, optionally, return synonyms as part of the propertynames. I think the two are getting confused right now because if you want a list of the property names of an object, you have to use the keys of the properties of that object. Hopefully, the movement to get improvements to the propertynames functionality will remove that requirement. Pete lcSQL Software From warren at warrensweb.us Fri Jun 14 18:03:27 2013 From: warren at warrensweb.us (Warren Samples) Date: Fri, 14 Jun 2013 17:03:27 -0500 Subject: 6.1 In-Reply-To: References: <51B9213D.2010403@fourthworld.com> <435BCFC6-7A62-4787-AFC5-A278E6F4684B@swcp.com> <51B9FBC0.5060504@hyperactivesw.com> <190207725711.20130613182852@ahsoftware.net> Message-ID: <51BB932F.3010405@warrensweb.us> On 06/14/2013 04:12 PM, Peter Haworth wrote: > do the forums have RSS feeds? There is one feed for the whole forum: http://forums.runrev.com/phpBB2/feed.php From jacque at hyperactivesw.com Fri Jun 14 18:08:51 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 14 Jun 2013 17:08:51 -0500 Subject: 6.1 In-Reply-To: References: <51B9213D.2010403@fourthworld.com> <435BCFC6-7A62-4787-AFC5-A278E6F4684B@swcp.com> <51B9FBC0.5060504@hyperactivesw.com> <190207725711.20130613182852@ahsoftware.net> Message-ID: <51BB9473.5040401@hyperactivesw.com> On 6/14/13 4:12 PM, Peter Haworth wrote: > Don't remember but do the forums have RSS feeds? Yes, they do now. It isn't great but at least you get the messages. You can set it up in the forum prefs. If you decide to respond to a post, you'll end up back on the web site. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Fri Jun 14 18:09:32 2013 From: dsc at swcp.com (Dar Scott) Date: Fri, 14 Jun 2013 16:09:32 -0600 Subject: a *fast* check for whether another machine is on the local network? In-Reply-To: <51BB7D49.8060804@tweedly.net> References: <388241D8-5614-421F-AE77-C4E1DB6FEA2F@swcp.com> <51BB7D49.8060804@tweedly.net> Message-ID: Cool idea. I wonder though. Will UDP actually trigger arp before the first write? I'm not saying it won't, I'm just surprised. It would be cool it it did. Dar On Jun 14, 2013, at 2:30 PM, Alex Tweedly wrote: > Sorry, I've been offline for a while, so this reply is coming kind of late, but I don't think anything in the subsequent discussion invalidates it. > > > If you don't want to wait a second, you could do > (for address 10.0.0.232) > > -- NB we don't care if this succeeds or not > open datagram socket to "10.0.0.232:4000" > -- if paranoid: wait for 10 ms > put shell("arp -a") into temp > filter temp with "*10.0.0.232*" > > The open socket may or may not work - but it will resolve the IP address first, and hence get an entry in the arp table. Then you can check variable 'temp' to verify the IP address is there, and that it has an actual mac address corresponding to it (rather than "incomplete"). > > NB "open datagram socket" will return without waiting for the socket to open; I think it may do the addr resolution before returning, but you could be cautious / paranoid and do a "wait 10 ms" before doing the arp check. > > btw - corner case - if you have a router doing proxy arp replies (e.g. to handle hosts that can't do default route), then this will falsely appear to work - but AFAIK that is a very, very uncommon situation nowadays. > > -- Alex. > > On 13/06/2013 22:52, Dar Scott wrote: >> On Jun 13, 2013, at 3:02 PM, Dr. Hawkins wrote: >> >>> Is there a *fast* way to see if another machine is currently on the >>> local network, by name (somemachine.local) or otherwise, from within >>> livecode? >>> >>> There's always sending a message and waiting for it to hang, but I'd >>> like something that happens quickly. >> On OS X: >> >> You can use shell("arp -a") and look whether the IP address is included. The list associates the underlying Ethernet address with the IP address. It will expire after 20 minutes of non use. So, this really means this computer talked to that computer in the last 20 minutes. >> >> I think the best way has to involve a message. To keep it fast, use an IP address rather than the host name. Use a method with a fast timeout. >> >> You might be able to use shell(" ping -c 1 -t 1 10.9.8.7") but that would take a second if the computer is not there. >> >> If you have a service set up on that computer then you might be able to try that. >> >> On Windows: >> >> Similar >> >> >> Dar >> >> >> --------------------------- >> 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. >> dsc at swcp.com >> >> Computer programming and tinkering, >> usually in supporting those developing in >> LiveCode--typically by making LiveCode >> controls, libraries and externals, and >> sometimes by writing associated >> microcontroller firmware. >> --------------------------- >> >> >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Jun 14 18:15:29 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 14 Jun 2013 17:15:29 -0500 Subject: imageData and resizing In-Reply-To: References: Message-ID: <51BB9601.10500@hyperactivesw.com> On 6/14/13 8:19 AM, Thomas McGrath III wrote: > I'm trying to find a solution to images getting messed up after doubling their size for retina and then trying to set the imageData after they have been resized. The images get messed up with either horizontal lines or color shifts. > > This works for one image but not for a group of images. As soon as I try to set the imageData of a group of images about half way through the images start to screw up. > > set the resizeQuality of image x of group "images" to "best" > set the lockLoc of image x of group "images" to true > set the width of image x of group "images" to (the width of image x of group "images" * 2) > set the height of image x of group "images" to (the height of image x of group "images" * 2) > set the imageData of image x to tempimage > > Any ideas or workarounds??? Usually you get those artifacts if the size of the imagedata doesn't exactly match the size of the image container. Maybe rounding is causing a few pixels difference during the resize. Is there a reason not to just resize the image and leave it that way without setting its imagedata? Typically, images are saved at retina resolution and scaled down for non-retina displays. That retains much better image quality. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Fri Jun 14 18:20:44 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 14 Jun 2013 22:20:44 +0000 (UTC) Subject: 6.1 References: <51B9213D.2010403@fourthworld.com> <435BCFC6-7A62-4787-AFC5-A278E6F4684B@swcp.com> <51B9FBC0.5060504@hyperactivesw.com> <1594A647-E3AA-408B-849B-18562BF0D7E3@sweattechnologies.com> <3D52C91D-9E2F-4A8B-AAE8-82FFA9A4B24A@sweattechnologies.com> Message-ID: http://forums.runrev.com/viewtopic.php?f=66&t=14818&p=78520#p78520 -- Mark Wieder mwieder at ahsoftware.net From warren at warrensweb.us Fri Jun 14 18:24:07 2013 From: warren at warrensweb.us (Warren Samples) Date: Fri, 14 Jun 2013 17:24:07 -0500 Subject: 6.1 In-Reply-To: References: <51B9213D.2010403@fourthworld.com> <435BCFC6-7A62-4787-AFC5-A278E6F4684B@swcp.com> <51B9FBC0.5060504@hyperactivesw.com> <190207725711.20130613182852@ahsoftware.net> Message-ID: <51BB9807.8080505@warrensweb.us> On 06/14/2013 04:12 PM, Peter Haworth wrote: > do the forums have RSS feeds? There is also a subscribe by email feature including digest options. You can subscribe to individual forums at the bottom of each forum page or choose digest options at http://forums.runrev.com/phpBB2/ucp.php?i=201 You can also subscribe to individual topics at the bottom of each topic page. Warren From m.schonewille at economy-x-talk.com Fri Jun 14 18:24:06 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 15 Jun 2013 00:24:06 +0200 Subject: imageData and resizing In-Reply-To: References: Message-ID: <51BB9806.9070009@economy-x-talk.com> Hi Tom, This won't work, unless the imageData fit the image rect exactly. To solve this, set the imageData first and then resize. Better yet: don't use imageData but use the original PNG or JPEG data to set the text of the image object. Set the lockLoc to false, then set the text, resize, and set the lockLoc to true. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 6/14/2013 15:19, Thomas McGrath III wrote: > I'm trying to find a solution to images getting messed up after doubling their size for retina and then trying to set the imageData after they have been resized. The images get messed up with either horizontal lines or color shifts. > > This works for one image but not for a group of images. As soon as I try to set the imageData of a group of images about half way through the images start to screw up. > > set the resizeQuality of image x of group "images" to "best" > set the lockLoc of image x of group "images" to true > set the width of image x of group "images" to (the width of image x of group "images" * 2) > set the height of image x of group "images" to (the height of image x of group "images" * 2) > set the imageData of image x to tempimage > > Any ideas or workarounds??? > > Thanks > From pete at lcsql.com Fri Jun 14 18:43:11 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 14 Jun 2013 15:43:11 -0700 Subject: 6.1 In-Reply-To: <0C859B35-76A6-48C9-BA1D-4B42F0C78E1E@sweattechnologies.com> References: <51B9213D.2010403@fourthworld.com> <435BCFC6-7A62-4787-AFC5-A278E6F4684B@swcp.com> <51B9FBC0.5060504@hyperactivesw.com> <1594A647-E3AA-408B-849B-18562BF0D7E3@sweattechnologies.com> <3D52C91D-9E2F-4A8B-AAE8-82FFA9A4B24A@sweattechnologies.com> <0C859B35-76A6-48C9-BA1D-4B42F0C78E1E@sweattechnologies.com> Message-ID: On Fri, Jun 14, 2013 at 2:21 PM, Monte Goulding wrote: > I think he's talking about a propertyNames function rather than the > properties. Note that I don't think it's possible to have the propertyNames > and the propertyNames of objectRef... I might look into it but really think > it would be easier to maintain a list outside the engine of the officially > sanctioned unabbreviated properties of each object... the engine just isn't > setup for it... Another idea i had on this was something similar to the "templatexxxx" we have now, so "the propertynamesStack", "the propertyNamesButton", etc. I know nothing about the engine but would that make it any more feasible? Pete lcSQL Software From alex at tweedly.net Fri Jun 14 19:02:57 2013 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 15 Jun 2013 00:02:57 +0100 Subject: a *fast* check for whether another machine is on the local network? In-Reply-To: References: <388241D8-5614-421F-AE77-C4E1DB6FEA2F@swcp.com> <51BB7D49.8060804@tweedly.net> Message-ID: <51BBA121.4070502@tweedly.net> It does. I wondered also, so I tried it out before I posted - actual code below ... on mouseup open datagram socket to "10.0.0.33:4000" -- NB we don't care if this succeeds or not put shell("arp -a") into t put t end mouseup -- Alex. On 14/06/2013 23:09, Dar Scott wrote: > Cool idea. I wonder though. Will UDP actually trigger arp before the first write? I'm not saying it won't, I'm just surprised. It would be cool it it did. > > Dar > > > On Jun 14, 2013, at 2:30 PM, Alex Tweedly wrote: > >> Sorry, I've been offline for a while, so this reply is coming kind of late, but I don't think anything in the subsequent discussion invalidates it. >> >> >> If you don't want to wait a second, you could do >> (for address 10.0.0.232) >> >> -- NB we don't care if this succeeds or not >> open datagram socket to "10.0.0.232:4000" >> -- if paranoid: wait for 10 ms >> put shell("arp -a") into temp >> filter temp with "*10.0.0.232*" >> >> The open socket may or may not work - but it will resolve the IP address first, and hence get an entry in the arp table. Then you can check variable 'temp' to verify the IP address is there, and that it has an actual mac address corresponding to it (rather than "incomplete"). >> >> NB "open datagram socket" will return without waiting for the socket to open; I think it may do the addr resolution before returning, but you could be cautious / paranoid and do a "wait 10 ms" before doing the arp check. >> >> btw - corner case - if you have a router doing proxy arp replies (e.g. to handle hosts that can't do default route), then this will falsely appear to work - but AFAIK that is a very, very uncommon situation nowadays. >> >> -- Alex. >> >> On 13/06/2013 22:52, Dar Scott wrote: >>> On Jun 13, 2013, at 3:02 PM, Dr. Hawkins wrote: >>> >>>> Is there a *fast* way to see if another machine is currently on the >>>> local network, by name (somemachine.local) or otherwise, from within >>>> livecode? >>>> >>>> There's always sending a message and waiting for it to hang, but I'd >>>> like something that happens quickly. >>> On OS X: >>> >>> You can use shell("arp -a") and look whether the IP address is included. The list associates the underlying Ethernet address with the IP address. It will expire after 20 minutes of non use. So, this really means this computer talked to that computer in the last 20 minutes. >>> >>> I think the best way has to involve a message. To keep it fast, use an IP address rather than the host name. Use a method with a fast timeout. >>> >>> You might be able to use shell(" ping -c 1 -t 1 10.9.8.7") but that would take a second if the computer is not there. >>> >>> If you have a service set up on that computer then you might be able to try that. >>> >>> On Windows: >>> >>> Similar >>> >>> >>> Dar >>> >>> >>> --------------------------- >>> 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. >>> dsc at swcp.com >>> >>> Computer programming and tinkering, >>> usually in supporting those developing in >>> LiveCode--typically by making LiveCode >>> controls, libraries and externals, and >>> sometimes by writing associated >>> microcontroller firmware. >>> --------------------------- >>> >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Fri Jun 14 19:06:54 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 15 Jun 2013 09:06:54 +1000 Subject: 6.1 In-Reply-To: References: <51B9213D.2010403@fourthworld.com> <435BCFC6-7A62-4787-AFC5-A278E6F4684B@swcp.com> <51B9FBC0.5060504@hyperactivesw.com> <1594A647-E3AA-408B-849B-18562BF0D7E3@sweattechnologies.com> <3D52C91D-9E2F-4A8B-AAE8-82FFA9A4B24A@sweattechnologies.com> <0C859B35-76A6-48C9-BA1D-4B42F0C78E1E@sweattechnologies.com> Message-ID: On 15/06/2013, at 8:43 AM, Peter Haworth wrote: > Another idea i had on this was something similar to the "templatexxxx" we > have now, so "the propertynamesStack", "the propertyNamesButton", etc. I > know nothing about the engine but would that make it any more feasible? I don't personally like that syntax but you might want to discuss this on the engine forum to see what the important people think... -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From dsc at swcp.com Fri Jun 14 19:24:08 2013 From: dsc at swcp.com (Dar Scott) Date: Fri, 14 Jun 2013 17:24:08 -0600 Subject: a *fast* check for whether another machine is on the local network? In-Reply-To: <51BBA121.4070502@tweedly.net> References: <388241D8-5614-421F-AE77-C4E1DB6FEA2F@swcp.com> <51BB7D49.8060804@tweedly.net> <51BBA121.4070502@tweedly.net> Message-ID: <4DBE7536-8988-4809-A754-C0A65A13D6FD@swcp.com> close? platform? (looks OK so far on 10.6) And suppose I'm from Missouri. How do I know it wasn't already there? I tried sudo arp -d -a, but must have done something wrong. I see no change in arp -a. Dar On Jun 14, 2013, at 5:02 PM, Alex Tweedly wrote: > It does. I wondered also, so I tried it out before I posted - actual code below ... > > on mouseup > open datagram socket to "10.0.0.33:4000" -- NB we don't care if this succeeds or not > put shell("arp -a") into t > put t > end mouseup > > -- Alex. > > > > On 14/06/2013 23:09, Dar Scott wrote: >> Cool idea. I wonder though. Will UDP actually trigger arp before the first write? I'm not saying it won't, I'm just surprised. It would be cool it it did. >> >> Dar >> >> >> On Jun 14, 2013, at 2:30 PM, Alex Tweedly wrote: >> >>> Sorry, I've been offline for a while, so this reply is coming kind of late, but I don't think anything in the subsequent discussion invalidates it. >>> >>> >>> If you don't want to wait a second, you could do >>> (for address 10.0.0.232) >>> >>> -- NB we don't care if this succeeds or not >>> open datagram socket to "10.0.0.232:4000" >>> -- if paranoid: wait for 10 ms >>> put shell("arp -a") into temp >>> filter temp with "*10.0.0.232*" >>> >>> The open socket may or may not work - but it will resolve the IP address first, and hence get an entry in the arp table. Then you can check variable 'temp' to verify the IP address is there, and that it has an actual mac address corresponding to it (rather than "incomplete"). >>> >>> NB "open datagram socket" will return without waiting for the socket to open; I think it may do the addr resolution before returning, but you could be cautious / paranoid and do a "wait 10 ms" before doing the arp check. >>> >>> btw - corner case - if you have a router doing proxy arp replies (e.g. to handle hosts that can't do default route), then this will falsely appear to work - but AFAIK that is a very, very uncommon situation nowadays. >>> >>> -- Alex. >>> >>> On 13/06/2013 22:52, Dar Scott wrote: >>>> On Jun 13, 2013, at 3:02 PM, Dr. Hawkins wrote: >>>> >>>>> Is there a *fast* way to see if another machine is currently on the >>>>> local network, by name (somemachine.local) or otherwise, from within >>>>> livecode? >>>>> >>>>> There's always sending a message and waiting for it to hang, but I'd >>>>> like something that happens quickly. >>>> On OS X: >>>> >>>> You can use shell("arp -a") and look whether the IP address is included. The list associates the underlying Ethernet address with the IP address. It will expire after 20 minutes of non use. So, this really means this computer talked to that computer in the last 20 minutes. >>>> >>>> I think the best way has to involve a message. To keep it fast, use an IP address rather than the host name. Use a method with a fast timeout. >>>> >>>> You might be able to use shell(" ping -c 1 -t 1 10.9.8.7") but that would take a second if the computer is not there. >>>> >>>> If you have a service set up on that computer then you might be able to try that. >>>> >>>> On Windows: >>>> >>>> Similar >>>> >>>> >>>> Dar >>>> >>>> >>>> --------------------------- >>>> 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. >>>> dsc at swcp.com >>>> >>>> Computer programming and tinkering, >>>> usually in supporting those developing in >>>> LiveCode--typically by making LiveCode >>>> controls, libraries and externals, and >>>> sometimes by writing associated >>>> microcontroller firmware. >>>> --------------------------- >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Fri Jun 14 20:23:55 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 14 Jun 2013 17:23:55 -0700 Subject: a *fast* check for whether another machine is on the local network? In-Reply-To: References: <8D036920BF72013-2240-E132@webmail-m204.sysops.aol.com> <51BA43A8.5040509@synergetic-data.com> <51BA5B86.9080504@synergetic-data.com> Message-ID: On Fri, Jun 14, 2013 at 11:10 AM, Dar Scott wrote: > Why not try to open the db? Perhaps in the background In the background? If I could do livecode things in the background, it would solve nearly *all* of my problems. *Is* there a way to do background things? And now I'm off to learn about this "datagram" thing . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From pete at lcsql.com Fri Jun 14 20:36:52 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 14 Jun 2013 17:36:52 -0700 Subject: 6.1 In-Reply-To: References: <51B9213D.2010403@fourthworld.com> <435BCFC6-7A62-4787-AFC5-A278E6F4684B@swcp.com> <51B9FBC0.5060504@hyperactivesw.com> <1594A647-E3AA-408B-849B-18562BF0D7E3@sweattechnologies.com> <3D52C91D-9E2F-4A8B-AAE8-82FFA9A4B24A@sweattechnologies.com> <0C859B35-76A6-48C9-BA1D-4B42F0C78E1E@sweattechnologies.com> Message-ID: I'm not mad about it either, not surprising since I've never been that keen on the "templatexxxx" syntax either. It was just a suggestion aimed at some sort of compatibility with existing syntax I've now got my browser hooked into the RSS feed for the forums, which removes one of my issues with using the forum. It looks like the propertynames issue is being lumped together with the properties changes but there should be a separate thread for it. Don't have time to start one right now, but I'll try to do it over the weekend. Pete lcSQL Software On Fri, Jun 14, 2013 at 4:06 PM, Monte Goulding wrote: > > On 15/06/2013, at 8:43 AM, Peter Haworth wrote: > > > Another idea i had on this was something similar to the "templatexxxx" we > > have now, so "the propertynamesStack", "the propertyNamesButton", etc. I > > know nothing about the engine but would that make it any more feasible? > > I don't personally like that syntax but you might want to discuss this on > the engine forum to see what the important people think... > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Fri Jun 14 22:45:27 2013 From: dsc at swcp.com (Dar Scott) Date: Fri, 14 Jun 2013 20:45:27 -0600 Subject: a *fast* check for whether another machine is on the local network? In-Reply-To: References: <8D036920BF72013-2240-E132@webmail-m204.sysops.aol.com> <51BA43A8.5040509@synergetic-data.com> <51BA5B86.9080504@synergetic-data.com> Message-ID: <8FE814A3-012B-4AD3-9268-79100B2DAC43@swcp.com> A lot of things can be done in the background using the natural GUI events, the myriad of LiveCode messages and send in time. Most interfaces have a callback scheme to allow this. Event style programming works well with this. Whether you can do that directly with your db interface depends on what you are using. If you are using the revDatabase commands, then maybe you can't. I'm not familiar with those; I don't use them. Others can advise better. However, other interfaces might work with callbacks. If your db interface does not work with callbacks, then you might have to launch a separate app and communicate with that. That communication would then have callbacks and messages that allow things to work in the background. You can use TCP/IP for communication or maybe stdin/stdout depending on the development of LiveCode. A hint about that "datagram" thing: The datagram is not that important. What's important is that you can open the socket without any handshake dialog such as that needed to set up the TCP link. However, if Alex's idea works, it will force the communication layer below TCP (such as Ethernet) to send a message to find out who has that IP address, but only if it does not already have it. So, if you were connected to that machine in the last 20 minutes (on OS X), the method does not trigger a query to find the hardware that has that IP address. Getting that IP-to-hardware association is the minimal communication that can be done to confirm the machine is there. It depends on whether the open will really trigger such a query if the address is not known. Alex thinks it does. Dar On Jun 14, 2013, at 6:23 PM, Dr. Hawkins wrote: > On Fri, Jun 14, 2013 at 11:10 AM, Dar Scott wrote: >> Why not try to open the db? Perhaps in the background > > In the background? If I could do livecode things in the background, > it would solve nearly *all* of my problems. > > *Is* there a way to do background things? > > And now I'm off to learn about this "datagram" thing . . . > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Fri Jun 14 23:56:28 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 14 Jun 2013 20:56:28 -0700 Subject: Tools for Thinking Message-ID: <175302981296.20130614205628@ahsoftware.net> Apropos abolutely nothing at all, this came my way this morning: http://kottke.org/13/06/tools-for-thinking -- -Mark Wieder mwieder at ahsoftware.net From dsc at swcp.com Sat Jun 15 00:08:39 2013 From: dsc at swcp.com (Dar Scott) Date: Fri, 14 Jun 2013 22:08:39 -0600 Subject: a *fast* check for whether another machine is on the local network? In-Reply-To: <4DBE7536-8988-4809-A754-C0A65A13D6FD@swcp.com> References: <388241D8-5614-421F-AE77-C4E1DB6FEA2F@swcp.com> <51BB7D49.8060804@tweedly.net> <51BBA121.4070502@tweedly.net> <4DBE7536-8988-4809-A754-C0A65A13D6FD@swcp.com> Message-ID: <3408B1C5-9C41-4D94-B7AC-091EAAD3FD3B@swcp.com> OK, I have been able to remove one entry from the arp table using this: sudo arp -d 10.20.40.50 inscope en0 The result does not look good. The mouseUp handler does add an entry to the arp table, but it is marked incomplete instead of having an MAC address. It does the same for a computer that is available or something bogus. Maybe I need to add the paranoid line. Dar On Jun 14, 2013, at 5:24 PM, Dar Scott wrote: > close? > platform? > (looks OK so far on 10.6) > > And suppose I'm from Missouri. How do I know it wasn't already there? > > I tried sudo arp -d -a, but must have done something wrong. I see no change in arp -a. > > Dar > > > On Jun 14, 2013, at 5:02 PM, Alex Tweedly wrote: > >> It does. I wondered also, so I tried it out before I posted - actual code below ... >> >> on mouseup >> open datagram socket to "10.0.0.33:4000" -- NB we don't care if this succeeds or not >> put shell("arp -a") into t >> put t >> end mouseup >> >> -- Alex. >> >> >> >> On 14/06/2013 23:09, Dar Scott wrote: >>> Cool idea. I wonder though. Will UDP actually trigger arp before the first write? I'm not saying it won't, I'm just surprised. It would be cool it it did. >>> >>> Dar >>> >>> >>> On Jun 14, 2013, at 2:30 PM, Alex Tweedly wrote: >>> >>>> Sorry, I've been offline for a while, so this reply is coming kind of late, but I don't think anything in the subsequent discussion invalidates it. >>>> >>>> >>>> If you don't want to wait a second, you could do >>>> (for address 10.0.0.232) >>>> >>>> -- NB we don't care if this succeeds or not >>>> open datagram socket to "10.0.0.232:4000" >>>> -- if paranoid: wait for 10 ms >>>> put shell("arp -a") into temp >>>> filter temp with "*10.0.0.232*" >>>> >>>> The open socket may or may not work - but it will resolve the IP address first, and hence get an entry in the arp table. Then you can check variable 'temp' to verify the IP address is there, and that it has an actual mac address corresponding to it (rather than "incomplete"). >>>> >>>> NB "open datagram socket" will return without waiting for the socket to open; I think it may do the addr resolution before returning, but you could be cautious / paranoid and do a "wait 10 ms" before doing the arp check. >>>> >>>> btw - corner case - if you have a router doing proxy arp replies (e.g. to handle hosts that can't do default route), then this will falsely appear to work - but AFAIK that is a very, very uncommon situation nowadays. >>>> >>>> -- Alex. >>>> >>>> On 13/06/2013 22:52, Dar Scott wrote: >>>>> On Jun 13, 2013, at 3:02 PM, Dr. Hawkins wrote: >>>>> >>>>>> Is there a *fast* way to see if another machine is currently on the >>>>>> local network, by name (somemachine.local) or otherwise, from within >>>>>> livecode? >>>>>> >>>>>> There's always sending a message and waiting for it to hang, but I'd >>>>>> like something that happens quickly. >>>>> On OS X: >>>>> >>>>> You can use shell("arp -a") and look whether the IP address is included. The list associates the underlying Ethernet address with the IP address. It will expire after 20 minutes of non use. So, this really means this computer talked to that computer in the last 20 minutes. >>>>> >>>>> I think the best way has to involve a message. To keep it fast, use an IP address rather than the host name. Use a method with a fast timeout. >>>>> >>>>> You might be able to use shell(" ping -c 1 -t 1 10.9.8.7") but that would take a second if the computer is not there. >>>>> >>>>> If you have a service set up on that computer then you might be able to try that. >>>>> >>>>> On Windows: >>>>> >>>>> Similar >>>>> >>>>> >>>>> Dar >>>>> >>>>> >>>>> --------------------------- >>>>> 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. >>>>> dsc at swcp.com >>>>> >>>>> Computer programming and tinkering, >>>>> usually in supporting those developing in >>>>> LiveCode--typically by making LiveCode >>>>> controls, libraries and externals, and >>>>> sometimes by writing associated >>>>> microcontroller firmware. >>>>> --------------------------- >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Sat Jun 15 00:33:20 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 14 Jun 2013 21:33:20 -0700 Subject: synonyms Message-ID: I'm sorry to have to post this somewhat angry post. There's a thread on the engine contributors forum regarding whether it's necessary to return synonyms from the proposed changes to the propertynames function. SInce not everyone reads that forum, I'm posting it here. You can read the prior posts on the forum. ========================== OK guys, well I guess I'm disappointed at the closemindedness you're exhibiting, seems in direct contradiction of "open source". Just because you can't figure out why someone would want to do something doesn't mean that someone out there DOES want to do it. Why would you build a brick wall around something that prevents someone from getting hold of a specific piece of information that is an inherent part of Livecode? SYnonyms exist, there should be a way of finding out about them. Mark - you're misquoting what I suggested. The key word you omitted is "optional". I did not insist that synonyms be returned, just that there be an OPTION to get them. Why does that cause you such a problem? You don't want them? Then don't request them, simple as that. Think about SQL - the entire structure of an SQL database is available to anyone who wants to discover it. Do you think the implementors thought "oh, nobody would ever want THAT piece of information?" No, they made everything available so that anyone who had a need for it could have access to it. So go ahead, implement what YOU think is best, I don't have any more time to waste on this. Pete lcSQL Software From monte at sweattechnologies.com Sat Jun 15 01:04:51 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 15 Jun 2013 15:04:51 +1000 Subject: synonyms In-Reply-To: References: Message-ID: <561C878F-1D0B-4389-B51F-6C1FCD2C9C12@sweattechnologies.com> On 15/06/2013, at 2:33 PM, Peter Haworth wrote: > I'm sorry to have to post this somewhat angry post. SNIP rest of rant FWIW I decided I no longer had time to think about propertyNames when you persisted in posting here after being told where to post and then said you didn't have time to post there... either way perhaps spending your limited time clearly detailing what you want and why would have been a better use of your time than having a rant at people volunteering in their limited spare time... -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From richmondmathewson at gmail.com Sat Jun 15 03:29:12 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 15 Jun 2013 10:29:12 +0300 Subject: Tools for Thinking In-Reply-To: <175302981296.20130614205628@ahsoftware.net> References: <175302981296.20130614205628@ahsoftware.net> Message-ID: <51BC17C8.8020309@gmail.com> On 06/15/2013 06:56 AM, Mark Wieder wrote: > Apropos abolutely nothing at all, this came my way this morning: > > http://kottke.org/13/06/tools-for-thinking > Those 4 points by Dennett are very valuable indeed, and very 'apropos' to us all. Thanks. Richmond. From th.douez at gmail.com Sat Jun 15 03:51:08 2013 From: th.douez at gmail.com (Thierry Douez) Date: Sat, 15 Jun 2013 09:51:08 +0200 Subject: Dropbox in livecode In-Reply-To: <26EB9B03-8CCE-49C7-9948-C72DA0623D8A@sweattechnologies.com> References: <1371162827196.84882d61@Nodemailer> <5CD2A88E-1FFE-4A4D-A796-F8442B5E23A6@sweattechnologies.com> <005b01ce68a7$b522ffc0$1f68ff40$@net> <005B1F5E-8FA5-424C-A86F-78AA63C0F27A@sweattechnologies.com> <26EB9B03-8CCE-49C7-9948-C72DA0623D8A@sweattechnologies.com> Message-ID: Hello Monte, Thanks for your explanations :) Hope I'll managed to get some free time to explore this new jewel.. All the best. ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage 2013/6/14 Monte Goulding > > On 14/06/2013, at 4:10 PM, Thierry Douez wrote: > > > ?Umm, is that too much asking where we can find this new sdk ? > > It's in the github repo for livecode... a folder named lcidl > > To get it working on OS X you need to create an iOS external project then > add a bundle target. However to get a version of livecode that doesn't hang > when you use LCObjectPost or a tailed handler then you need to cherrypick > this commit from runrevmark: > https://github.com/runrevmark/livecode/commit/f363f333ee05b8429019b7564719e399268cd830 > > Hopefully that will be merged into LC 6.1 ;-) > > Cheers > From monte at sweattechnologies.com Sat Jun 15 04:03:38 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 15 Jun 2013 18:03:38 +1000 Subject: Dropbox in livecode In-Reply-To: References: <1371162827196.84882d61@Nodemailer> <5CD2A88E-1FFE-4A4D-A796-F8442B5E23A6@sweattechnologies.com> <005b01ce68a7$b522ffc0$1f68ff40$@net> <005B1F5E-8FA5-424C-A86F-78AA63C0F27A@sweattechnologies.com> <26EB9B03-8CCE-49C7-9948-C72DA0623D8A@sweattechnologies.com> Message-ID: <33FA49DE-B9AE-40CE-A540-5721C3E2750E@sweattechnologies.com> On 15/06/2013, at 5:51 PM, Thierry Douez wrote: > Thanks for your explanations :) No problem > > Hope I'll managed to get some free time to explore this new jewel.. Yep... it's all starting to come together nicely... not sure if the android Java stuff is ready to play with yet but runrevmark just pushed some changes to his fork that allow the new sdk to work on all the desktop platforms not just OS X. Today I managed to get mergJSON and mergMarkdown to work on iOS and android (they use the old sdk) and created a generic script for building them which I've sent in as a pull request. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From m.schonewille at economy-x-talk.com Sat Jun 15 04:20:37 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 15 Jun 2013 10:20:37 +0200 Subject: Christian Oliver Message-ID: <51BC23D5.4090304@economy-x-talk.com> Dear Christian Oliver, I hope you are on this mailing list. Please contact me if you read this. The contact information I have on record is incorrect. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ From th.douez at gmail.com Sat Jun 15 04:47:02 2013 From: th.douez at gmail.com (Thierry Douez) Date: Sat, 15 Jun 2013 10:47:02 +0200 Subject: Dropbox in livecode In-Reply-To: <33FA49DE-B9AE-40CE-A540-5721C3E2750E@sweattechnologies.com> References: <1371162827196.84882d61@Nodemailer> <5CD2A88E-1FFE-4A4D-A796-F8442B5E23A6@sweattechnologies.com> <005b01ce68a7$b522ffc0$1f68ff40$@net> <005B1F5E-8FA5-424C-A86F-78AA63C0F27A@sweattechnologies.com> <26EB9B03-8CCE-49C7-9948-C72DA0623D8A@sweattechnologies.com> <33FA49DE-B9AE-40CE-A540-5721C3E2750E@sweattechnologies.com> Message-ID: 2013/6/15 Monte Goulding > > On 15/06/2013, at 5:51 PM, Thierry Douez wrote: > > > Thanks for your explanations :) > > No problem > > > > Hope I'll managed to get some free time to explore this new jewel.. > > Yep... it's all starting to come together nicely... not sure if the > android Java stuff is ready to play with yet but runrevmark just pushed > some changes to his fork that allow the new sdk to work on all the desktop > platforms not just OS X ?Is a "start to code with the open source for dummy" documentation somewhere ? ? > Today I managed to get mergJSON and mergMarkdown to work on iOS and > android (they use the old sdk) and created a generic script for building > them which I've sent in as a pull request. > ?Does this mean we can code external in C on Android or did I miss something ? ( never code anything on Android yet) Regards, Thierry? ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage From monte at sweattechnologies.com Sat Jun 15 04:52:26 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 15 Jun 2013 18:52:26 +1000 Subject: Dropbox in livecode In-Reply-To: References: <1371162827196.84882d61@Nodemailer> <5CD2A88E-1FFE-4A4D-A796-F8442B5E23A6@sweattechnologies.com> <005b01ce68a7$b522ffc0$1f68ff40$@net> <005B1F5E-8FA5-424C-A86F-78AA63C0F27A@sweattechnologies.com> <26EB9B03-8CCE-49C7-9948-C72DA0623D8A@sweattechnologies.com> <33FA49DE-B9AE-40CE-A540-5721C3E2750E@sweattechnologies.com> Message-ID: <2C2C020D-A182-4E7C-A1A4-75417F52E18C@sweattechnologies.com> On 15/06/2013, at 6:47 PM, Thierry Douez wrote: > ?Is a "start to code with the open source for dummy" documentation > somewhere ? > Maybe... I think there's most of the stuff you need on the readme at http://github.com/runrev/livecode > ? > >> Today I managed to get mergJSON and mergMarkdown to work on iOS and >> android (they use the old sdk) and created a generic script for building >> them which I've sent in as a pull request. >> > > ?Does this mean we can code external in C on Android or did I miss > something ? Yes, however all the goodies on android are in Java and that's still being sorted. > > ( never code anything on Android yet) I've only done Java apps on Android. -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From th.douez at gmail.com Sat Jun 15 05:24:32 2013 From: th.douez at gmail.com (Thierry Douez) Date: Sat, 15 Jun 2013 11:24:32 +0200 Subject: Dropbox in livecode In-Reply-To: <2C2C020D-A182-4E7C-A1A4-75417F52E18C@sweattechnologies.com> References: <1371162827196.84882d61@Nodemailer> <5CD2A88E-1FFE-4A4D-A796-F8442B5E23A6@sweattechnologies.com> <005b01ce68a7$b522ffc0$1f68ff40$@net> <005B1F5E-8FA5-424C-A86F-78AA63C0F27A@sweattechnologies.com> <26EB9B03-8CCE-49C7-9948-C72DA0623D8A@sweattechnologies.com> <33FA49DE-B9AE-40CE-A540-5721C3E2750E@sweattechnologies.com> <2C2C020D-A182-4E7C-A1A4-75417F52E18C@sweattechnologies.com> Message-ID: 2013/6/15 Monte Goulding > > On 15/06/2013, at 6:47 PM, Thierry Douez wrote: > > > ?Is a "start to code with the open source for dummy" documentation > > somewhere ? > > > > Maybe... I think there's most of the stuff you need on the readme at > http://github.com/runrev/livecode > ?Great. Thanks ! ? > > ?Does this mean we can code external in C on Android or did I miss > > something ? > > Yes, however all the goodies on android are in Java and that's still being > sorted. > ?Great. One false belief dropped :) ? > > > > ( never code anything on Android yet) > > I've only done Java apps on Android. > ?Java... what's that ? just kidding :) Regards, Thierry? ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage From richmondmathewson at gmail.com Sat Jun 15 05:23:46 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 15 Jun 2013 12:23:46 +0300 Subject: LC 6.1 on a G3 iMac Message-ID: <51BC32A2.3090002@gmail.com> OK, OK, I know that something like 99% of all Livecode users are using LC 6.1 on G3 iMacs running Mac OS 10.4.11 well . . . that is why I am taking it 'generously' upon me to point out any ramifications with that sort of setup. And I'll apologise, in advance, to the 1% of you who are having to cope with other machines such as MacBook Pros, Dual Core Intel machines and so forth. ---------------------------------------------------------------------------- ODDLY enough, only one as far as I can tell: If the LC 6.1 app is drag-dropped on the Dock it appears as an empty space (i.e. sans icon). Clicking on that 'empty space' (obviously not really empty) launches LC 6.1. Next stop, the PPC MacMini, also running 10.4.11. It will be interesting to see if this is a G3 iMac problem, or, more likely, a Mac PPC problem. --------------------------------------------------------------------------- Groovy! Richmond. From rene.micout at numericable.com Sat Jun 15 05:44:41 2013 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Sat, 15 Jun 2013 11:44:41 +0200 Subject: LC 6.1 on a G3 iMac In-Reply-To: <51BC32A2.3090002@gmail.com> References: <51BC32A2.3090002@gmail.com> Message-ID: <0244EFBB-2EC2-477A-A88F-2D5552D62221@numericable.com> Le 15 juin 2013 ? 11:23, Richmond a ?crit : > And I'll apologise, in advance, to the 1% of you who are having to > cope with other machines such as MacBook Pros, Dual Core > Intel machines and so forth. ;-) From dsc at swcp.com Sat Jun 15 13:08:13 2013 From: dsc at swcp.com (Dar Scott) Date: Sat, 15 Jun 2013 11:08:13 -0600 Subject: synonyms In-Reply-To: References: Message-ID: The product of engine development is both the engine and a reference. Indeed, the value of the engine is mostly in the knowledge of it, that is in the reference. It is from the reference information that the dictionary, tutorials, books and engine help will come. (And where the reference is weak, from experience.) By engine, I mean as seen by those who use it LiveCode. Much of the engine reference can indeed be embedded in the engine. But, in general, that need not be so. The dictionary summary can even be part of the engine, developers might be required to add a short description of each command and property. But, it is the whole kit, the engine plus reference that matters. In the other direction, the reference might be the dictionary. Perhaps pro forma entries can be made to the dictionary, maybe online, before engine changes are made. People can review that. If information about the engine is shifted from an external reference to the engine, that should be considered in a broad and general sense. It should not, I think at this time, be piecemeal here and there but under some philosophy the minimizes the concepts involved in LiveCode, somehow rich and powerful. This might be an indication that some low level raw view of the engine and of stacks is important. That can be provided by the IDE or plugins. It can be provided by an enhancement of the dictionary. That need not be an engine thing. I like the idea of keeping the pair, engine and reference, very simple. But, simple and rich, I'm not against additions. And I don't mind that some engine information is provided by the engine. However, after thinking about it, I lean toward information being in the reference. A little. I can be swayed. (However, I am fully against a caveat in the reference explaining some corner missing in capability, when it would be as easy to fill in the corner in the engine.) Dar On Jun 14, 2013, at 10:33 PM, Peter Haworth wrote: > I'm sorry to have to post this somewhat angry post. There's a thread on > the engine contributors forum regarding whether it's necessary to return > synonyms from the proposed changes to the propertynames function. SInce > not everyone reads that forum, I'm posting it here. You can read the prior > posts on the forum. > ========================== > OK guys, well I guess I'm disappointed at the closemindedness you're > exhibiting, seems in direct contradiction of "open source". Just because > you can't figure out why someone would want to do something doesn't mean > that someone out there DOES want to do it. Why would you build a brick > wall around something that prevents someone from getting hold of a specific > piece of information that is an inherent part of Livecode? SYnonyms exist, > there should be a way of finding out about them. > > Mark - you're misquoting what I suggested. The key word you omitted is > "optional". I did not insist that synonyms be returned, just that there be > an OPTION to get them. Why does that cause you such a problem? You don't > want them? Then don't request them, simple as that. > > Think about SQL - the entire structure of an SQL database is available to > anyone who wants to discover it. Do you think the implementors thought > "oh, nobody would ever want THAT piece of information?" No, they made > everything available so that anyone who had a need for it could have access > to it. > > So go ahead, implement what YOU think is best, I don't have any more time > to waste on this. > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Sat Jun 15 17:18:26 2013 From: dsc at swcp.com (Dar Scott) Date: Sat, 15 Jun 2013 15:18:26 -0600 Subject: selecting without moving Message-ID: I think somebody told me how to do this some other decade but I forgot. Elsewhere Jacque gave cool tip for ordering controls that involved selecting the controls in the order desired. Well, I am so poorly coordinated that I move the control. Is there a cool way to select controls without dragging them? Dar --------------------------- 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. dsc at swcp.com Computer programming and tinkering, usually in supporting those developing in LiveCode--typically by making LiveCode controls, libraries and externals, and sometimes by writing associated microcontroller firmware. --------------------------- From bornstein at designeq.com Sat Jun 15 17:22:38 2013 From: bornstein at designeq.com (Howard Bornstein) Date: Sat, 15 Jun 2013 14:22:38 -0700 Subject: Using the Find command in IOS Message-ID: The dictionary shows that the Find command is supported in IOS, but I can't seem to make it work as described. I want to "find" a string in a scrolling field and have the field scroll automatically to that string. It works fine on the desktop but doesn't scroll to the found line in the IOS field (although it *does* draw a box around the string, which I don't actually care about). I'm not doing anything with the vscroll property of the scrolling group the field is in, but as far as I can tell, I shouldn't have to. Is there a way to get Find to just scroll to the found string in an IOS text field? Is there more that is needed beside simply using the Find command? -- Regards, Howard Bornstein ----------------------- www.designeq.com From dochawk at gmail.com Sat Jun 15 18:11:33 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 15 Jun 2013 15:11:33 -0700 Subject: argh. The postgres "revdberr," bug bites again--hard, this time Message-ID: I've again hit the bug where a postgres query can be successful yet return the result "revdberr,"--just the single line. This time, though, it means that the actual result--a timestamp from "RETURNING" on an update--does not get returned. &%($)^&(& -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jacques.hausser at unil.ch Sat Jun 15 18:13:42 2013 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Sun, 16 Jun 2013 00:13:42 +0200 Subject: selecting without moving In-Reply-To: References: Message-ID: Dar, I'm almost sure you know all that already, and I'm not sure it's the most elegant way, but I always lock the size and position of each control (lockloc) - after what you can still select them, move them with the arrows, and even align or resize them within the inspector, but not move them with the mouse. Other way: if you control-click on a control, it will be selected, show its contextual menu and? stay solidly at its place. To select multiple controls this way, maj-control-click (but you have to click twice on each control except the first, probably to tell the contextual menu to "jump" to the next control). If you have several controls selected in any order, the menu item "align objects" in the inspector has an option "distribute" vertically or horizontally; here you can choose "first to last selected". Only take care that first and last controls will not move, all the intermediate controls trying to stay (in selection order) between them. So you need to have space enough between first and last ones. If they are more elegant tricks, I would be interested to learn them too. Jacques Le 15 juin 2013 ? 23:18, Dar Scott a ?crit : > I think somebody told me how to do this some other decade but I forgot. > > Elsewhere Jacque gave cool tip for ordering controls that involved selecting the controls in the order desired. > > Well, I am so poorly coordinated that I move the control. > > Is there a cool way to select controls without dragging them? > > Dar > > --------------------------- > 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. > dsc at swcp.com > > Computer programming and tinkering, > usually in supporting those developing in > LiveCode--typically by making LiveCode > controls, libraries and externals, and > sometimes by writing associated > microcontroller firmware. > --------------------------- > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From jacques.hausser at unil.ch Sat Jun 15 18:21:57 2013 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Sun, 16 Jun 2013 00:21:57 +0200 Subject: selecting without moving In-Reply-To: References: Message-ID: <0A92C201-627A-4FCE-B86B-B2DD810349D7@unil.ch> Le 16 juin 2013 ? 00:13, Jacques Hausser a ?crit : > Dar, > > I'm almost sure you know all that already, and I'm not sure it's the most elegant way, but I always lock the size and position of each control (lockloc) - after what you can still select them, move them with the arrows, and even align or resize them within the inspector, but not move them with the mouse. > > Other way: if you control-click on a control, it will be selected, show its contextual menu and? stay solidly at its place. To select multiple controls this way, maj-control-click (but you have to click twice on each control except the first, probably to tell the contextual menu to "jump" to the next control). or right-click and maj-right-click (sorry, I have a Mac) > > If you have several controls selected in any order, the menu item "align objects" in the inspector has an option "distribute" vertically or horizontally; here you can choose "first to last selected". Only take care that first and last controls will not move, all the intermediate controls trying to stay (in selection order) between them. So you need to have space enough between first and last ones. > > If they are more elegant tricks, I would be interested to learn them too. > > Jacques > > > Le 15 juin 2013 ? 23:18, Dar Scott a ?crit : > >> I think somebody told me how to do this some other decade but I forgot. >> >> Elsewhere Jacque gave cool tip for ordering controls that involved selecting the controls in the order desired. >> >> Well, I am so poorly coordinated that I move the control. >> >> Is there a cool way to select controls without dragging them? >> >> Dar >> >> --------------------------- >> 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. >> dsc at swcp.com >> >> Computer programming and tinkering, >> usually in supporting those developing in >> LiveCode--typically by making LiveCode >> controls, libraries and externals, and >> sometimes by writing associated >> microcontroller firmware. >> --------------------------- >> >> >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > ****************************************** > Prof. Jacques Hausser > Department of Ecology and Evolution > Biophore / Sorge > University of Lausanne > CH 1015 Lausanne > please use my private address: > 6 route de Burtigny > CH-1269 Bassins > tel: ++ 41 22 366 19 40 > mobile: ++ 41 79 757 05 24 > E-Mail: jacques.hausser at unil.ch > ******************************************* > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From alex at tweedly.net Sat Jun 15 18:47:45 2013 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 15 Jun 2013 23:47:45 +0100 Subject: a *fast* check for whether another machine is on the local network? In-Reply-To: <3408B1C5-9C41-4D94-B7AC-091EAAD3FD3B@swcp.com> References: <388241D8-5614-421F-AE77-C4E1DB6FEA2F@swcp.com> <51BB7D49.8060804@tweedly.net> <51BBA121.4070502@tweedly.net> <4DBE7536-8988-4809-A754-C0A65A13D6FD@swcp.com> <3408B1C5-9C41-4D94-B7AC-091EAAD3FD3B@swcp.com> Message-ID: <51BCEF11.8000904@tweedly.net> Sorry, should have included all that info in case it varies .... OS X 10.8.4 LC 6.0.1 (rc1) Some random wifi network in a cafe I did something like repeat with i = 1 to 100 shell ("ping -c 1 10.0.0." & i) end repeat 10.0.0.33 was some random machine (i.e. not me) on the same network (I suspect a better set up wifi network shouldn't have let me see all of them ... ??) I did an arp -a looked to see what machines were there, picked one, deleted its arp entry (with sudo arp -d 10.0.0.33), and then tried my code the arp entry re-appeared with its mac address info - except for one time when it was incomplete. So I added the paranoid wait. With that in place, it always worked, but I can't swear that the wait made the difference, rather than some random event. Couldn't recreate the failure, even without the wait. Right now I'm on a different (hotel) network, and can't see any other devices, so can't try it here. -- Alex. On 15/06/2013 05:08, Dar Scott wrote: > OK, I have been able to remove one entry from the arp table using this: > > sudo arp -d 10.20.40.50 inscope en0 > > The result does not look good. The mouseUp handler does add an entry to the arp table, but it is marked incomplete instead of having an MAC address. It does the same for a computer that is available or something bogus. Maybe I need to add the paranoid line. > > Dar > > > On Jun 14, 2013, at 5:24 PM, Dar Scott wrote: > >> close? >> platform? >> (looks OK so far on 10.6) >> >> And suppose I'm from Missouri. How do I know it wasn't already there? >> >> I tried sudo arp -d -a, but must have done something wrong. I see no change in arp -a. >> >> Dar >> >> >> On Jun 14, 2013, at 5:02 PM, Alex Tweedly wrote: >> >>> It does. I wondered also, so I tried it out before I posted - actual code below ... >>> >>> on mouseup >>> open datagram socket to "10.0.0.33:4000" -- NB we don't care if this succeeds or not >>> put shell("arp -a") into t >>> put t >>> end mouseup >>> >>> -- Alex. >>> >>> >>> >>> From dsc at swcp.com Sat Jun 15 19:08:42 2013 From: dsc at swcp.com (Dar Scott) Date: Sat, 15 Jun 2013 17:08:42 -0600 Subject: a *fast* check for whether another machine is on the local network? In-Reply-To: <51BCEF11.8000904@tweedly.net> References: <388241D8-5614-421F-AE77-C4E1DB6FEA2F@swcp.com> <51BB7D49.8060804@tweedly.net> <51BBA121.4070502@tweedly.net> <4DBE7536-8988-4809-A754-C0A65A13D6FD@swcp.com> <3408B1C5-9C41-4D94-B7AC-091EAAD3FD3B@swcp.com> <51BCEF11.8000904@tweedly.net> Message-ID: Yeah, a delay might be needed. Maybe the close socket should be after the delay, too. I'll check on my system and see what I get with a delay. This is a genus idea, Alex, so I hope it works. And I hope it can move to Windows. Dar PS: I hope the coffee shop or hotel does not automatically blacklist your MAC address. On Jun 15, 2013, at 4:47 PM, Alex Tweedly wrote: > Sorry, should have included all that info in case it varies .... > > OS X 10.8.4 > LC 6.0.1 (rc1) > Some random wifi network in a cafe > > I did something like > repeat with i = 1 to 100 > shell ("ping -c 1 10.0.0." & i) > end repeat > > > 10.0.0.33 was some random machine (i.e. not me) on the same network > (I suspect a better set up wifi network shouldn't have let me see all of them ... ??) > > I did an arp -a > looked to see what machines were there, picked one, deleted its arp entry (with sudo arp -d 10.0.0.33), and then tried my code > > the arp entry re-appeared with its mac address info - except for one time when it was incomplete. So I added the paranoid wait. With that in place, it always worked, but I can't swear that the wait made the difference, rather than some random event. Couldn't recreate the failure, even without the wait. > > Right now I'm on a different (hotel) network, and can't see any other devices, so can't try it here. > > -- Alex. > > > On 15/06/2013 05:08, Dar Scott wrote: >> OK, I have been able to remove one entry from the arp table using this: >> >> sudo arp -d 10.20.40.50 inscope en0 >> >> The result does not look good. The mouseUp handler does add an entry to the arp table, but it is marked incomplete instead of having an MAC address. It does the same for a computer that is available or something bogus. Maybe I need to add the paranoid line. >> >> Dar >> >> >> On Jun 14, 2013, at 5:24 PM, Dar Scott wrote: >> >>> close? >>> platform? >>> (looks OK so far on 10.6) >>> >>> And suppose I'm from Missouri. How do I know it wasn't already there? >>> >>> I tried sudo arp -d -a, but must have done something wrong. I see no change in arp -a. >>> >>> Dar >>> >>> >>> On Jun 14, 2013, at 5:02 PM, Alex Tweedly wrote: >>> >>>> It does. I wondered also, so I tried it out before I posted - actual code below ... >>>> >>>> on mouseup >>>> open datagram socket to "10.0.0.33:4000" -- NB we don't care if this succeeds or not >>>> put shell("arp -a") into t >>>> put t >>>> end mouseup >>>> >>>> -- Alex. >>>> >>>> >>>> >>>> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Sat Jun 15 19:43:13 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 15 Jun 2013 16:43:13 -0700 Subject: finding the name of the displayed card of stack foo? Message-ID: Surely this is easy, and surely I knew how to do it once upon a time . . . the openStacks tells us which stacks are open, and in what order. But how do I find the name of the active/front/top/whatever card of the stack??? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From m.schonewille at economy-x-talk.com Sat Jun 15 19:51:57 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 16 Jun 2013 01:51:57 +0200 Subject: finding the name of the displayed card of stack foo? In-Reply-To: References: Message-ID: <8471CA79-4BC3-4F00-A0B2-5058E7DBCDA1@economy-x-talk.com> Hi Richard, put the short name of the current card of stack "foo" -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 16 jun 2013, at 01:43, Dr. Hawkins wrote: > Surely this is easy, and surely I knew how to do it once upon a time . . . > > the openStacks tells us which stacks are open, and in what order. > > But how do I find the name of the active/front/top/whatever card of the stack??? > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 From dsc at swcp.com Sat Jun 15 19:52:17 2013 From: dsc at swcp.com (Dar Scott) Date: Sat, 15 Jun 2013 17:52:17 -0600 Subject: selecting without moving In-Reply-To: References: Message-ID: I have my mac set up to control-click for a right click, so the method of "right-click and then shift-right-click" works. I didn't have to click twice on OS X 10.6. And yeah, lockloc is a good habit for me. I'm switching to left-handed mousing, so this is a good time to learn habits in selecting multiple things. Thank you! Dar On Jun 15, 2013, at 4:13 PM, Jacques Hausser wrote: > Dar, > > I'm almost sure you know all that already, and I'm not sure it's the most elegant way, but I always lock the size and position of each control (lockloc) - after what you can still select them, move them with the arrows, and even align or resize them within the inspector, but not move them with the mouse. > > Other way: if you control-click on a control, it will be selected, show its contextual menu and? stay solidly at its place. To select multiple controls this way, maj-control-click (but you have to click twice on each control except the first, probably to tell the contextual menu to "jump" to the next control). > > If you have several controls selected in any order, the menu item "align objects" in the inspector has an option "distribute" vertically or horizontally; here you can choose "first to last selected". Only take care that first and last controls will not move, all the intermediate controls trying to stay (in selection order) between them. So you need to have space enough between first and last ones. > > If they are more elegant tricks, I would be interested to learn them too. > > Jacques > > > Le 15 juin 2013 ? 23:18, Dar Scott a ?crit : > >> I think somebody told me how to do this some other decade but I forgot. >> >> Elsewhere Jacque gave cool tip for ordering controls that involved selecting the controls in the order desired. >> >> Well, I am so poorly coordinated that I move the control. >> >> Is there a cool way to select controls without dragging them? >> >> Dar >> >> --------------------------- >> 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. >> dsc at swcp.com >> >> Computer programming and tinkering, >> usually in supporting those developing in >> LiveCode--typically by making LiveCode >> controls, libraries and externals, and >> sometimes by writing associated >> microcontroller firmware. >> --------------------------- >> >> >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > ****************************************** > Prof. Jacques Hausser > Department of Ecology and Evolution > Biophore / Sorge > University of Lausanne > CH 1015 Lausanne > please use my private address: > 6 route de Burtigny > CH-1269 Bassins > tel: ++ 41 22 366 19 40 > mobile: ++ 41 79 757 05 24 > E-Mail: jacques.hausser at unil.ch > ******************************************* > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacques.hausser at unil.ch Sat Jun 15 19:54:59 2013 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Sun, 16 Jun 2013 01:54:59 +0200 Subject: finding the name of the displayed card of stack foo? In-Reply-To: References: Message-ID: put the name of the current card of stack "myOtherStack" into fld "CardName" Jacques Le 16 juin 2013 ? 01:43, "Dr. Hawkins" a ?crit : > Surely this is easy, and surely I knew how to do it once upon a time . . . > > the openStacks tells us which stacks are open, and in what order. > > But how do I find the name of the active/front/top/whatever card of the stack??? > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From dochawk at gmail.com Sat Jun 15 20:03:33 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 15 Jun 2013 17:03:33 -0700 Subject: finding the name of the displayed card of stack foo? In-Reply-To: <8471CA79-4BC3-4F00-A0B2-5058E7DBCDA1@economy-x-talk.com> References: <8471CA79-4BC3-4F00-A0B2-5058E7DBCDA1@economy-x-talk.com> Message-ID: On Sat, Jun 15, 2013 at 4:51 PM, Mark Schonewille wrote: > > put the short name of the current card of stack "foo" Ahh. Thanks. Duh. I went through front, current, top, visible . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From m.schonewille at economy-x-talk.com Sat Jun 15 20:04:36 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 16 Jun 2013 02:04:36 +0200 Subject: [ANN] LiveCode-bijeenkomst in Nederland - Herinnering Message-ID: <51BD0114.6030703@economy-x-talk.com> Beste LiveCode-gebruikers, Bijna een jaar geleden organiseerden we een bijeenkomst voor Nederlandse LiveCoders. Het is de hoogste tijd weer eens bijeen te komen. Op de agenda staan: presentaties, hulp met LiveCode-kwesties, algemene vragen, boekpresentatie en signeren, verloting van een Take Control of your Mac e-book en TopXNotes http://qery.us/3ij software. Hoogstwaarschijnlijk kunnen we een of twee bekende gezichten uit het buitenland verwelkomen. Drank en versnaperingen komen voor eigen rekening. Toegang gratis. Als je bij deze bijeenkomst wilt zijn, dan kun je deze link http://qery.us/3i4 gebruiken om aan te geven welke dag en tijd jou het beste uitkomen. Je kunt ook meerdere tijdstippen selecteren, als je geen specifieke voorkeur hebt. In verband met deelname uit het buitenland, zullen we proberen een zo laat mogelijke datum vast te stellen. Belangrijk: Je kunt tot uiterlijk woensdag 19 juni reageren! Heb je vragen? Dan kun je die aan ondergetekende sturen via m.schonewille at economy-x-talk.com. Als je nog iemand kent die wellicht ook aan de bijeenkomst deel wil nemen, stuur hem of haar dan een kopietje van deze e-mail. Summary in English: LiveCode meeting in the Netherlands - Reminder After almost an entire year, it is time for Dutch LiveCode users to have another meeting. Subjects this time: presentations, questions, book "Programming LiveCode...", two raffles, and possibly a foreign guest. If you want to participate, you can register at http://qery.us/3i4 and indicate which date and time suits you best. Any questions? Send me a message. Feel free to send a copy of this e-mail to your friends. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ From andre.bisseret at wanadoo.fr Sun Jun 16 04:07:38 2013 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Sun, 16 Jun 2013 10:07:38 +0200 Subject: selecting without moving In-Reply-To: References: Message-ID: <8DA03FBF-FB8C-43EA-9589-83EE3019B7FC@wanadoo.fr> Thank you much Jacques for this information. Very useful Up to now, I was unlocking the size and position before moving the controls! Andr? Le 16 juin 2013 ? 00:13, Jacques Hausser a ?crit : > Dar, > > I'm almost sure you know all that already, and I'm not sure it's the most elegant way, but I always lock the size and position of each control (lockloc) - after what you can still select them, move them with the arrows, and even align or resize them within the inspector, but not move them with the mouse. > > Other way: if you control-click on a control, it will be selected, show its contextual menu and? stay solidly at its place. To select multiple controls this way, maj-control-click (but you have to click twice on each control except the first, probably to tell the contextual menu to "jump" to the next control). > > If you have several controls selected in any order, the menu item "align objects" in the inspector has an option "distribute" vertically or horizontally; here you can choose "first to last selected". Only take care that first and last controls will not move, all the intermediate controls trying to stay (in selection order) between them. So you need to have space enough between first and last ones. > > If they are more elegant tricks, I would be interested to learn them too. > > Jacques > > > Le 15 juin 2013 ? 23:18, Dar Scott a ?crit : > >> I think somebody told me how to do this some other decade but I forgot. >> >> Elsewhere Jacque gave cool tip for ordering controls that involved selecting the controls in the order desired. >> >> Well, I am so poorly coordinated that I move the control. >> >> Is there a cool way to select controls without dragging them? >> >> Dar >> >> --------------------------- >> 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. >> dsc at swcp.com >> >> Computer programming and tinkering, >> usually in supporting those developing in >> LiveCode--typically by making LiveCode >> controls, libraries and externals, and >> sometimes by writing associated >> microcontroller firmware. >> --------------------------- >> >> >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > ****************************************** > Prof. Jacques Hausser > Department of Ecology and Evolution > Biophore / Sorge > University of Lausanne > CH 1015 Lausanne > please use my private address: > 6 route de Burtigny > CH-1269 Bassins > tel: ++ 41 22 366 19 40 > mobile: ++ 41 79 757 05 24 > E-Mail: jacques.hausser at unil.ch > ******************************************* > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From selander at tkf.att.ne.jp Sun Jun 16 04:41:39 2013 From: selander at tkf.att.ne.jp (Tim Selander) Date: Sun, 16 Jun 2013 17:41:39 +0900 Subject: [OT] What's happening here in Turkey... In-Reply-To: References: Message-ID: <51BD7A43.1090109@tkf.att.ne.jp> Ender, The news coming out of Instanbul doesn't sound good. If you are able, please let us know if you are OK or not. Tim Selander Tokyo, Japan From jacques.hausser at unil.ch Sun Jun 16 07:53:32 2013 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Sun, 16 Jun 2013 13:53:32 +0200 Subject: dictionary dream (was [Re: finding the name of the displayed card of stack foo?] ) In-Reply-To: References: <8471CA79-4BC3-4F00-A0B2-5058E7DBCDA1@economy-x-talk.com> Message-ID: Yes, that's a problem when intuition doesn't correspond to the index of the dictionary? it would be interesting to develop a "maybe you're thinking of?" algorithm for the dictionary ( without clogging the language with synonyms), for example by redirecting toward "real" commands such searches as "fill field "xxx" with?", "display myText in field?", "erase line 1 of field "xxx" ", and so on. It could be an online process contributed by the users: I was trying to find: (intuitive command) and finally discovered it was: (existing command). Unfortunately that's far, far over my technical competences to start something like that. It's probably a big overlap with "openLanguage" anyway. Jacques Le 16 juin 2013 ? 02:03, "Dr. Hawkins" a ?crit : > On Sat, Jun 15, 2013 at 4:51 PM, Mark Schonewille > wrote: >> >> put the short name of the current card of stack "foo" > > Ahh. > > Thanks. > > Duh. > > I went through front, current, top, visible . . . > > > > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From m.schonewille at economy-x-talk.com Sun Jun 16 08:00:31 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 16 Jun 2013 14:00:31 +0200 Subject: dictionary dream (was [Re: finding the name of the displayed card of stack foo?] ) In-Reply-To: References: <8471CA79-4BC3-4F00-A0B2-5058E7DBCDA1@economy-x-talk.com> Message-ID: <51BDA8DF.1000108@economy-x-talk.com> Hi Jacques, BvG Docu provides full-text search. That should be pretty close to your dream :-) http://bjoernke.com/?target=bvgdocu -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 6/16/2013 13:53, Jacques Hausser wrote: > Yes, that's a problem when intuition doesn't correspond to the index of the dictionary? it would be interesting to develop a "maybe you're thinking of?" algorithm for the dictionary ( without clogging the language with synonyms), for example by redirecting toward "real" commands such searches as "fill field "xxx" with?", "display myText in field?", "erase line 1 of field "xxx" ", and so on. It could be an online process contributed by the users: I was trying to find: (intuitive command) and finally discovered it was: (existing command). > Unfortunately that's far, far over my technical competences to start something like that. It's probably a big overlap with "openLanguage" anyway. > > Jacques > > Le 16 juin 2013 ? 02:03, "Dr. Hawkins" a ?crit : > >> On Sat, Jun 15, 2013 at 4:51 PM, Mark Schonewille >> wrote: >>> >>> put the short name of the current card of stack "foo" >> >> Ahh. >> >> Thanks. >> >> Duh. >> >> I went through front, current, top, visible . . . >> From dave at businessplaninsight.com Sun Jun 16 08:29:55 2013 From: dave at businessplaninsight.com (Dave Kilroy2) Date: Sun, 16 Jun 2013 05:29:55 -0700 (PDT) Subject: [OT] What's happening here in Turkey... In-Reply-To: <51BD7A43.1090109@tkf.att.ne.jp> References: <51BD7A43.1090109@tkf.att.ne.jp> Message-ID: <1371385795323-4666539.post@n4.nabble.com> Ender My family and I are also hoping you and yours are OK - we send you greetings and best wishes... Dave -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-What-s-happening-here-in-Turkey-tp4666044p4666539.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacques.hausser at unil.ch Sun Jun 16 08:41:41 2013 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Sun, 16 Jun 2013 14:41:41 +0200 Subject: dictionary dream (was [Re: finding the name of the displayed card of stack foo?] ) In-Reply-To: <51BDA8DF.1000108@economy-x-talk.com> References: <8471CA79-4BC3-4F00-A0B2-5058E7DBCDA1@economy-x-talk.com> <51BDA8DF.1000108@economy-x-talk.com> Message-ID: <8F17C588-B3AD-4827-AF6A-B16BE9FC108D@unil.ch> Hy Mark, Thank you for the information. Useful stack ! But it fills my dreams only partially: it does not give the correct equivalent of "wrong-but-logical" commands like e.g. "fill field "XXX" with?". And as far as I can see, it doesn't (yet ?) allow to extend a list of such "vrong-but-logical" commands and their correct equivalents. Such a list could only be built progressively by users. Jacques Le 16 juin 2013 ? 14:00, Mark Schonewille a ?crit : > Hi Jacques, > > BvG Docu provides full-text search. That should be pretty close to your dream :-) > http://bjoernke.com/?target=bvgdocu > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi > > Fill out this survey please > http://livecodebeginner.economy-x-talk.com/survey/ > > On 6/16/2013 13:53, Jacques Hausser wrote: >> Yes, that's a problem when intuition doesn't correspond to the index of the dictionary? it would be interesting to develop a "maybe you're thinking of?" algorithm for the dictionary ( without clogging the language with synonyms), for example by redirecting toward "real" commands such searches as "fill field "xxx" with?", "display myText in field?", "erase line 1 of field "xxx" ", and so on. It could be an online process contributed by the users: I was trying to find: (intuitive command) and finally discovered it was: (existing command). >> Unfortunately that's far, far over my technical competences to start something like that. It's probably a big overlap with "openLanguage" anyway. >> >> Jacques >> >> Le 16 juin 2013 ? 02:03, "Dr. Hawkins" a ?crit : >> >>> On Sat, Jun 15, 2013 at 4:51 PM, Mark Schonewille >>> wrote: >>>> >>>> put the short name of the current card of stack "foo" >>> >>> Ahh. >>> >>> Thanks. >>> >>> Duh. >>> >>> I went through front, current, top, visible . . . >>> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From pmbrig at gmail.com Sun Jun 16 08:55:40 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sun, 16 Jun 2013 08:55:40 -0400 Subject: Truncate Text Based On Available Space? In-Reply-To: <51B93602.4010900@hyperactivesw.com> References: <51B932BA.505@hyperactivesw.com> <33252F4B-FD6B-4D3F-A6D2-4E41DC819EFE@sweattechnologies.com> <51B93602.4010900@hyperactivesw.com> Message-ID: <24F47B90-5570-415D-BB9D-2F83AD4E472E@gmail.com> Sorry about chiming it so late on this thread, but I got several days behind in perusing the list. If you use the templatefield then you would first have to set the properties of the templatefield to the properties of the field you are using, right? Which brings us back to the thread about what exactly "the properties of field 1" contains. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Jun 12, 2013, at 11:01 PM, J. Landman Gay wrote: > On 6/12/13 9:57 PM, Monte Goulding wrote: >> >> On 13/06/2013, at 12:47 PM, J. Landman Gay wrote: >> >>> I did this ages ago, like back in MC. I used a real field, but now that I know better I'd use the templatefield instead. It's ugly, but since you can only measure text width from a field, you have to loop. The pseudocode is something like: >>> >>> store the original text somewhere for reference later >>> put it into a field >>> repeat until the formattedwidth of the text is <= the column: >>> delete last char of the field >>> put "..." into last char of the field >>> end repeat >>> >>> Even with a "real" field it was still pretty fast. Probably would be faster with the templatefield. The "..." isn't three periods, it needs to be the real elipsis character so that the "last" character includes all three visual dots. >> >> Cool... wouldn't it be nice if there was a field property to get it to do that automatically.... > > You bet. And while you're at it, make it so we can optionally insert the elipsis into the middle of the string too, like Apple does it. :) From pmbrig at gmail.com Sun Jun 16 09:20:57 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sun, 16 Jun 2013 09:20:57 -0400 Subject: a *fast* check for whether another machine is on the local network? In-Reply-To: References: <8D036920BF72013-2240-E132@webmail-m204.sysops.aol.com> Message-ID: <826F158D-8E59-4D8B-BDCA-C3CA474B92F0@gmail.com> Somewhat off-topic, but?. Given your target population of laptops that move around among various wireless networks you might be interested in these printing routines as well. I have a set of handlers that will automatically set the default printer to whatever printer is available, either by USB or wireless. This allows one-click printing without any printer dialog. It uses shell calls and I have only used it on the Mac, as I don't have a Windows machine. Don't know if you could adapt it somehow for Windows. Email me off list if you want the scripts. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Jun 13, 2013, at 5:54 PM, Dr. Hawkins wrote: > On Thu, Jun 13, 2013 at 2:13 PM, wrote: >> Would the "openSockets" function do what you need? Not as direct as what >> OS9 could do, but those days are over. And I am sure there must be an >> appleScript gadget that could query the network. > > But that only handles connections already open, doesn't it? > > What I'm really looking at is a laptop that spends some of its time in > the office, but also goes to court, where an attorney may want to make > time entries. > > At that point, I'd like the laptop to simply figure out where it is > without waiting for a timeout. > > The problem with applescript is that I'll be selling more windows than > mac for the foreseeable future, and I'm tryng to limit the number of > areas in which windows gets short-featured for its deficiencies . . . From mazzapaoloitaly at gmail.com Sun Jun 16 09:27:24 2013 From: mazzapaoloitaly at gmail.com (paolo mazza) Date: Sun, 16 Jun 2013 15:27:24 +0200 Subject: [OT] What's happening here in Turkey... In-Reply-To: <1371385795323-4666539.post@n4.nabble.com> References: <51BD7A43.1090109@tkf.att.ne.jp> <1371385795323-4666539.post@n4.nabble.com> Message-ID: Ender, please let us know if you and your family are OK. I wish you all the best Paolo On Sun, Jun 16, 2013 at 2:29 PM, Dave Kilroy2 wrote: > Ender > > My family and I are also hoping you and yours are OK - we send you > greetings > and best wishes... > > Dave > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/OT-What-s-happening-here-in-Turkey-tp4666044p4666539.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From endernafi at gmail.com Sun Jun 16 10:13:32 2013 From: endernafi at gmail.com (Ender Nafi) Date: Sun, 16 Jun 2013 17:13:32 +0300 Subject: [OT] What's happening here in Turkey... Message-ID: dave, tim and all my dear friends out there; my sincere thanks to all of you... i won't / can' t write long. *last night, they emptied gezi park following erdogan's direct orders. *the attack was brutal as always. find the statements of claudia roth (german green party), google it, youtube it. she was there with us. *after emptying the park, police pursued us with gas and water. they confessed that they added tear gas solution to the water they cannoned to us. it burns like hell. * police shot gas inside the infirmaries. { geneva convention? yeah, baby, our police, our humanist heroes ;-) } they entered into the "german hospital" to arrest the wounded people. they succeeded. * this morning, police arrested many doctors who worked voluntarily in the infirmaries and hospitals. in tv channels, they referred them as 'marginal resistors wearing white, long shirts'. THEY ARE DOCTORS, it's their uniform all over the world :)) * there are at least 150 confirmed arrests. BUT, we can't find them. you heard right. volunteered lawyers of bar search them to defend, however, all the precincts and police stations reply that they don't have anyone. WHERE ARE THEY??? the dumbness of the majority who sit at home and still believe erdogan, the $#!#$$@* - ness of turkish media, the lies of governor and parliament and erdogan doesn't drive me crazy anymore. no, sir. i got used to :) even the pepper gas doesn't effect me, we're evolving :)) we're on the streets, still. we're resisting peacefully, still. we'll protect the weak, now and forever. with my warmest regards from istanbul, ender nafi one more thing: the chief editor of tv channel Kanal24, Yigit Bulut, claimed that some evil international organizations are trying to kill erdogan using TELEKINESIS :)))) no, it's not a joke. *chief editor, mainstream tv, official statement* erdogan's defenders and voters are these ;-) From dochawk at gmail.com Sun Jun 16 10:54:40 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 16 Jun 2013 07:54:40 -0700 Subject: a *fast* check for whether another machine is on the local network? In-Reply-To: <826F158D-8E59-4D8B-BDCA-C3CA474B92F0@gmail.com> References: <8D036920BF72013-2240-E132@webmail-m204.sysops.aol.com> <826F158D-8E59-4D8B-BDCA-C3CA474B92F0@gmail.com> Message-ID: On Sun, Jun 16, 2013 at 6:20 AM, Peter M. Brigham wrote: > Somewhat off-topic, but?. Given your target population of laptops >that move around among various wireless networks you might be >interested in these printing routines as well. You mean, like, on paper? :) >I have a set of handlers that will automatically set the default printer >to whatever printer is available, either by USB or wireless. This >allows one-click printing without any printer dialog. It uses shell >calls and I have only used it on the Mac, as I don't have a Windows >machine. Don't know if you could adapt it somehow for Windows. >Email me off list if you want the scripts. Thanks--but I haven't really given much thought to paper printing. For my product, there will be a printing for signing, presumably at the office, and then the original pdf, not a scan of it, will get filed (some courts, in fact, prohibit the use of the scanned copy, requiring the searchable computer output.) For a while, at least one of my traveling computers (a retina and a big iMac was defaulting to the printers on the network). Hmm, just checked; it appears to be this retina--it just offered me the printer in the next room, instead of the office printers. I'll share my settings if anyone knows what I need to look for :) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Sun Jun 16 11:00:12 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 16 Jun 2013 08:00:12 -0700 Subject: dictionary dream (was [Re: finding the name of the displayed card of stack foo?] ) In-Reply-To: <8F17C588-B3AD-4827-AF6A-B16BE9FC108D@unil.ch> References: <8471CA79-4BC3-4F00-A0B2-5058E7DBCDA1@economy-x-talk.com> <51BDA8DF.1000108@economy-x-talk.com> <8F17C588-B3AD-4827-AF6A-B16BE9FC108D@unil.ch> Message-ID: On Sun, Jun 16, 2013 at 5:41 AM, Jacques Hausser wrote: > Hy Mark, > > Thank you for the information. Useful stack ! But it fills my dreams >only partially: it does not give the correct equivalent of "wrong- >but-logical" commands like e.g. "fill field "XXX" with?". And as far >as I can see, it doesn't (yet ?) allow to extend a list of such "vrong- >but-logical" commands and their correct equivalents. Such a list >could only be built progressively by users. It could conceivably be done with a database back end. Toss up a few random choices, and a few algorithmic choices. Weight what gets clicked as a related suggestion from the queried search. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dsc at swcp.com Sun Jun 16 11:58:22 2013 From: dsc at swcp.com (Dar Scott) Date: Sun, 16 Jun 2013 09:58:22 -0600 Subject: dictionary dream (was [Re: finding the name of the displayed card of stack foo?] ) In-Reply-To: References: <8471CA79-4BC3-4F00-A0B2-5058E7DBCDA1@economy-x-talk.com> Message-ID: I like the idea. And I like the idea of how it can grow by explicit entries. Maybe that can even be inferred; we can ask the NSA what people were looking for and what they found. Uh, wait, I mean maybe all it takes is a click on a dictionary page that says, this is what I have been recently looking for. Another idea is to find a an associative list some place. Even with print indexes of some other century, I thought entries should include more than just product jargon, but also common words and even competitors' jargon. I think it would be nice to have this and structured browsing. Climbing into a tree of categories with only ten things listed near the leaves might help. Dar On Jun 16, 2013, at 5:53 AM, Jacques Hausser wrote: > Yes, that's a problem when intuition doesn't correspond to the index of the dictionary? it would be interesting to develop a "maybe you're thinking of?" algorithm for the dictionary ( without clogging the language with synonyms), for example by redirecting toward "real" commands such searches as "fill field "xxx" with?", "display myText in field?", "erase line 1 of field "xxx" ", and so on. It could be an online process contributed by the users: I was trying to find: (intuitive command) and finally discovered it was: (existing command). > Unfortunately that's far, far over my technical competences to start something like that. It's probably a big overlap with "openLanguage" anyway. > > Jacques > > Le 16 juin 2013 ? 02:03, "Dr. Hawkins" a ?crit : > >> On Sat, Jun 15, 2013 at 4:51 PM, Mark Schonewille >> wrote: >>> >>> put the short name of the current card of stack "foo" >> >> Ahh. >> >> Thanks. >> >> Duh. >> >> I went through front, current, top, visible . . . >> >> >> >> >> >> -- >> Dr. Richard E. Hawkins, Esq. >> (702) 508-8462 >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > ****************************************** > Prof. Jacques Hausser > Department of Ecology and Evolution > Biophore / Sorge > University of Lausanne > CH 1015 Lausanne > please use my private address: > 6 route de Burtigny > CH-1269 Bassins > tel: ++ 41 22 366 19 40 > mobile: ++ 41 79 757 05 24 > E-Mail: jacques.hausser at unil.ch > ******************************************* > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Jun 16 13:15:40 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 16 Jun 2013 20:15:40 +0300 Subject: [OT] What's happening here in Turkey... In-Reply-To: References: Message-ID: <51BDF2BC.8010406@gmail.com> On 06/16/2013 05:13 PM, Ender Nafi wrote: > dave, tim and all my dear friends out there; > my sincere thanks to all of you... > > i won't / can' t write long. > > *last night, they emptied gezi park following erdogan's direct orders. > > *the attack was brutal as always. > find the statements of claudia roth (german green party), google it, youtube it. she was there with us. > > *after emptying the park, police pursued us with gas and water. they confessed that they added tear gas solution to the water they cannoned to us. it burns like hell. > > * police shot gas inside the infirmaries. { geneva convention? yeah, baby, our police, our humanist heroes ;-) } they entered into the "german hospital" to arrest the wounded people. they succeeded. > > * this morning, police arrested many doctors who worked voluntarily in the infirmaries and hospitals. in tv channels, they referred them as 'marginal resistors wearing white, long shirts'. THEY ARE DOCTORS, it's their uniform all over the world :)) > > * there are at least 150 confirmed arrests. BUT, we can't find them. you heard right. volunteered lawyers of bar search them to defend, however, all the precincts and police stations reply that they don't have anyone. WHERE ARE THEY??? > > > the dumbness of the majority who sit at home and still believe erdogan, the $#!#$$@* - ness of turkish media, the lies of governor and parliament and erdogan doesn't drive me crazy anymore. no, sir. i got used to :) even the pepper gas doesn't effect me, we're evolving :)) > > we're on the streets, still. > we're resisting peacefully, still. > we'll protect the weak, now and forever. > > > with my warmest regards from istanbul, > ender nafi > > one more thing: the chief editor of tv channel Kanal24, Yigit Bulut, claimed that some evil international organizations are trying to kill erdogan using TELEKINESIS :)))) no, it's not a joke. *chief editor, mainstream tv, official statement* erdogan's defenders and voters are these ;-) > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode All the best; I'm just back from a protest in the centre of Plovdiv as a result of the newly elected government elected a known Mafia leader as head of the Secret Police!!!! Luckily the police leant against lamp-posts, chewed gum, and quite a few of them were smiling at the protesters. Protests right across Bulgaria to bring down the government . . . however the last one was brought down by protests at which point "the people" voted pretty much the same people in again . . . let's see if they can be sufficiently stupid to do it again. Richmond. From jacque at hyperactivesw.com Sun Jun 16 13:41:54 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 16 Jun 2013 12:41:54 -0500 Subject: Using the Find command in IOS In-Reply-To: References: Message-ID: <51BDF8E2.8090603@hyperactivesw.com> On 6/15/13 4:22 PM, Howard Bornstein wrote: > The dictionary shows that the Find command is supported in IOS, but I can't > seem to make it work as described. > > I want to "find" a string in a scrolling field and have the field scroll > automatically to that string. It works fine on the desktop but doesn't > scroll to the found line in the IOS field (although it *does* draw a box > around the string, which I don't actually care about). > > I'm not doing anything with the vscroll property of the scrolling group the > field is in, but as far as I can tell, I shouldn't have to. > > Is there a way to get Find to just scroll to the found string in an IOS > text field? Is there more that is needed beside simply using the Find > command? > The field itself will scroll but that's all, you'll have to manage the group scroll yourself. If you're using a native iOS scroller you'll need to adjust that too. Probably the best way would be to note the starting scroll of the field before the find command, calculate the difference afterward, and then adjust the group and iOS scroller to the same amount. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Jun 16 15:26:58 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 16 Jun 2013 14:26:58 -0500 Subject: Manipulating parts of a multi-dimensional array Message-ID: <51BE1182.4020004@hyperactivesw.com> I have a big array with lots of dimensions. Sometimes I need to work with a "sub-dimension" only. For example: array[a][b][c][d] Each of those elements contains many other elements: [c][x][y][z] which each contain more elements: [c][x][1][2][3] Suppose I only want to work with [c][x] and all its sub-dimensions. Is there an efficient way to extract that into its own array without looping through all the [c] keys? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From coiin at verizon.net Sun Jun 16 15:35:57 2013 From: coiin at verizon.net (Colin Holgate) Date: Sun, 16 Jun 2013 15:35:57 -0400 Subject: Manipulating parts of a multi-dimensional array In-Reply-To: <51BE1182.4020004@hyperactivesw.com> References: <51BE1182.4020004@hyperactivesw.com> Message-ID: <0AC4F121-E7D7-4F4D-990E-8474F488E7D1@verizon.net> On Jun 16, 2013, at 3:26 PM, "J. Landman Gay" wrote: > >Suppose I only want to work with [c][x] and all its sub-dimensions. Is there an efficient way to extract that into its own array without looping through all the [c] keys? Can you borrow b, work on it, then put it back? Like: on mouseUp put "hello" into t[a][b][c] answer t[a][b][c] put t[a][b] into x answer x[c] put "goodbye" into x[c] put x into t[a][b] answer t[a][b][c] end mouseUp From dunbarx at aol.com Sun Jun 16 15:37:29 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 16 Jun 2013 15:37:29 -0400 (EDT) Subject: Manipulating parts of a multi-dimensional array In-Reply-To: <51BE1182.4020004@hyperactivesw.com> References: <51BE1182.4020004@hyperactivesw.com> Message-ID: <8D038E012B7D350-1628-F73B@webmail-d264.sysops.aol.com> Jacque. You are asking for a function "the elements of key[yourKey]" or "the elements of key[yourKey1][yourkey2][yourKey3}" This should be a feature request, like yesterday. Craig -----Original Message----- From: J. Landman Gay To: LiveCode Mailing List Sent: Sun, Jun 16, 2013 3:27 pm Subject: Manipulating parts of a multi-dimensional array I have a big array with lots of dimensions. Sometimes I need to work with a "sub-dimension" only. For example: array[a][b][c][d] Each of those elements contains many other elements: [c][x][y][z] which each contain more elements: [c][x][1][2][3] Suppose I only want to work with [c][x] and all its sub-dimensions. Is there an efficient way to extract that into its own array without looping through all the [c] keys? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From pmbrig at gmail.com Sun Jun 16 17:33:12 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sun, 16 Jun 2013 17:33:12 -0400 Subject: a *fast* check for whether another machine is on the local network? In-Reply-To: References: <8D036920BF72013-2240-E132@webmail-m204.sysops.aol.com> <826F158D-8E59-4D8B-BDCA-C3CA474B92F0@gmail.com> Message-ID: <0114F69A-DBBC-4113-9C99-7EB6DF9A493E@gmail.com> On Jun 16, 2013, at 10:54 AM, Dr. Hawkins wrote: > You mean, like, on paper? > > :) Well, I was under the impression that court filings have not yet entered the digital age, and I thought that lawyers would be likely to print almost everything for the official record. Unless I can now file for divorce electronically. Is there a website? -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From jacques.hausser at unil.ch Sun Jun 16 18:39:36 2013 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Mon, 17 Jun 2013 00:39:36 +0200 Subject: Manipulating parts of a multi-dimensional array In-Reply-To: <51BE1182.4020004@hyperactivesw.com> References: <51BE1182.4020004@hyperactivesw.com> Message-ID: <0FE9F6C6-4998-4B9F-8CD0-68BEDB31DA14@unil.ch> I'm not sure to understand your question correctly. if your array has four "first level" elements: myArray["a"] myArray["b"] myArray["c"] myArray["d"] and that e.g. myArray["c"] has three "second level" elements myArray["c"]["x"] myArray["c"]["y"] myArray["c"]["z"] which in turn contain several "third level" elements, e.g. myArray["c"]["y"][1] myArray["c"]["y"][2] myArray["c"]["y"][3] you can perfectly well < put myArray["c"]["y"] into NewArray > , which will have elements NewArray[1] NewArray [2] NewArray[3] NewArray[2] and myArray["c"]["y"][2] will have the same content. And after changing these contents (you can even replace them by other arrays) you can do the reverse put newArray into myArray["c"]["y"] oh, I didn't see that you got answers already - Colin's says the same thing more concisely - well I send this one nevertheless. To answer your question rather than to read your answer is such an exceptional situation I'll not miss it ;-) Jacques Le 16 juin 2013 ? 21:26, J. Landman Gay a ?crit : > I have a big array with lots of dimensions. Sometimes I need to work with a "sub-dimension" only. For example: > > array[a][b][c][d] > > Each of those elements contains many other elements: > > [c][x][y][z] > > > which each contain more elements: > > [c][x][1][2][3] > > Suppose I only want to work with [c][x] and all its sub-dimensions. Is there an efficient way to extract that into its own array without looping through all the [c] keys? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From dunbarx at aol.com Sun Jun 16 19:04:03 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 16 Jun 2013 19:04:03 -0400 (EDT) Subject: Manipulating parts of a multi-dimensional array In-Reply-To: <0FE9F6C6-4998-4B9F-8CD0-68BEDB31DA14@unil.ch> References: <51BE1182.4020004@hyperactivesw.com> <0FE9F6C6-4998-4B9F-8CD0-68BEDB31DA14@unil.ch> Message-ID: <8D038FCEDDDAA47-1628-10BBE@webmail-d264.sysops.aol.com> I think what Jacque wanted was a more direct way to get the elements at any level of a multi-dimensional array. She certainly knows that, given: on mouseUp put "X" into myArray[a][b][c] put "Y" into myArray[a][b][d] put myArray[a][b] into newArray end mouseUp newArray gives: c X d Y and that one can loop through whatever level of the array is of interest (the third in this case) to finally find: X Y A function can be written, as Jacque mentioned, to find this sort of thing with the desired level described as a parameter. I just thought that it would be useful to have that very thing: put elementsOrArray(theArray,theElement) into newArray as a native function. Craig -----Original Message----- From: Jacques Hausser To: How to use LiveCode Sent: Sun, Jun 16, 2013 6:40 pm Subject: Re: Manipulating parts of a multi-dimensional array I'm not sure to understand your question correctly. if your array has four "first level" elements: myArray["a"] myArray["b"] myArray["c"] myArray["d"] and that e.g. myArray["c"] has three "second level" elements myArray["c"]["x"] myArray["c"]["y"] myArray["c"]["z"] which in turn contain several "third level" elements, e.g. myArray["c"]["y"][1] myArray["c"]["y"][2] myArray["c"]["y"][3] you can perfectly well < put myArray["c"]["y"] into NewArray > , which will have elements NewArray[1] NewArray [2] NewArray[3] NewArray[2] and myArray["c"]["y"][2] will have the same content. And after changing these contents (you can even replace them by other arrays) you can do the reverse put newArray into myArray["c"]["y"] oh, I didn't see that you got answers already - Colin's says the same thing more concisely - well I send this one nevertheless. To answer your question rather than to read your answer is such an exceptional situation I'll not miss it ;-) Jacques Le 16 juin 2013 ? 21:26, J. Landman Gay a ?crit : > I have a big array with lots of dimensions. Sometimes I need to work with a "sub-dimension" only. For example: > > array[a][b][c][d] > > Each of those elements contains many other elements: > > [c][x][y][z] > > > which each contain more elements: > > [c][x][1][2][3] > > Suppose I only want to work with [c][x] and all its sub-dimensions. Is there an efficient way to extract that into its own array without looping through all the [c] keys? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Sun Jun 16 19:32:52 2013 From: dsc at swcp.com (Dar Scott) Date: Sun, 16 Jun 2013 17:32:52 -0600 Subject: Manipulating parts of a multi-dimensional array In-Reply-To: <51BE1182.4020004@hyperactivesw.com> References: <51BE1182.4020004@hyperactivesw.com> Message-ID: <80350EC0-6EDC-485F-B3E3-9B4A2DA6EABA@swcp.com> I think others have answered this well. Essentially multidimensional arrays are arrays with arrays as elements. x[a][b] = (x[a])[b] However, you might be interested in this enhancement request: Bug 6820 - Pass array element by reference This would allow any level to be passed by reference to user defined commands as you can with, say, add 1 to. That way you can not only look at the sub array but also manipulate it. A good example is a complicated array thingy that includes a queue. The value of a queue keeps changing. Trevor has some workarounds and I think they are also there. One workaround is to get a sub array, manipulate it and then copy it back. (Of course, if you don't manipulate it, but just use the value, you don't have to copy it back.) There is some copying going on, but the cost might be small in a future version of LiveCode. Dar On Jun 16, 2013, at 1:26 PM, J. Landman Gay wrote: > I have a big array with lots of dimensions. Sometimes I need to work with a "sub-dimension" only. For example: > > array[a][b][c][d] > > Each of those elements contains many other elements: > > [c][x][y][z] > > > which each contain more elements: > > [c][x][1][2][3] > > Suppose I only want to work with [c][x] and all its sub-dimensions. Is there an efficient way to extract that into its own array without looping through all the [c] keys? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sun Jun 16 20:53:03 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 16 Jun 2013 19:53:03 -0500 Subject: Manipulating parts of a multi-dimensional array In-Reply-To: <8D038FCEDDDAA47-1628-10BBE@webmail-d264.sysops.aol.com> References: <51BE1182.4020004@hyperactivesw.com> <0FE9F6C6-4998-4B9F-8CD0-68BEDB31DA14@unil.ch> <8D038FCEDDDAA47-1628-10BBE@webmail-d264.sysops.aol.com> Message-ID: <51BE5DEF.9050602@hyperactivesw.com> On 6/16/13 6:04 PM, dunbarx at aol.com wrote: > I think what Jacque wanted was a more direct way to get the elements > at any level of a multi-dimensional array. Pretty much, yes. I didn't ask my original question correctly. I want to see if a particular value is contained in any element at a certain level without looping through to check each one. Sort of like we can say "if tString contains "dog" then..." I didn't think we could but was sort of hoping, or wondering if anyone had a good, quick way to do it. I vaguely recall Trevor mentioning something about "the elements of an array" but I can't remember what it was. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Sun Jun 16 21:07:14 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 17 Jun 2013 11:07:14 +1000 Subject: Manipulating parts of a multi-dimensional array In-Reply-To: <51BE5DEF.9050602@hyperactivesw.com> References: <51BE1182.4020004@hyperactivesw.com> <0FE9F6C6-4998-4B9F-8CD0-68BEDB31DA14@unil.ch> <8D038FCEDDDAA47-1628-10BBE@webmail-d264.sysops.aol.com> <51BE5DEF.9050602@hyperactivesw.com> Message-ID: On 17/06/2013, at 10:53 AM, J. Landman Gay wrote: > Pretty much, yes. I didn't ask my original question correctly. I want to see if a particular value is contained in any element at a certain level without looping through to check each one. Sort of like we can say "if tString contains "dog" then..." > > I didn't think we could but was sort of hoping, or wondering if anyone had a good, quick way to do it. I vaguely recall Trevor mentioning something about "the elements of an array" but I can't remember what it was. So you want: if there is an element "dog" in tAnimals["mammals"] then Seems like a handy feature Jacque... you really will need to start playing with the engine one of these days ;-) -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From jacque at hyperactivesw.com Sun Jun 16 21:24:43 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 16 Jun 2013 20:24:43 -0500 Subject: Manipulating parts of a multi-dimensional array In-Reply-To: References: <51BE1182.4020004@hyperactivesw.com> <0FE9F6C6-4998-4B9F-8CD0-68BEDB31DA14@unil.ch> <8D038FCEDDDAA47-1628-10BBE@webmail-d264.sysops.aol.com> <51BE5DEF.9050602@hyperactivesw.com> Message-ID: <51BE655B.1040306@hyperactivesw.com> On 6/16/13 8:07 PM, Monte Goulding wrote: > So you want: > > if there is an element "dog" in tAnimals["mammals"] then > > Seems like a handy feature Jacque... you really will need to start playing with the engine one of these days ;-) You really don't want to be near me if I ever start learning C. :) You're probably safe though, my brain doesn't think in punctuation very well. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sc at sahores-conseil.com Mon Jun 17 06:47:20 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Mon, 17 Jun 2013 12:47:20 +0200 Subject: [OT] What's happening here in Turkey... In-Reply-To: References: Message-ID: Dear Ender, Non-violent civil disobedience and time may run against their control plans, check mate and block all the power behind any fright and unlimited violence policy and mafia businesses. ... > one more thing: the chief editor of tv channel Kanal24, Yigit Bulut, claimed that some evil international organizations are trying to kill erdogan using TELEKINESIS :)))) no, it's not a joke. *chief editor, mainstream tv, official statement* erdogan's defenders and voters are these ;-) ? Warm Regards, Pierre -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From sc at sahores-conseil.com Mon Jun 17 11:36:10 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Mon, 17 Jun 2013 17:36:10 +0200 Subject: [OT] What's happening here in Turkey... In-Reply-To: References: Message-ID: <4E3F426C-EE53-4764-9D81-A3B0C2D3BC61@sahores-conseil.com> Ender, Erdogan needs violence to legitimate its own position against anyone in and outside Turkey. If he finds it, it will just have to react to it to improve its position in policy terms. Else, he will fails and, to the end, get out of the way? http://www.lefigaro.fr/conjoncture/2013/06/16/20002-20130616ARTFIG00079-comment-le-premier-ministre-turc-defie-le-monde-des-affaires.php Be safe, Le 16 juin 2013 ? 16:13, Ender Nafi a ?crit : > dave, tim and all my dear friends out there; > my sincere thanks to all of you... > > i won't / can' t write long. > > *last night, they emptied gezi park following erdogan's direct orders. > > *the attack was brutal as always. > find the statements of claudia roth (german green party), google it, youtube it. she was there with us. > > *after emptying the park, police pursued us with gas and water. they confessed that they added tear gas solution to the water they cannoned to us. it burns like hell. > > * police shot gas inside the infirmaries. { geneva convention? yeah, baby, our police, our humanist heroes ;-) } they entered into the "german hospital" to arrest the wounded people. they succeeded. > > * this morning, police arrested many doctors who worked voluntarily in the infirmaries and hospitals. in tv channels, they referred them as 'marginal resistors wearing white, long shirts'. THEY ARE DOCTORS, it's their uniform all over the world :)) > > * there are at least 150 confirmed arrests. BUT, we can't find them. you heard right. volunteered lawyers of bar search them to defend, however, all the precincts and police stations reply that they don't have anyone. WHERE ARE THEY??? > > > the dumbness of the majority who sit at home and still believe erdogan, the $#!#$$@* - ness of turkish media, the lies of governor and parliament and erdogan doesn't drive me crazy anymore. no, sir. i got used to :) even the pepper gas doesn't effect me, we're evolving :)) > > we're on the streets, still. > we're resisting peacefully, still. > we'll protect the weak, now and forever. > > > with my warmest regards from istanbul, > ender nafi > > one more thing: the chief editor of tv channel Kanal24, Yigit Bulut, claimed that some evil international organizations are trying to kill erdogan using TELEKINESIS :)))) no, it's not a joke. *chief editor, mainstream tv, official statement* erdogan's defenders and voters are these ;-) > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From rdimola at evergreeninfo.net Mon Jun 17 13:30:02 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 17 Jun 2013 13:30:02 -0400 Subject: Weird(Crazy) Group behavior In-Reply-To: References: Message-ID: <006001ce6b80$4cfba830$e6f2f890$@net> I have a empty group that I dynamically place on a card. I then add and size/position several fields. This all works just fine. BUT when I turn on the group's vertical scroll bar my fields move within the group. This happens if I turn on the scroll bar by script or via inspector????? If I then turn the scroll bar off/on/off/on nothing moves but everything is in the wrong place. Controls only move when the scroll bar is turned on the first time. Anyone seen something like this? Same in 5.5.5 or 6.0.2 Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From niggemann at uni-wh.de Mon Jun 17 14:50:08 2013 From: niggemann at uni-wh.de (BNig) Date: Mon, 17 Jun 2013 11:50:08 -0700 (PDT) Subject: Weird(Crazy) Group behavior Message-ID: <1371495008291-4666563.post@n4.nabble.com> Hi Ralph, I took this to a different thread, did not want to hijack Ender's thread. This turned up on the forum the other day http://forums.runrev.com/phpBB2/viewtopic.php?f=7&t=15450 and was reported as Bug 10949 and confirmed by Quality Control Center. Richard Gaskin suggested as a workaround to the the boundingRect of the group before showing the scrollbars which works nicely. Kind regards Bernd Jun 17, 2013; 7:29pm Ralph DiMola Weird(Crazy) Group behavior I have a empty group that I dynamically place on a card. I then add and size/position several fields. This all works just fine. BUT when I turn on the group's vertical scroll bar my fields move within the group. This happens if I turn on the scroll bar by script or via inspector????? If I then turn the scroll bar off/on/off/on nothing moves but everything is in the wrong place. Controls only move when the scroll bar is turned on the first time. Anyone seen something like this? Same in 5.5.5 or 6.0.2 Ralph DiMola IT Director Evergreen Information Services -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Weird-Crazy-Group-behavior-tp4666563.html Sent from the Revolution - User mailing list archive at Nabble.com. From rdimola at evergreeninfo.net Mon Jun 17 16:19:52 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 17 Jun 2013 16:19:52 -0400 Subject: Weird(Crazy) Group behavior In-Reply-To: <1371495008291-4666563.post@n4.nabble.com> References: <1371495008291-4666563.post@n4.nabble.com> Message-ID: <006e01ce6b98$0684f1a0$138ed4e0$@net> Thanks Bernd!!! I came up with an alternate solution just before you pointed me to the forum. I fixed it by putting a button with no text and opaque off in the group. It seems only the first control is affected. I set the do-nothing button's rect to the rect of the group before adding my dynamic fields/buttons. All is well... I then changed the app to the cleaner way the forum's suggested. I set the boundingRect of the group before activating the vscroll. I set it to the minimum of any of the groups objects(or group itself) left and top and the max of any of the groups objects(or group itself) right/bottom. This one kept my up till the wee hours last night with no solution. Went to bed dreaming of controls in a group. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of BNig Sent: Monday, June 17, 2013 2:50 PM To: use-revolution at lists.runrev.com Subject: Weird(Crazy) Group behavior Hi Ralph, I took this to a different thread, did not want to hijack Ender's thread. This turned up on the forum the other day http://forums.runrev.com/phpBB2/viewtopic.php?f=7&t=15450 and was reported as Bug 10949 and confirmed by Quality Control Center. Richard Gaskin suggested as a workaround to the the boundingRect of the group before showing the scrollbars which works nicely. Kind regards Bernd Jun 17, 2013; 7:29pm Ralph DiMola Weird(Crazy) Group behavior I have a empty group that I dynamically place on a card. I then add and size/position several fields. This all works just fine. BUT when I turn on the group's vertical scroll bar my fields move within the group. This happens if I turn on the scroll bar by script or via inspector????? If I then turn the scroll bar off/on/off/on nothing moves but everything is in the wrong place. Controls only move when the scroll bar is turned on the first time. Anyone seen something like this? Same in 5.5.5 or 6.0.2 Ralph DiMola IT Director Evergreen Information Services -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Weird-Crazy-Group-behavior-tp 4666563.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Mon Jun 17 16:19:52 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 17 Jun 2013 16:19:52 -0400 Subject: Weird(Crazy) Group behavior In-Reply-To: <1371495008291-4666563.post@n4.nabble.com> References: <1371495008291-4666563.post@n4.nabble.com> Message-ID: <006e01ce6b98$0684f1a0$138ed4e0$@net> Thanks Bernd!!! I came up with an alternate solution just before you pointed me to the forum. I fixed it by putting a button with no text and opaque off in the group. It seems only the first control is affected. I set the do-nothing button's rect to the rect of the group before adding my dynamic fields/buttons. All is well... I then changed the app to the cleaner way the forum's suggested. I set the boundingRect of the group before activating the vscroll. I set it to the minimum of any of the groups objects(or group itself) left and top and the max of any of the groups objects(or group itself) right/bottom. This one kept my up till the wee hours last night with no solution. Went to bed dreaming of controls in a group. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of BNig Sent: Monday, June 17, 2013 2:50 PM To: use-revolution at lists.runrev.com Subject: Weird(Crazy) Group behavior Hi Ralph, I took this to a different thread, did not want to hijack Ender's thread. This turned up on the forum the other day http://forums.runrev.com/phpBB2/viewtopic.php?f=7&t=15450 and was reported as Bug 10949 and confirmed by Quality Control Center. Richard Gaskin suggested as a workaround to the the boundingRect of the group before showing the scrollbars which works nicely. Kind regards Bernd Jun 17, 2013; 7:29pm Ralph DiMola Weird(Crazy) Group behavior I have a empty group that I dynamically place on a card. I then add and size/position several fields. This all works just fine. BUT when I turn on the group's vertical scroll bar my fields move within the group. This happens if I turn on the scroll bar by script or via inspector????? If I then turn the scroll bar off/on/off/on nothing moves but everything is in the wrong place. Controls only move when the scroll bar is turned on the first time. Anyone seen something like this? Same in 5.5.5 or 6.0.2 Ralph DiMola IT Director Evergreen Information Services -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Weird-Crazy-Group-behavior-tp 4666563.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dixonja at hotmail.co.uk Mon Jun 17 16:25:02 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Mon, 17 Jun 2013 21:25:02 +0100 Subject: Weird(Crazy) Group behavior In-Reply-To: <006e01ce6b98$0684f1a0$138ed4e0$@net> References: <1371495008291-4666563.post@n4.nabble.com>, <006e01ce6b98$0684f1a0$138ed4e0$@net> Message-ID: Christ !... a nightmare...:-) > This one kept my up till the wee hours last night with no solution. Went to > bed dreaming of controls in a group. > > Ralph DiMola From bogdanoff at me.com Mon Jun 17 16:25:10 2013 From: bogdanoff at me.com (Peter Bogdanoff) Date: Mon, 17 Jun 2013 13:25:10 -0700 Subject: Open source/Commercial Message-ID: <1C29106D-2B78-43C7-B043-53D720F19E0D@me.com> Hi, Something I'm not at all clear about. I have a commercial license. I'm preparing a stack for others to use with the open source license (they are English to Chinese translators). I have LiveCode 6.02 Commercial Edition. Can others open this project in their open source LiveCode IDE? Thanks! Peter Bogdanoff UCLA From dochawk at gmail.com Mon Jun 17 16:34:30 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 17 Jun 2013 13:34:30 -0700 Subject: matching empty/uninitialized database entries Message-ID: After inserting a new column into a postgres table, I'm unable to find a way to match it in a query. With the new column dTyp CHAR(1) added, and set to "E" in a couple of places, SELECT kywd FROM myTable WHERE dTyp=NULL; should select all of the other entries, shouldn't it? I've also tried WHERE dTyp='' WHERE dTyp !~ '[a-zA-Z]' but none yield any results. Even WHERE dTyp <> 'E'; yields no results. Am I missing something obvious? (I do get the correct result for "WHERE dTyp='E'" -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From matthias_livecode_150811 at m-r-d.de Mon Jun 17 16:35:15 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 17 Jun 2013 22:35:15 +0200 Subject: Open source/Commercial In-Reply-To: <1C29106D-2B78-43C7-B043-53D720F19E0D@me.com> References: <1C29106D-2B78-43C7-B043-53D720F19E0D@me.com> Message-ID: Hi Peter, yes they should be able to unless you password protect your stacks. Regards, Matthias Am 17.06.2013 um 22:25 schrieb Peter Bogdanoff : > Hi, > > Something I'm not at all clear about. > > I have a commercial license. I'm preparing a stack for others to use with the open source license (they are English to Chinese translators). > > I have LiveCode 6.02 Commercial Edition. Can others open this project in their open source LiveCode IDE? > > Thanks! > > Peter Bogdanoff > UCLA > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Mon Jun 17 16:45:23 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 17 Jun 2013 22:45:23 +0200 Subject: Open source/Commercial In-Reply-To: <1C29106D-2B78-43C7-B043-53D720F19E0D@me.com> References: <1C29106D-2B78-43C7-B043-53D720F19E0D@me.com> Message-ID: Hi Peter, Yes, they can, if your stack isn't protected by a password. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 17 jun 2013, at 22:25, Peter Bogdanoff wrote: > Hi, > > Something I'm not at all clear about. > > I have a commercial license. I'm preparing a stack for others to use with the open source license (they are English to Chinese translators). > > I have LiveCode 6.02 Commercial Edition. Can others open this project in their open source LiveCode IDE? > > Thanks! > > Peter Bogdanoff > UCLA From matthias_livecode_150811 at m-r-d.de Mon Jun 17 17:45:06 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 17 Jun 2013 23:45:06 +0200 Subject: Move a native iOS field? Message-ID: Hi, i have form in my iOS App with serveral native fields. The last field (a multiline one) is covered by the keyboard. Is there a way to scroll the complete form? I have seen iOS apps, where one can move/scroll a group of native fields. I tried to hide the native multiline field when entering that field and then place the field in the middle of the screen and set it visible again. But this seems not be working. Any ideas? Regards, Matthias From gerry.orkin at gmail.com Tue Jun 18 00:47:51 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Tue, 18 Jun 2013 14:47:51 +1000 Subject: Move a native iOS field? In-Reply-To: References: Message-ID: <22B97E72-A23C-43C0-A949-50134B3A3129@gmail.com> If I understand your problem correctly, try setting the rects of the native controls (including the multiline one) instead of hiding and showing them. That way it will appear that they have all moved up the screen so the multiline one shows above the keyboard. Gerry On 18/06/2013, at 7:45 AM, Matthias Rebbe wrote: > Hi, > > i have form in my iOS App with serveral native fields. The last field (a multiline one) is covered by the keyboard. > Is there a way to scroll the complete form? > > I have seen iOS apps, where one can move/scroll a group of native fields. I tried to hide the native multiline field when entering that field and then place the field in the middle of the screen and set it visible again. But this seems not be working. > > Any ideas? > > Regards, > > Matthias > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From th.douez at gmail.com Tue Jun 18 04:47:15 2013 From: th.douez at gmail.com (Thierry Douez) Date: Tue, 18 Jun 2013 10:47:15 +0200 Subject: Post command help Message-ID: Hello, I have a one-line script to post some datas on a server. Yesterday, everything works perfectly. This morning, without changing anything on Livecode side or server, only restarting my Mac, I get this error: Post: - error -Error with certificate at depth: 2 issuer = /C=BE/O=GlobalSign nv-sa/OU=Root CA/CN=GlobalSign Root CA subject = /C=BE/O=GlobalSign nv-sa/OU=Root CA/CN=GlobalSign Root CA err 19:self signed certificate in certificate chain Any hint why this happens ? Is there some parameters we can set to change the post behavior in LC? Regards, Thierry ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage From alanstenhouse at hotmail.com Tue Jun 18 06:25:06 2013 From: alanstenhouse at hotmail.com (Alan Stenhouse) Date: Tue, 18 Jun 2013 12:25:06 +0200 Subject: matching empty/uninitialized database entries In-Reply-To: References: Message-ID: where dType IS NULL is what you should use for testing NULL. However using <> should also work so something else is also going on there from the sounds of it. Can you post the code perhaps? HTH cheers Alan On 18/06/2013, at 12:00 PM, use-livecode-request at lists.runrev.com wrote: > After inserting a new column into a postgres table, I'm unable to find > a way to match it in a query. > > With the new column dTyp CHAR(1) added, and set to "E" in a couple of places, > > SELECT kywd FROM myTable WHERE dTyp=NULL; > > should select all of the other entries, shouldn't it? > > I've also tried > WHERE dTyp='' > WHERE dTyp !~ '[a-zA-Z]' > > but none yield any results. > > Even > WHERE dTyp <> 'E'; > > yields no results. > > Am I missing something obvious? > > (I do get the correct result for "WHERE dTyp='E'" From sc at sahores-conseil.com Tue Jun 18 07:28:31 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Tue, 18 Jun 2013 13:28:31 +0200 Subject: Post command help In-Reply-To: References: Message-ID: Hi, Would say that two events may be responsible of this : 1.- The SSL certificate may be outdated and, then, have to be renewed ; 2.- The dedicated IP of your hosting account is down. A shared IP is used instead and the certificate is unbindable from this one ; Regards, Pierre Le 18 juin 2013 ? 10:47, Thierry Douez a ?crit : > Hello, > > I have a one-line script to post some datas on a server. > > Yesterday, everything works perfectly. > > This morning, without changing anything on Livecode side or server, only > restarting my Mac, I get this error: > > Post: - error -Error with certificate at depth: 2 issuer = > /C=BE/O=GlobalSign nv-sa/OU=Root CA/CN=GlobalSign Root CA subject = > /C=BE/O=GlobalSign nv-sa/OU=Root CA/CN=GlobalSign Root CA err 19:self > signed certificate in certificate chain > > Any hint why this happens ? > > Is there some parameters we can set to change the post behavior in LC? > > Regards, > > Thierry > > ------------------------------------------------ > Thierry Douez - http://sunny-tdz.com > Maker of sunnYperl - sunnYmidi - sunnYmage > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From me at paulmaguire.me Tue Jun 18 08:16:17 2013 From: me at paulmaguire.me (Paul Maguire) Date: Tue, 18 Jun 2013 13:16:17 +0100 Subject: Viewing PDFs in Android... Message-ID: <3BE660E8-6B45-4E3F-9E1B-182F8CF707D0@paulmaguire.me> Hi all. My porting to Android saga continues - last chapter... I've just identified that PDFs cannot be loaded into the browser native control in Android. This breaks my app quite badly. I see there is a workaround to: launch URL http://blah.com/someFile.pdf ... but this is going to cause the app to quit is it not? I'm a total Android hater at the moment. Anybody got any ideas on how to best proceed? Kind regards, Paul. From terry.judd at unimelb.edu.au Tue Jun 18 08:49:25 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Tue, 18 Jun 2013 12:49:25 +0000 Subject: Viewing PDFs in Android... In-Reply-To: <3BE660E8-6B45-4E3F-9E1B-182F8CF707D0@paulmaguire.me> References: <3BE660E8-6B45-4E3F-9E1B-182F8CF707D0@paulmaguire.me> Message-ID: <3E7BEB23-5A61-440C-BAB8-01E5E57A7E1C@unimelb.edu.au> Hi Paul - it's not ideal, but you can hand the PDF off to Google Docs, which will render it in a browser compatible format. I don't have the url handy but will post it when I'm back at work tomorrow. Terry... On 18/06/2013, at 10:16 PM, "Paul Maguire" wrote: > Hi all. > > My porting to Android saga continues - last chapter... > > I've just identified that PDFs cannot be loaded into the browser native control in Android. This breaks my app quite badly. I see there is a workaround to: > > launch URL http://blah.com/someFile.pdf > > ... but this is going to cause the app to quit is it not? > > I'm a total Android hater at the moment. Anybody got any ideas on how to best proceed? > > Kind regards, Paul. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From capellan2000 at gmail.com Tue Jun 18 11:31:52 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 18 Jun 2013 11:31:52 -0400 Subject: Looking for testers of Infinite Zoom Android APK Message-ID: Hi All, I am looking for testers for this LiveCode Stack and two Android APK compiled from this same stack: http://andregarzia.on-rev.com/alejandro/stacks/Livecode_Android_Test_for_infinite_zoom.zip One of the Android APK is too slow (almost unusable), compared with the stack and the other does not works at all, after installed in an Android Tablet: http://www.amazon.com/*Polaroid* -PMID800-8-Internet-Tablet/dp/B00AAJQPS2/ref=cm_cr_pr_product_top This ZIP compressed folder contains 4 files (1 livecode stack) (1 text file with the script) (2 Android APK compiled from included Livecode stack) infinite zoom 2013 June 15.livecode Infinite Zoom script.txt infinitezoomv1.apk infinitezoomv2.apk Please read the script pasted in the TXT file and test first the LiveCode stack, before running one, any or both Android APK. When you open the stack in LiveCode, move your mouse pointer to the left side of the images, hold down the left mouse button, and the images will zoom in at warp speed (or as fast as your computer graphic card allows). If you hold down the mouse on the right side of the stack, the images will zoom out. Notice that in the script there are two handlers commented: mousedown and mouseup Uncomment those handlers after commenting the only functional mousedown handler. Now, this stack will zoom in or zoom out (step by step) sweeping the mouse in a diagonal motion from topleft to the stack center and from topright to the stack center. These commented handlers are the only differences between both Android APK included in the download. I have included both Installers inside the compressed folder but ideally, you should be able to compile them in your own setup. These images belongs to the Zoom Quilt project and are Still available in the web. Here you could find the original images: http://public.hbk-bs.de/~baumgarn/zoom/steps/ Many Thanks to Andre Garzia and Richard Gaskin for sharing space in their servers to store these stacks. Have a nice day! Al From m.schonewille at economy-x-talk.com Tue Jun 18 14:10:55 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 18 Jun 2013 20:10:55 +0200 Subject: [ANN] Installer Maker 1.7.16 Message-ID: <51C0A2AF.9040603@economy-x-talk.com> Hello, I received a few bug reports last week, which made me decide to release a quick update of Installer Maker. If you have a commercial license for LiveCode 6.x, the plug-in version of Installer Maker will now work correctly. I have also fixed a few other small bugs. If you are using the community edition of LiveCode, then you can either use your Installer Maker license with an older version of LiveCode or use the standalone version of Installer Maker. Your license is valid for both. Standalone version: http://www3.economy-x-talk.com/file.php?node=installer-maker Plug-in version: http://www3.economy-x-talk.com/file.php?node=installer-maker-for-lc I'd like to take the opportunity to ask you to fill out the survey at http://livecodebeginner.economy-x-talk.com/survey/ about my book. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi From skiplondon at gmail.com Tue Jun 18 14:55:24 2013 From: skiplondon at gmail.com (Skip Kimpel) Date: Tue, 18 Jun 2013 14:55:24 -0400 Subject: [ANN] Installer Maker 1.7.16 In-Reply-To: <51C0A2AF.9040603@economy-x-talk.com> References: <51C0A2AF.9040603@economy-x-talk.com> Message-ID: <966AC509-C45E-413E-BC98-E5703B4FC72F@gmail.com> If we are running 5.5.5, any updates needed for that? SKIP On Jun 18, 2013, at 2:10 PM, Mark Schonewille wrote: > Hello, > > I received a few bug reports last week, which made me decide to release a quick update of Installer Maker. If you have a commercial license for LiveCode 6.x, the plug-in version of Installer Maker will now work correctly. I have also fixed a few other small bugs. > > If you are using the community edition of LiveCode, then you can either use your Installer Maker license with an older version of LiveCode or use the standalone version of Installer Maker. Your license is valid for both. > > Standalone version: > http://www3.economy-x-talk.com/file.php?node=installer-maker > > Plug-in version: > http://www3.economy-x-talk.com/file.php?node=installer-maker-for-lc > > I'd like to take the opportunity to ask you to fill out the survey at > http://livecodebeginner.economy-x-talk.com/survey/ about my book. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Tue Jun 18 15:30:22 2013 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 18 Jun 2013 22:30:22 +0300 Subject: Big Icons in the AppBrowser Message-ID: <51C0B54E.8010501@gmail.com> Just upgraded my hack stack to colourise and generally muck about with the AppBrowser now featuring the option of mak9ing the icons and the text a whole lot bigger. http://forums.runrev.com/viewtopic.php?f=6&t=15388&p=78833#p78833 Richmond. From monte at sweattechnologies.com Tue Jun 18 15:59:54 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 19 Jun 2013 05:59:54 +1000 Subject: Viewing PDFs in Android... In-Reply-To: <3E7BEB23-5A61-440C-BAB8-01E5E57A7E1C@unimelb.edu.au> References: <3BE660E8-6B45-4E3F-9E1B-182F8CF707D0@paulmaguire.me> <3E7BEB23-5A61-440C-BAB8-01E5E57A7E1C@unimelb.edu.au> Message-ID: <62693C5A-E053-4BDE-96D5-587863815416@sweattechnologies.com> For what it's worth this appears to be a problem for Java developers too... and Terry's solution is one I've seen on StackOverflow for them too... -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From m.schonewille at economy-x-talk.com Tue Jun 18 16:07:18 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 18 Jun 2013 22:07:18 +0200 Subject: [ANN] Installer Maker 1.7.16 In-Reply-To: <966AC509-C45E-413E-BC98-E5703B4FC72F@gmail.com> References: <51C0A2AF.9040603@economy-x-talk.com> <966AC509-C45E-413E-BC98-E5703B4FC72F@gmail.com> Message-ID: <51C0BDF6.1030205@economy-x-talk.com> Hi SKIP, If you want to use the Installer Maker plug-in with 6.0 or later, you're going to need an update and it will only work with the commercial edition of LiveCode. If you want to use the Installer Maker plug-in with a version older than 6.0, you don't need to update. So, 5.5.5 should do. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 6/18/2013 20:55, Skip Kimpel wrote: > If we are running 5.5.5, any updates needed for that? > > SKIP > From bornstein at designeq.com Tue Jun 18 16:42:30 2013 From: bornstein at designeq.com (Howard Bornstein) Date: Tue, 18 Jun 2013 13:42:30 -0700 Subject: Using the Find command in IOS In-Reply-To: <51BDF8E2.8090603@hyperactivesw.com> References: <51BDF8E2.8090603@hyperactivesw.com> Message-ID: Thanks for the response. That would be great but my testing does not support this. When I do a find of a field within a scroller group, the Find works, in that it finds the text and draws a box around it, but the field itself doesn't scroll (or at least it doesn't change the vscroll value of the field). I test the vscroll of the field after the Find and it is always zero. It does work as expected on the desktop but doesn't seem to actually scroll the field in the IOS environment. Do you have any idea why I am getting this result? On Sun, Jun 16, 2013 at 10:41 AM, J. Landman Gay wrote: > On 6/15/13 4:22 PM, Howard Bornstein wrote: > >> The dictionary shows that the Find command is supported in IOS, but I >> can't >> seem to make it work as described. >> >> I want to "find" a string in a scrolling field and have the field scroll >> automatically to that string. It works fine on the desktop but doesn't >> scroll to the found line in the IOS field (although it *does* draw a box >> >> around the string, which I don't actually care about). >> >> I'm not doing anything with the vscroll property of the scrolling group >> the >> field is in, but as far as I can tell, I shouldn't have to. >> >> Is there a way to get Find to just scroll to the found string in an IOS >> text field? Is there more that is needed beside simply using the Find >> command? >> >> > The field itself will scroll but that's all, you'll have to manage the > group scroll yourself. If you're using a native iOS scroller you'll need to > adjust that too. Probably the best way would be to note the starting scroll > of the field before the find command, calculate the difference afterward, > and then adjust the group and iOS scroller to the same amount. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > -- Regards, Howard Bornstein ----------------------- www.designeq.com From pderocco at ix.netcom.com Tue Jun 18 19:01:10 2013 From: pderocco at ix.netcom.com (Paul D. DeRocco) Date: Tue, 18 Jun 2013 16:01:10 -0700 Subject: Can't set hilitedLine inside openStack Message-ID: <87D46BE23C4D43A4BC06673AA61E41FC@PAULD> I have a modal stack that contains a listbox used to select something, and I keep track of the last selection made in a global variable. I want the stack to pop up with the last selection already highlighted, or no line highlighted if there is no matching line. So I compute the number of the matching line in a variable, or "empty" if there is no match, and then do set the hilitedLine of field "foo" of stack "bar" to n It does bupkis; no matter what, the first line remains selected. If I set a breakpoint on this line, and open the stack manually (i.e., non-modally so that it will actually trigger the break), I can see that n contains the correct value. When I step across the above statement, nothing happens. If I then type exactly the same statement into the Message Box, the proper line is highlighted. What the heck is going on? -- Ciao, Paul D. DeRocco Paul mailto:pderocco at ix.netcom.com From terry.judd at unimelb.edu.au Tue Jun 18 19:29:36 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Tue, 18 Jun 2013 23:29:36 +0000 Subject: Viewing PDFs in Android... In-Reply-To: <3E7BEB23-5A61-440C-BAB8-01E5E57A7E1C@unimelb.edu.au> References: <3BE660E8-6B45-4E3F-9E1B-182F8CF707D0@paulmaguire.me> <3E7BEB23-5A61-440C-BAB8-01E5E57A7E1C@unimelb.edu.au> Message-ID: <9FE19E93-74F0-41C0-BA55-597B1008D6AA@unimelb.edu.au> OK - for this to work the PDF has to be stored online - it doesn't appear to work with local (file) urls. Anyway, all you need to do is construct a URL based on the URL for your PDF and the correct Google Docs URL. Something like this... put "http://mydomain.com/myfile.pdf" into tPDF put ("http://docs.google.com/gview?embedded=true&url="&tPDF) into tURL ...then set the URL of the browser control. The result isn't perfect, and the download link that is included on the displayed page won't work, but at least you can view the contents of the PDF. Terry... On 18/06/2013, at 10:49 PM, Terry Judd wrote: > Hi Paul - it's not ideal, but you can hand the PDF off to Google Docs, which will render it in a browser compatible format. I don't have the url handy but will post it when I'm back at work tomorrow. > > Terry... > > On 18/06/2013, at 10:16 PM, "Paul Maguire" wrote: > >> Hi all. >> >> My porting to Android saga continues - last chapter... >> >> I've just identified that PDFs cannot be loaded into the browser native control in Android. This breaks my app quite badly. I see there is a workaround to: >> >> launch URL http://blah.com/someFile.pdf >> >> ... but this is going to cause the app to quit is it not? >> >> I'm a total Android hater at the moment. Anybody got any ideas on how to best proceed? >> >> Kind regards, Paul. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From me at paulmaguire.me Tue Jun 18 19:32:25 2013 From: me at paulmaguire.me (Paul Maguire) Date: Wed, 19 Jun 2013 00:32:25 +0100 Subject: Viewing PDFs in Android... In-Reply-To: <62693C5A-E053-4BDE-96D5-587863815416@sweattechnologies.com> References: <3BE660E8-6B45-4E3F-9E1B-182F8CF707D0@paulmaguire.me> <3E7BEB23-5A61-440C-BAB8-01E5E57A7E1C@unimelb.edu.au> <62693C5A-E053-4BDE-96D5-587863815416@sweattechnologies.com> Message-ID: I've hacked a workaround which loads up a jpeg equivalent meantime but i'd be interested in see how to implement the google docs approach. Kind regards, Paul. On 18 Jun 2013, at 20:59, Monte Goulding wrote: > For what it's worth this appears to be a problem for Java developers too... and Terry's solution is one I've seen on StackOverflow for them too... > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From me at paulmaguire.me Tue Jun 18 19:33:41 2013 From: me at paulmaguire.me (Paul Maguire) Date: Wed, 19 Jun 2013 00:33:41 +0100 Subject: Viewing PDFs in Android... In-Reply-To: <9FE19E93-74F0-41C0-BA55-597B1008D6AA@unimelb.edu.au> References: <3BE660E8-6B45-4E3F-9E1B-182F8CF707D0@paulmaguire.me> <3E7BEB23-5A61-440C-BAB8-01E5E57A7E1C@unimelb.edu.au> <9FE19E93-74F0-41C0-BA55-597B1008D6AA@unimelb.edu.au> Message-ID: <837DE1FD-0D69-4ED0-9C06-1FDC04DAC933@paulmaguire.me> Cool - ta. On 19 Jun 2013, at 00:29, Terry Judd wrote: > OK - for this to work the PDF has to be stored online - it doesn't appear to work with local (file) urls. > > Anyway, all you need to do is construct a URL based on the URL for your PDF and the correct Google Docs URL. Something like this... > > put "http://mydomain.com/myfile.pdf" into tPDF > put ("http://docs.google.com/gview?embedded=true&url="&tPDF) into tURL > > ...then set the URL of the browser control. > > The result isn't perfect, and the download link that is included on the displayed page won't work, but at least you can view the contents of the PDF. > > Terry... > > > On 18/06/2013, at 10:49 PM, Terry Judd wrote: > >> Hi Paul - it's not ideal, but you can hand the PDF off to Google Docs, which will render it in a browser compatible format. I don't have the url handy but will post it when I'm back at work tomorrow. >> >> Terry... >> >> On 18/06/2013, at 10:16 PM, "Paul Maguire" wrote: >> >>> Hi all. >>> >>> My porting to Android saga continues - last chapter... >>> >>> I've just identified that PDFs cannot be loaded into the browser native control in Android. This breaks my app quite badly. I see there is a workaround to: >>> >>> launch URL http://blah.com/someFile.pdf >>> >>> ... but this is going to cause the app to quit is it not? >>> >>> I'm a total Android hater at the moment. Anybody got any ideas on how to best proceed? >>> >>> Kind regards, Paul. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > Dr Terry Judd > Senior Lecturer in Medical Education > Medical Eduction Unit > Faculty of Medicine, Dentistry & Health Sciences > The University of Melbourne > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pderocco at ix.netcom.com Tue Jun 18 20:07:21 2013 From: pderocco at ix.netcom.com (Paul D. DeRocco) Date: Tue, 18 Jun 2013 17:07:21 -0700 Subject: Reliable way to do something on shutdown? Message-ID: My app uses an external, which if not properly closed causes LiveCode, or my standalone, to remain as an orphan process under Windows until I forcibly kill it. So far, I haven't figured out how to intercept the shutdown when it comes from the close button in the corner of the window. First, I tried adding a "shutdown" handler to my main stack, which didn't work. Then, I noticed the note in the Dictionary, and created an invisible button which had a "shutdown" handler, and made its script a backscript, but that didn't work. Then, I noticed that the Dictionary said that "shutdown" is sent to the current card of the defaultStack, and not the stack itself, so I gave the card a "shutdown" handler, but that didn't work. I don't really care if there's some reason this can't work in the IDE, since I can just remember to manually close the external. But it has to work in the standalone. My app, in case it matters, has a main stack with one card, and three subsidiary stacks for modal dialog boxes, none of which are open when the program is shut down. It works fine if I call "quit" from a menu handler, but not when I click the X in the corner. What's the right way to do this? -- Ciao, Paul D. DeRocco Paul mailto:pderocco at ix.netcom.com From terry.judd at unimelb.edu.au Tue Jun 18 20:49:10 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 19 Jun 2013 00:49:10 +0000 Subject: Reliable way to do something on shutdown? In-Reply-To: References: Message-ID: What about using a closestack (or closestackrequest) handler? Terry... On 19/06/2013, at 10:07 AM, Paul D. DeRocco wrote: > My app uses an external, which if not properly closed causes LiveCode, or my > standalone, to remain as an orphan process under Windows until I forcibly > kill it. So far, I haven't figured out how to intercept the shutdown when it > comes from the close button in the corner of the window. > > First, I tried adding a "shutdown" handler to my main stack, which didn't > work. Then, I noticed the note in the Dictionary, and created an invisible > button which had a "shutdown" handler, and made its script a backscript, but > that didn't work. Then, I noticed that the Dictionary said that "shutdown" > is sent to the current card of the defaultStack, and not the stack itself, > so I gave the card a "shutdown" handler, but that didn't work. > > I don't really care if there's some reason this can't work in the IDE, since > I can just remember to manually close the external. But it has to work in > the standalone. > > My app, in case it matters, has a main stack with one card, and three > subsidiary stacks for modal dialog boxes, none of which are open when the > program is shut down. It works fine if I call "quit" from a menu handler, > but not when I click the X in the corner. What's the right way to do this? > > -- > > Ciao, Paul D. DeRocco > Paul mailto:pderocco at ix.netcom.com > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From revdev at pdslabs.net Tue Jun 18 20:55:33 2013 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 18 Jun 2013 17:55:33 -0700 Subject: Reliable way to do something on shutdown? In-Reply-To: References: Message-ID: <51C10185.8050508@pdslabs.net> Hi Paul, Maybe a shutDownRequest handler in the script of your mainStack would do the job. In effect this lets you pause the shutdown process before it does anything, make sure your external is closed, then pass shutdownRequest. I think I would start there. Or 'closeStackRequest' like Terry suggested - it would work in the IDE or the standalone. That might be a better approach. Phil Davis On 6/18/13 5:07 PM, Paul D. DeRocco wrote: > My app uses an external, which if not properly closed causes LiveCode, or my > standalone, to remain as an orphan process under Windows until I forcibly > kill it. So far, I haven't figured out how to intercept the shutdown when it > comes from the close button in the corner of the window. > > First, I tried adding a "shutdown" handler to my main stack, which didn't > work. Then, I noticed the note in the Dictionary, and created an invisible > button which had a "shutdown" handler, and made its script a backscript, but > that didn't work. Then, I noticed that the Dictionary said that "shutdown" > is sent to the current card of the defaultStack, and not the stack itself, > so I gave the card a "shutdown" handler, but that didn't work. > > I don't really care if there's some reason this can't work in the IDE, since > I can just remember to manually close the external. But it has to work in > the standalone. > > My app, in case it matters, has a main stack with one card, and three > subsidiary stacks for modal dialog boxes, none of which are open when the > program is shut down. It works fine if I call "quit" from a menu handler, > but not when I click the X in the corner. What's the right way to do this? > -- Phil Davis From pderocco at ix.netcom.com Tue Jun 18 20:59:15 2013 From: pderocco at ix.netcom.com (Paul D. DeRocco) Date: Tue, 18 Jun 2013 17:59:15 -0700 Subject: Reliable way to do something on shutdown? In-Reply-To: <51C10185.8050508@pdslabs.net> References: <51C10185.8050508@pdslabs.net> Message-ID: <43FD32D26D424054BFFA4C044D061CD8@PAULD> > From: Phil Davis > > Maybe a shutDownRequest handler in the script of your > mainStack would do > the job. In effect this lets you pause the shutdown process before it > does anything, make sure your external is closed, then pass > shutdownRequest. I think I would start there. Actually, that's where I did start, and it didn't work either. > Or 'closeStackRequest' > like Terry suggested - it would work in the IDE or the > standalone. That might be a better approach. I'll try that this evening. But I wish I understood why what should "obviously" work, doesn't. -- Ciao, Paul D. DeRocco Paul mailto:pderocco at ix.netcom.com From dfepstein at comcast.net Tue Jun 18 21:05:52 2013 From: dfepstein at comcast.net (David Epstein) Date: Tue, 18 Jun 2013 21:05:52 -0400 Subject: Printing puzzle Message-ID: <06C9DEF8-15C6-42C0-8832-EE33FF6E0FE2@comcast.net> The question: how can I find out, by script, how big the unprintable margins are when the Page Setup dialog has been set to some scale other than 100%? At 100%, there's no problem. For example, the unprintable right margin = item 2 of the printPaperSize - item 4 of the printRectangle. But at any other scale I can't use this calculation, because while the "printRectangle" responds to a Page Setup choice of scale, the "printPaperSize" does not. Thus if I set the scale to 50%, the printRectangle of 36,36,1188,1504 tells me the pixels I can fit into a letter size page after shrinking them by half and avoiding the unprintable margins. This means the left unprintable margin on the printed output will be 18/72 of an inch (shrinking the 36 by 50%). But I do not see any way of learning this information in a script, because the 50% scaling factor is not being reported, and the printPaperSize doesn't change the way the printRectangle does when the scale changes. (The "printScale" seems to return 1 regardless of what I do to the Page Setup dialog). What I'm trying to do is show on the screen is both a rectangle that will, when printed, be 1 inch from each edge of the paper; and also as much space outside of that rectangle as can be printed to. Thus I need to know how much of that 1 inch cannot be printed to. Many thanks for any suggestions. David Epstein From terry.judd at unimelb.edu.au Tue Jun 18 21:13:24 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 19 Jun 2013 01:13:24 +0000 Subject: Reliable way to do something on shutdown? In-Reply-To: <43FD32D26D424054BFFA4C044D061CD8@PAULD> References: <51C10185.8050508@pdslabs.net> <43FD32D26D424054BFFA4C044D061CD8@PAULD> Message-ID: <939C991D-F9C3-4C41-82EE-4BD80F9CD66F@unimelb.edu.au> Are you making sure any other open stacks are being closed as well (for example in a closeStack or closeStackRequest message handler)? I've also had trouble with revBrowser in the past and always implicitly 'destroyed' any browser instances as I was cleaning up prior to a quit. Terry... On 19/06/2013, at 10:59 AM, Paul D. DeRocco wrote: >> From: Phil Davis >> >> Maybe a shutDownRequest handler in the script of your >> mainStack would do >> the job. In effect this lets you pause the shutdown process before it >> does anything, make sure your external is closed, then pass >> shutdownRequest. I think I would start there. > > Actually, that's where I did start, and it didn't work either. > >> Or 'closeStackRequest' >> like Terry suggested - it would work in the IDE or the >> standalone. That might be a better approach. > > I'll try that this evening. But I wish I understood why what should > "obviously" work, doesn't. > > -- > > Ciao, Paul D. DeRocco > Paul mailto:pderocco at ix.netcom.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From jacque at hyperactivesw.com Tue Jun 18 21:54:30 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 18 Jun 2013 20:54:30 -0500 Subject: Reliable way to do something on shutdown? In-Reply-To: <43FD32D26D424054BFFA4C044D061CD8@PAULD> References: <51C10185.8050508@pdslabs.net> <43FD32D26D424054BFFA4C044D061CD8@PAULD> Message-ID: <51C10F56.6090303@hyperactivesw.com> On 6/18/13 7:59 PM, Paul D. DeRocco wrote: >> From: Phil Davis >> >> Maybe a shutDownRequest handler in the script of your >> mainStack would do >> the job. In effect this lets you pause the shutdown process before it >> does anything, make sure your external is closed, then pass >> shutdownRequest. I think I would start there. > > Actually, that's where I did start, and it didn't work either. > >> Or 'closeStackRequest' >> like Terry suggested - it would work in the IDE or the >> standalone. That might be a better approach. > > I'll try that this evening. But I wish I understood why what should > "obviously" work, doesn't. > ShutdownRequest is sent when the user tries to quit. CloseStackRequest is sent when they try to close a window, like when they click on the close box. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Tue Jun 18 22:08:20 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 19 Jun 2013 12:08:20 +1000 Subject: [ANN] mergExt just got even better! Message-ID: Hi LiveCoders Another huge release today makes mergExt an absolute no-brainer for LiveCode development no matter what platform you're working on! You now get $865 worth of externals and other tools for the stunningly low price of $299! You can also buy products individually also if you like. mergAWS-1.1.0 Version 1.1 adds S3 support to mergAWS. A bundle for MacOS X is now included so you can use it on both platforms or just have one less bit of code that's iOS only in your app when developing. mergSocket-1.0.0 The first is the introduction of a new external mergSocket for $49 or as part of the mergExt bundle. This external provides TCP and UDP sockets including the ability to accept incoming connections. This external was crowd funded (we didn't quite meet the target funding so instead of taking the more complicated path of implementing something that might cross compile to Android in agreement with the funders we have gone for an iOs only solution. In the meantime I am looking into the issues with the sockets commands in the engine because if we can get them working it would be much better. It may be a while before that is released in a commercial version of LiveCode though. mergJSON-1.0.3 This version adds builds for LiveCode Server and mobile (iOS AND Android) mergMarkdown-1.0.1 This version adds builds for LiveCode Server and mobile (iOS AND Android) ... did someone say Android external... yes! These two externals are straight C so now that I can see how RunRev are doing it with their externals I've been able to compile them for iOS also. It doesn't mean I'll start pumping out lots of Android externals just yet but things are getting closer to the Java bindings we need so that I can. mergExt is the bargain of the century now and it's only going to get better and bigger! By purchasing anything from the mergExt store you are also supporting my FOSS efforts on the livecode engine, mApp framework, lcVCS and MIT licensed externals like mergMarkdown and mergMicrophone. Cheers Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From pderocco at ix.netcom.com Tue Jun 18 23:51:12 2013 From: pderocco at ix.netcom.com (Paul D. DeRocco) Date: Tue, 18 Jun 2013 20:51:12 -0700 Subject: Reliable way to do something on shutdown? In-Reply-To: <51C10F56.6090303@hyperactivesw.com> References: <51C10185.8050508@pdslabs.net><43FD32D26D424054BFFA4C044D061CD8@PAULD> <51C10F56.6090303@hyperactivesw.com> Message-ID: > From: J. Landman Gay > > ShutdownRequest is sent when the user tries to quit. > CloseStackRequest > is sent when they try to close a window, like when they click on the > close box. Sounds like I need to handle both, then. It seems "wrong" to me that there is no message that universally indicates shutdown, no matter how it is invoked, but I guess I can live with it. -- Ciao, Paul D. DeRocco Paul mailto:pderocco at ix.netcom.com From jacque at hyperactivesw.com Wed Jun 19 00:01:48 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 18 Jun 2013 23:01:48 -0500 Subject: Printing puzzle In-Reply-To: <06C9DEF8-15C6-42C0-8832-EE33FF6E0FE2@comcast.net> References: <06C9DEF8-15C6-42C0-8832-EE33FF6E0FE2@comcast.net> Message-ID: <51C12D2C.80708@hyperactivesw.com> On 6/18/13 8:05 PM, David Epstein wrote: > The question: how can I find out, by script, how big the unprintable > margins are when the Page Setup dialog has been set to some scale other > than 100%? > > At 100%, there's no problem. For example, the unprintable right margin > = item 2 of the printPaperSize - item 4 of the printRectangle. > > But at any other scale I can't use this calculation, because while the > "printRectangle" responds to a Page Setup choice of scale, the > "printPaperSize" does not. > > Thus if I set the scale to 50%, the printRectangle of 36,36,1188,1504 > tells me the pixels I can fit into a letter size page after shrinking > them by half and avoiding the unprintable margins. This means the left > unprintable margin on the printed output will be 18/72 of an inch > (shrinking the 36 by 50%). But I do not see any way of learning this > information in a script, because the 50% scaling factor is not being > reported, and the printPaperSize doesn't change the way the > printRectangle does when the scale changes. (The "printScale" seems to > return 1 regardless of what I do to the Page Setup dialog). > > What I'm trying to do is show on the screen is both a rectangle that > will, when printed, be 1 inch from each edge of the paper; and also as > much space outside of that rectangle as can be printed to. Thus I need > to know how much of that 1 inch cannot be printed to. I'm not sure I follow all that, but I'll toss out a couple of things. The printPaperSize won't change unless the user changes the paper feed setting in the print setup (or a script changes it) -- it's the physical size of the paper. If they change from letterhead to envelope, the printPaperSize will change, otherwise it won't. Every printer has a hard, physical limitation on how far from the edges it will print. If you get a half-inch unprintable margin at 100% scale, it will still be the same at any other scale. The print head won't travel any closer to the edge than half an inch. The printRectangle represents the largest available printing area for the paper that's currently loaded, and takes the unprintable area into account. The scale of the printout doesn't change that available area, though it will be filled with more or fewer pixels depending on the print scale. I'm not sure if you're trying to print outside the available print region (you can't), or if you're trying to scale your card to fit it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Jun 19 00:03:17 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 18 Jun 2013 23:03:17 -0500 Subject: Reliable way to do something on shutdown? In-Reply-To: References: <51C10185.8050508@pdslabs.net><43FD32D26D424054BFFA4C044D061CD8@PAULD> <51C10F56.6090303@hyperactivesw.com> Message-ID: <51C12D85.208@hyperactivesw.com> On 6/18/13 10:51 PM, Paul D. DeRocco wrote: >> From: J. Landman Gay >> >> ShutdownRequest is sent when the user tries to quit. >> CloseStackRequest >> is sent when they try to close a window, like when they click on the >> close box. > > Sounds like I need to handle both, then. It seems "wrong" to me that there > is no message that universally indicates shutdown, no matter how it is > invoked, but I guess I can live with it. > Well, on a Mac, closing the last window doesn't shut down the app. The app stays resident and sits there with nothing but its menu bar showing, waiting for you to choose Quit. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Jun 19 00:04:26 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 18 Jun 2013 23:04:26 -0500 Subject: Reliable way to do something on shutdown? In-Reply-To: <51C12D85.208@hyperactivesw.com> References: <51C10185.8050508@pdslabs.net><43FD32D26D424054BFFA4C044D061CD8@PAULD> <51C10F56.6090303@hyperactivesw.com> <51C12D85.208@hyperactivesw.com> Message-ID: <51C12DCA.5090409@hyperactivesw.com> On 6/18/13 11:03 PM, J. Landman Gay wrote: > On 6/18/13 10:51 PM, Paul D. DeRocco wrote: >>> From: J. Landman Gay >>> >>> ShutdownRequest is sent when the user tries to quit. >>> CloseStackRequest >>> is sent when they try to close a window, like when they click on the >>> close box. >> >> Sounds like I need to handle both, then. It seems "wrong" to me that >> there >> is no message that universally indicates shutdown, no matter how it is >> invoked, but I guess I can live with it. >> > > Well, on a Mac, closing the last window doesn't shut down the app. The > app stays resident and sits there with nothing but its menu bar showing, > waiting for you to choose Quit. :) > I take that back -- closing the *last* window does shut it down. But it isn't always the last window the user is closing, so we need two messages. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pderocco at ix.netcom.com Wed Jun 19 00:32:02 2013 From: pderocco at ix.netcom.com (Paul D. DeRocco) Date: Tue, 18 Jun 2013 21:32:02 -0700 Subject: Reliable way to do something on shutdown? In-Reply-To: <51C12DCA.5090409@hyperactivesw.com> References: <51C10185.8050508@pdslabs.net><43FD32D26D424054BFFA4C044D061CD8@PAULD><51C10F56.6090303@hyperactivesw.com><51C12D85.208@hyperactivesw.com> <51C12DCA.5090409@hyperactivesw.com> Message-ID: <3187699D6F4D4D95A248432F4098F0C1@PAULD> > From: J. Landman Gay > > > Well, on a Mac, closing the last window doesn't shut down > > the app. The > > app stays resident and sits there with nothing but its menu > > bar showing, waiting for you to choose Quit. :) > > I take that back -- closing the *last* window does shut it > down. But it > isn't always the last window the user is closing, so we need > two messages. Oh bugger, I hope this doesn't mean that it will work differently on a Mac. I don't have a Mac to test it on. -- Ciao, Paul D. DeRocco Paul mailto:pderocco at ix.netcom.com From mwieder at ahsoftware.net Wed Jun 19 00:35:22 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 18 Jun 2013 21:35:22 -0700 Subject: synonyms In-Reply-To: References: Message-ID: <102134280717.20130618213522@ahsoftware.net> Pete- Friday, June 14, 2013, 9:33:20 PM, you wrote: > I'm sorry... I'm back in town now. Wow - somebody got up on the wrong side of the bed... Pete- I set up a topic on the web forum to discuss the propertynames, and there's a rather interesting discussion going on there. You can join in if you like (that's why I set it up in the first place) or you can quit bitching about this. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Wed Jun 19 00:34:10 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 18 Jun 2013 21:34:10 -0700 Subject: synonyms In-Reply-To: References: Message-ID: <188134209284.20130618213410@ahsoftware.net> Pete- Friday, June 14, 2013, 9:33:20 PM, you wrote: > I'm sorry... I'm back in town now. Wow - somebody got up on the wrong side of the bed... Pete- I set up a topic on the web forum to discuss the propertynames, and there's a rather interesting discussion going on there. -- -Mark Wieder mwieder at ahsoftware.net From th.douez at gmail.com Wed Jun 19 01:21:50 2013 From: th.douez at gmail.com (Thierry Douez) Date: Wed, 19 Jun 2013 07:21:50 +0200 Subject: Post command help In-Reply-To: References: Message-ID: Merci Pierre, looks like option 2 was the culprit.. everything works well again :) ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage 2013/6/18 Pierre Sahores > Hi, > > Would say that two events may be responsible of this : > > 1.- The SSL certificate may be outdated and, then, have to be renewed ; > 2.- The dedicated IP of your hosting account is down. A shared IP is used > instead and the certificate is unbindable from this one ; > > Regards, > > Pierre > > Le 18 juin 2013 ? 10:47, Thierry Douez a ?crit : > > > Hello, > > > > I have a one-line script to post some datas on a server. > > > > Yesterday, everything works perfectly. > > > > This morning, without changing anything on Livecode side or server, only > > restarting my Mac, I get this error: > > > > Post: - error -Error with certificate at depth: 2 issuer = > > /C=BE/O=GlobalSign nv-sa/OU=Root CA/CN=GlobalSign Root CA subject = > > /C=BE/O=GlobalSign nv-sa/OU=Root CA/CN=GlobalSign Root CA err 19:self > > signed certificate in certificate chain > > > > Any hint why this happens ? > > > > Is there some parameters we can set to change the post behavior in LC? > > > > Regards, > > > > Thierry > > From pderocco at ix.netcom.com Wed Jun 19 02:31:16 2013 From: pderocco at ix.netcom.com (Paul D. DeRocco) Date: Tue, 18 Jun 2013 23:31:16 -0700 Subject: Reliable way to do something on shutdown? In-Reply-To: <51C10F56.6090303@hyperactivesw.com> References: <51C10185.8050508@pdslabs.net><43FD32D26D424054BFFA4C044D061CD8@PAULD> <51C10F56.6090303@hyperactivesw.com> Message-ID: <63AD2BEB59AC420BAB11FB73883C21D3@PAULD> > From: J. Landman Gay > > ShutdownRequest is sent when the user tries to quit. > CloseStackRequest > is sent when they try to close a window, like when they click on the > close box. Handling closeStack, and calling shutdown if it's the main stack, seems to solve the problem. Just in case, I wrote the shutdown handler so that if it's called twice, nothing bad will happen, so that should be safe no matter how it works under OS X or Linux. Now, if only someone knew the answer to my hilitedLine question. (Nudge, nudge.) -- Ciao, Paul D. DeRocco Paul mailto:pderocco at ix.netcom.com From terry.judd at unimelb.edu.au Wed Jun 19 03:11:56 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 19 Jun 2013 07:11:56 +0000 Subject: Reliable way to do something on shutdown? In-Reply-To: <63AD2BEB59AC420BAB11FB73883C21D3@PAULD> References: <51C10185.8050508@pdslabs.net><43FD32D26D424054BFFA4C044D061CD8@PAULD> <51C10F56.6090303@hyperactivesw.com> <63AD2BEB59AC420BAB11FB73883C21D3@PAULD> Message-ID: <8CDBADA3-E623-4B12-BC0F-CD0EED58D4B4@unimelb.edu.au> On 19/06/2013, at 04:31 PM, Paul D. DeRocco wrote: >> From: J. Landman Gay >> >> ShutdownRequest is sent when the user tries to quit. >> CloseStackRequest >> is sent when they try to close a window, like when they click on the >> close box. > > Handling closeStack, and calling shutdown if it's the main stack, seems to > solve the problem. Just in case, I wrote the shutdown handler so that if > it's called twice, nothing bad will happen, so that should be safe no matter > how it works under OS X or Linux. One more thing - if you have a special clean up routine then you'll need to handle the user quitting using a keyboard shortcut (cmd-Q) separately on OSX. Something like this... on appleEvent pClass,pID,pSender switch (pClass & pID) case "aevtquit" myShutdownRoutine pass appleEvent break default pass appleEvent break end switch end appleEvent > > Now, if only someone knew the answer to my hilitedLine question. (Nudge, > nudge.) Not sure what's going on there. Have you tried an opencard handler? Or tried using a 'send' to trigger the change? Terry... > > -- > > Ciao, Paul D. DeRocco > Paul mailto:pderocco at ix.netcom.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From andre.bisseret at wanadoo.fr Wed Jun 19 04:48:50 2013 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Wed, 19 Jun 2013 10:48:50 +0200 Subject: Can't set hilitedLine inside openStack In-Reply-To: <87D46BE23C4D43A4BC06673AA61E41FC@PAULD> References: <87D46BE23C4D43A4BC06673AA61E41FC@PAULD> Message-ID: <54E31876-28A0-4AF6-902D-50FE25F82FA1@wanadoo.fr> Bonjour Paul, Not sure to have understood well your problem but: I just made a new main stack "stackMain" and a substack of it named "bar" On stack "stackMain" a button with the following handler : on mouseUp modal stack "bar" end mouseUp On the substack "bar", I put a field "foo" with several lines of text setting the lockText to true and listBehavior to true. the script of the field "foo" is : on selectionChanged global gLineNum, ------ put the hilitedLine of me into gLineNum end selectionChanged The script of the substack "bar" is : on openStack global gLineNum, ------ if gLineNum > 1 then set the hilitedLine of fld "foo" to gLineNum else set the hilitedLine of fld "foo" to 0 end if end openStack And on the substack a button which allow to close it : on mouseUp close stack "bar" end mouseUp select a line in field "foo", close the substack " reopen it : the hilitedLIne of field "foo" is as expected Does that help ? Best regards from Grenoble Andr? Le 19 juin 2013 ? 01:01, Paul D. DeRocco a ?crit : > I have a modal stack that contains a listbox used to select something, and I > keep track of the last selection made in a global variable. I want the stack > to pop up with the last selection already highlighted, or no line > highlighted if there is no matching line. So I compute the number of the > matching line in a variable, or "empty" if there is no match, and then do > > set the hilitedLine of field "foo" of stack "bar" to n > > It does bupkis; no matter what, the first line remains selected. If I set a > breakpoint on this line, and open the stack manually (i.e., non-modally so > that it will actually trigger the break), I can see that n contains the > correct value. When I step across the above statement, nothing happens. If I > then type exactly the same statement into the Message Box, the proper line > is highlighted. What the heck is going on? > > -- > > Ciao, Paul D. DeRocco > Paul mailto:pderocco at ix.netcom.com > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revolution at derbrill.de Wed Jun 19 07:41:45 2013 From: revolution at derbrill.de (Malte Brill) Date: Wed, 19 Jun 2013 13:41:45 +0200 Subject: Any autoCad users here? Need to extract preview image from dwg... In-Reply-To: References: Message-ID: <80719C26-8437-4815-AC31-5C3067987533@derbrill.de> Hi all, I was asked if I could display the preview image contained in an autoCad dwg file inside of a liveCode app. Anybody happens to have tried this before? Glad to receive any pointers. All the best, Malte -- derbrill IT-service Malte Pfaff-Brill Tanneneck 2, d-24790 Ostenfeld Tel: +49 4331-337 640 0 eMail: info at derbrill.de web: http://www.derbrill.de Steuernummer: 28 015 03865 VAT ID: DE223571286 From mcgrath3 at mac.com Wed Jun 19 08:56:23 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Wed, 19 Jun 2013 08:56:23 -0400 Subject: Printing puzzle In-Reply-To: <51C12D2C.80708@hyperactivesw.com> References: <06C9DEF8-15C6-42C0-8832-EE33FF6E0FE2@comcast.net> <51C12D2C.80708@hyperactivesw.com> Message-ID: <7DE6C357-39C2-465C-BD41-6F0335D19F76@mac.com> Jac, all this explanation needs is a code example and it could replace the docs on printing. Nice. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jun 19, 2013, at 12:01 AM, J. Landman Gay wrote: > I'm not sure I follow all that, but I'll toss out a couple of things. The printPaperSize won't change unless the user changes the paper feed setting in the print setup (or a script changes it) -- it's the physical size of the paper. If they change from letterhead to envelope, the printPaperSize will change, otherwise it won't. > > Every printer has a hard, physical limitation on how far from the edges it will print. If you get a half-inch unprintable margin at 100% scale, it will still be the same at any other scale. The print head won't travel any closer to the edge than half an inch. > > The printRectangle represents the largest available printing area for the paper that's currently loaded, and takes the unprintable area into account. The scale of the printout doesn't change that available area, though it will be filled with more or fewer pixels depending on the print scale. > > I'm not sure if you're trying to print outside the available print region (you can't), or if you're trying to scale your card to fit it. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > From gspearson at gmail.com Wed Jun 19 12:03:14 2013 From: gspearson at gmail.com (Graham Pearson) Date: Wed, 19 Jun 2013 12:03:14 -0400 Subject: network error 'previous request not completed' In-Reply-To: <0705783F-F76A-4597-9F7C-8780CECF7074@unimelb.edu.au> References: <0705783F-F76A-4597-9F7C-8780CECF7074@unimelb.edu.au> Message-ID: <51C1D642.8090503@gmail.com> Were you able to find a solution for this. I have just ran into this just today from an application that was working well. On 1/17/2012 7:04 PM, Terry Judd wrote: > I'm experiencing a serious connectivity problem that appears to start with the error 'error Previous request not completed', usually in response to a post request, and ends with LC being pretty much totally unresponsive to any network requests. In the IDE this can sometimes (but not always) be rectified by calling resetAll but in our application, the only solution is to quit the app and start again. The post request are via https but I'm not sure whether that's a factor. One of my beta testers is having real problems with this (on multiple platforms) but I'm unable to replicate the problem on my setup at the moment. > > The socketTimeoutInterval is set to 5000 but when the error occurs it will repeatedly occur no matter how long you wait between requests (once the error occurs network connectivity is pretty much broken). > > Anyone have any ideas as to what may be occurring? I really need to squash this problem/bug ASAP. > > Terry... > > Dr Terry Judd > Senior Lecturer in Medical Education > Medical Eduction Unit > Faculty of Medicine, Dentistry & Health Sciences > The University of Melbourne > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From andrew at ctech.me Wed Jun 19 12:05:34 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Wed, 19 Jun 2013 11:05:34 -0500 Subject: network error 'previous request not completed' In-Reply-To: <51C1D642.8090503@gmail.com> References: <0705783F-F76A-4597-9F7C-8780CECF7074@unimelb.edu.au> <51C1D642.8090503@gmail.com> Message-ID: I fight this on occasion too. Still have not found a solution that works besides telling them to quit and restart. On Wed, Jun 19, 2013 at 11:03 AM, Graham Pearson wrote: > Were you able to find a solution for this. I have just ran into this > just today from an application that was working well. > > > > On 1/17/2012 7:04 PM, Terry Judd wrote: > > I'm experiencing a serious connectivity problem that appears to start > with the error 'error Previous request not completed', usually in response > to a post request, and ends with LC being pretty much totally unresponsive > to any network requests. In the IDE this can sometimes (but not always) be > rectified by calling resetAll but in our application, the only solution is > to quit the app and start again. The post request are via https but I'm not > sure whether that's a factor. One of my beta testers is having real > problems with this (on multiple platforms) but I'm unable to replicate the > problem on my setup at the moment. > > > > The socketTimeoutInterval is set to 5000 but when the error occurs it > will repeatedly occur no matter how long you wait between requests (once > the error occurs network connectivity is pretty much broken). > > > > Anyone have any ideas as to what may be occurring? I really need to > squash this problem/bug ASAP. > > > > Terry... > > > > Dr Terry Judd > > Senior Lecturer in Medical Education > > Medical Eduction Unit > > Faculty of Medicine, Dentistry & Health Sciences > > The University of Melbourne > > > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From m.schonewille at economy-x-talk.com Wed Jun 19 12:23:36 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 19 Jun 2013 18:23:36 +0200 Subject: network error 'previous request not completed' In-Reply-To: <51C1D642.8090503@gmail.com> References: <0705783F-F76A-4597-9F7C-8780CECF7074@unimelb.edu.au> <51C1D642.8090503@gmail.com> Message-ID: <51C1DB08.4090703@economy-x-talk.com> Hi Graham, I posted this to the forum a few days ago: local lBusy on mouseUp put empty if lBusy is true then beep answer "Are you sure" with "Yes" or "No" if it is "No" then exit mouseUp else repeat for each line mySock in the openSockets close socket mySock end repeat beep end if end if put true into lBusy put "http://bla.bla.com" into myUrl post "hello" to url myUrl put the result into rslt put false into lBusy put "ok" & rslt end mouseUp This script checks whether you're currently waiting for a response and resets the connection if you decide to continue. ResetAll didn't work, that's why I close the sockets. It should prevent the problem from occurring in at least a few cases. You might also adjust the script to only close the socket this script was trying to connect to. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 6/19/2013 18:03, Graham Pearson wrote: > Were you able to find a solution for this. I have just ran into this > just today from an application that was working well. > > > > On 1/17/2012 7:04 PM, Terry Judd wrote: >> I'm experiencing a serious connectivity problem that appears to start with the error 'error Previous request not completed', usually in response to a post request, and ends with LC being pretty much totally unresponsive to any network requests. In the IDE this can sometimes (but not always) be rectified by calling resetAll but in our application, the only solution is to quit the app and start again. The post request are via https but I'm not sure whether that's a factor. One of my beta testers is having real problems with this (on multiple platforms) but I'm unable to replicate the problem on my setup at the moment. >> >> The socketTimeoutInterval is set to 5000 but when the error occurs it will repeatedly occur no matter how long you wait between requests (once the error occurs network connectivity is pretty much broken). >> >> Anyone have any ideas as to what may be occurring? I really need to squash this problem/bug ASAP. >> >> Terry... >> >> Dr Terry Judd >> Senior Lecturer in Medical Education >> Medical Eduction Unit >> Faculty of Medicine, Dentistry & Health Sciences >> The University of Melbourne >> From jacque at hyperactivesw.com Wed Jun 19 12:45:12 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 19 Jun 2013 11:45:12 -0500 Subject: Reliable way to do something on shutdown? In-Reply-To: <8CDBADA3-E623-4B12-BC0F-CD0EED58D4B4@unimelb.edu.au> References: <51C10185.8050508@pdslabs.net><43FD32D26D424054BFFA4C044D061CD8@PAULD> <51C10F56.6090303@hyperactivesw.com> <63AD2BEB59AC420BAB11FB73883C21D3@PAULD> <8CDBADA3-E623-4B12-BC0F-CD0EED58D4B4@unimelb.edu.au> Message-ID: <51C1E018.30403@hyperactivesw.com> On 6/19/13 2:11 AM, Terry Judd wrote: > One more thing - if you have a special clean up routine then you'll need to handle the user quitting using a keyboard shortcut (cmd-Q) separately on OSX. Something like this... > > on appleEvent pClass,pID,pSender > switch (pClass & pID) > case "aevtquit" > myShutdownRoutine > pass appleEvent > break > default > pass appleEvent > break > end switch > end appleEvent Just curious why you'd need an AppleEvent. Wouldn't a shutdown handler be enough? I've never had to use an AppleEvent for that, but would like to know what situation would require it. >> Now, if only someone knew the answer to my hilitedLine question. (Nudge, >> nudge.) > > Not sure what's going on there. Have you tried an opencard handler? Or tried using a 'send' to trigger the change? That's what I'd do too. The engine does some internal housekeeping when it opens a card or a stack, and one of those things is automatic focus and automatic hiliting of list fields. Sometimes that gets in the way. Sending a message in time during preOpenCard to a handler that sets the hilite usually works because it happens after the automatic stuff completes. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From t.heaford at btinternet.com Wed Jun 19 14:15:43 2013 From: t.heaford at btinternet.com (Terence Heaford) Date: Wed, 19 Jun 2013 19:15:43 +0100 Subject: Cocoa - Kickstarter goal Message-ID: <7987B724-486F-42AE-A8B5-36B4453BCC0C@btinternet.com> Just read the latest update and have got the impression that the conversion to Cocoa is now lower down the list. Is that correct or am I misreading? Thanks Terry From andrew at ctech.me Wed Jun 19 14:50:31 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Wed, 19 Jun 2013 13:50:31 -0500 Subject: Cocoa - Kickstarter goal In-Reply-To: <7987B724-486F-42AE-A8B5-36B4453BCC0C@btinternet.com> References: <7987B724-486F-42AE-A8B5-36B4453BCC0C@btinternet.com> Message-ID: Are you talking about the blog post on livecode.com that was released today or an update on the kickstarter page? I didn't see any mention of that getting bumped down in priority in the blog post. I believe it was always slated to be expected "sometime after the refactoring project". With the refactoring project aiming at fall for wrap-up, I would asume carbon and the new native controls to come around sometime after the fall (Winter, Spring, Next Summer). On Wed, Jun 19, 2013 at 1:15 PM, Terence Heaford wrote: > Just read the latest update and have got the impression that the > conversion to Cocoa is now lower down the list. > > Is that correct or am I misreading? > > Thanks > > Terry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From andrew at ctech.me Wed Jun 19 14:53:08 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Wed, 19 Jun 2013 13:53:08 -0500 Subject: Cocoa - Kickstarter goal In-Reply-To: References: <7987B724-486F-42AE-A8B5-36B4453BCC0C@btinternet.com> Message-ID: I meant cocoa, not carbon. Andrew On Wed, Jun 19, 2013 at 1:50 PM, Andrew Kluthe wrote: > Are you talking about the blog post on livecode.com that was released > today or an update on the kickstarter page? > > I didn't see any mention of that getting bumped down in priority in the > blog post. I believe it was always slated to be expected "sometime after > the refactoring project". With the refactoring project aiming at fall for > wrap-up, I would asume carbon and the new native controls to come around > sometime after the fall (Winter, Spring, Next Summer). > > > On Wed, Jun 19, 2013 at 1:15 PM, Terence Heaford > wrote: > >> Just read the latest update and have got the impression that the >> conversion to Cocoa is now lower down the list. >> >> Is that correct or am I misreading? >> >> Thanks >> >> Terry >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > Regards, > > Andrew Kluthe > andrew at ctech.me > -- Regards, Andrew Kluthe andrew at ctech.me From pderocco at ix.netcom.com Wed Jun 19 15:02:46 2013 From: pderocco at ix.netcom.com (Paul D. DeRocco) Date: Wed, 19 Jun 2013 12:02:46 -0700 Subject: Can't set hilitedLine inside openStack In-Reply-To: <54E31876-28A0-4AF6-902D-50FE25F82FA1@wanadoo.fr> References: <87D46BE23C4D43A4BC06673AA61E41FC@PAULD> <54E31876-28A0-4AF6-902D-50FE25F82FA1@wanadoo.fr> Message-ID: <5EE0A370EBF44E20B2A3DD36B118C54B@PAULD> This turned out to be a dumb cockpit error. I had misspelled the property name "hililtedLine", which is very hard to see in the proportional spaced font that the IDE uses to display these things. It's working as expected now, setting the property in the preOpenStack handler. -- Ciao, Paul D. DeRocco Paul mailto:pderocco at ix.netcom.com From dsc at swcp.com Wed Jun 19 15:27:44 2013 From: dsc at swcp.com (Dar Scott) Date: Wed, 19 Jun 2013 13:27:44 -0600 Subject: Cocoa - Kickstarter goal In-Reply-To: References: <7987B724-486F-42AE-A8B5-36B4453BCC0C@btinternet.com> Message-ID: <468B32D7-C7CB-4FB0-BDDA-130C9C3D23F0@swcp.com> What is this about? Is this about getting the engine implementation to use some sort of cross platform Cocoa? Or is this really about using Apple Human Interface Guidelines on appropriate platforms? I'm missing why is is a big deal. (I'm probably missing a lot, but that is what comes to mind.) Dar On Jun 19, 2013, at 12:53 PM, Andrew Kluthe wrote: > I meant cocoa, not carbon. > > Andrew > > > On Wed, Jun 19, 2013 at 1:50 PM, Andrew Kluthe wrote: > >> Are you talking about the blog post on livecode.com that was released >> today or an update on the kickstarter page? >> >> I didn't see any mention of that getting bumped down in priority in the >> blog post. I believe it was always slated to be expected "sometime after >> the refactoring project". With the refactoring project aiming at fall for >> wrap-up, I would asume carbon and the new native controls to come around >> sometime after the fall (Winter, Spring, Next Summer). >> >> >> On Wed, Jun 19, 2013 at 1:15 PM, Terence Heaford >> wrote: >> >>> Just read the latest update and have got the impression that the >>> conversion to Cocoa is now lower down the list. >>> >>> Is that correct or am I misreading? >>> >>> Thanks >>> >>> Terry >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> >> -- >> Regards, >> >> Andrew Kluthe >> andrew at ctech.me >> > > > > -- > Regards, > > Andrew Kluthe > andrew at ctech.me > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Wed Jun 19 15:37:56 2013 From: klaus at major-k.de (Klaus major-k) Date: Wed, 19 Jun 2013 21:37:56 +0200 Subject: Cocoa - Kickstarter goal In-Reply-To: <468B32D7-C7CB-4FB0-BDDA-130C9C3D23F0@swcp.com> References: <7987B724-486F-42AE-A8B5-36B4453BCC0C@btinternet.com> <468B32D7-C7CB-4FB0-BDDA-130C9C3D23F0@swcp.com> Message-ID: Hi Dar, Am 19.06.2013 um 21:27 schrieb Dar Scott : > What is this about? > > Is this about getting the engine implementation to use some sort of cross platform Cocoa? > > Or is this really about using Apple Human Interface Guidelines on appropriate platforms? > > I'm missing why is is a big deal. (I'm probably missing a lot, but that is what comes to mind.) > > Dar it's number two :-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From terry.judd at unimelb.edu.au Wed Jun 19 15:57:08 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 19 Jun 2013 19:57:08 +0000 Subject: Reliable way to do something on shutdown? In-Reply-To: <51C1E018.30403@hyperactivesw.com> References: <51C10185.8050508@pdslabs.net><43FD32D26D424054BFFA4C044D061CD8@PAULD> <51C10F56.6090303@hyperactivesw.com> <63AD2BEB59AC420BAB11FB73883C21D3@PAULD> <8CDBADA3-E623-4B12-BC0F-CD0EED58D4B4@unimelb.edu.au> <51C1E018.30403@hyperactivesw.com> Message-ID: On 20/06/2013, at 02:45 AM, J. Landman Gay wrote: > On 6/19/13 2:11 AM, Terry Judd wrote: > >> One more thing - if you have a special clean up routine then you'll need to handle the user quitting using a keyboard shortcut (cmd-Q) separately on OSX. Something like this... >> >> on appleEvent pClass,pID,pSender >> switch (pClass & pID) >> case "aevtquit" >> myShutdownRoutine >> pass appleEvent >> break >> default >> pass appleEvent >> break >> end switch >> end appleEvent > > Just curious why you'd need an AppleEvent. Wouldn't a shutdown handler be enough? I've never had to use an AppleEvent for that, but would like to know what situation would require it. No, you're right. I was under the impression that cmd-q didn't trigger a shutdown request message. Perhaps it didn't in the distant past and I never registered the change. Terry... Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From jacque at hyperactivesw.com Wed Jun 19 16:09:57 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 19 Jun 2013 15:09:57 -0500 Subject: Can't set hilitedLine inside openStack In-Reply-To: <5EE0A370EBF44E20B2A3DD36B118C54B@PAULD> References: <87D46BE23C4D43A4BC06673AA61E41FC@PAULD> <54E31876-28A0-4AF6-902D-50FE25F82FA1@wanadoo.fr> <5EE0A370EBF44E20B2A3DD36B118C54B@PAULD> Message-ID: <51C21015.1030201@hyperactivesw.com> On 6/19/13 2:02 PM, Paul D. DeRocco wrote: > This turned out to be a dumb cockpit error. I had misspelled the property > name "hililtedLine", which is very hard to see in the proportional spaced > font that the IDE uses to display these things. It's working as expected > now, setting the property in the preOpenStack handler. > You can change the font in preferences. I always do that first thing. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Wed Jun 19 17:12:43 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 19 Jun 2013 14:12:43 -0700 Subject: Cocoa - Kickstarter goal In-Reply-To: References: <7987B724-486F-42AE-A8B5-36B4453BCC0C@btinternet.com> <468B32D7-C7CB-4FB0-BDDA-130C9C3D23F0@swcp.com> Message-ID: <164194121668.20130619141243@ahsoftware.net> Klaus- Wednesday, June 19, 2013, 12:37:56 PM, you wrote: > it's number two :-) But it's more than that as well. It leads the way to 64-bit OSX builds and it means, now that Carbon has been deprecated, that we'll still be able to build for OSX once Apple pulls the plug. And maybe we'll even be able to avoid that awful warning users get when launching our apps. -- -Mark Wieder mwieder at ahsoftware.net From richmondmathewson at gmail.com Wed Jun 19 17:18:53 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 20 Jun 2013 00:18:53 +0300 Subject: Big Icons in the AppBrowser In-Reply-To: <51C0B54E.8010501@gmail.com> References: <51C0B54E.8010501@gmail.com> Message-ID: <51C2203D.8090909@gmail.com> On 06/18/2013 10:30 PM, Richmond wrote: > Just upgraded my hack stack to colourise > and generally muck about with the AppBrowser > now featuring the option of mak9ing the icons > and the text a whole lot bigger. > > http://forums.runrev.com/viewtopic.php?f=6&t=15388&p=78833#p78833 > > Richmond. Now available with my attempt at being "artistic": http://forums.runrev.com/viewtopic.php?f=6&t=15388&p=78933#p78933 Richmond. From dsc at swcp.com Wed Jun 19 17:27:45 2013 From: dsc at swcp.com (Dar Scott) Date: Wed, 19 Jun 2013 15:27:45 -0600 Subject: Cocoa - Kickstarter goal In-Reply-To: <164194121668.20130619141243@ahsoftware.net> References: <7987B724-486F-42AE-A8B5-36B4453BCC0C@btinternet.com> <468B32D7-C7CB-4FB0-BDDA-130C9C3D23F0@swcp.com> <164194121668.20130619141243@ahsoftware.net> Message-ID: <9115D6F0-B890-4BD4-A3A3-B495EA854C96@swcp.com> There are a lot of things you can't do without Carbon. Will all of the BSD API go away? So, what does this mean in implementation? Dar On Jun 19, 2013, at 3:12 PM, Mark Wieder wrote: > Klaus- > > Wednesday, June 19, 2013, 12:37:56 PM, you wrote: > >> it's number two :-) > > But it's more than that as well. It leads the way to 64-bit OSX builds > and it means, now that Carbon has been deprecated, that we'll still be > able to build for OSX once Apple pulls the plug. And maybe we'll even > be able to avoid that awful warning users get when launching our apps. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dfepstein at comcast.net Wed Jun 19 18:49:50 2013 From: dfepstein at comcast.net (David Epstein) Date: Wed, 19 Jun 2013 18:49:50 -0400 Subject: Printing puzzle Message-ID: <4CF38810-F948-4DA0-8DE5-D6E62EFAF7C8@comcast.net> Jacqueline Gay lucidly explained printing settings, including this: Every printer has a hard, physical limitation on how far from the edges it will print. If you get a half-inch unprintable margin at 100% scale, it will still be the same at any other scale. Yes, the unprintable margins are fixed, but what are they? PrintRectangle reports their size in screen pixels, but that will only be their size on the printed page if the page setup scale is 100%. It appears that LC lets us either (a) use the full printable area of the paper (print card into rect the printRectangle), OR (b) place things at precise locations on the paper (leave a safe margin of empty space on all sides of a card whose dimensions are equal or proportional to the printPaperSize, then print into rect ?0,0,? & the printPaperSize) ? but not both. Unless my script can know what scale is governing the result of the printRectangle, it cannot position an object that will be exactly one inch from the top of the printed page using method (a). If the left and right unprintable margins were always symmetrical, the "pageSetupScale" I'm looking for could be derived as 100 * item 1 of the printPaperSize / ( item 1 of the printRectangle + item 3 of the printRectangle). But this symmetry was found on only one of the two printers I tested. David Epstein From andrew at ctech.me Wed Jun 19 20:06:47 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Wed, 19 Jun 2013 19:06:47 -0500 Subject: Cocoa - Kickstarter goal In-Reply-To: <9115D6F0-B890-4BD4-A3A3-B495EA854C96@swcp.com> References: <7987B724-486F-42AE-A8B5-36B4453BCC0C@btinternet.com> <468B32D7-C7CB-4FB0-BDDA-130C9C3D23F0@swcp.com> <164194121668.20130619141243@ahsoftware.net> <9115D6F0-B890-4BD4-A3A3-B495EA854C96@swcp.com> Message-ID: I think the plan here with cocoa is to abstract the platform specific code and controls being used and rendered for each platform. Also, I know almost nothing about apple but it seems mac is rapidly depreciating carbon in their newer products. I do believe for current and past mac incarnations, abstracting this part of livecode would also make providing native controls for any platform fairly easy. Andrew On Wed, Jun 19, 2013 at 4:27 PM, Dar Scott wrote: > There are a lot of things you can't do without Carbon. Will all of the > BSD API go away? > > So, what does this mean in implementation? > > Dar > > On Jun 19, 2013, at 3:12 PM, Mark Wieder wrote: > > > Klaus- > > > > Wednesday, June 19, 2013, 12:37:56 PM, you wrote: > > > >> it's number two :-) > > > > But it's more than that as well. It leads the way to 64-bit OSX builds > > and it means, now that Carbon has been deprecated, that we'll still be > > able to build for OSX once Apple pulls the plug. And maybe we'll even > > be able to avoid that awful warning users get when launching our apps. > > > > -- > > -Mark Wieder > > mwieder at ahsoftware.net > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From ludovic.thebault at laposte.net Thu Jun 20 02:07:14 2013 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Thu, 20 Jun 2013 08:07:14 +0200 Subject: Decode UTF-8 in variable ? Message-ID: <3F28450E-B441-4C01-986F-E4628CE5CC08@laposte.net> Hello, I need to get datas from sqlite (in UTF-8) and convert it in ASCII for treatment, but i don't need to put it in a field.. I try unidecode(uniencode(myTXT, "utf8")) and many others solutions with no result. We need to pass by a field ? with this command : set the unicodetext of field "xxx" to .. ? Thanks From simon at asato-media.com Thu Jun 20 02:47:35 2013 From: simon at asato-media.com (As_Simon) Date: Wed, 19 Jun 2013 23:47:35 -0700 (PDT) Subject: [OT] What's happening here in Turkey... In-Reply-To: References: Message-ID: <1371710855758-4666628.post@n4.nabble.com> Here Tumbler pics: http://occupygezipics.tumblr.com/ Jenix (pepper spray) added to the water cannons. Interesting though http://www.jenixbibergazi.com/en/... what is that gazi.com at the end for? endernafi wrote > they confessed that they added tear gas solution to the water they > cannoned to us. it burns like hell. Hope you are safe Ender, Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-What-s-happening-here-in-Turkey-tp4666044p4666628.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Thu Jun 20 04:55:12 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 20 Jun 2013 10:55:12 +0200 Subject: Decode UTF-8 in variable ? In-Reply-To: <3F28450E-B441-4C01-986F-E4628CE5CC08@laposte.net> References: <3F28450E-B441-4C01-986F-E4628CE5CC08@laposte.net> Message-ID: <51C2C370.90300@economy-x-talk.com> Hi Ludovic, You don't need to set the text to a unicode string to be able to use it. What you are doing seems correct, although you don't say if you're storing the value returned in a variable: put uniDecode(uniEncode(myTxt,"UTF8")) into myAscii This should work. What is the source of the text? Is it something that can actually be represented as ASCII? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 6/20/2013 08:07, Ludovic Th?bault wrote: > Hello, > > I need to get datas from sqlite (in UTF-8) and convert it in ASCII for treatment, but i don't need to put it in a field.. > I try unidecode(uniencode(myTXT, "utf8")) and many others solutions with no result. > > We need to pass by a field ? > with this command : set the unicodetext of field "xxx" to .. ? > > Thanks From me at paulmaguire.me Thu Jun 20 05:19:03 2013 From: me at paulmaguire.me (Paul Maguire) Date: Thu, 20 Jun 2013 10:19:03 +0100 Subject: Private key for signing Android app... Message-ID: <8E60AA13-40EA-4AB4-8482-251EEE0AABFE@paulmaguire.me> Hi again. Almost completed this port to Android - painful first-time experience! But a lot learned for next app... Final hurdle is how do I actually get it on to Google Play?! I've set up a developer account and even set up the app details, but I haven't signed the app yet. I'm not in fact sure how to do this at all. It was tricky sorting it out for iOS for the first time, but eventually sorted it. But I don't want to goof on the android front at the last minute. This is a free app BTW with no push or other fanciness. Question is, is there a simple step-by-step guide for Android/Google n00bs like me? Any pointers really appreciated. Kind regards, Paul. From neil at runrev.com Thu Jun 20 05:30:00 2013 From: neil at runrev.com (neil at runrev.com) Date: Thu, 20 Jun 2013 10:30:00 +0100 Subject: Private key for signing Android app... In-Reply-To: <8E60AA13-40EA-4AB4-8482-251EEE0AABFE@paulmaguire.me> References: <8E60AA13-40EA-4AB4-8482-251EEE0AABFE@paulmaguire.me> Message-ID: <94176710dd2dd7734ff8cfe57ae7565b.squirrel@meg.on-rev.com> Hi Paul, The following LiveCode lesson should be able to help you out with signing your application- http://lessons.runrev.com/s/lessons/m/4069/l/32674-How-do-I-Create-a-Self-Signed-Certificate-for-an-Android-App- and the following will help with submitting your application to the Google Play store- http://developer.android.com/distribute/googleplay/publish/preparing.html Kind Regards, Neil Roger -- RunRev Support Team ~ http://www.runrev.com - > Hi again. > > Almost completed this port to Android - painful first-time experience! > But a lot learned for next app... > > Final hurdle is how do I actually get it on to Google Play?! I've set up a > developer account and even set up the app details, but I haven't signed > the app yet. I'm not in fact sure how to do this at all. It was tricky > sorting it out for iOS for the first time, but eventually sorted it. But I > don't want to goof on the android front at the last minute. This is a free > app BTW with no push or other fanciness. > > Question is, is there a simple step-by-step guide for Android/Google n00bs > like me? Any pointers really appreciated. > > Kind regards, Paul. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From t.heaford at btinternet.com Thu Jun 20 05:58:19 2013 From: t.heaford at btinternet.com (Terence Heaford) Date: Thu, 20 Jun 2013 10:58:19 +0100 Subject: Data Grid Message-ID: <29FE395C-E54D-4F04-A8BB-67A56E9DA783@btinternet.com> Hi, I have a standard DataGrid which is populated from an SQLite database containing approx. 2000 records. The DataGrid has 6 text columns although 2 of those contain numeric data. The DataGrid is populated using the GetDataForLine method. I am using a 2.4gHz Core 2 Duo Macbook Pro using Mountain Lion and I find the scrolling rather pedestrian. Is there any way to improve it? Would it be faster if I was to create my own group of text fields and populate those through my own scripts rather than relying on the DataGrid? All the best Terry From matthias_livecode_150811 at m-r-d.de Thu Jun 20 06:06:42 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 20 Jun 2013 12:06:42 +0200 Subject: Move a native iOS field? In-Reply-To: <22B97E72-A23C-43C0-A949-50134B3A3129@gmail.com> References: <22B97E72-A23C-43C0-A949-50134B3A3129@gmail.com> Message-ID: <4CE7DBDA-DA83-4889-A000-0449BFE57A8D@m-r-d.de> Hi Gerry, thanks for your suggestion. This works so far. I am using the inputreturnkey handler in the last field to reset the fields to their original position. This works also w/o problem. But if the user just taps outside the field instead of pressing return, then the keyboard disapears and the fields remain on their last position. Is there a handler which detects the lost focus? How can i avoid this? I tried the inputendediting handler, but w/o success. Regards, Matthias Am 18.06.2013 um 06:47 schrieb Gerry Orkin : > If I understand your problem correctly, try setting the rects of the native controls (including the multiline one) instead of hiding and showing them. That way it will appear that they have all moved up the screen so the multiline one shows above the keyboard. > > Gerry > > > On 18/06/2013, at 7:45 AM, Matthias Rebbe wrote: > >> Hi, >> >> i have form in my iOS App with serveral native fields. The last field (a multiline one) is covered by the keyboard. >> Is there a way to scroll the complete form? >> >> I have seen iOS apps, where one can move/scroll a group of native fields. I tried to hide the native multiline field when entering that field and then place the field in the middle of the screen and set it visible again. But this seems not be working. >> >> Any ideas? >> >> Regards, >> >> Matthias >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dixonja at hotmail.co.uk Thu Jun 20 06:15:29 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Thu, 20 Jun 2013 11:15:29 +0100 Subject: Move a native iOS field? In-Reply-To: <4CE7DBDA-DA83-4889-A000-0449BFE57A8D@m-r-d.de> References: , <22B97E72-A23C-43C0-A949-50134B3A3129@gmail.com>, <4CE7DBDA-DA83-4889-A000-0449BFE57A8D@m-r-d.de> Message-ID: Matthias... Have a look at keyBoardDeactivated in the OS release notes...p.26 > Subject: Re: Move a native iOS field? > From: matthias_livecode_150811 at m-r-d.de > Date: Thu, 20 Jun 2013 12:06:42 +0200 > To: use-livecode at lists.runrev.com > > Hi Gerry, > > thanks for your suggestion. > > This works so far. I am using the inputreturnkey handler in the last field to reset the fields to their original position. > This works also w/o problem. > > But if the user just taps outside the field instead of pressing return, then the keyboard disapears and the fields remain on their last position. Is there a handler which detects the lost focus? > > How can i avoid this? I tried the inputendediting handler, but w/o success. > > Regards, > > Matthias > > Am 18.06.2013 um 06:47 schrieb Gerry Orkin : > > > If I understand your problem correctly, try setting the rects of the native controls (including the multiline one) instead of hiding and showing them. That way it will appear that they have all moved up the screen so the multiline one shows above the keyboard. > > > > Gerry > > > > > > On 18/06/2013, at 7:45 AM, Matthias Rebbe wrote: > > > >> Hi, > >> > >> i have form in my iOS App with serveral native fields. The last field (a multiline one) is covered by the keyboard. > >> Is there a way to scroll the complete form? > >> > >> I have seen iOS apps, where one can move/scroll a group of native fields. I tried to hide the native multiline field when entering that field and then place the field in the middle of the screen and set it visible again. But this seems not be working. > >> > >> Any ideas? > >> > >> Regards, > >> > >> Matthias > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From endernafi at gmail.com Thu Jun 20 06:39:09 2013 From: endernafi at gmail.com (=?utf-8?Q?Ender_Nafi_Elek=C3=A7io=C4=9Flu?=) Date: Thu, 20 Jun 2013 13:39:09 +0300 Subject: [OT] What's happening here in Turkey... In-Reply-To: <1371710855758-4666628.post@n4.nabble.com> References: <1371710855758-4666628.post@n4.nabble.com> Message-ID: <4D6168B89B4A46378C2EE031B00377CE@gmail.com> @paolo I'm fine so far; thank you very, very much... @richmond I'm following Bulgaria and Brazil. There's a big difference, though: Both Plevneliev and Rousseff thanked to the protestors, acknowledged that *protesting is a democratic right* and accepted the demands of the people {well, mostly}. Erdogan still did not any of them. @pierre First of all, I don't think that there will be a huge change when / if Erdogan would be overthrown. Erdogan, Obama, Clinton, etc. are just pawns. It's not governments who drive nations of human kind. I'm not trying to discuss if illuminati exists or talk about rothschild's or any other conspiracy theories :) But it's a fact that there's a bigger game. Erdogan did good things for Turkey, many successes. Also, he gave serious harms, too. It's never black or white, we know. We don't want him to resign, just be a little more understanding, modest, humble, respectful to the rights of us. After all, the whole violence, brutality of police, agitating and provocating statements of Erdogan may be intentional. Maybe, he has another political end-game in his mind. Maybe, he is giving some messages to some power elites. Or some other collateral purposes exist. We don't know for sure. As an obvious move, he ordered to plant 100 trees and thousands of beautiful flowers to Gezi Park. He wants to give "protestors destroyed, government fixed, government is the real environmentalist" message to the world. All in all, politics is a complicated game. @simon I'm fine so far, Simon, thank you very much. A word-to-word translation -> jenixbibergazi'com = jenixpeppergas'com About that tumblr site; The top pictures are from today and last night from several cities of Turkey. That site seems to be pretty up-to-date. You may have noticed that some guys & girls standing still; starting with the blonde girl's pictures and below. That was our last method to protest. We don't march anymore. Just standing still. *standing* and *stopping* are homonyms in Turkish. So, there is an irony there. police officer: sir, there are some guys stopping (*) here, over! {read as *standing*} police chief: stop them, over! police officer: they're already stopping (*), over! { again, read as *standing*} police chief: wtf?! But, police water-cannoned and then arrested them, too :))) We were not doing anything. Just, standing silently. It's like a joke, right, arresting people who just stand? We continue to stand, though, at different places, thousands of us. Whenever police see someone stands still more than a couple of minutes, they water-cannon. And of course, we build forums in many parks in many cities. We gather and discuss what we can do, it's like agoras of ancient greeks. There is music, dance and chat, too, of course :) They emptied Gezi Park and protect with heavy police force but we created hundreds of Gezi, now ;-) It's like a prolonged chess game. We'll wait and see. It's their move, now :) Be well, my dear friends? cheers from istanbul ~ Ender Nafi From gerry.orkin at gmail.com Thu Jun 20 06:44:02 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Thu, 20 Jun 2013 20:44:02 +1000 Subject: Move a native iOS field? In-Reply-To: <4CE7DBDA-DA83-4889-A000-0449BFE57A8D@m-r-d.de> References: <22B97E72-A23C-43C0-A949-50134B3A3129@gmail.com> <4CE7DBDA-DA83-4889-A000-0449BFE57A8D@m-r-d.de> Message-ID: <21FD58A4-572A-45A9-B0ED-D26A9F317356@gmail.com> on keyboardDeactivated answer "The keyboard was deactivated" with "Okay" end keyboardDeactivated On 20/06/2013, at 8:06 PM, Matthias Rebbe wrote: > Hi Gerry, > > thanks for your suggestion. > > This works so far. I am using the inputreturnkey handler in the last field to reset the fields to their original position. > This works also w/o problem. > > But if the user just taps outside the field instead of pressing return, then the keyboard disapears and the fields remain on their last position. Is there a handler which detects the lost focus? From livfoss at mac.com Thu Jun 20 07:04:32 2013 From: livfoss at mac.com (Graham Samuel) Date: Thu, 20 Jun 2013 13:04:32 +0200 Subject: How to protect objects within a group? Message-ID: <18375D34-B166-4D6B-AD31-3089B59C72C7@mac.com> I have a kind of drawing space on a card where a user can create graphics. I also have a group showing on this card, which is in fact a group of mixed controls, including both graphics and fields,. I have a button that deletes all the graphics on the card by simply doing a loop from 1 to the number of grcs on the card and deleting each grc as it passes through. My group (which I don't want to delete) clearly is not itself a graphic: nevertheless my button deletes all the graphics in the group, from which it appears that each graphic can be accessed separately even when it' s grouped. I thought that by setting the selectGroupedControls to false, I would protect the graphics inside the group from being selected. Not apparently if the selection is done by script. I also tried setting the cantDelete of the group to true, and that didn't seem to work either: elements of the group can still be deleted. Luckily in this specific case there is only the one group on the card, so I can tell my loop not to delete those graphics that have the word "group" in their long ID, and this works. This seems incredibly clunky: is there another way to distinguish between graphics (or in principle, other objects) within a group and graphics outside? TIA Graham From klaus at major-k.de Thu Jun 20 07:29:52 2013 From: klaus at major-k.de (Klaus major-k) Date: Thu, 20 Jun 2013 13:29:52 +0200 Subject: How to protect objects within a group? In-Reply-To: <18375D34-B166-4D6B-AD31-3089B59C72C7@mac.com> References: <18375D34-B166-4D6B-AD31-3089B59C72C7@mac.com> Message-ID: Hi Graham, Am 20.06.2013 um 13:04 schrieb Graham Samuel : > I have a kind of drawing space on a card where a user can create graphics. I also have a group showing on this card, which is in fact a group of mixed controls, including both graphics and fields,. I have a button that deletes all the graphics on the card by simply doing a loop from 1 to the number of grcs on the card and deleting each grc as it passes through. My group (which I don't want to delete) clearly is not itself a graphic: nevertheless my button deletes all the graphics in the group, from which it appears that each graphic can be accessed separately even when it' s grouped. > > I thought that by setting the selectGroupedControls to false, I would protect the graphics inside the group from being selected. Not apparently if the selection is done by script. I also tried setting the cantDelete of the group to true, and that didn't seem to work either: elements of the group can still be deleted. > > Luckily in this specific case there is only the one group on the card, so I can tell my loop not to delete those graphics that have the word "group" in their long ID, and this works. > > This seems incredibly clunky: is there another way to distinguish between graphics (or in principle, other objects) within a group and graphics outside? you can check "the owner of grc xyz" or "the short name of the owner of grc xyz" in the repeat loop. This will be : 1. INSIDE -> the name of the group -> group "name of group" 2. OUSIDE -> the name of the the card -> card "name of card" > TIA > > Graham Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From ludovic.thebault at laposte.net Thu Jun 20 08:13:39 2013 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Thu, 20 Jun 2013 14:13:39 +0200 Subject: Decode UTF-8 in variable ? In-Reply-To: <51C2C370.90300@economy-x-talk.com> References: <3F28450E-B441-4C01-986F-E4628CE5CC08@laposte.net> <51C2C370.90300@economy-x-talk.com> Message-ID: Le 20 juin 2013 ? 10:55, Mark Schonewille a ?crit : > Hi Ludovic, > > You don't need to set the text to a unicode string to be able to use it. What you are doing seems correct, although you don't say if you're storing the value returned in a variable: > > put uniDecode(uniEncode(myTxt,"UTF8")) into myAscii > > This should work. What is the source of the text? Thanks, With an other computer (and a similar but different database) it's work. So i think the problem is in my database. Ludovic From m.schonewille at economy-x-talk.com Thu Jun 20 08:16:13 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 20 Jun 2013 14:16:13 +0200 Subject: Decode UTF-8 in variable ? In-Reply-To: References: <3F28450E-B441-4C01-986F-E4628CE5CC08@laposte.net> <51C2C370.90300@economy-x-talk.com> Message-ID: <9DAF01A7-19DB-4961-9449-886243B593F7@economy-x-talk.com> hi Ludovic, Maybe the database isn't UTF8 encoded. What is the operating system of the computer on which it works an what is the OS of the computer on which it doesn't work? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 20 jun 2013, at 14:13, Ludovic Th?bault wrote: > > Le 20 juin 2013 ? 10:55, Mark Schonewille a ?crit : > >> Hi Ludovic, >> >> You don't need to set the text to a unicode string to be able to use it. What you are doing seems correct, although you don't say if you're storing the value returned in a variable: >> >> put uniDecode(uniEncode(myTxt,"UTF8")) into myAscii >> >> This should work. What is the source of the text? > > > Thanks, > > With an other computer (and a similar but different database) it's work. So i think the problem is in my database. > > Ludovic From curry at pair.com Thu Jun 20 09:07:49 2013 From: curry at pair.com (Curry Kenworthy) Date: Thu, 20 Jun 2013 08:07:49 -0500 Subject: ANN: WordLib 2.0 quick upgrade option In-Reply-To: References: Message-ID: <51C2FEA5.6090906@pair.com> Howdy Folks, For those who are upgrading from WordLib 1.x to the new 2.0 version, I've added an upgrade option directly to the eSellerate store to smooth the way! Now the process happens immediately, at the speed of your browser/finger, and you don't need to wait on me to send you an upgrade discount beforehand. Your new code will be displayed in browser immediately after checkout. Get it done yesterday! As long as you've purchased WordLib previously, you can use this option, regardless of whether you purchased the older version from CurryK/eSellerate or the RunRev Marketplace! Either way, upgrading is easy through the link below: I hope you enjoy the improvements. Thank you to those of you who have provided feedback on the new version. (Other news: A FieldTrip update is coming up!) Best wishes, Curry Kenworthy -- WordLib: Import MS Word and OpenOffice documents http://curryk.com/wordlib.html WordReport: Template-driven MS Word and OpenOffice reports, from invoices and worksheets to catalogs and mail merge http://curryk.com/wordreport.html Need custom software development or RunRev help? http://curryk.com/consulting/ From peterwawood at gmail.com Thu Jun 20 09:34:20 2013 From: peterwawood at gmail.com (Peter W A Wood) Date: Thu, 20 Jun 2013 21:34:20 +0800 Subject: 1001 Things To Do With LiveCode Update Message-ID: <4D2CB1B1-902B-4D0D-A11E-C99362717800@gmail.com> Even though there has only been two new entries in the last two months, I am pleased to report that the number of page views is still averaging well over 100 per day. The main source of viewers are the LiveCode community site and the Brigham Young University site (many thanks Devin). If you have any LiveCode apps that you think would stimulate other peoples' interest in writing their own apps please send me a screenshot and a brief description. Peter http://LiveCode1001.blogspot.com From dsc at swcp.com Thu Jun 20 11:58:15 2013 From: dsc at swcp.com (Dar Scott) Date: Thu, 20 Jun 2013 09:58:15 -0600 Subject: Decode UTF-8 in variable ? In-Reply-To: <3F28450E-B441-4C01-986F-E4628CE5CC08@laposte.net> References: <3F28450E-B441-4C01-986F-E4628CE5CC08@laposte.net> Message-ID: <954D6C3E-1BE1-4939-98DC-2ABE5B25ECD5@swcp.com> You might be able to work with it as it is. In UTF-8 the ASCII subset looks just like ... ASCII. All characters represented by UTF-8 that are not ASCII are represented by one to three bytes with the high bit set, that is, the byte value of each byte in the sequence is over 127. All ASCII characters are represented by a single byte with the high bit zero, that is, the byte value is less than 128. So, if all the characters of the UTF-8 string are in the ASCII subset, it is already "converted" to ASCII. You are not going to find any interesting LiveCode characters (I think) in the non ASCII characters of UTF-8. Tab, new-line (LF), space, comma, quote, digits, decimal point, and so on are all ASCII. This means that your scripts to work with the db values might still work with UTF-8. The important thing is to watch out for cases where you assume a character is one char (in the LiveCode script sense). However, if you are not writing back to the db and you think the non ASCII characters as unimportant, then you can remove them. Conversion might remove or try to translate them, I'm not sure. If you think the encoding is not UTF-8, then it might be UTF-16. If the text is mostly ASCII characters, then that will be encoded in UTF-16BE as NUL-char, NUL-char... If it is UTF-16LE (little endian) then you will see char-NUL patterns. So, if you see the code (that is charToNum()) is zero a lot, then suspect you have some form of UTF-16. A db might use UTF-16LE, UTF-16BE, or track the endian of unsigned 16-bit integers of the machine. If you know the order, you can decide whether to swap bytes to change the endian to that of your machine, then you can convert to UTF-8. To get the endian of your machine, convert a char to UTF-16 and then look at whether the first byte is NUL. This paragraph has a lot of info, and I might have skipped some parts, so keep at me until I explain it well. Dar On Jun 20, 2013, at 12:07 AM, Ludovic Th?bault wrote: > Hello, > > I need to get datas from sqlite (in UTF-8) and convert it in ASCII for treatment, but i don't need to put it in a field.. > I try unidecode(uniencode(myTXT, "utf8")) and many others solutions with no result. > > We need to pass by a field ? > with this command : set the unicodetext of field "xxx" to .. ? > > Thanks > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Thu Jun 20 14:05:47 2013 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 20 Jun 2013 19:05:47 +0100 Subject: MouseColor Message-ID: <51C3447B.4050207@tweedly.net> I must be missing something obvious .... I created a graphic rectangle, and set its backColor to some color (and made it visible and opaque). I expected that I could then click in it, and get back that same color in "the mouseColor" - but I don't. Here's the script, and the result ... on mouseup put the mousecolor && the backColor of me end mouseup 69,235,110 85,235,90 Is there some other setting I need to set or check ? blend level is 0, ink is srcCopy Thanks for any suggestions -- Alex. From devin_asay at byu.edu Thu Jun 20 14:08:17 2013 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 20 Jun 2013 18:08:17 +0000 Subject: How to use urlProgress Message-ID: Hi folks, Maybe I'm missing something. I want to get progress information from a rather large download from an HTTP server. This is what I'm doing: command downloadFile set the cursor to watch put "http://server.com/data/myfile.gz" into tRemote_GZ put "/path/to/file/pwr_complete.gz" into tLocal_GZ put url tRemote_GZ into url ("binfile:" & tLocal_GZ) end downloadFile on urlProgress pURL, pStatus, pMessage, pBytesTotal put "Downloading " & pURL & cr & "Status: " & pStatus && pMessage && "of TotalBytes: " & pBytesTotal \ into fld "prog" end urlProgress Nothing ever shows up in field "prog", but the download eventually succeeds. I can see the file on my hard drive after it has downloaded. Am I doing something wrong? I'm on OS X 10.7.x and LC 6.0.2. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From m.schonewille at economy-x-talk.com Thu Jun 20 14:11:58 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 20 Jun 2013 20:11:58 +0200 Subject: MouseColor In-Reply-To: <51C3447B.4050207@tweedly.net> References: <51C3447B.4050207@tweedly.net> Message-ID: <99B7F8AB-3CB5-4C60-B45B-6336BE7DD5D2@economy-x-talk.com> Hi Alex, Is this on your primary or secondary monitor? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 20 jun 2013, at 20:05, Alex Tweedly wrote: > I must be missing something obvious .... > > I created a graphic rectangle, and set its backColor to some color (and made it visible and opaque). > > I expected that I could then click in it, and get back that same color in "the mouseColor" - but I don't. > > > Here's the script, and the result ... > on mouseup > put the mousecolor && the backColor of me > end mouseup > > 69,235,110 85,235,90 > > Is there some other setting I need to set or check ? > blend level is 0, ink is srcCopy > > Thanks for any suggestions > -- Alex. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Thu Jun 20 14:37:28 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 20 Jun 2013 21:37:28 +0300 Subject: "One Year Free" Message-ID: <51C34BE8.3090508@gmail.com> What is wrong with me? [No. that's a rhetorical question; and before you all rush to reply, I know what is really wrong with me, and no, none of you can help me in that respect, so Thanks in advance] But, just at the moment I use Livecode 4.5 commercial for my commercial development needs: http://andregarzia.on-rev.com/richmond/dwriterpro.html and, right now, it does what it needs, and, wait for it . . . it has no obvious expiry date (well, I suppose when operating systems stop agreeing to play ball with its standalones) . . . Now, here comes a "personalised" offer (and by "personalised" I mean, obviously fake - how do I know; well, in my case that is easy: in the "real" world where I live and work I use my first name, 'John', but for rather odd, historical reasons, in the cyber-world I use my second name 'Richmond'; so when a message addressed to "Dear John, We really appreciate your loyalty to LiveCode." I know it is as fake as they go for more than one reason: 1. Runtime Revolution (the people, rather than the automated bots) know jolly well that as far as Livecode is concerned I am "Richmond". 2. My "loyalty" to Livecode: don't make me laugh: I've been having a hit-n-run "thing" with RunRev and their product for about 12 years, but "loyalty" is not the right word to use there: perhaps "co-dependency relationship with slight sadomasochistic overtones" might be more appropriate. ------------------------- Now, as to the "offer" of 'renting' Livecode for one year longer than one would normally get for 500 bucks . . . Not a chance chum! When I finally get round to stumping up 500 bucks it will certainly not be for something that turns into a pumpkin at the stroke of midnight (although, come to think about things, if Kevin were to start pursuing me after that with a glass shoe [jackboot?] that could be quite entertaining) I want to pay for something I can own and use for a decent length of time . . . , , , A while ago (about 9-10 years ago) Marielle Lange [of scented and slightly unfortunate memory] purchased me a copy of DreamCard 2.6.1 in lieu of payment for coding assistance: I still use it, from time to time, and it does not come up with some silly message saying "Oi, Mush, you've had yer licence period so stuff it!" ---------------------- Perhaps nothing is wrong with me. But, maybe, just maybe, the idea of getting a year's use of Livecode for 500 bucks (c.f. the notorious 3 year licence for Windows XP) is a load of nonsense, and maybe, just maybe, end-users would be prepared to stump up 500 bucks (or somesuch) for a version that did not expire but had not upgrades built in, instead. ------------------------ Why am I writing this? Because, while RunRev make a great product, I think that their marketing strategies over the last 12 years have been "aff" in a way that does not do them any favours at all. Richmond. From scott at tactilemedia.com Thu Jun 20 14:37:55 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 20 Jun 2013 11:37:55 -0700 Subject: How to protect objects within a group? In-Reply-To: Message-ID: Also, when deleting objects via a loop, it's generally better to start from the number of objects and count down to 1. The overall object count is reduced every time an object is deleted and will get out of sync with the repeat count if starting from 1. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 6/20/13 4:29 AM, "Klaus major-k" wrote: >Hi Graham, > >Am 20.06.2013 um 13:04 schrieb Graham Samuel : > >> I have a kind of drawing space on a card where a user can create >>graphics. I also have a group showing on this card, which is in fact a >>group of mixed controls, including both graphics and fields,. I have a >>button that deletes all the graphics on the card by simply doing a loop >>from 1 to the number of grcs on the card and deleting each grc as it >>passes through. My group (which I don't want to delete) clearly is not >>itself a graphic: nevertheless my button deletes all the graphics in the >>group, from which it appears that each graphic can be accessed >>separately even when it' s grouped. >> >> I thought that by setting the selectGroupedControls to false, I would >>protect the graphics inside the group from being selected. Not >>apparently if the selection is done by script. I also tried setting the >>cantDelete of the group to true, and that didn't seem to work either: >>elements of the group can still be deleted. >> >> Luckily in this specific case there is only the one group on the card, >>so I can tell my loop not to delete those graphics that have the word >>"group" in their long ID, and this works. >> >> This seems incredibly clunky: is there another way to distinguish >>between graphics (or in principle, other objects) within a group and >>graphics outside? > >you can check "the owner of grc xyz" or "the short name of the owner of >grc xyz" in the repeat loop. > >This will be : >1. INSIDE -> the name of the group -> group "name of group" >2. OUSIDE -> the name of the the card -> card "name of card" > >> TIA >> >> Graham > >Best > >Klaus > >-- >Klaus Major >http://www.major-k.de >klaus at major-k.de > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From simplsol at aol.com Thu Jun 20 14:57:52 2013 From: simplsol at aol.com (Paul Looney) Date: Thu, 20 Jun 2013 11:57:52 -0700 Subject: "One Year Free" In-Reply-To: <51C34BE8.3090508@gmail.com> References: <51C34BE8.3090508@gmail.com> Message-ID: <1FBD8C40-1C10-4E1D-801D-07615E7B0D16@aol.com> On Jun 20, 2013, at 11:37 AM, Richmond wrote: > But, maybe, just maybe, the idea of getting a year's use of Livecode for > 500 bucks ... is a load of nonsense, and maybe, just maybe, end-users > would be prepared to stump up 500 bucks (or somesuch) for a version that did not expire but had not upgrades built in, > instead. Yes! One year of upgrades - but the version does not expire - ever. Paul Looney From livfoss at mac.com Thu Jun 20 15:08:01 2013 From: livfoss at mac.com (Graham Samuel) Date: Thu, 20 Jun 2013 21:08:01 +0200 Subject: How to protect objects within a group? In-Reply-To: References: Message-ID: <9D864424-E100-41E4-B33A-2A19D33D0CB5@mac.com> Thanks, Klaus and Scott. Actually I did count down to 1, but did not explain that properly. It's an important point though. Thanks Klaus, I suppose I will have to be happy with "the owner of". What disturbs me is that this doesn't correspond to what the IDE does, where individual objects in a group can be rendered non-selectable by setting selectGroupedControls. Although this property exists outside the IDE, it doesn't seem to do the same thing as it does within it. Anyway thanks again to both - at least I know what to do now. Graham On 20 Jun 2013, at 20:37, Scott Rossi wrote: > Also, when deleting objects via a loop, it's generally better to start > from the number of objects and count down to 1. The overall object count > is reduced every time an object is deleted and will get out of sync with > the repeat count if starting from 1. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 6/20/13 4:29 AM, "Klaus major-k" wrote: > >> Hi Graham, >> >> Am 20.06.2013 um 13:04 schrieb Graham Samuel : >> >>> I have a kind of drawing space on a card where a user can create >>> graphics. I also have a group showing on this card, which is in fact a >>> group of mixed controls, including both graphics and fields,. I have a >>> button that deletes all the graphics on the card by simply doing a loop >>> from 1 to the number of grcs on the card and deleting each grc as it >>> passes through. My group (which I don't want to delete) clearly is not >>> itself a graphic: nevertheless my button deletes all the graphics in the >>> group, from which it appears that each graphic can be accessed >>> separately even when it' s grouped. >>> >>> I thought that by setting the selectGroupedControls to false, I would >>> protect the graphics inside the group from being selected. Not >>> apparently if the selection is done by script. I also tried setting the >>> cantDelete of the group to true, and that didn't seem to work either: >>> elements of the group can still be deleted. >>> >>> Luckily in this specific case there is only the one group on the card, >>> so I can tell my loop not to delete those graphics that have the word >>> "group" in their long ID, and this works. >>> >>> This seems incredibly clunky: is there another way to distinguish >>> between graphics (or in principle, other objects) within a group and >>> graphics outside? >> >> you can check "the owner of grc xyz" or "the short name of the owner of >> grc xyz" in the repeat loop. >> >> This will be : >> 1. INSIDE -> the name of the group -> group "name of group" >> 2. OUSIDE -> the name of the the card -> card "name of card" >> >>> TIA >>> >>> Graham >> >> Best >> >> Klaus >> >> -- >> Klaus Major >> http://www.major-k.de >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Thu Jun 20 15:14:56 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 20 Jun 2013 22:14:56 +0300 Subject: Big Icons in the AppBrowser In-Reply-To: <51C2203D.8090909@gmail.com> References: <51C0B54E.8010501@gmail.com> <51C2203D.8090909@gmail.com> Message-ID: <51C354B0.9000400@gmail.com> On 06/20/2013 12:18 AM, Richmond wrote: > On 06/18/2013 10:30 PM, Richmond wrote: >> Just upgraded my hack stack to colourise >> and generally muck about with the AppBrowser >> now featuring the option of mak9ing the icons >> and the text a whole lot bigger. >> >> http://forums.runrev.com/viewtopic.php?f=6&t=15388&p=78833#p78833 >> >> Richmond. > > Now available with my attempt at being "artistic": > > http://forums.runrev.com/viewtopic.php?f=6&t=15388&p=78933#p78933 > > Richmond. This, as far as I'm concerned, is my final offering, featuring a 24 x 24 pixel set of icons which I feel is a pretty good compromise between size and clarity. http://forums.runrev.com/viewtopic.php?f=6&t=15388&p=79024#p79024 Richmond From richmondmathewson at gmail.com Thu Jun 20 15:15:48 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 20 Jun 2013 22:15:48 +0300 Subject: "One Year Free" In-Reply-To: <1FBD8C40-1C10-4E1D-801D-07615E7B0D16@aol.com> References: <51C34BE8.3090508@gmail.com> <1FBD8C40-1C10-4E1D-801D-07615E7B0D16@aol.com> Message-ID: <51C354E4.1050609@gmail.com> On 06/20/2013 09:57 PM, Paul Looney wrote: > On Jun 20, 2013, at 11:37 AM, Richmond wrote: > >> But, maybe, just maybe, the idea of getting a year's use of Livecode for >> 500 bucks ... is a load of nonsense, and maybe, just maybe, end-users >> would be prepared to stump up 500 bucks (or somesuch) for a version that did not expire but had not upgrades built in, >> instead. > Yes! > One year of upgrades - but the version does not expire - ever. OK: I am extremely happy to find that I am wrong in this case. Richmond. > > Paul Looney > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From simplsol at aol.com Thu Jun 20 15:19:18 2013 From: simplsol at aol.com (Paul Looney) Date: Thu, 20 Jun 2013 12:19:18 -0700 Subject: "One Year Free" In-Reply-To: <51C354E4.1050609@gmail.com> References: <51C34BE8.3090508@gmail.com> <1FBD8C40-1C10-4E1D-801D-07615E7B0D16@aol.com> <51C354E4.1050609@gmail.com> Message-ID: On Jun 20, 2013, at 12:15 PM, Richmond wrote: > On 06/20/2013 09:57 PM, Paul Looney wrote: >> On Jun 20, 2013, at 11:37 AM, Richmond wrote: >> >>> But, maybe, just maybe, the idea of getting a year's use of Livecode for >>> 500 bucks ... is a load of nonsense, and maybe, just maybe, end-users >>> would be prepared to stump up 500 bucks (or somesuch) for a version that did not expire but had not upgrades built in, >>> instead. >> Yes! >> One year of upgrades - but the version does not expire - ever. > > OK: I am extremely happy to find that I am wrong in this case. > > Richmond. I'm not saying you are wrong. I'm saying how I think it "should" be. Glad you brought up the point; I agree that RunRev is doing themselves a disservice with the new policy. Paul Looney From richmondmathewson at gmail.com Thu Jun 20 15:20:45 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 20 Jun 2013 22:20:45 +0300 Subject: "One Year Free" In-Reply-To: References: <51C34BE8.3090508@gmail.com> <1FBD8C40-1C10-4E1D-801D-07615E7B0D16@aol.com> <51C354E4.1050609@gmail.com> Message-ID: <51C3560D.7040209@gmail.com> On 06/20/2013 10:19 PM, Paul Looney wrote: > On Jun 20, 2013, at 12:15 PM, Richmond wrote: > >> On 06/20/2013 09:57 PM, Paul Looney wrote: >>> On Jun 20, 2013, at 11:37 AM, Richmond wrote: >>> >>>> But, maybe, just maybe, the idea of getting a year's use of Livecode for >>>> 500 bucks ... is a load of nonsense, and maybe, just maybe, end-users >>>> would be prepared to stump up 500 bucks (or somesuch) for a version that did not expire but had not upgrades built in, >>>> instead. >>> Yes! >>> One year of upgrades - but the version does not expire - ever. >> OK: I am extremely happy to find that I am wrong in this case. >> >> Richmond. > I'm not saying you are wrong. Blast! > I'm saying how I think it "should" be. > Glad you brought up the point; I agree that RunRev is doing themselves a disservice with the new policy. > Paul Looney > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Thu Jun 20 15:22:18 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 20 Jun 2013 12:22:18 -0700 Subject: old habits are hard to break Message-ID: OK, we're well into the 21st century. I'm on a multi-core, multi-gigahertz machine. Yet I keep trying to optimize away single lines of code, to the point that I had four versions of some of my functions to avoid a little switch at the start to set a word or two into a variable, instead hard-coding it. It's all a hangover from the limits of 8 bit BASIC . . . (but at least I've accepted that I can jump to any point in the code at the same speed, instead of having faster jumps to early in memory as it searches . . . [That mattered in MBASIC below version 5 {but then, that's why my BASIC & FORTRAN always looked more like C or Pascal than spaghetti . .}]) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Thu Jun 20 15:30:49 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 20 Jun 2013 22:30:49 +0300 Subject: old habits are hard to break In-Reply-To: References: Message-ID: <51C35869.8080904@gmail.com> On 06/20/2013 10:22 PM, Dr. Hawkins wrote: > OK, we're well into the 21st century. > > I'm on a multi-core, multi-gigahertz machine. > > Yet I keep trying to optimize away single lines of code, to the point > that I had four versions of some of my functions to avoid a little > switch at the start to set a word or two into a variable, instead > hard-coding it. > > It's all a hangover from the limits of 8 bit BASIC . . . (but at least > I've accepted that I can jump to any point in the code at the same > speed, instead of having faster jumps to early in memory as it > searches . . . [That mattered in MBASIC below version 5 {but then, > that's why my BASIC & FORTRAN always looked more like C or Pascal than > spaghetti . .}]) > Some of those habits are not necessarily a bad thing as not all of your end-users are going to have the "all-singing, all-dancing machine" you obviously have! I am feeling "dead special" over here in Bulgaria as I have a dual processor DELL Optiplex 745, whcih was the "latest thang" about 4 years ago; and that is by far my fastest and most powerful machine. I work on the basis that end-users of my Devawriter Pro are bashing away on a Pentium 3 running Windows XP, or a G3 iMac running Mac OS 10.4.11, or an equivalent "heap of junk" running some sort of Linux with LXDE as a window manager. Richmond. From alex at tweedly.net Thu Jun 20 16:03:34 2013 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 20 Jun 2013 21:03:34 +0100 Subject: MouseColor In-Reply-To: <99B7F8AB-3CB5-4C60-B45B-6336BE7DD5D2@economy-x-talk.com> References: <51C3447B.4050207@tweedly.net> <99B7F8AB-3CB5-4C60-B45B-6336BE7DD5D2@economy-x-talk.com> Message-ID: <51C36016.20408@tweedly.net> Primary (and only). On a Macbook Pro, OS X 10.8.4, LC 6.0.1 -- Alex. On 20/06/2013 19:11, Mark Schonewille wrote: > Hi Alex, > > Is this on your primary or secondary monitor? > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com > > We have time for new software development projects. Contact me for a quote. > > > > > > > On 20 jun 2013, at 20:05, Alex Tweedly wrote: > >> I must be missing something obvious .... >> >> I created a graphic rectangle, and set its backColor to some color (and made it visible and opaque). >> >> I expected that I could then click in it, and get back that same color in "the mouseColor" - but I don't. >> >> >> Here's the script, and the result ... >> on mouseup >> put the mousecolor && the backColor of me >> end mouseup >> >> 69,235,110 85,235,90 >> >> Is there some other setting I need to set or check ? >> blend level is 0, ink is srcCopy >> >> Thanks for any suggestions >> -- Alex. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Thu Jun 20 16:23:05 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 20 Jun 2013 22:23:05 +0200 Subject: MouseColor In-Reply-To: <51C36016.20408@tweedly.net> References: <51C3447B.4050207@tweedly.net> <99B7F8AB-3CB5-4C60-B45B-6336BE7DD5D2@economy-x-talk.com> <51C36016.20408@tweedly.net> Message-ID: <51C364A9.1080305@economy-x-talk.com> Hi Alex, That is strange, but we have had such problems before. I'm pretty sure it is a bug although I didn't check it myself. Would it be an option to use AppleScript? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 6/20/2013 22:03, Alex Tweedly wrote: > Primary (and only). > On a Macbook Pro, OS X 10.8.4, LC 6.0.1 > > -- Alex. > > On 20/06/2013 19:11, Mark Schonewille wrote: >> Hi Alex, >> >> Is this on your primary or secondary monitor? >> From jacque at hyperactivesw.com Thu Jun 20 16:31:35 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 20 Jun 2013 15:31:35 -0500 Subject: How to protect objects within a group? In-Reply-To: <9D864424-E100-41E4-B33A-2A19D33D0CB5@mac.com> References: <9D864424-E100-41E4-B33A-2A19D33D0CB5@mac.com> Message-ID: <51C366A7.9060407@hyperactivesw.com> On 6/20/13 2:08 PM, Graham Samuel wrote: > What disturbs > me is that this doesn't correspond to what the IDE does, where > individual objects in a group can be rendered non-selectable by > setting selectGroupedControls. Although this property exists outside > the IDE, it doesn't seem to do the same thing as it does within it. The property only applies to mouse selections, not to objects selected by script. It should work the same way outside the IDE. If you will always have only that single group that you don't want to disturb, you can do something like this: if "myGroupName" is in the name of control x then next repeat and make sure the short name of the group is always unique. That's not much different than checking the owner though: if "card" is in the name of the owner of control x then deleteTheThing -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bill at bluewatermaritime.com Thu Jun 20 16:34:52 2013 From: bill at bluewatermaritime.com (william humphrey) Date: Thu, 20 Jun 2013 16:34:52 -0400 Subject: "One Year Free" In-Reply-To: <51C3560D.7040209@gmail.com> References: <51C34BE8.3090508@gmail.com> <1FBD8C40-1C10-4E1D-801D-07615E7B0D16@aol.com> <51C354E4.1050609@gmail.com> <51C3560D.7040209@gmail.com> Message-ID: It clearly says one year of updates. They haven't gone the road of Microsoft and Adobe yet. On Thu, Jun 20, 2013 at 3:20 PM, Richmond wrote: > On 06/20/2013 10:19 PM, Paul Looney wrote: >> >> On Jun 20, 2013, at 12:15 PM, Richmond wrote: >> >>> On 06/20/2013 09:57 PM, Paul Looney wrote: >>>> >>>> On Jun 20, 2013, at 11:37 AM, Richmond wrote: >>>> >>>>> But, maybe, just maybe, the idea of getting a year's use of Livecode >>>>> for >>>>> 500 bucks ... is a load of nonsense, and maybe, just maybe, end-users >>>>> would be prepared to stump up 500 bucks (or somesuch) for a version >>>>> that did not expire but had not upgrades built in, >>>>> instead. >>>> >>>> Yes! >>>> One year of upgrades - but the version does not expire - ever. >>> >>> OK: I am extremely happy to find that I am wrong in this case. >>> >>> Richmond. >> >> I'm not saying you are wrong. > > > Blast! > > >> I'm saying how I think it "should" be. >> Glad you brought up the point; I agree that RunRev is doing themselves a >> disservice with the new policy. >> Paul Looney >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- http://www.bluewatermaritime.com From andrew at ctech.me Thu Jun 20 16:36:02 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Thu, 20 Jun 2013 15:36:02 -0500 Subject: How to use urlProgress In-Reply-To: References: Message-ID: I would try to use the following instead of put url into url. This let's you do it in a non-blocking way as well as let you process the data in a callback. load URL myURL with message "downloadComplete" I really like the example Andre used on his site when describing his pubSub library. His example is pretty concise and works better than anything I have ever used when combined with his pubSub lib for updating progress bars or other UI elements. On Thu, Jun 20, 2013 at 1:08 PM, Devin Asay wrote: > Hi folks, > > Maybe I'm missing something. I want to get progress information from a > rather large download from an HTTP server. This is what I'm doing: > > command downloadFile > set the cursor to watch > put "http://server.com/data/myfile.gz" into tRemote_GZ > put "/path/to/file/pwr_complete.gz" into tLocal_GZ > put url tRemote_GZ into url ("binfile:" & tLocal_GZ) > end downloadFile > > on urlProgress pURL, pStatus, pMessage, pBytesTotal > put "Downloading " & pURL & cr & "Status: " & pStatus && pMessage && > "of TotalBytes: " & pBytesTotal \ > into fld "prog" > end urlProgress > > Nothing ever shows up in field "prog", but the download eventually > succeeds. I can see the file on my hard drive after it has downloaded. > > Am I doing something wrong? I'm on OS X 10.7.x and LC 6.0.2. > > Devin > > > > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From andrew at ctech.me Thu Jun 20 16:36:12 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Thu, 20 Jun 2013 15:36:12 -0500 Subject: How to use urlProgress In-Reply-To: References: Message-ID: Meant to include this link: http://www.andregarzia.com/posts/en/pubsub/ On Thu, Jun 20, 2013 at 3:36 PM, Andrew Kluthe wrote: > I would try to use the following instead of put url into url. This let's > you do it in a non-blocking way as well as let you process the data in a > callback. > > load URL myURL with message "downloadComplete" > > I really like the example Andre used on his site when describing his > pubSub library. > > His example is pretty concise and works better than anything I have ever > used when combined with his pubSub lib for updating progress bars or other > UI elements. > > > > > On Thu, Jun 20, 2013 at 1:08 PM, Devin Asay wrote: > >> Hi folks, >> >> Maybe I'm missing something. I want to get progress information from a >> rather large download from an HTTP server. This is what I'm doing: >> >> command downloadFile >> set the cursor to watch >> put "http://server.com/data/myfile.gz" into tRemote_GZ >> put "/path/to/file/pwr_complete.gz" into tLocal_GZ >> put url tRemote_GZ into url ("binfile:" & tLocal_GZ) >> end downloadFile >> >> on urlProgress pURL, pStatus, pMessage, pBytesTotal >> put "Downloading " & pURL & cr & "Status: " & pStatus && pMessage && >> "of TotalBytes: " & pBytesTotal \ >> into fld "prog" >> end urlProgress >> >> Nothing ever shows up in field "prog", but the download eventually >> succeeds. I can see the file on my hard drive after it has downloaded. >> >> Am I doing something wrong? I'm on OS X 10.7.x and LC 6.0.2. >> >> Devin >> >> >> >> >> Devin Asay >> Humanities Technology and Research Support Center >> Brigham Young University >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > Regards, > > Andrew Kluthe > andrew at ctech.me > -- Regards, Andrew Kluthe andrew at ctech.me From andrew at ctech.me Thu Jun 20 16:37:50 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Thu, 20 Jun 2013 15:37:50 -0500 Subject: How to use urlProgress In-Reply-To: References: Message-ID: Also, the simple answer to your question above is that you need to set the libUrlStatusCallback to the handler you are using as a callback libURLSetStatusCallback "urlProgress" On Thu, Jun 20, 2013 at 3:36 PM, Andrew Kluthe wrote: > Meant to include this link: http://www.andregarzia.com/posts/en/pubsub/ > > > On Thu, Jun 20, 2013 at 3:36 PM, Andrew Kluthe wrote: > >> I would try to use the following instead of put url into url. This let's >> you do it in a non-blocking way as well as let you process the data in a >> callback. >> >> load URL myURL with message "downloadComplete" >> >> I really like the example Andre used on his site when describing his >> pubSub library. >> >> His example is pretty concise and works better than anything I have ever >> used when combined with his pubSub lib for updating progress bars or other >> UI elements. >> >> >> >> >> On Thu, Jun 20, 2013 at 1:08 PM, Devin Asay wrote: >> >>> Hi folks, >>> >>> Maybe I'm missing something. I want to get progress information from a >>> rather large download from an HTTP server. This is what I'm doing: >>> >>> command downloadFile >>> set the cursor to watch >>> put "http://server.com/data/myfile.gz" into tRemote_GZ >>> put "/path/to/file/pwr_complete.gz" into tLocal_GZ >>> put url tRemote_GZ into url ("binfile:" & tLocal_GZ) >>> end downloadFile >>> >>> on urlProgress pURL, pStatus, pMessage, pBytesTotal >>> put "Downloading " & pURL & cr & "Status: " & pStatus && pMessage >>> && "of TotalBytes: " & pBytesTotal \ >>> into fld "prog" >>> end urlProgress >>> >>> Nothing ever shows up in field "prog", but the download eventually >>> succeeds. I can see the file on my hard drive after it has downloaded. >>> >>> Am I doing something wrong? I'm on OS X 10.7.x and LC 6.0.2. >>> >>> Devin >>> >>> >>> >>> >>> Devin Asay >>> Humanities Technology and Research Support Center >>> Brigham Young University >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> >> -- >> Regards, >> >> Andrew Kluthe >> andrew at ctech.me >> > > > > -- > Regards, > > Andrew Kluthe > andrew at ctech.me > -- Regards, Andrew Kluthe andrew at ctech.me From jacque at hyperactivesw.com Thu Jun 20 16:45:07 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 20 Jun 2013 15:45:07 -0500 Subject: How to use urlProgress In-Reply-To: References: Message-ID: <51C369D3.8080006@hyperactivesw.com> On 6/20/13 1:08 PM, Devin Asay wrote: > Hi folks, > > Maybe I'm missing something. I want to get progress information from a rather large download from an HTTP server. This is what I'm doing: > > command downloadFile > set the cursor to watch > put "http://server.com/data/myfile.gz" into tRemote_GZ > put "/path/to/file/pwr_complete.gz" into tLocal_GZ > put url tRemote_GZ into url ("binfile:" & tLocal_GZ) > end downloadFile > > on urlProgress pURL, pStatus, pMessage, pBytesTotal > put "Downloading " & pURL & cr & "Status: " & pStatus && pMessage && "of TotalBytes: " & pBytesTotal \ > into fld "prog" > end urlProgress > > Nothing ever shows up in field "prog", but the download eventually succeeds. I can see the file on my hard drive after it has downloaded. > > Am I doing something wrong? I'm on OS X 10.7.x and LC 6.0.2. It looks like the urlProgress message is only for mobile. On desktop, here's the core of what I use: put sURL & tFile & ".gz" into tURL set cursor to watch libUrlSetStatusCallback "checkStatus", (the long id of me) set the thumbpos of sb "progressbar" to 0 put tData into url tURL get the result if it <> "" then answer "Could not upload file:" && it libUrlSetStatusCallback empty -- turn it off You turn on the status callback before the download and turn it off afterward. My example uploads, but it works the same going the other direction. Once the status callback is set, you'll get periodic messages with whatever callback you assigned (in this case, the message will be "checkStatus") and the message will be sent to the location you assigned (in my case, the long ID of the script object.) So you need a handler to catch the callback: on checkStatus tURL,tStatus put tStatus into fld "statusFld" -- might be all you need switch case tStatus contains "loading" set the endvalue of sb "progressbar" to item 3 of tStatus set the thumbpos of sb "progressbar" to item 2 of tStatus break case tStatus contains "uploaded" set the thumbpos of sb "progressbar" to the endvalue of sb "progressbar" break default set the thumbpos of sb "progressbar" to 0 end switch end checkStatus Mine updates a progress bar, but you could just report the progress in a text field. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Jun 20 16:48:21 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 20 Jun 2013 15:48:21 -0500 Subject: MouseColor In-Reply-To: <51C3447B.4050207@tweedly.net> References: <51C3447B.4050207@tweedly.net> Message-ID: <51C36A95.4060805@hyperactivesw.com> On 6/20/13 1:05 PM, Alex Tweedly wrote: > I must be missing something obvious .... > > I created a graphic rectangle, and set its backColor to some color (and > made it visible and opaque). > > I expected that I could then click in it, and get back that same color > in "the mouseColor" - but I don't. > > > Here's the script, and the result ... > on mouseup > put the mousecolor && the backColor of me > end mouseup > > 69,235,110 85,235,90 > > Is there some other setting I need to set or check ? > blend level is 0, ink is srcCopy Any graphic effects applied? I usually only see a difference if there's some antialiasing and the mouse isn't directly over part of the flat colored area. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From warren at warrensweb.us Thu Jun 20 17:10:20 2013 From: warren at warrensweb.us (Warren Samples) Date: Thu, 20 Jun 2013 16:10:20 -0500 Subject: "One Year Free" In-Reply-To: References: <51C34BE8.3090508@gmail.com> <1FBD8C40-1C10-4E1D-801D-07615E7B0D16@aol.com> <51C354E4.1050609@gmail.com> <51C3560D.7040209@gmail.com> Message-ID: <51C36FBC.3030909@warrensweb.us> On 06/20/2013 03:34 PM, william humphrey wrote: > It clearly says one year of updates. It also says this: "Please note this is a subscription license, which will automatically renew annually. You may cancel it at any time. If you cancel your access to LiveCode will revert to the Open Source Community Edition and you will no longer be able to build closed source apps." http://livecode.com/store/livecode/livecode-commercial From jacque at hyperactivesw.com Thu Jun 20 17:12:09 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 20 Jun 2013 16:12:09 -0500 Subject: MouseColor In-Reply-To: <51C36A95.4060805@hyperactivesw.com> References: <51C3447B.4050207@tweedly.net> <51C36A95.4060805@hyperactivesw.com> Message-ID: <51C37029.7080702@hyperactivesw.com> On 6/20/13 3:48 PM, J. Landman Gay wrote: > On 6/20/13 1:05 PM, Alex Tweedly wrote: >> I must be missing something obvious .... >> >> I created a graphic rectangle, and set its backColor to some color (and >> made it visible and opaque). >> >> I expected that I could then click in it, and get back that same color >> in "the mouseColor" - but I don't. >> >> >> Here's the script, and the result ... >> on mouseup >> put the mousecolor && the backColor of me >> end mouseup >> >> 69,235,110 85,235,90 >> >> Is there some other setting I need to set or check ? >> blend level is 0, ink is srcCopy > > Any graphic effects applied? I usually only see a difference if there's > some antialiasing and the mouse isn't directly over part of the flat > colored area. > BTW, I just tried it on a test graphic and it works as expected here. There's an "antialiasing" property you can set in the inspector, which is true by default, but even with that turned on it still gave the same values for both the mousecolor and backcolor. It sure sounds like the mouse is picking up a shadow or blend somewhere. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Thu Jun 20 17:14:48 2013 From: dsc at swcp.com (Dar Scott) Date: Thu, 20 Jun 2013 15:14:48 -0600 Subject: MouseColor In-Reply-To: <51C3447B.4050207@tweedly.net> References: <51C3447B.4050207@tweedly.net> Message-ID: <9CF43624-D3EF-47EB-8C66-23ADA8A04E84@swcp.com> I have seen this kind of thing before, but I don't remember why. It seems I was using the same stack for iOS. I'm not seeing this with LiveCode 5.5.4 on OS X 10.6 and a new stack. Dar On Jun 20, 2013, at 12:05 PM, Alex Tweedly wrote: > I must be missing something obvious .... > > I created a graphic rectangle, and set its backColor to some color (and made it visible and opaque). > > I expected that I could then click in it, and get back that same color in "the mouseColor" - but I don't. > > > Here's the script, and the result ... > on mouseup > put the mousecolor && the backColor of me > end mouseup > > 69,235,110 85,235,90 > > Is there some other setting I need to set or check ? > blend level is 0, ink is srcCopy > > Thanks for any suggestions > -- Alex. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From devin_asay at byu.edu Thu Jun 20 17:37:11 2013 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 20 Jun 2013 21:37:11 +0000 Subject: How to use urlProgress In-Reply-To: <51C369D3.8080006@hyperactivesw.com> References: , <51C369D3.8080006@hyperactivesw.com> Message-ID: <33ADA35C-C7A0-4899-BB32-5915372435FF@byu.edu> Sent from my iPhone On Jun 20, 2013, at 3:45 PM, "J. Landman Gay" wrote: >> Am I doing something wrong? I'm on OS X 10.7.x and LC 6.0.2. > > It looks like the urlProgress message is only for mobile. Oh snap. I knew it had to be something simple and obvious. Thanks Andrew and Jacque. Devin From dunbarx at aol.com Thu Jun 20 18:25:03 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 20 Jun 2013 18:25:03 -0400 (EDT) Subject: Test only-ignore In-Reply-To: <9CF43624-D3EF-47EB-8C66-23ADA8A04E84@swcp.com> References: <51C3447B.4050207@tweedly.net> <9CF43624-D3EF-47EB-8C66-23ADA8A04E84@swcp.com> Message-ID: <8D03C1C2507DFDC-1290-4C05@webmail-d263.sysops.aol.com> test From curry at pair.com Thu Jun 20 18:26:47 2013 From: curry at pair.com (Curry Kenworthy) Date: Thu, 20 Jun 2013 17:26:47 -0500 Subject: "One Year Free" (Subscriptions) In-Reply-To: <51C36FBC.3030909@warrensweb.us> References: <51C36FBC.3030909@warrensweb.us> Message-ID: <51C381A7.7040705@pair.com> > "Please note this is a subscription license, which will > automatically renew annually. You may cancel it at any time. > If you cancel your access to LiveCode will revert to the > Open Source Community Edition and you will no longer be able > to build closed source apps." Howdy, Richmond and Warren, thanks for posting about this! Somehow I had been absent minded and forgotten about it being a subscription with LC Complete and the new Commercial. Probably it means access to new versions - not affecting any existing installed version? That's how Complete works, so I feel pretty confident that this works the same. Definitely worth clarifying. I don't think it's technically possible for your installed Commercial version to "revert" to OSS version; they are different and separate. But another problem with subscriptions is that you must remember to have a certain sum available in a certain bank or credit line annually, you don't choose the best day for payment, plus you can't use PayPal. If you forget about it, it could also cause trouble if you're using debit/bank rather than credit. For example you happen to have $550 in that account on that day, and you wrote a local check for $100 a couple days ago that will attempt to post soon after the auto deduction. (I know that's a matter of account management, but most of my auto deductions are monthly and that helps to remember and allocate funds for them.) For a larger sum, $500, I really do not want to use a subscription that automatically deducts! It would be so much better to get one or more emails that say "Hey, your RunRev subscription is about to expire!" but leave the actual payment up to me, so that I can choose the best time and source for it. LC Commercial is worth every penny of that payment - but I would love to be the one to pull the trigger on the payment rather than having it go off automatically. :) Thanks again for the reminder! Best wishes, Curry K. From dochawk at gmail.com Thu Jun 20 19:04:39 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 20 Jun 2013 16:04:39 -0700 Subject: old habits are hard to break In-Reply-To: <51C35869.8080904@gmail.com> References: <51C35869.8080904@gmail.com> Message-ID: On Thu, Jun 20, 2013 at 12:30 PM, Richmond wrote: > Some of those habits are not necessarily a bad thing as not all of your > end-users are > going to have the "all-singing, all-dancing machine" you obviously have! For what I'm doing, they're going to be reasonably up to date. But what's getting me is the stuff that *really* doesn't matter, like shaving a couple of bytes off of variable names, and agonizing over something that will take a millisecond or less when someone touches a key . . . An 8080 processed, at best, a couple of hundred thousand instructions a second, and accessed, at most, 2 million bytes a second. I get billions of multi-byte words a second . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From mwieder at ahsoftware.net Thu Jun 20 20:57:28 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 20 Jun 2013 17:57:28 -0700 Subject: Test only-ignore In-Reply-To: <8D03C1C2507DFDC-1290-4C05@webmail-d263.sysops.aol.com> References: <51C3447B.4050207@tweedly.net> <9CF43624-D3EF-47EB-8C66-23ADA8A04E84@swcp.com> <8D03C1C2507DFDC-1290-4C05@webmail-d263.sysops.aol.com> Message-ID: <151294007165.20130620175728@ahsoftware.net> Craig- Thursday, June 20, 2013, 3:25:03 PM, you wrote: > test I'm really doing my best to ignore this, but it just raises so many questions, you know? I mean, is this a riddle? I can't think of the answer, so I guess I'm failing that one. Or is it a reminder email to me of something? Oh, I know... I've got a test today and it's in a class that I forgot I had and I haven't been to it all semester and... oh... no, I know that dream already, so it can't be that. Maybe it's an acronym for something. Try Earnestly. Stop Trying. Ah... it's zen. Or maybe it's an answer rather than a question and I missed the question. Quite the mystery you've got there, Craig. -- Mark Wieder mwieder at ahsoftware.net From dunbarx at aol.com Thu Jun 20 21:44:55 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 20 Jun 2013 21:44:55 -0400 (EDT) Subject: Mark only-ignore In-Reply-To: <151294007165.20130620175728@ahsoftware.net> References: <51C3447B.4050207@tweedly.net> <9CF43624-D3EF-47EB-8C66-23ADA8A04E84@swcp.com> <8D03C1C2507DFDC-1290-4C05@webmail-d263.sysops.aol.com> <151294007165.20130620175728@ahsoftware.net> Message-ID: <8D03C38104F9AE3-191C-58AB@webmail-d264.sysops.aol.com> Looks like Mark has finally flipped. Will miss him... -----Original Message----- From: Mark Wieder To: How to use LiveCode Sent: Thu, Jun 20, 2013 8:59 pm Subject: Re: Test only-ignore Craig- Thursday, June 20, 2013, 3:25:03 PM, you wrote: > test I'm really doing my best to ignore this, but it just raises so many questions, you know? I mean, is this a riddle? I can't think of the answer, so I guess I'm failing that one. Or is it a reminder email to me of something? Oh, I know... I've got a test today and it's in a class that I forgot I had and I haven't been to it all semester and... oh... no, I know that dream already, so it can't be that. Maybe it's an acronym for something. Try Earnestly. Stop Trying. Ah... it's zen. Or maybe it's an answer rather than a question and I missed the question. Quite the mystery you've got there, Craig. -- Mark Wieder mwieder at ahsoftware.net _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Fri Jun 21 01:26:46 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 21 Jun 2013 08:26:46 +0300 Subject: old habits are hard to break In-Reply-To: References: <51C35869.8080904@gmail.com> Message-ID: <51C3E416.8050901@gmail.com> On 06/21/2013 02:04 AM, Dr. Hawkins wrote: > On Thu, Jun 20, 2013 at 12:30 PM, Richmond wrote: >> Some of those habits are not necessarily a bad thing as not all of your >> end-users are >> going to have the "all-singing, all-dancing machine" you obviously have! > For what I'm doing, they're going to be reasonably up to date. > > But what's getting me is the stuff that *really* doesn't matter, like > shaving a couple of bytes off of variable names, and agonizing over > something that will take a millisecond or less when someone touches a > key . . . > > An 8080 processed, at best, a couple of hundred thousand instructions > a second, and accessed, at most, 2 million bytes a second. > > I get billions of multi-byte words a second . . . > > Well that is rather the same as my being extremely mean when removing the core of a green pepper, cutting as near to the stem as possible, because at one time in my life I was really living on the edge, financially (when I was in the USA); while now I can both afoord lots of green peppers and live in a country where they are super abundant. Richmond. From jacque at hyperactivesw.com Fri Jun 21 01:59:36 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 21 Jun 2013 00:59:36 -0500 Subject: Mark only-ignore In-Reply-To: <8D03C38104F9AE3-191C-58AB@webmail-d264.sysops.aol.com> References: <51C3447B.4050207@tweedly.net> <9CF43624-D3EF-47EB-8C66-23ADA8A04E84@swcp.com> <8D03C1C2507DFDC-1290-4C05@webmail-d263.sysops.aol.com> <151294007165.20130620175728@ahsoftware.net> <8D03C38104F9AE3-191C-58AB@webmail-d264.sysops.aol.com> Message-ID: <51C3EBC8.6050907@hyperactivesw.com> On 6/20/13 8:44 PM, dunbarx at aol.com wrote: > Looks like Mark has finally flipped. Years ago. Where have you been? Pay attention, there's going to be a test. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From matthias_livecode_150811 at m-r-d.de Fri Jun 21 04:18:34 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 21 Jun 2013 10:18:34 +0200 Subject: "One Year Free" (Subscriptions) In-Reply-To: <51C381A7.7040705@pair.com> References: <51C36FBC.3030909@warrensweb.us> <51C381A7.7040705@pair.com> Message-ID: <37166C07-CC05-4861-A0D7-359AAA237498@m-r-d.de> Hi, that?s the way they are doing it. I have several yearly subscriptions running with Runrev. One of my subscription is due for renewal on the 19th july. On the 18th june i got an email reminding me of the coming payment. "Your On-Rev Dedicated IP Address Yearly Subscription is due for renewal on 19th July 2013. Your card will automatically be charged on this date, for 35,00 eur, as per the agreement you have set up with us. If your card details have not changed since your last payment you need not do anything, your payment will be made and your license automatically renewed....." I am pretty sure they are doing the same with Livecode subscriptions. Regards, Matthias Am 21.06.2013 um 00:26 schrieb Curry Kenworthy : > For a larger sum, $500, I really do not want to use a subscription that automatically deducts! It would be so much better to get one or more emails that say "Hey, your RunRev subscription is about to expire!" but leave the actual payment up to me, so that I can choose the best time and source for it. From m_p_wilcox at yahoo.co.uk Fri Jun 21 05:33:35 2013 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Fri, 21 Jun 2013 10:33:35 +0100 (BST) Subject: old habits are hard to break In-Reply-To: <51C3E416.8050901@gmail.com> References: <51C35869.8080904@gmail.com> <51C3E416.8050901@gmail.com> Message-ID: <1371807215.50558.YahooMailNeo@web28801.mail.ir2.yahoo.com> Richmond wrote: > Well that is rather the same as my being extremely mean when removing > the core of a green pepper, > cutting as near to the stem as possible, because at one time in my life > I was really living on the edge, > financially (when I was in the USA); while now I can both afoord lots of > green peppers and live in > a country where they are super abundant. It's not exactly the same though. With a physical thing like a green pepper, cutting nearer the stem will always get you more to eat. Micro-optimisations to code are dependent on assumptions about underlying compilers/interpreters and hardware and so generally best avoided until required. ?A good example from this thread is having four different versions of the same function with tiny variations at the beginning. One of the key bottlenecks in a modern device (desktop or mobile) is the speed of the RAM vs the speed of the processor; if your whole program doesn't fit in the CPU caches then splitting out function variants can actually make things slower, due to the need to fetch a different variant from RAM (or even disk or flash memory) vs having a single longer version that remains in cache. ?Combine that with the fact that you then have to maintain multiple versions of the same code and we have a good example why "premature optimization is the root of all evil" (Donald Knuth). Most people use very high level languages like LiveCode to optimise for code clarity, simplicity and readability - certainly not performance. Maybe the old habits are worth the effort required to break them? Mark From coiin at verizon.net Fri Jun 21 08:05:47 2013 From: coiin at verizon.net (Colin Holgate) Date: Fri, 21 Jun 2013 08:05:47 -0400 Subject: educators meeting today Message-ID: <3D3008B6-D102-4245-BFB9-C3C17029A5C5@verizon.net> One of the Kickstarter reward educator training days is happening at my office today. Cyrll Pruszko is leading the proceedings, but I?ll be hanging out too. I may be emailing you all later if there are any tricky questions that come up! From dochawk at gmail.com Fri Jun 21 11:26:28 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 21 Jun 2013 08:26:28 -0700 Subject: old habits are hard to break In-Reply-To: <1371807215.50558.YahooMailNeo@web28801.mail.ir2.yahoo.com> References: <51C35869.8080904@gmail.com> <51C3E416.8050901@gmail.com> <1371807215.50558.YahooMailNeo@web28801.mail.ir2.yahoo.com> Message-ID: On Fri, Jun 21, 2013 at 2:33 AM, Mark Wilcox wrote: > A good example from this thread is having four different versions of the same function with >tiny variations at the beginning. For that matter . . . does anyone really know the timing comparisons for LiveCode. Say, for parsing a constant "abc", pulling it from a variable (ltrs), and an array? (which was all I was optimizing away, really, fixed for the price of a four way switch setting the variable). Or if I'm doing or not doing something with an array element based on that element, is if ary[why][el] > 12 then put gizmo(ary[why][el]) into widget end if better than put ary[why][el] into tstVal if tstVal > 12 then put gizmo(tstVal) into widget end if Some things I just expect to be expensive (function calls, lookup of a text key in an array), for no other reason than they were in other languages I used years ago, or it just "seems so" I built a wonderful smalltalk model of a market, with "proper" messages & so forth. After looking at it, and being irritated with runtime, I recoded it line for line in Fortran. Most of the function calls, and consequent context switches, became simple array element reads. The speedup was 45,000 to 1, and I'd done no optimization at all. >One of the key bottlenecks in a modern device >(desktop or mobile) is the speed of the RAM vs the speed of the processor; if your whole >program doesn't fit in the CPU caches then splitting out function variants can actually make >things slower, due to the need to fetch a different variant from RAM (or even disk or flash >memory) vs having a single longer version that remains in cache. We hit this on my dissertation. It was a new dynamic programming method, over a high dimensional search space *far* to large to keep around. Afterwards, I realized that my solution was the same as hard disk for virtual memory, or a cpu cache, where I simply recalculated values not there. We found that by increasing the size of my "cache" array from 256M to 512M (On a screaming fast for the time machine with an unheard of 1G of ram), it slowed down as the extra tie to search the keys outweighed the advantage of a cached value. We also discovered a bug in the Cray compiler as sold by, uhm, I forget (Absoft?). As it was actually bit-addressed, not byte-addressed, a dynamic array was limited to 128M (if memory serves), and they didn't know this. They'd never had a machine with as much memory we had, and never tried oen that big . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From andrew at ctech.me Fri Jun 21 11:29:21 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Fri, 21 Jun 2013 10:29:21 -0500 Subject: LiveCode or LiveCode server on other kinds of web servers Message-ID: Hey Ya'll, I have used Livecode Server from my on-rev account but never hooked it up myself. >From what I understand, it can hook up to Apache. What about something like Tornado web server hooked up to a python app, or livecode server hooked up to a Node.js Express framework server. Perhaps, livecode server isn't even the best option here. What I would like to do is be able to make a library for nodejs that lets me use livecode libraries to do some data processing either via calling a livecode script from the shell or some kind of routing through livecode server. We are working on a reporting server in javascript to produce interactive html reports from our data, but I am just so spoiled on livecode's capabilities when it comes to transforming data into various forms needed for my reporting. Anybody have any ideas how something like this could be accomplished? I've not really ever ran livecode apps from a command line or on linux all that much. Can we even run gui-less livecode apps from the command line? -- Regards, Andrew Kluthe andrew at ctech.me From revlist at azurevision.co.uk Fri Jun 21 12:31:39 2013 From: revlist at azurevision.co.uk (Ian Wood) Date: Fri, 21 Jun 2013 17:31:39 +0100 Subject: LiveCode or LiveCode server on other kinds of web servers In-Reply-To: References: Message-ID: <858794D1-A9C2-431E-A87E-8E3CDB4E6E64@azurevision.co.uk> Depending on security issues, you could just call a livecode URL with some parameters and get back processed data. Ian On 21 Jun 2013, at 16:29, Andrew Kluthe wrote: > What I would like to do is be able to make a library for nodejs that lets > me use livecode libraries to do some data processing either via calling a > livecode script from the shell or some kind of routing through livecode > server. From mwieder at ahsoftware.net Fri Jun 21 12:42:30 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 21 Jun 2013 16:42:30 +0000 (UTC) Subject: Mark only-ignore References: <51C3447B.4050207@tweedly.net> <9CF43624-D3EF-47EB-8C66-23ADA8A04E84@swcp.com> <8D03C1C2507DFDC-1290-4C05@webmail-d263.sysops.aol.com> <151294007165.20130620175728@ahsoftware.net> <8D03C38104F9AE3-191C-58AB@webmail-d264.sysops.aol.com> <51C3EBC8.6050907@hyperactivesw.com> Message-ID: J. Landman Gay writes: > > On 6/20/13 8:44 PM, dunbarx at ... wrote: > > Looks like Mark has finally flipped. > > Years ago. Where have you been? Pay attention, there's going to be a test. Ooooo... a test... Looks like I picked the wrong week to quit litmus... -- Mark Wieder mwieder at ahsoftware.net From dsc at swcp.com Fri Jun 21 13:03:09 2013 From: dsc at swcp.com (Dar Scott) Date: Fri, 21 Jun 2013 11:03:09 -0600 Subject: Mark only-ignore In-Reply-To: References: <51C3447B.4050207@tweedly.net> <9CF43624-D3EF-47EB-8C66-23ADA8A04E84@swcp.com> <8D03C1C2507DFDC-1290-4C05@webmail-d263.sysops.aol.com> <151294007165.20130620175728@ahsoftware.net> <8D03C38104F9AE3-191C-58AB@webmail-d264.sysops.aol.com> <51C3EBC8.6050907@hyperactivesw.com> Message-ID: I interpreted the original "test" as an exhortation, a reminder that we all need at times. Dar On Jun 21, 2013, at 10:42 AM, Mark Wieder wrote: > J. Landman Gay writes: > >> >> On 6/20/13 8:44 PM, dunbarx at ... wrote: >>> Looks like Mark has finally flipped. >> >> Years ago. Where have you been? Pay attention, there's going to be a test. > > Ooooo... a test... > Looks like I picked the wrong week to quit litmus... > > > > -- > Mark Wieder > mwieder at ahsoftware.net > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Fri Jun 21 13:06:28 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 21 Jun 2013 13:06:28 -0400 Subject: Mark only-ignore In-Reply-To: References: <51C3447B.4050207@tweedly.net> <9CF43624-D3EF-47EB-8C66-23ADA8A04E84@swcp.com> <8D03C1C2507DFDC-1290-4C05@webmail-d263.sysops.aol.com> <151294007165.20130620175728@ahsoftware.net> <8D03C38104F9AE3-191C-58AB@webmail-d264.sysops.aol.com> <51C3EBC8.6050907@hyperactivesw.com> Message-ID: <001701ce6ea1$abd36130$037a2390$@net> 42 Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From dochawk at gmail.com Fri Jun 21 15:32:55 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 21 Jun 2013 12:32:55 -0700 Subject: persistent arrays and other data for server/web Message-ID: I'm not to the point of needing this yet, but hope to be within a couple of weeks and would like to get my gears turning. My understanding is that each hit to livecode server starts a new session, which executes and quits. For a web implementation of my software, though, I would want (well, *need*) some persistent data, particularly a couple of lage arrays, to hang around. They would be in a field, do something, go on to another, do something, etc. I just don't see what the model is for binding what the user sees as his "session" to the data he works with. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From bonnmike at gmail.com Fri Jun 21 15:42:12 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 21 Jun 2013 13:42:12 -0600 Subject: persistent arrays and other data for server/web In-Reply-To: References: Message-ID: Might look here for a simple example of session management: http://forums.runrev.com/viewtopic.php?f=15&t=10787&p=50056&hilit=session #p50034 However, if you're using the community version of livecode server, for the moment sessions are not working. There is a forum thread about the issue so as far as I know things are being looked into. Replacing the 2 support folders with the ones from the 5.0.2 commercial version of lc server solves the problem. From dochawk at gmail.com Fri Jun 21 16:08:47 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 21 Jun 2013 13:08:47 -0700 Subject: persistent arrays and other data for server/web In-Reply-To: References: Message-ID: On Fri, Jun 21, 2013 at 12:42 PM, Mike Bonner wrote: > Might look here for a simple example of session management: > http://forums.runrev.com/viewtopic.php?f=15&t=10787&p=50056&hilit=session > #p50034 Thank you. So it sounds like a session can be tagged to an id generated server side, passed back to the client, which then uses it? And is this save from snooping if I use https? > However, if you're using the community version of livecode server, Horrors, No! :) This is hard-core commercial, with keys that need to stay secure, code that needs to stay secure, . . . I'm not even using 6 for development, although I have the full license. It doesn't appear to be fairly described as "beta" at the moment. (Well, sure, if you use MS counting, but it's not up to alpha by apple counting . . . :) thanks -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From bonnmike at gmail.com Fri Jun 21 16:13:54 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 21 Jun 2013 14:13:54 -0600 Subject: persistent arrays and other data for server/web In-Reply-To: References: Message-ID: Don't know enough about https to answer the question, though if I were to make a WAG I'd say yeah. The session data should just be part of the encrypted being passed back and forth. On Fri, Jun 21, 2013 at 2:08 PM, Dr. Hawkins wrote: > On Fri, Jun 21, 2013 at 12:42 PM, Mike Bonner wrote: > > Might look here for a simple example of session management: > > > http://forums.runrev.com/viewtopic.php?f=15&t=10787&p=50056&hilit=session > > #p50034 > > Thank you. So it sounds like a session can be tagged to an id > generated server side, passed back to the client, which then uses it? > > And is this save from snooping if I use https? > > > > However, if you're using the community version of livecode server, > > Horrors, No! > > :) > > This is hard-core commercial, with keys that need to stay secure, code > that needs to stay secure, . . . > > I'm not even using 6 for development, although I have the full > license. It doesn't appear to be fairly described as "beta" at the > moment. (Well, sure, if you use MS counting, but it's not up to alpha > by apple counting . . . :) > > thanks > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mcgrath3 at mac.com Fri Jun 21 17:31:17 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 21 Jun 2013 17:31:17 -0400 Subject: imageData again Message-ID: Ok, here is my script where I am simply trying to grab an image from another card and set it up for viewing when a thumbnail is pressed. The images get all messed up with black spaces etc. I am sure that I am setting the width and height to the same size as the original but i get garbage. No in the simulator this will work "IF" I touch the button twice in a row????? on mouseUp if the width of this card > 1025 then put "1204" into pWidth put "904" into pHeight put "778,562" into pLoc else put "602" into pWidth put "452" into pHeight put "389,281" into pLoc end if lock screen for visual effect in rect the rect of this card put the cImageName of me into tImage if there is an image tImage of card 3 then if there is an image "Preview" then delete image "Preview" create image "Preview" set the width of image "Preview" to the width of image tImage of card 3 set the height of image "Preview" to the height of image tImage of card 3 set the imageData of image "Preview" to the imageData of image tImage of card 3 set the lockLoc of image "Preview" to true set the dropShadow["color"] of image "Preview" to 0,0,0 set the script of image "Preview" to the cImageScript of this card put the long id of image "Preview" into pImageID setAreaProportional pImageID, pWidth, pHeight set the loc of image "Preview" to pLoc end if unlock screen with visual effect "dissolve" very fast end mouseUp ANy ideas???? -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com From bonnmike at gmail.com Fri Jun 21 17:36:48 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 21 Jun 2013 15:36:48 -0600 Subject: imageData again In-Reply-To: References: Message-ID: Silly question, but if you create your image, set its size and lock it then use "the text of.." instead of the imagedata, seems like it would avoid the possibility of munging the imagedata (though it seems like it should work if the sizes are identical). Using the text of the image should avoid the issue entirely. Changed the script below to reflect, but untested. On Fri, Jun 21, 2013 at 3:31 PM, Thomas McGrath III wrote: > Ok, here is my script where I am simply trying to grab an image > from another card and set it up for viewing when a thumbnail is pressed. > The images get all messed up with black spaces etc. I am sure that I am > setting the width and height to the same size as the original but i get > garbage. No in the simulator this will work "IF" I touch the button twice > in a row????? > > on mouseUp > if the width of this card > 1025 then > put "1204" into pWidth > put "904" into pHeight > put "778,562" into pLoc > else > put "602" into pWidth > put "452" into pHeight > put "389,281" into pLoc > end if > lock screen for visual effect in rect the rect of this card > put the cImageName of me into tImage > if there is an image tImage of card 3 then > if there is an image "Preview" then delete image "Preview" > create image "Preview" > set the width of image "Preview" to the width of image tImage of > card 3 > set the height of image "Preview" to the height of image tImage > of card 3 > set the lockLoc of image "Preview" to true > > set the text of image "Preview" to the text of image tImage of > card 3 > set the dropShadow["color"] of image "Preview" to 0,0,0 > set the script of image "Preview" to the cImageScript of this > card > put the long id of image "Preview" into pImageID > setAreaProportional pImageID, pWidth, pHeight > > set the loc of image "Preview" to pLoc > end if > unlock screen with visual effect "dissolve" very fast > end mouseUp > > > ANy ideas???? > > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mcgrath3 at mac.com Fri Jun 21 17:38:28 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 21 Jun 2013 17:38:28 -0400 Subject: imageData again In-Reply-To: References: Message-ID: <55B178C9-925D-42A5-ADB4-0228C15EF17E@mac.com> I will give that a try. Thank Mike, Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jun 21, 2013, at 5:36 PM, Mike Bonner wrote: > Silly question, but if you create your image, set its size and lock it then > use "the text of.." instead of the imagedata, seems like it would avoid the > possibility of munging the imagedata (though it seems like it should work > if the sizes are identical). Using the text of the image should avoid the > issue entirely. > > Changed the script below to reflect, but untested. > > > On Fri, Jun 21, 2013 at 3:31 PM, Thomas McGrath III wrote: > >> Ok, here is my script where I am simply trying to grab an image >> from another card and set it up for viewing when a thumbnail is pressed. >> The images get all messed up with black spaces etc. I am sure that I am >> setting the width and height to the same size as the original but i get >> garbage. No in the simulator this will work "IF" I touch the button twice >> in a row????? >> >> on mouseUp >> if the width of this card > 1025 then >> put "1204" into pWidth >> put "904" into pHeight >> put "778,562" into pLoc >> else >> put "602" into pWidth >> put "452" into pHeight >> put "389,281" into pLoc >> end if >> lock screen for visual effect in rect the rect of this card >> put the cImageName of me into tImage >> if there is an image tImage of card 3 then >> if there is an image "Preview" then delete image "Preview" >> create image "Preview" >> set the width of image "Preview" to the width of image tImage of >> card 3 >> set the height of image "Preview" to the height of image tImage >> of card 3 >> set the lockLoc of image "Preview" to true >> > > >> set the text of image "Preview" to the text of image tImage of >> card 3 >> set the dropShadow["color"] of image "Preview" to 0,0,0 >> set the script of image "Preview" to the cImageScript of this >> card >> put the long id of image "Preview" into pImageID >> setAreaProportional pImageID, pWidth, pHeight >> >> set the loc of image "Preview" to pLoc >> end if >> unlock screen with visual effect "dissolve" very fast >> end mouseUp >> >> >> ANy ideas???? >> >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> mcgrath3 at mac.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Fri Jun 21 20:36:48 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 22 Jun 2013 02:36:48 +0200 Subject: Does Apple accepts App with LC field instead of native iOS fields? Message-ID: Hi, does anyone know if Apple accepts also apps which "just" use normal Livecode fields instead of native fields? Or is it mandatory that the user is able to use the magnifier? Regards, Matthias From kee at kagi.com Fri Jun 21 21:50:56 2013 From: kee at kagi.com (kee nethery) Date: Fri, 21 Jun 2013 18:50:56 -0700 Subject: Does Apple accepts App with LC field instead of native iOS fields? In-Reply-To: References: Message-ID: They are not purists. Being able to use the magnifier is not in the rules for what an app has to comply with to be accepted. Yes you can just use a LC field. Kee Nethery (I'm not Apple so your mileage may vary) On Jun 21, 2013, at 5:36 PM, Matthias Rebbe wrote: > Hi, > > does anyone know if Apple accepts also apps which "just" use normal Livecode fields instead of native fields? > Or is it mandatory that the user is able to use the magnifier? > > Regards, > > Matthias From th.douez at gmail.com Sat Jun 22 00:43:12 2013 From: th.douez at gmail.com (Thierry Douez) Date: Sat, 22 Jun 2013 06:43:12 +0200 Subject: Post command help In-Reply-To: References: Message-ID: Coming back :( More details: I'm on MacOS. Restarting my Mac and my Internet Box and got again the same error: post myData to url "https://myDomain" But, executing this line of script always works: get shell("curl -s -d" && quote & myData & quote && "https://myDomain") Executing the same post via Firefox and a form always works too. And after some tries, the post command works again without any clue why? So, looks like the post command over https is not reliable on Mac ! Same behavior with LC 5.5, 6.... Any hint? PS: Restarting my internet box change my IP number. ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage 2013/6/18 Pierre Sahores > Hi, > > Would say that two events may be responsible of this : > > 1.- The SSL certificate may be outdated and, then, have to be renewed ; > 2.- The dedicated IP of your hosting account is down. A shared IP is used > instead and the certificate is unbindable from this one ; > > Regards, > > Pierre > > Le 18 juin 2013 ? 10:47, Thierry Douez a ?crit : > > > Hello, > > > > I have a one-line script to post some datas on a server. > > > > Yesterday, everything works perfectly. > > > > This morning, without changing anything on Livecode side or server, only > > restarting my Mac, I get this error: > > > > Post: - error -Error with certificate at depth: 2 issuer = > > /C=BE/O=GlobalSign nv-sa/OU=Root CA/CN=GlobalSign Root CA subject = > > /C=BE/O=GlobalSign nv-sa/OU=Root CA/CN=GlobalSign Root CA err 19:self > > signed certificate in certificate chain > > > > Any hint why this happens ? > > > > Is there some parameters we can set to change the post behavior in LC? > > > > Regards, > > > > Thierry > > > > ------------------------------------------------ > > Thierry Douez - http://sunny-tdz.com > > Maker of sunnYperl - sunnYmidi - sunnYmage > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > Pierre Sahores > mobile : 06 03 95 77 70 > www.sahores-conseil.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From gerry.orkin at gmail.com Sat Jun 22 04:26:12 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Sat, 22 Jun 2013 01:26:12 -0700 (PDT) Subject: Does Apple accepts App with LC field instead of native iOS fields? In-Reply-To: References: Message-ID: <1371889571725.a010f3ef@Nodemailer> I have an app in the store that uses LiveCode fields. Native fields are useful where the user has to enter or edit text. I'm not sure why you would not want to use them if your app requires that sort of interaction.? ?Gerry On Sat, Jun 22, 2013 at 11:51 AM, kee nethery wrote: > They are not purists. Being able to use the magnifier is not in the rules for what an app has to comply with to be accepted. Yes you can just use a LC field. > Kee Nethery > (I'm not Apple so your mileage may vary) > On Jun 21, 2013, at 5:36 PM, Matthias Rebbe wrote: >> Hi, >> >> does anyone know if Apple accepts also apps which "just" use normal Livecode fields instead of native fields? >> Or is it mandatory that the user is able to use the magnifier? >> >> Regards, >> >> Matthias > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lan.kc.macmail at gmail.com Sat Jun 22 06:41:21 2013 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 22 Jun 2013 18:41:21 +0800 Subject: Database connection fails using community server 6.0.2 In-Reply-To: <3E35088D-98E0-4899-8EC0-0E35C978A8EE@revigniter.com> References: <3E35088D-98E0-4899-8EC0-0E35C978A8EE@revigniter.com> Message-ID: Sorry for the late respone (don't get much chance to visit the List these days) and your problem may have been solved with the release of 6.1.x, but I've had no problems with 6.0.2 connecting to MySQL. HTH On Thu, Jun 13, 2013 at 11:49 PM, Ralf Bitter wrote: > > Has anyone been able to connect successfully > to a MySQL / PostgreSQL database using the > community edition of LiveCode server 6.0.2? > > Replaced version 6.0.0-rc-1 with the community > version. Since then I am unable to establish a > database connection. (Permissions are correct) > > > Ralf > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dave at businessplaninsight.com Sat Jun 22 07:48:24 2013 From: dave at businessplaninsight.com (Dave Kilroy) Date: Sat, 22 Jun 2013 12:48:24 +0100 Subject: Dropbox, phxDropboxLib and HTTP POST Message-ID: Hi all I'm using Guglielmo Braguglia's excellent Dropbox library (http://www.phoenixsea.ch/downloads/Livecode/phxDropboxLib.zip) to enable uploading and downloading files to the same Dropbox account from desktop (OSX and Windows) and mobile (iOS and Android) apps. How I envisage it working is that a 'lead' customer buys the app and either links his/her app to an existing Dropbox account or else sets up a special account just for use by the app. Other users that want to share communication with the 'lead' customer can link their copies of the app by entering the 'lead' customer's token key and token secret provided by Dropbox. This means (with Guglielmo's library) I can offer group-wide, platform-independent communication between users of the app which seems pretty cool to me. The app is set up to Dropbox's 'sandbox' meaning it is limited to a specific folder within the special 'apps' folder in a Dropbox account. For all Dropbox experts out there does this sound like a sensible approach? However there is one wrinkle - LiveCode hasn't implemented HTTP PUT on mobile yet and when writing a file to Dropbox from a mobile device we are limited to using HTTP POST - and I can't figure out (yep I've asked Guglielmo and he can't either) how to write a file to a sub-folder of the app's root folder on Dropbox from an app on a mobile device - I can do it from a desktop app when I can use PUT, but not from mobile when using POST Any POST and/or Dropbox experts out there who could shed some light on the situation? Kind regards Dave From matthias_livecode_150811 at m-r-d.de Sat Jun 22 08:07:36 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 22 Jun 2013 14:07:36 +0200 Subject: Does Apple accepts App with LC field instead of native iOS fields? In-Reply-To: References: Message-ID: Kee, thanks. Matthias Am 22.06.2013 um 03:50 schrieb kee nethery : > They are not purists. Being able to use the magnifier is not in the rules for what an app has to comply with to be accepted. Yes you can just use a LC field. > > Kee Nethery > (I'm not Apple so your mileage may vary) > > On Jun 21, 2013, at 5:36 PM, Matthias Rebbe wrote: > >> Hi, >> >> does anyone know if Apple accepts also apps which "just" use normal Livecode fields instead of native fields? >> Or is it mandatory that the user is able to use the magnifier? >> >> Regards, >> >> Matthias > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Sat Jun 22 08:35:47 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 22 Jun 2013 06:35:47 -0600 Subject: Database connection fails using community server 6.0.2 In-Reply-To: References: <3E35088D-98E0-4899-8EC0-0E35C978A8EE@revigniter.com> Message-ID: The externals are broken on the mac side of things. http://forums.runrev.com/viewtopic.php?f=66&t=15606&p=78816&hilit=server+externals#p78816 On Sat, Jun 22, 2013 at 4:41 AM, Kay C Lan wrote: > Sorry for the late respone (don't get much chance to visit the List these > days) and your problem may have been solved with the release of 6.1.x, but > I've had no problems with 6.0.2 connecting to MySQL. > > HTH > > On Thu, Jun 13, 2013 at 11:49 PM, Ralf Bitter > wrote: > > > > > Has anyone been able to connect successfully > > to a MySQL / PostgreSQL database using the > > community edition of LiveCode server 6.0.2? > > > > Replaced version 6.0.0-rc-1 with the community > > version. Since then I am unable to establish a > > database connection. (Permissions are correct) > > > > > > Ralf > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From wwaldman at klht.org Sat Jun 22 09:03:46 2013 From: wwaldman at klht.org (William Waldman) Date: Sat, 22 Jun 2013 09:03:46 -0400 Subject: educators meeting today In-Reply-To: References: Message-ID: Sure would have liked to be there - didn't know it has happening! I'm not sure I kickstarted hard enough to be invited, but I would not have been able to attend anyway. I would love to know how it goes and who shows up - have a great time! Bill Waldman


This e-mail and any attachments may contain confidential and privileged information. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this e-mail and any attachments and destroy any copies. Any dissemination or use of this information by a person other than the intended recipient is unauthorized. From larsbrehmer at mac.com Sat Jun 22 09:04:15 2013 From: larsbrehmer at mac.com (Lars Brehmer) Date: Sat, 22 Jun 2013 16:04:15 +0300 Subject: ios orientation question Message-ID: I am working on an iPad app that is so far only suitable in portrait orientation, but I want to add an element (group) that would need to be in landsape orientation. Is it possible to make the standalone with all orientations, but be able to block and unblock the orientation switch when moving between this element and all others? Cheers, Lars From coiin at verizon.net Sat Jun 22 09:23:01 2013 From: coiin at verizon.net (Colin Holgate) Date: Sat, 22 Jun 2013 09:23:01 -0400 Subject: educators meeting today In-Reply-To: References: Message-ID: <697B83F0-BA3A-4B70-9241-F7F2B829A971@verizon.net> There were specific pledges, at ?55 I think, where the main reward was the one day teacher training. So, any other pledge, no matter how much, wouldn?t have given you the day of training. In the end there was me and Cyril, and five attendees. We covered all the basics of LiveCode, and got into more advanced areas too. They all seemed to find the day useful. I told them about this email list, so hopefully we?ll see them here too. On Jun 22, 2013, at 9:03 AM, "William Waldman" wrote: > >Sure would have liked to be there - didn't know it has happening! > I'm not sure I kickstarted hard enough to be invited, but I would not have > been able to attend anyway. > I would love to know how it goes and who shows up - have a great time! From pmbrig at gmail.com Sat Jun 22 09:57:11 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sat, 22 Jun 2013 09:57:11 -0400 Subject: old habits are hard to break In-Reply-To: References: <51C35869.8080904@gmail.com> <51C3E416.8050901@gmail.com> <1371807215.50558.YahooMailNeo@web28801.mail.ir2.yahoo.com> Message-ID: <40F74344-48D8-4220-A343-3F04F9AE978A@gmail.com> On Jun 21, 2013, at 11:26 AM, Dr. Hawkins wrote: > On Fri, Jun 21, 2013 at 2:33 AM, Mark Wilcox wrote: >> A good example from this thread is having four different versions of the same function with >> tiny variations at the beginning. > > For that matter . . . does anyone really know the timing comparisons > for LiveCode. Say, for parsing a constant "abc", pulling it from a > variable (ltrs), and an array? (which was all I was optimizing away, > really, fixed for the price of a four way switch setting the > variable). > > Or if I'm doing or not doing something with an array element based on > that element, is > > if ary[why][el] > 12 then > put gizmo(ary[why][el]) into widget > end if > > better than > > put ary[why][el] into tstVal > if tstVal > 12 then > put gizmo(tstVal) into widget > end if Well, here's a benchmark for using an intermediate array, comparing these two scripts: put 7 into tArray[1][2][3] put 127 into tArray[1][2][4] put tArray[1][2] into tempArray if tArray[1][2][3] > 6 then put tArray[1][2][4] into tWidget end if vs. put 7 into tArray[1][2][3] put 127 into tArray[1][2][4] put tArray[1][2] into tempArray if tempArray[3] > 6 then put tempArray[4] into tWidget end if Running the comparison on my old MacBook Core 2 Duo within a high-n repeat loop I get script 1: 2.177881 seconds script 2: 1.962642 seconds so the intermediate shallow array saves some time, presumably increasingly more with deeper arrays. OTOH, long variable names do nothing to shave clock cycles at runtime, I think that whatever the variable names it gets compiled to the same code. There is an old stack by Richard Gaskin, 4W_RevBench, that I have usually used for benchmarking but I just pulled it out and it is now acting very weird for me since I moved to LC 5.5, so I rolled my own handler for this test. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From pmbrig at gmail.com Sat Jun 22 10:01:29 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sat, 22 Jun 2013 10:01:29 -0400 Subject: Mark only-ignore In-Reply-To: <51C3EBC8.6050907@hyperactivesw.com> References: <51C3447B.4050207@tweedly.net> <9CF43624-D3EF-47EB-8C66-23ADA8A04E84@swcp.com> <8D03C1C2507DFDC-1290-4C05@webmail-d263.sysops.aol.com> <151294007165.20130620175728@ahsoftware.net> <8D03C38104F9AE3-191C-58AB@webmail-d264.sysops.aol.com> <51C3EBC8.6050907@hyperactivesw.com> Message-ID: On Jun 21, 2013, at 1:59 AM, J. Landman Gay wrote: > On 6/20/13 8:44 PM, dunbarx at aol.com wrote: >> Looks like Mark has finally flipped. > > Years ago. Where have you been? Pay attention, there's going to be a test. There just was, did you miss it? Obviously the test was scheduled for yesterday via Mark's time-shifting clothesdryer. I would say better luck next time, but the the next time was last year. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From richmondmathewson at gmail.com Sat Jun 22 10:40:32 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 22 Jun 2013 17:40:32 +0300 Subject: Mark only-ignore In-Reply-To: References: <51C3447B.4050207@tweedly.net> <9CF43624-D3EF-47EB-8C66-23ADA8A04E84@swcp.com> <8D03C1C2507DFDC-1290-4C05@webmail-d263.sysops.aol.com> <151294007165.20130620175728@ahsoftware.net> <8D03C38104F9AE3-191C-58AB@webmail-d264.sysops.aol.com> <51C3EBC8.6050907@hyperactivesw.com> Message-ID: <51C5B760.9000402@gmail.com> On 06/22/2013 05:01 PM, Peter M. Brigham wrote: > On Jun 21, 2013, at 1:59 AM, J. Landman Gay wrote: > >> On 6/20/13 8:44 PM, dunbarx at aol.com wrote: >>> Looks like Mark has finally flipped. >> Years ago. Where have you been? Pay attention, there's going to be a test. > There just was, did you miss it? Obviously the test was scheduled for yesterday via Mark's time-shifting clothesdryer. I would say better luck next time, but the the next time was last year. Cna this thread stop; it is getting in the way of my thinking my way through my GOSUB routines for some BASIC 5 homework I have to hand in by 1978; Richmond > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sat Jun 22 10:48:47 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 22 Jun 2013 17:48:47 +0300 Subject: [TIN] WINE 1.6-rc2 and DAZ Message-ID: <51C5B94F.9020205@gmail.com> [TIN] Totally Irrelevant News The free DAZ Studio 4.6 Pro for Windows now works with WINE 1.6-rc2 http://www.daz3d.com/products ( FREE; Mac and Windows ) http://www.winehq.org/ Not really irrelevant as it could be very useful for all those game developers working with Livecode! Richmond. From dochawk at gmail.com Sat Jun 22 11:26:38 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 22 Jun 2013 08:26:38 -0700 Subject: old habits are hard to break In-Reply-To: <40F74344-48D8-4220-A343-3F04F9AE978A@gmail.com> References: <51C35869.8080904@gmail.com> <51C3E416.8050901@gmail.com> <1371807215.50558.YahooMailNeo@web28801.mail.ir2.yahoo.com> <40F74344-48D8-4220-A343-3F04F9AE978A@gmail.com> Message-ID: On Sat, Jun 22, 2013 at 6:57 AM, Peter M. Brigham wrote: > Running the comparison on my old MacBook Core 2 Duo within a high-n repeat loop I get > > script 1: 2.177881 seconds > script 2: 1.962642 seconds > > so the intermediate shallow array saves some time, presumably increasingly more with deeper arrays. Now *that* fascinates me . . . I was wondering if the copy to another variable was faster than referencing the array a second time (which might not even be necessary). But you've found that actually *copying* part of the array is faster than a second reference . . . My arrays are only two deep, but the first index can get fairly large (on the one I was working on, I think it's about 500, likely to get to 600 or 700 by the time I'm done. In C or Fortran, I believe that the second reference would be optimized away, but . . . > OTOH, long variable names do nothing to shave clock cycles at runtime, I think that >whatever the variable names it gets compiled to the same code. Now if I could only convince my fingers of this . . . :) Thanks -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From mark.rauterkus at gmail.com Sat Jun 22 11:48:59 2013 From: mark.rauterkus at gmail.com (Mark Rauterkus) Date: Sat, 22 Jun 2013 11:48:59 -0400 Subject: Running LiveCode on Google Chrome Books Message-ID: Hi, Anyone have any insights on running a LiveCode standalone on Google Chromebooks? -- Ta. Mark Rauterkus Mark.Rauterkus at gmail.com From revlist at azurevision.co.uk Sat Jun 22 11:55:22 2013 From: revlist at azurevision.co.uk (Ian Wood) Date: Sat, 22 Jun 2013 16:55:22 +0100 Subject: Running LiveCode on Google Chrome Books In-Reply-To: References: Message-ID: <03DF16CA-3C29-4904-8B37-57B2CA8E94EC@azurevision.co.uk> I thought you could only run web apps on Chromebooks, not native code? Ian On 22 Jun 2013, at 16:48, Mark Rauterkus wrote: > Hi, > > Anyone have any insights on running a LiveCode standalone on Google > Chromebooks? > > > > -- > Ta. > > > Mark Rauterkus Mark.Rauterkus at gmail.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Sat Jun 22 14:44:47 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 22 Jun 2013 11:44:47 -0700 Subject: old habits are hard to break Message-ID: <51C5F09F.7070807@fourthworld.com> Peter M. Brigham wrote: > There is an old stack by Richard Gaskin, 4W_RevBench, that I have > usually used for benchmarking but I just pulled it out and it is > now acting very weird for me since I moved to LC 5.5... I'm out traveling so I don't have access to RevBench right now, but I'm curious what you mean by "weird" - errors, unexpected results, or something else? -- Richard Gaskin Fourth World Systems ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From curry at pair.com Sat Jun 22 15:00:37 2013 From: curry at pair.com (Curry Kenworthy) Date: Sat, 22 Jun 2013 14:00:37 -0500 Subject: old habits are hard to break In-Reply-To: <51C5F09F.7070807@fourthworld.com> References: <51C5F09F.7070807@fourthworld.com> Message-ID: <51C5F455.8060300@pair.com> > I'm out traveling so I don't have access to RevBench right now, but > I'm curious what you mean by "weird" - errors, unexpected results, > or something else? > -- > Richard Gaskin "Weird" = the results are now in CSV format! J/K. Howdy. :) CK From harrison at all-auctions.com Sat Jun 22 15:06:49 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Sat, 22 Jun 2013 15:06:49 -0400 Subject: Database connection fails using community server 6.0.2 In-Reply-To: References: <3E35088D-98E0-4899-8EC0-0E35C978A8EE@revigniter.com> Message-ID: <302384F9-4777-41B0-BF80-AFD16C41ACB7@all-auctions.com> Hi Mike, I've been trying to just use the revOpenDatabase to connect to a local postgresql database and keep getting the error: Function: error in function handler (revOpenDatabase) I'm assuming this error is due to the problem you are describing. I'm using the Server Commercial version < 6.0.2 if that helps at all. When can we expect an update to fix these database problems? This is getting critical for me. If the fix isn't going to be soon, can you please give us more explicit instructions as to how we can work around these problems? Thanks, Rick On Jun 22, 2013, at 8:35 AM, Mike Bonner wrote: > The externals are broken on the mac side of things. > http://forums.runrev.com/viewtopic.php?f=66&t=15606&p=78816&hilit=server+externals#p78816 > > > On Sat, Jun 22, 2013 at 4:41 AM, Kay C Lan wrote: > >> Sorry for the late respone (don't get much chance to visit the List these >> days) and your problem may have been solved with the release of 6.1.x, but >> I've had no problems with 6.0.2 connecting to MySQL. >> >> HTH >> >> On Thu, Jun 13, 2013 at 11:49 PM, Ralf Bitter >> wrote: >> >>> >>> Has anyone been able to connect successfully >>> to a MySQL / PostgreSQL database using the >>> community edition of LiveCode server 6.0.2? >>> >>> Replaced version 6.0.0-rc-1 with the community >>> version. Since then I am unable to establish a >>> database connection. (Permissions are correct) >>> >>> >>> Ralf >>> From dochawk at gmail.com Sat Jun 22 15:41:23 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 22 Jun 2013 12:41:23 -0700 Subject: Installer always downloads community version rather than commercial version Message-ID: Is everyone else getting the same thing? Even though I"m running the commercial version, the updater keeps downloading community versions and trying to get me to install them. Or am I missing something? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From bonnmike at gmail.com Sat Jun 22 15:42:12 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 22 Jun 2013 13:42:12 -0600 Subject: Database connection fails using community server 6.0.2 In-Reply-To: <302384F9-4777-41B0-BF80-AFD16C41ACB7@all-auctions.com> References: <3E35088D-98E0-4899-8EC0-0E35C978A8EE@revigniter.com> <302384F9-4777-41B0-BF80-AFD16C41ACB7@all-auctions.com> Message-ID: If you have access to the externals for 5.0.2 server you can use them with your commercial 6.0.2 on mac. Also might post in the thread I linked earlier to see if monty, mark, or whoever has fixed it. Worst case, write to support at runrev.com and see if you can get a copy of 5.0.2 server so you can snitch the support folders from that and replace the ones with 6.0.2. Hopefully an update for mac with working externals will be forthcoming. On Sat, Jun 22, 2013 at 1:06 PM, Rick Harrison wrote: > Hi Mike, > > I've been trying to just use the revOpenDatabase to connect to > a local postgresql database and keep getting the error: > > Function: error in function handler (revOpenDatabase) > > I'm assuming this error is due to the problem you > are describing. I'm using the Server Commercial version < 6.0.2 > if that helps at all. > > When can we expect an update to fix these database problems? > This is getting critical for me. > > If the fix isn't going to be soon, can you please give us > more explicit instructions as to how we can work around these > problems? > > Thanks, > > Rick > > > On Jun 22, 2013, at 8:35 AM, Mike Bonner wrote: > > > The externals are broken on the mac side of things. > > > http://forums.runrev.com/viewtopic.php?f=66&t=15606&p=78816&hilit=server+externals#p78816 > > > > > > On Sat, Jun 22, 2013 at 4:41 AM, Kay C Lan > wrote: > > > >> Sorry for the late respone (don't get much chance to visit the List > these > >> days) and your problem may have been solved with the release of 6.1.x, > but > >> I've had no problems with 6.0.2 connecting to MySQL. > >> > >> HTH > >> > >> On Thu, Jun 13, 2013 at 11:49 PM, Ralf Bitter > >> wrote: > >> > >>> > >>> Has anyone been able to connect successfully > >>> to a MySQL / PostgreSQL database using the > >>> community edition of LiveCode server 6.0.2? > >>> > >>> Replaced version 6.0.0-rc-1 with the community > >>> version. Since then I am unable to establish a > >>> database connection. (Permissions are correct) > >>> > >>> > >>> Ralf > >>> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From harrison at all-auctions.com Sat Jun 22 16:00:26 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Sat, 22 Jun 2013 16:00:26 -0400 Subject: Database connection fails using community server 6.0.2 In-Reply-To: References: <3E35088D-98E0-4899-8EC0-0E35C978A8EE@revigniter.com> <302384F9-4777-41B0-BF80-AFD16C41ACB7@all-auctions.com> Message-ID: Hi Mike, Thanks for the quick response! Ok, we'll see what happens after the weekend, and in the meantime I'll see what other things I can dig up for myself. Thanks again, Rick On Jun 22, 2013, at 3:42 PM, Mike Bonner wrote: > If you have access to the externals for 5.0.2 server you can use them with > your commercial 6.0.2 on mac. Also might post in the thread I linked > earlier to see if monty, mark, or whoever has fixed it. Worst case, write > to support at runrev.com and see if you can get a copy of 5.0.2 server so you > can snitch the support folders from that and replace the ones with 6.0.2. > Hopefully an update for mac with working externals will be forthcoming. > > > On Sat, Jun 22, 2013 at 1:06 PM, Rick Harrison wrote: > >> Hi Mike, >> >> I've been trying to just use the revOpenDatabase to connect to >> a local postgresql database and keep getting the error: >> >> Function: error in function handler (revOpenDatabase) >> >> I'm assuming this error is due to the problem you >> are describing. I'm using the Server Commercial version < 6.0.2 >> if that helps at all. >> >> When can we expect an update to fix these database problems? >> This is getting critical for me. >> >> If the fix isn't going to be soon, can you please give us >> more explicit instructions as to how we can work around these >> problems? >> >> Thanks, >> >> Rick >> >> >> On Jun 22, 2013, at 8:35 AM, Mike Bonner wrote: >> >>> The externals are broken on the mac side of things. >>> >> http://forums.runrev.com/viewtopic.php?f=66&t=15606&p=78816&hilit=server+externals#p78816 >>> >>> >>> On Sat, Jun 22, 2013 at 4:41 AM, Kay C Lan >> wrote: >>> >>>> Sorry for the late respone (don't get much chance to visit the List >> these >>>> days) and your problem may have been solved with the release of 6.1.x, >> but >>>> I've had no problems with 6.0.2 connecting to MySQL. >>>> >>>> HTH >>>> >>>> On Thu, Jun 13, 2013 at 11:49 PM, Ralf Bitter >>>> wrote: >>>> >>>>> >>>>> Has anyone been able to connect successfully >>>>> to a MySQL / PostgreSQL database using the >>>>> community edition of LiveCode server 6.0.2? >>>>> >>>>> Replaced version 6.0.0-rc-1 with the community >>>>> version. Since then I am unable to establish a >>>>> database connection. (Permissions are correct) >>>>> >>>>> >>>>> Ralf >>>>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Sat Jun 22 17:25:55 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 23 Jun 2013 07:25:55 +1000 Subject: Database connection fails using community server 6.0.2 In-Reply-To: <302384F9-4777-41B0-BF80-AFD16C41ACB7@all-auctions.com> References: <3E35088D-98E0-4899-8EC0-0E35C978A8EE@revigniter.com> <302384F9-4777-41B0-BF80-AFD16C41ACB7@all-auctions.com> Message-ID: <275EF1E5-CD40-463C-ACAD-0E003CD7B100@sweattechnologies.com> On 23/06/2013, at 5:06 AM, Rick Harrison wrote: > When can we expect an update to fix these database problems? Should be quite soon. It was only on OS X and just because some preprocessor defines weren't set in the Xcode project. I expect 6.1 will fix it but as others have said you can copy older externals... -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From me at paulmaguire.me Sat Jun 22 18:24:25 2013 From: me at paulmaguire.me (Paul Maguire) Date: Sat, 22 Jun 2013 23:24:25 +0100 Subject: Private key for signing Android app... In-Reply-To: <94176710dd2dd7734ff8cfe57ae7565b.squirrel@meg.on-rev.com> References: <8E60AA13-40EA-4AB4-8482-251EEE0AABFE@paulmaguire.me> <94176710dd2dd7734ff8cfe57ae7565b.squirrel@meg.on-rev.com> Message-ID: Just thought I'd say thanks for this - all sorted thanks to this Terminal tutorial. Kind regards, Paul. On 20 Jun 2013, at 10:30, neil at runrev.com wrote: > Hi Paul, > > The following LiveCode lesson should be able to help you out with signing > your application- > > http://lessons.runrev.com/s/lessons/m/4069/l/32674-How-do-I-Create-a-Self-Signed-Certificate-for-an-Android-App- > > and the following will help with submitting your application to the Google > Play store- > > http://developer.android.com/distribute/googleplay/publish/preparing.html > > Kind Regards, > > Neil Roger > -- > RunRev Support Team ~ http://www.runrev.com > - >> Hi again. >> >> Almost completed this port to Android - painful first-time experience! >> But a lot learned for next app... >> >> Final hurdle is how do I actually get it on to Google Play?! I've set up a >> developer account and even set up the app details, but I haven't signed >> the app yet. I'm not in fact sure how to do this at all. It was tricky >> sorting it out for iOS for the first time, but eventually sorted it. But I >> don't want to goof on the android front at the last minute. This is a free >> app BTW with no push or other fanciness. >> >> Question is, is there a simple step-by-step guide for Android/Google n00bs >> like me? Any pointers really appreciated. >> >> Kind regards, Paul. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Jun 23 05:52:17 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 23 Jun 2013 12:52:17 +0300 Subject: [OT] "Invest in Gold Shares" Message-ID: <51C6C551.3060308@gmail.com> Not round here, mate! I just found the Spam filter (thank you, thank you, thank you Thunderbird e-mail client) of my g-mail account stuffed with 15 copies of a st-o-o-o-pid message about 'GOLD SHARES' and wondered if anybody else is getting the same sort of nonsense. I have been getting about 2 spam messages a day, but this "spam bombing" seems to be something new. Richmond. From pmbrig at gmail.com Sun Jun 23 07:04:30 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sun, 23 Jun 2013 07:04:30 -0400 Subject: old habits are hard to break In-Reply-To: <51C5F09F.7070807@fourthworld.com> References: <51C5F09F.7070807@fourthworld.com> Message-ID: <0B589D2A-C750-4BD0-9503-C7422D3A76EF@gmail.com> Got errors popping up "no such button" -- the button was referred to as "bg btn id 1" and it evidently referred to the popup button to choose the number of iterations, and its ID in the properties inspector was 4982. I found several other similar object references, then poked around a little more and got an error when I hit the "?" button "no such card" with hint "?" -- when I could see in the application browser that there was indeed a card named "?" and typing ' go card "?" ' in the message box gave the same error. At that point I thought the whole thing was very was weird and gave up. Just now I tried it again, and it does the benchmarking just fine with no errors at all, but now I'm mystified, because of all these object references with single and double digit IDs. I don't know how THAT works?. And I don't know why it acted so squirrelly before and it works fine now. However, I'm glad it works again, since it's a handy tool. I recommend it for anyone who wants to check out questions of coding efficiency. I did make one modification: the number of iterations listed in the popup button maxes at 100,000, and I added a 500,000 option. My guess, Richard, is that you originally made this in Hypercard, when processors were slower. But I'd sure like to know about this "bg btn id 1" business. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig Addendum: I suddenly remembered something and checked it out. The popup has been given an altID of 1, so referring to "bg btn id 1" is a valid and correct reference. But referring to "btn id 1" or even "btn id 4982" gives an error. So one mystery solved but another question: Why is the "bg btn" reference valid but not the straight "btn" reference? There is indeed a button id 4982, I can see it in the application browser, so why does it have to be referred to as "bg btn id 4982" or "bg btn id 1"? I thought that was a HC anachronism. PMB On Jun 22, 2013, at 2:44 PM, Richard Gaskin wrote: > Peter M. Brigham wrote: > > There is an old stack by Richard Gaskin, 4W_RevBench, that I have > > usually used for benchmarking but I just pulled it out and it is > > now acting very weird for me since I moved to LC 5.5... > > I'm out traveling so I don't have access to RevBench right now, but I'm curious what you mean by "weird" - errors, unexpected results, or something else? > > -- > Richard Gaskin > Fourth World Systems > ____________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Jun 23 07:23:38 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 23 Jun 2013 14:23:38 +0300 Subject: [OT] Kickstarter Goals Message-ID: <51C6DABA.8080409@gmail.com> http://www.roywood.co.uk/ and resemblance between Roy Wood's website and Livecode Kickstarter Goals and Stretch Goals is purely . . . . From alanstenhouse at hotmail.com Sun Jun 23 07:30:48 2013 From: alanstenhouse at hotmail.com (Alan Stenhouse) Date: Sun, 23 Jun 2013 13:30:48 +0200 Subject: iOS error: external revDB not found for device Message-ID: Hi all Am trying to build an app for iOS with LC 5.5.5 and get the error: Could not find external revdb for Device though I can see that it's in the application subfolder: /Tools/Runtime/iOS/Device/ I've successfully built the app with previous versions of LC. Has anyone else seen this error and is there a solution? (I've tried replacing the revDB file with that of an older version, which didn't seem to work). Thanks for any pointers! cheers Alan -- Alan Stenhouse alanstenhouse at hotmail.com Check out our apps on the App Store: BeatSpeak - the multilingual talking metronome; EV-Point - Find your nearest Electric Vehicle Recharge Station. From richmondmathewson at gmail.com Sun Jun 23 09:11:43 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 23 Jun 2013 16:11:43 +0300 Subject: Running LiveCode on Google Chrome Books Message-ID: <51C6F40F.2080500@gmail.com> Dunno . . . . . . but here's something worth looking at to get started with: http://chromeos-cr48.blogspot.com/2012/10/how-to-run-chrome-os-not-chromium-os-on.html I'm going to "have a go" after the other 57 things on my list! Richmond. From dave at businessplaninsight.com Sun Jun 23 09:51:51 2013 From: dave at businessplaninsight.com (Dave Kilroy2) Date: Sun, 23 Jun 2013 06:51:51 -0700 (PDT) Subject: Installer always downloads community version rather than commercial version In-Reply-To: References: Message-ID: <1371995511614-4666727.post@n4.nabble.com> No I haven't seen this behaviour - however the LiveCode updater hasn't been firing for me since version 6.0.0 -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Installer-always-downloads-community-version-rather-than-commercial-version-tp4666716p4666727.html Sent from the Revolution - User mailing list archive at Nabble.com. From MikeKerner at roadrunner.com Sun Jun 23 10:39:40 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 23 Jun 2013 10:39:40 -0400 Subject: Running LiveCode on Google Chrome Books In-Reply-To: <03DF16CA-3C29-4904-8B37-57B2CA8E94EC@azurevision.co.uk> References: <03DF16CA-3C29-4904-8B37-57B2CA8E94EC@azurevision.co.uk> Message-ID: You can't. Chromebooks are running Chromium, which is just enough OS to get you into a browser (and a very minimal file system). On Sat, Jun 22, 2013 at 11:55 AM, Ian Wood wrote: > I thought you could only run web apps on Chromebooks, not native code? > > Ian > > On 22 Jun 2013, at 16:48, Mark Rauterkus wrote: > > > Hi, > > > > Anyone have any insights on running a LiveCode standalone on Google > > Chromebooks? > > > > > > > > -- > > Ta. > > > > > > Mark Rauterkus Mark.Rauterkus at gmail.com > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at 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." From richmondmathewson at gmail.com Sun Jun 23 12:40:50 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 23 Jun 2013 19:40:50 +0300 Subject: Running LiveCode on Google Chrome Books In-Reply-To: References: <03DF16CA-3C29-4904-8B37-57B2CA8E94EC@azurevision.co.uk> Message-ID: <51C72512.1010302@gmail.com> On 06/23/2013 05:39 PM, Mike Kerner wrote: > You can't. Chromebooks are running Chromium, which is just enough OS to > get you into a browser (and a very minimal file system). > > I have just fired up Chromium in VMware player and can see that it is not really what I would call an operating system at all: 1. All it seems to consist of in a web-browser and access to a Google storage space somewhere in "the cloud". 2. Because of this there is no 'Home' directory and nowhere to install LC 6. This is worse than those horrible internet kiosk things they have in airports; I really cannot quite see what the advantage of this would be over a conventional OS. Oh, well, wasted 30 minutes of my Sunday: going outside to shout ??????? and ??????? ??????? in the streets in the wild hope that the BBC and CNN might actually notice that there has already been 10 days of significant political protests in Bulgaria: the fact that they haven't mentioned them is odd - well, not in the case of the BBC, which as the mouthpiece of British Government policy will keep quiet as it is in the interests of the GB government to have a bent government in the Balkans to criticise so GB citizens don't (as if they ever do) look to closely at the bent system in place there. Richmond. From roger.e.eller at sealedair.com Sun Jun 23 13:05:32 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 23 Jun 2013 13:05:32 -0400 Subject: Running LiveCode on Google Chrome Books In-Reply-To: <51C72512.1010302@gmail.com> References: <03DF16CA-3C29-4904-8B37-57B2CA8E94EC@azurevision.co.uk> <51C72512.1010302@gmail.com> Message-ID: Perhaps when we have an Arm version of LiveCode. It looks like a 'true' OS can be installed on Chrome book hardware. See ChrUbuntu. http://chromeos-cr48.blogspot.com� ~Roger Sent from my Pipo M2 On Jun 23, 2013 12:41 PM, "Richmond" wrote: > On 06/23/2013 05:39 PM, Mike Kerner wrote: > >> You can't. Chromebooks are running Chromium, which is just enough OS to >> get you into a browser (and a very minimal file system). >> >> >> > I have just fired up Chromium in VMware player and can see that it is not > really > what I would call an operating system at all: > > 1. All it seems to consist of in a web-browser and access to a Google > storage space > somewhere in "the cloud". > > 2. Because of this there is no 'Home' directory and nowhere to install LC > 6. > > This is worse than those horrible internet kiosk things they have in > airports; I really > cannot quite see what the advantage of this would be over a conventional > OS. > > Oh, well, wasted 30 minutes of my Sunday: going outside to shout ??????? > and > ??????? ??????? in the streets in the wild hope that the BBC and CNN might > actually > notice that there has already been 10 days of significant political > protests in Bulgaria: > the fact that they haven't mentioned them is odd - well, not in the case > of the BBC, > which as the mouthpiece of British Government policy will keep quiet as it > is in the > interests of the GB government to have a bent government in the Balkans to > criticise > so GB citizens don't (as if they ever do) look to closely at the bent > system in place there. > > Richmond. > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Sun Jun 23 13:09:44 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 23 Jun 2013 13:09:44 -0400 Subject: Running LiveCode on Google Chrome Books In-Reply-To: <51C72512.1010302@gmail.com> References: <03DF16CA-3C29-4904-8B37-57B2CA8E94EC@azurevision.co.uk> <51C72512.1010302@gmail.com> Message-ID: The new units also have a certain amount of local storage for using with Google Drive. The chromebook is designed mainly to be a lightweight, fast, cheap, high-battery life machine for running HTML5. The main weakness, IMHO, is that it is about 5 years late because ipads and android tablets are far more appealing at around the same money. On Sun, Jun 23, 2013 at 12:40 PM, Richmond wrote: > On 06/23/2013 05:39 PM, Mike Kerner wrote: > >> You can't. Chromebooks are running Chromium, which is just enough OS to >> get you into a browser (and a very minimal file system). >> >> >> > I have just fired up Chromium in VMware player and can see that it is not > really > what I would call an operating system at all: > > 1. All it seems to consist of in a web-browser and access to a Google > storage space > somewhere in "the cloud". > > 2. Because of this there is no 'Home' directory and nowhere to install LC > 6. > > This is worse than those horrible internet kiosk things they have in > airports; I really > cannot quite see what the advantage of this would be over a conventional > OS. > > Oh, well, wasted 30 minutes of my Sunday: going outside to shout ??????? > and > ??????? ??????? in the streets in the wild hope that the BBC and CNN might > actually > notice that there has already been 10 days of significant political > protests in Bulgaria: > the fact that they haven't mentioned them is odd - well, not in the case > of the BBC, > which as the mouthpiece of British Government policy will keep quiet as it > is in the > interests of the GB government to have a bent government in the Balkans to > criticise > so GB citizens don't (as if they ever do) look to closely at the bent > system in place there. > > Richmond. > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at 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." From richmondmathewson at gmail.com Sun Jun 23 15:03:12 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 23 Jun 2013 22:03:12 +0300 Subject: 6.1 dp2 out now Message-ID: <51C74670.9010602@gmail.com> http://downloads.livecode.com/livecode/6_1_0/ Richmond. From richmondmathewson at gmail.com Sun Jun 23 15:26:43 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 23 Jun 2013 22:26:43 +0300 Subject: 6.1 dp2 out now In-Reply-To: <51C74670.9010602@gmail.com> References: <51C74670.9010602@gmail.com> Message-ID: <51C74BF3.9070102@gmail.com> On 06/23/2013 10:03 PM, Richmond wrote: > http://downloads.livecode.com/livecode/6_1_0/ > > Richmond. To which; having downloaded the Linux version of LC 6.1 dp 2 and attempted an install we get a "merry little message": "The installation was not successful. "Installer slave quit unexpectedly. Now, I discovered about this update via LC 6.1 dp1, but declined the offer to upgrade via the IDE . . . . . . now, for some odd reason, I cannot upgrade via the IDE. This is, of course, a crock of sh*t for anyone wanting to install the thing independently. ----------------------------------- Aah . . . the thing would not install because it was NOT on the disk on which the partitions on which my OS reside: once copied to my "Home" folder, everything went along very smoothly. Hey, Waddhya-know, NO online reg. anymore. Big Improvement. ------------------------------------ That is still "not very good" that the thing wouldn't play ball from another disk. That should be pointed out to Linux users. ------------------------------------ Right fire up the Mac and give it a whirl: No problems there; phew! Richmond. Richmond. From mwieder at ahsoftware.net Sun Jun 23 15:53:50 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 23 Jun 2013 12:53:50 -0700 Subject: 6.1 dp2 out now In-Reply-To: <51C74BF3.9070102@gmail.com> References: <51C74670.9010602@gmail.com> <51C74BF3.9070102@gmail.com> Message-ID: <129534988896.20130623125350@ahsoftware.net> Richmond- Sunday, June 23, 2013, 12:26:43 PM, you wrote: > That is still "not very good" that the thing wouldn't play ball from > another disk. > That should be pointed out to Linux users. Well, one of the problems with expanding the audience of the dp releases is that people will install them. And then expect that they "just work". The dp stands for "developer preview". There may be experimental adjustments, there may be attempted bugfixes, there may be new features which may or may not work... the dp releases aren't supposed to be drop-in replacements for released versions or for developing production code. They're more in the line of "here's the latest stuff from the lab, let us know what breaks so that we can fix it" builds. ...and yes, the linux installer needs a lot of work. -- -Mark Wieder mwieder at ahsoftware.net From monte at sweattechnologies.com Sun Jun 23 18:05:33 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 24 Jun 2013 08:05:33 +1000 Subject: Monte's changing things again Message-ID: <9717597B-CFC4-47C5-AB4E-525EC3B13012@sweattechnologies.com> I've identified another couple of quirks while working on the properties array that might need addressing in various ways. The first is setting an image's filename to empty when it's not a referenced image clears the image.. As it would currently return empty for the filename setting it to empty should have no effect in my opinion. This would be consistent with the way colors and patterns behave. The same issue for text of an image. The second is the short name if the name isn't set returns the abbrev id. If your applying the properties to another object you could end up with an object named "button id 1003" when it's actual id is 1004... I'm guessing to actually change the short name property to return empty instead would upset some folks so I'm proposing that the properties "name" element returns empty in this case... It's worth pointing out though that this will throw an error on the second line if the name is empty: put the short name of button 1 into X put the icon of button X Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From mwieder at ahsoftware.net Sun Jun 23 18:15:51 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 23 Jun 2013 15:15:51 -0700 Subject: Monte's changing things again In-Reply-To: <9717597B-CFC4-47C5-AB4E-525EC3B13012@sweattechnologies.com> References: <9717597B-CFC4-47C5-AB4E-525EC3B13012@sweattechnologies.com> Message-ID: <137543510133.20130623151551@ahsoftware.net> Monte- Sunday, June 23, 2013, 3:05:33 PM, you wrote: > The first is setting an image's filename to empty when it's not a > referenced image clears the image.. As it would currently return > empty for the filename setting it to empty should have no effect in > my opinion. This would be consistent with the way colors and > patterns behave. The same issue for text of an image. To put that into perspective: create a new stack import an image set the filename of it to empty The image itself is now empty That just seems wrong to me. -- -Mark Wieder mwieder at ahsoftware.net From sc at sahores-conseil.com Sun Jun 23 18:24:57 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Mon, 24 Jun 2013 00:24:57 +0200 Subject: Monte's changing things again In-Reply-To: <137543510133.20130623151551@ahsoftware.net> References: <9717597B-CFC4-47C5-AB4E-525EC3B13012@sweattechnologies.com> <137543510133.20130623151551@ahsoftware.net> Message-ID: <80DCBD1F-B7C3-4551-8001-02AF17E9D4E0@sahores-conseil.com> Mark, I use this as an useful feature all the time when i need to load and work on an image and its magedata in putting it first in (the template of) the pre definite empty image. Le 24 juin 2013 ? 00:15, Mark Wieder a ?crit : > To put that into perspective: > > create a new stack > import an image > set the filename of it to empty > The image itself is now empty > > That just seems wrong to me. > > -- > -Mark Wieder > mwieder at ahsoftware.net -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From jacques.hausser at unil.ch Sun Jun 23 19:03:01 2013 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Mon, 24 Jun 2013 01:03:01 +0200 Subject: Monte's changing things again In-Reply-To: <80DCBD1F-B7C3-4551-8001-02AF17E9D4E0@sahores-conseil.com> References: <9717597B-CFC4-47C5-AB4E-525EC3B13012@sweattechnologies.com> <137543510133.20130623151551@ahsoftware.net> <80DCBD1F-B7C3-4551-8001-02AF17E9D4E0@sahores-conseil.com> Message-ID: <6D8F0921-BA68-4287-A8F3-D18E9F4DDD66@unil.ch> As long as emptying the filename of a *referenced* image actually clears the imagedata, I would agree with Mark and Monte. When the filename is already empty, the image was imported and emptying it should do absolutely nothing. They are other ways to clear it (set the text of image "X" to ""). Jacques Le 24 juin 2013 ? 00:24, Pierre Sahores a ?crit : > Mark, > > I use this as an useful feature all the time when i need to load and work on an image and its magedata in putting it first in (the template of) the pre definite empty image. > > Le 24 juin 2013 ? 00:15, Mark Wieder a ?crit : > >> To put that into perspective: >> >> create a new stack >> import an image >> set the filename of it to empty >> The image itself is now empty >> >> That just seems wrong to me. >> >> -- >> -Mark Wieder >> mwieder at ahsoftware.net > > -- > Pierre Sahores > mobile : 06 03 95 77 70 > www.sahores-conseil.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From monte at sweattechnologies.com Sun Jun 23 19:08:04 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 24 Jun 2013 09:08:04 +1000 Subject: Monte's changing things again In-Reply-To: <80DCBD1F-B7C3-4551-8001-02AF17E9D4E0@sahores-conseil.com> References: <9717597B-CFC4-47C5-AB4E-525EC3B13012@sweattechnologies.com> <137543510133.20130623151551@ahsoftware.net> <80DCBD1F-B7C3-4551-8001-02AF17E9D4E0@sahores-conseil.com> Message-ID: <959CAE8E-406D-49D1-89FD-64D9668A1A24@sweattechnologies.com> From your description I'm not sure how you are using setting the filename of an image to empty clearing it as a feature. Note that if you have an imported image then setting its text should clear it. If you have a referenced image then setting its filename should clear it. The quirk is that if you have a referenced image and set the filename to empty then it currently clears it. -- M E R Goulding Software development services mergExt - There's an external for that! On 24/06/2013, at 8:24 AM, Pierre Sahores wrote: > I use this as an useful feature all the time when i need to load and work on an image and its magedata in putting it first in (the template of) the pre definite empty image. From monte at sweattechnologies.com Sun Jun 23 19:08:57 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 24 Jun 2013 09:08:57 +1000 Subject: Monte's changing things again In-Reply-To: <6D8F0921-BA68-4287-A8F3-D18E9F4DDD66@unil.ch> References: <9717597B-CFC4-47C5-AB4E-525EC3B13012@sweattechnologies.com> <137543510133.20130623151551@ahsoftware.net> <80DCBD1F-B7C3-4551-8001-02AF17E9D4E0@sahores-conseil.com> <6D8F0921-BA68-4287-A8F3-D18E9F4DDD66@unil.ch> Message-ID: Exactly my thoughts. -- M E R Goulding Software development services mergExt - There's an external for that! On 24/06/2013, at 9:03 AM, Jacques Hausser wrote: > When the filename is already empty, the image was imported and emptying it should do absolutely nothing. They are other ways to clear it (set the text of image "X" to ""). From jacque at hyperactivesw.com Sun Jun 23 19:36:17 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 23 Jun 2013 18:36:17 -0500 Subject: Monte's changing things again In-Reply-To: <137543510133.20130623151551@ahsoftware.net> References: <9717597B-CFC4-47C5-AB4E-525EC3B13012@sweattechnologies.com> <137543510133.20130623151551@ahsoftware.net> Message-ID: <51C78671.2040202@hyperactivesw.com> On 6/23/13 5:15 PM, Mark Wieder wrote: > Monte- > > Sunday, June 23, 2013, 3:05:33 PM, you wrote: > >> The first is setting an image's filename to empty when it's not a >> referenced image clears the image.. As it would currently return >> empty for the filename setting it to empty should have no effect in >> my opinion. This would be consistent with the way colors and >> patterns behave. The same issue for text of an image. > > To put that into perspective: > > create a new stack > import an image > set the filename of it to empty > The image itself is now empty > > That just seems wrong to me. > Yeah. Wrong. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Sun Jun 23 20:01:59 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 23 Jun 2013 17:01:59 -0700 Subject: Monte's changing things again Message-ID: <057g2h3opte8oo4va4bwsn1u.1372032119715@email.android.com> Although one *could* look at this scenario?as simply trying to set the filename of the image, but in this case, the filename happens to be empty. ?If you couldn't set the filename of any image, what would you suggest? Having 2 types of images? ?Or disallow the filename property for imported images? ?That doesn't seem so great either. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design -------- Original message -------- Subject: Re: Monte's changing things again From: "J. Landman Gay" To: How to use LiveCode CC: On 6/23/13 5:15 PM, Mark Wieder wrote: > Monte- > > Sunday, June 23, 2013, 3:05:33 PM, you wrote: > >> The first is setting an image's filename to empty when it's not a >> referenced image clears the image.. As it would currently return >> empty for the filename setting it to empty should have no effect in >> my opinion. This would be consistent with the way colors and >> patterns behave. The same issue for text of an image. > > To put that into perspective: > > create a new stack > import an image > set the filename of it to empty > The image itself is now empty > > That just seems wrong to me. > Yeah. Wrong. -- Jacqueline Landman Gay???????? |???? jacque at hyperactivesw.com HyperActive Software?????????? |???? http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Sun Jun 23 20:17:51 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 24 Jun 2013 10:17:51 +1000 Subject: Monte's changing things again In-Reply-To: <057g2h3opte8oo4va4bwsn1u.1372032119715@email.android.com> References: <057g2h3opte8oo4va4bwsn1u.1372032119715@email.android.com> Message-ID: <9A6EAA9F-565E-414F-9C69-F2019F3E50E2@sweattechnologies.com> On 24/06/2013, at 10:01 AM, Scott Rossi wrote: > Although one *could* look at this scenario as simply trying to set the filename of the image, but in this case, the filename happens to be empty. If you couldn't set the filename of any image, what would you suggest? Having 2 types of images? Or disallow the filename property for imported images? That doesn't seem so great either. Basically I think it should behave the same as color and pattern. Create a button give it a backPattern set it's backColor to empty It keeps it's backPattern set it's backColor to black The backPattern is now empty and the backColor is now black So the same for filename... setting an imported image's filename should continue to work if you are setting it to a non-empty value. If you are setting it to empty it shouldn't do anything because the property is already empty... So if you want to clear an imported image you set the text to empty... if you want to clear a referenced image then you set the filename to empty... That's my thoughts anyway, I could work around this just in the properties array setprop but I think the inconsistency between how color/pattern behaves and filename/text behaves should be addressed. Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From jacques.hausser at unil.ch Sun Jun 23 20:12:14 2013 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Mon, 24 Jun 2013 02:12:14 +0200 Subject: Monte's changing things again In-Reply-To: <057g2h3opte8oo4va4bwsn1u.1372032119715@email.android.com> References: <057g2h3opte8oo4va4bwsn1u.1372032119715@email.android.com> Message-ID: <091B78F8-4B7A-4FEE-8BCE-BE9A07993078@unil.ch> Le 24 juin 2013 ? 02:01, Scott Rossi a ?crit : > Although one *could* look at this scenario as simply trying to set the filename of the image, but in this case, the filename happens to be empty. If you couldn't set the filename of any image, what would you suggest? Having 2 types of images? Or disallow the filename property for imported images? That doesn't seem so great either. Neither. Just not "overkilling" by emptying a property which is already empty. Jacques > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > -------- Original message -------- > Subject: Re: Monte's changing things again > From: "J. Landman Gay" > To: How to use LiveCode > CC: > > On 6/23/13 5:15 PM, Mark Wieder wrote: >> Monte- >> >> Sunday, June 23, 2013, 3:05:33 PM, you wrote: >> >>> The first is setting an image's filename to empty when it's not a >>> referenced image clears the image.. As it would currently return >>> empty for the filename setting it to empty should have no effect in >>> my opinion. This would be consistent with the way colors and >>> patterns behave. The same issue for text of an image. >> >> To put that into perspective: >> >> create a new stack >> import an image >> set the filename of it to empty >> The image itself is now empty >> >> That just seems wrong to me. >> > > Yeah. Wrong. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From john at onechip.com Sun Jun 23 22:20:27 2013 From: john at onechip.com (John) Date: Sun, 23 Jun 2013 19:20:27 -0700 Subject: Small valued numbers or scientific computing In-Reply-To: <4CF38810-F948-4DA0-8DE5-D6E62EFAF7C8@comcast.net> References: <4CF38810-F948-4DA0-8DE5-D6E62EFAF7C8@comcast.net> Message-ID: <06255538-A0E2-49E5-82ED-4C1B72C80639@onechip.com> It seems odd that I haven't stumbled into this before and I am sure I am doing something wrong, I just can't seem to find a better way around the issue of working with small numbers. Suppose I want to multiply two small numbers such as: 1.23456e-41 * 1e-20. Unless I am happy with a result of 0, I have to use a really odd numberFormat statement such as: set the numberformat to "0.##########...############" where " ?" represents sixty or so '#' This seems really odd. Surely there is a better way to do this. Can someone help? Thanks, John From bonnmike at gmail.com Sun Jun 23 22:31:11 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 23 Jun 2013 20:31:11 -0600 Subject: Small valued numbers or scientific computing In-Reply-To: <06255538-A0E2-49E5-82ED-4C1B72C80639@onechip.com> References: <4CF38810-F948-4DA0-8DE5-D6E62EFAF7C8@comcast.net> <06255538-A0E2-49E5-82ED-4C1B72C80639@onechip.com> Message-ID: look at the format function, specifically the "%#.##E" (or e) incantation. On Sun, Jun 23, 2013 at 8:20 PM, John wrote: > It seems odd that I haven't stumbled into this before and I am sure I > am doing something wrong, I just can't seem to find a better way around the > issue of working with small numbers. > > Suppose I want to multiply two small numbers such as: 1.23456e-41 * > 1e-20. Unless I am happy with a result of 0, I have to use a really odd > numberFormat statement such as: > > set the numberformat to "0.##########...############" where " ?" > represents sixty or so '#' > > This seems really odd. Surely there is a better way to do this. Can > someone help? > > Thanks, > John > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dunbarx at aol.com Sun Jun 23 22:35:55 2013 From: dunbarx at aol.com (Craig Newman) Date: Sun, 23 Jun 2013 22:35:55 -0400 Subject: Small valued numbers or scientific computing In-Reply-To: <06255538-A0E2-49E5-82ED-4C1B72C80639@onechip.com> References: <4CF38810-F948-4DA0-8DE5-D6E62EFAF7C8@comcast.net> <06255538-A0E2-49E5-82ED-4C1B72C80639@onechip.com> Message-ID: I may be old fashioned, in that I always thought that the Apple SANE limits, 19 digits, was still the law of the land. This is OS9 stuff, though and I could just be doddering. But it would mean that setting the number format to such an outrageous string would be futile, most of that string ignored by the OS. But I could be wrong. Craig Newman Sent from my iPhone On Jun 23, 2013, at 10:20 PM, John wrote: > It seems odd that I haven't stumbled into this before and I am sure I am doing something wrong, I just can't seem to find a better way around the issue of working with small numbers. > > Suppose I want to multiply two small numbers such as: 1.23456e-41 * 1e-20. Unless I am happy with a result of 0, I have to use a really odd numberFormat statement such as: > > set the numberformat to "0.##########...############" where " ?" represents sixty or so '#' > > This seems really odd. Surely there is a better way to do this. Can someone help? > > Thanks, > John > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From john at onechip.com Sun Jun 23 22:42:22 2013 From: john at onechip.com (John) Date: Sun, 23 Jun 2013 19:42:22 -0700 Subject: Small valued numbers or scientific computing In-Reply-To: References: <4CF38810-F948-4DA0-8DE5-D6E62EFAF7C8@comcast.net> <06255538-A0E2-49E5-82ED-4C1B72C80639@onechip.com> Message-ID: <7FCEBDE0-8595-4FD4-A7F6-93CB9B314740@onechip.com> Mike, Thanks for the tip. I am using "format" for display purposes so that I get correctly formatted numbers but, unless I use "numberFormat" first, there is not enough precision available from the result of the multiplication and the result is 0. It appears that "numberFormat" sets the number of decimal places LC uses to do the math and "Format" formats the results for display. Any other thoughts? Thanks, John On Jun 23, 2013, at 7:31 PM, Mike Bonner wrote: > look at the format function, specifically the "%#.##E" (or e) incantation. > > > On Sun, Jun 23, 2013 at 8:20 PM, John wrote: > >> It seems odd that I haven't stumbled into this before and I am sure I >> am doing something wrong, I just can't seem to find a better way around the >> issue of working with small numbers. >> >> Suppose I want to multiply two small numbers such as: 1.23456e-41 * >> 1e-20. Unless I am happy with a result of 0, I have to use a really odd >> numberFormat statement such as: >> >> set the numberformat to "0.##########...############" where " ?" >> represents sixty or so '#' >> >> This seems really odd. Surely there is a better way to do this. Can >> someone help? >> >> Thanks, >> John >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From john at onechip.com Sun Jun 23 22:46:06 2013 From: john at onechip.com (John) Date: Sun, 23 Jun 2013 19:46:06 -0700 Subject: Small valued numbers or scientific computing In-Reply-To: References: <4CF38810-F948-4DA0-8DE5-D6E62EFAF7C8@comcast.net> <06255538-A0E2-49E5-82ED-4C1B72C80639@onechip.com> Message-ID: <908688FC-E57A-45C9-A64C-95C613252EC6@onechip.com> Craig, With an insanely large number of "#" in number format I can get this to work: 1234567890123e-10 * 1e-170. I get the result: 1.2345678901230e-168. It appears that there is a bit more going on as they are floating point values. Thanks, John On Jun 23, 2013, at 7:35 PM, Craig Newman wrote: > I may be old fashioned, in that I always thought that the Apple SANE limits, 19 digits, was still the law of the land. This is OS9 stuff, though and I could just be doddering. But it would mean that setting the number format to such an outrageous string would be futile, most of that string ignored by the OS. But I could be wrong. > > Craig Newman > > Sent from my iPhone > > On Jun 23, 2013, at 10:20 PM, John wrote: > >> It seems odd that I haven't stumbled into this before and I am sure I am doing something wrong, I just can't seem to find a better way around the issue of working with small numbers. >> >> Suppose I want to multiply two small numbers such as: 1.23456e-41 * 1e-20. Unless I am happy with a result of 0, I have to use a really odd numberFormat statement such as: >> >> set the numberformat to "0.##########...############" where " ?" represents sixty or so '#' >> >> This seems really odd. Surely there is a better way to do this. Can someone help? >> >> Thanks, >> John >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Sun Jun 23 22:48:42 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 23 Jun 2013 20:48:42 -0600 Subject: Small valued numbers or scientific computing In-Reply-To: <7FCEBDE0-8595-4FD4-A7F6-93CB9B314740@onechip.com> References: <4CF38810-F948-4DA0-8DE5-D6E62EFAF7C8@comcast.net> <06255538-A0E2-49E5-82ED-4C1B72C80639@onechip.com> <7FCEBDE0-8595-4FD4-A7F6-93CB9B314740@onechip.com> Message-ID: Hmm. was just messing with it in the message box.. I'm not a math guy, but seems that when using format you shouldn't need to specify the numberformat. I did this.. put format("%1.60e",1.23456e-41 * 1e-20) where 60 is the desired precision. Seems to work, same type of result but you specify the precision in the format string rather than having to type 60 # (or however many you need)... Just changed it based on your most recent mail that popped in. Used: put format("%1.60e",1234567890123e-10 * 1e-170) message box shows (precision 60) 1.234567890123000166120503829534102198735876903021159008931759e-168 (of course just popping it into the message box but still) On Sun, Jun 23, 2013 at 8:42 PM, John wrote: > Mike, > > Thanks for the tip. I am using "format" for display purposes so that I > get correctly formatted numbers but, unless I use "numberFormat" first, > there is not enough precision available from the result of the > multiplication and the result is 0. > > It appears that "numberFormat" sets the number of decimal places LC > uses to do the math and "Format" formats the results for display. > > Any other thoughts? > > Thanks, > John > > > > > On Jun 23, 2013, at 7:31 PM, Mike Bonner wrote: > > > look at the format function, specifically the "%#.##E" (or e) > incantation. > > > > > > On Sun, Jun 23, 2013 at 8:20 PM, John wrote: > > > >> It seems odd that I haven't stumbled into this before and I am sure I > >> am doing something wrong, I just can't seem to find a better way around > the > >> issue of working with small numbers. > >> > >> Suppose I want to multiply two small numbers such as: 1.23456e-41 * > >> 1e-20. Unless I am happy with a result of 0, I have to use a really odd > >> numberFormat statement such as: > >> > >> set the numberformat to "0.##########...############" where " ?" > >> represents sixty or so '#' > >> > >> This seems really odd. Surely there is a better way to do this. Can > >> someone help? > >> > >> Thanks, > >> John > >> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From john at onechip.com Sun Jun 23 23:15:24 2013 From: john at onechip.com (John) Date: Sun, 23 Jun 2013 20:15:24 -0700 Subject: Small valued numbers or scientific computing In-Reply-To: References: <4CF38810-F948-4DA0-8DE5-D6E62EFAF7C8@comcast.net> <06255538-A0E2-49E5-82ED-4C1B72C80639@onechip.com> <7FCEBDE0-8595-4FD4-A7F6-93CB9B314740@onechip.com> Message-ID: Mike, I need to dig a bit deeper and perhaps make a test app. The issue could be a bit more complicated in my case as the math is happening behind a "do" statement. There is field in which the user enters what they want to calculate. I take that and add a "put" and an "into" targeting a destination field where the answer goes. The now, correctly formatted liveCode, is executed with a "do" statement. It appears that using a "do" changes things. The same thing seems to happen in the message box. If I enter "put (1234567890123e-10 * 1e-170)" into the message box, I get a result of 0 while "put (1234567890123 * 1)" gives the expected 1234567890123. I need the ability to handle function calls (like cos) and save values to variables from the users entry. Perhaps I can manage to cleverly use the format statement in all of this but it might just be simpler to have the really odd, really long, numberFormat statement since it works. Thanks for the input, I appreciate the help. John On Jun 23, 2013, at 7:48 PM, Mike Bonner wrote: > Hmm. was just messing with it in the message box.. I'm not a math guy, but > seems that when using format you shouldn't need to specify the numberformat. > > I did this.. put format("%1.60e",1.23456e-41 * 1e-20) where 60 is the > desired precision. Seems to work, same type of result but you specify the > precision in the format string rather than having to type 60 # (or however > many you need)... > > Just changed it based on your most recent mail that popped in. Used: put > format("%1.60e",1234567890123e-10 * 1e-170) > message box shows (precision 60) > 1.234567890123000166120503829534102198735876903021159008931759e-168 > > (of course just popping it into the message box but still) > > > > On Sun, Jun 23, 2013 at 8:42 PM, John wrote: > >> Mike, >> >> Thanks for the tip. I am using "format" for display purposes so that I >> get correctly formatted numbers but, unless I use "numberFormat" first, >> there is not enough precision available from the result of the >> multiplication and the result is 0. >> >> It appears that "numberFormat" sets the number of decimal places LC >> uses to do the math and "Format" formats the results for display. >> >> Any other thoughts? >> >> Thanks, >> John >> >> >> >> >> On Jun 23, 2013, at 7:31 PM, Mike Bonner wrote: >> >>> look at the format function, specifically the "%#.##E" (or e) >> incantation. >>> >>> >>> On Sun, Jun 23, 2013 at 8:20 PM, John wrote: >>> >>>> It seems odd that I haven't stumbled into this before and I am sure I >>>> am doing something wrong, I just can't seem to find a better way around >> the >>>> issue of working with small numbers. >>>> >>>> Suppose I want to multiply two small numbers such as: 1.23456e-41 * >>>> 1e-20. Unless I am happy with a result of 0, I have to use a really odd >>>> numberFormat statement such as: >>>> >>>> set the numberformat to "0.##########...############" where " ?" >>>> represents sixty or so '#' >>>> >>>> This seems really odd. Surely there is a better way to do this. Can >>>> someone help? >>>> >>>> Thanks, >>>> John >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Sun Jun 23 23:34:19 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 23 Jun 2013 21:34:19 -0600 Subject: Small valued numbers or scientific computing In-Reply-To: References: <4CF38810-F948-4DA0-8DE5-D6E62EFAF7C8@comcast.net> <06255538-A0E2-49E5-82ED-4C1B72C80639@onechip.com> <7FCEBDE0-8595-4FD4-A7F6-93CB9B314740@onechip.com> Message-ID: Not sure it will work as you need it too, but one last test before I crash. I put a calc into a field and did this: *put* format("%1.60e",value(field 1)) Bipassing do, and it seems to function well enough. Would have to wrap it in a try/catch or something since you can't count on the user putting in things perfectly, but it might be a way. On Sun, Jun 23, 2013 at 9:15 PM, John wrote: > Mike, > > I need to dig a bit deeper and perhaps make a test app. The issue > could be a bit more complicated in my case as the math is happening behind > a "do" statement. > > There is field in which the user enters what they want to calculate. I > take that and add a "put" and an "into" targeting a destination field where > the answer goes. The now, correctly formatted liveCode, is executed with a > "do" statement. It appears that using a "do" changes things. > > The same thing seems to happen in the message box. If I enter "put > (1234567890123e-10 * 1e-170)" into the message box, I get a result of 0 > while "put (1234567890123 * 1)" gives the expected 1234567890123. > > I need the ability to handle function calls (like cos) and save values > to variables from the users entry. Perhaps I can manage to cleverly use the > format statement in all of this but it might just be simpler to have the > really odd, really long, numberFormat statement since it works. > > Thanks for the input, I appreciate the help. > > John > > > On Jun 23, 2013, at 7:48 PM, Mike Bonner wrote: > > > Hmm. was just messing with it in the message box.. I'm not a math guy, > but > > seems that when using format you shouldn't need to specify the > numberformat. > > > > I did this.. put format("%1.60e",1.23456e-41 * 1e-20) where 60 is the > > desired precision. Seems to work, same type of result but you specify > the > > precision in the format string rather than having to type 60 # (or > however > > many you need)... > > > > Just changed it based on your most recent mail that popped in. Used: put > > format("%1.60e",1234567890123e-10 * 1e-170) > > message box shows (precision 60) > > 1.234567890123000166120503829534102198735876903021159008931759e-168 > > > > (of course just popping it into the message box but still) > > > > > > > > On Sun, Jun 23, 2013 at 8:42 PM, John wrote: > > > >> Mike, > >> > >> Thanks for the tip. I am using "format" for display purposes so that > I > >> get correctly formatted numbers but, unless I use "numberFormat" first, > >> there is not enough precision available from the result of the > >> multiplication and the result is 0. > >> > >> It appears that "numberFormat" sets the number of decimal places LC > >> uses to do the math and "Format" formats the results for display. > >> > >> Any other thoughts? > >> > >> Thanks, > >> John > >> > >> > >> > >> > >> On Jun 23, 2013, at 7:31 PM, Mike Bonner wrote: > >> > >>> look at the format function, specifically the "%#.##E" (or e) > >> incantation. > >>> > >>> > >>> On Sun, Jun 23, 2013 at 8:20 PM, John wrote: > >>> > >>>> It seems odd that I haven't stumbled into this before and I am sure I > >>>> am doing something wrong, I just can't seem to find a better way > around > >> the > >>>> issue of working with small numbers. > >>>> > >>>> Suppose I want to multiply two small numbers such as: 1.23456e-41 * > >>>> 1e-20. Unless I am happy with a result of 0, I have to use a really > odd > >>>> numberFormat statement such as: > >>>> > >>>> set the numberformat to "0.##########...############" where " ?" > >>>> represents sixty or so '#' > >>>> > >>>> This seems really odd. Surely there is a better way to do this. Can > >>>> someone help? > >>>> > >>>> Thanks, > >>>> John > >>>> > >>>> > >>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Mon Jun 24 00:41:06 2013 From: dsc at swcp.com (Dar Scott) Date: Sun, 23 Jun 2013 22:41:06 -0600 Subject: Small valued numbers or scientific computing In-Reply-To: <06255538-A0E2-49E5-82ED-4C1B72C80639@onechip.com> References: <4CF38810-F948-4DA0-8DE5-D6E62EFAF7C8@comcast.net> <06255538-A0E2-49E5-82ED-4C1B72C80639@onechip.com> Message-ID: <913B686D-FDB8-43B0-817B-30D74DD5E0B3@swcp.com> Arithmetic takes (for each parameter) either a string that is a numeral or it takes the result of arithmetic (or sometimes binaryDecode). The result of arithmetic is a "double precision" floating point number, an internal representation. That essentially means you get about 15 digits of resolution in scientific notation with an exponent of about + or - 300. The internal form is mostly hidden. Thus, you can use the result of arithmetic in other arithmetic. You can get double in and double out. All of that (about) 15 digits of resolution is there. When you do something that needs a string, the value is converted to a string based on numberformat. The process loses information. If you do more arithmetic on the result after that, the string--that is, the numeral, possibly zero if all significant digits were lost--is converted to floating point and the arithmetic uses that. That can be a handy way to round a number, though round() is more explicit. So with a default numberFormat ... get ( (1e-20 * 2e-30) & empty) * 1 ...results in exactly zero. The & forces a loss of information, it essentially rounds. There was a time that 'send' would force the use of numberFormat. Perhaps there are other surprising times still lurking. Dar On Jun 23, 2013, at 8:20 PM, John wrote: > It seems odd that I haven't stumbled into this before and I am sure I am doing something wrong, I just can't seem to find a better way around the issue of working with small numbers. > > Suppose I want to multiply two small numbers such as: 1.23456e-41 * 1e-20. Unless I am happy with a result of 0, I have to use a really odd numberFormat statement such as: > > set the numberformat to "0.##########...############" where " ?" represents sixty or so '#' > > This seems really odd. Surely there is a better way to do this. Can someone help? > > Thanks, > John > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From john at onechip.com Mon Jun 24 00:53:42 2013 From: john at onechip.com (John) Date: Sun, 23 Jun 2013 21:53:42 -0700 Subject: Small valued numbers or scientific computing In-Reply-To: <913B686D-FDB8-43B0-817B-30D74DD5E0B3@swcp.com> References: <4CF38810-F948-4DA0-8DE5-D6E62EFAF7C8@comcast.net> <06255538-A0E2-49E5-82ED-4C1B72C80639@onechip.com> <913B686D-FDB8-43B0-817B-30D74DD5E0B3@swcp.com> Message-ID: LC has a lot of "moving part" going on behind the scenes and much of it is not immediately obvious. I can definitely say this list is a great resource and between the suggestions, the clarifications, and my somewhat kludgy work around I have a path forward. Thanks, John From richmondmathewson at gmail.com Mon Jun 24 02:36:49 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 24 Jun 2013 09:36:49 +0300 Subject: 6.1 dp2 out now In-Reply-To: <129534988896.20130623125350@ahsoftware.net> References: <51C74670.9010602@gmail.com> <51C74BF3.9070102@gmail.com> <129534988896.20130623125350@ahsoftware.net> Message-ID: <51C7E901.7020000@gmail.com> On 23/06/13 22:53, Mark Wieder wrote: > Richmond- > > Sunday, June 23, 2013, 12:26:43 PM, you wrote: > >> That is still "not very good" that the thing wouldn't play ball from >> another disk. >> That should be pointed out to Linux users. > Well, one of the problems with expanding the audience of the dp > releases is that people will install them. And then expect that they > "just work". The dp stands for "developer preview". There may be > experimental adjustments, there may be attempted bugfixes, there may > be new features which may or may not work... the dp releases aren't > supposed to be drop-in replacements for released versions or for > developing production code. They're more in the line of "here's the > latest stuff from the lab, let us know what breaks so that we can fix > it" builds. > > ...and yes, the linux installer needs a lot of work. > Still no Dock icon on G3 iMac running Mac OS 10.4.11 From roger.e.eller at sealedair.com Mon Jun 24 09:56:25 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 24 Jun 2013 09:56:25 -0400 Subject: Running LiveCode on Google Chrome Books In-Reply-To: References: <03DF16CA-3C29-4904-8B37-57B2CA8E94EC@azurevision.co.uk> <51C72512.1010302@gmail.com> Message-ID: Here's a nice demo of a Chrome book running Ubuntu (for ARM). http://www.youtube.com/watch?v=2AmkViFJbAg ~Roger On Sun, Jun 23, 2013 at 1:05 PM, Roger Eller wrote: > Perhaps when we have an Arm version of LiveCode. It looks like a 'true' > OS can be installed on Chrome book hardware. See ChrUbuntu. > > http://chromeos-cr48.blogspot.com > > ~Roger > > Sent from my Pipo M2 > On Jun 23, 2013 12:41 PM, "Richmond" wrote: > >> On 06/23/2013 05:39 PM, Mike Kerner wrote: >> >>> You can't. Chromebooks are running Chromium, which is just enough OS to >>> get you into a browser (and a very minimal file system). >>> >>> >>> >> I have just fired up Chromium in VMware player and can see that it is not >> really >> what I would call an operating system at all: >> >> 1. All it seems to consist of in a web-browser and access to a Google >> storage space >> somewhere in "the cloud". >> >> 2. Because of this there is no 'Home' directory and nowhere to install LC >> 6. >> >> This is worse than those horrible internet kiosk things they have in >> airports; I really >> cannot quite see what the advantage of this would be over a conventional >> OS. >> >> Oh, well, wasted 30 minutes of my Sunday: going outside to shout ??????? >> and >> ??????? ??????? in the streets in the wild hope that the BBC and CNN >> might actually >> notice that there has already been 10 days of significant political >> protests in Bulgaria: >> the fact that they haven't mentioned them is odd - well, not in the case >> of the BBC, >> which as the mouthpiece of British Government policy will keep quiet as >> it is in the >> interests of the GB government to have a bent government in the Balkans >> to criticise >> so GB citizens don't (as if they ever do) look to closely at the bent >> system in place there. >> >> Richmond. >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode > > From th.douez at gmail.com Mon Jun 24 10:07:10 2013 From: th.douez at gmail.com (Thierry Douez) Date: Mon, 24 Jun 2013 16:07:10 +0200 Subject: Post command help In-Reply-To: References: Message-ID: 2013/6/22 Thierry Douez > Coming back :( > > More details: > > I'm on MacOS. > > Restarting my Mac and my Internet Box and got again the same error: > > post myData to url "https://myDomain" > > > > But, executing this line of script always works: > > get shell("curl -s -d" && quote & myData & quote && "https://myDomain") > > Executing the same post via Firefox and a form always works too. > > And after some tries, the post command works again without any clue why? > > So, looks like the post command over https is not reliable on Mac ! > > Same behavior with LC 5.5, 6.... > ?So, here is the answer form runrev support, hoping it will ?help some of you... I believe this issue could be related to automatic root certificate discovery on OSX. The below is an excerpt from the LiveCode release notes- ------------------------------ ----------------------------------------- HTTPS ? automatic root certificate discovery (4.5 ? experimental) In previous versions it was necessary to set the sslCertificates property to the root certificates that HTTPS connections should be verified against. Support has now been added to locate and load the root certificates installed (and kept up to date) as part of the OS. This uses the standard root certificate keychain on Mac, the standard root certificate store on Windows and uses a number of heuristics to locate this information on Linux. You can easily find out if the system-installed root certificates are being found by running the following command in the message box: get url "https://www.google.com" put the result & return & it If this results in an error about verification failure then it is likely that root certificates have not been found. Please let us know (particularly on Linux) if you find this simple test fails, making sure you give us full details of your system (e.g. Linux distribution and version). Note: Unfortunately this feature does not currently work correctly on Mac 10.6.x. For now, we advise including an appropriate root certificates collection with your application, as was previously necessary, and setting the sslCertificates property appropriately. -------------------------------------------------------------------- The automatic root certificate discovery is still is experimental for Mac OSX and we are actively working on implementing it fully. Another suggestion would be setting the property libUrlSetSSLVerification to false as this may also resolve the issue.. ?Best, Thierry? ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage From jacque at hyperactivesw.com Mon Jun 24 11:22:14 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 24 Jun 2013 10:22:14 -0500 Subject: Post command help In-Reply-To: References: Message-ID: <51C86426.6000706@hyperactivesw.com> Thanks for posting that, Thierry. I'm working on a project that needs SSL and your problem had me worried. It sounds like the issue only occurs on OS X 10.6, right? Mac 10.7+ and Windows machines are not affected? Do you know? On 6/24/13 9:07 AM, Thierry Douez wrote: > 2013/6/22 Thierry Douez > >> Coming back :( >> >> More details: >> >> I'm on MacOS. >> >> Restarting my Mac and my Internet Box and got again the same error: >> >> post myData to url "https://myDomain" >> >> >> >> But, executing this line of script always works: >> >> get shell("curl -s -d" && quote & myData & quote && "https://myDomain") >> >> Executing the same post via Firefox and a form always works too. >> >> And after some tries, the post command works again without any clue why? >> >> So, looks like the post command over https is not reliable on Mac ! >> >> Same behavior with LC 5.5, 6.... >> > > > > ?So, here is the answer form runrev support, > hoping it will ?help some of you... > > > > > I believe this issue could be related to automatic root certificate > discovery on > OSX. The below is an excerpt from the LiveCode release notes- > > ------------------------------ > ----------------------------------------- > HTTPS ? automatic root certificate discovery (4.5 ? experimental) > In previous versions it was necessary to set the sslCertificates property > to the > root certificates that HTTPS connections should be verified against. > Support has > now been added to locate and load the root certificates installed (and kept > up to > date) as part of the OS. > This uses the standard root certificate keychain on Mac, the standard root > certificate store on Windows and uses a number of heuristics to locate this > information on Linux. > You can easily find out if the system-installed root certificates are being > found > by running the following command in the message box: > get url "https://www.google.com" > put the result & return & it > If this results in an error about verification failure then it is likely > that root > certificates have not been found. Please let us know (particularly on > Linux) if you > find this simple test fails, making sure you give us full details of your > system > (e.g. Linux distribution and version). > > > Note: Unfortunately this feature does not currently work correctly on Mac > 10.6.x. > For now, we advise including an appropriate root certificates collection > with your > application, as was previously necessary, and setting the sslCertificates > property > appropriately. > > -------------------------------------------------------------------- > > The automatic root certificate discovery is still is experimental for Mac > OSX and > we are actively working on implementing it fully. > > Another suggestion would be setting the property libUrlSetSSLVerification > to false > as this may also resolve the issue.. > > > ?Best, > > Thierry? > > > ------------------------------------------------ > Thierry Douez - http://sunny-tdz.com > Maker of sunnYperl - sunnYmidi - sunnYmage > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Jun 24 11:25:22 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 24 Jun 2013 10:25:22 -0500 Subject: Post command help In-Reply-To: References: Message-ID: <51C864E2.4030606@hyperactivesw.com> > Another suggestion would be setting the property libUrlSetSSLVerification > to false > as this may also resolve the issue.. Another question: does setting libUrlSetSSLVerification to false mean security is turned off completely, or only that the certificate isn't checked? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From th.douez at gmail.com Mon Jun 24 11:28:15 2013 From: th.douez at gmail.com (Thierry Douez) Date: Mon, 24 Jun 2013 17:28:15 +0200 Subject: Post command help In-Reply-To: <51C86426.6000706@hyperactivesw.com> References: <51C86426.6000706@hyperactivesw.com> Message-ID: ?Hello Jacque, ? 2013/6/24 J. Landman Gay Thanks for posting that, Thierry. I'm working on a project that needs SSL > and your problem had me worried. > ?Well, it still worries me :( ? > > It sounds like the issue only occurs on OS X 10.6, right? Mac 10.7+ and > Windows machines are not affected? Do you know? ?Umm, it's not working on Mac 10.7.5 right now on my box. For Windows I guess it works as Pierre answer was positive. I'm a bit surprise that not so many seems interested to this thread. Are we so little to use secure socket? Regards, Thierry ? > > > On 6/24/13 9:07 AM, Thierry Douez wrote: > >> 2013/6/22 Thierry Douez >> >> Coming back :( >>> >>> More details: >>> >>> I'm on MacOS. >>> >>> Restarting my Mac and my Internet Box and got again the same error: >>> >>> post myData to url "https://myDomain" >>> >>> >>> >>> But, executing this line of script always works: >>> >>> get shell("curl -s -d" && quote & myData & quote && "https://myDomain") >>> >>> Executing the same post via Firefox and a form always works too. >>> >>> And after some tries, the post command works again without any clue why? >>> >>> So, looks like the post command over https is not reliable on Mac ! >>> >>> Same behavior with LC 5.5, 6.... >>> >>> >> >> >> ?So, here is the answer form runrev support, >> hoping it will ?help some of you... >> >> >> >> >> I believe this issue could be related to automatic root certificate >> discovery on >> OSX. The below is an excerpt from the LiveCode release notes- >> >> ------------------------------ >> ------------------------------**----------- >> HTTPS ? automatic root certificate discovery (4.5 ? experimental) >> In previous versions it was necessary to set the sslCertificates property >> to the >> root certificates that HTTPS connections should be verified against. >> Support has >> now been added to locate and load the root certificates installed (and >> kept >> up to >> date) as part of the OS. >> This uses the standard root certificate keychain on Mac, the standard root >> certificate store on Windows and uses a number of heuristics to locate >> this >> information on Linux. >> You can easily find out if the system-installed root certificates are >> being >> found >> by running the following command in the message box: >> get url "https://www.google.com" >> put the result & return & it >> If this results in an error about verification failure then it is likely >> that root >> certificates have not been found. Please let us know (particularly on >> Linux) if you >> find this simple test fails, making sure you give us full details of your >> system >> (e.g. Linux distribution and version). >> >> >> Note: Unfortunately this feature does not currently work correctly on Mac >> 10.6.x. >> For now, we advise including an appropriate root certificates collection >> with your >> application, as was previously necessary, and setting the sslCertificates >> property >> appropriately. >> >> ------------------------------**------------------------------**-------- >> >> The automatic root certificate discovery is still is experimental for Mac >> OSX and >> we are actively working on implementing it fully. >> >> Another suggestion would be setting the property libUrlSetSSLVerification >> to false >> as this may also resolve the issue.. >> >> >> ?Best, >> >> Thierry? >> >> >> ------------------------------**------------------ >> Thierry Douez - http://sunny-tdz.com >> Maker of sunnYperl - sunnYmidi - sunnYmage >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> >> > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode From th.douez at gmail.com Mon Jun 24 11:33:08 2013 From: th.douez at gmail.com (Thierry Douez) Date: Mon, 24 Jun 2013 17:33:08 +0200 Subject: Post command help In-Reply-To: <51C864E2.4030606@hyperactivesw.com> References: <51C864E2.4030606@hyperactivesw.com> Message-ID: 2013/6/24 J. Landman Gay > > Another suggestion would be setting the property libUrlSetSSLVerification >> to false >> as this may also resolve the issue.. >> > > Another question: does setting libUrlSetSSLVerification to false mean > security is turned off completely, or only that the certificate isn't > checked? > ?Well, don't know but I don't like this one (too opaque) I think I'll go with the shell "curl ..."? ?as it seems to be installed on all Mac since a while and it's a well established tool. Good luck. Thierry ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage From mark.rauterkus at gmail.com Mon Jun 24 11:58:53 2013 From: mark.rauterkus at gmail.com (Mark Rauterkus) Date: Mon, 24 Jun 2013 11:58:53 -0400 Subject: Running LiveCode on Google Chrome Books In-Reply-To: References: Message-ID: Hi, Thinking more, .... but sorta selfishly. Our LC based camp attendance application could "operate" on a Chrome Book with a teacher in the field should we make some changes, it seems. What this means is we make the content of the app into a Read Only presentation (perhaps PDF) and the stuff that changes frequently needs a web form with writing to files on a server, and the stuff that changes seldom can be with a email form to the class-master. More needs to be done server side of course. Sure, this isn't LC, but a way to do most of what my app does on a cheaper device (less expensive than laptop) that gets its visuals out of LC, say, every day. LiveCode could email the staff a daily PDF with attendance background data and smart hooks to web forms could handle changes. This puts me on a quest export LC date to a static presentation that plays nice on Chrome Books in the field. And the nifty stuff could come via better crafted web links to make changes in data. So in real world example, a click on a Chrome Book running a PDF on a student's phone number field for a card could generate a form with URL to submit that new data to a specific field on a specific card in a LC app for updates to tomorrow's attendance background insights. The three important fields with more dynamic data needs to be a web app really. How much scripting can occur with a click in a LC generated doc running on a Chrome Book? My shortcomings in WWW html and PDF communications within URLs is killing me. This isnt LC now. Back to the drawing board for those features to work. Thanks for listening. Mark Rauterkus From m_p_wilcox at yahoo.co.uk Mon Jun 24 12:03:01 2013 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Mon, 24 Jun 2013 17:03:01 +0100 (BST) Subject: Post command help In-Reply-To: <51C864E2.4030606@hyperactivesw.com> References: <51C864E2.4030606@hyperactivesw.com> Message-ID: <1372089781.64709.YahooMailNeo@web28802.mail.ir2.yahoo.com> >> Another suggestion would be setting the property libUrlSetSSLVerification >> to false >> as this may also resolve the issue.. > Another question: does setting libUrlSetSSLVerification to false mean security is turned off completely, or only that the certificate isn't checked? Not doing SSL Certificate Verification means that the certificate isn't checked, the content is still sent encrypted. ?Whether this matters depends on the setup - if you control both the client and server ends then it's not such a big deal, although technically it does leave you vulnerable to man-in-the-middle attacks. ?You still have the option of bundling a collection of root certificates with your app (and you can find up to date collections online freely) but that will mean the certificates will not be updated unless your app is, so overtime they will go out of date. ?If you're only connecting to your own server that's not much of a problem either - you need to give everyone an update of the app when a certificate in your one certificate chain expires but that's all. ?Keeping a general set of certificates for the open web up to date is another matter entirely. Mark From dochawk at gmail.com Mon Jun 24 12:20:26 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 24 Jun 2013 09:20:26 -0700 Subject: Installer always downloads community version rather than commercial version In-Reply-To: <1371995511614-4666727.post@n4.nabble.com> References: <1371995511614-4666727.post@n4.nabble.com> Message-ID: On Sun, Jun 23, 2013 at 6:51 AM, Dave Kilroy2 wrote: > No I haven't seen this behaviour - however the LiveCode updater hasn't been > firing for me since version 6.0.0 And I wrote to soon. This morning, on the machine in my office, it went for the developer version. But I'm still dealing with it resetting the default app for my stacks without permission . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From th.douez at gmail.com Mon Jun 24 12:22:56 2013 From: th.douez at gmail.com (Thierry Douez) Date: Mon, 24 Jun 2013 18:22:56 +0200 Subject: Post command help In-Reply-To: <1372089781.64709.YahooMailNeo@web28802.mail.ir2.yahoo.com> References: <51C864E2.4030606@hyperactivesw.com> <1372089781.64709.YahooMailNeo@web28802.mail.ir2.yahoo.com> Message-ID: Thanks Mark. In the meantime, I found this one for more security: http://forums.runrev.com/viewtopic.php?f=11&t=6995&p=31804&hilit=https#p31804 Regards, Thierry 2013/6/24 Mark Wilcox > > > >> Another suggestion would be setting the property > libUrlSetSSLVerification > >> to false > >> as this may also resolve the issue.. > > > Another question: does setting libUrlSetSSLVerification to false mean > security is turned off completely, or only that the certificate isn't > checked? > > Not doing SSL Certificate Verification means that the certificate isn't > checked, the content is still sent encrypted. Whether this matters depends > on the setup - if you control both the client and server ends then it's not > such a big deal, although technically it does leave you vulnerable to > man-in-the-middle attacks. You still have the option of bundling a > collection of root certificates with your app (and you can find up to date > collections online freely) but that will mean the certificates will not be > updated unless your app is, so overtime they will go out of date. If > you're only connecting to your own server that's not much of a problem > either - you need to give everyone an update of the app when a certificate > in your one certificate chain expires but that's all. Keeping a general > set of certificates for the open web up to date is another matter entirely. > > Mark > ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage From m_p_wilcox at yahoo.co.uk Mon Jun 24 12:22:55 2013 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Mon, 24 Jun 2013 17:22:55 +0100 (BST) Subject: Running LiveCode on Google Chrome Books In-Reply-To: References: <03DF16CA-3C29-4904-8B37-57B2CA8E94EC@azurevision.co.uk> <51C72512.1010302@gmail.com> Message-ID: <1372090975.96884.YahooMailNeo@web28801.mail.ir2.yahoo.com> Mike Kerner wrote: > The new units also have a certain amount of local storage for using with > Google Drive. > The chromebook is designed mainly to be a lightweight, fast, cheap, > high-battery life machine for running HTML5.? The main weakness, IMHO, is > that it is about 5 years late because ipads and android tablets are far > more appealing at around the same money. This is very true - in fact, Android tablets (+ a keyboard case if you need one) are available for much less and they're getting cheaper and more capable at an astonishing rate. ?Wholesale price in China is $45 (US) for decent Android tablets and falling. ?You can buy capable devices 10" in the UK for just over ?100 (a bit more than half that for 7"). Keyboard cases are about $10 for USB and $25-50 for Bluetooth. If you want something portable primarily for a single simple app then it's definitely worth looking into. ?The lack of decent tablet software for Android in general makes then much less appealing than iPads at much higher prices for general use currently - that's bound to change for a lot of people over the next year or two though. Personally I don't see the point of the Chromebooks at all. Mark From ben at runrev.com Mon Jun 24 12:46:10 2013 From: ben at runrev.com (Benjamin Beaumont) Date: Mon, 24 Jun 2013 17:46:10 +0100 Subject: BETA RELEASE: LiveCode 6.1.0 RC1 Message-ID: Dear All, We are please to announce the release of LiveCode 6.1 RC1. This beta release is for test purposes only. We would encourage all those who would like to contribute to the development of the product to download, install and test this release, reporting issues back to us via http://quality.runrev.com. This is NOT a stable release. The best way to test is to make copies of production projects and open them in the beta release. Work through your application testing all functionality looking for unwanted changes in behavior from previous editions of LiveCode. The second way to test is to try out any new functionality to ensure it works as you would expect it to. We would be grateful if any issues encountered would be logged at http://quality.runrev.com. *Getting LiveCode 6.1.0 RC1* * * You can download the installers here: http://downloads.livecode.com/livecode/6_1_0/ Alternatively, if you are using a 6.1.0 DP 2, you can go to 'help > check for updates' to launch the auto-updater. *This beta release contains the following changes* * * Activation removed for LiveCode Community users. Optional account creation step added for new community users. New statistical functions added (Community submission Jan Schenkel). The LiveCode auto-updater can be run manually from the help menu. Support for chained behaviors. Support for iOS remote control. Updated dictionary. 11 bug fixes: 10976 - Ungrouping objects can result in their id's changing. 10975 - Image objects don't properly resolve filenames to be absolute before searching the cache. 10974 - Instability in acceleratedRendering caused in specific circumstances when a static layer moves just above a dynamic layer. 10967 - Import snapshot on 16-bit displays on Windows causes a blank image to be produced. 10966 - Fetching properties of function expressions now works correctly (e.g. the name of controlAtLoc(the mouseLoc)). 10961 - Passing script locals as parameters to external functions doesn't work correctly in behaviors. 10960 - Getting 'the lockUpdates of ' now works correctly. LiveCode 6.1.0-dp-2 Release Notes 6/21/13 11095 - 'is a color' now checks the input string more carefully. 10945 - mobileControls() returns deleted controls in the list. 10926 - 'filter' does not honour the lineDelimiter property. 10863 - Group command doesn't throw an error when attempting to group a shared group. Warm regards, The LiveCode Team From roger.e.eller at sealedair.com Mon Jun 24 14:20:22 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 24 Jun 2013 14:20:22 -0400 Subject: Does Apple accepts App with LC field instead of native iOS fields? In-Reply-To: <1371889571725.a010f3ef@Nodemailer> References: <1371889571725.a010f3ef@Nodemailer> Message-ID: LiveCode fields are just easier to use. I really wish the builder would automatically make the distinction based on the target platform. ~Roger On Sat, Jun 22, 2013 at 4:26 AM, Gerry Orkin wrote: > I have an app in the store that uses LiveCode fields. Native fields are > useful where the user has to enter or edit text. I'm not sure why you would > not want to use them if your app requires that sort of interaction. > > > Gerry > > On Sat, Jun 22, 2013 at 11:51 AM, kee nethery wrote: > > > They are not purists. Being able to use the magnifier is not in the > rules for what an app has to comply with to be accepted. Yes you can just > use a LC field. > > Kee Nethery > > (I'm not Apple so your mileage may vary) > > On Jun 21, 2013, at 5:36 PM, Matthias Rebbe < > matthias_livecode_150811 at m-r-d.de> wrote: > >> Hi, > >> > >> does anyone know if Apple accepts also apps which "just" use normal > Livecode fields instead of native fields? > >> Or is it mandatory that the user is able to use the magnifier? > >> > >> Regards, > >> > >> Matthias > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Mon Jun 24 14:25:44 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 24 Jun 2013 13:25:44 -0500 Subject: Post command help In-Reply-To: <1372089781.64709.YahooMailNeo@web28802.mail.ir2.yahoo.com> References: <51C864E2.4030606@hyperactivesw.com> <1372089781.64709.YahooMailNeo@web28802.mail.ir2.yahoo.com> Message-ID: <51C88F28.4080706@hyperactivesw.com> Thanks Mark, that's exactly what I needed to know. This stuff is out of my league. On 6/24/13 11:03 AM, Mark Wilcox wrote: > > >>> Another suggestion would be setting the property >>> libUrlSetSSLVerification to false as this may also resolve the >>> issue.. > >> Another question: does setting libUrlSetSSLVerification to false >> mean security is turned off completely, or only that the >> certificate isn't checked? > > Not doing SSL Certificate Verification means that the certificate > isn't checked, the content is still sent encrypted. Whether this > matters depends on the setup - if you control both the client and > server ends then it's not such a big deal, although technically it > does leave you vulnerable to man-in-the-middle attacks. You still > have the option of bundling a collection of root certificates with > your app (and you can find up to date collections online freely) but > that will mean the certificates will not be updated unless your app > is, so overtime they will go out of date. If you're only connecting > to your own server that's not much of a problem either - you need to > give everyone an update of the app when a certificate in your one > certificate chain expires but that's all. Keeping a general set of > certificates for the open web up to date is another matter entirely. > > Mark _______________________________________________ use-livecode > mailing list use-livecode at lists.runrev.com Please visit this url to > subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From MikeKerner at roadrunner.com Mon Jun 24 16:25:44 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 24 Jun 2013 16:25:44 -0400 Subject: Does Apple accepts App with LC field instead of native iOS fields? In-Reply-To: References: <1371889571725.a010f3ef@Nodemailer> Message-ID: I think that might be coming. On Mon, Jun 24, 2013 at 2:20 PM, Roger Eller wrote: > LiveCode fields are just easier to use. I really wish the builder would > automatically make the distinction based on the target platform. > > ~Roger > > > On Sat, Jun 22, 2013 at 4:26 AM, Gerry Orkin > wrote: > > > I have an app in the store that uses LiveCode fields. Native fields are > > useful where the user has to enter or edit text. I'm not sure why you > would > > not want to use them if your app requires that sort of interaction. > > > > > > Gerry > > > > On Sat, Jun 22, 2013 at 11:51 AM, kee nethery wrote: > > > > > They are not purists. Being able to use the magnifier is not in the > > rules for what an app has to comply with to be accepted. Yes you can just > > use a LC field. > > > Kee Nethery > > > (I'm not Apple so your mileage may vary) > > > On Jun 21, 2013, at 5:36 PM, Matthias Rebbe < > > matthias_livecode_150811 at m-r-d.de> wrote: > > >> Hi, > > >> > > >> does anyone know if Apple accepts also apps which "just" use normal > > Livecode fields instead of native fields? > > >> Or is it mandatory that the user is able to use the magnifier? > > >> > > >> Regards, > > >> > > >> Matthias > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at 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 at 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 at 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." From MikeKerner at roadrunner.com Mon Jun 24 16:26:23 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 24 Jun 2013 16:26:23 -0400 Subject: Does Apple accepts App with LC field instead of native iOS fields? In-Reply-To: References: <1371889571725.a010f3ef@Nodemailer> Message-ID: The problem being that native fields on an iOS form tend to have different proportions than fields on other platforms. On Mon, Jun 24, 2013 at 4:25 PM, Mike Kerner wrote: > I think that might be coming. > > > On Mon, Jun 24, 2013 at 2:20 PM, Roger Eller wrote: > >> LiveCode fields are just easier to use. I really wish the builder would >> automatically make the distinction based on the target platform. >> >> ~Roger >> >> >> On Sat, Jun 22, 2013 at 4:26 AM, Gerry Orkin >> wrote: >> >> > I have an app in the store that uses LiveCode fields. Native fields are >> > useful where the user has to enter or edit text. I'm not sure why you >> would >> > not want to use them if your app requires that sort of interaction. >> > >> > >> > Gerry >> > >> > On Sat, Jun 22, 2013 at 11:51 AM, kee nethery wrote: >> > >> > > They are not purists. Being able to use the magnifier is not in the >> > rules for what an app has to comply with to be accepted. Yes you can >> just >> > use a LC field. >> > > Kee Nethery >> > > (I'm not Apple so your mileage may vary) >> > > On Jun 21, 2013, at 5:36 PM, Matthias Rebbe < >> > matthias_livecode_150811 at m-r-d.de> wrote: >> > >> Hi, >> > >> >> > >> does anyone know if Apple accepts also apps which "just" use normal >> > Livecode fields instead of native fields? >> > >> Or is it mandatory that the user is able to use the magnifier? >> > >> >> > >> Regards, >> > >> >> > >> Matthias >> > > _______________________________________________ >> > > use-livecode mailing list >> > > use-livecode at 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 at 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 at 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." > -- 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." From roger.e.eller at sealedair.com Mon Jun 24 16:43:41 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 24 Jun 2013 16:43:41 -0400 Subject: Fonts look awful in standalones built in v5.5+ -vs- v4.0 Message-ID: In an attempt to bring my stacks out of the dark ages of Revolution 4.0, I am moving forward, but text is becoming extremely bitmapped in appearance. I have tried LiveCode 5.5.4, 5.5.5, and 6.0.2, all with the same results. In all cases, the stacks look fine in the IDE, but as a standalone they get ugly. Why? For the sake of providing the details, I am running Windows 7 in Fusion 5.02 on OS 10.8.3. I am using the stack runner approach, where the standalone is the executable (with everything checked for inclusion). The fonts are the defaults from the IDE. I drag a field to a stack and name it, that's all. So why are they changing? ~Roger From jemirandav at gmail.com Mon Jun 24 16:51:26 2013 From: jemirandav at gmail.com (Javier Miranda V.) Date: Mon, 24 Jun 2013 16:51:26 -0400 Subject: LiveCode for iPad dev Message-ID: <3FC1760A-552F-4C2C-85F1-ECF42E8008C1@gmail.com> Hi friends, I have been "inactive" for many months. I am happy to see how LiveCode has evolved and matured, also by inspecting the list,I see familiar names, certainly this is a great community. Plese let me share something for you, a couple of weeks ago a pharmaceutical laboratory approached me asking for an application to be run on their 100+ iPads, I don?t have the characteristics of their requirement but I see this as a great opportunity to work with LiveCode. Can you guide me a little on what steps I should take in order to get a better understanding of the components I have to investigate to create an application for iPads that would enable the users to share information contained in a server. I think this is more or less the best general description of the application that needs to be built. I have a reasonable background as programmer and have bee in contact with HyperCard, SuperCard, MetaCard, a product from Oracle Media Objects, a product from Apple (surprisingly I don?t remember the name!), Revolution and now with LiveCode, so the whole Stack paradigm is clear for me. I have just DL the latest LiveCode Community editio but I know that if the project is better stablished I will have to go to one of the alternate LiveCode products, which? I don?t know. Sure of having your support, and thanks in advance for your suggestions. Javier Miranda V. From coiin at verizon.net Mon Jun 24 16:54:37 2013 From: coiin at verizon.net (Colin Holgate) Date: Mon, 24 Jun 2013 16:54:37 -0400 Subject: LiveCode for iPad dev In-Reply-To: <3FC1760A-552F-4C2C-85F1-ECF42E8008C1@gmail.com> References: <3FC1760A-552F-4C2C-85F1-ECF42E8008C1@gmail.com> Message-ID: <6F927965-F342-483E-A631-B3DF4A36D59A@verizon.net> This one perhaps: http://en.wikipedia.org/wiki/Apple_Media_Tool On Jun 24, 2013, at 4:51 PM, "Javier Miranda V." wrote: > >a product from Apple (surprisingly I don?t remember the name!) From bornstein at designeq.com Mon Jun 24 17:39:29 2013 From: bornstein at designeq.com (Howard Bornstein) Date: Mon, 24 Jun 2013 14:39:29 -0700 Subject: Using the Find command in IOS In-Reply-To: References: <51BDF8E2.8090603@hyperactivesw.com> Message-ID: I have filed a bug report (*10978 *) about this issue. On Tue, Jun 18, 2013 at 1:42 PM, Howard Bornstein wrote: > Thanks for the response. That would be great but my testing does not > support this. When I do a find of a field within a scroller group, the Find > works, in that it finds the text and draws a box around it, but the field > itself doesn't scroll (or at least it doesn't change the vscroll value of > the field). > > I test the vscroll of the field after the Find and it is always zero. It > does work as expected on the desktop but doesn't seem to actually scroll > the field in the IOS environment. > > Do you have any idea why I am getting this result? > > > On Sun, Jun 16, 2013 at 10:41 AM, J. Landman Gay > wrote: > >> On 6/15/13 4:22 PM, Howard Bornstein wrote: >> >>> The dictionary shows that the Find command is supported in IOS, but I >>> can't >>> seem to make it work as described. >>> >>> I want to "find" a string in a scrolling field and have the field scroll >>> automatically to that string. It works fine on the desktop but doesn't >>> scroll to the found line in the IOS field (although it *does* draw a box >>> >>> around the string, which I don't actually care about). >>> >>> I'm not doing anything with the vscroll property of the scrolling group >>> the >>> field is in, but as far as I can tell, I shouldn't have to. >>> >>> Is there a way to get Find to just scroll to the found string in an IOS >>> text field? Is there more that is needed beside simply using the Find >>> command? >>> >>> >> The field itself will scroll but that's all, you'll have to manage the >> group scroll yourself. If you're using a native iOS scroller you'll need to >> adjust that too. Probably the best way would be to note the starting scroll >> of the field before the find command, calculate the difference afterward, >> and then adjust the group and iOS scroller to the same amount. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > > > > -- > Regards, > > Howard Bornstein > ----------------------- > www.designeq.com > -- Regards, Howard Bornstein ----------------------- www.designeq.com From revdev at pdslabs.net Mon Jun 24 20:50:34 2013 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 24 Jun 2013 17:50:34 -0700 Subject: [on-rev] LC code output bumping against a server size limit? Message-ID: <51C8E95A.7000603@pdslabs.net> Hi Folks, My on-rev LC server code takes data from many files and organizes it into an array. It then arrayEncodes and base64Encodes the array and "puts" it to the requesting app. Normally the code works as expected, but when the encoded array approaches 8 MB, an internal server error (500) occurs. It seems to happen after the arrayEncode() executes and before (or when) base64Encode() is executed. (The two functions are back-to-back in the code.) Again, this only happens when the encoded array is approaching 8 MB in size. Is there an Apache setting or maybe a Linux setting that enforces an 8 MB limit on thread size or something similar? That seems the most likely suspect of my problem to me. If so, can I increase the limit? Can you tell me how? Thanks for your time. -- Phil Davis From jacque at hyperactivesw.com Mon Jun 24 22:07:03 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 24 Jun 2013 21:07:03 -0500 Subject: Fonts look awful in standalones built in v5.5+ -vs- v4.0 In-Reply-To: References: Message-ID: <51C8FB47.9020406@hyperactivesw.com> On 6/24/13 3:43 PM, Roger Eller wrote: > In an attempt to bring my stacks out of the dark ages of Revolution 4.0, I > am moving forward, but text is becoming extremely bitmapped in appearance. > I have tried LiveCode 5.5.4, 5.5.5, and 6.0.2, all with the same results. > In all cases, the stacks look fine in the IDE, but as a standalone they > get ugly. Why? > > For the sake of providing the details, I am running Windows 7 in Fusion > 5.02 on OS 10.8.3. I am using the stack runner approach, where the > standalone is the executable (with everything checked for inclusion). The > fonts are the defaults from the IDE. I drag a field to a stack and name > it, that's all. So why are they changing? The symptoms sound like a missing font. The default IDE font is the OS system font which is likely not available on mobile. Theoretically if you have never set a font, the system font of the OS should be used, but the IDE may be setting the font on the stack or on some of the fields. Before saving the standalone, you could run a script that sets the font of the stack and card to empty, and if that doesn't work, setting the font of the field and other objects to empty too. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From roger.e.eller at sealedair.com Mon Jun 24 22:14:05 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 24 Jun 2013 22:14:05 -0400 Subject: Fonts look awful in standalones built in v5.5+ -vs- v4.0 In-Reply-To: <51C8FB47.9020406@hyperactivesw.com> References: <51C8FB47.9020406@hyperactivesw.com> Message-ID: This isn't for mobile. I'm seeing this difference on the same machine. It's just IDE -vs- standalone for Windows. ~Roger On Jun 24, 2013 10:07 PM, "J. Landman Gay" wrote: > On 6/24/13 3:43 PM, Roger Eller wrote: > >> In an attempt to bring my stacks out of the dark ages of Revolution 4.0, I >> am moving forward, but text is becoming extremely bitmapped in appearance. >> I have tried LiveCode 5.5.4, 5.5.5, and 6.0.2, all with the same >> results. >> In all cases, the stacks look fine in the IDE, but as a standalone they >> get ugly. Why? >> >> For the sake of providing the details, I am running Windows 7 in Fusion >> 5.02 on OS 10.8.3. I am using the stack runner approach, where the >> standalone is the executable (with everything checked for inclusion). The >> fonts are the defaults from the IDE. I drag a field to a stack and name >> it, that's all. So why are they changing? >> > > The symptoms sound like a missing font. The default IDE font is the OS > system font which is likely not available on mobile. Theoretically if you > have never set a font, the system font of the OS should be used, but the > IDE may be setting the font on the stack or on some of the fields. > > Before saving the standalone, you could run a script that sets the font of > the stack and card to empty, and if that doesn't work, setting the font of > the field and other objects to empty too. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Mon Jun 24 22:26:49 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 24 Jun 2013 21:26:49 -0500 Subject: Fonts look awful in standalones built in v5.5+ -vs- v4.0 In-Reply-To: References: <51C8FB47.9020406@hyperactivesw.com> Message-ID: <51C8FFE9.4030803@hyperactivesw.com> On 6/24/13 9:14 PM, Roger Eller wrote: > This isn't for mobile. I'm seeing this difference on the same machine. It's > just IDE -vs- standalone for Windows. Oops. That's pretty odd then. It could be the font size, maybe. I know some Windows fonts look scrawny at a different size than the IDE uses. So maybe the stack is inheriting a size from the home stack? You could try: set the textfont of this stack to the textfont of stack "home" set the textsize of this stack to the textsize of stack "home" Save it and see what happens... -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From roger.e.eller at sealedair.com Mon Jun 24 22:38:35 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 24 Jun 2013 22:38:35 -0400 Subject: Fonts look awful in standalones built in v5.5+ -vs- v4.0 In-Reply-To: <51C8FFE9.4030803@hyperactivesw.com> References: <51C8FB47.9020406@hyperactivesw.com> <51C8FFE9.4030803@hyperactivesw.com> Message-ID: Another weirdness is that patterns that I used in Rev 4.0 don't display anymore. However, if I add the revPatterns.rev or something like that to the Stacks section of the standalone builder, suddenly the fonts are OK. What's going on? That shouldn't even be related. Patterns then appear correctly too. In the archives, I read something about revCommon being missing and causing similar oddities. Do the new standalone builders try to cleanse the stack by removing stuff like that? On Jun 24, 2013 10:27 PM, "J. Landman Gay" wrote: > On 6/24/13 9:14 PM, Roger Eller wrote: > >> This isn't for mobile. I'm seeing this difference on the same machine. >> It's >> just IDE -vs- standalone for Windows. >> > > Oops. That's pretty odd then. It could be the font size, maybe. I know > some Windows fonts look scrawny at a different size than the IDE uses. So > maybe the stack is inheriting a size from the home stack? > > You could try: > > set the textfont of this stack to the textfont of stack "home" > set the textsize of this stack to the textsize of stack "home" > > Save it and see what happens... > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From m_p_wilcox at yahoo.co.uk Tue Jun 25 04:43:20 2013 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Tue, 25 Jun 2013 09:43:20 +0100 (BST) Subject: LiveCode for iPad dev In-Reply-To: <3FC1760A-552F-4C2C-85F1-ECF42E8008C1@gmail.com> References: <3FC1760A-552F-4C2C-85F1-ECF42E8008C1@gmail.com> Message-ID: <1372149800.93414.YahooMailNeo@web28803.mail.ir2.yahoo.com> Javier Miranda V. wrote: >> Can you guide me a little on what steps I should take in order to get a better understanding >> of the components I have to investigate to create an application for iPads that would enable >> the users to share information contained in a server.? I think this is more or less the best >> general description of the application that needs to be built.? Depending on the nature of the sharing, you might want to look into different things. ?If the requirement is for real time sharing (e.g. collaboration tool) then you'll want different things on both server and client side than if it's just shared central data storage. ?With a slightly more concrete set of requirements I'm sure you can get plenty of advice. Find out about distribution requirements to determine the appropriate Apple developer program membership. If this is an internal app for the company only they may want their own Enterprise developer account and they could invite you as the developer to their team. ?The main alternative is Apple's B2B apps initiative which you can read about on their developer site - for that you'll need to join up as an iOS developer in your own right and the customer will need to register to purchase B2B apps (but not pay for any membership). ?Outside of these options you'd be putting their app on the public app store since 100 devices is the limit for a standard developer account, leaving no room for your test devices or their replacements and additions. >>?I have just DL the latest LiveCode Community editio but I know that if the project is better stablished I will have to go to one of the alternate LiveCode products, which? I don?t know. I think the only real option now is the commercial version, which lets you deploy to all platforms at $500/year. Mark From toolbook at kestner.de Tue Jun 25 04:46:28 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 25 Jun 2013 10:46:28 +0200 Subject: AW: Fonts look awful in standalones built in v5.5+ -vs- v4.0 In-Reply-To: References: <51C8FB47.9020406@hyperactivesw.com> <51C8FFE9.4030803@hyperactivesw.com> Message-ID: <00f101ce7180$7c802ad0$75808070$@de> Hi Roger, when switching from LC 4 to 5.x I experienced also some weirdness with font settings on windows. In my case it wasn't the difference between IDE and standalone, but some field suddenly had funny font settings explicitly set when opening the stacks with 5.x, where the same fields just had inherited it from the stack in version 4. In version 5.x runrev has changed the behavior of the font options. I just don't remember what exactly, but in my case the only solution was to open manually all wrong fields and delete the wrong font settings so that they again could inherit it from the stack. My experience seems to be a bit different, but perhaps the origin is the same. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Roger Eller > Gesendet: Dienstag, 25. Juni 2013 04:39 > An: How to use LiveCode > Betreff: Re: Fonts look awful in standalones built in v5.5+ -vs- v4.0 > > Another weirdness is that patterns that I used in Rev 4.0 don't display > anymore. However, if I add the revPatterns.rev or something like that to > the Stacks section of the standalone builder, suddenly the fonts are OK. > What's going on? That shouldn't even be related. Patterns then appear > correctly too. > > In the archives, I read something about revCommon being missing and causing > similar oddities. Do the new standalone builders try to cleanse the stack > by removing stuff like that? > On Jun 24, 2013 10:27 PM, "J. Landman Gay" > wrote: > > > On 6/24/13 9:14 PM, Roger Eller wrote: > > > >> This isn't for mobile. I'm seeing this difference on the same machine. > >> It's > >> just IDE -vs- standalone for Windows. > >> > > > > Oops. That's pretty odd then. It could be the font size, maybe. I know > > some Windows fonts look scrawny at a different size than the IDE uses. > > So maybe the stack is inheriting a size from the home stack? > > > > You could try: > > > > set the textfont of this stack to the textfont of stack "home" > > set the textsize of this stack to the textsize of stack "home" > > > > Save it and see what happens... > > > > -- > > Jacqueline Landman Gay | jacque at hyperactivesw.com > > HyperActive Software | http://www.hyperactivesw.com > > > > ______________________________**_________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/**mailman/listinfo/use-livecode > unrev.com/mailman/listinfo/use-livecode> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Tue Jun 25 05:27:45 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 25 Jun 2013 11:27:45 +0200 Subject: iOS App from 2012 - iphone5 pages are resized in simulator Message-ID: <46C5E190-3780-4E8A-A1BE-3DCEB44F0335@m-r-d.de> Hi, i have to do some adjustments to an iOS App i released in 2012. The app supports all 3 resolutions (iphone 3/4/5). For each resolution i created separate pages. This works in the released app w/o problems. Now when opening the app in the simulator or with my iPhone 5, i notice that the screenrect always is detected as 640x960 instead of 640x1136. Is there something i am missing? I have added splashscreen for all iphone types. I thought that is the way it has to be done. At least that?s how it worked when i released it in 2012. I opened the old stack from 2012, but even this stack shows this behaviour now in the iphone 5simulator and iphone 5 device in test mode. Is this caused by LC 6.0.2 or a newer iOS sdk? And most important how can this be fixed? Regards, Matthias From m_p_wilcox at yahoo.co.uk Tue Jun 25 07:15:51 2013 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Tue, 25 Jun 2013 12:15:51 +0100 (BST) Subject: iOS App from 2012 - iphone5 pages are resized in simulator In-Reply-To: <46C5E190-3780-4E8A-A1BE-3DCEB44F0335@m-r-d.de> References: <46C5E190-3780-4E8A-A1BE-3DCEB44F0335@m-r-d.de> Message-ID: <1372158951.59249.YahooMailNeo@web28803.mail.ir2.yahoo.com> Hi Matthias, I just tested this against the simulator with a stack that just has an open stack handler to set "iphoneUseDeviceResolution true, true", and a button which puts the screenRect into a field. The only thing I set up in the standalone builder settings was the three different iPhone splash screens. It works, on the 4" retina version I get "0, 0, 640, 1136" as expected. This is against the iOS 6.0 SDK with a freshly updated LC 6.0.2 - although I expect it would work with later SDK versions too. So, I don't think you're missing anything you should be doing but it looks like either something in your stack is messing with the screenRect (is that possible?) or for some reason you're not getting the 4 inch retina splash screen image correctly included in your app bundle (you can check inside the app bundle - it has to be called Default-586h at 2x.png). Mark ________________________________ From: Matthias Rebbe To: How to use LiveCode Sent: Tuesday, 25 June 2013, 10:27 Subject: iOS App from 2012 - iphone5 pages are resized in simulator Hi, i have to do some adjustments to an iOS App i released in 2012. The app supports all 3 resolutions (iphone 3/4/5). For each resolution i created separate pages. This works in the released app w/o problems. Now when opening the? app in the simulator or with my iPhone 5, i notice that the screenrect always is detected as 640x960 instead of 640x1136. Is there something i am missing? I have added splashscreen for all iphone types. I thought that is the way it has to be done. At least that?s how it worked when i released it in 2012. I opened the old stack from 2012, but even this stack shows this behaviour now in the iphone 5simulator and iphone 5 device in test mode. Is this caused by LC 6.0.2 or a newer iOS sdk? And most important how can this be fixed? Regards, Matthias _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Tue Jun 25 07:27:28 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 25 Jun 2013 13:27:28 +0200 Subject: iOS App from 2012 - iphone5 pages are resized in simulator In-Reply-To: <1372158951.59249.YahooMailNeo@web28803.mail.ir2.yahoo.com> References: <46C5E190-3780-4E8A-A1BE-3DCEB44F0335@m-r-d.de> <1372158951.59249.YahooMailNeo@web28803.mail.ir2.yahoo.com> Message-ID: <49777738-F9F0-4E0B-9637-06E10F7D13E8@m-r-d.de> Hi Mark, thanks for the hints. I will check. Regards, Matthias Am 25.06.2013 um 13:15 schrieb Mark Wilcox : > Hi Matthias, > > I just tested this against the simulator with a stack that just has an open stack handler to set "iphoneUseDeviceResolution true, true", and a button which puts the screenRect into a field. > > The only thing I set up in the standalone builder settings was the three different iPhone splash screens. > > It works, on the 4" retina version I get "0, 0, 640, 1136" as expected. > > This is against the iOS 6.0 SDK with a freshly updated LC 6.0.2 - although I expect it would work with later SDK versions too. > > So, I don't think you're missing anything you should be doing but it looks like either something in your stack is messing with the screenRect (is that possible?) or for some reason you're not getting the 4 inch retina splash screen image correctly included in your app bundle (you can check inside the app bundle - it has to be called Default-586h at 2x.png). > > Mark > > > ________________________________ > From: Matthias Rebbe > To: How to use LiveCode > Sent: Tuesday, 25 June 2013, 10:27 > Subject: iOS App from 2012 - iphone5 pages are resized in simulator > > > Hi, > > i have to do some adjustments to an iOS App i released in 2012. > The app supports all 3 resolutions (iphone 3/4/5). For each resolution i created separate pages. > This works in the released app w/o problems. > > Now when opening the app in the simulator or with my iPhone 5, i notice > that the screenrect always is detected as 640x960 instead of 640x1136. Is there something i am missing? > > I have added splashscreen for all iphone types. I thought that is the way it has to be done. > At least that?s how it worked when i released it in 2012. I opened the old stack from 2012, but even this stack shows this behaviour now > in the iphone 5simulator and iphone 5 device in test mode. Is this caused by LC 6.0.2 or a newer iOS sdk? > And most important how can this be fixed? > > Regards, > > Matthias > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Tue Jun 25 08:05:22 2013 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 25 Jun 2013 15:05:22 +0300 Subject: 6.1 rc 1 on Linux (at least) Message-ID: <51C98782.601@gmail.com> I noticed this, yesterday, with the dp2 and it still holds true for the rc1: on Linux: The script editor opens with SELECTED handles visible on the field in which one types scripts, and one has to do a "nifty click-click" on the revTools palette between Browse and Point to make the script editor usable. Richmond. From m_p_wilcox at yahoo.co.uk Tue Jun 25 08:24:44 2013 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Tue, 25 Jun 2013 13:24:44 +0100 (BST) Subject: iOS App from 2012 - iphone5 pages are resized in simulator In-Reply-To: <49777738-F9F0-4E0B-9637-06E10F7D13E8@m-r-d.de> References: <46C5E190-3780-4E8A-A1BE-3DCEB44F0335@m-r-d.de> <1372158951.59249.YahooMailNeo@web28803.mail.ir2.yahoo.com> <49777738-F9F0-4E0B-9637-06E10F7D13E8@m-r-d.de> Message-ID: <1372163084.77855.YahooMailNeo@web28804.mail.ir2.yahoo.com> >>?(you can check inside the app bundle - it has to be called?Default-586h at 2x.png) Sorry to avoid causing confusion, let me correct my typo - that should have been Default-568h at 2x.png. Mark From dixonja at hotmail.co.uk Tue Jun 25 08:28:39 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Tue, 25 Jun 2013 13:28:39 +0100 Subject: 6.1 rc 1 on Linux (at least) In-Reply-To: <51C98782.601@gmail.com> References: <51C98782.601@gmail.com> Message-ID: Don't feel that it is just you Richmond... the same is happening on the Mac...:-) > Date: Tue, 25 Jun 2013 15:05:22 +0300 > From: richmondmathewson at gmail.com > To: use-livecode at lists.runrev.com > Subject: 6.1 rc 1 on Linux (at least) > > I noticed this, yesterday, with the dp2 and it still holds true for > the rc1: on Linux: > > The script editor opens with SELECTED handles visible on the field > in which one types scripts, and one has to do a "nifty click-click" > on the revTools palette between Browse and Point to make > the script editor usable. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revolution at derbrill.de Tue Jun 25 09:46:13 2013 From: revolution at derbrill.de (Malte Brill) Date: Tue, 25 Jun 2013 15:46:13 +0200 Subject: Dates before 1970 under Win: Need a datepicker In-Reply-To: References: Message-ID: Hi all, I am looking for a datepicker that works cross plattform ( less mobile, not needed), that lets me pick system Dates. Being able to pick dates before 01/01/1970 is essential. It should be a liveCode only solution (no external VB scripts to be called, no Shell). Rerturned value needs to be the system date. Anyone got such a beast? All the best, Malte From matthias_livecode_150811 at m-r-d.de Tue Jun 25 09:53:47 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 25 Jun 2013 15:53:47 +0200 Subject: Dates before 1970 under Win: Need a datepicker In-Reply-To: References: Message-ID: Malte, Hugh from FlexibleLearning offers DatePicker, which should be able to this. http://www.flexiblelearning.com/datepicker/ Regards, Matthias Am 25.06.2013 um 15:46 schrieb Malte Brill : > Hi all, > > I am looking for a datepicker that works cross plattform ( less mobile, not needed), that lets me pick system Dates. Being able to pick dates before 01/01/1970 is essential. It should be a liveCode only solution (no external VB scripts to be called, no Shell). Rerturned value needs to be the system date. > > Anyone got such a beast? > > All the best, > > Malte > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andrew at ctech.me Tue Jun 25 10:23:51 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Tue, 25 Jun 2013 09:23:51 -0500 Subject: Dates before 1970 under Win: Need a datepicker In-Reply-To: References: Message-ID: I really enjoy FLC's datepicker. Very versatile and easy to setup once you figure the configuration out. This likely won't work with community edition though. Andrew On Tue, Jun 25, 2013 at 8:53 AM, Matthias Rebbe < matthias_livecode_150811 at m-r-d.de> wrote: > Malte, > > Hugh from FlexibleLearning offers DatePicker, which should be able to this. > > http://www.flexiblelearning.com/datepicker/ > > Regards, > > Matthias > > > Am 25.06.2013 um 15:46 schrieb Malte Brill : > > > Hi all, > > > > I am looking for a datepicker that works cross plattform ( less mobile, > not needed), that lets me pick system Dates. Being able to pick dates > before 01/01/1970 is essential. It should be a liveCode only solution (no > external VB scripts to be called, no Shell). Rerturned value needs to be > the system date. > > > > Anyone got such a beast? > > > > All the best, > > > > Malte > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From roger.e.eller at sealedair.com Tue Jun 25 10:52:42 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 25 Jun 2013 10:52:42 -0400 Subject: Fonts look awful in standalones built in v5.5+ -vs- v4.0 In-Reply-To: <51C8FFE9.4030803@hyperactivesw.com> References: <51C8FB47.9020406@hyperactivesw.com> <51C8FFE9.4030803@hyperactivesw.com> Message-ID: I tried setting the textfont of this stack to the textfont of stack "home". Still it returned empty when I put the textFont of any field in my stack. I have users on XP and 7, so I think I will just loop through all the fields in preOpenStack and set the appropriate textFont. I'll report back if it still looks weird. XP's system font is "Tahoma". http://support.microsoft.com/kb/823033 Win7's system font is "Segoe UI". http://msdn.microsoft.com/en-us/library/windows/desktop/aa511282.aspx ~Roger On Mon, Jun 24, 2013 at 10:26 PM, J. Landman Gay wrote: > On 6/24/13 9:14 PM, Roger Eller wrote: > >> This isn't for mobile. I'm seeing this difference on the same machine. >> It's >> just IDE -vs- standalone for Windows. >> > > Oops. That's pretty odd then. It could be the font size, maybe. I know > some Windows fonts look scrawny at a different size than the IDE uses. So > maybe the stack is inheriting a size from the home stack? > > You could try: > > set the textfont of this stack to the textfont of stack "home" > set the textsize of this stack to the textsize of stack "home" > > Save it and see what happens... > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From jemirandav at gmail.com Tue Jun 25 11:14:01 2013 From: jemirandav at gmail.com (Javier Miranda) Date: Tue, 25 Jun 2013 11:14:01 -0400 Subject: LiveCode for iPad dev Message-ID: Thank you Mark, I think the best thing I can do right now is wait until having all the information for the project. Also thank you Collin for remind me the name of th Apple product, I even prodcuced a multimedia CD for The Jesuit Missions in the Eastern region of Bolvia, it was a great experience. Now I remember that something I liked from the Apple Media Tool was it's graphic interface. Certainly I'll come back to you with more questions! Regards, Javier Miranda V. From mark.rauterkus at gmail.com Tue Jun 25 13:11:51 2013 From: mark.rauterkus at gmail.com (Mark Rauterkus) Date: Tue, 25 Jun 2013 13:11:51 -0400 Subject: Where would this code be? In-Reply-To: <1372179672690.e09d80b6@Nodemailer> References: <1372179592486.f4870a3@Nodemailer> <1372179672690.e09d80b6@Nodemailer> Message-ID: Crap. Sorry. Not your fault. :/ Let's take that to the user-list. Explain it. Ask for help. They'll come to the rescue. "use-livecode at lists.runrev.com" -- Ta. Mark Rauterkus Mark.Rauterkus at gmail.com PPS Summer Dreamers' Swim and Water Polo Camp Head Coach Pittsburgh Combined Water Polo Team http://Rauterkus.blogspot.com http://FixPA.wikia.com http://CLOH.wikia.com 412 298 3432 = cell On Tue, Jun 25, 2013 at 1:01 PM, Noah Vito wrote: > I found a single remaining reference to mythos via the find and replace > feature. I've removed that, but the error won't go away. > > > On Tue, Jun 25, 2013 at 12:59 PM, Noah Vito wrote: > >> There is only one image any more. The mugshot has been removed. Only the >> thumbnail remains. I updated all code to reflect this. >> >> I've dug down inside of every group as well. >> >> >> On Tue, Jun 25, 2013 at 11:17 AM, Mark Rauterkus < >> mark.rauterkus at gmail.com> wrote: >> >>> Hi, >>> >>> Hummm.... >>> I guess you are able to use the Application Browser feature / interface >>> and snoop around there too. >>> >>> Set the visible of image 1 to true is a good thing to type into the >>> message box. >>> >>> Type into message box: >>> >>> get the number of images on this card >>> Put it >>> >>> Then >>> >>> set the visible of image 1 to true >>> >>> >>> Perhaps this is in a GROUP too? >>> >>> >>> >>> >>> -- >>> Ta. >>> >>> >>> Mark Rauterkus Mark.Rauterkus at gmail.com >>> PPS Summer Dreamers' Swim and Water Polo Camp Head Coach >>> Pittsburgh Combined Water Polo Team >>> >>> http://Rauterkus.blogspot.com >>> http://FixPA.wikia.com >>> http://CLOH.wikia.com >>> 412 298 3432 = cell >>> >>> >>> On Tue, Jun 25, 2013 at 10:03 AM, Noah Vito wrote: >>> >>>> I deleted Jasmine Allen, and I now think that I have looked through >>>> every line of code in the application. I deleted every reference to the >>>> mugshot feature -- mugshot is completely removed. >>>> >>>> I don't get the jasmine Allen error any more, but I continue to get the >>>> error for mythos/Originals/JUN17_14.jpg >>>> >>>> >>>> On Tue, Jun 25, 2013 at 9:04 AM, Mark Rauterkus < >>>> mark.rauterkus at gmail.com> wrote: >>>> >>>>> Tip / Hunch about error. >>>>> >>>>> Go to the Jasmine Allen page in the kids application and delete that >>>>> record / card. Then the error might be taken away. It looks like a photo >>>>> reference is pointing to a file that is not within the app. >>>>> >>>>> >>>>> But, you don't need KIDS to get GUARD completed. >>>>> >>>>> >>>>> >>>>> -- >>>>> Ta. >>>>> >>>>> >>>>> Mark Rauterkus Mark.Rauterkus at gmail.com >>>>> PPS Summer Dreamers' Swim and Water Polo Camp Head Coach >>>>> Pittsburgh Combined Water Polo Team >>>>> >>>>> http://Rauterkus.blogspot.com >>>>> http://FixPA.wikia.com >>>>> http://CLOH.wikia.com >>>>> 412 298 3432 = cell >>>>> >>>>> >>>>> On Tue, Jun 25, 2013 at 8:56 AM, Noah Vito wrote: >>>>> >>>>>> I'm also seeing this one on some versions of the application: >>>>>> http://cl.ly/image/2e2Z2w1U2Y1A >>>>>> >>>>>> I need to get at this code to fix the problem. This problem may be >>>>>> old, but it has resurfaced for some reason. I've been searching like mad >>>>>> for these lines, but there's too much code that you wrote, and I'm not sure >>>>>> where things are. Can you tell me exactly what elements could be >>>>>> responsible for this? >>>>>> >>>>>> >>>>>> On Tue, Jun 25, 2013 at 6:01 AM, Mark Rauterkus < >>>>>> mark.rauterkus at gmail.com> wrote: >>>>>> >>>>>>> That mythos URL error has to do with the mug shot element of the >>>>>>> app. It was at one time a default image if a photo for a person was not >>>>>>> around. Hidden image perhaps. Might want to NUKE the mug shot on all >>>>>>> records? >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Tuesday, June 25, 2013, Noah Vito wrote: >>>>>>> >>>>>>>> This is the error I'm getting. I could solve this in a second if I >>>>>>>> knew where it was coming from. >>>>>>>> >>>>>>>> http://cl.ly/image/2N2X3C3H2v3n >>>>>>>> >>>>>>>> Do you have any idea where that code could be found??? >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> -- >>>>>>> Ta. >>>>>>> >>>>>>> >>>>>>> Mark Rauterkus Mark.Rauterkus at gmail.com >>>>>>> PPS Summer Dreamers' Swim and Water Polo Camp Head Coach >>>>>>> Pittsburgh Combined Water Polo Team >>>>>>> >>>>>>> http://Rauterkus.blogspot.com >>>>>>> http://FixPA.wikia.com >>>>>>> http://CLOH.wikia.com >>>>>>> 412 298 3432 = cell >>>>>>> >>>>>> >>>>>> >>>>> >>>> >>> >> > From richmondmathewson at gmail.com Tue Jun 25 13:51:02 2013 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 25 Jun 2013 20:51:02 +0300 Subject: 6.1 rc 1 on Linux (at least) In-Reply-To: References: <51C98782.601@gmail.com> Message-ID: <51C9D886.70808@gmail.com> On 06/25/2013 03:28 PM, John Dixon wrote: > Don't feel that it is just you Richmond... the same is happening on the Mac...:-) Well' sorry to tell you, but that does not make me feel "all warm and cuddly"! And what on the Windows front? This has got to be busted before the final release. Richmond. > > > I noticed this, yesterday, with the dp2 and it still holds true for > the rc1: on Linux: > > The script editor opens with SELECTED handles visible on the field > in which one types scripts, and one has to do a "nifty click-click" > on the revTools palette between Browse and Point to make > the script editor usable. > > From revdev at pdslabs.net Tue Jun 25 14:18:11 2013 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 25 Jun 2013 11:18:11 -0700 Subject: [on-rev] LC code output bumping against a server size limit? In-Reply-To: <51C8E95A.7000603@pdslabs.net> References: <51C8E95A.7000603@pdslabs.net> Message-ID: <51C9DEE3.8030102@pdslabs.net> I found a code efficiency that serves as a workaround to the problem for now. Apparently there is a server memory limit per thread, and my code was bumping against it when processing a large array. Last night I changed my problem code from something like this: get arrayEncode(tBigArrayA) put base64Encode(it) into it2 put urlEncode(it2) -- output to requesting app to something like this: put urlEncode(base64Encode(arrayEncode(tBigArrayA))) and the "internal server error" went away when processing the big array. So my original statements, in their uncompounded form, were easier for humans (at least for me) to comprehend but multiplied the memory resources needed for the code to execute successfully under large-data conditions. But by putting the functions together in a single compound statement, variables were eliminated which decreased resource demand, and the server's memory limit became a non-issue (at least for now). That's what I learned. Best - Phil Davis On 6/24/13 5:50 PM, Phil Davis wrote: > Hi Folks, > > My on-rev LC server code takes data from many files and organizes it > into an array. It then arrayEncodes and base64Encodes the array and > "puts" it to the requesting app. > > Normally the code works as expected, but when the encoded array > approaches 8 MB, an internal server error (500) occurs. It seems to > happen after the arrayEncode() executes and before (or when) > base64Encode() is executed. (The two functions are back-to-back in the > code.) Again, this only happens when the encoded array is approaching > 8 MB in size. > > Is there an Apache setting or maybe a Linux setting that enforces an 8 > MB limit on thread size or something similar? That seems the most > likely suspect of my problem to me. If so, can I increase the limit? > Can you tell me how? > > Thanks for your time. > -- Phil Davis From mark.rauterkus at gmail.com Tue Jun 25 14:54:28 2013 From: mark.rauterkus at gmail.com (Mark Rauterkus) Date: Tue, 25 Jun 2013 14:54:28 -0400 Subject: Where would this code be? Message-ID: Hi, Woops. Red faced. Sorry. The last message was NOT ready for this list as it was just some back and forth between a helper, Noah, and myself as he is facing an error that has been a hard to resolve. I encouraged him to go to this list. He is a forum kinda guy. But, I didn't nuke the address before hitting send. There is a former element in the application, an image, that is NOT there and it seems to be preventing him from saving. It is tossing errors. He can't find it or fix it. In other news, we've just released a new micro app. It is not 'perfect yet' but will do the job for now. http://Guard.CLOH.Org This android, Win, Max app allows parents and guardians to communicate to the lifeguards, staff and swim coaches about health concerns for their kids as we go on runs and swims as part of a school-based camp -- starting next week for 27+ days, 3 hours a day. The info that is sent to us is then put into a visible place in our camp attendance application. Sally has a bad sunburn should NOT be a message we encounter, as we'll use sunscreen, but, that is they type of issues we may see. Sorry..... -- Ta. Mark Rauterkus Mark.Rauterkus at gmail.com PPS Summer Dreamers' Swim and Water Polo Camp Head Coach Pittsburgh Combined Water Polo Team http://Rauterkus.blogspot.com http://FixPA.wikia.com http://CLOH.wikia.com 412 298 3432 = cell From jacque at hyperactivesw.com Tue Jun 25 15:26:58 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 25 Jun 2013 14:26:58 -0500 Subject: Where would this code be? In-Reply-To: References: Message-ID: <51C9EF02.9010607@hyperactivesw.com> On 6/25/13 1:54 PM, Mark Rauterkus wrote: > Hi, > > Woops. Red faced. Sorry. > > The last message was NOT ready for this list as it was just some back and > forth between a helper, Noah, and myself as he is facing an error that has > been a hard to resolve. That's okay, don't be embarrassed. You weren't talking about porn. At least, I don't think so. :) I looked at the error. It looks like a bad filename of an image, and might be stored in a custom property or somewhere else. Try using the Search and Replace tool (Edit menu) and search for that file name, or any distinctive part of the string, in both "custom" and "other". That might turn it up. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From paul at whitefeather.com Tue Jun 25 16:02:24 2013 From: paul at whitefeather.com (Paul Foraker) Date: Tue, 25 Jun 2013 13:02:24 -0700 Subject: What's with the spaces? Message-ID: A couple of days ago, I noticed that when I copied a cell from Excel and pasted it into a field in LiveCode (4.6 and 6.0.2), the data got padded with spaces. Not having time to debug it, I passed the data through a trim() function. Today, a script I use to parse text copied from an email into a database stack, broke. Looking in the Variables panel, I see all the variables are padded with spaces. The first thing I do in that script is put the Clipboard into a variable and convert it to an array. The keys of the array are fine. The elements are padded with 12 spaces before, none after. Going back to the Excel spreadsheet... when I copy a cell and paste it into BBEdit, no spaces. When I paste it into a LiveCode field, it gets padded (12 spaces before and after). My normal state of low grade bewilderment and befuddlement is seriously tweaked. Anyone have an idea of what's happening? From paul at whitefeather.com Tue Jun 25 16:12:32 2013 From: paul at whitefeather.com (Paul Foraker) Date: Tue, 25 Jun 2013 13:12:32 -0700 Subject: What's with the spaces? In-Reply-To: References: Message-ID: Correction, they're not spaces, but are non-breaking spaces (#160) coming from the email (Gmail account open in Chrome). They are spaces (#32) coming from Excel. On Tue, Jun 25, 2013 at 1:02 PM, Paul Foraker wrote: > A couple of days ago, I noticed that when I copied a cell from Excel and > pasted it into a field in LiveCode (4.6 and 6.0.2), the data got padded > with spaces. Not having time to debug it, I passed the data through a > trim() function. Today, a script I use to parse text copied from an email > into a database stack, broke. Looking in the Variables panel, I see all the > variables are padded with spaces. The first thing I do in that script is > put the Clipboard into a variable and convert it to an array. The keys of > the array are fine. The elements are padded with 12 spaces before, none > after. > > Going back to the Excel spreadsheet... when I copy a cell and paste it > into BBEdit, no spaces. When I paste it into a LiveCode field, it gets > padded (12 spaces before and after). > > My normal state of low grade bewilderment and befuddlement is seriously > tweaked. > > Anyone have an idea of what's happening? > > -- White Feather Software www.whitefeather.com Cell: 408-391-1480 From mcgrath3 at mac.com Tue Jun 25 16:31:04 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 25 Jun 2013 16:31:04 -0400 Subject: ios orientation question In-Reply-To: References: Message-ID: Lars, You can lock the orientation per card but not per element like a group. look up mobileLockOrientation and mobileUnlockOrientation in the dictionary. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jun 22, 2013, at 9:04 AM, Lars Brehmer wrote: > I am working on an iPad app that is so far only suitable in portrait orientation, but I want to add an element (group) that would need to be in landsape orientation. > > Is it possible to make the standalone with all orientations, but be able to block and unblock the orientation switch when moving between this element and all others? > > Cheers, > > Lars > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Tue Jun 25 17:09:14 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 26 Jun 2013 00:09:14 +0300 Subject: Free Buttons for use in Livecode projects Message-ID: <51CA06FA.9060105@gmail.com> Common symbols, English Letters, Cyrillic in 5 colours for Free download here: http://groups.yahoo.com/group/RMimages/ Richmond. From andrew at ctech.me Tue Jun 25 17:29:45 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Tue, 25 Jun 2013 16:29:45 -0500 Subject: LibRevCurl Message-ID: Hey Ya'll, Do any of you out there use libRevCurl from the late mark smith? I am trying to use it to get around the "previous request not completed" error mentioned on this list, but I just cannot get it to do much of anything. Is anyone using it with LC 5.5.4 successfully? I keep getting "libRevCurl error: runTillDone" or error in function handler on line 706. I can verify the path to curl is being found by libRevCurl and all that, i just can't actually get it make requests. I also notice a q() function being called several times but actually not found in the library itself. Does anyone have a newer version of this than 1.0.2b? -- Regards, Andrew Kluthe andrew at ctech.me From mcgrath3 at mac.com Tue Jun 25 21:30:20 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 25 Jun 2013 21:30:20 -0400 Subject: new password on-rev Message-ID: I have tried twice now to change my password in cPanel for my on-rev account and have been unsuccessful both times. The first time it locked me out and I had to get support to reset it for me. This time it just didn't do anything and my old password still worked. Has anyone else had trouble setting a new password on on-rev??? Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com From bonnmike at gmail.com Tue Jun 25 21:35:18 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 25 Jun 2013 19:35:18 -0600 Subject: new password on-rev In-Reply-To: References: Message-ID: Haven't had trouble setting one, but to get in I pretty much have to ignore the popover password window (cancel) it says failed, then log in to the regular form entries on the page that shows up afterwards. Have had to do this for a long time. The popup password part never works for me. On Tue, Jun 25, 2013 at 7:30 PM, Thomas McGrath III wrote: > I have tried twice now to change my password in cPanel for my on-rev > account and have been unsuccessful both times. The first time it locked me > out and I had to get support to reset it for me. This time it just didn't > do anything and my old password still worked. Has anyone else had trouble > setting a new password on on-rev??? > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Tue Jun 25 21:52:35 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 25 Jun 2013 18:52:35 -0700 Subject: new password on-rev In-Reply-To: References: Message-ID: <57729313538.20130625185235@ahsoftware.net> Tom- I haven't been able to log on my on-rev cpanel for months. Even had David reset my password and it didn't help. -- -Mark Wieder mwieder at ahsoftware.net From bonnmike at gmail.com Tue Jun 25 21:57:31 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 25 Jun 2013 19:57:31 -0600 Subject: new password on-rev In-Reply-To: <57729313538.20130625185235@ahsoftware.net> References: <57729313538.20130625185235@ahsoftware.net> Message-ID: Just curious. If you go to the login page ( https://odin.on-rev.com:2083/login/ for me) immediately hit cancel then login from the page that shows up, does it work for you? This is the only way i've been able to log in for quite a while now. On Tue, Jun 25, 2013 at 7:52 PM, Mark Wieder wrote: > Tom- > > I haven't been able to log on my on-rev cpanel for months. > Even had David reset my password and it didn't help. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jhj at jhj.com Tue Jun 25 23:46:43 2013 From: jhj at jhj.com (Jerry Jensen) Date: Tue, 25 Jun 2013 20:46:43 -0700 Subject: new password on-rev In-Reply-To: References: <57729313538.20130625185235@ahsoftware.net> Message-ID: <01F3AD11-C419-402C-8CC8-1FE16F2E167A@jhj.com> I'm on freyr, so it may be different. I simply go to http://on-rev.com and log in with my username and pw and it sends me to my cpanel on freyr. Does that work for anybody else? .Jerry On Jun 25, 2013, at 6:57 PM, Mike Bonner wrote: > Just curious. If you go to the login page ( > https://odin.on-rev.com:2083/login/ for me) immediately hit cancel then > login from the page that shows up, does it work for you? This is the only > way i've been able to log in for quite a while now. > > > On Tue, Jun 25, 2013 at 7:52 PM, Mark Wieder wrote: > >> Tom- >> >> I haven't been able to log on my on-rev cpanel for months. >> Even had David reset my password and it didn't help. >> >> -- >> -Mark Wieder >> mwieder at ahsoftware.net >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Wed Jun 26 00:05:05 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 26 Jun 2013 00:05:05 -0400 Subject: new password on-rev In-Reply-To: <01F3AD11-C419-402C-8CC8-1FE16F2E167A@jhj.com> References: <57729313538.20130625185235@ahsoftware.net> <01F3AD11-C419-402C-8CC8-1FE16F2E167A@jhj.com> Message-ID: <00ba01ce7222$576f9cb0$064ed610$@net> I use https://thor.on-rev.com:2083/ to access cpanel on Thor. I very rarely if ever have problems. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Jerry Jensen Sent: Tuesday, June 25, 2013 11:47 PM To: How to use LiveCode Subject: Re: new password on-rev I'm on freyr, so it may be different. I simply go to http://on-rev.com and log in with my username and pw and it sends me to my cpanel on freyr. Does that work for anybody else? .Jerry On Jun 25, 2013, at 6:57 PM, Mike Bonner wrote: > Just curious. If you go to the login page ( > https://odin.on-rev.com:2083/login/ for me) immediately hit cancel > then login from the page that shows up, does it work for you? This is > the only way i've been able to log in for quite a while now. > > > On Tue, Jun 25, 2013 at 7:52 PM, Mark Wieder wrote: > >> Tom- >> >> I haven't been able to log on my on-rev cpanel for months. >> Even had David reset my password and it didn't help. >> >> -- >> -Mark Wieder >> mwieder at ahsoftware.net >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Wed Jun 26 00:13:57 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 26 Jun 2013 00:13:57 -0400 Subject: Twitter, Facebook and LinkedIn HTTP APIs In-Reply-To: <01F3AD11-C419-402C-8CC8-1FE16F2E167A@jhj.com> References: <57729313538.20130625185235@ahsoftware.net> <01F3AD11-C419-402C-8CC8-1FE16F2E167A@jhj.com> Message-ID: <00bb01ce7223$9426b6b0$bc742410$@net> Has anybody used the http api interface for sending messages to any of these social media services? I want to include it in my new mobile app. I figured that the http api's would be a better mobile cross-platform solution. I would rather not reinvent the wheel in anyone has already done this. Thanks Team!! Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Jerry Jensen Sent: Tuesday, June 25, 2013 11:47 PM To: How to use LiveCode Subject: Re: new password on-rev I'm on freyr, so it may be different. I simply go to http://on-rev.com and log in with my username and pw and it sends me to my cpanel on freyr. Does that work for anybody else? .Jerry On Jun 25, 2013, at 6:57 PM, Mike Bonner wrote: > Just curious. If you go to the login page ( > https://odin.on-rev.com:2083/login/ for me) immediately hit cancel > then login from the page that shows up, does it work for you? This is > the only way i've been able to log in for quite a while now. > > > On Tue, Jun 25, 2013 at 7:52 PM, Mark Wieder wrote: > >> Tom- >> >> I haven't been able to log on my on-rev cpanel for months. >> Even had David reset my password and it didn't help. >> >> -- >> -Mark Wieder >> mwieder at ahsoftware.net >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Wed Jun 26 00:18:51 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 25 Jun 2013 21:18:51 -0700 Subject: new password on-rev In-Reply-To: References: <57729313538.20130625185235@ahsoftware.net> Message-ID: <56738089956.20130625211851@ahsoftware.net> Mike- Tuesday, June 25, 2013, 6:57:31 PM, you wrote: > Just curious. If you go to the login page ( > https://odin.on-rev.com:2083/login/ for me) immediately hit cancel then > login from the page that shows up, does it work for you? This is the only > way i've been able to log in for quite a while now. Nope. I'm on odin, so that gave me hope that maybe it would work. Still getting the rejection notice. -- -Mark Wieder mwieder at ahsoftware.net From jhj at jhj.com Wed Jun 26 00:43:59 2013 From: jhj at jhj.com (Jerry Jensen) Date: Tue, 25 Jun 2013 21:43:59 -0700 Subject: new password on-rev In-Reply-To: <00ba01ce7222$576f9cb0$064ed610$@net> References: <57729313538.20130625185235@ahsoftware.net> <01F3AD11-C419-402C-8CC8-1FE16F2E167A@jhj.com> <00ba01ce7222$576f9cb0$064ed610$@net> Message-ID: <40E822C0-B016-45F2-AB03-74ED198DB5A0@jhj.com> That works for me too (substituting freyr for thor). Its probably better because of https. .Jerry On Jun 25, 2013, at 9:05 PM, Ralph DiMola wrote: > > I use https://thor.on-rev.com:2083/ to access cpanel on Thor. I very rarely > if ever have problems. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of Jerry Jensen > Sent: Tuesday, June 25, 2013 11:47 PM > To: How to use LiveCode > Subject: Re: new password on-rev > > I'm on freyr, so it may be different. I simply go to http://on-rev.com and > log in with my username and pw and it sends me to my cpanel on freyr. Does > that work for anybody else? > .Jerry > > On Jun 25, 2013, at 6:57 PM, Mike Bonner wrote: > >> Just curious. If you go to the login page ( >> https://odin.on-rev.com:2083/login/ for me) immediately hit cancel >> then login from the page that shows up, does it work for you? This is >> the only way i've been able to log in for quite a while now. >> >> >> On Tue, Jun 25, 2013 at 7:52 PM, Mark Wieder > wrote: >> >>> Tom- >>> >>> I haven't been able to log on my on-rev cpanel for months. >>> Even had David reset my password and it didn't help. >>> >>> -- >>> -Mark Wieder >>> mwieder at ahsoftware.net >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From devin_asay at byu.edu Wed Jun 26 02:01:59 2013 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 26 Jun 2013 06:01:59 +0000 Subject: [ANN] LiveCode University Message-ID: <65C56540-DA40-416D-A773-8BB0AB5EF6F7@byu.edu> Fellow LiveCoders, At long last, with great help from Kevin, Caroline and the RunRev team, I have release LiveCode University. This interactive course is based on the Introduction to Programming course I've taught (using LiveCode, of course) here at BYU for many years. Check it out, refer your friends, buy copies for your children and pets! See RunRev's rollout page at http://university.livecode.com/?utm_campaign=lcu&utm_source=hs_email&utm_medium=email&utm_content=9285666&_hsenc=p2ANqtz-90BJQXqTiyS_dPsyOL2opI-2QDVlB3YnCu-MrdlmPhWeCT4dErn7ug5mouBCq1C93WQCKP0ssDT9NOe5AKv756X2Ev3w&_hsmi=9285666 Thanks to all here over the years who have been such a help and support in my learning process. Cheers! Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From janschenkel at yahoo.com Wed Jun 26 03:23:59 2013 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 26 Jun 2013 00:23:59 -0700 (PDT) Subject: [ANN] LiveCode University In-Reply-To: <65C56540-DA40-416D-A773-8BB0AB5EF6F7@byu.edu> References: <65C56540-DA40-416D-A773-8BB0AB5EF6F7@byu.edu> Message-ID: <1372231439.36621.YahooMailNeo@web141105.mail.bf1.yahoo.com> Congratulations, Devin - this is another major step forwards for LiveCode! I always appreciated the BYU LiveCode lessons website; especially the Unicode section as it sets me straight whenever I've taken a wrong turn :-) Cheers, Jan Schenkel. ? ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) ----- Original Message ----- > From: Devin Asay > To: How to use LiveCode > Cc: > Sent: Wednesday, June 26, 2013 8:01 AM > Subject: [ANN] LiveCode University > > Fellow LiveCoders, > > At long last, with great help from Kevin, Caroline and the RunRev team, I have > release LiveCode University. This interactive course is based on the > Introduction to Programming course I've taught (using LiveCode, of course) > here at BYU for many years. > > Check it out, refer your friends, buy copies for your children and pets! > > See RunRev's rollout page at > http://university.livecode.com/?utm_campaign=lcu&utm_source=hs_email&utm_medium=email&utm_content=9285666&_hsenc=p2ANqtz-90BJQXqTiyS_dPsyOL2opI-2QDVlB3YnCu-MrdlmPhWeCT4dErn7ug5mouBCq1C93WQCKP0ssDT9NOe5AKv756X2Ev3w&_hsmi=9285666 > > Thanks to all here over the years who have been such a help and support in my > learning process. > > Cheers! > > Devin > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Wed Jun 26 03:50:44 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 26 Jun 2013 10:50:44 +0300 Subject: [ANN] LiveCode University In-Reply-To: <65C56540-DA40-416D-A773-8BB0AB5EF6F7@byu.edu> References: <65C56540-DA40-416D-A773-8BB0AB5EF6F7@byu.edu> Message-ID: <51CA9D54.9060207@gmail.com> On 26/06/13 09:01, Devin Asay wrote: > Fellow LiveCoders, > > At long last, with great help from Kevin, Caroline and the RunRev team, I have release LiveCode University. This interactive course is based on the Introduction to Programming course I've taught (using LiveCode, of course) here at BYU for many years. > > Check it out, refer your friends, buy copies for your children and pets! > > See RunRev's rollout page at http://university.livecode.com/?utm_campaign=lcu&utm_source=hs_email&utm_medium=email&utm_content=9285666&_hsenc=p2ANqtz-90BJQXqTiyS_dPsyOL2opI-2QDVlB3YnCu-MrdlmPhWeCT4dErn7ug5mouBCq1C93WQCKP0ssDT9NOe5AKv756X2Ev3w&_hsmi=9285666 > > Thanks to all here over the years who have been such a help and support in my learning process. > > Cheers! > > Devin > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University > > _______________________________________________ > Very impressive. I downloaded the 10 day trial for Linux and the zip file seemed to contain only the LC community 6.0.2 installer (which didn't work). Presumably these are installers that contain additional components? I will see what I can do with the Mac version when I am home from work, this evening. Richmond. From richmondmathewson at gmail.com Wed Jun 26 03:53:40 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 26 Jun 2013 10:53:40 +0300 Subject: [ANN] LiveCode University In-Reply-To: <65C56540-DA40-416D-A773-8BB0AB5EF6F7@byu.edu> References: <65C56540-DA40-416D-A773-8BB0AB5EF6F7@byu.edu> Message-ID: <51CA9E04.7000208@gmail.com> On 26/06/13 09:01, Devin Asay wrote: > Fellow LiveCoders, > > At long last, with great help from Kevin, Caroline and the RunRev team, I have release LiveCode University. This interactive course is based on the Introduction to Programming course I've taught (using LiveCode, of course) here at BYU for many years. > > Check it out, refer your friends, buy copies for your children and pets! > > See RunRev's rollout page at http://university.livecode.com/?utm_campaign=lcu&utm_source=hs_email&utm_medium=email&utm_content=9285666&_hsenc=p2ANqtz-90BJQXqTiyS_dPsyOL2opI-2QDVlB3YnCu-MrdlmPhWeCT4dErn7ug5mouBCq1C93WQCKP0ssDT9NOe5AKv756X2Ev3w&_hsmi=9285666 > > Thanks to all here over the years who have been such a help and support in my learning process. > > Cheers! > > Devin > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University > > _______________________________________________ > Aha; the Windows version contains something called "LivecodeUniversity_setup.exe" I assume (???) that that file has accidently not been included in the Linux version. Richmond. From me at paulmaguire.me Wed Jun 26 07:36:27 2013 From: me at paulmaguire.me (Paul Maguire) Date: Wed, 26 Jun 2013 12:36:27 +0100 Subject: What's with the spaces? In-Reply-To: References: Message-ID: I noticed this too. The workaround for me was to kill them with a little function to delete junk characters. Or alternatively copy and paste into BBEdit, then copy and paste from there. Ack. Kind regards, Paul. From matthias_livecode_150811 at m-r-d.de Wed Jun 26 08:21:14 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 26 Jun 2013 14:21:14 +0200 Subject: [OT] Free iOS 6 / 7 icon templates for Photoshop Message-ID: <2873BF39-8820-433C-B21F-72D9744BF97E@m-r-d.de> Hi, at http://appicontemplate.com you find free Photoshop icon templates for iOS 6 and iOS 7 icons. Regards, Matthias From dave at businessplaninsight.com Wed Jun 26 08:23:37 2013 From: dave at businessplaninsight.com (Dave Kilroy2) Date: Wed, 26 Jun 2013 05:23:37 -0700 (PDT) Subject: new password on-rev In-Reply-To: <40E822C0-B016-45F2-AB03-74ED198DB5A0@jhj.com> References: <57729313538.20130625185235@ahsoftware.net> <01F3AD11-C419-402C-8CC8-1FE16F2E167A@jhj.com> <00ba01ce7222$576f9cb0$064ed610$@net> <40E822C0-B016-45F2-AB03-74ED198DB5A0@jhj.com> Message-ID: <1372249417283-4666817.post@n4.nabble.com> I haven't been able to login via on-rev.com since they moved me to pancake and have been using https://pancake.on-rev.com:2083 for several months - anyone know why we have to log in this way? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/new-password-on-rev-tp4666804p4666817.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Wed Jun 26 08:52:49 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 26 Jun 2013 14:52:49 +0200 Subject: LibRevCurl In-Reply-To: References: Message-ID: <51CAE421.4060904@economy-x-talk.com> Hi Andrew, I just had a similar problem with a project for a customer. I'm not using LibRevCurl, but I did run into the previous request error. This is how I solved it: put bla into url foo if the result contains "previous request" then beep answer "Please, go back and try again" // or whatever suits your project send "resetAll" to me in 0 millisecs end if There seems to be a problem with recent version of LC, which cause LC to lock up if resetAll is used directly. I use the send command to solve this. The q() function is probably: function q theString return quote & theString & quote end q -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 6/25/2013 23:29, Andrew Kluthe wrote: > Hey Ya'll, > > Do any of you out there use libRevCurl from the late mark smith? > > I am trying to use it to get around the "previous request not completed" > error mentioned on this list, but I just cannot get it to do much of > anything. > > Is anyone using it with LC 5.5.4 successfully? > > I keep getting "libRevCurl error: runTillDone" or error in function handler > on line 706. > > I can verify the path to curl is being found by libRevCurl and all that, i > just can't actually get it make requests. > > I also notice a q() function being called several times but actually not > found in the library itself. > > Does anyone have a newer version of this than 1.0.2b? > From rjb at robelko.com Wed Jun 26 09:09:49 2013 From: rjb at robelko.com (Robert Brenstein) Date: Wed, 26 Jun 2013 15:09:49 +0200 Subject: new password on-rev In-Reply-To: <1372249417283-4666817.post@n4.nabble.com> References: <57729313538.20130625185235@ahsoftware.net> <01F3AD11-C419-402C-8CC8-1FE16F2E167A@jhj.com> <00ba01ce7222$576f9cb0$064ed610$@net> <40E822C0-B016-45F2-AB03-74ED198DB5A0@jhj.com> <1372249417283-4666817.post@n4.nabble.com> Message-ID: On 26.06.2013 at 5:23 Uhr -0700 Dave Kilroy2 apparently wrote: >I haven't been able to login via on-rev.com since they >moved me to pancake and have been using https://pancake.on-rev.com:2083 > for several months - anyone know why we >have to log in this way? > Your problem is that the database record which directs the On-Rev homepage to the correct server for your account did not get updated after the migration. You need to file a support ticket for someone to fix it. Robert From devin_asay at byu.edu Wed Jun 26 10:05:13 2013 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 26 Jun 2013 14:05:13 +0000 Subject: [ANN] LiveCode University In-Reply-To: <51CA9E04.7000208@gmail.com> References: <65C56540-DA40-416D-A773-8BB0AB5EF6F7@byu.edu>, <51CA9E04.7000208@gmail.com> Message-ID: <9FB00A53-73C3-4A54-8FC9-1A3FFC437BF5@byu.edu> Richmond, My apologies. In the interest of getting the application out the door in a timely way I haven't yet done a Linux build. Now that the Mac and Windows versions seem to be solid, I'll turn my attention to building and testing for Linux. We'll notify the list when it's ready. Regards, Devin Sent from my iPhone On Jun 26, 2013, at 1:59 AM, "Richmond" wrote: > On 26/06/13 09:01, Devin Asay wrote: >> Fellow LiveCoders, >> >> At long last, with great help from Kevin, Caroline and the RunRev team, I have release LiveCode University. This interactive course is based on the Introduction to Programming course I've taught (using LiveCode, of course) here at BYU for many years. >> >> Check it out, refer your friends, buy copies for your children and pets! >> >> See RunRev's rollout page at http://university.livecode.com/?utm_campaign=lcu&utm_source=hs_email&utm_medium=email&utm_content=9285666&_hsenc=p2ANqtz-90BJQXqTiyS_dPsyOL2opI-2QDVlB3YnCu-MrdlmPhWeCT4dErn7ug5mouBCq1C93WQCKP0ssDT9NOe5AKv756X2Ev3w&_hsmi=9285666 >> >> Thanks to all here over the years who have been such a help and support in my learning process. >> >> Cheers! >> >> Devin >> >> Devin Asay >> Humanities Technology and Research Support Center >> Brigham Young University >> >> _______________________________________________ > > Aha; the Windows version contains something called "LivecodeUniversity_setup.exe" > > I assume (???) that that file has accidently not been included in the Linux version. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Wed Jun 26 10:12:57 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 26 Jun 2013 10:12:57 -0400 Subject: 6.0.2 and Apple Message-ID: <003e01ce7277$42274e70$c675eb50$@net> Anyone able to submit an iOS app to Apple using 6.0.2? I can't get past the Application Loader because of the UUID API error. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net Phone: 518-636-3998 Ex:11 Cell: 518-796-9332 From skip at magicgate.com Wed Jun 26 10:45:21 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Wed, 26 Jun 2013 10:45:21 -0400 Subject: [OT] Free iOS 6 / 7 icon templates for Photoshop In-Reply-To: <2873BF39-8820-433C-B21F-72D9744BF97E@m-r-d.de> References: <2873BF39-8820-433C-B21F-72D9744BF97E@m-r-d.de> Message-ID: Thank you for the resource! SKIP On Wed, Jun 26, 2013 at 8:21 AM, Matthias Rebbe < matthias_livecode_150811 at m-r-d.de> wrote: > Hi, > > at http://appicontemplate.com > > you find free Photoshop icon templates for iOS 6 and iOS 7 icons. > > Regards, > > Matthias > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From lvhdgc7 at gmail.com Wed Jun 26 10:51:56 2013 From: lvhdgc7 at gmail.com (tbodine) Date: Wed, 26 Jun 2013 07:51:56 -0700 (PDT) Subject: [ANN] LiveCode University In-Reply-To: <65C56540-DA40-416D-A773-8BB0AB5EF6F7@byu.edu> References: <65C56540-DA40-416D-A773-8BB0AB5EF6F7@byu.edu> Message-ID: <1372258316956-4666823.post@n4.nabble.com> Looks like a great new option! Is the course based on a particular generation of LiveCode or does it span several (v3.x to v6.x)? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-LiveCode-University-tp4666813p4666823.html Sent from the Revolution - User mailing list archive at Nabble.com. From devin_asay at byu.edu Wed Jun 26 11:13:44 2013 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 26 Jun 2013 15:13:44 +0000 Subject: [ANN] LiveCode University In-Reply-To: <1372258316956-4666823.post@n4.nabble.com> References: <65C56540-DA40-416D-A773-8BB0AB5EF6F7@byu.edu> <1372258316956-4666823.post@n4.nabble.com> Message-ID: <90AF57A5-FE86-4913-86FD-69FBB9EF9211@byu.edu> I try to keep it fairly generic, but the visuals and screen shots up to date with the current version. The concepts and skills taught are mostly independent of version. Devin On Jun 26, 2013, at 8:51 AM, tbodine wrote: > Looks like a great new option! Is the course based on a particular generation > of LiveCode or does it span several (v3.x to v6.x)? > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-LiveCode-University-tp4666813p4666823.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Devin Asay Office of Digital Humanities Brigham Young University From lfredricks at proactive-intl.com Wed Jun 26 11:44:16 2013 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Wed, 26 Jun 2013 08:44:16 -0700 Subject: Free Valentina Studio, Valentina DB & Reports for LiveCode Upgraded to 5.3 Message-ID: Hello all, You can scroll down for the long form. We've shipped Valentina Studio 5.3, the free database management tool for MySQL (including MariaDB), PostgreSQL, SQLite and of course, Valentina. Also we've shipped updates to all other products, including: - Valentina Reports ADK for LiveCode: Embed formatted reports with charts, graphs, barcodes and more in your LiveCode projects - Valentina DB ADK for LiveCode: Embed the fastest db for LiveCode in your LiveCode applications - Valentina Server (with FREE version): serves both Valentina DB and Reports (reports also works with other databases) Have a great week! Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server ====================================================== Paradigma Software announces the release of Valentina Studio 5.3 and updates for their enterprise class Valentina Server and developer products Valentina DB ADK and Valentina Reports ADK. New Valentina Studio 5.3 Features -Now Find/Replace within SQL Results -Schema Editor shows groups with Related objects for selection on Diagrams -Query Builder can now set an alias for tables -Undo/Redo operations for Query Builder -Query Builder can use Views to generate queries -Directly copy records from tables to CSV or SQL -Improved language highlights with PostgreSQL Improvements also added for Reports/Page Footers, Undo in Diagram editing, Duplicating selected records in Data Editor, ODBC with FileMaker DB, mismatching field and other issues with MySQL. Valentina Studio is free; Valentina Studio Pro adds SQLDIFF, Report Designer and other advanced features for $199 on Mac OS X, Windows and Linux. Valentina Server and also the developer products Valentina Reports ADK and Valentina DB ADK were also updated with all underlying fixes and improvements. Valentina Server incorporates enterprise class, server-side report generation as well as inclusion of the ultra-fast, object-relational Valentina database. The reporting features of Valentina Server also work with other database servers such as MySQL or PostgreSQL. A free version of Valentina Server is available. Valentina Reports ADK allows developers to embed professional reporting features, including charts, graphs and other highly structured data display in their applications built with the most popular development environments on Mac OS X, Linux and Windows. The rich feature set includes support for popular databases including MySQL / MariaDB, PostgreSQL, SQLite and Valentina DB. Valentina Reports ADK starts at $199 for royalty free distribution. Valentina DB ADK allows developers to embed the ultra-fast, object relational database engine into their applications built with the most popular development environments on Mac OS X, Linux and Windows. Valentina DB ADK starts at $199 for royalty free distribution. The updates are immediately available for download on their website at http://www.valentina-db.com. From richmondmathewson at gmail.com Wed Jun 26 12:30:06 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 26 Jun 2013 19:30:06 +0300 Subject: [ANN] LiveCode University In-Reply-To: <9FB00A53-73C3-4A54-8FC9-1A3FFC437BF5@byu.edu> References: <65C56540-DA40-416D-A773-8BB0AB5EF6F7@byu.edu>, <51CA9E04.7000208@gmail.com> <9FB00A53-73C3-4A54-8FC9-1A3FFC437BF5@byu.edu> Message-ID: <51CB170E.10305@gmail.com> On 06/26/2013 05:05 PM, Devin Asay wrote: > Richmond, > > My apologies. In the interest of getting the application out the door in a timely way I haven't yet done a Linux build. Now that the Mac and Windows versions seem to be solid, I'll turn my attention to building and testing for Linux. We'll notify the list when it's ready. That is understandable as Linux, at the moment at least, is fairly low down the pecking order. What is not understandable is that the 'University' webpage provides a Linux download that is not what it seems and is a bit misleading. > > Regards, > > Devin > > Sent from my iPhone > > On Jun 26, 2013, at 1:59 AM, "Richmond" wrote: > >> On 26/06/13 09:01, Devin Asay wrote: >>> Fellow LiveCoders, >>> >>> At long last, with great help from Kevin, Caroline and the RunRev team, I have release LiveCode University. This interactive course is based on the Introduction to Programming course I've taught (using LiveCode, of course) here at BYU for many years. >>> >>> Check it out, refer your friends, buy copies for your children and pets! >>> >>> See RunRev's rollout page at http://university.livecode.com/?utm_campaign=lcu&utm_source=hs_email&utm_medium=email&utm_content=9285666&_hsenc=p2ANqtz-90BJQXqTiyS_dPsyOL2opI-2QDVlB3YnCu-MrdlmPhWeCT4dErn7ug5mouBCq1C93WQCKP0ssDT9NOe5AKv756X2Ev3w&_hsmi=9285666 >>> >>> Thanks to all here over the years who have been such a help and support in my learning process. >>> >>> Cheers! >>> >>> Devin >>> >>> Devin Asay >>> Humanities Technology and Research Support Center >>> Brigham Young University >>> >>> _______________________________________________ >> Aha; the Windows version contains something called "LivecodeUniversity_setup.exe" >> >> I assume (???) that that file has accidently not been included in the Linux version. >> >> Richmond. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jvalle at 1234web.net Wed Jun 26 12:31:38 2013 From: jvalle at 1234web.net (Jose Valle) Date: Wed, 26 Jun 2013 18:31:38 +0200 Subject: Off topic, looking for a Live Code instructor Message-ID: <109A0310-1475-401A-9094-897F6A43E7BF@1234web.net> Hello, we are looking somebody able to teach us program in LiveCode. Something practical doing basis of a real application to realize how to deal with cross device apps, databases, interact with servers. 20 hours online, thru Skype or any other way could be ok. Spanish speaking better, please send a private message to my email address telling me time availability and your rates. Thanks Jose From richmondmathewson at gmail.com Wed Jun 26 12:32:33 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 26 Jun 2013 19:32:33 +0300 Subject: [OT] Free iOS 6 / 7 icon templates for Photoshop In-Reply-To: <2873BF39-8820-433C-B21F-72D9744BF97E@m-r-d.de> References: <2873BF39-8820-433C-B21F-72D9744BF97E@m-r-d.de> Message-ID: <51CB17A1.3090101@gmail.com> On 06/26/2013 03:21 PM, Matthias Rebbe wrote: > Hi, > > at http://appicontemplate.com > > you find free Photoshop icon templates for iOS 6 and iOS 7 icons. > > Regards, > > Matthias > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Super; and they are openable and usable in GIMP as well! Richmond. From harrison at all-auctions.com Wed Jun 26 12:38:52 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Wed, 26 Jun 2013 12:38:52 -0400 Subject: 6.0.2 and Apple In-Reply-To: <003e01ce7277$42274e70$c675eb50$@net> References: <003e01ce7277$42274e70$c675eb50$@net> Message-ID: Hi Ralph, I submitted an app a few weeks ago with commercial 6.0.2 build 1521 and had no problems with the Application Loader. Make sure you have the current build. Cheers, Rick On Jun 26, 2013, at 10:12 AM, Ralph DiMola wrote: > Anyone able to submit an iOS app to Apple using 6.0.2? I can't get past the > Application Loader because of the UUID API error. > > > > Ralph DiMola > > IT Director > > Evergreen Information Services > > rdimola at evergreeninfo.net > > Phone: 518-636-3998 Ex:11 > > Cell: 518-796-9332 > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From skip at magicgate.com Wed Jun 26 13:24:22 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Wed, 26 Jun 2013 13:24:22 -0400 Subject: Free Valentina Studio, Valentina DB & Reports for LiveCode Upgraded to 5.3 In-Reply-To: References: Message-ID: Any problems reported with VServer and Win7 running as a service? It immediately stops after the service starts up. (for me) SKIP On Wed, Jun 26, 2013 at 11:44 AM, Lynn Fredricks < lfredricks at proactive-intl.com> wrote: > Hello all, > > You can scroll down for the long form. We've shipped Valentina Studio 5.3, > the free database management tool for MySQL (including MariaDB), > PostgreSQL, > SQLite and of course, Valentina. Also we've shipped updates to all other > products, including: > > - Valentina Reports ADK for LiveCode: Embed formatted reports with charts, > graphs, barcodes and more in your LiveCode projects > > - Valentina DB ADK for LiveCode: Embed the fastest db for LiveCode in your > LiveCode applications > > - Valentina Server (with FREE version): serves both Valentina DB and > Reports > (reports also works with other databases) > > Have a great week! > > Best regards, > > Lynn Fredricks > President > Paradigma Software > http://www.paradigmasoft.com > > Valentina SQL Server: The Ultra-fast, Royalty Free Database Server > > > > ====================================================== > > Paradigma Software announces the release of Valentina Studio 5.3 and > updates > for their enterprise class Valentina Server and developer products > Valentina > DB ADK and Valentina Reports ADK. > > New Valentina Studio 5.3 Features > > -Now Find/Replace within SQL Results > -Schema Editor shows groups with Related objects for selection on Diagrams > -Query Builder can now set an alias for tables > -Undo/Redo operations for Query Builder > -Query Builder can use Views to generate queries > -Directly copy records from tables to CSV or SQL > -Improved language highlights with PostgreSQL > > > Improvements also added for Reports/Page Footers, Undo in Diagram editing, > Duplicating selected records in Data Editor, ODBC with FileMaker DB, > mismatching field and other issues with MySQL. > > Valentina Studio is free; Valentina Studio Pro adds SQLDIFF, Report > Designer > and other advanced features for $199 on Mac OS X, Windows and Linux. > Valentina Server and also the developer products Valentina Reports ADK and > Valentina DB ADK were also updated with all underlying fixes and > improvements. > > Valentina Server incorporates enterprise class, server-side report > generation as well as inclusion of the ultra-fast, object-relational > Valentina database. The reporting features of Valentina Server also work > with other database servers such as MySQL or PostgreSQL. A free version of > Valentina Server is available. > > Valentina Reports ADK allows developers to embed professional reporting > features, including charts, graphs and other highly structured data display > in their applications built with the most popular development environments > on Mac OS X, Linux and Windows. The rich feature set includes support for > popular databases including MySQL / MariaDB, PostgreSQL, SQLite and > Valentina DB. Valentina Reports ADK starts at $199 for royalty free > distribution. > > Valentina DB ADK allows developers to embed the ultra-fast, object > relational database engine into their applications built with the most > popular development environments on Mac OS X, Linux and Windows. Valentina > DB ADK starts at $199 for royalty free distribution. > > The updates are immediately available for download on their website at > http://www.valentina-db.com. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From MikeKerner at roadrunner.com Wed Jun 26 13:27:55 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 26 Jun 2013 13:27:55 -0400 Subject: OOH! Here are a couple of cool ios7 features that I hope LC takes advantage of! Message-ID: www.apple.com/ios/ios7/business/ 1) "Managed Open In" - can make your data only openable in your app, which takes the sandbox (which was already really good) even further 2) Per app VPN 3) App Data Protection is now automatic, no need to set it for your app. -- 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." From rdimola at evergreeninfo.net Wed Jun 26 13:51:43 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 26 Jun 2013 13:51:43 -0400 Subject: 6.0.2 and Apple In-Reply-To: References: <003e01ce7277$42274e70$c675eb50$@net> Message-ID: <006501ce7295$d2559240$7700b6c0$@net> Rick, Yep, I'm running 1521. I have no problems with 5.5.5. I'm Running OS X 10.8.4. Could it be my Xcode recipe? In this order on the iOS SDKs prefs with a green box: 4.5.2 4.4.1 4.6 4.2 Thanks Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Rick Harrison Sent: Wednesday, June 26, 2013 12:39 PM To: How to use LiveCode Subject: Re: 6.0.2 and Apple Hi Ralph, I submitted an app a few weeks ago with commercial 6.0.2 build 1521 and had no problems with the Application Loader. Make sure you have the current build. Cheers, Rick On Jun 26, 2013, at 10:12 AM, Ralph DiMola wrote: > Anyone able to submit an iOS app to Apple using 6.0.2? I can't get > past the Application Loader because of the UUID API error. > > > > Ralph DiMola > > IT Director > > Evergreen Information Services > > rdimola at evergreeninfo.net > > Phone: 518-636-3998 Ex:11 > > Cell: 518-796-9332 > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ruslan_zasukhin at valentina-db.com Wed Jun 26 13:57:30 2013 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Wed, 26 Jun 2013 20:57:30 +0300 Subject: Free Valentina Studio, Valentina DB & Reports for LiveCode Upgraded to 5.3 In-Reply-To: Message-ID: On 6/26/13 8:24 PM, "Magicgate Software - Skip Kimpel" wrote: > Any problems reported with VServer and Win7 running as a service? It > immediately stops after the service starts up. (for me) Hi Skip, You need request free license file for it via our Online Store. Then drop it into folder Vserver/licenses And start VServer -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From skip at magicgate.com Wed Jun 26 14:02:11 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Wed, 26 Jun 2013 14:02:11 -0400 Subject: Free Valentina Studio, Valentina DB & Reports for LiveCode Upgraded to 5.3 In-Reply-To: References: Message-ID: That was it... thank you so much! SKIP On Wed, Jun 26, 2013 at 1:57 PM, Ruslan Zasukhin < ruslan_zasukhin at valentina-db.com> wrote: > On 6/26/13 8:24 PM, "Magicgate Software - Skip Kimpel" > > wrote: > > > Any problems reported with VServer and Win7 running as a service? It > > immediately stops after the service starts up. (for me) > > Hi Skip, > > You need request free license file for it via our > Online Store. > > > Then drop it into folder > Vserver/licenses > > > And start VServer > > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From skip at magicgate.com Wed Jun 26 14:12:54 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Wed, 26 Jun 2013 14:12:54 -0400 Subject: Free Valentina Studio, Valentina DB & Reports for LiveCode Upgraded to 5.3 In-Reply-To: References: Message-ID: BTW, I would LOVE to see a VStudio for iPad, or at least a version of it to connect to databases, browse data, structures,etc. I use an app DB Designer that I would love to see in Valentina fashion... I use it for creating databases while on the road. Allows for real quick creation when I get back to the office by exporting the SQL and executing it on my office machine. One can only hope for true portability, right? SKIP On Wed, Jun 26, 2013 at 2:02 PM, Magicgate Software - Skip Kimpel < skip at magicgate.com> wrote: > That was it... thank you so much! > > > SKIP > > > On Wed, Jun 26, 2013 at 1:57 PM, Ruslan Zasukhin < > ruslan_zasukhin at valentina-db.com> wrote: > >> On 6/26/13 8:24 PM, "Magicgate Software - Skip Kimpel" < >> skip at magicgate.com> >> wrote: >> >> > Any problems reported with VServer and Win7 running as a service? It >> > immediately stops after the service starts up. (for me) >> >> Hi Skip, >> >> You need request free license file for it via our >> Online Store. >> >> >> Then drop it into folder >> Vserver/licenses >> >> >> And start VServer >> >> >> >> -- >> Best regards, >> >> Ruslan Zasukhin >> VP Engineering and New Technology >> Paradigma Software, Inc >> >> Valentina - Joining Worlds of Information >> http://www.paradigmasoft.com >> >> [I feel the need: the need for speed] >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From richmondmathewson at gmail.com Wed Jun 26 15:07:24 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 26 Jun 2013 22:07:24 +0300 Subject: Free Buttons for use in Livecode projects In-Reply-To: <51CA06FA.9060105@gmail.com> References: <51CA06FA.9060105@gmail.com> Message-ID: <51CB3BEC.4040308@gmail.com> On 06/26/2013 12:09 AM, Richmond wrote: > Common symbols, English Letters, Cyrillic in 5 colours for Free download > here: http://groups.yahoo.com/group/RMimages/ > > Richmond. I have just uploaded my "Button_Pump" stack for those of you who want to make your own button images: http://tech.groups.yahoo.com/group/RMimages/ http://forums.runrev.com/index.php / Off-Topic / Free Buttons Richmond. From jiml at netrin.com Wed Jun 26 15:13:15 2013 From: jiml at netrin.com (Jim Lambert) Date: Wed, 26 Jun 2013 12:13:15 -0700 Subject: [on-rev] LC code output bumping against a server size limit? In-Reply-To: References: Message-ID: Phil wrote: > ... by putting the functions together in a single compound > statement, variables were eliminated which decreased resource demand, > and the server's memory limit became a non-issue (at least for now). > > That's what I learned. Phil, Very interesting. Makes sense. And good to remember even for non-server-based projects. Thanks, Jim Lambert From ruslan_zasukhin at valentina-db.com Wed Jun 26 15:53:20 2013 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Wed, 26 Jun 2013 22:53:20 +0300 Subject: Free Valentina Studio, Valentina DB & Reports for LiveCode Upgraded to 5.3 In-Reply-To: Message-ID: On 6/26/13 9:12 PM, "Magicgate Software - Skip Kimpel" wrote: > BTW, I would LOVE to see a VStudio for iPad, or at least a version of it to > connect to databases, browse data, structures,etc. > I use an app DB > Designer that I would love to see in Valentina fashion... I use it for > creating databases while on the road. Allows for real quick creation when > I get back to the office by exporting the SQL and executing it on my office > machine. > > One can only hope for true portability, right? We have iValentina for iphone and iPad But it is only for Valentina Servers. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From skip at magicgate.com Wed Jun 26 16:04:19 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Wed, 26 Jun 2013 16:04:19 -0400 Subject: Free Valentina Studio, Valentina DB & Reports for LiveCode Upgraded to 5.3 In-Reply-To: References: Message-ID: Yep, that I have... would love to see that expanded some day. Keep up the good work over there! SKIP On Wed, Jun 26, 2013 at 3:53 PM, Ruslan Zasukhin < ruslan_zasukhin at valentina-db.com> wrote: > On 6/26/13 9:12 PM, "Magicgate Software - Skip Kimpel" > > wrote: > > > BTW, I would LOVE to see a VStudio for iPad, or at least a version of it > to > > connect to databases, browse data, structures,etc. > > > I use an app DB > > Designer that I would love to see in Valentina fashion... I use it for > > creating databases while on the road. Allows for real quick creation > when > > I get back to the office by exporting the SQL and executing it on my > office > > machine. > > > > One can only hope for true portability, right? > > We have iValentina for iphone and iPad > But it is only for Valentina Servers. > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From matthias_livecode_150811 at m-r-d.de Wed Jun 26 16:26:01 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 26 Jun 2013 22:26:01 +0200 Subject: 6.0.2 and Apple In-Reply-To: <006501ce7295$d2559240$7700b6c0$@net> References: <003e01ce7277$42274e70$c675eb50$@net> <006501ce7295$d2559240$7700b6c0$@net> Message-ID: <2F41E679-A3F9-4D13-ADF6-E4889DE61D18@m-r-d.de> Hi, ran into this just a few minutes ago. I am using LC 6.0.2 commercial with xCode 4.6.2. I tried to build for 5.0 or later and also for 6.1or later. iTunesConnect tells me that the app contains non-public API usage. And that apps are not permitted to access the udid and so on... So anyone out there with a solution is more than welcomed. Regards, Matthias Am 26.06.2013 um 19:51 schrieb Ralph DiMola : > Rick, > > Yep, I'm running 1521. I have no problems with 5.5.5. I'm Running OS X > 10.8.4. Could it be my Xcode recipe? > > In this order on the iOS SDKs prefs with a green box: > 4.5.2 > 4.4.1 > 4.6 > 4.2 > > Thanks > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of Rick Harrison > Sent: Wednesday, June 26, 2013 12:39 PM > To: How to use LiveCode > Subject: Re: 6.0.2 and Apple > > Hi Ralph, > > I submitted an app a few weeks ago with commercial 6.0.2 build 1521 and had > no problems with the Application Loader. > > Make sure you have the current build. > > Cheers, > > Rick > > On Jun 26, 2013, at 10:12 AM, Ralph DiMola > wrote: > >> Anyone able to submit an iOS app to Apple using 6.0.2? I can't get >> past the Application Loader because of the UUID API error. >> >> >> >> Ralph DiMola >> >> IT Director >> >> Evergreen Information Services >> >> rdimola at evergreeninfo.net >> >> Phone: 518-636-3998 Ex:11 >> >> Cell: 518-796-9332 >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revdev at pdslabs.net Wed Jun 26 16:35:44 2013 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 26 Jun 2013 13:35:44 -0700 Subject: [on-rev] LC code output bumping against a server size limit? In-Reply-To: References: Message-ID: <51CB50A0.3010808@pdslabs.net> Hi Jim, Yes, interesting to me too. I had never run into this before. I wrote support and Heather responded: > Dear Phil, > > Thank you for your request. Yes, this could be a server limit. If you go here: > > http://www.watters.ws/mediawiki/index.php/Use_custom_php.ini_file_with_suPHP > > You will find some instructions which should enable you to set this for yourself. > Please let me know if you have any difficulty or if this turns out not to be the > issue. > > Regards, > > Heather So I'll take a look at this link and see what I can do with server settings. I know you can alter the default PHP settings by putting a custom php.ini file (containing only the settings you want to change) in the directory that holds your php page, and it looks like the above link tells how to do something similar on an on-rev server. Best - Phil On 6/26/13 12:13 PM, Jim Lambert wrote: > Phil wrote: > >> ... by putting the functions together in a single compound >> statement, variables were eliminated which decreased resource demand, >> and the server's memory limit became a non-issue (at least for now). >> >> That's what I learned. > Phil, > > Very interesting. Makes sense. And good to remember even for non-server-based projects. > > Thanks, > Jim Lambert > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From rdimola at evergreeninfo.net Wed Jun 26 16:38:21 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 26 Jun 2013 16:38:21 -0400 Subject: 6.0.2 and Apple In-Reply-To: <2F41E679-A3F9-4D13-ADF6-E4889DE61D18@m-r-d.de> References: <003e01ce7277$42274e70$c675eb50$@net> <006501ce7295$d2559240$7700b6c0$@net> <2F41E679-A3F9-4D13-ADF6-E4889DE61D18@m-r-d.de> Message-ID: <009a01ce72ad$19810e80$4c832b80$@net> Matthias, I'm getting the error right out of the "Application Loader". The upload never happens. Is this what you see? I'm using 4.6 not 4.6.2 I wonder if I should update to 4.6.2 from 4.6. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Matthias Rebbe Sent: Wednesday, June 26, 2013 4:26 PM To: How to use LiveCode Subject: Re: 6.0.2 and Apple Hi, ran into this just a few minutes ago. I am using LC 6.0.2 commercial with xCode 4.6.2. I tried to build for 5.0 or later and also for 6.1or later. iTunesConnect tells me that the app contains non-public API usage. And that apps are not permitted to access the udid and so on... So anyone out there with a solution is more than welcomed. Regards, Matthias Am 26.06.2013 um 19:51 schrieb Ralph DiMola : > Rick, > > Yep, I'm running 1521. I have no problems with 5.5.5. I'm Running OS X > 10.8.4. Could it be my Xcode recipe? > > In this order on the iOS SDKs prefs with a green box: > 4.5.2 > 4.4.1 > 4.6 > 4.2 > > Thanks > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf Of Rick Harrison > Sent: Wednesday, June 26, 2013 12:39 PM > To: How to use LiveCode > Subject: Re: 6.0.2 and Apple > > Hi Ralph, > > I submitted an app a few weeks ago with commercial 6.0.2 build 1521 > and had no problems with the Application Loader. > > Make sure you have the current build. > > Cheers, > > Rick > > On Jun 26, 2013, at 10:12 AM, Ralph DiMola > wrote: > >> Anyone able to submit an iOS app to Apple using 6.0.2? I can't get >> past the Application Loader because of the UUID API error. >> >> >> >> Ralph DiMola >> >> IT Director >> >> Evergreen Information Services >> >> rdimola at evergreeninfo.net >> >> Phone: 518-636-3998 Ex:11 >> >> Cell: 518-796-9332 >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at 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 at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Wed Jun 26 16:40:02 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 26 Jun 2013 22:40:02 +0200 Subject: 6.0.2 and Apple In-Reply-To: <009a01ce72ad$19810e80$4c832b80$@net> References: <003e01ce7277$42274e70$c675eb50$@net> <006501ce7295$d2559240$7700b6c0$@net> <2F41E679-A3F9-4D13-ADF6-E4889DE61D18@m-r-d.de> <009a01ce72ad$19810e80$4c832b80$@net> Message-ID: <0580AA06-B7A2-418F-A121-D7948A016EF9@m-r-d.de> Yes, application loader sends the api usage to apple, after that i get the error messages. Matthias Am 26.06.2013 um 22:38 schrieb Ralph DiMola : > Matthias, > > I'm getting the error right out of the "Application Loader". The upload > never happens. Is this what you see? > > I'm using 4.6 not 4.6.2 > I wonder if I should update to 4.6.2 from 4.6. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of Matthias Rebbe > Sent: Wednesday, June 26, 2013 4:26 PM > To: How to use LiveCode > Subject: Re: 6.0.2 and Apple > > Hi, > > ran into this just a few minutes ago. > I am using LC 6.0.2 commercial with xCode 4.6.2. > I tried to build for 5.0 or later and also for 6.1or later. > > iTunesConnect tells me that the app contains non-public API usage. And that > apps are not permitted to access the udid and so on... > > So anyone out there with a solution is more than welcomed. > > Regards, > > Matthias > > > Am 26.06.2013 um 19:51 schrieb Ralph DiMola : > >> Rick, >> >> Yep, I'm running 1521. I have no problems with 5.5.5. I'm Running OS X >> 10.8.4. Could it be my Xcode recipe? >> >> In this order on the iOS SDKs prefs with a green box: >> 4.5.2 >> 4.4.1 >> 4.6 >> 4.2 >> >> Thanks >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> rdimola at evergreeninfo.net >> >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >> Behalf Of Rick Harrison >> Sent: Wednesday, June 26, 2013 12:39 PM >> To: How to use LiveCode >> Subject: Re: 6.0.2 and Apple >> >> Hi Ralph, >> >> I submitted an app a few weeks ago with commercial 6.0.2 build 1521 >> and had no problems with the Application Loader. >> >> Make sure you have the current build. >> >> Cheers, >> >> Rick >> >> On Jun 26, 2013, at 10:12 AM, Ralph DiMola >> wrote: >> >>> Anyone able to submit an iOS app to Apple using 6.0.2? I can't get >>> past the Application Loader because of the UUID API error. >>> >>> >>> >>> Ralph DiMola >>> >>> IT Director >>> >>> Evergreen Information Services >>> >>> rdimola at evergreeninfo.net >>> >>> Phone: 518-636-3998 Ex:11 >>> >>> Cell: 518-796-9332 >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ruslan_zasukhin at valentina-db.com Wed Jun 26 16:43:38 2013 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Wed, 26 Jun 2013 23:43:38 +0300 Subject: Free Valentina Studio, Valentina DB & Reports for LiveCode Upgraded to 5.3 In-Reply-To: Message-ID: On 6/26/13 11:04 PM, "Magicgate Software - Skip Kimpel" wrote: > Yep, that I have... would love to see that expanded some day. Do you mean adding mySQL / Postgre? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From harrison at all-auctions.com Wed Jun 26 16:49:03 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Wed, 26 Jun 2013 16:49:03 -0400 Subject: 6.0.2 and Apple In-Reply-To: <006501ce7295$d2559240$7700b6c0$@net> References: <003e01ce7277$42274e70$c675eb50$@net> <006501ce7295$d2559240$7700b6c0$@net> Message-ID: Hi Ralph, I was using Xcode 4.6.2 and targeting for iOS 6.1. That worked for me, but now Apple has released Xcode 4.6.3 which may be the issue for you, especially since you are still using 4.6 Try it and see what happens next. Good luck, Rick On Jun 26, 2013, at 1:51 PM, "Ralph DiMola" wrote: > Rick, > > Yep, I'm running 1521. I have no problems with 5.5.5. I'm Running OS X > 10.8.4. Could it be my Xcode recipe? > > In this order on the iOS SDKs prefs with a green box: > 4.5.2 > 4.4.1 > 4.6 > 4.2 > > Thanks > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of Rick Harrison > Sent: Wednesday, June 26, 2013 12:39 PM > To: How to use LiveCode > Subject: Re: 6.0.2 and Apple > > Hi Ralph, > > I submitted an app a few weeks ago with commercial 6.0.2 build 1521 and had > no problems with the Application Loader. > > Make sure you have the current build. > > Cheers, > > Rick > > On Jun 26, 2013, at 10:12 AM, Ralph DiMola > wrote: > >> Anyone able to submit an iOS app to Apple using 6.0.2? I can't get >> past the Application Loader because of the UUID API error. >> >> >> >> Ralph DiMola >> >> IT Director >> >> Evergreen Information Services >> >> rdimola at evergreeninfo.net >> >> Phone: 518-636-3998 Ex:11 >> >> Cell: 518-796-9332 >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode __________________________________ Rick Harrison Idea Phrase Creator is my new App for the iPad! It will create interesting random idea phrases for you with the simple click of a button. Buy it on sale now, at the special introductory price of 99 cents. Click on the link below to find out more about this new App of mine! https://itunes.apple.com/us/app/idea-phrase-creator/id580695085?mt=8 From monte at sweattechnologies.com Wed Jun 26 17:00:34 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 27 Jun 2013 07:00:34 +1000 Subject: OOH! Here are a couple of cool ios7 features that I hope LC takes advantage of! In-Reply-To: References: Message-ID: <8CA052C8-3DAC-466F-B61B-700FD2590E47@sweattechnologies.com> All three of these look like things that IT departments setup and work with any app... managed open in for example would just change the list of open in apps you see in mergDoc. Just a way for them to further interfere with your life when you BYOD.... On 27/06/2013, at 3:27 AM, Mike Kerner wrote: > www.apple.com/ios/ios7/business/ > > 1) "Managed Open In" - can make your data only openable in your app, which > takes the sandbox (which was already really good) even further > > 2) Per app VPN > > 3) App Data Protection is now automatic, no need to set it for your app. > > > -- > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From matthias_livecode_150811 at m-r-d.de Wed Jun 26 17:27:16 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 26 Jun 2013 23:27:16 +0200 Subject: 6.0.2 and Apple In-Reply-To: References: <003e01ce7277$42274e70$c675eb50$@net> <006501ce7295$d2559240$7700b6c0$@net> Message-ID: Hi all, just want to let you know that using xCode 4.6.3 seems to fix that error. I removed all xCode versions from the LiveCode preference settings and added only xCode 4.6.3 I then rebuilded the app with LC and iTunes Connnect now accepts the app. I am not sure, if xCode 4.6.3 did the trick or removing the older xCode versions in LC settings. At least upload was successful now. @Rick thanks for the suggestion using 4.6.3, although you suggested that to Ralph. ;) Regards, Matthias Am 26.06.2013 um 22:49 schrieb Rick Harrison : > Hi Ralph, > > I was using Xcode 4.6.2 and targeting for iOS 6.1. > > That worked for me, but now > Apple has released Xcode 4.6.3 > which may be the issue for you, > especially since you are still using 4.6 > > Try it and see what happens next. > > Good luck, > > Rick > > > On Jun 26, 2013, at 1:51 PM, "Ralph DiMola" wrote: > >> Rick, >> >> Yep, I'm running 1521. I have no problems with 5.5.5. I'm Running OS X >> 10.8.4. Could it be my Xcode recipe? >> >> In this order on the iOS SDKs prefs with a green box: >> 4.5.2 >> 4.4.1 >> 4.6 >> 4.2 >> >> Thanks >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> rdimola at evergreeninfo.net >> >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf >> Of Rick Harrison >> Sent: Wednesday, June 26, 2013 12:39 PM >> To: How to use LiveCode >> Subject: Re: 6.0.2 and Apple >> >> Hi Ralph, >> >> I submitted an app a few weeks ago with commercial 6.0.2 build 1521 and had >> no problems with the Application Loader. >> >> Make sure you have the current build. >> >> Cheers, >> >> Rick >> >> On Jun 26, 2013, at 10:12 AM, Ralph DiMola >> wrote: >> >>> Anyone able to submit an iOS app to Apple using 6.0.2? I can't get >>> past the Application Loader because of the UUID API error. >>> >>> >>> >>> Ralph DiMola >>> >>> IT Director >>> >>> Evergreen Information Services >>> >>> rdimola at evergreeninfo.net >>> >>> Phone: 518-636-3998 Ex:11 >>> >>> Cell: 518-796-9332 >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > __________________________________ > > Rick Harrison > > Idea Phrase Creator is my new App for the iPad! > It will create interesting random idea phrases > for you with the simple click of a button. > > Buy it on sale now, at the special introductory > price of 99 cents. > Click on the link below to find out > more about this new App of mine! > > https://itunes.apple.com/us/app/idea-phrase-creator/id580695085?mt=8 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Wed Jun 26 17:33:42 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 26 Jun 2013 17:33:42 -0400 Subject: OOH! Here are a couple of cool ios7 features that I hope LC takes advantage of! In-Reply-To: <8CA052C8-3DAC-466F-B61B-700FD2590E47@sweattechnologies.com> References: <8CA052C8-3DAC-466F-B61B-700FD2590E47@sweattechnologies.com> Message-ID: Without looking at the API's for 7, I was guessing each of those were things that could be set up per app, which, if correct, would then be subject to LC implementing them. The context implied that to me, but I don't know that for sure. This will be unbelievably useful for our in-house apps, and will both greatly reduce the stress we go through with them, and will make iOS the first choice, I think, for in-house apps. On Wed, Jun 26, 2013 at 5:00 PM, Monte Goulding wrote: > All three of these look like things that IT departments setup and work > with any app... managed open in for example would just change the list of > open in apps you see in mergDoc. Just a way for them to further interfere > with your life when you BYOD.... > > > On 27/06/2013, at 3:27 AM, Mike Kerner wrote: > > > www.apple.com/ios/ios7/business/ > > > > 1) "Managed Open In" - can make your data only openable in your app, > which > > takes the sandbox (which was already really good) even further > > > > 2) Per app VPN > > > > 3) App Data Protection is now automatic, no need to set it for your app. > > > > > > -- > > 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 at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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." From MikeKerner at roadrunner.com Wed Jun 26 17:37:29 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 26 Jun 2013 17:37:29 -0400 Subject: Free Buttons for use in Livecode projects In-Reply-To: <51CB3BEC.4040308@gmail.com> References: <51CA06FA.9060105@gmail.com> <51CB3BEC.4040308@gmail.com> Message-ID: Just a note - the yahoo one requires a yahoo account, and the real link to the RR forums stack is http://forums.runrev.com/download/file.php?id=2117 On Wed, Jun 26, 2013 at 3:07 PM, Richmond wrote: > On 06/26/2013 12:09 AM, Richmond wrote: > >> Common symbols, English Letters, Cyrillic in 5 colours for Free download >> here: http://groups.yahoo.com/group/**RMimages/ >> >> Richmond. >> > > I have just uploaded my "Button_Pump" stack for those of you who want to > make your > own button images: > > http://tech.groups.yahoo.com/**group/RMimages/ > > http://forums.runrev.com/**index.php / Off-Topic / Free Buttons > > > Richmond. > > ______________________________**_________________ > use-livecode mailing list > use-livecode at 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." From MikeKerner at roadrunner.com Wed Jun 26 17:38:35 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 26 Jun 2013 17:38:35 -0400 Subject: Off topic, looking for a Live Code instructor In-Reply-To: <109A0310-1475-401A-9094-897F6A43E7BF@1234web.net> References: <109A0310-1475-401A-9094-897F6A43E7BF@1234web.net> Message-ID: Jose, In the meantime, check out the app accademy at runrev. It is a pretty good way to help you get started. On Wed, Jun 26, 2013 at 12:31 PM, Jose Valle wrote: > Hello, > > we are looking somebody able to teach us program in LiveCode. Something > practical doing basis of a real application to realize how to deal with > cross device apps, databases, interact with servers. 20 hours online, thru > Skype or any other way could be ok. > > Spanish speaking better, please send a private message to my email address > telling me time availability and your rates. > > Thanks > Jose > _______________________________________________ > use-livecode mailing list > use-livecode at 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." From matthias_livecode_150811 at m-r-d.de Wed Jun 26 17:42:55 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 26 Jun 2013 23:42:55 +0200 Subject: Off topic, looking for a Live Code instructor In-Reply-To: References: <109A0310-1475-401A-9094-897F6A43E7BF@1234web.net> Message-ID: <1DDC3EF1-B4F5-4169-B391-E03837552684@m-r-d.de> And not to forget LiveCode University http://university.livecode.com Regards, Matthias Am 26.06.2013 um 23:38 schrieb Mike Kerner : > Jose, > > In the meantime, check out the app accademy at runrev. It is a pretty good > way to help you get started. > > > On Wed, Jun 26, 2013 at 12:31 PM, Jose Valle wrote: > >> Hello, >> >> we are looking somebody able to teach us program in LiveCode. Something >> practical doing basis of a real application to realize how to deal with >> cross device apps, databases, interact with servers. 20 hours online, thru >> Skype or any other way could be ok. >> >> Spanish speaking better, please send a private message to my email address >> telling me time availability and your rates. >> >> Thanks >> Jose >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Wed Jun 26 17:59:17 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 26 Jun 2013 17:59:17 -0400 Subject: Off topic, looking for a Live Code instructor In-Reply-To: <1DDC3EF1-B4F5-4169-B391-E03837552684@m-r-d.de> References: <109A0310-1475-401A-9094-897F6A43E7BF@1234web.net> <1DDC3EF1-B4F5-4169-B391-E03837552684@m-r-d.de> Message-ID: OH CRAP! Don't forget LiveCode University....what Matthias said. On Wed, Jun 26, 2013 at 5:42 PM, Matthias Rebbe < matthias_livecode_150811 at m-r-d.de> wrote: > And not to forget LiveCode University > http://university.livecode.com > > Regards, > > Matthias > > > Am 26.06.2013 um 23:38 schrieb Mike Kerner : > > > Jose, > > > > In the meantime, check out the app accademy at runrev. It is a pretty > good > > way to help you get started. > > > > > > On Wed, Jun 26, 2013 at 12:31 PM, Jose Valle wrote: > > > >> Hello, > >> > >> we are looking somebody able to teach us program in LiveCode. Something > >> practical doing basis of a real application to realize how to deal with > >> cross device apps, databases, interact with servers. 20 hours online, > thru > >> Skype or any other way could be ok. > >> > >> Spanish speaking better, please send a private message to my email > address > >> telling me time availability and your rates. > >> > >> Thanks > >> Jose > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at 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 at 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 at 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." From jacque at hyperactivesw.com Wed Jun 26 18:48:34 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 26 Jun 2013 17:48:34 -0500 Subject: Communicate with server using PUT Message-ID: <51CB6FC2.1030500@hyperactivesw.com> I need to send data to a server and they want me to use PUT instead of POST. I also need to get a verification afterward to know whether the transaction succeeded or not. The docs aren't clear on that, it just says errors are reported in the result. Before I spend too much time on this, does a PUT also provide a response in the result? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Wed Jun 26 18:53:27 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 27 Jun 2013 08:53:27 +1000 Subject: Communicate with server using PUT In-Reply-To: <51CB6FC2.1030500@hyperactivesw.com> References: <51CB6FC2.1030500@hyperactivesw.com> Message-ID: you should be able to check the libURLLastRHHeaders.. unless you are talking about mobile... actually there's no put on mobile anyway... On 27/06/2013, at 8:48 AM, "J. Landman Gay" wrote: > I need to send data to a server and they want me to use PUT instead of POST. I also need to get a verification afterward to know whether the transaction succeeded or not. The docs aren't clear on that, it just says errors are reported in the result. > > Before I spend too much time on this, does a PUT also provide a response in the result? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From jacque at hyperactivesw.com Wed Jun 26 19:07:56 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 26 Jun 2013 18:07:56 -0500 Subject: Communicate with server using PUT In-Reply-To: References: <51CB6FC2.1030500@hyperactivesw.com> Message-ID: <51CB744C.4000308@hyperactivesw.com> That's an idea, thanks. I'm having trouble actually doing the PUT. I need to send a string like this: http://domain.com/page?thing=one&other=two&somethingelse=three What's the proper way to format that? Should I be using this: put "thing=one&other=two&somethingelse=three" into url "http://domain.com/page" Or should I use "get URL" with the full URL? Both ways are returning errors. On 6/26/13 5:53 PM, Monte Goulding wrote: > you should be able to check the libURLLastRHHeaders.. unless you are > talking about mobile... actually there's no put on mobile anyway... > > On 27/06/2013, at 8:48 AM, "J. Landman Gay" > wrote: > >> I need to send data to a server and they want me to use PUT instead >> of POST. I also need to get a verification afterward to know >> whether the transaction succeeded or not. The docs aren't clear on >> that, it just says errors are reported in the result. >> >> Before I spend too much time on this, does a PUT also provide a >> response in the result? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Wed Jun 26 19:11:40 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 27 Jun 2013 09:11:40 +1000 Subject: Communicate with server using PUT In-Reply-To: <51CB744C.4000308@hyperactivesw.com> References: <51CB6FC2.1030500@hyperactivesw.com> <51CB744C.4000308@hyperactivesw.com> Message-ID: <13D5B593-75DE-42DA-A2BE-DCE3A2B81F82@sweattechnologies.com> Should be the latter... what's the error? On 27/06/2013, at 9:07 AM, "J. Landman Gay" wrote: > That's an idea, thanks. > > I'm having trouble actually doing the PUT. I need to send a string like this: > > http://domain.com/page?thing=one&other=two&somethingelse=three > > What's the proper way to format that? Should I be using this: > > put "thing=one&other=two&somethingelse=three" into url "http://domain.com/page" > > Or should I use "get URL" with the full URL? Both ways are returning errors. > > > On 6/26/13 5:53 PM, Monte Goulding wrote: >> you should be able to check the libURLLastRHHeaders.. unless you are >> talking about mobile... actually there's no put on mobile anyway... >> >> On 27/06/2013, at 8:48 AM, "J. Landman Gay" >> wrote: >> >>> I need to send data to a server and they want me to use PUT instead >>> of POST. I also need to get a verification afterward to know >>> whether the transaction succeeded or not. The docs aren't clear on >>> that, it just says errors are reported in the result. >>> >>> Before I spend too much time on this, does a PUT also provide a >>> response in the result? > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From jacque at hyperactivesw.com Wed Jun 26 19:22:54 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 26 Jun 2013 18:22:54 -0500 Subject: Communicate with server using PUT In-Reply-To: <13D5B593-75DE-42DA-A2BE-DCE3A2B81F82@sweattechnologies.com> References: <51CB6FC2.1030500@hyperactivesw.com> <51CB744C.4000308@hyperactivesw.com> <13D5B593-75DE-42DA-A2BE-DCE3A2B81F82@sweattechnologies.com> Message-ID: <51CB77CE.20608@hyperactivesw.com> When I use the full URL with "get url" it returns a 404. When the server person does it from Rails, they get data back. I need to get the same data back, so I guess checking the headers won't work. The server responds with stuff I need to use. So if "get URL" is the way to do it, then the "get" should give me the data. The 404 is odd, but maybe we can figure out that part. On 6/26/13 6:11 PM, Monte Goulding wrote: > Should be the latter... what's the error? > > On 27/06/2013, at 9:07 AM, "J. Landman Gay" wrote: > >> That's an idea, thanks. >> >> I'm having trouble actually doing the PUT. I need to send a string like this: >> >> http://domain.com/page?thing=one&other=two&somethingelse=three >> >> What's the proper way to format that? Should I be using this: >> >> put "thing=one&other=two&somethingelse=three" into url "http://domain.com/page" >> >> Or should I use "get URL" with the full URL? Both ways are returning errors. >> >> >> On 6/26/13 5:53 PM, Monte Goulding wrote: >>> you should be able to check the libURLLastRHHeaders.. unless you are >>> talking about mobile... actually there's no put on mobile anyway... >>> >>> On 27/06/2013, at 8:48 AM, "J. Landman Gay" >>> wrote: >>> >>>> I need to send data to a server and they want me to use PUT instead >>>> of POST. I also need to get a verification afterward to know >>>> whether the transaction succeeded or not. The docs aren't clear on >>>> that, it just says errors are reported in the result. >>>> >>>> Before I spend too much time on this, does a PUT also provide a >>>> response in the result? >> >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From matthias_livecode_150811 at m-r-d.de Wed Jun 26 19:43:23 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 27 Jun 2013 01:43:23 +0200 Subject: Communicate with server using PUT In-Reply-To: <51CB77CE.20608@hyperactivesw.com> References: <51CB6FC2.1030500@hyperactivesw.com> <51CB744C.4000308@hyperactivesw.com> <13D5B593-75DE-42DA-A2BE-DCE3A2B81F82@sweattechnologies.com> <51CB77CE.20608@hyperactivesw.com> Message-ID: <81E9AB74-4B2D-4FB8-A55E-6AF0044D7B21@m-r-d.de> Jacques Is page in your URL example a folder or a file? If it is a folder then I am pretty sure it needs a slash after it. Regards Matthias Von meinem iPhone gesendet Am 27.06.2013 um 01:22 schrieb "J. Landman Gay" : > When I use the full URL with "get url" it returns a 404. When the server person does it from Rails, they get data back. I need to get the same data back, so I guess checking the headers won't work. The server responds with stuff I need to use. > > So if "get URL" is the way to do it, then the "get" should give me the data. The 404 is odd, but maybe we can figure out that part. > > > On 6/26/13 6:11 PM, Monte Goulding wrote: >> Should be the latter... what's the error? >> >> On 27/06/2013, at 9:07 AM, "J. Landman Gay" wrote: >> >>> That's an idea, thanks. >>> >>> I'm having trouble actually doing the PUT. I need to send a string like this: >>> >>> http://domain.com/page?thing=one&other=two&somethingelse=three >>> >>> What's the proper way to format that? Should I be using this: >>> >>> put "thing=one&other=two&somethingelse=three" into url "http://domain.com/page" >>> >>> Or should I use "get URL" with the full URL? Both ways are returning errors. >>> >>> >>> On 6/26/13 5:53 PM, Monte Goulding wrote: >>>> you should be able to check the libURLLastRHHeaders.. unless you are >>>> talking about mobile... actually there's no put on mobile anyway... >>>> >>>> On 27/06/2013, at 8:48 AM, "J. Landman Gay" >>>> wrote: >>>> >>>>> I need to send data to a server and they want me to use PUT instead >>>>> of POST. I also need to get a verification afterward to know >>>>> whether the transaction succeeded or not. The docs aren't clear on >>>>> that, it just says errors are reported in the result. >>>>> >>>>> Before I spend too much time on this, does a PUT also provide a >>>>> response in the result? >>> >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> -- >> Monte Goulding >> >> M E R Goulding - software development services >> mergExt - There's an external for that! >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lists at mangomultimedia.com Wed Jun 26 19:52:43 2013 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 26 Jun 2013 19:52:43 -0400 Subject: Communicate with server using PUT In-Reply-To: <51CB6FC2.1030500@hyperactivesw.com> References: <51CB6FC2.1030500@hyperactivesw.com> Message-ID: put theData into URL " http://somedomain.com/page.php?value1=value&value2=value" The above will send data to a server using PUT. The result will return error messages. If you want data returned by the server use the urlresponse. -- Trevor DeVore On Wednesday, June 26, 2013, J. Landman Gay wrote: > I need to send data to a server and they want me to use PUT instead of > POST. I also need to get a verification afterward to know whether the > transaction succeeded or not. The docs aren't clear on that, it just says > errors are reported in the result. > > Before I spend too much time on this, does a PUT also provide a response > in the result? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From rdimola at evergreeninfo.net Wed Jun 26 19:58:25 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 26 Jun 2013 19:58:25 -0400 Subject: Communicate with server using PUT In-Reply-To: <51CB77CE.20608@hyperactivesw.com> References: <51CB6FC2.1030500@hyperactivesw.com> <51CB744C.4000308@hyperactivesw.com> <13D5B593-75DE-42DA-A2BE-DCE3A2B81F82@sweattechnologies.com> <51CB77CE.20608@hyperactivesw.com> Message-ID: <00b501ce72c9$0c63c0a0$252b41e0$@net> Jacque, Here is how I access the Google server with a put url. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay Sent: Wednesday, June 26, 2013 7:23 PM To: How to use LiveCode Subject: Re: Communicate with server using PUT When I use the full URL with "get url" it returns a 404. When the server person does it from Rails, they get data back. I need to get the same data back, so I guess checking the headers won't work. The server responds with stuff I need to use. So if "get URL" is the way to do it, then the "get" should give me the data. The 404 is odd, but maybe we can figure out that part. On 6/26/13 6:11 PM, Monte Goulding wrote: > Should be the latter... what's the error? > > On 27/06/2013, at 9:07 AM, "J. Landman Gay" wrote: > >> That's an idea, thanks. >> >> I'm having trouble actually doing the PUT. I need to send a string like this: >> >> http://domain.com/page?thing=one&other=two&somethingelse=three >> >> What's the proper way to format that? Should I be using this: >> >> put "thing=one&other=two&somethingelse=three" into url "http://domain.com/page" >> >> Or should I use "get URL" with the full URL? Both ways are returning errors. >> >> >> On 6/26/13 5:53 PM, Monte Goulding wrote: >>> you should be able to check the libURLLastRHHeaders.. unless you are >>> talking about mobile... actually there's no put on mobile anyway... >>> >>> On 27/06/2013, at 8:48 AM, "J. Landman Gay" >>> wrote: >>> >>>> I need to send data to a server and they want me to use PUT instead >>>> of POST. I also need to get a verification afterward to know >>>> whether the transaction succeeded or not. The docs aren't clear on >>>> that, it just says errors are reported in the result. >>>> >>>> Before I spend too much time on this, does a PUT also provide a >>>> response in the result? >> >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Wed Jun 26 20:03:09 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 26 Jun 2013 20:03:09 -0400 Subject: Communicate with server using PUT In-Reply-To: <51CB77CE.20608@hyperactivesw.com> References: <51CB6FC2.1030500@hyperactivesw.com> <51CB744C.4000308@hyperactivesw.com> <13D5B593-75DE-42DA-A2BE-DCE3A2B81F82@sweattechnologies.com> <51CB77CE.20608@hyperactivesw.com> Message-ID: <00b901ce72c9$b54b5890$1fe209b0$@net> J, Well I guess no attachments on the list. Here it is in-line. function GeoCode StreetAddress , CSZ --Status Codes --"OK" indicates that no errors occurred; the address was successfully parsed and at least one geocode was returned. --"ZERO_RESULTS" indicates that the geocode was successful but returned no results. This may occur if the geocode was passed a non-existent address or a latlng in a remote location. --"OVER_QUERY_LIMIT" indicates that you are over your quota. --"REQUEST_DENIED" indicates that your request was denied, generally because of lack of a sensor parameter. --"INVALID_REQUEST"generally indicates that the query (address or latlng) is missing --Location Types --"ROOFTOP" indicates that the returned result is a precise geocode for which we have location information accurate down to street -- address precision. --"RANGE_INTERPOLATED" indicates that the returned result reflects an approximation (usually on a road) interpolated between two -- precise points (such as intersections). Interpolated results are generally returned when rooftop geocodes are unavailable -- for a street address. --"GEOMETRIC_CENTER" indicates that the returned result is the geometric center of a result such as a polyline (for example, a street) -- or polygon (region). --"APPROXIMATE" indicates that the returned result is approximate local gxml , txml , str1 , pos1 , add1 , I , str2 Local Geo put empty into Geo repeat with I = 1 to the number of lines in StreetAddress put offset ("#",line I of StreetAddress) into pos1 if pos1 <> 0 then put char 1 to (pos1-1) of line I of StreetAddress into line I of Streetaddress Replace " " with " " in line I of StreetAddress replace " " with "+" in line I of StreetAddress put Add1 && Line I of Streetaddress into Add1 end repeat delete char 1 in Add1 Replace " " with " " in CSZ replace " " with "+" in CSZ put url ("http://maps.googleapis.com/maps/api/geocode/xml?address=" & add1 & comma & "+" & CSZ & "&sensor=false") into gxml delete line 1 in gxml put revCreateXMLTree(gxml,true,true,false) into txml put revxmlnodecontents(txml,"GeocodeResponse/status") into geo["Status"] replace "OVER_" with "" in geo["Status"] if revxmlnodecontents(txml,"GeocodeResponse/status") = "OK" then if xmlnodecontents(txml,"GeocodeResponse/result/formatted_address") is not empty then \ put xmlnodecontents(txml,"GeocodeResponse/result/formatted_address") into Geo["FormattedAddress"] put xmlnodecontents(txml,"GeocodeResponse/result/partial_match") into Geo["PartialMatch"] repeat with I = 1 to revxmlnumberofchildren(txml,"/GeocodeResponse/result","address_component",1) switch revxmlnodecontents(txml,"GeocodeResponse/result/address_component[" & I & "]/type") Case "administrative_area_level_2" put revxmlnodecontents(txml,"GeocodeResponse/result/address_component[" & I & "]/long_name") into geo["County"] Break Case "administrative_area_level_3" put revxmlnodecontents(txml,"GeocodeResponse/result/address_component[" & I & "]/long_name") into geo["City"] Break Case "street_number" put revxmlnodecontents(txml,"GeocodeResponse/result/address_component[" & I & "]/long_name") into geo["StreetNumber"] Break Case "route" put revxmlnodecontents(txml,"GeocodeResponse/result/address_component[" & I & "]/long_name") into geo["Route"] Break Case "locality" put revxmlnodecontents(txml,"GeocodeResponse/result/address_component[" & I & "]/long_name") into geo["City"] Break Case "administrative_area_level_1" put revxmlnodecontents(txml,"GeocodeResponse/result/address_component[" & I & "]/long_name") into geo["StateName"] put revxmlnodecontents(txml,"GeocodeResponse/result/address_component[" & I & "]/short_name") into geo["State"] Break Case "Country" put revxmlnodecontents(txml,"GeocodeResponse/result/address_component[" & I & "]/long_name") into geo["Country"] Break Case "postal_code" put revxmlnodecontents(txml,"GeocodeResponse/result/address_component[" & I & "]/long_name") into geo["ZIP"] Break default --breakpoint break end switch end repeat put revXMLChildNames(txml,"/GeocodeResponse/result/geometry",comma,,false) into str1 repeat for each item nodename in str1 switch nodename Case "location" put revxmlnodecontents(txml,"GeocodeResponse/result/geometry/"&nodename&"/lat") into geo["Lat"]["Center"] put revxmlnodecontents(txml,"GeocodeResponse/result/geometry/"&nodename&"/lng") into geo["Lon"]["Center"] break Case "location_type" put revxmlnodecontents(txml,"GeocodeResponse/result/geometry/"&nodename) into geo["LocationType"] replace "RANGE_" with empty in geo["LocationType"] break Case "viewport" put revXMLChildNames(txml,"/GeocodeResponse/result/geometry/"&nodename,comma,,fa lse) into str2 repeat for each item vp in str2 put revxmlnodecontents(txml,"GeocodeResponse/result/geometry/"&nodename&slash&vp &"/lat") into geo["Lat"][vp] put revxmlnodecontents(txml,"GeocodeResponse/result/geometry/"&nodename&slash&vp &"/lng") into geo["Lon"][vp] end repeat break end switch end repeat end if --breakpoint return geo end GeoCode Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay Sent: Wednesday, June 26, 2013 7:23 PM To: How to use LiveCode Subject: Re: Communicate with server using PUT When I use the full URL with "get url" it returns a 404. When the server person does it from Rails, they get data back. I need to get the same data back, so I guess checking the headers won't work. The server responds with stuff I need to use. So if "get URL" is the way to do it, then the "get" should give me the data. The 404 is odd, but maybe we can figure out that part. On 6/26/13 6:11 PM, Monte Goulding wrote: > Should be the latter... what's the error? > > On 27/06/2013, at 9:07 AM, "J. Landman Gay" wrote: > >> That's an idea, thanks. >> >> I'm having trouble actually doing the PUT. I need to send a string like this: >> >> http://domain.com/page?thing=one&other=two&somethingelse=three >> >> What's the proper way to format that? Should I be using this: >> >> put "thing=one&other=two&somethingelse=three" into url "http://domain.com/page" >> >> Or should I use "get URL" with the full URL? Both ways are returning errors. >> >> >> On 6/26/13 5:53 PM, Monte Goulding wrote: >>> you should be able to check the libURLLastRHHeaders.. unless you are >>> talking about mobile... actually there's no put on mobile anyway... >>> >>> On 27/06/2013, at 8:48 AM, "J. Landman Gay" >>> wrote: >>> >>>> I need to send data to a server and they want me to use PUT instead >>>> of POST. I also need to get a verification afterward to know >>>> whether the transaction succeeded or not. The docs aren't clear on >>>> that, it just says errors are reported in the result. >>>> >>>> Before I spend too much time on this, does a PUT also provide a >>>> response in the result? >> >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Wed Jun 26 20:44:50 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 26 Jun 2013 20:44:50 -0400 Subject: 6.0.2 and Apple In-Reply-To: References: <003e01ce7277$42274e70$c675eb50$@net> <006501ce7295$d2559240$7700b6c0$@net> Message-ID: <00d701ce72cf$87f10740$97d315c0$@net> I'm still dead. 4.6.3 did not do it for me. Any suggestions? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Rick Harrison Sent: Wednesday, June 26, 2013 4:49 PM To: How to use LiveCode Subject: Re: 6.0.2 and Apple Hi Ralph, I was using Xcode 4.6.2 and targeting for iOS 6.1. That worked for me, but now Apple has released Xcode 4.6.3 which may be the issue for you, especially since you are still using 4.6 Try it and see what happens next. Good luck, Rick On Jun 26, 2013, at 1:51 PM, "Ralph DiMola" wrote: > Rick, > > Yep, I'm running 1521. I have no problems with 5.5.5. I'm Running OS X > 10.8.4. Could it be my Xcode recipe? > > In this order on the iOS SDKs prefs with a green box: > 4.5.2 > 4.4.1 > 4.6 > 4.2 > > Thanks > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf Of Rick Harrison > Sent: Wednesday, June 26, 2013 12:39 PM > To: How to use LiveCode > Subject: Re: 6.0.2 and Apple > > Hi Ralph, > > I submitted an app a few weeks ago with commercial 6.0.2 build 1521 > and had no problems with the Application Loader. > > Make sure you have the current build. > > Cheers, > > Rick > > On Jun 26, 2013, at 10:12 AM, Ralph DiMola > wrote: > >> Anyone able to submit an iOS app to Apple using 6.0.2? I can't get >> past the Application Loader because of the UUID API error. >> >> >> >> Ralph DiMola >> >> IT Director >> >> Evergreen Information Services >> >> rdimola at evergreeninfo.net >> >> Phone: 518-636-3998 Ex:11 >> >> Cell: 518-796-9332 >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode __________________________________ Rick Harrison Idea Phrase Creator is my new App for the iPad! It will create interesting random idea phrases for you with the simple click of a button. Buy it on sale now, at the special introductory price of 99 cents. Click on the link below to find out more about this new App of mine! https://itunes.apple.com/us/app/idea-phrase-creator/id580695085?mt=8 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Wed Jun 26 21:23:18 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Wed, 26 Jun 2013 21:23:18 -0400 Subject: 6.0.2 and Apple In-Reply-To: References: <003e01ce7277$42274e70$c675eb50$@net> <006501ce7295$d2559240$7700b6c0$@net> Message-ID: <859B85F6-657D-4708-AA24-65717016D4AF@all-auctions.com> Hi Matthias, Glad to hear it worked for you! Now if we can just figure out Ralph's issue. Ralph, what device are you building for Arm7 or what? Rick On Jun 26, 2013, at 5:27 PM, Matthias Rebbe wrote: > Hi all, > > just want to let you know that using xCode 4.6.3 seems to fix that error. > > I removed all xCode versions from the LiveCode preference settings and added only xCode 4.6.3 > > I then rebuilded the app with LC and iTunes Connnect now accepts the app. > > I am not sure, if xCode 4.6.3 did the trick or removing the older xCode versions in LC settings. > > At least upload was successful now. > > @Rick > > thanks for the suggestion using 4.6.3, although you suggested that to Ralph. ;) > > Regards, > > Matthias > > > Am 26.06.2013 um 22:49 schrieb Rick Harrison : > >> Hi Ralph, >> >> I was using Xcode 4.6.2 and targeting for iOS 6.1. >> >> That worked for me, but now >> Apple has released Xcode 4.6.3 >> which may be the issue for you, >> especially since you are still using 4.6 >> >> Try it and see what happens next. >> >> Good luck, >> >> Rick >> >> >> On Jun 26, 2013, at 1:51 PM, "Ralph DiMola" wrote: >> >>> Rick, >>> >>> Yep, I'm running 1521. I have no problems with 5.5.5. I'm Running OS X >>> 10.8.4. Could it be my Xcode recipe? >>> >>> In this order on the iOS SDKs prefs with a green box: >>> 4.5.2 >>> 4.4.1 >>> 4.6 >>> 4.2 >>> >>> Thanks >>> >>> Ralph DiMola >>> IT Director >>> Evergreen Information Services >>> rdimola at evergreeninfo.net >>> >>> >>> -----Original Message----- >>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf >>> Of Rick Harrison >>> Sent: Wednesday, June 26, 2013 12:39 PM >>> To: How to use LiveCode >>> Subject: Re: 6.0.2 and Apple >>> >>> Hi Ralph, >>> >>> I submitted an app a few weeks ago with commercial 6.0.2 build 1521 and had >>> no problems with the Application Loader. >>> >>> Make sure you have the current build. >>> >>> Cheers, >>> >>> Rick >>> >>> On Jun 26, 2013, at 10:12 AM, Ralph DiMola >>> wrote: >>> >>>> Anyone able to submit an iOS app to Apple using 6.0.2? I can't get >>>> past the Application Loader because of the UUID API error. >>>> >>>> >>>> >>>> Ralph DiMola >>>> >>>> IT Director >>>> >>>> Evergreen Information Services >>>> >>>> rdimola at evergreeninfo.net >>>> >>>> Phone: 518-636-3998 Ex:11 >>>> >>>> Cell: 518-796-9332 >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at 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 at 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 at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> __________________________________ >> >> Rick Harrison >> >> Idea Phrase Creator is my new App for the iPad! >> It will create interesting random idea phrases >> for you with the simple click of a button. >> >> Buy it on sale now, at the special introductory >> price of 99 cents. >> Click on the link below to find out >> more about this new App of mine! >> >> https://itunes.apple.com/us/app/idea-phrase-creator/id580695085?mt=8 >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Jun 26 21:27:18 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 26 Jun 2013 20:27:18 -0500 Subject: Communicate with server using PUT In-Reply-To: <81E9AB74-4B2D-4FB8-A55E-6AF0044D7B21@m-r-d.de> References: <51CB6FC2.1030500@hyperactivesw.com> <51CB744C.4000308@hyperactivesw.com> <13D5B593-75DE-42DA-A2BE-DCE3A2B81F82@sweattechnologies.com> <51CB77CE.20608@hyperactivesw.com> <81E9AB74-4B2D-4FB8-A55E-6AF0044D7B21@m-r-d.de> Message-ID: <51CB94F6.3080308@hyperactivesw.com> On 6/26/13 6:43 PM, Matthias Rebbe wrote: > Jacques > > Is page in your URL example a folder or a file? If it is a folder then I am pretty sure it needs a slash after it. It's a file, I left off the suffix because it's a custom one and I didn't want to have to explain it. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Jun 26 21:33:49 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 26 Jun 2013 20:33:49 -0500 Subject: Communicate with server using PUT In-Reply-To: References: <51CB6FC2.1030500@hyperactivesw.com> Message-ID: <51CB967D.3070005@hyperactivesw.com> On 6/26/13 6:52 PM, Trevor DeVore wrote: > put theData into URL " > http://somedomain.com/page.php?value1=value&value2=value" > > The above will send data to a server using PUT. > > The result will return error messages. If you want data returned by the > server use the urlresponse. > That's how I first started, using "put", but I think I had the content wrong. What goes into "theData"? In this case, the parameter values are the data. Should I just do "put empty into url http://blah blah"? The urlresponse is just what I was looking for, thanks much for that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Jun 26 21:38:08 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 26 Jun 2013 20:38:08 -0500 Subject: Communicate with server using PUT In-Reply-To: <00b901ce72c9$b54b5890$1fe209b0$@net> References: <51CB6FC2.1030500@hyperactivesw.com> <51CB744C.4000308@hyperactivesw.com> <13D5B593-75DE-42DA-A2BE-DCE3A2B81F82@sweattechnologies.com> <51CB77CE.20608@hyperactivesw.com> <00b901ce72c9$b54b5890$1fe209b0$@net> Message-ID: <51CB9780.60400@hyperactivesw.com> On 6/26/13 7:03 PM, Ralph DiMola wrote: > J, > > Well I guess no attachments on the list. Here it is in-line. > > function GeoCode StreetAddress , CSZ Thanks. I actually have the parameters formatted, I'm just not having any luck with the PUT business. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From peterwawood at gmail.com Wed Jun 26 22:09:03 2013 From: peterwawood at gmail.com (Peter W A Wood) Date: Thu, 27 Jun 2013 10:09:03 +0800 Subject: Communicate with server using PUT In-Reply-To: <51CB967D.3070005@hyperactivesw.com> References: <51CB6FC2.1030500@hyperactivesw.com> <51CB967D.3070005@hyperactivesw.com> Message-ID: <968C5E45-ED35-464F-8179-21130EA184CE@gmail.com> Jacque On 27 Jun 2013, at 09:33, J. Landman Gay wrote: > That's how I first started, using "put", but I think I had the content wrong. What goes into "theData"? In this case, the parameter values are the data. Should I just do "put empty into url http://blah blah"? I didn't think that the HTTP specification allowed for query strings with the POST or PUT methods. If they do, it is most unusual. Have you tried putting the query string (without the ?) into theData and removing it from the url? Regards Peter http://LiveCode1001.blogspot.com From jacque at hyperactivesw.com Wed Jun 26 22:45:20 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 26 Jun 2013 21:45:20 -0500 Subject: Communicate with server using PUT In-Reply-To: <968C5E45-ED35-464F-8179-21130EA184CE@gmail.com> References: <51CB6FC2.1030500@hyperactivesw.com> <51CB967D.3070005@hyperactivesw.com> <968C5E45-ED35-464F-8179-21130EA184CE@gmail.com> Message-ID: <51CBA740.2020209@hyperactivesw.com> On 6/26/13 9:09 PM, Peter W A Wood wrote: > Jacque > > On 27 Jun 2013, at 09:33, J. Landman Gay wrote: > >> That's how I first started, using "put", but I think I had the content wrong. What goes into "theData"? In this case, the parameter values are the data. Should I just do "put empty into url http://blah blah"? > I didn't think that the HTTP specification allowed for query strings > with the POST or PUT methods. If they do, it is most unusual. Have > you tried putting the query string (without the ?) into theData and > removing it from the url? A browser can send http URLs with query strings, and I think that's a PUT. When using POST we format the content as query strings too, and I have that working. But I wondered the same thing about PUT, so I was originally putting the values into theData. That didn't work so I tried it Trevor's way. I get errors in either case. The URL does exist, Rails can PUT to it and get data back, so I'm not sure about the 404 error. Error 401 is a bad format error. So far, I've tried: put "value1=one&value2=two" into tData put tData into url "http://domain.com/page.xxx -> result: Error 401 -> urlResponse: empty put "test" into url "http://domain.com/page.xxx?value1=one&value2=two" (also tried putting empty into the same URL) -> result: Error 401 -> urlResponse: empty get url "http://domain.com/page.xxx?value1=one&value2=two" -> "it": Error 404 There may be something wrong with my actual parameters. Some of them are bracketed like this: thing[id]=1234&thing[name]=Sally But it seems like that shouldn't matter. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rdimola at evergreeninfo.net Wed Jun 26 23:15:59 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 26 Jun 2013 23:15:59 -0400 Subject: 6.0.2 and Apple In-Reply-To: <859B85F6-657D-4708-AA24-65717016D4AF@all-auctions.com> References: <003e01ce7277$42274e70$c675eb50$@net> <006501ce7295$d2559240$7700b6c0$@net> <859B85F6-657D-4708-AA24-65717016D4AF@all-auctions.com> Message-ID: <00d801ce72e4$a5faf380$f1f0da80$@net> I'm doing a universal build for 3.1.3 or later. Using Xcode: 4.2 4.4.1 4.6.3 Got the green box. Available device SDKs 5.0, 5.1, 6,1 I tried changing it to arm7 only, this just got me deeper into a hole because once an app is approved for arm 6/7 one can't downgrade it to arm 7 only. 5.5.5 apps upload and get approved with the same configuration. Thanks for the effort Rick et al !!!! Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Rick Harrison Sent: Wednesday, June 26, 2013 9:23 PM To: How to use LiveCode Subject: Re: 6.0.2 and Apple Hi Matthias, Glad to hear it worked for you! Now if we can just figure out Ralph's issue. Ralph, what device are you building for Arm7 or what? Rick On Jun 26, 2013, at 5:27 PM, Matthias Rebbe wrote: > Hi all, > > just want to let you know that using xCode 4.6.3 seems to fix that error. > > I removed all xCode versions from the LiveCode preference settings and > added only xCode 4.6.3 > > I then rebuilded the app with LC and iTunes Connnect now accepts the app. > > I am not sure, if xCode 4.6.3 did the trick or removing the older xCode versions in LC settings. > > At least upload was successful now. > > @Rick > > thanks for the suggestion using 4.6.3, although you suggested that to > Ralph. ;) > > Regards, > > Matthias > > > Am 26.06.2013 um 22:49 schrieb Rick Harrison : > >> Hi Ralph, >> >> I was using Xcode 4.6.2 and targeting for iOS 6.1. >> >> That worked for me, but now >> Apple has released Xcode 4.6.3 >> which may be the issue for you, >> especially since you are still using 4.6 >> >> Try it and see what happens next. >> >> Good luck, >> >> Rick >> >> >> On Jun 26, 2013, at 1:51 PM, "Ralph DiMola" wrote: >> >>> Rick, >>> >>> Yep, I'm running 1521. I have no problems with 5.5.5. I'm Running OS >>> X 10.8.4. Could it be my Xcode recipe? >>> >>> In this order on the iOS SDKs prefs with a green box: >>> 4.5.2 >>> 4.4.1 >>> 4.6 >>> 4.2 >>> >>> Thanks >>> >>> Ralph DiMola >>> IT Director >>> Evergreen Information Services >>> rdimola at evergreeninfo.net >>> >>> >>> -----Original Message----- >>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >>> Behalf Of Rick Harrison >>> Sent: Wednesday, June 26, 2013 12:39 PM >>> To: How to use LiveCode >>> Subject: Re: 6.0.2 and Apple >>> >>> Hi Ralph, >>> >>> I submitted an app a few weeks ago with commercial 6.0.2 build 1521 >>> and had no problems with the Application Loader. >>> >>> Make sure you have the current build. >>> >>> Cheers, >>> >>> Rick >>> >>> On Jun 26, 2013, at 10:12 AM, Ralph DiMola >>> >>> wrote: >>> >>>> Anyone able to submit an iOS app to Apple using 6.0.2? I can't get >>>> past the Application Loader because of the UUID API error. >>>> >>>> >>>> >>>> Ralph DiMola >>>> >>>> IT Director >>>> >>>> Evergreen Information Services >>>> >>>> rdimola at evergreeninfo.net >>>> >>>> Phone: 518-636-3998 Ex:11 >>>> >>>> Cell: 518-796-9332 >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at 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 at 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 at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> __________________________________ >> >> Rick Harrison >> >> Idea Phrase Creator is my new App for the iPad! >> It will create interesting random idea phrases for you with the >> simple click of a button. >> >> Buy it on sale now, at the special introductory price of 99 cents. >> Click on the link below to find out >> more about this new App of mine! >> >> https://itunes.apple.com/us/app/idea-phrase-creator/id580695085?mt=8 >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Wed Jun 26 23:22:24 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 26 Jun 2013 23:22:24 -0400 Subject: 6.0.2 and Apple In-Reply-To: <859B85F6-657D-4708-AA24-65717016D4AF@all-auctions.com> References: <003e01ce7277$42274e70$c675eb50$@net> <006501ce7295$d2559240$7700b6c0$@net> <859B85F6-657D-4708-AA24-65717016D4AF@all-auctions.com> Message-ID: <00d901ce72e5$8b079410$a116bc30$@net> Check that last message... I was playing with the prefs and forgot to add the 5.5.2 SDK(6.0) I was using back into the mix. I'm doing a universal build for 3.1.3 or later. Using Xcode: 4.2 4.4.1 4.6.3 4.5.2 Got the green box. Available device SDKs 5.0, 5.1, 6.0, 6.1 I tried changing it to arm7 only, this just got me deeper into a hole because once an app is approved for arm 6/7 one can't downgrade it to arm 7 only. 5.5.5 apps upload and get approved with the same configuration. Thanks for the effort Rick et al !!!! Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Rick Harrison Sent: Wednesday, June 26, 2013 9:23 PM To: How to use LiveCode Subject: Re: 6.0.2 and Apple Hi Matthias, Glad to hear it worked for you! Now if we can just figure out Ralph's issue. Ralph, what device are you building for Arm7 or what? Rick On Jun 26, 2013, at 5:27 PM, Matthias Rebbe wrote: > Hi all, > > just want to let you know that using xCode 4.6.3 seems to fix that error. > > I removed all xCode versions from the LiveCode preference settings and > added only xCode 4.6.3 > > I then rebuilded the app with LC and iTunes Connnect now accepts the app. > > I am not sure, if xCode 4.6.3 did the trick or removing the older xCode versions in LC settings. > > At least upload was successful now. > > @Rick > > thanks for the suggestion using 4.6.3, although you suggested that to > Ralph. ;) > > Regards, > > Matthias > > > Am 26.06.2013 um 22:49 schrieb Rick Harrison : > >> Hi Ralph, >> >> I was using Xcode 4.6.2 and targeting for iOS 6.1. >> >> That worked for me, but now >> Apple has released Xcode 4.6.3 >> which may be the issue for you, >> especially since you are still using 4.6 >> >> Try it and see what happens next. >> >> Good luck, >> >> Rick >> >> >> On Jun 26, 2013, at 1:51 PM, "Ralph DiMola" wrote: >> >>> Rick, >>> >>> Yep, I'm running 1521. I have no problems with 5.5.5. I'm Running OS >>> X 10.8.4. Could it be my Xcode recipe? >>> >>> In this order on the iOS SDKs prefs with a green box: >>> 4.5.2 >>> 4.4.1 >>> 4.6 >>> 4.2 >>> >>> Thanks >>> >>> Ralph DiMola >>> IT Director >>> Evergreen Information Services >>> rdimola at evergreeninfo.net >>> >>> >>> -----Original Message----- >>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >>> Behalf Of Rick Harrison >>> Sent: Wednesday, June 26, 2013 12:39 PM >>> To: How to use LiveCode >>> Subject: Re: 6.0.2 and Apple >>> >>> Hi Ralph, >>> >>> I submitted an app a few weeks ago with commercial 6.0.2 build 1521 >>> and had no problems with the Application Loader. >>> >>> Make sure you have the current build. >>> >>> Cheers, >>> >>> Rick >>> >>> On Jun 26, 2013, at 10:12 AM, Ralph DiMola >>> >>> wrote: >>> >>>> Anyone able to submit an iOS app to Apple using 6.0.2? I can't get >>>> past the Application Loader because of the UUID API error. >>>> >>>> >>>> >>>> Ralph DiMola >>>> >>>> IT Director >>>> >>>> Evergreen Information Services >>>> >>>> rdimola at evergreeninfo.net >>>> >>>> Phone: 518-636-3998 Ex:11 >>>> >>>> Cell: 518-796-9332 >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at 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 at 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 at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> __________________________________ >> >> Rick Harrison >> >> Idea Phrase Creator is my new App for the iPad! >> It will create interesting random idea phrases for you with the >> simple click of a button. >> >> Buy it on sale now, at the special introductory price of 99 cents. >> Click on the link below to find out >> more about this new App of mine! >> >> https://itunes.apple.com/us/app/idea-phrase-creator/id580695085?mt=8 >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Wed Jun 26 23:39:32 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 27 Jun 2013 13:39:32 +1000 Subject: Communicate with server using PUT In-Reply-To: <51CBA740.2020209@hyperactivesw.com> References: <51CB6FC2.1030500@hyperactivesw.com> <51CB967D.3070005@hyperactivesw.com> <968C5E45-ED35-464F-8179-21130EA184CE@gmail.com> <51CBA740.2020209@hyperactivesw.com> Message-ID: <9A359512-9AD3-43B2-AD5F-B6D3CA1208FE@sweattechnologies.com> On 27/06/2013, at 12:45 PM, J. Landman Gay wrote: > Error 401 is a bad format error. It's unauthorized... are you meant to send credentials... http://username:pass at .... -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From jacque at hyperactivesw.com Thu Jun 27 00:27:35 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 26 Jun 2013 23:27:35 -0500 Subject: Communicate with server using PUT In-Reply-To: <9A359512-9AD3-43B2-AD5F-B6D3CA1208FE@sweattechnologies.com> References: <51CB6FC2.1030500@hyperactivesw.com> <51CB967D.3070005@hyperactivesw.com> <968C5E45-ED35-464F-8179-21130EA184CE@gmail.com> <51CBA740.2020209@hyperactivesw.com> <9A359512-9AD3-43B2-AD5F-B6D3CA1208FE@sweattechnologies.com> Message-ID: <51CBBF37.20407@hyperactivesw.com> On 6/26/13 10:39 PM, Monte Goulding wrote: > On 27/06/2013, at 12:45 PM, J. Landman Gay wrote: > >> Error 401 is a bad format error. > > It's unauthorized... are you meant to send credentials... http://username:pass at .... Oh gosh, I shouldn't rely on my memory. I'll ask them. It figures the server people could access it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From revdev at pdslabs.net Thu Jun 27 00:59:22 2013 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 26 Jun 2013 21:59:22 -0700 Subject: Communicate with server using PUT In-Reply-To: <51CBA740.2020209@hyperactivesw.com> References: <51CB6FC2.1030500@hyperactivesw.com> <51CB967D.3070005@hyperactivesw.com> <968C5E45-ED35-464F-8179-21130EA184CE@gmail.com> <51CBA740.2020209@hyperactivesw.com> Message-ID: <51CBC6AA.4000000@pdslabs.net> On 6/26/13 7:45 PM, J. Landman Gay wrote: > On 6/26/13 9:09 PM, Peter W A Wood wrote: >> Jacque >> >> On 27 Jun 2013, at 09:33, J. Landman Gay wrote: >> >>> That's how I first started, using "put", but I think I had the > content wrong. What goes into "theData"? In this case, the parameter > values are the data. Should I just do "put empty into url http://blah > blah"? > >> I didn't think that the HTTP specification allowed for query strings >> with the POST or PUT methods. If they do, it is most unusual. Have >> you tried putting the query string (without the ?) into theData and >> removing it from the url? > > A browser can send http URLs with query strings, and I think that's a > PUT. It's a GET. If you try this, you'll see " $REQUEST_METHOD = GET": http://pdslabs.net/rev/globals.cgi?first=1&second=2 That's all I have. :-) Phil > When using POST we format the content as query strings too, and I have > that working. But I wondered the same thing about PUT, so I was > originally putting the values into theData. That didn't work so I > tried it Trevor's way. I get errors in either case. The URL does > exist, Rails can PUT to it and get data back, so I'm not sure about > the 404 error. Error 401 is a bad format error. > > So far, I've tried: > > put "value1=one&value2=two" into tData > put tData into url "http://domain.com/page.xxx > -> result: Error 401 > -> urlResponse: empty > > put "test" into url "http://domain.com/page.xxx?value1=one&value2=two" > (also tried putting empty into the same URL) > -> result: Error 401 > -> urlResponse: empty > > get url "http://domain.com/page.xxx?value1=one&value2=two" > -> "it": Error 404 > > There may be something wrong with my actual parameters. Some of them > are bracketed like this: > > thing[id]=1234&thing[name]=Sally > > But it seems like that shouldn't matter. > -- Phil Davis From jacque at hyperactivesw.com Thu Jun 27 01:06:50 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 27 Jun 2013 00:06:50 -0500 Subject: Communicate with server using PUT In-Reply-To: <51CBC6AA.4000000@pdslabs.net> References: <51CB6FC2.1030500@hyperactivesw.com> <51CB967D.3070005@hyperactivesw.com> <968C5E45-ED35-464F-8179-21130EA184CE@gmail.com> <51CBA740.2020209@hyperactivesw.com> <51CBC6AA.4000000@pdslabs.net> Message-ID: <51CBC86A.9020608@hyperactivesw.com> On 6/26/13 11:59 PM, Phil Davis wrote: > > On 6/26/13 7:45 PM, J. Landman Gay wrote: >> A browser can send http URLs with query strings, and I think that's a >> PUT. > > It's a GET. If you try this, you'll see " $REQUEST_METHOD = GET": > http://pdslabs.net/rev/globals.cgi?first=1&second=2 > > That's all I have. :-) More than I have, apparently. I knew that. Then I forgot it. I've been staring at this stuff so long my brain hurts. If we ever get the authentication worked out, I'm still not sure how to do a PUT. I'll try putting the data back into the variable and send that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From toolbook at kestner.de Thu Jun 27 03:09:46 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 27 Jun 2013 09:09:46 +0200 Subject: Where do I find the current release # at runrev? Message-ID: <002501ce7305$4eea1f00$ecbe5d00$@de> Hello, I wonder where I can look for, which is the current release # for the commercial LC version. I didn't find a clear info at runrev. When logging on to the LiveCode shop and looking into MyProducts I am offered version 6.0.2 but I am not sure if it is a dp or a release? Or are only releases shown in the shop and that's always the newest version for download? Thanks Tiemo From janschenkel at yahoo.com Thu Jun 27 06:13:51 2013 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 27 Jun 2013 03:13:51 -0700 (PDT) Subject: Where do I find the current release # at runrev? In-Reply-To: <002501ce7305$4eea1f00$ecbe5d00$@de> References: <002501ce7305$4eea1f00$ecbe5d00$@de> Message-ID: <1372328031.22758.YahooMailNeo@web141104.mail.bf1.yahoo.com> Hi Tiemo, Only the GM versions are listed in your LiveCode store account. LiveCode 6.0.2 is the latest finished version of the commercial edition. LiveCode 6.1 is currently in the release candidate phase. HTH, Jan Schenkel. ? ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) ----- Original Message ----- > From: Tiemo Hollmann TB > To: 'How to use LiveCode' > Cc: > Sent: Thursday, June 27, 2013 9:09 AM > Subject: Where do I find the current release # at runrev? > > Hello, > > > > I wonder where I can look for, which is the current release # for the > commercial LC version. I didn't find a clear info at runrev. > > When logging on to the LiveCode shop and looking into MyProducts I am > offered version 6.0.2 but I am not sure if it is a dp or a release? Or are > only releases shown in the shop and that's always the newest version for > download? > > > > Thanks > > Tiemo > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From tate83 at gmail.com Thu Jun 27 06:41:34 2013 From: tate83 at gmail.com (Pascal Lehner) Date: Thu, 27 Jun 2013 12:41:34 +0200 Subject: revsecurity.dll appearing for (nearly) no reason Message-ID: Hi everyone, I just found out that when buidling for Windows, revsecurity.dll is automatically included as well to support https. However, my stack does not use https at all except for one link in the comments! Now I wanted to ask you how you usually handle such things - should I file that as a bug/enhancement or just accept it as a "feature"? Cheers, Pascal From m.schonewille at economy-x-talk.com Thu Jun 27 07:04:32 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 27 Jun 2013 13:04:32 +0200 Subject: revsecurity.dll appearing for (nearly) no reason In-Reply-To: References: Message-ID: <51CC1C40.6030307@economy-x-talk.com> Hi Pascal, Do you search for inclusions automatically? Do it manually and you should be fine. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 6/27/2013 12:41, Pascal Lehner wrote: > Hi everyone, > > I just found out that when buidling for Windows, revsecurity.dll is > automatically included as well to support https. However, my stack does not > use https at all except for one link in the comments! > > Now I wanted to ask you how you usually handle such things - should I file > that as a bug/enhancement or just accept it as a "feature"? > > Cheers, > > Pascal From tate83 at gmail.com Thu Jun 27 07:07:15 2013 From: tate83 at gmail.com (Pascal Lehner) Date: Thu, 27 Jun 2013 13:07:15 +0200 Subject: revsecurity.dll appearing for (nearly) no reason In-Reply-To: <51CC1C40.6030307@economy-x-talk.com> References: <51CC1C40.6030307@economy-x-talk.com> Message-ID: Hi Mark, Thank for the hint, I found the settings in the settings :-) Regards, Pascal On 27 June 2013 13:04, Mark Schonewille wrote: > Hi Pascal, > > Do you search for inclusions automatically? Do it manually and you should > be fine. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/**xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour > spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > Fill out this survey please > http://livecodebeginner.**economy-x-talk.com/survey/ > > > On 6/27/2013 12:41, Pascal Lehner wrote: > >> Hi everyone, >> >> I just found out that when buidling for Windows, revsecurity.dll is >> automatically included as well to support https. However, my stack does >> not >> use https at all except for one link in the comments! >> >> Now I wanted to ask you how you usually handle such things - should I file >> that as a bug/enhancement or just accept it as a "feature"? >> >> Cheers, >> >> Pascal >> > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From toolbook at kestner.de Thu Jun 27 07:09:57 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 27 Jun 2013 13:09:57 +0200 Subject: AW: "One Year Free" (Subscriptions) In-Reply-To: <51C381A7.7040705@pair.com> References: <51C36FBC.3030909@warrensweb.us> <51C381A7.7040705@pair.com> Message-ID: <006501ce7326$dc4405c0$94cc1140$@de> Hi Curry, I was unsure too, if I read the new licence model right and asked the runrev support. It is definatly like it sounds to be. If you do not renew your license after a year your commercial licence will be downgraded to the opensource license and you can't build anymore closed source apps (probably by calling home on every startup). It doesn't affect only new upgrades. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Curry Kenworthy > Gesendet: Freitag, 21. Juni 2013 00:27 > An: use-livecode at lists.runrev.com > Betreff: Re: "One Year Free" (Subscriptions) > > > > "Please note this is a subscription license, which will > automatically > renew annually. You may cancel it at any time. > > If you cancel your access to LiveCode will revert to the > Open Source > Community Edition and you will no longer be able > to build closed source > apps." > > Howdy, > > Richmond and Warren, thanks for posting about this! Somehow I had been > absent minded and forgotten about it being a subscription with LC Complete > and the new Commercial. > > Probably it means access to new versions - not affecting any existing > installed version? That's how Complete works, so I feel pretty confident > that this works the same. Definitely worth clarifying. I don't think it's > technically possible for your installed Commercial version to "revert" to > OSS version; they are different and separate. > > But another problem with subscriptions is that you must remember to have a > certain sum available in a certain bank or credit line annually, you don't > choose the best day for payment, plus you can't use PayPal. > > If you forget about it, it could also cause trouble if you're using > debit/bank rather than credit. For example you happen to have $550 in that > account on that day, and you wrote a local check for $100 a couple days ago > that will attempt to post soon after the auto deduction. (I know that's a > matter of account management, but most of my auto deductions are monthly > and that helps to remember and allocate funds for > them.) > > For a larger sum, $500, I really do not want to use a subscription that > automatically deducts! It would be so much better to get one or more emails > that say "Hey, your RunRev subscription is about to expire!" but leave the > actual payment up to me, so that I can choose the best time and source for > it. > > LC Commercial is worth every penny of that payment - but I would love to be > the one to pull the trigger on the payment rather than having it go off > automatically. :) > > Thanks again for the reminder! > > Best wishes, > > Curry K. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Thu Jun 27 07:11:42 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 27 Jun 2013 13:11:42 +0200 Subject: AW: Where do I find the current release # at runrev? In-Reply-To: <1372328031.22758.YahooMailNeo@web141104.mail.bf1.yahoo.com> References: <002501ce7305$4eea1f00$ecbe5d00$@de> <1372328031.22758.YahooMailNeo@web141104.mail.bf1.yahoo.com> Message-ID: <006601ce7327$1aab3630$5001a290$@de> Thanks Jan for clarifying! > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Jan Schenkel > Gesendet: Donnerstag, 27. Juni 2013 12:14 > An: How to use LiveCode > Betreff: Re: Where do I find the current release # at runrev? > > Hi Tiemo, > > Only the GM versions are listed in your LiveCode store account. > LiveCode 6.0.2 is the latest finished version of the commercial edition. > LiveCode 6.1 is currently in the release candidate phase. > > > HTH, > > Jan Schenkel. > > > ===== > Quartam Reports & PDF Library for LiveCode www.quartam.com > > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." > (La Rochefoucauld) > > > ----- Original Message ----- > > From: Tiemo Hollmann TB > > To: 'How to use LiveCode' > > Cc: > > Sent: Thursday, June 27, 2013 9:09 AM > > Subject: Where do I find the current release # at runrev? > > > > Hello, > > > > > > > > I wonder where I can look for, which is the current release # for the > > commercial LC version. I didn't find a clear info at runrev. > > > > When logging on to the LiveCode shop and looking into MyProducts I am > > offered version 6.0.2 but I am not sure if it is a dp or a release? Or > > are only releases shown in the shop and that's always the newest > > version for download? > > > > > > > > Thanks > > > > Tiemo > > > > > > > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From benr_mc at cogapp.com Thu Jun 27 08:20:45 2013 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 27 Jun 2013 13:20:45 +0100 Subject: Communicate with server using PUT In-Reply-To: <51CBC86A.9020608@hyperactivesw.com> References: <51CB6FC2.1030500@hyperactivesw.com> <51CB967D.3070005@hyperactivesw.com> <968C5E45-ED35-464F-8179-21130EA184CE@gmail.com> <51CBA740.2020209@hyperactivesw.com> <51CBC6AA.4000000@pdslabs.net> <51CBC86A.9020608@hyperactivesw.com> Message-ID: <51CC2E1D.8070402@cogapp.com> On 27/06/2013 06:06, J. Landman Gay wrote: > If we ever get the authentication worked out, I'm still not sure how to do a > PUT. I'll try putting the data back into the variable and send that. Hi Jacque, Are you able to watch your network traffic, eg using WireShark? I've often found this was the quickest way to figure out what was going wrong with a network issue with LiveCode - especially if I have the benefit of an alternative that worked, so I can see exactly what is sent in a request that works, and what's been sent by LiveCode that doesn't work? FWIW, this is what LiveCode (or rather, LibURL) sends across the network for the following LiveCode commands > put URL "http://www.google.com/test/?x=123" into x GET /test/?x=123 HTTP/1.1 Host: www.google.com User-Agent: LiveCode (MacOS) > post 123 to URL "http://www.google.com/test/" POST /test/ HTTP/1.1 Host: www.google.com User-Agent: LiveCode (MacOS) Content-Length: 3 Content-Type: application/x-www-form-urlencoded 123 > put 123 into URL "http://www.google.com/test/" PUT /test/ HTTP/1.1 Host: www.google.com User-Agent: LiveCode (MacOS) Content-Length: 3 Content-Type: application/x-www-form-urlencoded 123 ... but really the interesting question is what the request (and response) look like when your server person does it from Rails. Ben From gspearson at gmail.com Thu Jun 27 09:19:26 2013 From: gspearson at gmail.com (Graham Pearson) Date: Thu, 27 Jun 2013 09:19:26 -0400 Subject: Custom Properties Message-ID: <51CC3BDE.4020309@gmail.com> As I am finishing up with my first application, I am now moving global variables to custom properties as recommended by other posts on this list and the RunRev lessons site. On the main stack I have created a custom property called altWebServerURL and custom contents of http://www.yourcfpro.com/TestApp/ In a RunRev lesson on custom properties it has a line that says: answer the cName of this stack which displayed the name entered from a field called name. If I do the answer line with my altWebServerURL all I get is a blank answer box with OK and not the value of what I defined within the property contents of this custom property. What am I doing wrong? From lists at mangomultimedia.com Thu Jun 27 09:20:20 2013 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 27 Jun 2013 09:20:20 -0400 Subject: Communicate with server using PUT In-Reply-To: <51CBC86A.9020608@hyperactivesw.com> References: <51CB6FC2.1030500@hyperactivesw.com> <51CB967D.3070005@hyperactivesw.com> <968C5E45-ED35-464F-8179-21130EA184CE@gmail.com> <51CBA740.2020209@hyperactivesw.com> <51CBC6AA.4000000@pdslabs.net> <51CBC86A.9020608@hyperactivesw.com> Message-ID: On Thu, Jun 27, 2013 at 1:06 AM, J. Landman Gay wrote: > > If we ever get the authentication worked out, I'm still not sure how to do > a PUT. I'll try putting the data back into the variable and send that. put empty into url "http://domain.com/page.xxx?**value1=one&value2=two" should work fine. You can use query strings in POST, DELETE, GET or PUT. The query string is just part of the URL you are sending. Rails will parse what is in the query string and make those variables available to the Rails app. Your issue seems to be purely authorization related at this point. If you get stuck figuring out authorization let me know. If the URL is https then I wouldn't be surprised if you could just use BASIC AUTH in the header since all of the data is encrypted. -- Trevor DeVore Blue Mango Learning Systems www.clarify-it.com - www.screensteps.com From bonnmike at gmail.com Thu Jun 27 09:28:01 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 27 Jun 2013 07:28:01 -0600 Subject: Communicate with server using PUT In-Reply-To: <51CC2E1D.8070402@cogapp.com> References: <51CB6FC2.1030500@hyperactivesw.com> <51CB967D.3070005@hyperactivesw.com> <968C5E45-ED35-464F-8179-21130EA184CE@gmail.com> <51CBA740.2020209@hyperactivesw.com> <51CBC6AA.4000000@pdslabs.net> <51CBC86A.9020608@hyperactivesw.com> <51CC2E1D.8070402@cogapp.com> Message-ID: I think a put and a post are very similar. You might manually set the headers to work as a put but us post to send the data. (think the data comes through the same way, its just the headers that differ) On Thu, Jun 27, 2013 at 6:20 AM, Ben Rubinstein wrote: > On 27/06/2013 06:06, J. Landman Gay wrote: > >> If we ever get the authentication worked out, I'm still not sure how to >> do a >> PUT. I'll try putting the data back into the variable and send that. >> > > Hi Jacque, > > Are you able to watch your network traffic, eg using WireShark? I've > often found this was the quickest way to figure out what was going wrong > with a network issue with LiveCode - especially if I have the benefit of an > alternative that worked, so I can see exactly what is sent in a request > that works, and what's been sent by LiveCode that doesn't work? > > FWIW, this is what LiveCode (or rather, LibURL) sends across the network > for the following LiveCode commands > > put URL "http://www.google.com/test/?**x=123" >> into x >> > > GET /test/?x=123 HTTP/1.1 > Host: www.google.com > User-Agent: LiveCode (MacOS) > > post 123 to URL "http://www.google.com/test/" >> > > POST /test/ HTTP/1.1 > Host: www.google.com > User-Agent: LiveCode (MacOS) > Content-Length: 3 > Content-Type: application/x-www-form-**urlencoded > > 123 > > put 123 into URL "http://www.google.com/test/" >> > > PUT /test/ HTTP/1.1 > Host: www.google.com > User-Agent: LiveCode (MacOS) > Content-Length: 3 > Content-Type: application/x-www-form-**urlencoded > > 123 > > > > ... but really the interesting question is what the request (and response) > look like when your server person does it from Rails. > > Ben > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From andrew at ctech.me Thu Jun 27 09:31:50 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Thu, 27 Jun 2013 08:31:50 -0500 Subject: Custom Properties In-Reply-To: <51CC3BDE.4020309@gmail.com> References: <51CC3BDE.4020309@gmail.com> Message-ID: Hmmm, is the data being returned by that custom property an array? Array's don't display as strings on answer dialogs, etc. Also, why move your global variables to custom properties? There are some pretty good use cases for both. On Thu, Jun 27, 2013 at 8:19 AM, Graham Pearson wrote: > As I am finishing up with my first application, I am now moving global > variables to custom properties as recommended by other posts on this > list and the RunRev lessons site. > > On the main stack I have created a custom property called > altWebServerURL and custom contents of http://www.yourcfpro.com/TestApp/ > > > In a RunRev lesson on custom properties it has a line that says: > > answer the cName of this stack > > > which displayed the name entered from a field called name. > > > > > If I do the answer line with my altWebServerURL all I get is a blank > answer box with OK and not the value of what I defined within the > property contents of this custom property. > > > > What am I doing wrong? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From me at paulmaguire.me Thu Jun 27 09:48:35 2013 From: me at paulmaguire.me (Paul Maguire) Date: Thu, 27 Jun 2013 14:48:35 +0100 Subject: Android published app live... Message-ID: <39679577-CE57-4D23-92C7-10DBCCA74C09@paulmaguire.me> Hi. Anyone know how long it takes for a published Android app to go live in Google Play? I pushed the button to publish an hour ago and apparently it should take 'a matter of minutes' Kind regards, Paul. From MikeKerner at roadrunner.com Thu Jun 27 09:48:26 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 27 Jun 2013 09:48:26 -0400 Subject: Custom Properties In-Reply-To: References: <51CC3BDE.4020309@gmail.com> Message-ID: Isn't there an issue of speed (although not a big difference) where custom properties are slower than globals? On Thu, Jun 27, 2013 at 9:31 AM, Andrew Kluthe wrote: > Hmmm, is the data being returned by that custom property an array? Array's > don't display as strings on answer dialogs, etc. > > Also, why move your global variables to custom properties? There are some > pretty good use cases for both. > > > On Thu, Jun 27, 2013 at 8:19 AM, Graham Pearson > wrote: > > > As I am finishing up with my first application, I am now moving global > > variables to custom properties as recommended by other posts on this > > list and the RunRev lessons site. > > > > On the main stack I have created a custom property called > > altWebServerURL and custom contents of http://www.yourcfpro.com/TestApp/ > > > > > > In a RunRev lesson on custom properties it has a line that says: > > > > answer the cName of this stack > > > > > > which displayed the name entered from a field called name. > > > > > > > > > > If I do the answer line with my altWebServerURL all I get is a blank > > answer box with OK and not the value of what I defined within the > > property contents of this custom property. > > > > > > > > What am I doing wrong? > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > Regards, > > Andrew Kluthe > andrew at ctech.me > _______________________________________________ > use-livecode mailing list > use-livecode at 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." From roger.e.eller at sealedair.com Thu Jun 27 09:54:31 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 27 Jun 2013 09:54:31 -0400 Subject: Custom Properties In-Reply-To: References: <51CC3BDE.4020309@gmail.com> Message-ID: I confirmed that either of these works as long as you have first: *set* the cName of this stack to "Bla Bla Bla" *answer* the cName of this stack or *get* the cName of this stack; *answer* it ~Roger On Thu, Jun 27, 2013 at 9:31 AM, Andrew Kluthe wrote: > Hmmm, is the data being returned by that custom property an array? Array's > don't display as strings on answer dialogs, etc. > > Also, why move your global variables to custom properties? There are some > pretty good use cases for both. > > > On Thu, Jun 27, 2013 at 8:19 AM, Graham Pearson > wrote: > > > As I am finishing up with my first application, I am now moving global > > variables to custom properties as recommended by other posts on this > > list and the RunRev lessons site. > > > > On the main stack I have created a custom property called > > altWebServerURL and custom contents of http://www.yourcfpro.com/TestApp/ > > > > > > In a RunRev lesson on custom properties it has a line that says: > > > > answer the cName of this stack > > > > > > which displayed the name entered from a field called name. > > > > > > > > > > If I do the answer line with my altWebServerURL all I get is a blank > > answer box with OK and not the value of what I defined within the > > property contents of this custom property. > > > > > > > > What am I doing wrong? > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > Regards, > > Andrew Kluthe > andrew at ctech.me > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From gspearson at gmail.com Thu Jun 27 09:55:33 2013 From: gspearson at gmail.com (Graham Pearson) Date: Thu, 27 Jun 2013 09:55:33 -0400 Subject: Custom Properties In-Reply-To: References: <51CC3BDE.4020309@gmail.com> Message-ID: <51CC4455.6030701@gmail.com> In the custom contents of this custom property has text which is listed as http://www.yourcfpro.com/TestApp. I also have other custom properties where I have true or false values and they are all displaying blank answer windows when I try to view them so I know I am doing something wrong. To answer the why is I am wanting to move away from Adobe Air/Flash to LC and have been wading in water with Livecode for the past 3 years. Over the past 3 months, I have spent hours each day working with LC to finally make the switch as I move my desktop applications to LC. I can see the possibilities in my daily work environment with LC and some possibilities with mobile applications as an extra enhancement to the dynamic websites I have already created. The piece of the puzzle I have been missing with Adobe Air/Flash is the mobile section. How I have always learned something is to create something that I need in my daily work environment in education as this allows me to retain the information even though I know it will be very frustrating learning on a training budget of $0.00 and using Google,Ask, Mailing Lists and viewing other peoples code to understand techniques and best practices. As I update my application to work out the issue of updating automatically, the stacks I have found online use custom properties and were written in pre Livecode days and I can not get them to work in my project which I get same result when I try to debug the custom properties. I am just trying to learn this to find out which way is best for this specific application as this application might be best with global variables and another might be best with custom properties. On 6/27/2013 9:31 AM, Andrew Kluthe wrote: > Hmmm, is the data being returned by that custom property an array? Array's > don't display as strings on answer dialogs, etc. > > Also, why move your global variables to custom properties? There are some > pretty good use cases for both. > > > On Thu, Jun 27, 2013 at 8:19 AM, Graham Pearson wrote: > >> As I am finishing up with my first application, I am now moving global >> variables to custom properties as recommended by other posts on this >> list and the RunRev lessons site. >> >> On the main stack I have created a custom property called >> altWebServerURL and custom contents of http://www.yourcfpro.com/TestApp/ >> >> >> In a RunRev lesson on custom properties it has a line that says: >> >> answer the cName of this stack >> >> >> which displayed the name entered from a field called name. >> >> >> >> >> If I do the answer line with my altWebServerURL all I get is a blank >> answer box with OK and not the value of what I defined within the >> property contents of this custom property. >> >> >> >> What am I doing wrong? >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > From CFORD at mailbox.sc.edu Thu Jun 27 09:56:44 2013 From: CFORD at mailbox.sc.edu (FORD JR, CURT) Date: Thu, 27 Jun 2013 13:56:44 +0000 Subject: some sounds not playing on Windows 8 Message-ID: <4AC93F8FE7AA27449837C912ED63052105D544C4@CAE145EMBP04.ds.sc.edu> We've got a project that involves many sounds, all accessed through players. On most cards the controller is visible; on two cards with shorter sounds, we have small buttons that set the filename of an invisible player and start it playing. It's been working well on Mac, XP, and Windows 7. We've just had a report from a user on Windows 8 that sounds are working properly only on the cards with buttons and the invisible player. On cards with controller bars, the "sound doesn't work" (haven't been able to get more detail as to what exactly does/doesn't happen). I haven't been able to get confirmation that the customer has QuickTime installed, though I would have assumed that if it's not, no sounds would play at all. Anyone have any ideas why the controller might not work on Windows 8, though sounds played by an invisible controller do work? -Curt From m_p_wilcox at yahoo.co.uk Thu Jun 27 09:59:29 2013 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Thu, 27 Jun 2013 14:59:29 +0100 (BST) Subject: Android published app live... In-Reply-To: <39679577-CE57-4D23-92C7-10DBCCA74C09@paulmaguire.me> References: <39679577-CE57-4D23-92C7-10DBCCA74C09@paulmaguire.me> Message-ID: <1372341569.18978.YahooMailNeo@web28803.mail.ir2.yahoo.com> I've seen anywhere from minutes to a few hours. ________________________________ From: Paul Maguire To: How to use LiveCode Sent: Thursday, 27 June 2013, 14:48 Subject: Android published app live... Hi. Anyone know how long it takes for a published Android app to go live in Google Play? I pushed the button to publish an hour ago and apparently it should take 'a matter of minutes' Kind regards,??? ??? Paul. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Thu Jun 27 10:02:02 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 27 Jun 2013 10:02:02 -0400 Subject: Android published app live... In-Reply-To: <39679577-CE57-4D23-92C7-10DBCCA74C09@paulmaguire.me> References: <39679577-CE57-4D23-92C7-10DBCCA74C09@paulmaguire.me> Message-ID: <00e301ce733e$e69341e0$b3b9c5a0$@net> I've had it take from 20 min to a couple of hours Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Paul Maguire Sent: Thursday, June 27, 2013 9:49 AM To: How to use LiveCode Subject: Android published app live... Hi. Anyone know how long it takes for a published Android app to go live in Google Play? I pushed the button to publish an hour ago and apparently it should take 'a matter of minutes' Kind regards, Paul. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Thu Jun 27 10:00:34 2013 From: dsc at swcp.com (Dar Scott) Date: Thu, 27 Jun 2013 08:00:34 -0600 Subject: Communicate with server using PUT In-Reply-To: <51CB6FC2.1030500@hyperactivesw.com> References: <51CB6FC2.1030500@hyperactivesw.com> Message-ID: <7C57D853-F52A-4A8E-9E09-7F4F990F4878@swcp.com> I have had trouble with PUT. I worked with the ISP to make sure it was enabled. I set up the right access file permissions. I made sure to put the name and password in the URL. And failure. So, either there was some overriding setting at the ISP that blocked things or either me or liburl is broken. I'm trying to remember what file was needed in the folder for the file to be PUT. I can look for it. Dar On Jun 26, 2013, at 4:48 PM, J. Landman Gay wrote: > I need to send data to a server and they want me to use PUT instead of POST. I also need to get a verification afterward to know whether the transaction succeeded or not. The docs aren't clear on that, it just says errors are reported in the result. > > Before I spend too much time on this, does a PUT also provide a response in the result? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From me at paulmaguire.me Thu Jun 27 10:02:30 2013 From: me at paulmaguire.me (Paul Maguire) Date: Thu, 27 Jun 2013 15:02:30 +0100 Subject: Android published app live... In-Reply-To: <00e301ce733e$e69341e0$b3b9c5a0$@net> References: <39679577-CE57-4D23-92C7-10DBCCA74C09@paulmaguire.me> <00e301ce733e$e69341e0$b3b9c5a0$@net> Message-ID: <422367CA-5FBA-496D-93C7-BB69B3D164E9@paulmaguire.me> Thanks Mark and Ralph! From mcgrath3 at mac.com Thu Jun 27 10:07:01 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 27 Jun 2013 10:07:01 -0400 Subject: Communicate with server using PUT In-Reply-To: <00b901ce72c9$b54b5890$1fe209b0$@net> References: <51CB6FC2.1030500@hyperactivesw.com> <51CB744C.4000308@hyperactivesw.com> <13D5B593-75DE-42DA-A2BE-DCE3A2B81F82@sweattechnologies.com> <51CB77CE.20608@hyperactivesw.com> <00b901ce72c9$b54b5890$1fe209b0$@net> Message-ID: <92B6DA2A-5038-4AA0-A1D7-597E39236443@mac.com> Ralph, I'm trying to learn about the Google api and understand your code and wanted to know what is expected in CSZ to feed to this function? what is your typical line of code that calls this function? Thanks -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jun 26, 2013, at 8:03 PM, Ralph DiMola wrote: > J, > > Well I guess no attachments on the list. Here it is in-line. > > function GeoCode StreetAddress , CSZ > > --Status Codes > --"OK" indicates that no errors occurred; the address was successfully > parsed and at least one geocode was returned. > --"ZERO_RESULTS" indicates that the geocode was successful but returned > no results. This may occur if the geocode was passed a non-existent address > or a latlng in a remote location. > --"OVER_QUERY_LIMIT" indicates that you are over your quota. > --"REQUEST_DENIED" indicates that your request was denied, generally > because of lack of a sensor parameter. > --"INVALID_REQUEST"generally indicates that the query (address or latlng) > is missing > > > --Location Types > --"ROOFTOP" indicates that the returned result is a precise geocode for > which we have location information accurate down to street > -- address precision. > --"RANGE_INTERPOLATED" indicates that the returned result reflects an > approximation (usually on a road) interpolated between two > -- precise points (such as intersections). Interpolated results are > generally returned when rooftop geocodes are unavailable > -- for a street address. > --"GEOMETRIC_CENTER" indicates that the returned result is the geometric > center of a result such as a polyline (for example, a street) > -- or polygon (region). > --"APPROXIMATE" indicates that the returned result is approximate > > local gxml , txml , str1 , pos1 , add1 , I , str2 > Local Geo > > put empty into Geo > repeat with I = 1 to the number of lines in StreetAddress > put offset ("#",line I of StreetAddress) into pos1 > if pos1 <> 0 then put char 1 to (pos1-1) of line I of StreetAddress > into line I of Streetaddress > Replace " " with " " in line I of StreetAddress > replace " " with "+" in line I of StreetAddress > put Add1 && Line I of Streetaddress into Add1 > end repeat > delete char 1 in Add1 > Replace " " with " " in CSZ > replace " " with "+" in CSZ > > put url ("http://maps.googleapis.com/maps/api/geocode/xml?address=" & > add1 & comma & "+" & CSZ & "&sensor=false") into gxml > delete line 1 in gxml > put revCreateXMLTree(gxml,true,true,false) into txml > put revxmlnodecontents(txml,"GeocodeResponse/status") into geo["Status"] > replace "OVER_" with "" in geo["Status"] > if revxmlnodecontents(txml,"GeocodeResponse/status") = "OK" then > if xmlnodecontents(txml,"GeocodeResponse/result/formatted_address") is > not empty then \ > put > xmlnodecontents(txml,"GeocodeResponse/result/formatted_address") into > Geo["FormattedAddress"] > put xmlnodecontents(txml,"GeocodeResponse/result/partial_match") into > Geo["PartialMatch"] > repeat with I = 1 to > revxmlnumberofchildren(txml,"/GeocodeResponse/result","address_component",1) > switch > revxmlnodecontents(txml,"GeocodeResponse/result/address_component[" & I & > "]/type") > Case "administrative_area_level_2" > put > revxmlnodecontents(txml,"GeocodeResponse/result/address_component[" & I & > "]/long_name") into geo["County"] > Break > Case "administrative_area_level_3" > put > revxmlnodecontents(txml,"GeocodeResponse/result/address_component[" & I & > "]/long_name") into geo["City"] > Break > Case "street_number" > put > revxmlnodecontents(txml,"GeocodeResponse/result/address_component[" & I & > "]/long_name") into geo["StreetNumber"] > Break > Case "route" > put > revxmlnodecontents(txml,"GeocodeResponse/result/address_component[" & I & > "]/long_name") into geo["Route"] > Break > Case "locality" > put > revxmlnodecontents(txml,"GeocodeResponse/result/address_component[" & I & > "]/long_name") into geo["City"] > Break > Case "administrative_area_level_1" > put > revxmlnodecontents(txml,"GeocodeResponse/result/address_component[" & I & > "]/long_name") into geo["StateName"] > put > revxmlnodecontents(txml,"GeocodeResponse/result/address_component[" & I & > "]/short_name") into geo["State"] > Break > Case "Country" > put > revxmlnodecontents(txml,"GeocodeResponse/result/address_component[" & I & > "]/long_name") into geo["Country"] > Break > Case "postal_code" > put > revxmlnodecontents(txml,"GeocodeResponse/result/address_component[" & I & > "]/long_name") into geo["ZIP"] > Break > default > --breakpoint > break > end switch > end repeat > put > revXMLChildNames(txml,"/GeocodeResponse/result/geometry",comma,,false) into > str1 > repeat for each item nodename in str1 > switch nodename > Case "location" > put > revxmlnodecontents(txml,"GeocodeResponse/result/geometry/"&nodename&"/lat") > into geo["Lat"]["Center"] > put > revxmlnodecontents(txml,"GeocodeResponse/result/geometry/"&nodename&"/lng") > into geo["Lon"]["Center"] > break > Case "location_type" > put > revxmlnodecontents(txml,"GeocodeResponse/result/geometry/"&nodename) into > geo["LocationType"] > replace "RANGE_" with empty in geo["LocationType"] > break > Case "viewport" > put > revXMLChildNames(txml,"/GeocodeResponse/result/geometry/"&nodename,comma,,fa > lse) into str2 > repeat for each item vp in str2 > put > revxmlnodecontents(txml,"GeocodeResponse/result/geometry/"&nodename&slash&vp > &"/lat") into geo["Lat"][vp] > put > revxmlnodecontents(txml,"GeocodeResponse/result/geometry/"&nodename&slash&vp > &"/lng") into geo["Lon"][vp] > end repeat > break > end switch > end repeat > end if > --breakpoint > return geo > end GeoCode > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of J. Landman Gay > Sent: Wednesday, June 26, 2013 7:23 PM > To: How to use LiveCode > Subject: Re: Communicate with server using PUT > > When I use the full URL with "get url" it returns a 404. When the server > person does it from Rails, they get data back. I need to get the same data > back, so I guess checking the headers won't work. The server responds with > stuff I need to use. > > So if "get URL" is the way to do it, then the "get" should give me the data. > The 404 is odd, but maybe we can figure out that part. > > > On 6/26/13 6:11 PM, Monte Goulding wrote: >> Should be the latter... what's the error? >> >> On 27/06/2013, at 9:07 AM, "J. Landman Gay" > wrote: >> >>> That's an idea, thanks. >>> >>> I'm having trouble actually doing the PUT. I need to send a string like > this: >>> >>> http://domain.com/page?thing=one&other=two&somethingelse=three >>> >>> What's the proper way to format that? Should I be using this: >>> >>> put "thing=one&other=two&somethingelse=three" into url > "http://domain.com/page" >>> >>> Or should I use "get URL" with the full URL? Both ways are returning > errors. >>> >>> >>> On 6/26/13 5:53 PM, Monte Goulding wrote: >>>> you should be able to check the libURLLastRHHeaders.. unless you are >>>> talking about mobile... actually there's no put on mobile anyway... >>>> >>>> On 27/06/2013, at 8:48 AM, "J. Landman Gay" >>>> wrote: >>>> >>>>> I need to send data to a server and they want me to use PUT instead >>>>> of POST. I also need to get a verification afterward to know >>>>> whether the transaction succeeded or not. The docs aren't clear on >>>>> that, it just says errors are reported in the result. >>>>> >>>>> Before I spend too much time on this, does a PUT also provide a >>>>> response in the result? >>> >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> -- >> Monte Goulding >> >> M E R Goulding - software development services >> mergExt - There's an external for that! >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m_p_wilcox at yahoo.co.uk Thu Jun 27 10:07:20 2013 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Thu, 27 Jun 2013 15:07:20 +0100 (BST) Subject: OOH! Here are a couple of cool ios7 features that I hope LC takes advantage of! In-Reply-To: References: <8CA052C8-3DAC-466F-B61B-700FD2590E47@sweattechnologies.com> Message-ID: <1372342040.62033.YahooMailNeo@web28805.mail.ir2.yahoo.com> I think Monte is right, this is per-app control of system services rather than something implemented by the apps themselves. ?Like you have per-app settings for notifications right now which the user controls, the first two of these will be settings controlled by the IT department. ?App Data Protection is, as it says, automatic for all apps, although only works while the device is passcode locked. Mark ________________________________ From: Mike Kerner To: How to use LiveCode Sent: Wednesday, 26 June 2013, 22:33 Subject: Re: OOH! Here are a couple of cool ios7 features that I hope LC takes advantage of! Without looking at the API's for 7, I was guessing each of those were things that could be set up per app, which, if correct, would then be subject to LC implementing them.? The context implied that to me, but I don't know that for sure. This will be unbelievably useful for our in-house apps, and will both greatly reduce the stress we go through with them, and will make iOS the first choice, I think, for in-house apps. On Wed, Jun 26, 2013 at 5:00 PM, Monte Goulding wrote: > All three of these look like things that IT departments setup and work > with any app... managed open in for example would just change the list of > open in apps you see in mergDoc. Just a way for them to further interfere > with your life when you BYOD.... > > > On 27/06/2013, at 3:27 AM, Mike Kerner wrote: > > > www.apple.com/ios/ios7/business/ > > > > 1) "Managed Open In"? - can make your data only openable in your app, > which > > takes the sandbox (which was already really good) even further > > > > 2) Per app VPN > > > > 3) App Data Protection is now automatic, no need to set it for your app. > > > > > > -- > > 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 at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From gspearson at gmail.com Thu Jun 27 10:15:23 2013 From: gspearson at gmail.com (Graham Pearson) Date: Thu, 27 Jun 2013 10:15:23 -0400 Subject: Custom Properties In-Reply-To: References: <51CC3BDE.4020309@gmail.com> Message-ID: <51CC48FB.4060303@gmail.com> Now I am very lost as usual. on my stack script I did the set script with a new custom property called altNewCustomPropertythat has a value of "http://www.google.com" and when I did the answer I got http:/www.google.com However, In the stack or in the card property inspector under custom properties I do not see this custom property called altNewCustomProperty so I must be trying to put the name/value items in the wrong location. I would have thought that if I set a custom property it would have shown up in the Property Inspector under Custom Property until the time it was deleted if they can even be deleted via a script. Back to the drawing board. On 6/27/2013 9:54 AM, Roger Eller wrote: > I confirmed that either of these works as long as you have first: > > *set* the cName of this stack to "Bla Bla Bla" > > *answer* the cName of this stack > > or > > *get* the cName of this stack; *answer* it > ~Roger > > > On Thu, Jun 27, 2013 at 9:31 AM, Andrew Kluthe wrote: > >> Hmmm, is the data being returned by that custom property an array? Array's >> don't display as strings on answer dialogs, etc. >> >> Also, why move your global variables to custom properties? There are some >> pretty good use cases for both. >> >> >> On Thu, Jun 27, 2013 at 8:19 AM, Graham Pearson >> wrote: >> >>> As I am finishing up with my first application, I am now moving global >>> variables to custom properties as recommended by other posts on this >>> list and the RunRev lessons site. >>> >>> On the main stack I have created a custom property called >>> altWebServerURL and custom contents of http://www.yourcfpro.com/TestApp/ >>> >>> >>> In a RunRev lesson on custom properties it has a line that says: >>> >>> answer the cName of this stack >>> >>> >>> which displayed the name entered from a field called name. >>> >>> >>> >>> >>> If I do the answer line with my altWebServerURL all I get is a blank >>> answer box with OK and not the value of what I defined within the >>> property contents of this custom property. >>> >>> >>> >>> What am I doing wrong? >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> >> -- >> Regards, >> >> Andrew Kluthe >> andrew at ctech.me >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From lfredricks at proactive-intl.com Thu Jun 27 10:34:54 2013 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Thu, 27 Jun 2013 07:34:54 -0700 Subject: Free Valentina Studio, Valentina DB & Reports for LiveCodeUpgraded to 5.3 In-Reply-To: References: Message-ID: > Any problems reported with VServer and Win7 running as a > service? It immediately stops after the service starts up. (for me) Skip - you should post to MANTIS and/or get Ruslan's attention so we can check it out. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From MikeKerner at roadrunner.com Thu Jun 27 10:35:07 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 27 Jun 2013 10:35:07 -0400 Subject: OOH! Here are a couple of cool ios7 features that I hope LC takes advantage of! In-Reply-To: <1372342040.62033.YahooMailNeo@web28805.mail.ir2.yahoo.com> References: <8CA052C8-3DAC-466F-B61B-700FD2590E47@sweattechnologies.com> <1372342040.62033.YahooMailNeo@web28805.mail.ir2.yahoo.com> Message-ID: BTW, there is another setting in the control panels, which allows apps to auto-update in the background, which would also be a bonus - i.e. not having to hack the app to get it to do something in the background - but the user will now have control over apps getting a bunch of time for background processing. That is a big deal for me. Right now, on the issue of data protection, there are several ways to set the control in the app itself. Now it will be automatic, so it appears that setting will be obsolete. If we can do the Per-App VPN in the app, then it makes it much easier to pass it out to employees for their own personal devices. As for the managed "open in", again, if you can set it in the app, then the issue of a personal device isn't an issue. Right now, if you have control of the device and you can connect it to iTunes or XCode, you can extract the data file and manipulate it. This should make that process much more difficult, and if you set it in the app, then that's a big, big bonus for folks distributing apps that go on personal devices. On Thu, Jun 27, 2013 at 10:07 AM, Mark Wilcox wrote: > I think Monte is right, this is per-app control of system services rather > than something implemented by the apps themselves. Like you have per-app > settings for notifications right now which the user controls, the first two > of these will be settings controlled by the IT department. App Data > Protection is, as it says, automatic for all apps, although only works > while the device is passcode locked. > > Mark > > > ________________________________ > From: Mike Kerner > To: How to use LiveCode > Sent: Wednesday, 26 June 2013, 22:33 > Subject: Re: OOH! Here are a couple of cool ios7 features that I hope LC > takes advantage of! > > > Without looking at the API's for 7, I was guessing each of those were > things that could be set up per app, which, if correct, would then be > subject to LC implementing them. The context implied that to me, but I > don't know that for sure. > > This will be unbelievably useful for our in-house apps, and will both > greatly reduce the stress we go through with them, and will make iOS the > first choice, I think, for in-house apps. > > > > On Wed, Jun 26, 2013 at 5:00 PM, Monte Goulding < > monte at sweattechnologies.com > > wrote: > > > All three of these look like things that IT departments setup and work > > with any app... managed open in for example would just change the list of > > open in apps you see in mergDoc. Just a way for them to further interfere > > with your life when you BYOD.... > > > > > > On 27/06/2013, at 3:27 AM, Mike Kerner > wrote: > > > > > www.apple.com/ios/ios7/business/ > > > > > > 1) "Managed Open In" - can make your data only openable in your app, > > which > > > takes the sandbox (which was already really good) even further > > > > > > 2) Per app VPN > > > > > > 3) App Data Protection is now automatic, no need to set it for your > app. > > > > > > > > > -- > > > 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 at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > -- > > Monte Goulding > > > > M E R Goulding - software development services > > mergExt - There's an external for that! > > > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at 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 at 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." From andrew at ctech.me Thu Jun 27 10:36:31 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Thu, 27 Jun 2013 09:36:31 -0500 Subject: Custom Properties In-Reply-To: <51CC48FB.4060303@gmail.com> References: <51CC3BDE.4020309@gmail.com> <51CC48FB.4060303@gmail.com> Message-ID: Hmm, perhaps look some of these lessons over again to get a clearer understanding of whats custom properties are and how to use them in various ways. http://lessons.runrev.com/s/lessons/tags?tag=custom+properties The old user manual from when LC was still revolution (I believe it was from the Revolution 4.0 era) was also incredibly useful to me. I read it front to back when I first got started. It really gave me a clear understanding of stuff like the message path, custom properties, etc. I however can't find a link to the old style user manual. It also doesn't seem the info in it is translated to the new attempt at a "Developer's guide". Maybe someone on list can upload a PDF of the oldstyle user guide for you. On Thu, Jun 27, 2013 at 9:15 AM, Graham Pearson wrote: > Now I am very lost as usual. on my stack script I did the set script > with a new custom property called altNewCustomPropertythat has a value > of "http://www.google.com" and when I did the answer I got > http:/www.google.com > > > However, In the stack or in the card property inspector under custom > properties I do not see this custom property called altNewCustomProperty > so I must be trying to put the name/value items in the wrong location. > > > I would have thought that if I set a custom property it would have shown > up in the Property Inspector under Custom Property until the time it was > deleted if they can even be deleted via a script. Back to the drawing > board. > > > > > On 6/27/2013 9:54 AM, Roger Eller wrote: > > I confirmed that either of these works as long as you have first: > > > > *set* the cName of this stack to "Bla Bla Bla" > > > > *answer* the cName of this stack > > > > or > > > > *get* the cName of this stack; *answer* it > > ~Roger > > > > > > On Thu, Jun 27, 2013 at 9:31 AM, Andrew Kluthe wrote: > > > >> Hmmm, is the data being returned by that custom property an array? > Array's > >> don't display as strings on answer dialogs, etc. > >> > >> Also, why move your global variables to custom properties? There are > some > >> pretty good use cases for both. > >> > >> > >> On Thu, Jun 27, 2013 at 8:19 AM, Graham Pearson > >> wrote: > >> > >>> As I am finishing up with my first application, I am now moving global > >>> variables to custom properties as recommended by other posts on this > >>> list and the RunRev lessons site. > >>> > >>> On the main stack I have created a custom property called > >>> altWebServerURL and custom contents of > http://www.yourcfpro.com/TestApp/ > >>> > >>> > >>> In a RunRev lesson on custom properties it has a line that says: > >>> > >>> answer the cName of this stack > >>> > >>> > >>> which displayed the name entered from a field called name. > >>> > >>> > >>> > >>> > >>> If I do the answer line with my altWebServerURL all I get is a blank > >>> answer box with OK and not the value of what I defined within the > >>> property contents of this custom property. > >>> > >>> > >>> > >>> What am I doing wrong? > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >> > >> > >> > >> -- > >> Regards, > >> > >> Andrew Kluthe > >> andrew at ctech.me > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From rdimola at evergreeninfo.net Thu Jun 27 10:45:46 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 27 Jun 2013 10:45:46 -0400 Subject: Communicate with server using PUT In-Reply-To: <92B6DA2A-5038-4AA0-A1D7-597E39236443@mac.com> References: <51CB6FC2.1030500@hyperactivesw.com> <51CB744C.4000308@hyperactivesw.com> <13D5B593-75DE-42DA-A2BE-DCE3A2B81F82@sweattechnologies.com> <51CB77CE.20608@hyperactivesw.com> <00b901ce72c9$b54b5890$1fe209b0$@net> <92B6DA2A-5038-4AA0-A1D7-597E39236443@mac.com> Message-ID: <00e701ce7345$0248dbb0$06da9310$@net> I apologize for being lazy but I have used the CSZ acronym for 20 years. It stands for "City State Zip". I found that just sending the zip yields the best results. Examples: put GeoCode("455 Park Ave suite 4401" , "10011") into Geo put GeoCode("54 Main Street" , "12801") into Geo GeoCode returns an array with the these keys: ["Lat"]["Center"] ["Lon["Center"] ["Status"] ["LocationType"] ["PartialMatch"] Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Thomas McGrath III Sent: Thursday, June 27, 2013 10:07 AM To: How to use LiveCode Subject: Re: Communicate with server using PUT Ralph, I'm trying to learn about the Google api and understand your code and wanted to know what is expected in CSZ to feed to this function? what is your typical line of code that calls this function? Thanks -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jun 26, 2013, at 8:03 PM, Ralph DiMola wrote: > J, > > Well I guess no attachments on the list. Here it is in-line. > > function GeoCode StreetAddress , CSZ > > --Status Codes > --"OK" indicates that no errors occurred; the address was > successfully parsed and at least one geocode was returned. > --"ZERO_RESULTS" indicates that the geocode was successful but > returned no results. This may occur if the geocode was passed a > non-existent address or a latlng in a remote location. > --"OVER_QUERY_LIMIT" indicates that you are over your quota. > --"REQUEST_DENIED" indicates that your request was denied, generally > because of lack of a sensor parameter. > --"INVALID_REQUEST"generally indicates that the query (address or > latlng) is missing > > > --Location Types > --"ROOFTOP" indicates that the returned result is a precise geocode > for which we have location information accurate down to street > -- address precision. > --"RANGE_INTERPOLATED" indicates that the returned result reflects > an approximation (usually on a road) interpolated between two > -- precise points (such as intersections). Interpolated results are > generally returned when rooftop geocodes are unavailable > -- for a street address. > --"GEOMETRIC_CENTER" indicates that the returned result is the > geometric center of a result such as a polyline (for example, a street) > -- or polygon (region). > --"APPROXIMATE" indicates that the returned result is approximate > > local gxml , txml , str1 , pos1 , add1 , I , str2 > Local Geo > > put empty into Geo > repeat with I = 1 to the number of lines in StreetAddress > put offset ("#",line I of StreetAddress) into pos1 > if pos1 <> 0 then put char 1 to (pos1-1) of line I of > StreetAddress into line I of Streetaddress > Replace " " with " " in line I of StreetAddress > replace " " with "+" in line I of StreetAddress > put Add1 && Line I of Streetaddress into Add1 > end repeat > delete char 1 in Add1 > Replace " " with " " in CSZ > replace " " with "+" in CSZ > > put url ("http://maps.googleapis.com/maps/api/geocode/xml?address=" > & > add1 & comma & "+" & CSZ & "&sensor=false") into gxml > delete line 1 in gxml > put revCreateXMLTree(gxml,true,true,false) into txml > put revxmlnodecontents(txml,"GeocodeResponse/status") into geo["Status"] > replace "OVER_" with "" in geo["Status"] > if revxmlnodecontents(txml,"GeocodeResponse/status") = "OK" then > if > xmlnodecontents(txml,"GeocodeResponse/result/formatted_address") is not empty then \ > put > xmlnodecontents(txml,"GeocodeResponse/result/formatted_address") into > Geo["FormattedAddress"] > put xmlnodecontents(txml,"GeocodeResponse/result/partial_match") > into Geo["PartialMatch"] > repeat with I = 1 to > revxmlnumberofchildren(txml,"/GeocodeResponse/result","address_component",1) > switch > revxmlnodecontents(txml,"GeocodeResponse/result/address_component[" & > I & > "]/type") > Case "administrative_area_level_2" > put > revxmlnodecontents(txml,"GeocodeResponse/result/address_component[" & > I & > "]/long_name") into geo["County"] > Break > Case "administrative_area_level_3" > put > revxmlnodecontents(txml,"GeocodeResponse/result/address_component[" & > I & > "]/long_name") into geo["City"] > Break > Case "street_number" > put > revxmlnodecontents(txml,"GeocodeResponse/result/address_component[" & > I & > "]/long_name") into geo["StreetNumber"] > Break > Case "route" > put > revxmlnodecontents(txml,"GeocodeResponse/result/address_component[" & > I & > "]/long_name") into geo["Route"] > Break > Case "locality" > put > revxmlnodecontents(txml,"GeocodeResponse/result/address_component[" & > I & > "]/long_name") into geo["City"] > Break > Case "administrative_area_level_1" > put > revxmlnodecontents(txml,"GeocodeResponse/result/address_component[" & > I & > "]/long_name") into geo["StateName"] > put > revxmlnodecontents(txml,"GeocodeResponse/result/address_component[" & > I & > "]/short_name") into geo["State"] > Break > Case "Country" > put > revxmlnodecontents(txml,"GeocodeResponse/result/address_component[" & > I & > "]/long_name") into geo["Country"] > Break > Case "postal_code" > put > revxmlnodecontents(txml,"GeocodeResponse/result/address_component[" & > I & > "]/long_name") into geo["ZIP"] > Break > default > --breakpoint > break > end switch > end repeat > put > revXMLChildNames(txml,"/GeocodeResponse/result/geometry",comma,,false) > into > str1 > repeat for each item nodename in str1 > switch nodename > Case "location" > put > revxmlnodecontents(txml,"GeocodeResponse/result/geometry/"&nodename&"/ > lat") > into geo["Lat"]["Center"] > put > revxmlnodecontents(txml,"GeocodeResponse/result/geometry/"&nodename&"/ > lng") > into geo["Lon"]["Center"] > break > Case "location_type" > put > revxmlnodecontents(txml,"GeocodeResponse/result/geometry/"&nodename) > into geo["LocationType"] > replace "RANGE_" with empty in geo["LocationType"] > break > Case "viewport" > put > revXMLChildNames(txml,"/GeocodeResponse/result/geometry/"&nodename,com > ma,,fa > lse) into str2 > repeat for each item vp in str2 > put > revxmlnodecontents(txml,"GeocodeResponse/result/geometry/"&nodename&sl > ash&vp > &"/lat") into geo["Lat"][vp] > put > revxmlnodecontents(txml,"GeocodeResponse/result/geometry/"&nodename&sl > ash&vp > &"/lng") into geo["Lon"][vp] > end repeat > break > end switch > end repeat > end if > --breakpoint > return geo > end GeoCode > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf Of J. Landman Gay > Sent: Wednesday, June 26, 2013 7:23 PM > To: How to use LiveCode > Subject: Re: Communicate with server using PUT > > When I use the full URL with "get url" it returns a 404. When the > server person does it from Rails, they get data back. I need to get > the same data back, so I guess checking the headers won't work. The > server responds with stuff I need to use. > > So if "get URL" is the way to do it, then the "get" should give me the data. > The 404 is odd, but maybe we can figure out that part. > > > On 6/26/13 6:11 PM, Monte Goulding wrote: >> Should be the latter... what's the error? >> >> On 27/06/2013, at 9:07 AM, "J. Landman Gay" >> > wrote: >> >>> That's an idea, thanks. >>> >>> I'm having trouble actually doing the PUT. I need to send a string >>> like > this: >>> >>> http://domain.com/page?thing=one&other=two&somethingelse=three >>> >>> What's the proper way to format that? Should I be using this: >>> >>> put "thing=one&other=two&somethingelse=three" into url > "http://domain.com/page" >>> >>> Or should I use "get URL" with the full URL? Both ways are returning > errors. >>> >>> >>> On 6/26/13 5:53 PM, Monte Goulding wrote: >>>> you should be able to check the libURLLastRHHeaders.. unless you >>>> are talking about mobile... actually there's no put on mobile anyway... >>>> >>>> On 27/06/2013, at 8:48 AM, "J. Landman Gay" >>>> wrote: >>>> >>>>> I need to send data to a server and they want me to use PUT >>>>> instead of POST. I also need to get a verification afterward to >>>>> know whether the transaction succeeded or not. The docs aren't >>>>> clear on that, it just says errors are reported in the result. >>>>> >>>>> Before I spend too much time on this, does a PUT also provide a >>>>> response in the result? >>> >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> -- >> Monte Goulding >> >> M E R Goulding - software development services mergExt - There's an >> external for that! >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From lists at mangomultimedia.com Thu Jun 27 10:46:59 2013 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 27 Jun 2013 10:46:59 -0400 Subject: Communicate with server using PUT In-Reply-To: <7C57D853-F52A-4A8E-9E09-7F4F990F4878@swcp.com> References: <51CB6FC2.1030500@hyperactivesw.com> <7C57D853-F52A-4A8E-9E09-7F4F990F4878@swcp.com> Message-ID: On Thu, Jun 27, 2013 at 10:00 AM, Dar Scott wrote: > I have had trouble with PUT. > > I worked with the ISP to make sure it was enabled. I set up the right > access file permissions. I made sure to put the name and password in the > URL. And failure. > > So, either there was some overriding setting at the ISP that blocked > things or either me or liburl is broken. > Dar, I've used libURL for years to send PUT calls to my servers so I don't think it is libURL. It is the call used whenever you are updating a resource on the server. I recall that a few years ago I had to mimic PUT by doing a POST with a parameter specifying that the server should process as a PUT. This was a ruby on rails issue IIRC, however. -- Trevor DeVore Blue Mango Learning Systems www.clarify-it.com - www.screensteps.com From alanstenhouse at hotmail.com Thu Jun 27 10:59:43 2013 From: alanstenhouse at hotmail.com (Alan Stenhouse) Date: Thu, 27 Jun 2013 16:59:43 +0200 Subject: Custom Properties In-Reply-To: References: Message-ID: Perhaps they're under a different custom property set? Did you check in the Custom Properties inspector if there's any other property sets that you could choose? (There's a popup under the scrolling field of custom properties). Can you paste in the command you're using to set one of these properties please? On 27/06/2013, at 4:14 PM, gspearson at gmail.com wrote: > From: Graham Pearson > To: How to use LiveCode > Subject: Re: Custom Properties > Message-ID: <51CC48FB.4060303 at gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > Now I am very lost as usual. on my stack script I did the set script > with a new custom property called altNewCustomPropertythat has a value > of "http://www.google.com" and when I did the answer I got > http:/www.google.com > > > However, In the stack or in the card property inspector under custom > properties I do not see this custom property called altNewCustomProperty > so I must be trying to put the name/value items in the wrong location. > > > I would have thought that if I set a custom property it would have shown > up in the Property Inspector under Custom Property until the time it was > deleted if they can even be deleted via a script. Back to the drawing board. > From gspearson at gmail.com Thu Jun 27 11:11:16 2013 From: gspearson at gmail.com (Graham Pearson) Date: Thu, 27 Jun 2013 11:11:16 -0400 Subject: Custom Properties In-Reply-To: References: <51CC3BDE.4020309@gmail.com> <51CC48FB.4060303@gmail.com> Message-ID: <51CC5614.2050700@gmail.com> Well for somehow the custom property was being stored in one of the SubStacks of the main stack and not within the main stack. Now to figure out what I did to make this happen. On 6/27/2013 10:36 AM, Andrew Kluthe wrote: > Hmm, perhaps look some of these lessons over again to get a clearer > understanding of whats custom properties are and how to use them in various > ways. > > http://lessons.runrev.com/s/lessons/tags?tag=custom+properties > > The old user manual from when LC was still revolution (I believe it was > from the Revolution 4.0 era) was also incredibly useful to me. I read it > front to back when I first got started. It really gave me a clear > understanding of stuff like the message path, custom properties, etc. > > I however can't find a link to the old style user manual. It also doesn't > seem the info in it is translated to the new attempt at a "Developer's > guide". Maybe someone on list can upload a PDF of the oldstyle user guide > for you. > > > On Thu, Jun 27, 2013 at 9:15 AM, Graham Pearson wrote: > >> Now I am very lost as usual. on my stack script I did the set script >> with a new custom property called altNewCustomPropertythat has a value >> of "http://www.google.com" and when I did the answer I got >> http:/www.google.com >> >> >> However, In the stack or in the card property inspector under custom >> properties I do not see this custom property called altNewCustomProperty >> so I must be trying to put the name/value items in the wrong location. >> >> >> I would have thought that if I set a custom property it would have shown >> up in the Property Inspector under Custom Property until the time it was >> deleted if they can even be deleted via a script. Back to the drawing >> board. >> >> >> >> >> On 6/27/2013 9:54 AM, Roger Eller wrote: >>> I confirmed that either of these works as long as you have first: >>> >>> *set* the cName of this stack to "Bla Bla Bla" >>> >>> *answer* the cName of this stack >>> >>> or >>> >>> *get* the cName of this stack; *answer* it >>> ~Roger >>> >>> >>> On Thu, Jun 27, 2013 at 9:31 AM, Andrew Kluthe wrote: >>> >>>> Hmmm, is the data being returned by that custom property an array? >> Array's >>>> don't display as strings on answer dialogs, etc. >>>> >>>> Also, why move your global variables to custom properties? There are >> some >>>> pretty good use cases for both. >>>> >>>> >>>> On Thu, Jun 27, 2013 at 8:19 AM, Graham Pearson >>>> wrote: >>>> >>>>> As I am finishing up with my first application, I am now moving global >>>>> variables to custom properties as recommended by other posts on this >>>>> list and the RunRev lessons site. >>>>> >>>>> On the main stack I have created a custom property called >>>>> altWebServerURL and custom contents of >> http://www.yourcfpro.com/TestApp/ >>>>> >>>>> >>>>> In a RunRev lesson on custom properties it has a line that says: >>>>> >>>>> answer the cName of this stack >>>>> >>>>> >>>>> which displayed the name entered from a field called name. >>>>> >>>>> >>>>> >>>>> >>>>> If I do the answer line with my altWebServerURL all I get is a blank >>>>> answer box with OK and not the value of what I defined within the >>>>> property contents of this custom property. >>>>> >>>>> >>>>> >>>>> What am I doing wrong? >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> >>>> >>>> >>>> -- >>>> Regards, >>>> >>>> Andrew Kluthe >>>> andrew at ctech.me >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at 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 at 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 at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > From me at paulmaguire.me Thu Jun 27 11:11:16 2013 From: me at paulmaguire.me (Paul Maguire) Date: Thu, 27 Jun 2013 16:11:16 +0100 Subject: Custom Properties In-Reply-To: References: Message-ID: I can confirm the following works: Create new stack Add custom property "someProperty" and set to http://google.com Answer (the someProperty of thisCard) pops open a modal dialog with the URL as expected Perhaps there is a bogus invisible character somewhere in the URL? Perhaps delete custom property, recreate it and type in the URL (instead of copy/paste)? Kind regards, Paul. From ben at runrev.com Thu Jun 27 11:15:18 2013 From: ben at runrev.com (Benjamin Beaumont) Date: Thu, 27 Jun 2013 16:15:18 +0100 Subject: BETA RELEASE: LiveCode 6.1.0 Release Candidate 2 Message-ID: LiveCode 6.1.0-rc-2 is now available. This release contains the following changes: - Images with filenames that look like URLs can cause slowdown. - ASCII string check - UUID Generation - Improved properties Property - Additional statistical functions - Activation removed in Community edition - The cardIds of group - The childControlNames and childControlIds of group - the effective visible - Chained Behaviors - iOS Remote Control Support - Locking Group Updates - Random Number Generation - Getting the Page Ranges of a Field - 16 bug fixes: 10991 - If a memory warning is received whilst acceleratedRendering mode is enabled, a crash can occur on iOS. - 10990 - Memory leak when using acceleratedRendering on iOS in certain cases. - 10986 - 'select before/after field ...' selects the field object, rather than the text in the field. - 10982 - RevDB doesn't work with LiveCode server on Mac - 10914 - PIE binaries are now built for ARMv7+ meaning the 'Non-PIE Binary' warning from iTunes Connect should no longer occur. - 10976 - Ungrouping objects can result in their id's changing. - 10975 - Image objects don't properly resolve filenames to be absolute before searching the cache. - 10974 - Instability in acceleratedRendering caused in specific circumstances when a static layer moves just above a dynamic layer. - 10967 - Import snapshot on 16-bit displays on Windows causes a blank image to be produced. - 10966 - Fetching properties of function expressions now works correctly (e.g. the name of controlAtLoc(the mouseLoc)). - 10961 - Passing script locals as parameters to external functions doesn't work correctly in behaviors. - 10960 - Getting 'the lockUpdates of ' now works correctly. - 10950 - 'is a color' now checks the input string more carefully, in particular it doesn't allow trailing characters, or more than 3 items. - 10945 - mobileControls() returns deleted controls in the list - 10926 - 'filter' does not honour the lineDelimiter property. - 10863 - Group command doesn't throw an error when attempting to group a shared group. You can get access to this release in 1 of 2 ways: 1) From within the IDE go to the help menu and click "check for updates" 2) Visit http://downloads.livecode.com/livecode/6_1_0/ and download the RC2 installer for your platform. Warm regards, The LiveCode team From mcgrath3 at mac.com Thu Jun 27 11:15:50 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 27 Jun 2013 11:15:50 -0400 Subject: Custom Properties In-Reply-To: <51CC48FB.4060303@gmail.com> References: <51CC3BDE.4020309@gmail.com> <51CC48FB.4060303@gmail.com> Message-ID: <508A3D6F-90D9-477B-99DF-71F21951E111@mac.com> Graham, When ever possible paste the code you are using and the version of Livecode. It will be a lot easier to give an answer. If you want to put quotes into a customProperty you have to use: set the cAddress of this card to quote & "http://www.google.com" & quote and then you can use this line to get the custom property back: put the cAddress of this card into field "Address" of this card HTHs -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jun 27, 2013, at 10:15 AM, Graham Pearson wrote: > Now I am very lost as usual. on my stack script I did the set script > with a new custom property called altNewCustomPropertythat has a value > of "http://www.google.com" and when I did the answer I got > http:/www.google.com > > > However, In the stack or in the card property inspector under custom > properties I do not see this custom property called altNewCustomProperty > so I must be trying to put the name/value items in the wrong location. > > > I would have thought that if I set a custom property it would have shown > up in the Property Inspector under Custom Property until the time it was > deleted if they can even be deleted via a script. Back to the drawing board. > > > From benr_mc at cogapp.com Thu Jun 27 11:04:47 2013 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 27 Jun 2013 16:04:47 +0100 Subject: Communicate with server using PUT In-Reply-To: References: <51CB6FC2.1030500@hyperactivesw.com> <51CB967D.3070005@hyperactivesw.com> <968C5E45-ED35-464F-8179-21130EA184CE@gmail.com> <51CBA740.2020209@hyperactivesw.com> <51CBC6AA.4000000@pdslabs.net> <51CBC86A.9020608@hyperactivesw.com> <51CC2E1D.8070402@cogapp.com> Message-ID: <51CC548F.3020406@cogapp.com> On 27/06/2013 14:28, Mike Bonner wrote: > I think a put and a post are very similar. You might manually set the > headers to work as a put but us post to send the data. (think the data > comes through the same way, its just the headers that differ) I don't think that's needed - LiveCode's PUT mechanism works fine. The difference in the headers _is_ the difference: the point of the spec is that "PUT" means something different to "POST" (in POST, the resource specified in the URL is supposed to handle the data, process it in some way, possibly return some result - so for example, if that resource doesn't exist, that's an error; in PUT, the URL specifies where the data should go - if there's nothing there now, that's fine. PUT is the inverse of GET. POST is something different altogether.) But of course anyone can implement a server to interpret requests in any way. (Whether the data is encoded the way that the service expects is another issue - ie the way that LibURL is defaulting to encoding it. But that should be defined by the service.) Ben From mcgrath3 at mac.com Thu Jun 27 11:21:36 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 27 Jun 2013 11:21:36 -0400 Subject: BETA RELEASE: LiveCode 6.1.0 Release Candidate 2 In-Reply-To: References: Message-ID: I was reading the specs on this and found under UUID: A cryptographic quality pseudo-random number generator is used to generate the randomness. Which in and of itself is very cryptic and rather unspecific in exactly what it is saying. I had to laugh?. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jun 27, 2013, at 11:15 AM, Benjamin Beaumont wrote: > iOS Remote Control Support From mcgrath3 at mac.com Thu Jun 27 11:26:31 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 27 Jun 2013 11:26:31 -0400 Subject: New properties Property Message-ID: <1FE4FFEF-ED9B-49CE-8FE9-E2D6CF73E8B9@mac.com> I know there was some talk earlier on 'how' the new properties Property was being changed and that there was a conversation going on somewhere else but I wanted to know if anyone has actually tried to store and later recreate livecode objects based solely on this new implementation? I had a couple of projects that I put on hold due to the old implementation not working correctly. Thanks -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com From skiplondon at gmail.com Thu Jun 27 12:44:38 2013 From: skiplondon at gmail.com (Skip Kimpel) Date: Thu, 27 Jun 2013 12:44:38 -0400 Subject: Free Valentina Studio, Valentina DB & Reports for LiveCodeUpgraded to 5.3 In-Reply-To: References: Message-ID: <1884164C-74B9-4680-9979-074539BB26D5@gmail.com> He got back to me yesterday.... I was missing the license file. SKIP On Jun 27, 2013, at 10:34 AM, "Lynn Fredricks" wrote: >> Any problems reported with VServer and Win7 running as a >> service? It immediately stops after the service starts up. (for me) > > Skip - you should post to MANTIS and/or get Ruslan's attention so we can > check it out. > > Best regards, > > Lynn Fredricks > President > Paradigma Software > http://www.paradigmasoft.com > > Valentina SQL Server: The Ultra-fast, Royalty Free Database Server > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ray at linkit.com Thu Jun 27 13:54:47 2013 From: ray at linkit.com (Ray Horsley) Date: Thu, 27 Jun 2013 13:54:47 -0400 Subject: Adjusting Data Grid Column Width on an iPad In-Reply-To: <1332968107530-4513669.post@n4.nabble.com> References: <5A25FEED-1153-43BD-84F6-F107DAB9382E@LinkIt.Com> <3599A28B-7F26-4CD5-AD76-5AFFC9351C43@richardmac.com> <1332968107530-4513669.post@n4.nabble.com> Message-ID: <12A73D12-D990-40BF-8863-F862AE8C6841@LinkIt.Com> Here's a good one - does anybody have any suggestions as to how make it easier, especially for users with fat fingers, to adjust column width in a data grid on an iPad? I can do it but it usually takes me four or five tries and can it be a little frustrating. Increasing the size of the text, row height, and the height of the column labels doesn't seem to help make the area where rolling the cursor over becomes a double arrow, right between two column headings, any wider. From scott at tactilemedia.com Thu Jun 27 14:04:07 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 27 Jun 2013 11:04:07 -0700 Subject: Adjusting Data Grid Column Width on an iPad In-Reply-To: <12A73D12-D990-40BF-8863-F862AE8C6841@LinkIt.Com> Message-ID: I would suggest building a dedicated adjustment control that is suited to touch. The data grid was created for use in a mouse-driven environment. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 6/27/13 10:54 AM, "Ray Horsley" wrote: >Here's a good one - does anybody have any suggestions as to how make it >easier, especially for users with fat fingers, to adjust column width in >a data grid on an iPad? I can do it but it usually takes me four or five >tries and can it be a little frustrating. Increasing the size of the >text, row height, and the height of the column labels doesn't seem to >help make the area where rolling the cursor over becomes a double arrow, >right between two column headings, any wider. >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Thu Jun 27 14:35:20 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 27 Jun 2013 13:35:20 -0500 Subject: Communicate with server using PUT In-Reply-To: References: <51CB6FC2.1030500@hyperactivesw.com> <51CB967D.3070005@hyperactivesw.com> <968C5E45-ED35-464F-8179-21130EA184CE@gmail.com> <51CBA740.2020209@hyperactivesw.com> <51CBC6AA.4000000@pdslabs.net> <51CBC86A.9020608@hyperactivesw.com> Message-ID: <51CC85E8.2090405@hyperactivesw.com> Thanks everyone, the problem is solved. It was indeed an authorization problem and once I fixed that, PUT started working. We are using a token to identify the app, and a bad copy/paste caused it to be missing a digit. All that trouble over a single integer. Right now I'm putting the data into a variable and putting that into the http URL. I get a response back in the urlResponse, just as it should be. I'm grateful for the info about urlResponse, I haven't had to use it before and didn't know it existed. I haven't tried just appending the value pairs to the end of the URL because now that it works, I don't want to mess with it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Thu Jun 27 14:36:17 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 27 Jun 2013 21:36:17 +0300 Subject: BETA RELEASE: LiveCode 6.1.0 Release Candidate 2 In-Reply-To: References: Message-ID: <51CC8621.4020009@gmail.com> On 06/27/2013 06:15 PM, Benjamin Beaumont wrote: > LiveCode 6.1.0-rc-2 is now available. > > Glad to see that silly problem with the script editor has gone away. Richmond. From harrison at all-auctions.com Thu Jun 27 14:37:01 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Thu, 27 Jun 2013 14:37:01 -0400 Subject: BETA RELEASE: LiveCode 6.1.0 Release Candidate 2 In-Reply-To: References: Message-ID: <57865428-8620-4F5B-850A-3B55C0CE2CE4@all-auctions.com> Hi Benjamin, Ok, so how do I get 6.1.0 rc2 LiveCode Server? Thanks, Rick On Jun 27, 2013, at 11:15 AM, Benjamin Beaumont wrote: > LiveCode 6.1.0-rc-2 is now available. > > This release contains the following changes: > > - Images with filenames that look like URLs can cause slowdown. > - ASCII string check > - UUID Generation > - Improved properties Property > - Additional statistical functions > - Activation removed in Community edition > - The cardIds of group > - The childControlNames and childControlIds of group > - the effective visible > - Chained Behaviors > - iOS Remote Control Support > - Locking Group Updates > - Random Number Generation > - Getting the Page Ranges of a Field > - 16 bug fixes: 10991 - If a memory warning is received whilst > acceleratedRendering mode is enabled, a crash can occur on iOS. > - 10990 - Memory leak when using acceleratedRendering on iOS in > certain cases. > - 10986 - 'select before/after field ...' selects the field object, > rather than the text in the field. > - 10982 - RevDB doesn't work with LiveCode server on Mac > - 10914 - PIE binaries are now built for ARMv7+ meaning the 'Non-PIE > Binary' warning from iTunes Connect should no longer occur. > - 10976 - Ungrouping objects can result in their id's changing. > - 10975 - Image objects don't properly resolve filenames to be > absolute before searching the cache. > - 10974 - Instability in acceleratedRendering caused in specific > circumstances when a static layer moves just above a dynamic layer. > - 10967 - Import snapshot on 16-bit displays on Windows causes a > blank image to be produced. > - 10966 - Fetching properties of function expressions now works > correctly (e.g. the name of controlAtLoc(the mouseLoc)). > - 10961 - Passing script locals as parameters to external functions > doesn't work correctly in behaviors. > - 10960 - Getting 'the lockUpdates of ' now works correctly. > - 10950 - 'is a color' now checks the input string more carefully, in > particular it doesn't allow trailing characters, or more than 3 items. > - 10945 - mobileControls() returns deleted controls in the list > - 10926 - 'filter' does not honour the lineDelimiter property. > - 10863 - Group command doesn't throw an error when attempting to > group a shared group. > > You can get access to this release in 1 of 2 ways: > 1) From within the IDE go to the help menu and click "check for updates" > 2) Visit http://downloads.livecode.com/livecode/6_1_0/ and download the RC2 > installer for your platform. > > Warm regards, > > The LiveCode team > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Thu Jun 27 15:03:04 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 27 Jun 2013 22:03:04 +0300 Subject: BETA RELEASE: LiveCode 6.1.0 Release Candidate 2 In-Reply-To: <57865428-8620-4F5B-850A-3B55C0CE2CE4@all-auctions.com> References: <57865428-8620-4F5B-850A-3B55C0CE2CE4@all-auctions.com> Message-ID: <51CC8C68.50206@gmail.com> On 06/27/2013 09:37 PM, Rick Harrison wrote: > Hi Benjamin, > > Ok, so how do I get 6.1.0 rc2 LiveCode Server? > > Thanks, > > Rick > > I'm not Benjamin, but you might like to have a look here: http://downloads.livecode.com/livecode/server/6_1_0/ All it really takes is a 30 second poke about on the RunRev FTP site! Richmond. From ambassador at fourthworld.com Thu Jun 27 15:23:58 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 27 Jun 2013 12:23:58 -0700 Subject: Custom Properties Message-ID: <51CC914E.7070300@fourthworld.com> Graham Pearson wrote: > As I am finishing up with my first application, I am now moving global > variables to custom properties as recommended by other posts on this > list and the RunRev lessons site. What are you looking to achieve with this conversion? Most programming languages include support for global variables because they can be quite useful. If the code works well with globals now, there may be nothing to fix. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From monte at sweattechnologies.com Thu Jun 27 16:29:08 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 28 Jun 2013 06:29:08 +1000 Subject: New properties Property In-Reply-To: <1FE4FFEF-ED9B-49CE-8FE9-E2D6CF73E8B9@mac.com> References: <1FE4FFEF-ED9B-49CE-8FE9-E2D6CF73E8B9@mac.com> Message-ID: <7E1B0D08-0085-4B94-B7F6-E30C95E77310@sweattechnologies.com> On 28/06/2013, at 1:26 AM, Thomas McGrath III wrote: > I know there was some talk earlier on 'how' the new properties Property was being changed and that there was a conversation going on somewhere else but I wanted to know if anyone has actually tried to store and later recreate livecode objects based solely on this new implementation? I had a couple of projects that I put on hold due to the old implementation not working correctly. I've updated lcVCS to rely solely on the properties property rather than all the workarounds it previously needed to do and all seems to be well... It's why I fixed the properties property after all... If you do happen to find a quirk please report it and perhaps shoot me an email with the report number so I can look into it. There were two major issues. The first was that the returned array didn't cover all the properties of the target. The second was when applying the properties that precedence wasn't being handled... setting rect before gradient etc... I think I've dealt with both but we will need to keep an eye on it as properties are added to different objects. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From monte at sweattechnologies.com Thu Jun 27 16:33:20 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 28 Jun 2013 06:33:20 +1000 Subject: New properties Property In-Reply-To: <1FE4FFEF-ED9B-49CE-8FE9-E2D6CF73E8B9@mac.com> References: <1FE4FFEF-ED9B-49CE-8FE9-E2D6CF73E8B9@mac.com> Message-ID: On 28/06/2013, at 1:26 AM, Thomas McGrath III wrote: > based solely on this new implementation? Oh... forgot to add that it still doesn't include script and custom properties so you would need to deal with them separately -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From harrison at all-auctions.com Thu Jun 27 16:50:28 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Thu, 27 Jun 2013 16:50:28 -0400 Subject: BETA RELEASE: LiveCode 6.1.0 Release Candidate 2 In-Reply-To: <51CC8C68.50206@gmail.com> References: <57865428-8620-4F5B-850A-3B55C0CE2CE4@all-auctions.com> <51CC8C68.50206@gmail.com> Message-ID: <4BC118CC-C97A-4829-A2B8-321CCB807633@all-auctions.com> Hi Richmond, Thanks for the link! Rick On Jun 27, 2013, at 3:03 PM, Richmond wrote: > On 06/27/2013 09:37 PM, Rick Harrison wrote: >> Hi Benjamin, >> >> Ok, so how do I get 6.1.0 rc2 LiveCode Server? >> >> Thanks, >> >> Rick >> >> > I'm not Benjamin, but you might like to have a look here: > > http://downloads.livecode.com/livecode/server/6_1_0/ > > All it really takes is a 30 second poke about on the RunRev FTP site! > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Thu Jun 27 17:11:08 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Thu, 27 Jun 2013 17:11:08 -0400 Subject: BETA RELEASE: LiveCode 6.1.0 Release Candidate 2 In-Reply-To: <51CC8C68.50206@gmail.com> References: <57865428-8620-4F5B-850A-3B55C0CE2CE4@all-auctions.com> <51CC8C68.50206@gmail.com> Message-ID: <08AB4408-1E64-4DC0-928B-4647EAF443A4@all-auctions.com> Hi again, That is the community edition link. I need the commercial one! So how do I get it? Thanks, Rick On Jun 27, 2013, at 3:03 PM, Richmond wrote: > On 06/27/2013 09:37 PM, Rick Harrison wrote: >> Hi Benjamin, >> >> Ok, so how do I get 6.1.0 rc2 LiveCode Server? >> >> Thanks, >> >> Rick >> >> > I'm not Benjamin, but you might like to have a look here: > > http://downloads.livecode.com/livecode/server/6_1_0/ > > All it really takes is a 30 second poke about on the RunRev FTP site! > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Thu Jun 27 18:04:25 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 27 Jun 2013 17:04:25 -0500 Subject: BETA RELEASE: LiveCode 6.1.0 Release Candidate 2 In-Reply-To: <08AB4408-1E64-4DC0-928B-4647EAF443A4@all-auctions.com> References: <57865428-8620-4F5B-850A-3B55C0CE2CE4@all-auctions.com> <51CC8C68.50206@gmail.com> <08AB4408-1E64-4DC0-928B-4647EAF443A4@all-auctions.com> Message-ID: <51CCB6E9.8040208@hyperactivesw.com> On 6/27/13 4:11 PM, Rick Harrison wrote: > Hi again, > > That is the community edition link. > I need the commercial one! > > So how do I get it? Remove the "server" portion of the URL: http://downloads.livecode.com/livecode/6_1_0/ > > Thanks, > > Rick > > On Jun 27, 2013, at 3:03 PM, Richmond wrote: > >> On 06/27/2013 09:37 PM, Rick Harrison wrote: >>> Hi Benjamin, >>> >>> Ok, so how do I get 6.1.0 rc2 LiveCode Server? >>> >>> Thanks, >>> >>> Rick >>> >>> >> I'm not Benjamin, but you might like to have a look here: >> >> http://downloads.livecode.com/livecode/server/6_1_0/ >> >> All it really takes is a 30 second poke about on the RunRev FTP site! >> >> Richmond. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rabit at revigniter.com Thu Jun 27 18:36:11 2013 From: rabit at revigniter.com (Ralf Bitter) Date: Fri, 28 Jun 2013 00:36:11 +0200 Subject: BETA RELEASE: LiveCode 6.1.0 Release Candidate 2 In-Reply-To: <51CCB6E9.8040208@hyperactivesw.com> References: <57865428-8620-4F5B-850A-3B55C0CE2CE4@all-auctions.com> <51CC8C68.50206@gmail.com> <08AB4408-1E64-4DC0-928B-4647EAF443A4@all-auctions.com> <51CCB6E9.8040208@hyperactivesw.com> Message-ID: <0324C30A-B794-4221-AB1F-F3A3C5BFA4DA@revigniter.com> May be I am missing something but I think Rick asked how to get the commercial server version 6.1.0 and this is what I would like to know too. (There is no entry for server at http://downloads.livecode.com/livecode/6_1_0/) Ralf On 28.06.2013, at 00:04, J. Landman Gay wrote: > On 6/27/13 4:11 PM, Rick Harrison wrote: >> Hi again, >> >> That is the community edition link. >> I need the commercial one! >> >> So how do I get it? > > Remove the "server" portion of the URL: > > http://downloads.livecode.com/livecode/6_1_0/ From monte at sweattechnologies.com Thu Jun 27 18:51:37 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 28 Jun 2013 08:51:37 +1000 Subject: BETA RELEASE: LiveCode 6.1.0 Release Candidate 2 In-Reply-To: <0324C30A-B794-4221-AB1F-F3A3C5BFA4DA@revigniter.com> References: <57865428-8620-4F5B-850A-3B55C0CE2CE4@all-auctions.com> <51CC8C68.50206@gmail.com> <08AB4408-1E64-4DC0-928B-4647EAF443A4@all-auctions.com> <51CCB6E9.8040208@hyperactivesw.com> <0324C30A-B794-4221-AB1F-F3A3C5BFA4DA@revigniter.com> Message-ID: On 28/06/2013, at 8:36 AM, Ralf Bitter wrote: > May be I am missing something but I think Rick asked > how to get the commercial server version 6.1.0 and > this is what I would like to know too. > > (There is no entry for server at http://downloads.livecode.com/livecode/6_1_0/) It could be that commercial server is not yet integrated into the automated build process... could be a lower priority because 99.99% of server use cases will be covered by community... -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From rabit at revigniter.com Thu Jun 27 18:59:07 2013 From: rabit at revigniter.com (Ralf Bitter) Date: Fri, 28 Jun 2013 00:59:07 +0200 Subject: BETA RELEASE: LiveCode 6.1.0 Release Candidate 2 In-Reply-To: References: <57865428-8620-4F5B-850A-3B55C0CE2CE4@all-auctions.com> <51CC8C68.50206@gmail.com> <08AB4408-1E64-4DC0-928B-4647EAF443A4@all-auctions.com> <51CCB6E9.8040208@hyperactivesw.com> <0324C30A-B794-4221-AB1F-F3A3C5BFA4DA@revigniter.com> Message-ID: Does this mean that the ability to use protected stacks covers 0.01% of server use cases? Ralf On 28.06.2013, at 00:51, Monte Goulding wrote: > > On 28/06/2013, at 8:36 AM, Ralf Bitter wrote: > >> May be I am missing something but I think Rick asked >> how to get the commercial server version 6.1.0 and >> this is what I would like to know too. >> >> (There is no entry for server at http://downloads.livecode.com/livecode/6_1_0/) > > It could be that commercial server is not yet integrated into the automated build process... could be a lower priority because 99.99% of server use cases will be covered by community... > From monte at sweattechnologies.com Thu Jun 27 19:05:10 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 28 Jun 2013 09:05:10 +1000 Subject: BETA RELEASE: LiveCode 6.1.0 Release Candidate 2 In-Reply-To: References: <57865428-8620-4F5B-850A-3B55C0CE2CE4@all-auctions.com> <51CC8C68.50206@gmail.com> <08AB4408-1E64-4DC0-928B-4647EAF443A4@all-auctions.com> <51CCB6E9.8040208@hyperactivesw.com> <0324C30A-B794-4221-AB1F-F3A3C5BFA4DA@revigniter.com> Message-ID: <61F63901-C6FE-4524-864B-3BDCB50C036A@sweattechnologies.com> On 28/06/2013, at 8:59 AM, Ralf Bitter wrote: > Does this mean that the ability to use protected stacks covers 0.01% of server use cases? I think so... you only need to protect them if you are selling a server solution rather than just hosting it. I guess there's third party libraries you might be using... So perhaps it is a higher %... I'm not saying they shouldn't release it but that it may just not have hit the top of the priority list yet... -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From stephenREVOLUTION2 at barncard.com Thu Jun 27 19:07:04 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 27 Jun 2013 16:07:04 -0700 Subject: BETA RELEASE: LiveCode 6.1.0 Release Candidate 2 In-Reply-To: References: <57865428-8620-4F5B-850A-3B55C0CE2CE4@all-auctions.com> <51CC8C68.50206@gmail.com> <08AB4408-1E64-4DC0-928B-4647EAF443A4@all-auctions.com> <51CCB6E9.8040208@hyperactivesw.com> <0324C30A-B794-4221-AB1F-F3A3C5BFA4DA@revigniter.com> Message-ID: There isn't much more functionality the server needs except some of the image manipulation commands that would make sense, including ones that use the templateGraphic and the templateImage. I'd be cool to not have to depend on slow shell calls to imageMagik for the basic image conversion we can do on land. Imagine a stack that can read all the files surrounding it to display a photo gallery in a web page, complete with all links and thumbnails, all created in Livecode. Are graphics commands too bulky for the cgi model? Has the graphic section of the Livecode server been shut down because it didn't make sense? Or because there was a technical reason why this couldn't be enabled to at least allow the use of the templates for processing? I've made this work now using imageMagik, but the thumbnail process is slow and clunky. On Thu, Jun 27, 2013 at 3:51 PM, Monte Goulding wrote: > > On 28/06/2013, at 8:36 AM, Ralf Bitter wrote: > > > May be I am missing something but I think Rick asked > > how to get the commercial server version 6.1.0 and > > this is what I would like to know too. > > > > (There is no entry for server at > http://downloads.livecode.com/livecode/6_1_0/) > > It could be that commercial server is not yet integrated into the > automated build process... could be a lower priority because 99.99% of > server use cases will be covered by community... > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From jacques.hausser at unil.ch Thu Jun 27 19:17:39 2013 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Fri, 28 Jun 2013 01:17:39 +0200 Subject: BETA RELEASE: LiveCode 6.1.0 Release Candidate 2 In-Reply-To: References: Message-ID: <62C67B03-EA6C-4BE2-A431-300E1176AAF5@unil.ch> Indeed hunderts of PRGs were published? which one is used ? Would be nice to have a reference. Thanks in advance ! Jacques Le 27 juin 2013 ? 17:21, Thomas McGrath III a ?crit : > I was reading the specs on this and found under UUID: > A cryptographic quality pseudo-random number generator is used to generate the randomness. > > Which in and of itself is very cryptic and rather unspecific in exactly what it is saying. I had to laugh?. > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > On Jun 27, 2013, at 11:15 AM, Benjamin Beaumont wrote: > >> iOS Remote Control Support > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From stephenREVOLUTION2 at barncard.com Thu Jun 27 19:20:49 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 27 Jun 2013 16:20:49 -0700 Subject: BETA RELEASE: LiveCode 6.1.0 Release Candidate 2 In-Reply-To: References: <57865428-8620-4F5B-850A-3B55C0CE2CE4@all-auctions.com> <51CC8C68.50206@gmail.com> <08AB4408-1E64-4DC0-928B-4647EAF443A4@all-auctions.com> <51CCB6E9.8040208@hyperactivesw.com> <0324C30A-B794-4221-AB1F-F3A3C5BFA4DA@revigniter.com> Message-ID: now that I'm looking at the latest api document, I see some image commands that have 'server' under supported platforms! and audioclip and videoclip.... some testing is needed to see if this works, but I don't remember anything in the release notes.. On Thu, Jun 27, 2013 at 4:07 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > There isn't much more functionality the server needs except some of the image > manipulation commands that would make sense, including ones that use the > templateGraphic and the templateImage. I'd be cool to not have to depend on > slow shell calls to imageMagik for the basic image conversion we can do on > land. Imagine a stack that can read all the files surrounding it to > display a photo gallery in a web page, complete with all links and > thumbnails, all created in Livecode. Are graphics commands too bulky for > the cgi model? > > Has the graphic section of the Livecode server been shut down because it > didn't make sense? > Or because there was a technical reason why this couldn't be enabled to > at least allow the use of the templates for processing? > > I've made this work now using imageMagik, but the thumbnail process is > slow and clunky. > > > On Thu, Jun 27, 2013 at 3:51 PM, Monte Goulding < > monte at sweattechnologies.com> wrote: > >> >> On 28/06/2013, at 8:36 AM, Ralf Bitter wrote: >> >> > May be I am missing something but I think Rick asked >> > how to get the commercial server version 6.1.0 and >> > this is what I would like to know too. >> > >> > (There is no entry for server at >> http://downloads.livecode.com/livecode/6_1_0/) >> >> It could be that commercial server is not yet integrated into the >> automated build process... could be a lower priority because 99.99% of >> server use cases will be covered by community... >> >> -- >> M E R Goulding >> Software development services >> Bespoke application development for vertical markets >> >> mergExt - There's an external for that! >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > -- Stephen Barncard San Francisco Ca. USA more about sqb From harrison at all-auctions.com Thu Jun 27 19:27:56 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Thu, 27 Jun 2013 19:27:56 -0400 Subject: BETA RELEASE: LiveCode 6.1.0 Release Candidate 2 In-Reply-To: <51CCB6E9.8040208@hyperactivesw.com> References: <57865428-8620-4F5B-850A-3B55C0CE2CE4@all-auctions.com> <51CC8C68.50206@gmail.com> <08AB4408-1E64-4DC0-928B-4647EAF443A4@all-auctions.com> <51CCB6E9.8040208@hyperactivesw.com> Message-ID: <80031924-A9F8-4DFB-8F22-98C9722647C3@all-auctions.com> Hi again, Yes, I was asking about where to get the 6.1.0rc2 COMMERCIAL SERVER link. Thanks, Rick On Jun 27, 2013, at 6:04 PM, "J. Landman Gay" wrote: > On 6/27/13 4:11 PM, Rick Harrison wrote: >> Hi again, >> >> That is the community edition link. >> I need the commercial one! >> >> So how do I get it? > > Remove the "server" portion of the URL: > > http://downloads.livecode.com/livecode/6_1_0/ > >> >> Thanks, >> >> Rick >> >> On Jun 27, 2013, at 3:03 PM, Richmond wrote: >> >>> On 06/27/2013 09:37 PM, Rick Harrison wrote: >>>> Hi Benjamin, >>>> >>>> Ok, so how do I get 6.1.0 rc2 LiveCode Server? >>>> >>>> Thanks, >>>> >>>> Rick >>>> >>>> >>> I'm not Benjamin, but you might like to have a look here: >>> >>> http://downloads.livecode.com/livecode/server/6_1_0/ >>> >>> All it really takes is a 30 second poke about on the RunRev FTP site! >>> >>> Richmond. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode __________________________________ Rick Harrison Idea Phrase Creator LITE is my new Free iAd supported App for the iPad! It will create interesting random idea phrases for you with the simple click of a button. Or you can get the full Pro version called simply Idea Phrase Creator on sale now, at the price of $4.99. cents. Click on the link below to find out more about this new App of mine! https://itunes.apple.com/us/app/idea-phrase-creator/id580695085?mt=8 From mwieder at ahsoftware.net Thu Jun 27 19:30:21 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 27 Jun 2013 23:30:21 +0000 (UTC) Subject: Communicate with server using PUT References: <51CB6FC2.1030500@hyperactivesw.com> <51CB967D.3070005@hyperactivesw.com> <968C5E45-ED35-464F-8179-21130EA184CE@gmail.com> <51CBA740.2020209@hyperactivesw.com> <51CBC6AA.4000000@pdslabs.net> <51CBC86A.9020608@hyperactivesw.com> <51CC85E8.2090405@hyperactivesw.com> Message-ID: J. Landman Gay writes: > All that trouble over a single integer. Thanks to SCOTUS, single integers can now get married. -- Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Thu Jun 27 19:40:17 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 27 Jun 2013 23:40:17 +0000 (UTC) Subject: Windows 8.1 Preview Message-ID: For anyone who wants to live out on the edge, the firstdeveloper preview of Windows 8.1 is available for download. I wasn't able to install it into a VirtualBox VM from the ISO file. I didn't try all that hard and I'm not sufficiently motivated to try again. But YMMV. http://windows.microsoft.com/en-us/windows-8/preview-download NOTE: heed the warnings if you decide to install from a DVD over an existing operating system, especially that part that says "After you install Windows 8.1 Preview, you won?t be able to use the recovery partition on your PC to go back to your previous version of Windows." -- Mark Wieder mwieder at ahsoftware.net From dsc at swcp.com Thu Jun 27 19:56:48 2013 From: dsc at swcp.com (Dar Scott) Date: Thu, 27 Jun 2013 17:56:48 -0600 Subject: Communicate with server using PUT In-Reply-To: References: <51CB6FC2.1030500@hyperactivesw.com> <7C57D853-F52A-4A8E-9E09-7F4F990F4878@swcp.com> Message-ID: <146978F9-2E87-4811-A093-E0638670EA64@swcp.com> This is coming back to me and I think I ended up testing the PUT on a different server. Perhaps some Apache setting was getting in the way and the ISP was not able to track it down. I still wonder if my test had some flaw staring me in the face. In any case, I was able to do the test. Dar On Jun 27, 2013, at 8:46 AM, Trevor DeVore wrote: > On Thu, Jun 27, 2013 at 10:00 AM, Dar Scott wrote: > >> I have had trouble with PUT. >> >> I worked with the ISP to make sure it was enabled. I set up the right >> access file permissions. I made sure to put the name and password in the >> URL. And failure. >> >> So, either there was some overriding setting at the ISP that blocked >> things or either me or liburl is broken. >> > > Dar, > > I've used libURL for years to send PUT calls to my servers so I don't think > it is libURL. It is the call used whenever you are updating a resource on > the server. I recall that a few years ago I had to mimic PUT by doing a > POST with a parameter specifying that the server should process as a PUT. > This was a ruby on rails issue IIRC, however. > > -- > Trevor DeVore > Blue Mango Learning Systems > www.clarify-it.com - www.screensteps.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Fri Jun 28 00:06:50 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 27 Jun 2013 21:06:50 -0700 Subject: BETA RELEASE: LiveCode 6.1.0 Release Candidate 2 Message-ID: <51CD0BDA.9080002@fourthworld.com> stephen barncard wrote: > Has the graphic section of the Livecode server been shut down because it > didn't make sense? > Or because there was a technical reason why this couldn't be enabled to at > least allow the use of the templates for processing? I believe the main reason was that the routines LC uses in the Linux engine for rendering graphics depend on system components not normally installed on servers. That said, I believe I'd read somewhere recently that some of the factoring coming down the road may enable graphics processing in the Server engine. Anyone have any specifics on that? -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From richmondmathewson at gmail.com Fri Jun 28 02:45:30 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 28 Jun 2013 09:45:30 +0300 Subject: Windows 8.1 Preview In-Reply-To: References: Message-ID: <51CD310A.9080005@gmail.com> On 06/28/2013 02:40 AM, Mark Wieder wrote: > For anyone who wants to live out on the edge, the firstdeveloper preview of > Windows 8.1 is available for download. I wasn't able to install it into a > VirtualBox VM from the ISO file. I didn't try all that hard and I'm not > sufficiently motivated to try again. But YMMV. > > http://windows.microsoft.com/en-us/windows-8/preview-download > > NOTE: heed the warnings if you decide to install from a DVD over an existing > operating system, especially that part that says "After you install Windows > 8.1 Preview, you won?t be able to use the recovery partition on your PC to > go back to your previous version of Windows." > Well, I don't mind living on the edge a bit; so I'm going to try and squeeze this thing into VMware. If I succeed I'll let you know. Richmond. From rabit at revigniter.com Fri Jun 28 04:05:11 2013 From: rabit at revigniter.com (Ralf Bitter) Date: Fri, 28 Jun 2013 10:05:11 +0200 Subject: BETA RELEASE: LiveCode 6.1.0 Release Candidate 2 In-Reply-To: References: <57865428-8620-4F5B-850A-3B55C0CE2CE4@all-auctions.com> <51CC8C68.50206@gmail.com> <08AB4408-1E64-4DC0-928B-4647EAF443A4@all-auctions.com> <51CCB6E9.8040208@hyperactivesw.com> <0324C30A-B794-4221-AB1F-F3A3C5BFA4DA@revigniter.com> Message-ID: <69F96835-F8F8-4320-8DA0-DEA850245453@revigniter.com> Didn't you at the least forget sockets? Ralf On 28.06.2013, at 01:07, stephen barncard wrote: > There isn't much more functionality the server needs except some of the image > manipulation commands From monte at sweattechnologies.com Fri Jun 28 04:10:56 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 28 Jun 2013 18:10:56 +1000 Subject: BETA RELEASE: LiveCode 6.1.0 Release Candidate 2 In-Reply-To: <69F96835-F8F8-4320-8DA0-DEA850245453@revigniter.com> References: <57865428-8620-4F5B-850A-3B55C0CE2CE4@all-auctions.com> <51CC8C68.50206@gmail.com> <08AB4408-1E64-4DC0-928B-4647EAF443A4@all-auctions.com> <51CCB6E9.8040208@hyperactivesw.com> <0324C30A-B794-4221-AB1F-F3A3C5BFA4DA@revigniter.com> <69F96835-F8F8-4320-8DA0-DEA850245453@revigniter.com> Message-ID: On 28/06/2013, at 6:05 PM, Ralf Bitter wrote: > Didn't you at the least forget sockets? Hmm... I wonder if the changes I've done a bit of work on to get sockets working on mobile would add them on server... I'll look into it... -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From richmondmathewson at gmail.com Fri Jun 28 06:07:46 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 28 Jun 2013 13:07:46 +0300 Subject: Windows 8.1 Preview In-Reply-To: References: Message-ID: <51CD6072.7060108@gmail.com> On 06/28/2013 02:40 AM, Mark Wieder wrote: > For anyone who wants to live out on the edge, the firstdeveloper preview of > Windows 8.1 is available for download. I wasn't able to install it into a > VirtualBox VM from the ISO file. I didn't try all that hard and I'm not > sufficiently motivated to try again. But YMMV. > > http://windows.microsoft.com/en-us/windows-8/preview-download > > NOTE: heed the warnings if you decide to install from a DVD over an existing > operating system, especially that part that says "After you install Windows > 8.1 Preview, you won?t be able to use the recovery partition on your PC to > go back to your previous version of Windows." > What a tedious process: setting up a Microsoft e-mail account, phoning home, checking other, security e-mail for security code . . . . Notwithstanding that, I am the "proud" possessor (note have avoided the word "owner" having read "the crud") of Windows 8.1 Beta on VMware Player 5.0.2 on Linux. Richmond. From dirk.cleenwerck at gmail.com Fri Jun 28 06:43:51 2013 From: dirk.cleenwerck at gmail.com (Dirk prive) Date: Fri, 28 Jun 2013 12:43:51 +0200 Subject: [OT] Deus Ex Machina 2 Message-ID: Off Topic. For those that are interested. http://www.kickstarter.com/projects/1552445321/deus-ex-machina-2 Remake of the 1984 classic. Deus Ex Machina was the first multimedia video game. It has a separate tape with the soundtrack so you could play the sound synchronized with the game-play. It was a true classic. The remake project is on kickstarter and under the lead of the person that made the original game in 1984. Dirk Cleenwerck From cowhead at me.com Fri Jun 28 06:46:45 2013 From: cowhead at me.com (Mark Mitchell) Date: Fri, 28 Jun 2013 19:46:45 +0900 Subject: revcopyfile needs admin password on OSX? Message-ID: Trying to move and sort large numbers of files around. Revcopyfile has always worked before but now with OS 10.8.4 it wants my admin password for each file in the repeat loop. I've tried making sure that all the folders involved have permissions set to "read and write" for "everyone", but to no avail. It does copy the files just fine, but needs an admin password for each file, which is simply impossible for hundreds of files. Much obliged for any help. Mark From dirk.cleenwerck at gmail.com Fri Jun 28 08:18:49 2013 From: dirk.cleenwerck at gmail.com (Dirk prive) Date: Fri, 28 Jun 2013 14:18:49 +0200 Subject: test Message-ID: Just sending a msg to see if it actually gets delivered, since the previous one seems to be missing in cyberspace. Dirk Cleenwerck From wow at together.net Fri Jun 28 08:25:33 2013 From: wow at together.net (Richard Miller) Date: Fri, 28 Jun 2013 08:25:33 -0400 Subject: LiveCode ios app marketing In-Reply-To: <51CD6072.7060108@gmail.com> References: <51CD6072.7060108@gmail.com> Message-ID: <51CD80BD.5000809@together.net> Is there a list of LiveCode-based businesses which have expertise in building and marketing IOS apps? I have a LC/ios app (and an Android version) that's been out for about a year, but it needs some updating and a heavy dose of marketing and promotion... neither of which I am currently able to do. This is a solid app with lots of upside (it's in a big sector), inferior competition, and the best underlying data in the world. I'd like to find a company that can help realize the full value of this app and share in the benefits. Any suggestions? Thanks. Richard Miller From pmbrig at gmail.com Fri Jun 28 09:36:04 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 28 Jun 2013 09:36:04 -0400 Subject: Custom Properties In-Reply-To: <51CC5614.2050700@gmail.com> References: <51CC3BDE.4020309@gmail.com> <51CC48FB.4060303@gmail.com> <51CC5614.2050700@gmail.com> Message-ID: On Jun 27, 2013, at 11:11 AM, Graham Pearson wrote: > Well for somehow the custom property was being stored in one of the > SubStacks of the main stack and not within the main stack. Now to figure > out what I did to make this happen. Perhaps at the time you set the customprop the topstack was likely not what you thought. When setting customprops it is best to be explicit: set the myCustomProp of stack "prefsStack" to "something" and not set the myCustomProp of this stack to "something" which will be dependent on the (changeable) value of "this stack." Be aware that if you are building a standalone then you will actually want to store the customprops in a substack and not the mainstack. In a standalone, the main stack is the executable and changes will not be saved from session to session. Even if you're not storing volatile data, it's best to keep the mainstack as a splashstack and keep everything on the operations and data side away from the spashstack. Including scripts used by your substacks. Put those into a library stack that you start using on startup. If you do it that way then updates will be easier in the future. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From ray at linkit.com Fri Jun 28 09:35:16 2013 From: ray at linkit.com (Ray Horsley) Date: Fri, 28 Jun 2013 09:35:16 -0400 Subject: Adjusting Data Grid Column Width on an iPad In-Reply-To: References: Message-ID: <518D1884-B879-4B5A-9546-71F32568C3F7@LinkIt.Com> That's kind of what I was afraid of but knew I'd probably have to do. Thanks for your response Scott. On Jun 27, 2013, at 2:04 PM, Scott Rossi wrote: > I would suggest building a dedicated adjustment control that is suited to > touch. The data grid was created for use in a mouse-driven environment. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 6/27/13 10:54 AM, "Ray Horsley" wrote: > >> Here's a good one - does anybody have any suggestions as to how make it >> easier, especially for users with fat fingers, to adjust column width in >> a data grid on an iPad? I can do it but it usually takes me four or five >> tries and can it be a little frustrating. Increasing the size of the >> text, row height, and the height of the column labels doesn't seem to >> help make the area where rolling the cursor over becomes a double arrow, >> right between two column headings, any wider. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Fri Jun 28 09:52:15 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Fri, 28 Jun 2013 09:52:15 -0400 Subject: LiveCode ios app marketing In-Reply-To: <51CD80BD.5000809@together.net> References: <51CD6072.7060108@gmail.com> <51CD80BD.5000809@together.net> Message-ID: <9E4390EC-21B9-4BBB-9C20-878C894907EF@all-auctions.com> Hi Richard, What is the name of the app and how much is it in the app store? Without those key pieces of information it's too difficult to evaluate it and give any advice. Thanks, Rick On Jun 28, 2013, at 8:25 AM, Richard Miller wrote: > Is there a list of LiveCode-based businesses which have expertise in building and marketing IOS apps? I have a LC/ios app (and an Android version) that's been out for about a year, but it needs some updating and a heavy dose of marketing and promotion... neither of which I am currently able to do. This is a solid app with lots of upside (it's in a big sector), inferior competition, and the best underlying data in the world. I'd like to find a company that can help realize the full value of this app and share in the benefits. Any suggestions? > > Thanks. > Richard Miller > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From wow at together.net Fri Jun 28 10:56:32 2013 From: wow at together.net (Richard Miller) Date: Fri, 28 Jun 2013 10:56:32 -0400 Subject: LiveCode ios app marketing In-Reply-To: <9E4390EC-21B9-4BBB-9C20-878C894907EF@all-auctions.com> References: <51CD6072.7060108@gmail.com> <51CD80BD.5000809@together.net> <9E4390EC-21B9-4BBB-9C20-878C894907EF@all-auctions.com> Message-ID: <51CDA420.5010306@together.net> https://itunes.apple.com/us/app/wood-explorer/id518081966?mt=8 Free version Custom version ($0.99 per 25 species) Premium version - $9.99 On 6/28/13 9:52 AM, Rick Harrison wrote: > Hi Richard, > > What is the name of the app and how much is it in the app store? > Without those key pieces of information it's too difficult to > evaluate it and give any advice. > > Thanks, > > Rick > > On Jun 28, 2013, at 8:25 AM, Richard Miller wrote: > >> Is there a list of LiveCode-based businesses which have expertise in building and marketing IOS apps? I have a LC/ios app (and an Android version) that's been out for about a year, but it needs some updating and a heavy dose of marketing and promotion... neither of which I am currently able to do. This is a solid app with lots of upside (it's in a big sector), inferior competition, and the best underlying data in the world. I'd like to find a company that can help realize the full value of this app and share in the benefits. Any suggestions? >> >> Thanks. >> Richard Miller >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From userev at canelasoftware.com Fri Jun 28 11:23:37 2013 From: userev at canelasoftware.com (Mark Talluto) Date: Fri, 28 Jun 2013 08:23:37 -0700 Subject: LiveCode ios app marketing In-Reply-To: <51CDA420.5010306@together.net> References: <51CD6072.7060108@gmail.com> <51CD80BD.5000809@together.net> <9E4390EC-21B9-4BBB-9C20-878C894907EF@all-auctions.com> <51CDA420.5010306@together.net> Message-ID: <55F659D2-6D31-4B1D-8138-5AD858741545@canelasoftware.com> I reviewed your competitor. He got slammed for poor image quality and limited information. Your app received high reviews form those that can use it. You were hurt by not having iOS 5/6 support. That can be fixed by updating the app to support those versions of iOS and hardware. Sounds like you might have something here. Below are some ideas that might or might not be useful. I would look at how you are currently marketing your CD. If your CD sales are strong, you might consider marketing your iOS app to the same customers using the same marketing channels. You might look at having conversations with vendors of the wood and see if they would be interested in sponsoring or buying advertising space in your app. You could have a buy now button to direct customers to those vendors. It is worth having a conversation with final product companies as well. I am thinking hardwood floor vendors/manufacturers, table and chair vendors/manufacturers and other strong wood products. Connecting with the 3rd party market could be bigger than the sale of the app. Then you could give the app away for free and increase your readership. You might also run specials within the app for these vendors. Maybe a little "Did you know tidbit" to keep your current users coming back to see what is new. Maybe Home Depot, Lowes, and other stores might be interested in a branding opportunity here. If the app is free, the conversation should be pretty smooth. Might lead you to other opportunities with those companies to do plumbing, electrical, and appliance apps as well. These would be more than shopping apps. They would be helper apps that normal people like myself that need to get DIY projects done. There are a lot of ways you could pitch this to these companies so that they do not have to buy in financially. Just some first thoughts on the subject. Best regards, Mark Talluto canelasoftware.com On Jun 28, 2013, at 7:56 AM, Richard Miller wrote: > https://itunes.apple.com/us/app/wood-explorer/id518081966?mt=8 > > Free version > Custom version ($0.99 per 25 species) > Premium version - $9.99 > > > > > On 6/28/13 9:52 AM, Rick Harrison wrote: >> Hi Richard, >> >> What is the name of the app and how much is it in the app store? >> Without those key pieces of information it's too difficult to >> evaluate it and give any advice. >> >> Thanks, >> >> Rick >> >> On Jun 28, 2013, at 8:25 AM, Richard Miller wrote: >> >>> Is there a list of LiveCode-based businesses which have expertise in building and marketing IOS apps? I have a LC/ios app (and an Android version) that's been out for about a year, but it needs some updating and a heavy dose of marketing and promotion... neither of which I am currently able to do. This is a solid app with lots of upside (it's in a big sector), inferior competition, and the best underlying data in the world. I'd like to find a company that can help realize the full value of this app and share in the benefits. Any suggestions? >>> >>> Thanks. >>> Richard Miller >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gcanyon at gmail.com Fri Jun 28 11:34:27 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Fri, 28 Jun 2013 10:34:27 -0500 Subject: Really large groups Message-ID: Has anyone created a library to handle groups > 32k pixels wide/tall? I'm thinking of something that stores the coordinates of controls relative to a larger space and allows scrolling through that larger space -- maybe by placing/removing them in an actual group so normal scrolling can still be used? This seems like a hard-ish problem to get right, but possible to build in a fairly robust way. From lfredricks at proactive-intl.com Fri Jun 28 11:45:46 2013 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Fri, 28 Jun 2013 08:45:46 -0700 Subject: [!! SPAM] LiveCode ios app marketing In-Reply-To: <51CD80BD.5000809@together.net> References: <51CD6072.7060108@gmail.com> <51CD80BD.5000809@together.net> Message-ID: > Is there a list of LiveCode-based businesses which have > expertise in building and marketing IOS apps? I have a LC/ios > app (and an Android > version) that's been out for about a year, but it needs some > updating and a heavy dose of marketing and promotion... > neither of which I am currently able to do. This is a solid > app with lots of upside (it's in a big sector), inferior > competition, and the best underlying data in the world. I'd > like to find a company that can help realize the full value > of this app and share in the benefits. Any suggestions? Hi Richard, There are special challenges that go along with iOS marketing as compared with non-mobile applications. For example- - distribution/retail (which directly affects all others) - user base management - upsell flexibility - pricing expectations - partnering My Proactive International business (http://www.proactive-intl.com) does work in this area. As Rick mentioned, knowing more about your application would help. One bit of free advice - add information about your key application in all your SIGs and use email from your own company site. Here is my Seven Deadly Sins Redux post: http://www.lynnfredricks.com/2013/01/30/deadly-sins-of-software-executive-re dux/ . These may seem completely obvious but they are not; developer/vendor/owners fall into these without any intention. "Thinking that Sales is Someone Else's Job" The SIG item above is one way any member of a team can help sell a product. Best regards, Lynn Fredricks President Proactive International, LLC - Because it is about who you know.(tm) http://www.proactive-intl.com From wow at together.net Fri Jun 28 11:52:51 2013 From: wow at together.net (Richard Miller) Date: Fri, 28 Jun 2013 11:52:51 -0400 Subject: LiveCode ios app marketing In-Reply-To: <55F659D2-6D31-4B1D-8138-5AD858741545@canelasoftware.com> References: <51CD6072.7060108@gmail.com> <51CD80BD.5000809@together.net> <9E4390EC-21B9-4BBB-9C20-878C894907EF@all-auctions.com> <51CDA420.5010306@together.net> <55F659D2-6D31-4B1D-8138-5AD858741545@canelasoftware.com> Message-ID: <51CDB153.8030207@together.net> Hi Mark, Thanks for the thoughtful suggestions, all good ones. The problem I have is: 1) I am a poor marketer; and 2) I have other commitments and can't take the app to the next level. Hence, the desire to want to partner with someone who can do these things. Almost $1 million was invested into compiling the data for this app (mostly grant funds from foundations). There is no other data on the planet that is even remotely as deep. The search engine in the app is very powerful because the underlying data is so deep. But all of this means little without good marketing. I'll bet there are other LC ios apps in the same boat. Richard On 6/28/13 11:23 AM, Mark Talluto wrote: > I reviewed your competitor. He got slammed for poor image quality and limited information. Your app received high reviews form those that can use it. You were hurt by not having iOS 5/6 support. That can be fixed by updating the app to support those versions of iOS and hardware. Sounds like you might have something here. Below are some ideas that might or might not be useful. > > I would look at how you are currently marketing your CD. If your CD sales are strong, you might consider marketing your iOS app to the same customers using the same marketing channels. > > You might look at having conversations with vendors of the wood and see if they would be interested in sponsoring or buying advertising space in your app. You could have a buy now button to direct customers to those vendors. > > It is worth having a conversation with final product companies as well. I am thinking hardwood floor vendors/manufacturers, table and chair vendors/manufacturers and other strong wood products. Connecting with the 3rd party market could be bigger than the sale of the app. Then you could give the app away for free and increase your readership. > > You might also run specials within the app for these vendors. Maybe a little "Did you know tidbit" to keep your current users coming back to see what is new. > > Maybe Home Depot, Lowes, and other stores might be interested in a branding opportunity here. If the app is free, the conversation should be pretty smooth. Might lead you to other opportunities with those companies to do plumbing, electrical, and appliance apps as well. These would be more than shopping apps. They would be helper apps that normal people like myself that need to get DIY projects done. There are a lot of ways you could pitch this to these companies so that they do not have to buy in financially. > > Just some first thoughts on the subject. > > > Best regards, > > Mark Talluto > canelasoftware.com > > > > > > > On Jun 28, 2013, at 7:56 AM, Richard Miller wrote: > >> https://itunes.apple.com/us/app/wood-explorer/id518081966?mt=8 >> >> Free version >> Custom version ($0.99 per 25 species) >> Premium version - $9.99 >> >> >> >> >> On 6/28/13 9:52 AM, Rick Harrison wrote: >>> Hi Richard, >>> >>> What is the name of the app and how much is it in the app store? >>> Without those key pieces of information it's too difficult to >>> evaluate it and give any advice. >>> >>> Thanks, >>> >>> Rick >>> >>> On Jun 28, 2013, at 8:25 AM, Richard Miller wrote: >>> >>>> Is there a list of LiveCode-based businesses which have expertise in building and marketing IOS apps? I have a LC/ios app (and an Android version) that's been out for about a year, but it needs some updating and a heavy dose of marketing and promotion... neither of which I am currently able to do. This is a solid app with lots of upside (it's in a big sector), inferior competition, and the best underlying data in the world. I'd like to find a company that can help realize the full value of this app and share in the benefits. Any suggestions? >>>> >>>> Thanks. >>>> Richard Miller >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sschvarstein at gmail.com Fri Jun 28 12:18:05 2013 From: sschvarstein at gmail.com (Sergio Schvarstein) Date: Fri, 28 Jun 2013 18:18:05 +0200 Subject: Augmented reality with LiveCode ? Message-ID: <3F146744-998A-44BC-9C32-91CEE4C30F95@gmail.com> Hi, Is there any way or tool for creating an Augmented Reality app for iOS using LiveCode ? Thanks :-) ______________________________ Sergio Schvarstein ______________________________ From harrison at all-auctions.com Fri Jun 28 12:56:16 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Fri, 28 Jun 2013 12:56:16 -0400 Subject: LiveCode ios app marketing In-Reply-To: <51CDA420.5010306@together.net> References: <51CD6072.7060108@gmail.com> <51CD80BD.5000809@together.net> <9E4390EC-21B9-4BBB-9C20-878C894907EF@all-auctions.com> <51CDA420.5010306@together.net> Message-ID: Hi Richard, Ok, I took a look at your ad in the iTunes store, and downloaded the Free version to get feel for what you are trying to do. A few things I noticed right off the bat. You say in your app description that the app is in use by thousands of businesses, colleges, and individuals. That's very nice, but you don't say anything about what kind of people might really find your app to be useful. The question you need to ask yourself, is why your customers would really want to use your app? Why should I want one? Based on the data I was seeing you should give some more examples such as: Carpenters, Architectural Engineers, Interior Designers, etc. Think more about what your true target markets are. You have a lot of price tiers. Possibly too many. You have a Free version. You have 25 packs for $.99 then you have the Standard version for $4.99, with more packs, then a Professional version for $9.99, and then "Pack 2 for $.99" I can see where this could be confusing to the everyday browsing app purchaser. There appear to be non-working components in the Free version. I found myself getting bombarded by having to get the upgraded version to even try out a bunch of the functions. The database information for even one tree took way to long to load. You may want to get a faster web-server, or break up the data into smaller chunks with more screens. There was too much information on one page so I had to do a lot of scrolling just to look around. What is your present sales data telling you about your apps? What kind of advertising in the past have you done and what kind of data blip increases are you seeing after you have run the ads? I hope that feedback helps you! Good luck, Rick On Jun 28, 2013, at 10:56 AM, Richard Miller wrote: > https://itunes.apple.com/us/app/wood-explorer/id518081966?mt=8 > > Free version > Custom version ($0.99 per 25 species) > Premium version - $9.99 > > > > > On 6/28/13 9:52 AM, Rick Harrison wrote: >> Hi Richard, >> >> What is the name of the app and how much is it in the app store? >> Without those key pieces of information it's too difficult to >> evaluate it and give any advice. >> >> Thanks, >> >> Rick >> >> On Jun 28, 2013, at 8:25 AM, Richard Miller wrote: >> >>> Is there a list of LiveCode-based businesses which have expertise in building and marketing IOS apps? I have a LC/ios app (and an Android version) that's been out for about a year, but it needs some updating and a heavy dose of marketing and promotion... neither of which I am currently able to do. This is a solid app with lots of upside (it's in a big sector), inferior competition, and the best underlying data in the world. I'd like to find a company that can help realize the full value of this app and share in the benefits. Any suggestions? >>> >>> Thanks. >>> Richard Miller >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Fri Jun 28 14:10:04 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 28 Jun 2013 21:10:04 +0300 Subject: Script Editor and Unicode Message-ID: <51CDD17C.4090404@gmail.com> I wonder how one can enter unicodeText directly into the script editor? When one wants to put a script into an object without opening the script editor one does this sort of thing: set the script of btn "unicodeTest" to fld "Nonsense" now, if fld "nonsense" contains unicodeText that just ends up delivering gobbledegook. this: set the useUnicode to true set the script of btn "unicodeTest" to fld "Nonsense" is no better . . . the reason for this, presumably, is that when one enters unicodeText into a fld the set the useUnicode to true is directly addressed to the fld, while in my rather feeble attempt above it is aimed at the script rather than the script entry field of the script editor if one tries this sort of thing: set the useUnicode to true set the unicodeText of fld "Scripts" of the script of btn "unicodeTest" to fld "Nonsense" an error is thrown. Richmond. From m.schonewille at economy-x-talk.com Fri Jun 28 14:24:33 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 28 Jun 2013 20:24:33 +0200 Subject: Script Editor and Unicode In-Reply-To: <51CDD17C.4090404@gmail.com> References: <51CDD17C.4090404@gmail.com> Message-ID: <51CDD4E1.7020103@economy-x-talk.com> Hi Richmond, Almost every current development tool can do that, except for LiveCode. What we need is a UTF8 script editor. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 6/28/2013 20:10, Richmond wrote: > I wonder how one can enter unicodeText directly into the script editor? > > When one wants to put a script into an object without opening the script > editor one does this sort of thing: > > set the script of btn "unicodeTest" to fld "Nonsense" > > now, if fld "nonsense" contains unicodeText that just ends up delivering > gobbledegook. > > this: > > set the useUnicode to true > set the script of btn "unicodeTest" to fld "Nonsense" > > is no better . . . > > the reason for this, presumably, is that when one enters unicodeText > into a fld the > > set the useUnicode to true is directly addressed to the fld, while in > my rather feeble attempt above it is aimed at the script rather than the > script entry field of > the script editor > > if one tries this sort of thing: > > set the useUnicode to true > set the unicodeText of fld "Scripts" of the script of btn "unicodeTest" > to fld "Nonsense" > > an error is thrown. > > Richmond. > From richmondmathewson at gmail.com Fri Jun 28 14:27:41 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 28 Jun 2013 21:27:41 +0300 Subject: Script Editor and Unicode In-Reply-To: <51CDD4E1.7020103@economy-x-talk.com> References: <51CDD17C.4090404@gmail.com> <51CDD4E1.7020103@economy-x-talk.com> Message-ID: <51CDD59D.5030809@gmail.com> On 06/28/2013 09:24 PM, Mark Schonewille wrote: > Hi Richmond, > > Almost every current development tool can do that, except for > LiveCode. What we need is a UTF8 script editor. Um! That doesn't sound all that good. What I do not understand is, if the script editor contains a field "Scripts" in which one writes scripts, why one cannot put unicodeText into it just as one does in any other texrtField? > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other > colour spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > Fill out this survey please > http://livecodebeginner.economy-x-talk.com/survey/ > > On 6/28/2013 20:10, Richmond wrote: >> I wonder how one can enter unicodeText directly into the script editor? >> >> When one wants to put a script into an object without opening the script >> editor one does this sort of thing: >> >> set the script of btn "unicodeTest" to fld "Nonsense" >> >> now, if fld "nonsense" contains unicodeText that just ends up delivering >> gobbledegook. >> >> this: >> >> set the useUnicode to true >> set the script of btn "unicodeTest" to fld "Nonsense" >> >> is no better . . . >> >> the reason for this, presumably, is that when one enters unicodeText >> into a fld the >> >> set the useUnicode to true is directly addressed to the fld, while in >> my rather feeble attempt above it is aimed at the script rather than the >> script entry field of >> the script editor >> >> if one tries this sort of thing: >> >> set the useUnicode to true >> set the unicodeText of fld "Scripts" of the script of btn "unicodeTest" >> to fld "Nonsense" >> >> an error is thrown. >> >> Richmond. >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Fri Jun 28 14:29:23 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 28 Jun 2013 11:29:23 -0700 Subject: test In-Reply-To: References: Message-ID: Dick, you won't see your message in your Gmail inbox unless it's replied to. A feature of Gmail. Personally, I think it's Gmail being too helpful. sqb On Fri, Jun 28, 2013 at 5:18 AM, Dirk prive wrote: > Just sending a msg to see if it actually gets delivered, since the previous > one seems to be missing in cyberspace. > > Dirk Cleenwerck > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From pete at lcsql.com Fri Jun 28 14:54:27 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 28 Jun 2013 11:54:27 -0700 Subject: revHookBuildScriptEditorContextMenu Message-ID: I would like to use the above to add some items to the script editor contextual menu but I see from a recent discussion that only one plugin's front script will receive the message. Does anyone have any thoughts on a cooperative architecture that can be implemented now to allow multiple plugins to have access to this hook? Perhaps a custom property of the IDE Home stack (in the uRIP property set?) that defines the plugin stack name/handler to be invoked by the hook? Would still need a generic front script to trap the hook message and call the defined plugin handlers. Pete lcSQL Software From ambassador at fourthworld.com Fri Jun 28 14:57:10 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 28 Jun 2013 11:57:10 -0700 Subject: Really large groups Message-ID: <51CDDC86.9060701@fourthworld.com> Geoff Canyon wrote: > Has anyone created a library to handle groups > 32k pixels wide/tall? I'm > thinking of something that stores the coordinates of controls relative to a > larger space and allows scrolling through that larger space -- maybe by > placing/removing them in an actual group so normal scrolling can still be > used? This seems like a hard-ish problem to get right, but possible to > build in a fairly robust way. I believe you'd have to use separate scrollbar controls like the DataGrid does to maintain a consistent scroll thumb while hiding/show elements. That said, it seems like a painfully tedious task but doable, sort of like a DataGrid on acid. Just curious: What are you making that needs that sort of display space? -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From gcanyon at gmail.com Fri Jun 28 16:04:21 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Fri, 28 Jun 2013 15:04:21 -0500 Subject: Really large groups In-Reply-To: <51CDDC86.9060701@fourthworld.com> References: <51CDDC86.9060701@fourthworld.com> Message-ID: I agree that it seems challenging, but I think if it's done right it could be fairly transparent and robust. I wrote some code to display the number of factors of each number from 1..N. It uses a graphic and draws a single-pixel-width vertical bar for each number. It creates a new graphic for each hundred numbers (they start to become unwieldy when you try to set more than a thousand points or so). All of that works, but if I'm trying to do 1..50,000, or even 1.. a few million. That makes the group with the set of graphics I'm creating up to millions of pixels wide. Insane, I know, but the recent progress on the twin prime conjecture has me excited and curious. On Fri, Jun 28, 2013 at 1:57 PM, Richard Gaskin wrote: > Geoff Canyon wrote: > >> Has anyone created a library to handle groups > 32k pixels wide/tall? I'm >> thinking of something that stores the coordinates of controls relative to >> a >> larger space and allows scrolling through that larger space -- maybe by >> placing/removing them in an actual group so normal scrolling can still be >> used? This seems like a hard-ish problem to get right, but possible to >> build in a fairly robust way. >> > > I believe you'd have to use separate scrollbar controls like the DataGrid > does to maintain a consistent scroll thumb while hiding/show elements. > > That said, it seems like a painfully tedious task but doable, sort of like > a DataGrid on acid. > > Just curious: What are you making that needs that sort of display space? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for Desktop, Mobile, and Web > ______________________________**______________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From john at splash21.com Fri Jun 28 16:24:59 2013 From: john at splash21.com (John Craig) Date: Fri, 28 Jun 2013 21:24:59 +0100 Subject: revHookBuildScriptEditorContextMenu In-Reply-To: References: Message-ID: <51CDF11B.7000308@splash21.com> Hi, Pete. As long as you pass the message, the other frontscripts will also receive the message, so you're not limited. John. On 28/06/2013 19:54, Peter Haworth wrote: > I would like to use the above to add some items to the script editor > contextual menu but I see from a recent discussion that only one plugin's > front script will receive the message. > > Does anyone have any thoughts on a cooperative architecture that can be > implemented now to allow multiple plugins to have access to this hook? > > Perhaps a custom property of the IDE Home stack (in the uRIP property set?) > that defines the plugin stack name/handler to be invoked by the hook? > Would still need a generic front script to trap the hook message and call > the defined plugin handlers. > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From wow at together.net Fri Jun 28 16:37:55 2013 From: wow at together.net (Richard Miller) Date: Fri, 28 Jun 2013 16:37:55 -0400 Subject: LiveCode ios app marketing In-Reply-To: References: <51CD6072.7060108@gmail.com> <51CD80BD.5000809@together.net> <9E4390EC-21B9-4BBB-9C20-878C894907EF@all-auctions.com> <51CDA420.5010306@together.net> Message-ID: <51CDF423.3050706@together.net> Thanks for the feedback, Rick. Much appreciated. On 6/28/13 12:56 PM, Rick Harrison wrote: > Hi Richard, > > Ok, I took a look at your ad in the iTunes store, > and downloaded the Free version to get feel > for what you are trying to do. > > A few things I noticed right off the bat. > > You say in your app description that the app is > in use by thousands of businesses, colleges, and individuals. > That's very nice, but you don't say anything about what > kind of people might really find your app to be useful. > The question you need to ask yourself, is why your > customers would really want to use your app? Why > should I want one? > > Based on the data I was seeing you should give some more > examples such as: Carpenters, Architectural Engineers, > Interior Designers, etc. > > Think more about what your true target markets are. > > You have a lot of price tiers. Possibly too many. You have > a Free version. You have 25 packs for $.99 then you have > the Standard version for $4.99, with more packs, then a Professional version > for $9.99, and then "Pack 2 for $.99" I can see where this could > be confusing to the everyday browsing app purchaser. > > There appear to be non-working components in the Free version. > I found myself getting bombarded by having to get the upgraded > version to even try out a bunch of the functions. > > The database information for even one tree took way to long to load. > You may want to get a faster web-server, or break up the data into smaller > chunks with more screens. There was too much information on > one page so I had to do a lot of scrolling just to look around. > > What is your present sales data telling you about your apps? > What kind of advertising in the past have you done and what > kind of data blip increases are you seeing after you have run > the ads? > > I hope that feedback helps you! > > Good luck, > > Rick > > > > On Jun 28, 2013, at 10:56 AM, Richard Miller wrote: > >> https://itunes.apple.com/us/app/wood-explorer/id518081966?mt=8 >> >> Free version >> Custom version ($0.99 per 25 species) >> Premium version - $9.99 >> >> >> >> >> On 6/28/13 9:52 AM, Rick Harrison wrote: >>> Hi Richard, >>> >>> What is the name of the app and how much is it in the app store? >>> Without those key pieces of information it's too difficult to >>> evaluate it and give any advice. >>> >>> Thanks, >>> >>> Rick >>> >>> On Jun 28, 2013, at 8:25 AM, Richard Miller wrote: >>> >>>> Is there a list of LiveCode-based businesses which have expertise in building and marketing IOS apps? I have a LC/ios app (and an Android version) that's been out for about a year, but it needs some updating and a heavy dose of marketing and promotion... neither of which I am currently able to do. This is a solid app with lots of upside (it's in a big sector), inferior competition, and the best underlying data in the world. I'd like to find a company that can help realize the full value of this app and share in the benefits. Any suggestions? >>>> >>>> Thanks. >>>> Richard Miller >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> From harrison at all-auctions.com Fri Jun 28 16:41:45 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Fri, 28 Jun 2013 16:41:45 -0400 Subject: LiveCode ios app marketing In-Reply-To: <51CDF423.3050706@together.net> References: <51CD6072.7060108@gmail.com> <51CD80BD.5000809@together.net> <9E4390EC-21B9-4BBB-9C20-878C894907EF@all-auctions.com> <51CDA420.5010306@together.net> <51CDF423.3050706@together.net> Message-ID: <103329F1-6E46-4069-9407-9887E183746F@all-auctions.com> Hi Richard, You are most welcome! Rick On Jun 28, 2013, at 4:37 PM, Richard Miller wrote: > Thanks for the feedback, Rick. > Much appreciated. > > > > On 6/28/13 12:56 PM, Rick Harrison wrote: >> Hi Richard, >> >> Ok, I took a look at your ad in the iTunes store, >> and downloaded the Free version to get feel >> for what you are trying to do. >> >> A few things I noticed right off the bat. >> >> You say in your app description that the app is >> in use by thousands of businesses, colleges, and individuals. >> That's very nice, but you don't say anything about what >> kind of people might really find your app to be useful. >> The question you need to ask yourself, is why your >> customers would really want to use your app? Why >> should I want one? >> >> Based on the data I was seeing you should give some more >> examples such as: Carpenters, Architectural Engineers, >> Interior Designers, etc. >> >> Think more about what your true target markets are. >> >> You have a lot of price tiers. Possibly too many. You have >> a Free version. You have 25 packs for $.99 then you have >> the Standard version for $4.99, with more packs, then a Professional version >> for $9.99, and then "Pack 2 for $.99" I can see where this could >> be confusing to the everyday browsing app purchaser. >> >> There appear to be non-working components in the Free version. >> I found myself getting bombarded by having to get the upgraded >> version to even try out a bunch of the functions. >> >> The database information for even one tree took way to long to load. >> You may want to get a faster web-server, or break up the data into smaller >> chunks with more screens. There was too much information on >> one page so I had to do a lot of scrolling just to look around. >> >> What is your present sales data telling you about your apps? >> What kind of advertising in the past have you done and what >> kind of data blip increases are you seeing after you have run >> the ads? >> >> I hope that feedback helps you! >> >> Good luck, >> >> Rick >> >> >> >> On Jun 28, 2013, at 10:56 AM, Richard Miller wrote: >> >>> https://itunes.apple.com/us/app/wood-explorer/id518081966?mt=8 >>> >>> Free version >>> Custom version ($0.99 per 25 species) >>> Premium version - $9.99 >>> >>> >>> >>> >>> On 6/28/13 9:52 AM, Rick Harrison wrote: >>>> Hi Richard, >>>> >>>> What is the name of the app and how much is it in the app store? >>>> Without those key pieces of information it's too difficult to >>>> evaluate it and give any advice. >>>> >>>> Thanks, >>>> >>>> Rick >>>> >>>> On Jun 28, 2013, at 8:25 AM, Richard Miller wrote: >>>> >>>>> Is there a list of LiveCode-based businesses which have expertise in building and marketing IOS apps? I have a LC/ios app (and an Android version) that's been out for about a year, but it needs some updating and a heavy dose of marketing and promotion... neither of which I am currently able to do. This is a solid app with lots of upside (it's in a big sector), inferior competition, and the best underlying data in the world. I'd like to find a company that can help realize the full value of this app and share in the benefits. Any suggestions? >>>>> >>>>> Thanks. >>>>> Richard Miller >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Fri Jun 28 17:48:49 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 28 Jun 2013 14:48:49 -0700 Subject: revHookBuildScriptEditorContextMenu In-Reply-To: <51CDF11B.7000308@splash21.com> References: <51CDF11B.7000308@splash21.com> Message-ID: Hi John, I was hoping that would work too, but it doesn't seem to in my testing. I set up two front scripts, each with a handler with a revHookBuildScriptEditorContextMenu in it and a pass statement at the end but only one of them was executed. I think it's because it's not a built-in LC message, just something that is dispatched from the script editor mouseDown handler ,so the first handler to see it is executed then control goes right back to the statement after the dispatch. Same problem occurs with the revHookScriptEditorContextMenuPick handling. Hope I'm wrong but don't think so :-) Pete lcSQL Software On Fri, Jun 28, 2013 at 1:24 PM, John Craig wrote: > Hi, Pete. As long as you pass the message, the other frontscripts will > also receive the message, so you're not limited. > > John. > > > > On 28/06/2013 19:54, Peter Haworth wrote: > >> I would like to use the above to add some items to the script editor >> contextual menu but I see from a recent discussion that only one plugin's >> front script will receive the message. >> >> Does anyone have any thoughts on a cooperative architecture that can be >> implemented now to allow multiple plugins to have access to this hook? >> >> Perhaps a custom property of the IDE Home stack (in the uRIP property >> set?) >> that defines the plugin stack name/handler to be invoked by the hook? >> Would still need a generic front script to trap the hook message and >> call >> the defined plugin handlers. >> >> Pete >> lcSQL Software >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From revolution at derbrill.de Fri Jun 28 18:46:08 2013 From: revolution at derbrill.de (Malte Brill) Date: Sat, 29 Jun 2013 00:46:08 +0200 Subject: [ANN] Start of a date handling library In-Reply-To: References: Message-ID: <92B25548-2228-40E8-B71D-ADEE15250DD2@derbrill.de> Hi all, I was recently asking for a dateWidget that can handle dates before 1970 on windows. I was pointed to /hs fine work, however that is not compatible with the license I need to support. So I started to roll a library to handle those cases where the convert command will not do. I have uploaded the stack to the forums for anyone interested: http://forums.runrev.com/phpBB2/viewtopic.php?f=16&t=15752 Stack is released into the public domain. No strings attached, no warranties. Looking forward to feedback and maybe contributions if anyone wants to help out. There are some quirks in the engine (or in the docs) regarding the dateformat, which I will want to bring up. If any of the C-Gurus has a couple of minutes to discuss with me I would be greatful for some Pointers. Cheers, Malte -- derbrill IT-service Malte Pfaff-Brill Tanneneck 2, d-24790 Ostenfeld Tel: +49 4331-337 640 0 eMail: info at derbrill.de web: http://www.derbrill.de Steuernummer: 28 015 03865 VAT ID: DE223571286 From mwieder at ahsoftware.net Fri Jun 28 21:07:08 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 28 Jun 2013 18:07:08 -0700 Subject: Script Editor and Unicode In-Reply-To: <51CDD59D.5030809@gmail.com> References: <51CDD17C.4090404@gmail.com> <51CDD4E1.7020103@economy-x-talk.com> <51CDD59D.5030809@gmail.com> Message-ID: <198207619756.20130628180708@ahsoftware.net> Richmond- Friday, June 28, 2013, 11:27:41 AM, you wrote: > set the script of btn "unicodeTest" to fld "Nonsense" Because "set the script of" doesn't put text into the script editor's script field, but instead it triggers the engine to compile the script. So your beef isn't with the Script Editor per se, but with the parser in the engine that is throwing errors when it encounters unicode. And that's a legitimate beef, and one that hopefully will be addressed soon. -- -Mark Wieder mwieder at ahsoftware.net From richmondmathewson at gmail.com Sat Jun 29 02:12:13 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 29 Jun 2013 09:12:13 +0300 Subject: Script Editor and Unicode In-Reply-To: <198207619756.20130628180708@ahsoftware.net> References: <51CDD17C.4090404@gmail.com> <51CDD4E1.7020103@economy-x-talk.com> <51CDD59D.5030809@gmail.com> <198207619756.20130628180708@ahsoftware.net> Message-ID: <51CE7ABD.4030104@gmail.com> On 06/29/2013 04:07 AM, Mark Wieder wrote: > Richmond- > > Friday, June 28, 2013, 11:27:41 AM, you wrote: > >> set the script of btn "unicodeTest" to fld "Nonsense" > Because "set the script of" doesn't put text into the script editor's > script field, but instead it triggers the engine to compile the > script. So your beef isn't with the Script Editor per se, but with the > parser in the engine that is throwing errors when it encounters > unicode. And that's a legitimate beef, and one that hopefully will be > addressed soon. > Thanks for the clarification. The main reason we need to be able to put unicode in a script is so that one can write: put "!@#$%^&*() into fld "output1" rather than a whole chain of extremely tedious numToChar statements. Richmond. From john at splash21.com Sat Jun 29 03:33:25 2013 From: john at splash21.com (John Craig) Date: Sat, 29 Jun 2013 08:33:25 +0100 Subject: revHookBuildScriptEditorContextMenu In-Reply-To: References: <51CDF11B.7000308@splash21.com> Message-ID: <51CE8DC5.9050105@splash21.com> I just double checked with community 6.0.2 and it works fine. Set up 2 frontscripts with something like the foloowing code. Stick a slightly different message in each one for identification of which is which. When right clicking in the editor, you'll see both customizations are there and they both work as expected. HTH John. on revHookBuildScriptEditorContextMenu pObject, pSelectedText, @pText, pModifiedText put "Script Editor Customization" & LF & "-" & LF before pText pass revHookBuildScriptEditorContextMenu end revHookBuildScriptEditorContextMenu on revHookScriptEditorContextMenuPick pItem if pItem = "Script Editor Customization" then answer "Run your custom code!" exit to top end if pass revHookScriptEditorContextMenuPick end revHookScriptEditorContextMenuPick On 28/06/2013 22:48, Peter Haworth wrote: > Hi John, > I was hoping that would work too, but it doesn't seem to in my testing. I > set up two front scripts, each with a handler with a > revHookBuildScriptEditorContextMenu in it and a pass statement at the end > but only one of them was executed. > > I think it's because it's not a built-in LC message, just something that > is dispatched from the script editor mouseDown handler ,so the first > handler to see it is executed then control goes right back to the statement > after the dispatch. > > Same problem occurs with the revHookScriptEditorContextMenuPick handling. > > Hope I'm wrong but don't think so :-) > > Pete > lcSQL Software > > > On Fri, Jun 28, 2013 at 1:24 PM, John Craig wrote: > >> Hi, Pete. As long as you pass the message, the other frontscripts will >> also receive the message, so you're not limited. >> >> John. >> >> >> >> On 28/06/2013 19:54, Peter Haworth wrote: >> >>> I would like to use the above to add some items to the script editor >>> contextual menu but I see from a recent discussion that only one plugin's >>> front script will receive the message. >>> >>> Does anyone have any thoughts on a cooperative architecture that can be >>> implemented now to allow multiple plugins to have access to this hook? >>> >>> Perhaps a custom property of the IDE Home stack (in the uRIP property >>> set?) >>> that defines the plugin stack name/handler to be invoked by the hook? >>> Would still need a generic front script to trap the hook message and >>> call >>> the defined plugin handlers. >>> >>> Pete >>> lcSQL Software >>> ______________________________**_________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From nm at studionm.pl Sat Jun 29 04:37:15 2013 From: nm at studionm.pl (Marek Niesiobedzki) Date: Sat, 29 Jun 2013 10:37:15 +0200 Subject: Script Editor and Unicode Message-ID: <7D151EFB-BB28-458A-A472-40547941A50D@studionm.pl> Richmond, unicode in script is what I'm waiting also, but you can set substack with "library" of fields containing Unicode text and then use "put unicode" in your scripts to populate the text into your destination fields. You don't need to use numToChar. Marek From gerry.orkin at gmail.com Sat Jun 29 05:01:42 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Sat, 29 Jun 2013 19:01:42 +1000 Subject: Augmented reality with LiveCode ? In-Reply-To: <3F146744-998A-44BC-9C32-91CEE4C30F95@gmail.com> References: <3F146744-998A-44BC-9C32-91CEE4C30F95@gmail.com> Message-ID: <8214F796-54D7-46CF-93BF-7CED351B659D@gmail.com> Nope :) g On 29/06/2013, at 2:18 AM, Sergio Schvarstein wrote: > Hi, > > Is there any way or tool for creating an Augmented Reality app for iOS using LiveCode ? > > Thanks :-) > From sschvarstein at gmail.com Sat Jun 29 09:54:00 2013 From: sschvarstein at gmail.com (Sergio Schvarstein) Date: Sat, 29 Jun 2013 15:54:00 +0200 Subject: Augmented reality with LiveCode ? Message-ID: Thanks Gerry. Does anyone have a recommendation for an AR development tool for iOS ? I am Livecoder but not Xcoder. By now I'm looking Metaio, but it needs Xcoding for customization. Thanks again. ______________________________ Sergio Schvarstein ______________________________ From pmbrig at gmail.com Sat Jun 29 10:43:28 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sat, 29 Jun 2013 10:43:28 -0400 Subject: Script Editor and Unicode In-Reply-To: <51CE7ABD.4030104@gmail.com> References: <51CDD17C.4090404@gmail.com> <51CDD4E1.7020103@economy-x-talk.com> <51CDD59D.5030809@gmail.com> <198207619756.20130628180708@ahsoftware.net> <51CE7ABD.4030104@gmail.com> Message-ID: <9FC28D96-BB0D-46A1-B7CD-C001C98057C6@gmail.com> On Jun 29, 2013, at 2:12 AM, Richmond wrote: > The main reason we need to be able to put unicode in a script is so that one > can write: > > put "!@#$%^&*() into fld "output1" > > rather than a whole chain of extremely tedious numToChar statements. That particular example works now and doesn't require Unicode. I assume your example was a placeholder for an actual Unicode character string. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From effendi at wanadoo.fr Sat Jun 29 11:42:50 2013 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Sat, 29 Jun 2013 17:42:50 +0200 Subject: [ANN] Start of a date handling library Message-ID: <5CB03DB7-0986-4A55-9A23-A1E53FC7ED27@wanadoo.fr> Hi from Beautiful Brittany, Malte, In your date library, we see a reference to : libDate_EnglishDate which for today gave 06/30/13. The "English" never wrote their dates like this ! This is the "American" style. The English Date is DD/MM/YY (or YYYY) There is also a function error in : libDate_AbbrevSystemWeekdayName of which there are two examples, one works, the other one blows !. This has already been pointed out. However, thanks for the stack. Nice to have all these dates to choose from ! Best Regards -Francis From ludovic.thebault at laposte.net Sat Jun 29 12:18:51 2013 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Sat, 29 Jun 2013 18:18:51 +0200 Subject: revBrowser : IE needed ? Message-ID: Hello, Is Internet Explorer is needed to use revBrowser on Windows ? I have an user that said it cannot access to the browser because he has remove IE. From john at splash21.com Sat Jun 29 12:52:09 2013 From: john at splash21.com (John Craig) Date: Sat, 29 Jun 2013 17:52:09 +0100 Subject: Pilots required Message-ID: <51CF10B9.8030602@splash21.com> I've been doing some multi player game testing with LiveCode - if anyone is interested in a test game sometime to report on how well the client stack runs and the server app runs with more players connected, then drop me a line off list. Here's a video of a dog fight between myself and Dixie; http://youtu.be/qacVlr3lpj0 Thanks, J From bonnmike at gmail.com Sat Jun 29 12:53:55 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 29 Jun 2013 10:53:55 -0600 Subject: revBrowser : IE needed ? In-Reply-To: References: Message-ID: Yes currently it is needed to use revbrowser. Moving to webkit is on the to do list though. Just not sure what the timeline for that will be. On Sat, Jun 29, 2013 at 10:18 AM, Ludovic Th?bault < ludovic.thebault at laposte.net> wrote: > Hello, > > Is Internet Explorer is needed to use revBrowser on Windows ? > I have an user that said it cannot access to the browser because he has > remove IE. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Sat Jun 29 13:34:40 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 29 Jun 2013 10:34:40 -0700 Subject: revHookBuildScriptEditorContextMenu In-Reply-To: <51CE8DC5.9050105@splash21.com> References: <51CDF11B.7000308@splash21.com> <51CE8DC5.9050105@splash21.com> Message-ID: Hi John, You're right, that works just fine. Took me a while to figure out why but then I noticed that you are setting the ptext parameter, and defining it by reference whereas I was using the pmodifiedtext parameter by reference (which seems to be the way the script editor mousedown handler expects things to work. Looks like using ptext works because the mouseDown handler uses pmodifiedtext if its dispatch of revHookBuildScriptEditorContextMenu is handled and ptext if it's not handled, and I think by passing the message, it eventually goes nowhere so returns unhandled. I think there's still a problem though because I'm guessing plugins that use this feature probably still use pmodifiedtext. Only time will tell I suppose. Anyway, thanks for a clever way to make this work. So yes, things do seem to work that way but I'm guessing most plugins that use this feature probably don;t do it that way. Pete lcSQL Software On Sat, Jun 29, 2013 at 12:33 AM, John Craig wrote: > I just double checked with community 6.0.2 and it works fine. > > Set up 2 frontscripts with something like the foloowing code. Stick a > slightly different message in each one for identification of which is which. > When right clicking in the editor, you'll see both customizations are > there and they both work as expected. > > HTH > > John. > > > > on revHookBuildScriptEditorContex**tMenu pObject, pSelectedText, @pText, > pModifiedText > put "Script Editor Customization" & LF & "-" & LF before pText > pass revHookBuildScriptEditorContex**tMenu > end revHookBuildScriptEditorContex**tMenu > > > on revHookScriptEditorContextMenu**Pick pItem > if pItem = "Script Editor Customization" then > answer "Run your custom code!" > exit to top > end if > pass revHookScriptEditorContextMenu**Pick > end revHookScriptEditorContextMenu**Pick > > > > > On 28/06/2013 22:48, Peter Haworth wrote: > >> Hi John, >> I was hoping that would work too, but it doesn't seem to in my testing. I >> set up two front scripts, each with a handler with a >> revHookBuildScriptEditorContex**tMenu in it and a pass statement at the >> end >> but only one of them was executed. >> >> I think it's because it's not a built-in LC message, just something that >> is dispatched from the script editor mouseDown handler ,so the first >> handler to see it is executed then control goes right back to the >> statement >> after the dispatch. >> >> Same problem occurs with the revHookScriptEditorContextMenu**Pick >> handling. >> >> Hope I'm wrong but don't think so :-) >> >> Pete >> lcSQL Software >> >> >> On Fri, Jun 28, 2013 at 1:24 PM, John Craig wrote: >> >> Hi, Pete. As long as you pass the message, the other frontscripts will >>> also receive the message, so you're not limited. >>> >>> John. >>> >>> >>> >>> On 28/06/2013 19:54, Peter Haworth wrote: >>> >>> I would like to use the above to add some items to the script editor >>>> contextual menu but I see from a recent discussion that only one >>>> plugin's >>>> front script will receive the message. >>>> >>>> Does anyone have any thoughts on a cooperative architecture that can be >>>> implemented now to allow multiple plugins to have access to this hook? >>>> >>>> Perhaps a custom property of the IDE Home stack (in the uRIP property >>>> set?) >>>> that defines the plugin stack name/handler to be invoked by the hook? >>>> Would still need a generic front script to trap the hook message and >>>> call >>>> the defined plugin handlers. >>>> >>>> Pete >>>> lcSQL Software >>>> ______________________________****_________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/****mailman/listinfo/use-livecode >>>> <**http://lists.runrev.com/**mailman/listinfo/use-livecode >>>> > >>>> >>>> >>>> ______________________________****_________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/****mailman/listinfo/use-livecode >>> <**http://lists.runrev.com/**mailman/listinfo/use-livecode >>> > >>> >>> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From MikeKerner at roadrunner.com Sat Jun 29 14:31:37 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 29 Jun 2013 14:31:37 -0400 Subject: Pilots required In-Reply-To: <51CF10B9.8030602@splash21.com> References: <51CF10B9.8030602@splash21.com> Message-ID: You guys should watch the video - looks like the beginnings of a fun game. On Sat, Jun 29, 2013 at 12:52 PM, John Craig wrote: > I've been doing some multi player game testing with LiveCode - if anyone > is interested in a test game sometime to report on how well the client > stack runs and the server app runs with more players connected, then drop > me a line off list. > > Here's a video of a dog fight between myself and Dixie; > http://youtu.be/qacVlr3lpj0 > > Thanks, > > J > > ______________________________**_________________ > use-livecode mailing list > use-livecode at 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." From mkoob at rogers.com Sat Jun 29 14:45:56 2013 From: mkoob at rogers.com (Martin Koob) Date: Sat, 29 Jun 2013 11:45:56 -0700 (PDT) Subject: Odin down? Message-ID: <1372531556002-4666982.post@n4.nabble.com> Hi I just tried to to to my site on odin and it appears odin down. I have put an emergency support request in at http://www.on-rev.com/support/contact-us/ Anyone else notice this? I am wondering how long it has been down. Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Odin-down-tp4666982.html Sent from the Revolution - User mailing list archive at Nabble.com. From dixonja at hotmail.co.uk Sat Jun 29 15:11:51 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Sat, 29 Jun 2013 20:11:51 +0100 Subject: Odin down? In-Reply-To: <1372531556002-4666982.post@n4.nabble.com> References: <1372531556002-4666982.post@n4.nabble.com> Message-ID: Yes..(sigh)... ODIN is down yet again... ! > Date: Sat, 29 Jun 2013 11:45:56 -0700 > From: mkoob at rogers.com > To: use-revolution at lists.runrev.com > Subject: Odin down? > > Hi I just tried to to to my site on odin and it appears odin down. > > I have put an emergency support request in at > http://www.on-rev.com/support/contact-us/ > > Anyone else notice this? > > I am wondering how long it has been down. > > Martin > > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Odin-down-tp4666982.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revolution at derbrill.de Sat Jun 29 15:13:44 2013 From: revolution at derbrill.de (Malte Brill) Date: Sat, 29 Jun 2013 21:13:44 +0200 Subject: [ANN] Start of a date handling library In-Reply-To: References: Message-ID: Hi Francis, thanks for the feedback. > In your date library, we see a reference to : > > libDate_EnglishDate > > which for today gave 06/30/13. This is in line with what the engine returns for put the english date If you are looking at the code, I am getting the date formatting directly from the engine. The whole purpose of the lib is to avoid the convert command, as this will not be able to take any dates before Jan 1st 1970 and will get confused after 2035 (the century cutoff) for 2 digit dates. > There is also a function error in : > > libDate_AbbrevSystemWeekdayName > > of which there are two examples, one works, the other > one blows !. This has already been pointed out. Yes. This was an oversight. Originally I wanted to call the function libDateCalendarWeek. However later on I found that to be ambigous, as the week I was after was the ISO 8601 one instead of the "american" calendar week. I shall be adding more stuff to the library, so all feedback is much appreciated. All the best, Malte -- derbrill IT-service Malte Pfaff-Brill Tanneneck 2, d-24790 Ostenfeld Tel: +49 4331-337 640 0 eMail: info at derbrill.de web: http://www.derbrill.de Steuernummer: 28 015 03865 VAT ID: DE223571286 From revolution at derbrill.de Sat Jun 29 15:30:14 2013 From: revolution at derbrill.de (Malte Brill) Date: Sat, 29 Jun 2013 21:30:14 +0200 Subject: [ANN] Start of a date handling library In-Reply-To: References: Message-ID: Mats Wilstrand just discovered a bug that has been fixed. The extra button has been removed. Stack is attached to the first post in the forum. http://forums.runrev.com/phpBB2/viewtopic.php?f=16&t=15752&p=79681#p79681 Best, Malte -- derbrill IT-service Malte Pfaff-Brill Tanneneck 2, d-24790 Ostenfeld Tel: +49 4331-337 640 0 eMail: info at derbrill.de web: http://www.derbrill.de Steuernummer: 28 015 03865 VAT ID: DE223571286 From sundown at pacifier.com Sat Jun 29 15:34:15 2013 From: sundown at pacifier.com (JB) Date: Sat, 29 Jun 2013 12:34:15 -0700 Subject: Odin down? In-Reply-To: <1372531556002-4666982.post@n4.nabble.com> References: <1372531556002-4666982.post@n4.nabble.com> Message-ID: My site is down. -=>JB<=- On Jun 29, 2013, at 11:45 AM, Martin Koob wrote: > Hi I just tried to to to my site on odin and it appears odin down. > > I have put an emergency support request in at > http://www.on-rev.com/support/contact-us/ > > Anyone else notice this? > > I am wondering how long it has been down. > > Martin > > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Odin-down-tp4666982.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ludovic.thebault at laposte.net Sat Jun 29 15:36:52 2013 From: ludovic.thebault at laposte.net (=?utf-8?Q?Ludovic_Th=C3=A9bault?=) Date: Sat, 29 Jun 2013 21:36:52 +0200 Subject: revBrowser : IE needed ? In-Reply-To: References: Message-ID: Le 29 juin 2013 ? 18:53, Mike Bonner a ?crit : > Yes currently it is needed to use revbrowser. Moving to webkit is on the > to do list though. Just not sure what the timeline for that will be. > > > Thank Ludovic From probert.dave at gmail.com Sat Jun 29 15:41:46 2013 From: probert.dave at gmail.com (Dave Probert) Date: Sat, 29 Jun 2013 12:41:46 -0700 (PDT) Subject: Augmented reality with LiveCode ? In-Reply-To: <3F146744-998A-44BC-9C32-91CEE4C30F95@gmail.com> References: <3F146744-998A-44BC-9C32-91CEE4C30F95@gmail.com> Message-ID: <1372534906652-4666988.post@n4.nabble.com> Hi Sergio, Currently there are no tools (that I know of) to do Augmented Reality in livecode, but that does not mean that it cannot be done. It really depends on what you mean by AR. There is AR where you overlay a video feed with data based on your position and where you are looking at - this can probably be done with some maths and a way of putting information on a video feed (an overlay). The other AR most people think of is where you display some 3D model over a video feed (with position/orientation feedback) - this version cannot be done with Livecode as it is now. LC does not have any useful 3D support - especially for IOS (and other mobile devices). You can probably do the first version with a bit of web searching for some algorithms for the data positioning. IOS devices mostly support position/orientation information as standard. Hope that helps a bit, Dave -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Augmented-reality-with-LiveCode-tp4666954p4666988.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Sat Jun 29 17:28:01 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 29 Jun 2013 14:28:01 -0700 Subject: [on-rev] LC code output bumping against a server size limit? In-Reply-To: <51CB50A0.3010808@pdslabs.net> References: <51CB50A0.3010808@pdslabs.net> Message-ID: <51CF5161.9090907@fourthworld.com> Phil Davis wrote: > I wrote support and Heather responded: >> Dear Phil, >> >> Thank you for your request. Yes, this could be a server limit. If you go here: >> >> http://www.watters.ws/mediawiki/index.php/Use_custom_php.ini_file_with_suPHP >> >> You will find some instructions which should enable you to set this for yourself. >> Please let me know if you have any difficulty or if this turns out not to be the >> issue. >> >> Regards, >> >> Heather > > So I'll take a look at this link and see what I can do with server > settings. I know you can alter the default PHP settings by putting a > custom php.ini file (containing only the settings you want to change) in > the directory that holds your php page, and it looks like the above link > tells how to do something similar on an on-rev server. I believe php.ini is read by the suPHP executable rather than Apache, so for there to be a similar file for LC Server the LC Server engine would need to expect such a thing. If my understanding is correct, unless there's some spec for an ini file for LC Server that I haven't come across, CGI memory allocation would need to be adjusted at the root level, perhaps with the suEXEC settings, but those aren't normally the sort of thing that a host provides to shared accounts. But then again, I could be wrong. Please keep us posted with what you find. I've been pondering the memory implications of multiple CGI instances on shared hosts, so this topic is of keen interest to me. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From monte at sweattechnologies.com Sat Jun 29 17:29:33 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 30 Jun 2013 07:29:33 +1000 Subject: Augmented reality with LiveCode ? In-Reply-To: <1372534906652-4666988.post@n4.nabble.com> References: <3F146744-998A-44BC-9C32-91CEE4C30F95@gmail.com> <1372534906652-4666988.post@n4.nabble.com> Message-ID: I noticed this the other day on cocoacontrols: https://github.com/promet/PRAugmentedReality Could be made into an external for LiveCode Cheers Monte On 30/06/2013, at 5:41 AM, Dave Probert wrote: > Hi Sergio, > > Currently there are no tools (that I know of) to do Augmented Reality in > livecode, but that does not mean that it cannot be done. > > It really depends on what you mean by AR. > > There is AR where you overlay a video feed with data based on your position > and where you are looking at - this can probably be done with some maths and > a way of putting information on a video feed (an overlay). > > The other AR most people think of is where you display some 3D model over a > video feed (with position/orientation feedback) - this version cannot be > done with Livecode as it is now. LC does not have any useful 3D support - > especially for IOS (and other mobile devices). > > You can probably do the first version with a bit of web searching for some > algorithms for the data positioning. IOS devices mostly support > position/orientation information as standard. > > Hope that helps a bit, > Dave > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Augmented-reality-with-LiveCode-tp4666954p4666988.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From dixonja at hotmail.co.uk Sat Jun 29 17:56:07 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Sat, 29 Jun 2013 22:56:07 +0100 Subject: Odin down? In-Reply-To: References: <1372531556002-4666982.post@n4.nabble.com>, Message-ID: ODIN is running again...:-) > Subject: Re: Odin down? > From: sundown at pacifier.com > Date: Sat, 29 Jun 2013 12:34:15 -0700 > To: use-livecode at lists.runrev.com > > My site is down. > > -=>JB<=- > > > On Jun 29, 2013, at 11:45 AM, Martin Koob wrote: > > > Hi I just tried to to to my site on odin and it appears odin down. > > > > I have put an emergency support request in at > > http://www.on-rev.com/support/contact-us/ > > > > Anyone else notice this? > > > > I am wondering how long it has been down. > > > > Martin > > > > > > > > > > > > -- > > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Odin-down-tp4666982.html > > Sent from the Revolution - User mailing list archive at Nabble.com. > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Sat Jun 29 18:45:39 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 29 Jun 2013 15:45:39 -0700 Subject: Odin down? In-Reply-To: References: <1372531556002-4666982.post@n4.nabble.com>, Message-ID: <88285531095.20130629154539@ahsoftware.net> > ODIN is running again...:-) Good to know. And I see from the attachments further down the thread that I have been missing any emails that came in before that. If anyone sent me emails today, please resend them. On-rev is such a joke. On-again-off-again-rev is more like it. I can only assume that since they're not getting monthly payments from the founders they've put us all on the oldest machines with no backup and no failover. -- -Mark Wieder mwieder at ahsoftware.net From dochawk at gmail.com Sat Jun 29 19:07:52 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 29 Jun 2013 16:07:52 -0700 Subject: BETA RELEASE: LiveCode 6.1.0 Release Candidate 2 In-Reply-To: References: <57865428-8620-4F5B-850A-3B55C0CE2CE4@all-auctions.com> <51CC8C68.50206@gmail.com> <08AB4408-1E64-4DC0-928B-4647EAF443A4@all-auctions.com> <51CCB6E9.8040208@hyperactivesw.com> <0324C30A-B794-4221-AB1F-F3A3C5BFA4DA@revigniter.com> Message-ID: On Thu, Jun 27, 2013 at 3:51 PM, Monte Goulding wrote: > It could be that commercial server is not yet integrated into the automated build process... >could be a lower priority because 99.99% of server use cases will be covered by community... If I have to re-write in php (or whatever) to make a web version (open source of the product is just plain not an option, for reason I've discussed in the past), it's not much of a step to flat-out compile in another language while I'm at it for the desktop. The server version being "second class" will be a deal-stopper for commercial use . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From monte at sweattechnologies.com Sat Jun 29 19:20:42 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 30 Jun 2013 09:20:42 +1000 Subject: BETA RELEASE: LiveCode 6.1.0 Release Candidate 2 In-Reply-To: References: <57865428-8620-4F5B-850A-3B55C0CE2CE4@all-auctions.com> <51CC8C68.50206@gmail.com> <08AB4408-1E64-4DC0-928B-4647EAF443A4@all-auctions.com> <51CCB6E9.8040208@hyperactivesw.com> <0324C30A-B794-4221-AB1F-F3A3C5BFA4DA@revigniter.com> Message-ID: <90306F0F-86D7-4220-BE66-643FB7F8A5C5@sweattechnologies.com> On 30/06/2013, at 9:07 AM, "Dr. Hawkins" wrote: >> It could be that commercial server is not yet integrated into the automated build process... >> could be a lower priority because 99.99% of server use cases will be covered by community... > > If I have to re-write in php (or whatever) to make a web version (open > source of the product is just plain not an option, for reason I've > discussed in the past), it's not much of a step to flat-out compile in > another language while I'm at it for the desktop. > > The server version being "second class" will be a deal-stopper for > commercial use . . . http://www.php.net/license/3_01.txt Not sure what the license is for (whatever) but PHP is FOSS... BTW I didn't say they weren't going to do a commercial version of the server... just that it might reasonably be seen as a low priority. LiveCode hasn't got a massive user base... the percentage of users using server is small... the percentage that really need commercial server would be only a handful. The percentage of those that can't continue to use the last available commercial version given there's really no features added? are there any? Cheer -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From dochawk at gmail.com Sat Jun 29 19:14:17 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 29 Jun 2013 16:14:17 -0700 Subject: 6.0.2 and Apple In-Reply-To: <003e01ce7277$42274e70$c675eb50$@net> References: <003e01ce7277$42274e70$c675eb50$@net> Message-ID: On Wed, Jun 26, 2013 at 7:12 AM, Ralph DiMola wrote: > Anyone able to submit an iOS app to Apple using 6.0.2? I can't get past the > Application Loader because of the UUID API error. I don't think any Mac that can run 6.0.2 can run LiveCode . . . wasn't the last that can do that the original Mac II? :) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From mwieder at ahsoftware.net Sat Jun 29 19:57:51 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 29 Jun 2013 16:57:51 -0700 Subject: OT: Evil Mad Scientist Labs teaches boolean logic Message-ID: <94289862355.20130629165751@ahsoftware.net> The Digi-Comp II: -- -Mark Wieder mwieder at ahsoftware.net From capellan2000 at gmail.com Sat Jun 29 22:37:34 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 29 Jun 2013 19:37:34 -0700 (PDT) Subject: revBrowser : IE needed ? In-Reply-To: References: Message-ID: <1372559854317-4666997.post@n4.nabble.com> Hi All, Mike Bonner wrote > Yes currently it is needed to use revbrowser. > Moving to webkit is on the to do list though. > Just not sure what the timeline for that will be. The first version of Altbrowser (from Altuit) allowed developers to select Firefox or Internet Explorer as the default browser. This functionality was removed after RunRev adquired Altbrowser and released it as RevBrowser. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/revBrowser-IE-needed-tp4666977p4666997.html Sent from the Revolution - User mailing list archive at Nabble.com. From stephenREVOLUTION2 at barncard.com Sun Jun 30 01:04:31 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 29 Jun 2013 22:04:31 -0700 Subject: Fwd: [FYI] Using Graphic Commands on Server In-Reply-To: References: Message-ID: I did a test just now using Livecode server 6.0.0 dp1. I successfully imported a jpg file to the templategraphic , scaled it, and exported to an output file as a png on a server at Dreamhost using an iRev script. I also stored the initial rect, height and width of the imported graphic into custom properties of the templategraphic to allow scaling. Just a place to put the data, I could have used variables. so the answer to my own question from a few days ago is YES, at least these graphic commands work on this version. And I don't have to use shell calls to ImageMagick. yay sqb -- - ! - Stephen Barncard San Francisco Ca. USA * * more about sqb -- Stephen Barncard San Francisco Ca. USA more about sqb From ambassador at fourthworld.com Sun Jun 30 01:21:32 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 29 Jun 2013 22:21:32 -0700 Subject: Fwd: [FYI] Using Graphic Commands on Server In-Reply-To: References: Message-ID: <51CFC05C.5070102@fourthworld.com> Thanks for the update, Stephen. Do we have the ability to export objects other than images in that build? Once we can export groups we have custom greeting cards and a whole lot more... -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From stephenREVOLUTION2 at barncard.com Sun Jun 30 01:28:32 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 29 Jun 2013 22:28:32 -0700 Subject: Fwd: [FYI] Using Graphic Commands on Server In-Reply-To: <51CFC05C.5070102@fourthworld.com> References: <51CFC05C.5070102@fourthworld.com> Message-ID: Richard, Help me out here - scratching my head... what grouped objects would be useful on server? And exported as a binary file? On Sat, Jun 29, 2013 at 10:21 PM, Richard Gaskin wrote: > Thanks for the update, Stephen. > > Do we have the ability to export objects other than images in that build? > > Once we can export groups we have custom greeting cards and a whole lot > more... > > -- > Richard Gaskin > Stephen Barncard San Francisco Ca. USA more about sqb From ambassador at fourthworld.com Sun Jun 30 01:40:39 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 29 Jun 2013 22:40:39 -0700 Subject: Fwd: [FYI] Using Graphic Commands on Server Message-ID: <51CFC4D7.6080704@fourthworld.com> stephen barncard wrote: > On Sat, Jun 29, 2013 at 10:21 PM, Richard Gaskin wrote: >> Do we have the ability to export objects other than images in >> that build? >> >> Once we can export groups we have custom greeting cards and a >> whole lot more... >> > Richard, > > Help me out here - scratching my head... > what grouped objects would be useful on server? Suppose for example you want to make customized greeting cards. So you have a selection of pictures, and let the user enter text, which will be embedded in the image. If you had to calculate the pixel positions for every letter and insert them by monkeying with the imageData, it would be tedious, error-prone, and probably look horrible. Much simpler would be to have a script that takes the input from the user, sets the text of a field, and exports a snapshot of a group which contains the field and the original picture, generating a composite JPEG which can be sent back to the browser or emailed. There are all sorts of things we can do by combining vector objects to create raster ouput - provided, of course, that the latest LC server now has its image rendering sufficiently factored from the UI routines that it's at long last possible. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From stephenREVOLUTION2 at barncard.com Sun Jun 30 01:44:48 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 29 Jun 2013 22:44:48 -0700 Subject: Fwd: [FYI] Using Graphic Commands on Server In-Reply-To: <51CFC4D7.6080704@fourthworld.com> References: <51CFC4D7.6080704@fourthworld.com> Message-ID: got it. An overlay of sorts. Very useful. Good idea.. I would need to use templateField and position it. I'll give it a try... sqb On Sat, Jun 29, 2013 at 10:40 PM, Richard Gaskin wrote: > stephen barncard wrote: > > > On Sat, Jun 29, 2013 at 10:21 PM, Richard Gaskin wrote: > >> Do we have the ability to export objects other than images in > >> that build? > >> > >> Once we can export groups we have custom greeting cards and a > >> whole lot more... > >> > > Richard, > > > > Help me out here - scratching my head... > > what grouped objects would be useful on server? > > Suppose for example you want to make customized greeting cards. So you > have a selection of pictures, and let the user enter text, which will be > embedded in the image. > > If you had to calculate the pixel positions for every letter and insert > them by monkeying with the imageData, it would be tedious, error-prone, and > probably look horrible. > > Much simpler would be to have a script that takes the input from the user, > sets the text of a field, and exports a snapshot of a group which contains > the field and the original picture, generating a composite JPEG which can > be sent back to the browser or emailed. > > There are all sorts of things we can do by combining vector objects to > create raster ouput - provided, of course, that the latest LC server now > has its image rendering sufficiently factored from the UI routines that > it's at long last possible. > > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for Desktop, Mobile, and Web > ______________________________**______________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From admin at FlexibleLearning.com Sun Jun 30 07:30:07 2013 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Sun, 30 Jun 2013 12:30:07 +0100 Subject: Free update: ChartMaker In-Reply-To: Message-ID: ChartMaker v3.0 build 60 ~ Free Maintenance Release Version: 3.0 Build: 60 Release type: Maintenance What's New in this build? This is a maintenance release that addresses the following display issues... Fixed . Legend labels are no longer truncated . A named new window no longer ends in a spurious space . Multiple negative leading zeroes (e.g. -0001.5) are now correctly evaluated Improved . Rotated text now prints at hi-res . Non-contiguous marker points are now supported Download the current release here for a free 30-day trial or use your existing key to update: http://www.flexiblelearning.com/chartmaker/versioning/whatsnew.htm or from http://livecode.com/store/marketplace/chartmaker/ Note that as a professional product, ChartMaker requires LiveCode Commercial. However, specific circumstances will be considered for developers who require maintainence access for their clients. Hugh Senior FLCo From richmondmathewson at gmail.com Sun Jun 30 11:40:14 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 30 Jun 2013 18:40:14 +0300 Subject: Icons in the Project Browser Message-ID: <51D0515E.80305@gmail.com> Yes . . . that's right . . . they are grey and hard to tell apart, which is rather a shame as the Project Browser is a super idea. Richmond. From dmilne at ihug.co.nz Sun Jun 30 12:11:47 2013 From: dmilne at ihug.co.nz (David Milne) Date: Mon, 1 Jul 2013 01:11:47 +0900 Subject: Why does this program not work? Message-ID: Hello all, I would be very grateful if some one can explain to me why the following program does not work. It is a cut down demonstration program designed to show the fault. I made the following in the latest community version of LiveCode. I made a card with a button "button", a field "numbers" and a field "results" The card script was: global bb, aa on startbb put "A" into bb[0] put "B" into bb[1] put "C" into bb[2] end startbb Button "Button" has the script on mouseUp startbb get the field "numbers" put it into aa put bb[aa] into field "results" end mouseUp The program does not work. There were no compiling error messages. Could some one please explain what is wrong. I tried a variety of other things, but I want to keep this email short. I wanted to program some logic tables, but in LiveCode, I just fail. I just reach a blank wall. The above little snippet program demonstrates what I can not do. It is not much fun when something that one feels should be obvious, simply does not work. Any help would be much appreciated. Regards David Milne From klaus at major-k.de Sun Jun 30 12:18:33 2013 From: klaus at major-k.de (Klaus major-k) Date: Sun, 30 Jun 2013 18:18:33 +0200 Subject: Why does this program not work? In-Reply-To: References: Message-ID: <31B28B27-5B2A-423B-A095-09A16A648815@major-k.de> HI David, Am 30.06.2013 um 18:11 schrieb David Milne : > Hello all, > > I would be very grateful if some one can explain to me why the following > program does not work. It is a cut down demonstration program designed to > show the fault. > > I made the following in the latest community version of LiveCode. > > I made a card with a button "button", a field "numbers" and a field > "results" ################################ > The card script was: > > global bb, aa > > on startbb > put "A" into bb[0] > put "B" into bb[1] > put "C" into bb[2] > end startbb ################################# > Button "Button" has the script This should work ;-) global bb, aa > on mouseUp > startbb > get the field "numbers" > put it into aa > put bb[aa] into field "results" > end mouseUp > > The program does not work. There were no compiling error messages. > > Could some one please explain what is wrong. I tried a variety of other > things, but I want to keep this email short. > > I wanted to program some logic tables, but in LiveCode, I just fail. I just > reach a blank wall. The above little snippet program demonstrates what I > can not do. It is not much fun when something that one feels should be > obvious, simply does not work. > > Any help would be much appreciated. You need to declare globals in every scrupt you are using them! > Regards > > David Milne Best Klaus -- Klaus Major http://www.major-k.de http://www.major-k.de/bass klaus at major-k.de From MikeKerner at roadrunner.com Sun Jun 30 12:48:31 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 30 Jun 2013 12:48:31 -0400 Subject: Why does this program not work? In-Reply-To: <31B28B27-5B2A-423B-A095-09A16A648815@major-k.de> References: <31B28B27-5B2A-423B-A095-09A16A648815@major-k.de> Message-ID: David, One exception to what Klaus said - you can declare global or local variables and have them be visible to all handlers within a particular script - in other words, all handlers within a particular script window, no matter how many handlers are in that script window. So if in a button's script you have global someGlobal on mouseUp .... end mouseUp on something ... end something on somethingElse ... end somethingElse the "someGlobal" variable will have scope (be visible with its shared value) within all those handlers. Then if in the stack or card script or some other button you declare the same global, it will also be be scoped in those handlers, with the shared value. If you want to only have a variable available within a particular script, i.e. window, but you want all handlers in that script to have access to it, then declare it as local instead of global. Think of locals as being more like object properties - outside of that script window the value is not shared. Unlike an object property, you cannot retrieve or set the value of a local outside of the script. On Sun, Jun 30, 2013 at 12:18 PM, Klaus major-k wrote: > HI David, > Am 30.06.2013 um 18:11 schrieb David Milne : > > > Hello all, > > > > I would be very grateful if some one can explain to me why the following > > program does not work. It is a cut down demonstration program designed to > > show the fault. > > > > I made the following in the latest community version of LiveCode. > > > > I made a card with a button "button", a field "numbers" and a field > > "results" > > ################################ > > > The card script was: > > > > global bb, aa > > > > on startbb > > put "A" into bb[0] > > put "B" into bb[1] > > put "C" into bb[2] > > end startbb > > ################################# > > > Button "Button" has the script > > This should work ;-) > > global bb, aa > > > on mouseUp > > startbb > > get the field "numbers" > > put it into aa > > put bb[aa] into field "results" > > end mouseUp > > > > The program does not work. There were no compiling error messages. > > > > Could some one please explain what is wrong. I tried a variety of other > > things, but I want to keep this email short. > > > > I wanted to program some logic tables, but in LiveCode, I just fail. I > just > > reach a blank wall. The above little snippet program demonstrates what I > > can not do. It is not much fun when something that one feels should be > > obvious, simply does not work. > > > > Any help would be much appreciated. > > You need to declare globals in every scrupt you are using them! > > > Regards > > > > David Milne > > Best > > Klaus > -- > Klaus Major > http://www.major-k.de > http://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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." From dsc at swcp.com Sun Jun 30 14:45:38 2013 From: dsc at swcp.com (Dar Scott) Date: Sun, 30 Jun 2013 12:45:38 -0600 Subject: Why does this program not work? In-Reply-To: References: Message-ID: People have mentioned that you need the global command or declaration in both the button script and the card script. You can put it within each of the applicable handlers or, once outside of handers before any handlers that need it. However, there are two other potential problems that might create some confusion. 1. Keys are strings. The result of arithmetic (and sometimes binaryDecode) will have to be converted to a string using numberFormat (a handler property). If numberFormat is (say) "0.00" then using 0+1 as the key would result in "1.00" being used as the key. That is not the same as "1". In startbb in your mail you are using strings as keys. However, should you change that to a loop, a loop where the values for the keys are calculated, some or all would be numbers and numberFormat would apply before the value is used as a key. In your example, the problem can occur at the other end with no script changes; if you have an extra space in the field "numbers" or a leading zero, you will not get the same element as you would without. So, look for an extra space in field "numbers" and be careful of numberFormat in setting the array elements. 2. There is no initialization. You are not clearing the array. That is probably not a problem, but as you are tinkering you might leave extra elements in the array and be surprised when you look up something goofy from field "numbers" and actually get something. You can programmatically clear the array by setting it to empty, such as at the start of startbb. Dar On Jun 30, 2013, at 10:11 AM, David Milne wrote: > Hello all, > > I would be very grateful if some one can explain to me why the following > program does not work. It is a cut down demonstration program designed to > show the fault. > > I made the following in the latest community version of LiveCode. > > I made a card with a button "button", a field "numbers" and a field > "results" > The card script was: > > global bb, aa > > on startbb > put "A" into bb[0] > put "B" into bb[1] > put "C" into bb[2] > end startbb > > Button "Button" has the script > > on mouseUp > startbb > get the field "numbers" > put it into aa > put bb[aa] into field "results" > end mouseUp > > The program does not work. There were no compiling error messages. > > Could some one please explain what is wrong. I tried a variety of other > things, but I want to keep this email short. > > I wanted to program some logic tables, but in LiveCode, I just fail. I just > reach a blank wall. The above little snippet program demonstrates what I > can not do. It is not much fun when something that one feels should be > obvious, simply does not work. > > Any help would be much appreciated. > > Regards > > David Milne > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Hakan at exformedia.se Sun Jun 30 15:21:44 2013 From: Hakan at exformedia.se (=?utf-8?Q?H=C3=A5kan_Lilegren?=) Date: Sun, 30 Jun 2013 21:21:44 +0200 Subject: Augmented reality with LiveCode ? In-Reply-To: References: Message-ID: <9B3BAD19-9130-47AF-8B4E-E9776A558C57@exformedia.se> There is some cool technology built by the Swedish company 13th Lab called PointCloud. There is both an SDK, that might be turned in to an external, and a PointCloud browser that you control with HTML/JavaScript that should not be that hard to integrate into a LC app. http://pointcloud.io Skickat fr?n min iPhone > 29 jun 2013 kl. 15:54 skrev Sergio Schvarstein : > > Thanks Gerry. > > Does anyone have a recommendation for an AR development tool for iOS ? > I am Livecoder but not Xcoder. > > By now I'm looking Metaio, but it needs Xcoding for customization. > > Thanks again. > > ______________________________ > Sergio Schvarstein > > > ______________________________ > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Sun Jun 30 16:05:34 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 30 Jun 2013 13:05:34 -0700 Subject: Fwd: [FYI] Using Graphic Commands on Server In-Reply-To: References: <51CFC4D7.6080704@fourthworld.com> Message-ID: I am sad to report that it does not seem possible to use templates to do group snapshots yet. This would require the ability to manipulate graphic objects rather than their templates. here is my code for scaling (there may some pointless garbage in the code): " & pScalePercent -- converts and saves image convertImage pFilename,pScalePercent /* importing and scaling images on server */ on convertImage pSourceName,pScalePercent importTImage pSourceName if the result is not empty then -- report if the file is not there put the result exit to top end if scaleTImage pSourceName,pScalePercent exportTImage end convertImage on importTImage pFileName if there is a file pFileName then set the filename of the templateImage to "" wait .1 second with messages set the filename of the templateImage to pFileName put the rect of the templateImage into tRect set the cOriginalRect of the templateImage to tRect set the cOriginalWidth of the templateImage to the width of the templateImage set the cOriginalHeight of the templateImage to the height of the templateImage set the topLeft of the templateImage to "38,132" else return "file not found" end if end importTImage on scaleTImage pIname,pScalePCT put the cOriginalWidth of the templateImage into a put the cOriginalHeight of the templateImage into b put round((a*pScalePCT)/100) into a put round((b*pScalePCT)/100) into b set the width of the templateImage to a set the height of the templateImage to b set the topLeft of the templateImage to "38,132" end scaleTImage on exportTImage put randomname("image_",".png") into x export the templateImage to file x as PNG end exportTImage function randomName preamble,postamble -- put randomname("image_",".png") put randombytes(2) into a repeat for each char cCH in a put charToNum(cCH) into x put baseconvert(x,10,16) after tOut end repeat return preamble & tOut & postamble end randomName ?> On Sat, Jun 29, 2013 at 10:44 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > got it. An overlay of sorts. Very useful. Good idea.. > > I would need to use templateField and position it. > > I'll give it a try... > > sqb > > > On Sat, Jun 29, 2013 at 10:40 PM, Richard Gaskin < > ambassador at fourthworld.com> wrote: > >> stephen barncard wrote: >> >> > On Sat, Jun 29, 2013 at 10:21 PM, Richard Gaskin wrote: >> >> Do we have the ability to export objects other than images in >> >> that build? >> >> >> >> Once we can export groups we have custom greeting cards and a >> >> whole lot more... >> >> >> > Richard, >> > >> > Help me out here - scratching my head... >> > what grouped objects would be useful on server? >> >> Suppose for example you want to make customized greeting cards. So you >> have a selection of pictures, and let the user enter text, which will be >> embedded in the image. >> >> If you had to calculate the pixel positions for every letter and insert >> them by monkeying with the imageData, it would be tedious, error-prone, and >> probably look horrible. >> >> Much simpler would be to have a script that takes the input from the >> user, sets the text of a field, and exports a snapshot of a group which >> contains the field and the original picture, generating a composite JPEG >> which can be sent back to the browser or emailed. >> >> There are all sorts of things we can do by combining vector objects to >> create raster ouput - provided, of course, that the latest LC server now >> has its image rendering sufficiently factored from the UI routines that >> it's at long last possible. >> >> >> -- >> Richard Gaskin >> Fourth World Systems >> Software Design and Development for Desktop, Mobile, and Web >> ______________________________**______________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.com >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > -- Stephen Barncard San Francisco Ca. USA more about sqb From ambassador at fourthworld.com Sun Jun 30 16:26:35 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 30 Jun 2013 13:26:35 -0700 Subject: Fwd: [FYI] Using Graphic Commands on Server In-Reply-To: References: Message-ID: <51D0947B.2070001@fourthworld.com> stephen barncard wrote: > I am sad to report that it does not seem possible to use templates to do > group snapshots yet. I wouldn't have imagined that template objects could be exported from - does that work on the desktop? I was going to experiment with this myself to see if I can export group objects, but I can't turn up the link to the latest LC Server. How did I miss that? I'm sure it's on livecode.com somewhere, no? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From ambassador at fourthworld.com Sun Jun 30 16:28:58 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 30 Jun 2013 13:28:58 -0700 Subject: Determining LC Server memory usage? Message-ID: <51D0950A.2080502@fourthworld.com> Phil's recent thread on LC Server memory usage got me thinking: how can we measure the RAM used by LC Server while it's running? CGI processes generally end too quickly to show up in top. Any other solutions? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From bonnmike at gmail.com Sun Jun 30 16:37:29 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 30 Jun 2013 14:37:29 -0600 Subject: Fwd: [FYI] Using Graphic Commands on Server In-Reply-To: <51D0947B.2070001@fourthworld.com> References: <51D0947B.2070001@fourthworld.com> Message-ID: This is the root, you can locate stuff from there in the tree. http://downloads.livecode.com/livecode/ On Sun, Jun 30, 2013 at 2:26 PM, Richard Gaskin wrote: > stephen barncard wrote: > >> I am sad to report that it does not seem possible to use templates to do >> group snapshots yet. >> > > I wouldn't have imagined that template objects could be exported from - > does that work on the desktop? > > I was going to experiment with this myself to see if I can export group > objects, but I can't turn up the link to the latest LC Server. How did I > miss that? I'm sure it's on livecode.com somewhere, no? > > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/**FourthWorldSys > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From stephenREVOLUTION2 at barncard.com Sun Jun 30 16:39:07 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 30 Jun 2013 13:39:07 -0700 Subject: Fwd: [FYI] Using Graphic Commands on Server In-Reply-To: <51D0947B.2070001@fourthworld.com> References: <51D0947B.2070001@fourthworld.com> Message-ID: On Sun, Jun 30, 2013 at 1:26 PM, Richard Gaskin wrote: > I wouldn't have imagined that template objects could be exported from - > does that work on the desktop? > I don't know but it works on the server! I changed all references to "image xxx" to the templateImage in the desktop version. > > I was going to experiment with this myself to see if I can export group > objects, but I can't turn up the link to the latest LC Server. How did I > miss that? I'm sure it's on livecode.com somewhere, no? > here: http://downloads.livecode.com/livecode/server/6_1_0/ let me know if you can do it... this is what my (sloppy and failed) code looked like (in a stack for this test, originally written for image objects which failed) *on* createLabledTGraphic pFileName *set* the filename of the templateImage to pFileName *set* the topLeft of the templateImage to "38,132" *--create field "textField"* *set* the text of the templatefield to "shmengie" *set* the textsize of the templatefield to 24 *set* the width of the templatefield to 200 *set* the height of the templatefield to 100 *group* the templatefield and templateImage *set* the name of last *group* to "thegroup" *relayer* the templatefield after the templateImage *set* the loc of the templatefield to the loc of grp "theGroup" *export* snapshot from the templateGroup to file "groupThing.png" as PNG *ungroup* templateGroup *-- delete fld "textField"* *-- put the result* *end* createLabledTGraphic error reporting on the server is excellent. stack "/home/cranbus/media.barncard.com/photo/servergraphics.rev" row 124, col 1: group: object cannot be grouped row 124, col 1: Handler: error in statement (createLabledTGraphic) file "/home/cranbus/media.barncard.com/photo/test.iRev" row 25, col 1: Handler: can't find handler (createLabledTGraphic) -- Stephen Barncard San Francisco Ca. USA more about sqb From ambassador at fourthworld.com Sun Jun 30 16:50:44 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 30 Jun 2013 13:50:44 -0700 Subject: Fwd: [FYI] Using Graphic Commands on Server In-Reply-To: References: Message-ID: <51D09A24.4050305@fourthworld.com> stephen barncard wrote: > On Sun, Jun 30, 2013 at 1:26 PM, Richard Gaskin wrote: > >> I wouldn't have imagined that template objects could be exported from - >> does that work on the desktop? > > I don't know but it works on the server! I changed all references to > "image xxx" to the templateImage in the desktop version. I'm confused - it works now? >> I was going to experiment with this myself to see if I can export group >> objects, but I can't turn up the link to the latest LC Server. How did I >> miss that? I'm sure it's on livecode.com somewhere, no? > > here: > > http://downloads.livecode.com/livecode/server/6_1_0/ Thanks, but two questions: 1. Why isn't this linked to from the site - how are others supposed to be able to find it? 2. Where are the change logs so we can see what they've been doing with graphics support in this version? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From ambassador at fourthworld.com Sun Jun 30 17:10:56 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 30 Jun 2013 14:10:56 -0700 Subject: Fwd: [FYI] Using Graphic Commands on Server In-Reply-To: <51D09A24.4050305@fourthworld.com> References: <51D09A24.4050305@fourthworld.com> Message-ID: <51D09EE0.60302@fourthworld.com> FWIW, I just ran a quick test and confirmed that "export image" works well, but "export snapshot" results in an error (I ran from terminal over SSH): livecode-server exited due to fatal signal 11 in __kernel_sigreturn @ 0 in @ 0x81a99c3 in @ 0x80f6235 in @ 0x812dfd8 in @ 0x812efc9 in @ 0x804d46e in @ 0x81a105a in @ 0x8085ad4 in @ 0x808208f in @ 0x8082490 in __libc_start_main @ 230 in fwrite @ 321 ::sigh:: I didn't quite expect "export snapshot" to work just yet, but it sure would be nice. Hopefully someday.... -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From monte at sweattechnologies.com Sun Jun 30 17:11:43 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 1 Jul 2013 07:11:43 +1000 Subject: [FYI] Using Graphic Commands on Server In-Reply-To: <51D09A24.4050305@fourthworld.com> References: <51D09A24.4050305@fourthworld.com> Message-ID: On 01/07/2013, at 6:50 AM, Richard Gaskin wrote: > 2. Where are the change logs so we can see what they've been doing with graphics support in this version? The new graphics stuff isn't merged in yet guys. I don't think you will get much luck here. -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From jacque at hyperactivesw.com Sun Jun 30 17:24:18 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 30 Jun 2013 16:24:18 -0500 Subject: Weekend challenge Message-ID: <51D0A202.9020405@hyperactivesw.com> I've got a challenge for anyone up for it. Below are the rules and some formatted example data. It's supposed to be tab-delimited but if email borks it, you can grab a zip file here: DATA FORMAT: Each tab-delimited line has four columns which describe a particular part of the whole, similar to an expanded array. The last column uses a pipe to delimit its own three items: type|op1|op2. RULES: 1. Every ID, Section, Subsection and Type must be unique across the entire list. 2. While every Type must be unique, a Type can be the same as the Subsection it's in. This is the only non-unique exception. 3. OP1 and OP2 must each be one of "DIV, MULT, PLUS, MINUS, COUNT". For each line, OP1 and OP2 must be different. 4. The first two lines of each ID have only two or three column entries respectively. Otherwise, every line must contain all four column entries. If the line has a fourth column entry, it must contain three pipe-delimited items and the last two of these must be OP1 and OP2. 5. Lines must be in order; all IDs are grouped, and within those, all Sections are grouped. Within those, all Subsections are together. TASK: Find irregular or missing entries. You don't have to fix them, just report them. There may be typos. Determine whether a line is out of order (the same ID/Section/Subsection exists elsewhere in a legitimate location) or contains a typo (there is no other instance.) Bonus points if you can identify and report the reason the line is irregular; i.e., wrong order, typo, missing entry, etc. ================================ ID SECTION SUBSECTION TYPE|OP1|OP2 AB MediumOrchid AB MediumOrchid OrangeRed2 AB MediumOrchid Khaki2 DeepPink1|DIV|MULT AB MediumOrchid Gray100 Gray100|MULT|DIV AB MediumOrchid Gray100 Gray100|MULT|DIV AB MediumOrchid Gray100 PeachPuff|MINUS|MULT AB Gray40 Gray39 AntiqueWhite4|MULT|MINUS AB Gray40 Gray39 Ivory3|MULT|MINUS AB Gray40 Gray39 PowderBlue|MINUS|DIV AB Gray40 Chocolate4 DarkKhaki|PLUS|MINUS AB Gray40 Chocolate4 RoyalBlue4|MINUS|PLUS AB Gray40 Chocolate4 LightCyan3|MINUS|PLUS AB DarkGoldenrod2 AntiqueWhite3 Gray67|MINUS|DIV AB DarkGoldenrod2 AntiqueWhite3 DarkOrchid2|MULT|DIV AB DarkGoldenrod2 DeepPink3 Gray81|PLUS|MINUS AB DarkGoldenrod2 DeepPink3 Ivory4|MULT|DIV AB DarkGoldenrod2 DeepPink3 Tomato4|MINUS|PLUS AB Gray16 SpringGreen Gray71|DIV|MULT AB Gray16 Magenta2 MistyRose|PLUS|DIV AB Gray16 Magenta2 Magenta2|DIV|MINUS AB Gray16 Gray28 SlateGray4|MINUS|DIV AB Gray16 Gray28 HotPink2|COUNT|MULT AB Gray16 Gray28 NavajoWhite2|COUNT|PLUS AB Gray16 Gray28 CadetBlue3|MINUS|MULT AB Gray40 Chocolate4 Chocolate4|MINUS|MULT AB Gray16 DarkTurquoise LightSteelBlue1|COUNT|MULT AB Gray16 DarkTurquoise PaleTurquoise2|DIV|MINUS AB Gray16 DarkTurquoise Gray98|MINUS|MULT CD OliveDrab1 CD OliveDrab1 Gray47 CD OliveDrab1 Gray47 Ivory2|PLUS|DIV CD OliveDrab1 Azure2 Gray23|MULT|PLUS CD OliveDrab1 Azure2 LightBlue4|MINUS|PLUS CD OliveDrab1 Azure2 DarkGoldenrod4|DIV|PLUS CD Firebrick4 Gray49 Snow1|MULT|MINUS CE Firebrick4 Gray49 Gold3|COUNT|MULT CD Firebrick4 Gray49 Plum1|DIV|MULT CD Firebrick4 LightCyan2 DarkOliveGreen3|MULT|PLUS CD Firebrick4 LightCyan2 Gray54|PLUS|MINUS CD Firebrick4 LightCyan2 Maroon4|PLUS|DIV CD Firebrick4 LavenderBlush4 LavenderBlush4|COUNT|PLUS CD Firebrick4 LavenderBlush4 Gray41|COUNT|PLUS CD Firebrick4 LavenderBlush4 LightYellow2|MINUS|MULT CD Firebrick4 CornSilk4 CornSilk4|PLUS|MINUS CD Firebrick4 CornSilk4 DarkSeaGreen3|PLUS|MULT CD MediumOrchid1 RoyalBlue2 Gray61|PLUS|MULT CD MediumOrchid1 RoyalBlue2 Gray63|MINUS|PLUS CD MediumOrchid1 Aquamarine2 HotPink1|COUNT|DIV CD MediumOrchid1 Aquamarine2 Plum3|COUNT|PLUS CD MediumOrchid1 Gray77 MediumOrchid3|MINUS|DIV CD MediumOrchid1 Gray77 Gray88|COUNT|DIV CD MediumOrchid1 Gray77 MediumSpringGreen|MINUS|MULT CD MediumOrchid1 Gray77 DarkOliveGreen1|PLUS|DIV CD Gray87 DarkSlateGray4 LightPink2|DIV|MULT CD Gray87 DarkSlateGray4 Sienna3|DIV|MINUS CD Gray87 DarkSlateGray4 Wheat3|MINUS CD Gray87 LightYellow1 Black|MULT|PLUS CD Gray87 LightYellow1 Gray85|COUNT|DIV CD Gray87 LightYellow1 AntiqueWhite2|DIV|PLUS CD Gray87 LightYellow1 OrangeRed1|MULT|DIV CD Gray87 Honeydew4 Honeydew3|MINUS|PLUS CD Gray87 Honeydew4 Gray32|MULT|PLUS CD Gray87 Honeydew4 Khaki1|DIV|MULT CD Gray87 Honeydew4 Azure4|COUNT|DIV CD LightGoldenrod2 Orange2 Orange2|COUNT|PLUS CD LightGoldenrod2 Orange2 Gray29|PLUS|PLUS CD LightGoldenrod2 Orange2 Yellow3|DIV|PLUS CD LightGoldenrod2 LightSalmon2 AntiqueWhite1|MINUS|PLUS CD LightGoldenrod2 LightSalmon2 Coral3|MINUS|MULT CD LightGoldenrod2 LightSalmon2 LightSeaGreen|MINUS|MULT CD LightGoldenrod2 LightSalmon2 Aquamarine3|MINUS|DIV CD LightGoldenrod2 LightSkyBlue4 Wheat4|MULT|PLUS CD LightGoldenrod2 LightSkyBlue4 Gray12|MINUS|MULT CD LightGoldenrod2 LightSkyBlue4 LightYellow3|DIV|PLUS CD LightGoldenrod2 Gray57 Gray57|DIV|MULT CD LightGoldenrod2 Gray57 LightBlue3|DIV|PLUS CD LightGoldenrod2 Gray57 Gray84|DIV|MINUS CD LightGoldenrod2 Gray57 Bisque2|DIV|MINUS CD LightGoldenrod2 Sienna1 CadetBlue1|COUNT|DIV CD LightGoldenrod2 Sienna1 Coral4|MINUS|PLUS CD LightGoldenrod2 Sienna1 Gold4|COUNT|DIV EF Chocolate1 LavenderBlush2 Gray52|COUNT|MINUS EF Chocolate1 LavenderBlush2 Gray74|PLUS|MULT EF Chocolate1 LightBlue1 PapayaWhip|MULT|DIV EF Chocolate1 Gray76 MediumGoldenrod|DIV|PLUS EF Gray25 SpringGreen2 OliveDrab3|COUNT|MULT EF Gray25 SpringGreen2 MediumPurple2|MINUS|PLUS EF Gray25 SpringGreen2 Khaki3|COUNT|MINUS EF Gray25 SpringGreen4 Gray17|MINUS|PLUS EF Gray25 SpringGreen4 Firebrick1|DIV|PLUS EF Gray25 LightGoldenrod1 LemonChiffon3|COUNT|PLUS EF Gray25 LightGoldenrod1 SkyBlue3|MINUS|PLUS EF Gray25 LightGoldenrod1 DarkSeaGreen2|COUNT|PLUS EF Gray25 LightGoldenrod1 Gray0|COUNT|DIV EF Gray25 Gray14 Gray83|MINUS|DIV EF Gray25 Gray14 Tan2|COUNT|DIV EF Gray25 Gray14 Gray60|PLUS|MULT EF LightPink4 PaleVioletRed4 MistyRose2|COUNT|PLUS EF LightPink4 PaleVioletRed4 DarkGoldenrod1|PLUS|DIV EF LightPink4 PaleVioletRed4 Gray56|DIV|MINUS EF LightPink4 PaleVioletRed4 SlateBlue4|MULT|MINUS EF LightPink4 DeepSkyBlue3 LightCyan4|MULT|DIV EF LightPink4 Gold2 Gold2|COUNT|DIV EF LightPink4 Gold2 DeepPink2|MULT|PLUS EF LightPink4 Gold2 LightSkyBlue3|DIV|MINUS EF LightPink4 Gold2 SandyBrown|DIV|MINUS EF LightPink4 RosyBrown2 Tan1|MINUS|PLUS EF LightPink4 RosyBrown2 Gray66|DIV|MINUS EF LightPink4 RosyBrown2 LavenderBlush3|PLUS|DIV EF LightPink4 RosyBrown2 SlateBlue1|DIV|PLUS EF LightPink4 Tomato2 PaleGreen2|PLUS|DIV EF LightPink4 Tomato2 Chocolate2|DIV|PLUS EF LightPink4 Tomato2 DarkSlateGray2|DIV|MINUS EF LightPink4 Tomato2 DarkOrange1|MINUS|PLUS EF SpringGreen1 Gray82 Gray11|PLUS|MULT EF SpringGreen1 Gray82 Azure3|MINUS|MINUS EF SpringGreen1 Gray82 PaleVioletRed1|COUNT|PLUS EF SpringGreen1 LightBlue2 Aquamarine1|MINUS|DIV EF SpringGreen1 LightBlue2 PaleGreen1|COUNT|PLUS EF SpringGreen1 LightBlue2 Gray72|MINUS|DIV EF SpringGreen1 LightBlue2 Gray51|MULT|DIV EF SpringGreen1 Seashell1 Gray21|MULT|MINUS EF SpringGreen1 Seashell1 Gray97|MULT|DIV EF SpringGreen1 Seashell1 Maroon1|MINUS|MULT EF DarkGray DodgerBlue1 Gray31|MINUS|PLUS EF DarkGray DodgerBlue1 Gray30|MINUS|PLUS EF DarkGray DodgerBlue1 Firebrick3|MULT|PLUS EF DarkGray DodgerBlue1 SeaGreen1|COUNT|MINUS EF DarkGray Gray69 Gray69|PLUS|MINUS EF DarkGray Gray69 Burlywood2|PLUS|DIV EF DarkGray Gray69 IndianRed1|COUNT|DIV EF DarkGray Gray69 Gray69|MULT|PLUS EF DarkGray LightSkyBlue2 LightGoldenrod3|MINUS|MULT EF DarkGray LightSkyBlue2 LightSteelBlue2|DIV|PLUS EF DarkGray LightSkyBlue2 Gray33|COUNT|MULT EF DarkGray LightSkyBlue2 SlateGray3|PLUS|MULT GH Purple4 GH Purple4 CornSilk3 GH Purple4 CornSilk3 DarkSeaGreen1|MINUS|DIV GH Purple4 Gray39 MediumPurple4|MINUS|PLUS GH Purple4 Gray39 LightGray|MINUS|PLUS GH Purple4 Gray39 Gray50|COUNT|DIV GH Purple4 Tan4 Tan4|DIV|MULT GH Purple4 Tan4 Bisque3|DIV|MINUS GH Purple4 Tan4 Peru|PLUS|MINUS GH Purple4 Tan4 PeachPuff4|PLUS|DIV GH Purple4 Gray15 MistyRose4|MULT|DIV GH Purple4 Gray15 PaleGoldenrod|DIV|PLUS GH Purple4 Gray46 Gray37|PLUS|DIV GH Gray70 RosyBrown3 Honeydew1|PLUS|DIV GH Gray70 RosyBrown3 PaleGreen3|DIV|PLUS GH Gray70 RosyBrown3 PaleTurquoise4|PLUS|MINUS GH Gray70 Burlywood3 LightPink1|MINUS|DIV GH Gray70 Burlywood3 Gray91|MULT|DIV CD Gray70 Burlywood3 Gray20|DIV|PLUS GH Gray26 Tomato3 Gray45|COUNT|MULT GH Gray26 Tomato3 Transparent|COUNT|MULT GH Gray26 Tomato3 LightCoral|MULT|MINUS GH Gray26 LightSlateGray Gray95|MINUS|MULT GH Gray26 LightSlateGray Snow2|MULT|MINUS GH Gray26 LightSlateGray DarkMagenta|COUNT|MINUS GH Gray26 LightSlateGray Seashell2|COUNT|PLUS GH Gray16 Burlywood1 Gray94|MULT|MINUS GH Gray26 Burlywood1 Gray55|MULT|MINUS GH Gray26 Burlywood1 Gray80|DIV|PLUS GH Gray26 Burlywood1 Chartreuse3|MULT|MINUS GH Gray89 Gray89 Gainsboro|MULT|PLUS GH Gray89 Gray89 Gray78|MULT|PLUS GH Gray89 Gray89 Moccasin|PLUS|DIV GH Gray89 Gray89 Gray99|PLUS|MINUS GH Gray89 DarkSlateGray3 Aquamarine4|DIV|MULT GH Gray89 LightGreen Gray65|MULT|MINUS GH RosyBrown4 DarkCyan PaleGreen4|COUNT|DIV GH RosyBrown4 DarkCyan HotPink3|PLUS|DIV GH RosyBrown4 Ivory1 Ivory1|MULT|DIV GH RosyBrown4 Ivory1 Snow1|DIV|MULT GH RosyBrown4 Ivory1 DarkSalmon|COUNT|MULT -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bvg at mac.com Sun Jun 30 18:16:59 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Mon, 01 Jul 2013 00:16:59 +0200 Subject: preparing a stack for printing In-Reply-To: <51B62E4B.9050800@hyperactivesw.com> References: <51B62E4B.9050800@hyperactivesw.com> Message-ID: oops, i forgot that I asked this question :( (un)luckily I still have this nagging feeling i'm doing things wrong :) the printable area is not the printRectangle, and when I test that by making a rectangle the size of the card while the card is the size of the printRectangle, i get a large right- as well as somewhat down-shifted printouts. i'm still interested in a more precise/different way to find out the actual width and height of what I can print into (assuming flexibility with allowing any settings to change). This is my current approach: put item 3 of the printRectangle - item 1 of the PrintRectangle - item 1 of the printMargins - item 3 of the printMargins into myEffectivePrintWidth put item 4 of the printRectangle - item 2 of the PrintRectangle - item 2 of the printMargins - item 4 of the printMargins into myEffectivePrintHeight I somewhat suspect the printgutter to maybe shift this around.. haven't tested that tho. On 10.06.2013, at 21:51, J. Landman Gay wrote: > On 6/10/13 10:24 AM, Bj?rnke von Gierke wrote: >> Hi >> >> I'm trying to print a kind of report, and am weirded out by all the >> different rectangles and widths that are available (printRectangle, >> printPaperRectangle, printPaperSize, printMargins, etc.) >> >> All I want is the printable area, so I can set the width and height >> of my stack to that amount, then print the first card. >> >> It seems that the below lines produce an approximation amount, but >> it's not completely correct. The approach also so weirdly backwards >> and roundabout! I guess my question is, isn't there any way to get >> the same or a better result more easily? >> >> put item 3 of the printRectangle - item 1 of the PrintRectangle - >> item 1 of the printMargins - item 3 of the printMargins into >> myEffectivePrintWidth >> >> put item 4 of the printRectangle - item 2 of the PrintRectangle - >> item 2 of the printMargins - item 4 of the printMargins into >> myEffectivePrintHeight > > All printers include areas of the paper that they can't print on. Usually that's about a quarter inch on the sides and a half inch at the bottom and sometimes the top, but each printer is different. The printRectangle gives you the actual area that the printer is capable of printing to. > > The printMargins add extra space to that area, so you don't want any printMargins. Set all the printMargins to zero. > > Method One: > > If the card objects are not exactly at the edges of the card, then the card's blank space will also be added to the printout. If you want objects to appear exactly within the printer's available area, place card objects at the very edges and top of the card. Usually that means you need to make a separate stack just for printing because in the real stack it looks bad. > > After all that is done, you can just print directly using the printRectangle to determine the size the card should be: > > set the rect of this stack to the printRectangle > > Set the printing stack's visibility to false so that the user can't see it move to the top left of the screen. You'll probably want to rearrange the objects at the edges of the newly sized card before printing. > > Method Two: > > Alternately you can print the card "into rect" and use the printRectangle as the target rect. This won't require a separate printing card. That is easier but this method will resize the card objects, which may or may not be what you want: > > print this cd from the topLeft of firstObject to the bottomRight of lastObject into rect the printRectangle > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From stephenREVOLUTION2 at barncard.com Sun Jun 30 18:37:03 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 30 Jun 2013 15:37:03 -0700 Subject: [FYI] Using Graphic Commands on Server In-Reply-To: References: <51D09A24.4050305@fourthworld.com> Message-ID: I am happy that I can at least create thumbnails on the server for now. That was the origin of my quest. On Sun, Jun 30, 2013 at 2:11 PM, Monte Goulding wrote: > > On 01/07/2013, at 6:50 AM, Richard Gaskin > wrote: > > > 2. Where are the change logs so we can see what they've been doing with > graphics support in this version? > > The new graphics stuff isn't merged in yet guys. I don't think you will > get much luck here. > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From MikeKerner at roadrunner.com Sun Jun 30 20:01:33 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 30 Jun 2013 20:01:33 -0400 Subject: Pilots required In-Reply-To: References: <51CF10B9.8030602@splash21.com> Message-ID: You know, this is pretty fun, guys, but we need to set up some load testing. Right now it's just John and I playing. With just the two of us the response time is good, but I don't know how it will be with 4-8 players. On Sat, Jun 29, 2013 at 2:31 PM, Mike Kerner wrote: > You guys should watch the video - looks like the beginnings of a fun game. > > > On Sat, Jun 29, 2013 at 12:52 PM, John Craig wrote: > >> I've been doing some multi player game testing with LiveCode - if anyone >> is interested in a test game sometime to report on how well the client >> stack runs and the server app runs with more players connected, then drop >> me a line off list. >> >> Here's a video of a dog fight between myself and Dixie; >> http://youtu.be/qacVlr3lpj0 >> >> Thanks, >> >> J >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at 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." > -- 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." From mikekann at yahoo.com Sun Jun 30 20:04:50 2013 From: mikekann at yahoo.com (Michael Kann) Date: Sun, 30 Jun 2013 17:04:50 -0700 (PDT) Subject: Weekend challenge In-Reply-To: <51D0A202.9020405@hyperactivesw.com> Message-ID: <1372637090.80204.YahooMailBasic@web120505.mail.ne1.yahoo.com> J, I tried to reply but the moderator says too many characters. Anyway, here's my question: According to rule 5 everything is grouped. Does that mean everything is also alphabetized. Mike From jacque at hyperactivesw.com Sun Jun 30 20:27:48 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 30 Jun 2013 19:27:48 -0500 Subject: Weekend challenge In-Reply-To: <1372637090.80204.YahooMailBasic@web120505.mail.ne1.yahoo.com> References: <1372637090.80204.YahooMailBasic@web120505.mail.ne1.yahoo.com> Message-ID: <51D0CD04.20205@hyperactivesw.com> On 6/30/13 7:04 PM, Michael Kann wrote: > J, > > I tried to reply but the moderator says too many characters. Anyway, > here's my question: According to rule 5 everything is grouped. Does > that mean everything is also alphabetized. Nope, nothing is alphabetized, not even the ID blocks (my fake data set just happens to be, sorry.) Lines are in a fixed pattern so can't be rearranged, the original order must be maintained. In fact, one main reason for the verification test is to determine if there are out of order entries. I.e., ensure that line 5 hasn't been inadvertently moved under line 148. Or that line 3 hasn't been swapped with line 4, which puts the sections out of order. Same for subsections, they must follow each other in the order listed. So you're looking for sequencing anomalies, typos and duplicates. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gcanyon at gmail.com Sun Jun 30 21:33:08 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Sun, 30 Jun 2013 20:33:08 -0500 Subject: Weekend challenge In-Reply-To: <51D0CD04.20205@hyperactivesw.com> References: <1372637090.80204.YahooMailBasic@web120505.mail.ne1.yahoo.com> <51D0CD04.20205@hyperactivesw.com> Message-ID: This is just one piece, but here's a function that takes a list much like yours and a list of columns, and returns the instances where a column repeats itself out of order. So this (note the true being passed to ignore empty values): replace tab with comma in yourData put isSequential(yourData,"1,2,3",true) will return something like: 25,2,3 26,2 37,1 140,3 155,1 156,1 163,2 Which means that in line 25, items 2 and 3 were out-of-sequence repeats, etc. function isSequential theList,columnsToCheck,ignoreEmpties put 0 into lineNumber repeat for each line L in theList add 1 to lineNumber put lineNumber into lineErrorReport repeat for each item i in columnsToCheck put item i of L into thisItem if ignoreEmpties and thisItem is empty then next repeat if thisItem is lastItem[i] then next repeat put thisItem into lastItem[i] if itemsSeen[i][thisItem] is not empty then put comma & i after lineErrorReport put 1 into itemsSeen[i][thisItem] end repeat if lineErrorReport is not lineNumber then put lineErrorReport & cr after R end repeat return R end isSequential From gcanyon at gmail.com Sun Jun 30 21:42:38 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Sun, 30 Jun 2013 20:42:38 -0500 Subject: Weekend challenge In-Reply-To: <51D0A202.9020405@hyperactivesw.com> References: <51D0A202.9020405@hyperactivesw.com> Message-ID: In the email, item 2 is: 2. While every Type must be unique, a Type can be the same as the Subsection it's in. This is the only non-unique exception. In the file it says, 2. While every Type must be unique, a Type can be the same as a Subsection within the same Section. This is the only non-unique exception. which of those is correct? (hoping it's the first) From brahma at hindu.org Sun Jun 30 21:43:57 2013 From: brahma at hindu.org (Brahmanathswami) Date: Sun, 30 Jun 2013 15:43:57 -1000 Subject: Augmented reality with LiveCode ? In-Reply-To: <3F146744-998A-44BC-9C32-91CEE4C30F95@gmail.com> References: <3F146744-998A-44BC-9C32-91CEE4C30F95@gmail.com> Message-ID: <51D0DEDD.10501@hindu.org> I think Augmented Reality may have a variety of implementations. So it probably depends on what you want to do. FWIW: Our printer for Hinduism Today magazine, Quad Graphics, has just done a major sales pitch (to me) to buy their augmented reality "product" which is based on a mobile app called "Actable billed as "A Universal discovery App -- unlock rewards, coupons, quick buy opportunities with Actable. Actable is a valuable tool for QR Scanning." (available free on the iTunes store) they have some big magazines using this now... though I can't get any metrics from them on success rate... The way it works is: you print some "trigger" image on a page of your magazine.. users pass mobile device over it with Actable running and then you get some video or other media playing on top of what you see. If the editorial article has related videos.. these started playing. If advertisement for something, then you have a video demonstrating the product... etc. and of course hooks to points of sale... (launch browser to go buy it.) Typically these sales pitches are way out of our league, they will want the publisher to pay a fortune to license content on their servers etc. usually not a model I'm interested in... kind of "software as a service" model... These apps are just a "hook" to get you to then pay big time for hosting content and bandwidth on their CDN. Since we have our own server, I don't need to pay more for that "half" of the application... I just need something that I could install on my own machine, we have plenty of space and bandwidth. I immediately thought that some smart LiveCode Developer could probably get into this market.. and undercut the big corporations with something that e.g. we could use that would trigger content that we would host on our own servers. So what I'm saying is I think there would be a market to a) build such an app b) build the LiveCode Server site API needed for delivery then sell that package to the publisher. I think this has some advantages for the developer because he does not need to develop a business plan to handle the hosting of all the content. If he needs disk space in the cloud, that is his problem, not yours... But (I'm asking Quad about this) it needs to really be fully digital... ideally, you could trigger the augmented reality from a PDF, or ePub being viewed, say, on a tablet... then you would really have something... Of course these are not much more than clickable links in a PDF or ePub... that's nothing new... (we do that now) but if it were seamless with a scannable printed image trigger in the physical magazine... all working in the same framework... then you would have something! Brahmanathaswami www.HimalayanAcademy.com Sergio Schvarstein wrote: > Hi, > > Is there any way or tool for creating an Augmented Reality app for iOS using LiveCode ? > > Thanks:-) From revdev at pdslabs.net Sun Jun 30 22:16:32 2013 From: revdev at pdslabs.net (Phil Davis) Date: Sun, 30 Jun 2013 19:16:32 -0700 Subject: Determining LC Server memory usage? In-Reply-To: <51D0950A.2080502@fourthworld.com> References: <51D0950A.2080502@fourthworld.com> Message-ID: <51D0E680.9010100@pdslabs.net> Interesting question, Richard. Here is something I just tried in a quick CGI script. Don't know it gives the memory info we need, but here goes: put "

" & word 2 of shell("ps -p" && the processID && "-o rss") & "k

" Maybe there's a way to tweak it for better results. Phil On 6/30/13 1:28 PM, Richard Gaskin wrote: > Phil's recent thread on LC Server memory usage got me thinking: how > can we measure the RAM used by LC Server while it's running? > > CGI processes generally end too quickly to show up in top. Any other > solutions? > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From dochawk at gmail.com Sun Jun 30 22:42:21 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 30 Jun 2013 19:42:21 -0700 Subject: BETA RELEASE: LiveCode 6.1.0 Release Candidate 2 In-Reply-To: <90306F0F-86D7-4220-BE66-643FB7F8A5C5@sweattechnologies.com> References: <57865428-8620-4F5B-850A-3B55C0CE2CE4@all-auctions.com> <51CC8C68.50206@gmail.com> <08AB4408-1E64-4DC0-928B-4647EAF443A4@all-auctions.com> <51CCB6E9.8040208@hyperactivesw.com> <0324C30A-B794-4221-AB1F-F3A3C5BFA4DA@revigniter.com> <90306F0F-86D7-4220-BE66-643FB7F8A5C5@sweattechnologies.com> Message-ID: On Sat, Jun 29, 2013 at 4:20 PM, Monte Goulding wrote: > > http://www.php.net/license/3_01.txt > > Not sure what the license is for (whatever) but PHP is FOSS... I have no problem with FOSS. In fact, I wrote the seminal economics paper on it . . . The licensing of the community edition, though, "infects" software shipped with it. The existence of an open source branch of my software would be catastrophic for me. And, frankly, GPL3 is scary. I'd like to recode my market software in livecode, which I'd release open source, but I can't do that on the community edition. I'll release it BSD, even public domain, but I won't risk releasing *anything* GPL3 (I think it was a serious error to use GPL3 instead of 2 for livecode). If I don't touch the community edition, there can be no claim to GPL3 from the High Church of Emacs on any of my work. > BTW I didn't say they weren't going to do a commercial version of the server... just >that it might reasonably be seen as a low priority. LiveCode hasn't got a massive user >base... the percentage of users using server is small... Dual licensing can make a lot of sense in certain circumstances (and it appears that LiveCode, like OpenOffice, is one of those). This works because contributions to the community version aren't accepted without being submitted to the commercial branch. However, you absolutely cannot make the *paid* version second-class, lagging behind the other. >the percentage that really >need commercial server would be only a handful. The percentage of those that can't > continue to use the last available commercial version given there's really no >features added? are there any? For those doing an application and a web version, this absolutely locks them into an archaic branch, not allowing the use of any newer features . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From ambassador at fourthworld.com Sun Jun 30 23:06:05 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 30 Jun 2013 20:06:05 -0700 Subject: BETA RELEASE: LiveCode 6.1.0 Release Candidate 2 In-Reply-To: References: Message-ID: <51D0F21D.8030803@fourthworld.com> Consider MySQL - even licensed under GPL, a great many proprietary systems rely on it every day. The difference is that they don't bundle MySQL with their software, which would require negotiating a commercial MySQL distribution license. See the GPL clause on dynamic linking.... -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From monte at sweattechnologies.com Sun Jun 30 23:17:55 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 1 Jul 2013 13:17:55 +1000 Subject: BETA RELEASE: LiveCode 6.1.0 Release Candidate 2 In-Reply-To: References: <57865428-8620-4F5B-850A-3B55C0CE2CE4@all-auctions.com> <51CC8C68.50206@gmail.com> <08AB4408-1E64-4DC0-928B-4647EAF443A4@all-auctions.com> <51CCB6E9.8040208@hyperactivesw.com> <0324C30A-B794-4221-AB1F-F3A3C5BFA4DA@revigniter.com> <90306F0F-86D7-4220-BE66-643FB7F8A5C5@sweattechnologies.com> Message-ID: On 01/07/2013, at 12:42 PM, Dr. Hawkins wrote: > I have no problem with FOSS. In fact, I wrote the seminal economics > paper on it . . . > > The licensing of the community edition, though, "infects" software > shipped with it. The existence of an open source branch of my > software would be catastrophic for me. > > And, frankly, GPL3 is scary. I'd like to recode my market software in > livecode, which I'd release open source, but I can't do that on the > community edition. I'll release it BSD, even public domain, but I > won't risk releasing *anything* GPL3 (I think it was a serious error > to use GPL3 instead of 2 for livecode). > > If I don't touch the community edition, there can be no claim to GPL3 > from the High Church of Emacs on any of my work. > We are talking server here so the virility of the license only comes into play when you distribute the server with your code. Given there's no standalone build process for LC server it's probably simpler not to distribute the server yourself anyway in which case you are only distributing text files which you can license whichever way you want. There's only two reasons anyone would want the commercial version of LC Server: - 1 using password protection on stacks to either keep your code closed when distributing or to use some third party plugin - 2 distributing your code and LC Server in a bundle for third parties to install As I said above #2 can be worked around by just not bundling it but providing instructions for download and installation from RunRev servers instead. #1 is a potential issue for some but seeing as you were contemplating PHP which has no such code protection mechanism it's easy to assume that's not your problem. > > >> BTW I didn't say they weren't going to do a commercial version of the server... just >> that it might reasonably be seen as a low priority. LiveCode hasn't got a massive user >> base... the percentage of users using server is small... > > Dual licensing can make a lot of sense in certain circumstances (and > it appears that LiveCode, like OpenOffice, is one of those). This > works because contributions to the community version aren't accepted > without being submitted to the commercial branch. > > However, you absolutely cannot make the *paid* version second-class, > lagging behind the other. It's not lagging... the only *feature* of LC community server is its license... otherwise you may as well use 5.whatever the last build was. > >> the percentage that really >> need commercial server would be only a handful. The percentage of those that can't >> continue to use the last available commercial version given there's really no >> features added? are there any? > > For those doing an application and a web version, this absolutely > locks them into an archaic branch, not allowing the use of any newer > features . . . There aren't any newer features yet on server. When there are it will be worthwhile jumping up and down about it but for now I'm happy to give RunRev the chance to sort it out in their own time. -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From jacque at hyperactivesw.com Sun Jun 30 23:27:49 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 30 Jun 2013 22:27:49 -0500 Subject: Weekend challenge In-Reply-To: References: <51D0A202.9020405@hyperactivesw.com> Message-ID: <51D0F735.1030502@hyperactivesw.com> On 6/30/13 8:42 PM, Geoff Canyon wrote: > In the email, item 2 is: > > 2. While every Type must be unique, a Type can be the same as the > Subsection it's in. This is the only non-unique exception. > > In the file it says, > > 2. While every Type must be unique, a Type can be the same as a Subsection > within the same Section. This is the only non-unique exception. > > which of those is correct? (hoping it's the first) Sorry, I edited them at different times. At most, one line of a subsection can have a type with the same name as its containing subsection. I'm not quite sure which one of those two statements says that. The first one, I think. In these two lines: AB MediumOrchid Gray100 Gray100|MULT|DIV AB MediumOrchid Gray100 Gray100|MULT|DIV The first line is okay. Its type matches its subsection, which is allowed. The second line is not okay because every type name must be unique. Either line could be wrong, but I'd probably flag the second one as a duplicate type name. In this line: EF Chocolate1 LavenderBlush2 Gray100|COUNT|MINUS The type would be okay if it were the only instance in the whole file. Otherwise it's a duplicate from ID "AB". Does that make sense? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Jun 30 23:37:17 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 30 Jun 2013 22:37:17 -0500 Subject: Weekend challenge In-Reply-To: References: <1372637090.80204.YahooMailBasic@web120505.mail.ne1.yahoo.com> <51D0CD04.20205@hyperactivesw.com> Message-ID: <51D0F96D.9090704@hyperactivesw.com> Cool. Note that in the sample data, the first two lines of the EF block are missing entirely, the ones that should have the empty values. Not sure how to call your function for that but I'm hoping you do. :) On 6/30/13 8:33 PM, Geoff Canyon wrote: > This is just one piece, but here's a function that takes a list much like > yours and a list of columns, and returns the instances where a column > repeats itself out of order. So this (note the true being passed to ignore > empty values): > > replace tab with comma in yourData > put isSequential(yourData,"1,2,3",true) > > will return something like: > > 25,2,3 > 26,2 > 37,1 > 140,3 > 155,1 > 156,1 > 163,2 > > Which means that in line 25, items 2 and 3 were out-of-sequence repeats, > etc. > > function isSequential theList,columnsToCheck,ignoreEmpties > put 0 into lineNumber > repeat for each line L in theList > add 1 to lineNumber > put lineNumber into lineErrorReport > repeat for each item i in columnsToCheck > put item i of L into thisItem > if ignoreEmpties and thisItem is empty then next repeat > if thisItem is lastItem[i] then next repeat > put thisItem into lastItem[i] > if itemsSeen[i][thisItem] is not empty then put comma & i after > lineErrorReport > put 1 into itemsSeen[i][thisItem] > end repeat > if lineErrorReport is not lineNumber then put lineErrorReport & cr > after R > end repeat > return R > end isSequential > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Jun 30 23:48:18 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 30 Jun 2013 22:48:18 -0500 Subject: Determining LC Server memory usage? In-Reply-To: <51D0E680.9010100@pdslabs.net> References: <51D0950A.2080502@fourthworld.com> <51D0E680.9010100@pdslabs.net> Message-ID: <51D0FC02.6000805@hyperactivesw.com> On 6/30/13 9:16 PM, Phil Davis wrote: > Interesting question, Richard. Here is something I just tried in a quick > CGI script. Don't know it gives the memory info we need, but here goes: > > put "

" & word 2 of shell("ps -p" && the processID && "-o rss") & > "k

" > > Maybe there's a way to tweak it for better results. On a related note, is there a way to determine the memory available for a LiveCode app on a desktop machine? Mac & Windows? I thought there used to be a "hasMemory" function or similar. Maybe it was an inert SC placeholder. > > Phil > > > > On 6/30/13 1:28 PM, Richard Gaskin wrote: >> Phil's recent thread on LC Server memory usage got me thinking: how >> can we measure the RAM used by LC Server while it's running? >> >> CGI processes generally end too quickly to show up in top. Any other >> solutions? >> >> -- >> Richard Gaskin >> Fourth World >> LiveCode training and consulting: http://www.fourthworld.com >> Webzine for LiveCode developers: http://www.LiveCodeJournal.com >> Follow me on Twitter: http://twitter.com/FourthWorldSys >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com