From jacque at hyperactivesw.com Sat Dec 1 01:28:12 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 01 Dec 2012 00:28:12 -0600 Subject: how my book is doing... In-Reply-To: References: Message-ID: <50B9A37C.3010903@hyperactivesw.com> On 11/30/12 3:05 PM, Colin Holgate wrote: > I received my first royalty statement. Good on you! You deserve it. Seems like the ratios are off though, you should have got more. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Dec 1 01:29:32 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 01 Dec 2012 00:29:32 -0600 Subject: how my book is doing... In-Reply-To: References: Message-ID: <50B9A3CC.3020203@hyperactivesw.com> On 11/30/12 5:41 PM, Terence Blyth wrote: > Its great to see that people are getting results from livecode. Apple > just approved my first app first time. Yahoooooooooooo. Congrats! It's so satisfying when that happens. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From coiin at verizon.net Sat Dec 1 10:34:41 2012 From: coiin at verizon.net (Colin Holgate) Date: Sat, 01 Dec 2012 10:34:41 -0500 Subject: how my book is doing... In-Reply-To: <50B9A37C.3010903@hyperactivesw.com> References: <50B9A37C.3010903@hyperactivesw.com> Message-ID: <3172B687-38BD-4F03-98A7-19A82E0DCAD2@verizon.net> When I signed up with them they had said that the 14% (or thereabouts) that they give is a favorable rate. I checked into it, and certainly a lot of places are more like 10%, so I'm willing to believe that their rate is decent. As for self publishing, there are a handful of things that I'm not finding time to do, and getting 14% of a mass distributed item is better than getting 100% of something that I would never find the time to promote! On Dec 1, 2012, at 1:28 AM, J. Landman Gay wrote: > >Good on you! You deserve it. Seems like the ratios are off though, you should have got more. From mpetrides at earthlink.net Sat Dec 1 10:50:08 2012 From: mpetrides at earthlink.net (Marian Petrides, M.D.) Date: Sat, 1 Dec 2012 09:50:08 -0600 Subject: how my book is doing... In-Reply-To: <3172B687-38BD-4F03-98A7-19A82E0DCAD2@verizon.net> References: <50B9A37C.3010903@hyperactivesw.com> <3172B687-38BD-4F03-98A7-19A82E0DCAD2@verizon.net> Message-ID: <051C5F3D-127E-4E25-BCEF-A0862AFC2C48@earthlink.net> Unfortunately, Colin is right. The going royalty rate tends to be around 10% On all the medical books I have published, the royalty was 10% divided among all authors. One extremely big project got 12% divided among 6 editors, each of us getting 2%. I think Amazon's Kindle bookstore gives authors 30% but all they do is provide a place to download from. Absolutely nothing else. And, of course, your only option as a Kindle customer is the e-Book version, eliminating sales to people who want a hardcopy. On Dec 1, 2012, at 9:34 AM, Colin Holgate wrote: > When I signed up with them they had said that the 14% (or thereabouts) that they give is a favorable rate. I checked into it, and certainly a lot of places are more like 10%, so I'm willing to believe that their rate is decent. > > As for self publishing, there are a handful of things that I'm not finding time to do, and getting 14% of a mass distributed item is better than getting 100% of something that I would never find the time to promote! > > > On Dec 1, 2012, at 1:28 AM, J. Landman Gay wrote: > >>> Good on you! You deserve it. Seems like the ratios are off though, you should have got more. > From lfredricks at proactive-intl.com Sat Dec 1 12:37:33 2012 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Sat, 1 Dec 2012 09:37:33 -0800 Subject: how my book is doing... In-Reply-To: <051C5F3D-127E-4E25-BCEF-A0862AFC2C48@earthlink.net> References: <50B9A37C.3010903@hyperactivesw.com><3172B687-38BD-4F03-98A7-19A82E0DCAD2@verizon.net> <051C5F3D-127E-4E25-BCEF-A0862AFC2C48@earthlink.net> Message-ID: > Unfortunately, Colin is right. The going royalty rate tends > to be around 10% On all the medical books I have published, > the royalty was 10% divided among all authors. One extremely > big project got 12% divided among 6 editors, each of us getting 2%. > > I think Amazon's Kindle bookstore gives authors 30% but all > they do is provide a place to download from. Absolutely > nothing else. And, of course, your only option as a Kindle > customer is the e-Book version, eliminating sales to people > who want a hardcopy. You might want to look at a POD type venue like lulu.com. At one time, roles in publishing were very well defined, just like in software. You had authors, publishers, distributors and retailers (and those divided up as well, street, catalog, etc). Even though new channels have appeared, many have consolidated roles and may or may not be to you/our benefit. A venue that does no marketing for you, no real support, and basically "shelves" your product for access is a retailer. If you look a the old model, retailers could expect anywhere from 25-40% of the pie. That's the reason why I have never grumbled about the cost of the MAS (the changing specifications of being on the MAS though increase the "cost" of doing business with them though). Some people expect that MAS or others are going to do more for you, and that you don't need to do any real marketing. Retailers don't do that for you. But some, like MAS and others have additional, hidden costs (when it comes to software). And a big one is ownership of the customer relationship. A huge amount of business is in upselling or sidegrading, and you can only effectively do that if you understand who your customer is. It makes feast-or-famine type situations more and more common with those who sell through those types of venues. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From mpetrides at earthlink.net Sat Dec 1 13:01:12 2012 From: mpetrides at earthlink.net (Marian Petrides, M.D.) Date: Sat, 1 Dec 2012 12:01:12 -0600 Subject: how my book is doing... In-Reply-To: References: <50B9A37C.3010903@hyperactivesw.com><3172B687-38BD-4F03-98A7-19A82E0DCAD2@verizon.net> <051C5F3D-127E-4E25-BCEF-A0862AFC2C48@earthlink.net> Message-ID: <61815130-21E4-4035-BD6E-BD34A59F31A9@earthlink.net> Good point. Tell that to the scumbag publishers? On Dec 1, 2012, at 11:37 AM, "Lynn Fredricks" wrote: > A venue that does no marketing for you, no real support, and basically > "shelves" your product for access is a retailer. If you look a the old > model, retailers could expect anywhere from 25-40% of the pie. From coiin at verizon.net Sat Dec 1 13:09:20 2012 From: coiin at verizon.net (Colin Holgate) Date: Sat, 01 Dec 2012 13:09:20 -0500 Subject: how my book is doing... In-Reply-To: <61815130-21E4-4035-BD6E-BD34A59F31A9@earthlink.net> References: <50B9A37C.3010903@hyperactivesw.com><3172B687-38BD-4F03-98A7-19A82E0DCAD2@verizon.net> <051C5F3D-127E-4E25-BCEF-A0862AFC2C48@earthlink.net> <61815130-21E4-4035-BD6E-BD34A59F31A9@earthlink.net> Message-ID: <48AAAE33-09E6-4616-A95A-DFD15E6ECA53@verizon.net> I know from working with Packt that they do active marketing for the first few months, after which it's a stock item I guess. That seems to make sense to me. On Dec 1, 2012, at 1:01 PM, "Marian Petrides, M.D." wrote: > Good point. Tell that to the scumbag publishers? > > On Dec 1, 2012, at 11:37 AM, "Lynn Fredricks" wrote: > >> A venue that does no marketing for you, no real support, and basically >> "shelves" your product for access is a retailer. If you look a the old >> model, retailers could expect anywhere from 25-40% of the pie. From jiml at netrin.com Sat Dec 1 13:48:08 2012 From: jiml at netrin.com (Jim Lambert) Date: Sat, 1 Dec 2012 10:48:08 -0800 Subject: how my book is doing... In-Reply-To: References: Message-ID: <966EDB4E-4C3A-4416-B33E-85620D1A1FF1@netrin.com> Colin has done well with 14%. That's better than your working screenwriter here in Hollywood, who may get 5% of net, which is sometimes 5% of nothing! Jim Lambert From stephenREVOLUTION2 at barncard.com Sat Dec 1 14:51:01 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 1 Dec 2012 11:51:01 -0800 Subject: how my book is doing... In-Reply-To: <966EDB4E-4C3A-4416-B33E-85620D1A1FF1@netrin.com> References: <966EDB4E-4C3A-4416-B33E-85620D1A1FF1@netrin.com> Message-ID: not sure that's a good comparison considering the production expenses in the creation of the product. In movies, the script is a small portion of the budget. In Colin's case, I'm sure he did most, if not all of the production as well as writing. On Sat, Dec 1, 2012 at 10:48 AM, Jim Lambert wrote: > Colin has done well with 14%. > That's better than your working screenwriter here in Hollywood, who may > get 5% of net, which is sometimes 5% of nothing! > > 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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From slylabs13 at me.com Sat Dec 1 15:09:47 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Sat, 01 Dec 2012 10:09:47 -1000 Subject: Weird array comparison limitation In-Reply-To: <50B6776C.5050703@tweedly.net> References: <50B6776C.5050703@tweedly.net> Message-ID: Can't you use not (aArray1 = aArray2)? Bob On Nov 28, 2012, at 10:43 AM, Alex Tweedly wrote: > You can compare two arrays for being equal - but you can't compare them for being unequal ! > > As the dictionary says (under the "=" operator), you can compare two arrays, and it will check that the number of keys is the same, and then that each element is the same - therefore it works just like you'd hope and expect for multi-level arrays. > > But the dictionary entry for "is not" (i.e. not equal, the "<>" operator) does not mention arrays, and indeed you cannot get reliable results from it (ok- they *may* be reliable - but they're not useful :-) > > Here's a snippet from my Message Box - the global array gives me data to start with, I copy it, then change it, so they are in fact not quite the same - one element has been changed .... > >> global gATermInfo >> put gAtermInfo into gA2 >> add 1 to gA2["year"] >> put gA2["year"] && (gATerminfo = gA2 ) && (gATerminfo <> gA2 ) >> > > produces > >> 2013 false false > > I guess it's not strictly speaking a bug, since the dictionary doesn't claim that it should do the sensible thing. But it's so intuitively obvious that it ought to work, and must be so easy to make it work, that I kind of think it should be fixed. > > Or am I missing some reason ? or some history that would demand backwards compatability ? > > Thanks > -- 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 slylabs13 at me.com Sat Dec 1 15:30:08 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Sat, 01 Dec 2012 10:30:08 -1000 Subject: Date Calculation In-Reply-To: References: Message-ID: <2BB55C30-DC8E-471E-BB86-5828C086FFC9@me.com> Doesn't sqLite have date math functions? I would create an sqLite database in memory, create a table with a date column, put todays date into it in SQL format (yyyy-mm-dd), then query it using the built in sqLite date math functions. eg. SELECT date('now','start of month','+1 month','-1 day'); In your case: SELECT date('now', 'start of week'); SELECT date('now', 'end of week'); I might be mistaken tho' haven't tested it... Bob On Nov 28, 2012, at 5:33 AM, Andrew Kluthe wrote: > Hey Ya'll, > > I thought I had this figured out but I don't and I am not sure where > to go from here. > > I want to retreive the date for the monday and the sunday of the current week. > > For instance, if it were today 11/28/2012 then I would want to return > 11/26/2012 and 12/2/2012 . I was trying to leverage Sara R's Date & > Time library, but even with all those lovely functions I still can't > get what I am after. I know there has to be a simpler way of doing > this than the broken mess I was coming up with. How would you tackle > this problem? > > -- > 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 coiin at verizon.net Sat Dec 1 15:33:03 2012 From: coiin at verizon.net (Colin Holgate) Date: Sat, 01 Dec 2012 15:33:03 -0500 Subject: how my book is doing... In-Reply-To: References: <966EDB4E-4C3A-4416-B33E-85620D1A1FF1@netrin.com> Message-ID: <9B677C87-EBA7-4D12-87F9-2A8C48F15EAA@verizon.net> Packt authors work in Word, and submit that. There's another team that takes the Word document and formats it for print and ebooks. On Dec 1, 2012, at 2:51 PM, stephen barncard wrote: > > In Colin's case, I'm sure he did most, if not all of the production as well > as writing. From slylabs13 at me.com Sat Dec 1 15:40:10 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Sat, 01 Dec 2012 10:40:10 -1000 Subject: how my book is doing... In-Reply-To: <9B677C87-EBA7-4D12-87F9-2A8C48F15EAA@verizon.net> References: <966EDB4E-4C3A-4416-B33E-85620D1A1FF1@netrin.com> <9B677C87-EBA7-4D12-87F9-2A8C48F15EAA@verizon.net> Message-ID: I used to fully publish books in Word. Works better than desktop publishing, if you are happy with their footnote options and a few other restrictions, but their footnoting is as good or better than any other desktop publishing app I have worked with. It gets dicey with images though. You can run out of memory pretty quickly if you have a lot of images in EPS format. At least, that was true some years back. They may have addressed it by now. Bob On Dec 1, 2012, at 10:33 AM, Colin Holgate wrote: > Packt authors work in Word, and submit that. There's another team that takes the Word document and formats it for print and ebooks. > > > On Dec 1, 2012, at 2:51 PM, stephen barncard wrote: > >> >> In Colin's case, I'm sure he did most, if not all of the production as well >> as writing. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 1 16:28:29 2012 From: pete at lcsql.com (Peter Haworth) Date: Sat, 1 Dec 2012 13:28:29 -0800 Subject: how my book is doing... In-Reply-To: References: <966EDB4E-4C3A-4416-B33E-85620D1A1FF1@netrin.com> <9B677C87-EBA7-4D12-87F9-2A8C48F15EAA@verizon.net> Message-ID: iPages works great for publishing and will export in most of the populat eBook formats. Pete lcSQL Software On Sat, Dec 1, 2012 at 12:40 PM, Robert Sneidar wrote: > I used to fully publish books in Word. Works better than desktop > publishing, if you are happy with their footnote options and a few other > restrictions, but their footnoting is as good or better than any other > desktop publishing app I have worked with. It gets dicey with images > though. You can run out of memory pretty quickly if you have a lot of > images in EPS format. At least, that was true some years back. They may > have addressed it by now. > > Bob > On Dec 1, 2012, at 10:33 AM, Colin Holgate wrote: > > > Packt authors work in Word, and submit that. There's another team that > takes the Word document and formats it for print and ebooks. > > > > > > On Dec 1, 2012, at 2:51 PM, stephen barncard < > stephenREVOLUTION2 at barncard.com> wrote: > > > >> > >> In Colin's case, I'm sure he did most, if not all of the production as > well > >> as writing. > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Dec 1 17:21:46 2012 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 01 Dec 2012 22:21:46 +0000 Subject: Weird array comparison limitation In-Reply-To: References: <50B6776C.5050703@tweedly.net> Message-ID: <50BA82FA.1010901@tweedly.net> On 01/12/2012 20:09, Robert Sneidar wrote: > Can't you use not (aArray1 = aArray2)? > > Bob > Yes, you can *if* you know you need to do that :-) I refuse to say how many hours I spent debugging to get to the point where I knew this was the problem. You suspect the likely things first (i.e. that I had made an error somewhere) and the unlikely things last (i.e. that a straightforward conditional test that is accepted and should work would fail). And there is no reason why it needs to fail, and intuitively it ought to work - so it's a reasonable request to make. I'll enter it into QCC some day soon .... Thanks -- Alex. From matthias_livecode_150811 at m-r-d.de Sat Dec 1 18:26:46 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sun, 2 Dec 2012 00:26:46 +0100 Subject: App rejected now the 3rd time - because... Message-ID: <0F4F0ED2-1A9B-4213-AED4-8DB4663A8556@m-r-d.de> Hi, today my new app was rejected the 3rd time. The first rejection was because the app was to simple for Apple Review Team. They argued it was just a browser showing only local content. And apps, that are web sites bundled as apps may be rejected. Btw: The content was a 3D Animation showing my customer?s logo which the user could rotate left / right by swiping his finger over the screen. The app is (now it seems was) planned to be part of a big marketing campaign. It was intended to be something like a lucky charm, which the user can rotate like other do rub a "rabbit?s foot" . Is "rub" the correct word for that? After talking to our customer they agreed to extend functionality and so i added Monte?s BarCode Reader external and some other of his externals. The customer already planned to use QR Codes in his campaign, so this would be a usefull extension for the campaign. The user can now scan QR Codes and take appropriate actions after scanning like sending sms, sending email, do phone call, open an URL in Browser or add the scanned vCard to the address book. But it was rejected again. Now Apple told me, that the UI experience is very important and that i have to follow their UI design? blah blah blah. I then recreated all from scratch. Used Navbars, toolbars and so on. I even optimized and extended the features of the QR Code reader. But again it was rejected, now with this explanation: "We found that your app only provides a very limited set of features. It only include a single animated image as well as an open source code bar code scanner. While we value simplicity, we consider simplicity to be uncomplicated - not limited in features and functionality. ? Apps should provide valuable utility or entertainment, draw people in by offering compelling capabilities or content, or enable people to do something they couldn't do before or in a way they couldn't do it before." Btw.: The "animated image" is a set of 36 images which rotate only when the user swipes of the image using HTML5 and javascript. It is not an animated gif or something. I am not sure, if the reviewer is even knowing about the implemented actions after scanning QR Code. Maybe she/he only tested with normal barcodes. I responded to this rejection now, explained what features the app now has and asked if the many fart apps in the app store are more useful than our app. But anyway I am stumped now and fed up. Matthias -- Matthias Rebbe matthias (at) rebbe.tk Tel +49.5741.310000 Tel +49.160.5504462 -- "Life is too short for boring code" From sc at sahores-conseil.com Sat Dec 1 18:52:14 2012 From: sc at sahores-conseil.com (Pierre Sahores) Date: Sun, 2 Dec 2012 00:52:14 +0100 Subject: App rejected now the 3rd time - because... In-Reply-To: <0F4F0ED2-1A9B-4213-AED4-8DB4663A8556@m-r-d.de> References: <0F4F0ED2-1A9B-4213-AED4-8DB4663A8556@m-r-d.de> Message-ID: <961B2D3B-2AB6-40D8-B89C-DD7046192B94@sahores-conseil.com> Hi Matthias, Hard to learn what they wants, for sure ! And as i will be in the loop next january too, i expect in reading your post than it will not be really painless ! Indeed, it's in sharing such kind of news that we will become fully able to speak the Apple's "iTunes Store dialect language". So, just don't give up until getting your iTunes Store graduate ;-) Warm regards, Pierre Le 2 d?c. 2012 ? 00:26, Matthias Rebbe a ?crit : > Hi, > > today my new app was rejected the 3rd time. > > The first rejection was because the app was to simple for Apple Review Team. They argued > it was just a browser showing only local content. And apps, that are web sites bundled as apps > may be rejected. > > Btw: The content was a 3D Animation showing my customer?s logo which > the user could rotate left / right by swiping his finger over the screen. > > The app is (now it seems was) planned to be part of a big marketing campaign. > It was intended to be something like a lucky charm, which the user can rotate > like other do rub a "rabbit?s foot" . Is "rub" the correct word for that? > > After talking to our customer they agreed to extend functionality and so i added > Monte?s BarCode Reader external and some other of his externals. The customer already > planned to use QR Codes in his campaign, so this would be a usefull extension for the campaign. > > The user can now scan QR Codes and take appropriate actions after scanning > like sending sms, sending email, do phone call, open an URL in Browser > or add the scanned vCard to the address book. > > But it was rejected again. Now Apple told me, that the UI experience is very important > and that i have to follow their UI design? blah blah blah. > > I then recreated all from scratch. Used Navbars, toolbars and so on. I even optimized > and extended the features of the QR Code reader. > > But again it was rejected, now with this explanation: > > "We found that your app only provides a very limited set of features. > It only include a single animated image as well as an open source code bar code scanner. > While we value simplicity, we consider simplicity to be uncomplicated - not limited in features and functionality. > ? > Apps should provide valuable utility or entertainment, draw people in by offering compelling capabilities or content, > or enable people to do something they couldn't do before or in a way they couldn't do it before." > > Btw.: The "animated image" is a set of 36 images which rotate only when the user swipes of the image using HTML5 and javascript. It is not an animated gif or something. > > I am not sure, if the reviewer is even knowing about the implemented actions after scanning QR Code. Maybe she/he only tested with normal barcodes. > > I responded to this rejection now, explained what features the app now has and asked if the many fart apps in the app store are more useful than our app. > > But anyway I am stumped now and fed up. > > > Matthias > > > -- > Matthias Rebbe > matthias (at) rebbe.tk > Tel +49.5741.310000 > Tel +49.160.5504462 > -- > "Life is too short for boring code" > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 dixonja at hotmail.co.uk Sat Dec 1 19:27:11 2012 From: dixonja at hotmail.co.uk (John Dixon) Date: Sun, 2 Dec 2012 00:27:11 +0000 Subject: App rejected now the 3rd time - because... In-Reply-To: <961B2D3B-2AB6-40D8-B89C-DD7046192B94@sahores-conseil.com> References: <0F4F0ED2-1A9B-4213-AED4-8DB4663A8556@m-r-d.de>, <961B2D3B-2AB6-40D8-B89C-DD7046192B94@sahores-conseil.com> Message-ID: Matthais... I feel for you.. I have often wondered how Apple can ( have the cheek to) decide what should or should not be... I wonder if when you submit an app if it stays with the one reviewer whilst until all the problems are solved and their decision is the final one without ever consulting one of their colleagues... I submitted one app with the name 'filthy lucre'... a currency exchange calculator.. It was rejected because of the name as I was informed that it was a title likely to cause offence ... I was amazed, since it is an expression that has been used for centuries and not for being derogatory... it ended up with the unimaginative name of 'moneyXchange'... It would seem that these days you have to make sure that you don't rock the boat to make any waves at all... just be a good little citizen. At times I feel that Apple now are really to big for their boots with their commercial sucesses over the last decade, the company seemed to be much more amenable when they were teetering on the verge of bankruptcy. Dixie > Subject: Re: App rejected now the 3rd time - because... > From: sc at sahores-conseil.com > Date: Sun, 2 Dec 2012 00:52:14 +0100 > To: use-livecode at lists.runrev.com > > Hi Matthias, > > Hard to learn what they wants, for sure ! And as i will be in the loop next january too, i expect in reading your post than it will not be really painless ! Indeed, it's in sharing such kind of news that we will become fully able to speak the Apple's "iTunes Store dialect language". So, just don't give up until getting your iTunes Store graduate ;-) > > Warm regards, > > Pierre > > > Le 2 d?c. 2012 ? 00:26, Matthias Rebbe a ?crit : > > > Hi, > > > > today my new app was rejected the 3rd time. > > > > The first rejection was because the app was to simple for Apple Review Team. They argued > > it was just a browser showing only local content. And apps, that are web sites bundled as apps > > may be rejected. > > > > Btw: The content was a 3D Animation showing my customer?s logo which > > the user could rotate left / right by swiping his finger over the screen. > > > > The app is (now it seems was) planned to be part of a big marketing campaign. > > It was intended to be something like a lucky charm, which the user can rotate > > like other do rub a "rabbit?s foot" . Is "rub" the correct word for that? > > > > After talking to our customer they agreed to extend functionality and so i added > > Monte?s BarCode Reader external and some other of his externals. The customer already > > planned to use QR Codes in his campaign, so this would be a usefull extension for the campaign. > > > > The user can now scan QR Codes and take appropriate actions after scanning > > like sending sms, sending email, do phone call, open an URL in Browser > > or add the scanned vCard to the address book. > > > > But it was rejected again. Now Apple told me, that the UI experience is very important > > and that i have to follow their UI design? blah blah blah. > > > > I then recreated all from scratch. Used Navbars, toolbars and so on. I even optimized > > and extended the features of the QR Code reader. > > > > But again it was rejected, now with this explanation: > > > > "We found that your app only provides a very limited set of features. > > It only include a single animated image as well as an open source code bar code scanner. > > While we value simplicity, we consider simplicity to be uncomplicated - not limited in features and functionality. > > ? > > Apps should provide valuable utility or entertainment, draw people in by offering compelling capabilities or content, > > or enable people to do something they couldn't do before or in a way they couldn't do it before." > > > > Btw.: The "animated image" is a set of 36 images which rotate only when the user swipes of the image using HTML5 and javascript. It is not an animated gif or something. > > > > I am not sure, if the reviewer is even knowing about the implemented actions after scanning QR Code. Maybe she/he only tested with normal barcodes. > > > > I responded to this rejection now, explained what features the app now has and asked if the many fart apps in the app store are more useful than our app. > > > > But anyway I am stumped now and fed up. > > > > > > Matthias > > > > > > -- > > Matthias Rebbe > > matthias (at) rebbe.tk > > Tel +49.5741.310000 > > Tel +49.160.5504462 > > -- > > "Life is too short for boring code" > > > > > > > > > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 coiin at verizon.net Sat Dec 1 23:18:25 2012 From: coiin at verizon.net (Colin Holgate) Date: Sat, 01 Dec 2012 23:18:25 -0500 Subject: how my book is doing... In-Reply-To: References: <966EDB4E-4C3A-4416-B33E-85620D1A1FF1@netrin.com> <9B677C87-EBA7-4D12-87F9-2A8C48F15EAA@verizon.net> Message-ID: Before writing the book for Packt I had been a reviewer on two previous books for them, both about SketchUp. For those I did use Pages, and managed to get away with it, as I was only adding comments. I did at the time get the latest upgrade for Pages, which was able to export Word documents, but when it came to actually writing a book I was given specific templates, and so bought Microsoft Office at that time. On Dec 1, 2012, at 4:28 PM, Peter Haworth wrote: > >iPages works great for publishing and will export in most of the populat > eBook formats. From coiin at verizon.net Sat Dec 1 23:25:45 2012 From: coiin at verizon.net (Colin Holgate) Date: Sat, 01 Dec 2012 23:25:45 -0500 Subject: App rejected now the 3rd time - because... In-Reply-To: <0F4F0ED2-1A9B-4213-AED4-8DB4663A8556@m-r-d.de> References: <0F4F0ED2-1A9B-4213-AED4-8DB4663A8556@m-r-d.de> Message-ID: <8C0DE2E7-2263-410B-9DFC-CFDE4C15D0D4@verizon.net> So far I've managed to get any apps accepted first time. But the most recent app I did was for a client who had been rejected themselves. Not for what we did for them, but for their own in house app. It was deemed to not have much value, which was indeed the case, it was a simple promotional app. That may well factor into the thinking, just imagine if every company could use Apple to distribute their Christmas greeting app, that should really just be a web site with Flash or HTML 5. The app we did had enough novelty value that it must have been seen as something more than you can do on a web page (though we did also do a Facebook version of the app), and so wasn't seen as the promotional app that it really was. From jacque at hyperactivesw.com Sun Dec 2 00:00:49 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 01 Dec 2012 23:00:49 -0600 Subject: App rejected now the 3rd time - because... In-Reply-To: <0F4F0ED2-1A9B-4213-AED4-8DB4663A8556@m-r-d.de> References: <0F4F0ED2-1A9B-4213-AED4-8DB4663A8556@m-r-d.de> Message-ID: <50BAE081.50700@hyperactivesw.com> On 12/1/12 5:26 PM, Matthias Rebbe wrote: > Hi, > > today my new app was rejected the 3rd time. I'm sorry to hear that. I have a client who was also rejected, and the reason Apple gave was vague, so we weren't quite sure why. We've been adding some features and he will resubmit, but the app was not rejected for any technical reasons. Apparently Apple now judges apps on their subjective reactions rather than performance. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kee at kagi.com Sun Dec 2 00:25:13 2012 From: kee at kagi.com (kee nethery) Date: Sat, 1 Dec 2012 21:25:13 -0800 Subject: App rejected now the 3rd time - because... In-Reply-To: <0F4F0ED2-1A9B-4213-AED4-8DB4663A8556@m-r-d.de> References: <0F4F0ED2-1A9B-4213-AED4-8DB4663A8556@m-r-d.de> Message-ID: <3172CD6D-4E9C-4568-9025-BDB907F8313B@kagi.com> It is useful to provide the reviewers with everything they need to know about why the app exists, how users will use it, step by step walk throughs, etc. Don't make them try to read your mind, be explicit about what the app does and why it does what it does. For example, if this is for a company that is going to have some kind of promotion using QR codes, be sure to mock up what the QR codes are going to be and have them display samples of what will get displayed and show how trying everything together into one app works well for that company customer base. Make it easy for the reviewers to experience the full experience. Even if you have to mock up the data. Kee Nethery From richmondmathewson at gmail.com Sun Dec 2 03:00:35 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 02 Dec 2012 10:00:35 +0200 Subject: altkey() down, up & halfway down In-Reply-To: <50B91A5B.8030207@gmail.com> References: <50B85338.2090008@gmail.com> <50B8589A.40409@gmail.com> <50B85A8F.8050003@gmail.com> <50B892F1.7030301@gmail.com> <50B8967B.1060309@gmail.com> <50B8F144.5020901@hyperactivesw.com> <50B8F242.9000600@gmail.com> <50B91937.9080401@hyperactivesw.com> <50B91A5B.8030207@gmail.com> Message-ID: <50BB0AA3.8020604@gmail.com> Advice from Andre Garzia: "I have no problem with that and I use it here as well. Just do a visual feedback like this: on rawKeydown, check for the altKey and change all the labels of the buttons for the actions they will perform if that key is down, this way, as soon as someone presses ALT, the labels change and they know what is happening." which makes 100% sense, but I really don't know HOW on a Macintosh: On a Macintosh "on rawKeydown, check for the altKey" means 'check that the altKey is down as I press another key', so any label changing on buttons is going to happen AFTER THE FACT rather than BEFORE, which misses the point. "as soon as someone presses ALT, the labels change" would be lovely, and can be lovely on Windows or Linux, but cannot on Macintosh as far as I can see. Richmond. From palcibiades-first at yahoo.co.uk Sun Dec 2 03:42:46 2012 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sun, 2 Dec 2012 00:42:46 -0800 (PST) Subject: how my book is doing... In-Reply-To: <9B677C87-EBA7-4D12-87F9-2A8C48F15EAA@verizon.net> References: <966EDB4E-4C3A-4416-B33E-85620D1A1FF1@netrin.com> <9B677C87-EBA7-4D12-87F9-2A8C48F15EAA@verizon.net> Message-ID: <1354437766496-4657786.post@n4.nabble.com> Two writing tools that are worth considering -- Focuswriter, a totally minimalist RTF generator -- Lyx - a real writing tool, generates proper professionally typeset LaTex and Postscript. It also will generate RTF. If you haven't used Lyx, its not at all like any other writing tool, in particular its not WYSIWYG, but people get so comfortable with it in an hour or so that they wonder how they can ever have used anything else. And when they see the quality of the typeset documents it produces with no attention to anything but writing the content, their reaction is a mixture of amazement and delight. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/how-my-book-is-doing-tp4657757p4657786.html Sent from the Revolution - User mailing list archive at Nabble.com. From scott at tactilemedia.com Sun Dec 2 04:21:16 2012 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 02 Dec 2012 01:21:16 -0800 Subject: altkey() down, up & halfway down In-Reply-To: <50BB0AA3.8020604@gmail.com> Message-ID: If you are using alt as a modifier: on rawKeyDown if altKey() = down then -- do some stuff end if end rawKeyDown If you just want to detect the alt key, one option could be to use the idle message which essentially acts as a loop: [ card or stack script ] on idle if altKey() = down then -- do some stuff end if pass idle end idle Regards, Scott Rossi Creative Director Tactile Media, UX Design On 12/2/12 12:00 AM, "Richmond" wrote: >Advice from Andre Garzia: > >"I have no problem with that and I use it here as well. Just do a visual >feedback like this: >on rawKeydown, check for the altKey and change all the labels of the >buttons for the >actions they will perform if that key is down, this way, as soon as >someone presses ALT, >the labels change and they know what is happening." > >which makes 100% sense, but I really don't know HOW on a Macintosh: > >On a Macintosh "on rawKeydown, check for the altKey" means 'check that >the altKey is down as I press another key', so >any label changing on buttons is going to happen AFTER THE FACT rather >than BEFORE, which misses the point. > >"as soon as someone presses ALT, the labels change" > >would be lovely, and can be lovely on Windows or Linux, but cannot on >Macintosh as >far as I can see. > >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 palcibiades-first at yahoo.co.uk Sun Dec 2 09:34:48 2012 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sun, 2 Dec 2012 06:34:48 -0800 (PST) Subject: [OT] the evils (?) of secure boot. In-Reply-To: <50B3B360.10500@gmail.com> References: <50B3B360.10500@gmail.com> Message-ID: <1354458888007-4657790.post@n4.nabble.com> http://news.softpedia.com/news/All-Linux-Distributions-Get-the-Secure-Boot-Bootloader-311259.shtml -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-the-evils-of-secure-boot-tp4657622p4657790.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Sun Dec 2 09:59:19 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 02 Dec 2012 16:59:19 +0200 Subject: altkey() down, up & halfway down In-Reply-To: References: Message-ID: <50BB6CC7.6050802@gmail.com> If I have this sort of script in my stack: on rawKeydown if altKey() = down then put "ALT down" into fld "AKD" end if end rawKeydown on Macintosh that ONLY WORKS if I am pressing an alphanumeric key while holding the altKey down, it DOES NOT work if all I do is press the altKey. Now, Andre Garzia's advice went like this: "on rawKeydown, check for the altKey and change all the labels of the buttons for the actions they will perform if that key is down, this way, as soon as someone presses ALT, the labels change and they know what is happening." and this is NOT possible on Macintosh, while it is on Linux and Windows. Richmond. From bonnmike at gmail.com Sun Dec 2 10:30:50 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 2 Dec 2012 08:30:50 -0700 Subject: altkey() down, up & halfway down In-Reply-To: <50BB6CC7.6050802@gmail.com> References: <50BB6CC7.6050802@gmail.com> Message-ID: Late to this discussion but.. Polling (or maybe an external?) is the only real solution for this problem right? On Sun, Dec 2, 2012 at 7:59 AM, Richmond wrote: > If I have this sort of script in my stack: > > on rawKeydown > if altKey() = down then > put "ALT down" into fld "AKD" > end if > end rawKeydown > > on Macintosh that ONLY WORKS if I am pressing an alphanumeric key while > holding the altKey down, > > it DOES NOT work if all I do is press the altKey. > > Now, Andre Garzia's advice went like this: > > "on rawKeydown, check for the altKey and change all the labels of the > buttons for the actions they will > perform if that key is down, this way, as soon as someone presses ALT, the > labels change and they know > what is happening." > > and this is NOT possible on Macintosh, while it is on Linux and Windows. > > 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 richmondmathewson at gmail.com Sun Dec 2 10:42:28 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 02 Dec 2012 17:42:28 +0200 Subject: altkey() down, up & halfway down In-Reply-To: References: <50BB6CC7.6050802@gmail.com> Message-ID: <50BB76E4.3090305@gmail.com> On 12/02/2012 05:30 PM, Mike Bonner wrote: > Late to this discussion but.. Polling (or maybe an external?) is the only > real solution for this problem right? > > > Polling the key downs is possible, but will slow down a program considerably. From bonnmike at gmail.com Sun Dec 2 10:58:34 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 2 Dec 2012 08:58:34 -0700 Subject: altkey() down, up & halfway down In-Reply-To: <50BB76E4.3090305@gmail.com> References: <50BB6CC7.6050802@gmail.com> <50BB76E4.3090305@gmail.com> Message-ID: Use idle as scott said? Or, if you don't need it to be super responsive. IE you're using visual cues as andre suggested, then polling every 100 or 150 milliseconds might suffice. Idle is probably easiest. Was wondering about the external, seems that since this is related to os/arch even an external would just have to sit there polling also. (though it could do it in it's own little area and only speak up when a key changes state) So an external would probably be the best option except for that whole "having to write it" thing. On Sun, Dec 2, 2012 at 8:42 AM, Richmond wrote: > On 12/02/2012 05:30 PM, Mike Bonner wrote: > >> Late to this discussion but.. Polling (or maybe an external?) is the only >> real solution for this problem right? >> >> >> >> > Polling the key downs is possible, but will slow down > a program considerably. > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From andre at andregarzia.com Sun Dec 2 11:13:32 2012 From: andre at andregarzia.com (Andre Garzia) Date: Sun, 2 Dec 2012 14:13:32 -0200 Subject: how my book is doing... In-Reply-To: <1354437766496-4657786.post@n4.nabble.com> References: <966EDB4E-4C3A-4416-B33E-85620D1A1FF1@netrin.com> <9B677C87-EBA7-4D12-87F9-2A8C48F15EAA@verizon.net> <1354437766496-4657786.post@n4.nabble.com> Message-ID: Colin and others, For your next books consider using scrivener. Its is a very good tool http://www.literatureandlatte.com/ =D On Sun, Dec 2, 2012 at 6:42 AM, Peter Alcibiades < palcibiades-first at yahoo.co.uk> wrote: > Two writing tools that are worth considering > > -- Focuswriter, a totally minimalist RTF generator > -- Lyx - a real writing tool, generates proper professionally typeset LaTex > and Postscript. It also will generate RTF. > > If you haven't used Lyx, its not at all like any other writing tool, in > particular its not WYSIWYG, but people get so comfortable with it in an > hour > or so that they wonder how they can ever have used anything else. And when > they see the quality of the typeset documents it produces with no attention > to anything but writing the content, their reaction is a mixture of > amazement and delight. > > > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/how-my-book-is-doing-tp4657757p4657786.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 > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From andre at andregarzia.com Sun Dec 2 11:13:32 2012 From: andre at andregarzia.com (Andre Garzia) Date: Sun, 2 Dec 2012 14:13:32 -0200 Subject: how my book is doing... In-Reply-To: <1354437766496-4657786.post@n4.nabble.com> References: <966EDB4E-4C3A-4416-B33E-85620D1A1FF1@netrin.com> <9B677C87-EBA7-4D12-87F9-2A8C48F15EAA@verizon.net> <1354437766496-4657786.post@n4.nabble.com> Message-ID: Colin and others, For your next books consider using scrivener. Its is a very good tool http://www.literatureandlatte.com/ =D On Sun, Dec 2, 2012 at 6:42 AM, Peter Alcibiades < palcibiades-first at yahoo.co.uk> wrote: > Two writing tools that are worth considering > > -- Focuswriter, a totally minimalist RTF generator > -- Lyx - a real writing tool, generates proper professionally typeset LaTex > and Postscript. It also will generate RTF. > > If you haven't used Lyx, its not at all like any other writing tool, in > particular its not WYSIWYG, but people get so comfortable with it in an > hour > or so that they wonder how they can ever have used anything else. And when > they see the quality of the typeset documents it produces with no attention > to anything but writing the content, their reaction is a mixture of > amazement and delight. > > > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/how-my-book-is-doing-tp4657757p4657786.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 > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From coiin at verizon.net Sun Dec 2 11:27:16 2012 From: coiin at verizon.net (Colin Holgate) Date: Sun, 02 Dec 2012 11:27:16 -0500 Subject: how my book is doing... In-Reply-To: References: <966EDB4E-4C3A-4416-B33E-85620D1A1FF1@netrin.com> <9B677C87-EBA7-4D12-87F9-2A8C48F15EAA@verizon.net> <1354437766496-4657786.post@n4.nabble.com> Message-ID: <3A2AB399-1923-491E-B182-6205F5380B9C@verizon.net> Packt have a very precise structure to their books, and they get authors to follow that by using a set of Word templates. Even with those templates it's possible to go wrong, but I just feel sure that they wouldn't be able to cope with a document from any other tool, unless they had someone on staff who would carefully copy and paste your nice looking text into the Word templates. Did you finish your book? On Dec 2, 2012, at 11:13 AM, Andre Garzia wrote: > >For your next books consider using scrivener. Its is a very good tool > > http://www.literatureandlatte.com/ From richmondmathewson at gmail.com Sun Dec 2 11:39:52 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 02 Dec 2012 18:39:52 +0200 Subject: altkey() down, up & halfway down In-Reply-To: References: <50BB6CC7.6050802@gmail.com> <50BB76E4.3090305@gmail.com> Message-ID: <50BB8458.5080005@gmail.com> On 12/02/2012 05:58 PM, Mike Bonner wrote: > Use idle as scott said? Or, if you don't need it to be super responsive. My Devawriter does have to be 'super responsive' as it is, ultimately, a glorified typewriter, and as such should, in an ideal situation, work not much more slowly than the speed one might enter text into a text editor. For the sake of argument, even though I type with only 2 fingers and have to keep looking at the keyboard, I still manage to knock out about 50 words a minute! Obviously there isn't all that much 'idle' when someone is bashing away on the keyboard. > IE > you're using visual cues as andre suggested, then polling every 100 or 150 > milliseconds might suffice. Idle is probably easiest. Was wondering about > the external, seems that since this is related to os/arch even an external > would just have to sit there polling also. (though it could do it in it's > own little area and only speak up when a key changes state) So an external > would probably be the best option except for that whole "having to write > it" thing. > > From bonnmike at gmail.com Sun Dec 2 12:02:53 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 2 Dec 2012 10:02:53 -0700 Subject: altkey() down, up & halfway down In-Reply-To: <50BB8458.5080005@gmail.com> References: <50BB6CC7.6050802@gmail.com> <50BB76E4.3090305@gmail.com> <50BB8458.5080005@gmail.com> Message-ID: Yeah, too true. And if others are like me, having to wait for things to catch up is really annoying! Well, this is only osx (objective c) and I'm clueless about it, but the example on this page might give someone who isn't a clueless c nub like me a chance to build an external to catch key presses. http://stackoverflow.com/questions/12113795/is-there-a-keyup-method-for-flagschanged On Sun, Dec 2, 2012 at 9:39 AM, Richmond wrote: > On 12/02/2012 05:58 PM, Mike Bonner wrote: > >> Use idle as scott said? Or, if you don't need it to be super responsive. >> > > My Devawriter does have to be 'super responsive' as it is, ultimately, a > glorified typewriter, > and as such should, in an ideal situation, work not much more slowly than > the speed one might enter > text into a text editor. For the sake of argument, even though I type with > only 2 fingers and have to > keep looking at the keyboard, I still manage to knock out about 50 words a > minute! > > Obviously there isn't all that much 'idle' when someone is bashing away on > the keyboard. > > > IE >> you're using visual cues as andre suggested, then polling every 100 or 150 >> milliseconds might suffice. Idle is probably easiest. Was wondering about >> the external, seems that since this is related to os/arch even an external >> would just have to sit there polling also. (though it could do it in it's >> own little area and only speak up when a key changes state) So an >> external >> would probably be the best option except for that whole "having to write >> it" thing. >> >> >> > > ______________________________**_________________ > use-livecode mailing list > use-livecode at 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 Dec 2 12:23:32 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 02 Dec 2012 19:23:32 +0200 Subject: altkey() down, up & halfway down In-Reply-To: References: <50BB6CC7.6050802@gmail.com> <50BB76E4.3090305@gmail.com> <50BB8458.5080005@gmail.com> Message-ID: <50BB8E94.9030507@gmail.com> On 12/02/2012 07:02 PM, Mike Bonner wrote: > Yeah, too true. And if others are like me, having to wait for things to > catch up is really annoying! > > Well, this is only osx (objective c) and I'm clueless about it, but the > example on this page might give someone who isn't a clueless c nub like me > a chance to build an external to catch key presses. > http://stackoverflow.com/questions/12113795/is-there-a-keyup-method-for-flagschanged > Ha, Ha; there is "only one problem" here; I haven't looked at any programming language (except for a brief 'perversion' with Toolbook) other than xTalk (or whatever Runtime Revolution call the Livecode langaue at the moment) since I left BBC BASIC in 1990. So that code looks: 1. odd and 2. I wouldn't have a clue how to integrate those few lines into anything else, let alone get it to interact with a Livecode standalone. AND . . . and here's the rub . . . I really want to have one code-base for my product, rather than fork the thing into 2 or 3 branches (Mac, Lin and Win), as subsequent modifications would involve a considerably large amount of (repetitive) work than keeping it as a single code base. It is, of course, quite possible to have the stack to detect the operating system and act accordingly . . . > > On Sun, Dec 2, 2012 at 9:39 AM, Richmond wrote: > >> On 12/02/2012 05:58 PM, Mike Bonner wrote: >> >>> Use idle as scott said? Or, if you don't need it to be super responsive. >>> >> My Devawriter does have to be 'super responsive' as it is, ultimately, a >> glorified typewriter, >> and as such should, in an ideal situation, work not much more slowly than >> the speed one might enter >> text into a text editor. For the sake of argument, even though I type with >> only 2 fingers and have to >> keep looking at the keyboard, I still manage to knock out about 50 words a >> minute! >> >> Obviously there isn't all that much 'idle' when someone is bashing away on >> the keyboard. >> >> >> IE >>> you're using visual cues as andre suggested, then polling every 100 or 150 >>> milliseconds might suffice. Idle is probably easiest. Was wondering about >>> the external, seems that since this is related to os/arch even an external >>> would just have to sit there polling also. (though it could do it in it's >>> own little area and only speak up when a key changes state) So an >>> external >>> would probably be the best option except for that whole "having to write >>> it" thing. >>> >>> >>> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 2 12:26:08 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 02 Dec 2012 19:26:08 +0200 Subject: Online Documentation in Linux Message-ID: <50BB8F30.1090000@gmail.com> I stated a while back that the online documentation in the Livecode IDE crashed the thing in Linux; that statement should now be modified: The documentation stack crashes LC under XFCE 4.8 and 4.10. The documentation does NOT crash under GNOME 2 or 3. Richmond. From mwieder at ahsoftware.net Sun Dec 2 12:37:57 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 2 Dec 2012 09:37:57 -0800 Subject: Online Documentation in Linux In-Reply-To: <50BB8F30.1090000@gmail.com> References: <50BB8F30.1090000@gmail.com> Message-ID: <1041516911109.20121202093757@ahsoftware.net> Richmond- Sunday, December 2, 2012, 9:26:08 AM, you wrote: > I stated a while back that the online documentation in the Livecode > IDE crashed the thing in Linux; that statement should now be modified: ...and I replied at the time that the bug (9928) was fixed in build 5.5.2. But at any rate, it's useful to know that if I ever go back to Gnome I can use older versions of LiveCode. -- -Mark Wieder mwieder at ahsoftware.net From andre at andregarzia.com Sun Dec 2 12:41:04 2012 From: andre at andregarzia.com (Andre Garzia) Date: Sun, 2 Dec 2012 15:41:04 -0200 Subject: how my book is doing... In-Reply-To: <3A2AB399-1923-491E-B182-6205F5380B9C@verizon.net> References: <966EDB4E-4C3A-4416-B33E-85620D1A1FF1@netrin.com> <9B677C87-EBA7-4D12-87F9-2A8C48F15EAA@verizon.net> <1354437766496-4657786.post@n4.nabble.com> <3A2AB399-1923-491E-B182-6205F5380B9C@verizon.net> Message-ID: I am doing the last two chapters, should not take long (famous last words)... On Sun, Dec 2, 2012 at 2:27 PM, Colin Holgate wrote: > Packt have a very precise structure to their books, and they get authors > to follow that by using a set of Word templates. Even with those templates > it's possible to go wrong, but I just feel sure that they wouldn't be able > to cope with a document from any other tool, unless they had someone on > staff who would carefully copy and paste your nice looking text into the > Word templates. > > Did you finish your book? > > > On Dec 2, 2012, at 11:13 AM, Andre Garzia wrote: > > > >For your next books consider using scrivener. Its is a very good tool > > > > http://www.literatureandlatte.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://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From richmondmathewson at gmail.com Sun Dec 2 12:53:44 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 02 Dec 2012 19:53:44 +0200 Subject: altkey() down, up & halfway down In-Reply-To: References: <50BB6CC7.6050802@gmail.com> <50BB76E4.3090305@gmail.com> <50BB8458.5080005@gmail.com> Message-ID: <50BB95A8.70006@gmail.com> On Macintosh, according to Apple's documentation the key code for the left option key is 98 and 58 for the right option key. There is a school of thought flying around that the key code for both is 35. However . . . keysDown doesn't work for modifier keys on Mac . . . interestingly enough this: set the useUnicode to true set the unicodeText of fld "KEEZE" to numToChar(58) isn't much help. From lc at pbh.on-rev.com Sun Dec 2 14:10:28 2012 From: lc at pbh.on-rev.com (Paul Hibbert) Date: Sun, 2 Dec 2012 11:10:28 -0800 Subject: altkey() down, up & halfway down In-Reply-To: <50BB8E94.9030507@gmail.com> References: <50BB6CC7.6050802@gmail.com> <50BB76E4.3090305@gmail.com> <50BB8458.5080005@gmail.com> <50BB8E94.9030507@gmail.com> Message-ID: I remembered something about updateScreen on the Game Academy, they used dispatch to poll the stack for a screen refresh and it didn't seem to have too much detrimental effect on the game, I had a quick look, took out the bones and tried this? on preOpenStack if the platform is "MacOS" then dispatchUpdateKey end preOpenStack on altKeyCheck if altKey() = down then set the label of btn "clearButton" to "Reset" else set the label of btn "clearButton" to "Clear" end if end altKeyCheck on dispatchUpdateKey dispatch "altKeyCheck" to me send "dispatchUpdateKey" to me in 250 milliseconds ## Change the value to suit end dispatchUpdateKey It seems to work OK for my test, this would poll about 4 times a second so that shouldn't carry too much overhead, but is easily adjustable to suit your needs and you could easily add in a ctrlKey, cmdKey and shiftKey check too if necessary. Just a thought. Paul On 2012-12-02, at 9:23 AM, Richmond wrote: > On 12/02/2012 07:02 PM, Mike Bonner wrote: >> Yeah, too true. And if others are like me, having to wait for things to >> catch up is really annoying! >> >> Well, this is only osx (objective c) and I'm clueless about it, but the >> example on this page might give someone who isn't a clueless c nub like me >> a chance to build an external to catch key presses. >> http://stackoverflow.com/questions/12113795/is-there-a-keyup-method-for-flagschanged >> > > Ha, Ha; there is "only one problem" here; I haven't looked at any programming language (except for a brief 'perversion' with Toolbook) > other than xTalk (or whatever Runtime Revolution call the Livecode langaue at the moment) since I left BBC BASIC in 1990. > > So that code looks: > > 1. odd > > and > > 2. I wouldn't have a clue how to integrate those few lines into anything else, let alone get it to interact with a Livecode standalone. > > AND . . . and here's the rub . . . > > I really want to have one code-base for my product, rather than fork the thing into 2 or 3 branches (Mac, Lin and Win), > as subsequent modifications would involve a considerably large amount of (repetitive) work than keeping it as a single > code base. > > It is, of course, quite possible to have the stack to detect the operating system and act accordingly . . . > >> >> On Sun, Dec 2, 2012 at 9:39 AM, Richmond wrote: >> >>> On 12/02/2012 05:58 PM, Mike Bonner wrote: >>> >>>> Use idle as scott said? Or, if you don't need it to be super responsive. >>>> >>> My Devawriter does have to be 'super responsive' as it is, ultimately, a >>> glorified typewriter, >>> and as such should, in an ideal situation, work not much more slowly than >>> the speed one might enter >>> text into a text editor. For the sake of argument, even though I type with >>> only 2 fingers and have to >>> keep looking at the keyboard, I still manage to knock out about 50 words a >>> minute! >>> >>> Obviously there isn't all that much 'idle' when someone is bashing away on >>> the keyboard. >>> >>> >>> IE >>>> you're using visual cues as andre suggested, then polling every 100 or 150 >>>> milliseconds might suffice. Idle is probably easiest. Was wondering about >>>> the external, seems that since this is related to os/arch even an external >>>> would just have to sit there polling also. (though it could do it in it's >>>> own little area and only speak up when a key changes state) So an >>>> external >>>> would probably be the best option except for that whole "having to write >>>> it" thing. >>>> >>>> >>>> >>> ______________________________**_________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/**mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Dec 2 14:11:46 2012 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sun, 02 Dec 2012 14:11:46 -0500 Subject: App rejected now the 3rd time - because... In-Reply-To: <3172CD6D-4E9C-4568-9025-BDB907F8313B@kagi.com> References: <0F4F0ED2-1A9B-4213-AED4-8DB4663A8556@m-r-d.de> <3172CD6D-4E9C-4568-9025-BDB907F8313B@kagi.com> Message-ID: I agree with Kee on this, We are dealing with a human who may be having a bad day, or a good day ;-} and any helpful information for them to assess the app and its usage is going to help a long way. I have had only one rejection so far, it was originally accepted and then on a subsequent update it was then rejected. They stated it was because of it's name which had not changed in the update. They did not want the word Pad to be used (not iPad but Pad). I choose to change the name instead of trying to fight them on that and was immediately accepted. Now as far as Promotional Apps: The problem with trying to get Promotional Apps approved has been around for a while now. The key is to make sure that the app appears to do something more than just promote the product/service/company. This is really quite easy. Location, Push, Camera, Email, SMS, Games, Lookups/scans, DataBase's etc. all work. I go further and describe the most useful aspects of the app and how it will help the company when a user is mobile and more importantly how being an App is so much more useful to them than just a web site. Look at a company like "Grainger" and their new iPhone app: https://itunes.apple.com/us/app/w.w.-grainger-inc./id526722540?mt=8 (I have no association with them) The app is just their catalog in an app form factor and does not do anything more than their web site does. Worth repeating: It does not do anything more than what their web site does (even less actually). It allows you to login to your account, and then see your 'inbox', orders, lists,and find a branch near you as well as do what they call a "quick item entry" which then sends an order to the company. (you can't even pay in the app). The reason I use them is because their website does everything their app does but they get approved anyway. I believe it is because they make it appear like the app is useful at the job site and is unique. But from their own site they even say they are the same thing: -------------------------- Does Grainger have a mobile website in addition to the app? Yes. To access the Grainger mobile website, you can visit Grainger.com from your smart phone's web browser. On the mobile site, you can search for products, sign in, see your account-specific pricing, place an order, find the nearest branch and even approve OMS orders. What is the difference between an app and a mobile site? The Grainger apps provide a personal experience for you and easy access to information on Grainger products. To access the Grainger app, simply download it to your iPhone or Android device. In contrast, a mobile site is accessible from any smart phone?without a download. To get to the Grainger mobile site simply type Grainger.com into your web browser from any smartphone. How do the mobile app and mobile site help me get my job done? If you don't have easy access to a desktop computer to browse Grainger.com, you can use your smart phone to access the mobile site or app instead. You can search for products, place an order, find the nearest branch or even approve a pending OMS order?all with the mobile app. ------------------------------ On the iTunes store they state the following: All of which is available from their website (except the SIRI part) : ---------------- When getting the job done is priority one, the Grainger app for iPhone can help. The app makes it easy to search for products, see account pricing, check product availability and quickly order products. Whether you?re at a job site, on a shop floor, in a maintenance garage or just don?t have access to a computer, now you can access Grainger.com when and where it works for you. Productivity is key with the new Grainger app. Hands full? Now you can simply speak your request to search for the product you need. Need to pick it up now? With Real-Time Product Availability, find out when products will arrive or which nearby branch has them in stock. --------------- ??????????. Grainger has managed to bottle up their exact website into an app and yet do it in such a way that they appear to be very useful and unique and that their app has usefulness out in the field even though none of that is true. THE KEY IS TO APPEAR USEFUL. Now, If I were to yell at the reviewers "Hey, You let Grainger do it!" or "Well you let other crap in like the FART apps" well, I think they would just ignore my comment and still reject my Promo App but when I find similar Apps that have been approved and that appear useful and compare my app to them in a positive light I get more traction and approved most of the time. The trick is to not be confrontational but rather to come up with a good argument that explains how my app is useful and unique and how it helps both the company and the customer in ways that a simple website can not. (For my own business I only do Promo Apps and so far I have had all approved) -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Dec 2, 2012, at 12:25 AM, kee nethery wrote: > It is useful to provide the reviewers with everything they need to know about why the app exists, how users will use it, step by step walk throughs, etc. Don't make them try to read your mind, be explicit about what the app does and why it does what it does. > > For example, if this is for a company that is going to have some kind of promotion using QR codes, be sure to mock up what the QR codes are going to be and have them display samples of what will get displayed and show how trying everything together into one app works well for that company customer base. Make it easy for the reviewers to experience the full experience. Even if you have to mock up the data. > > Kee Nethery > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jimschaubeck at yahoo.com Sun Dec 2 14:41:30 2012 From: jimschaubeck at yahoo.com (Jim Schaubeck) Date: Sun, 2 Dec 2012 11:41:30 -0800 (PST) Subject: Does anyone have a copy of the Pop3 Lib that used to be on Sarah's site? Message-ID: <1354477290.68347.YahooMailNeo@web162302.mail.bf1.yahoo.com> Good morning fine folks, Does anyone have a link to the POP3 Lib that used to be posted on Sarah's site?? Thank you much! ? ______________________________________________________________________________________________ ??jim schaubeck?????????????????????????????????????? jimschaubeck at yahoo.com/?714.321.4499 From coiin at verizon.net Sun Dec 2 14:48:38 2012 From: coiin at verizon.net (Colin Holgate) Date: Sun, 02 Dec 2012 14:48:38 -0500 Subject: Does anyone have a copy of the Pop3 Lib that used to be on Sarah's site? In-Reply-To: <1354477290.68347.YahooMailNeo@web162302.mail.bf1.yahoo.com> References: <1354477290.68347.YahooMailNeo@web162302.mail.bf1.yahoo.com> Message-ID: If it helps anyone to find a copy, this was the original URL: http://www.troz.net/rev/stacks/POP_library_demo.rev So, presumably the stack is named "POP_library_demo.rev", and may be on someone's hard drive as we speak! From richmondmathewson at gmail.com Sun Dec 2 15:41:59 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 02 Dec 2012 22:41:59 +0200 Subject: Does anyone have a copy of the Pop3 Lib that used to be on Sarah's site? In-Reply-To: References: <1354477290.68347.YahooMailNeo@web162302.mail.bf1.yahoo.com> Message-ID: <50BBBD17.5020606@gmail.com> On 12/02/2012 09:48 PM, Colin Holgate wrote: > If it helps anyone to find a copy, this was the original URL: > > http://www.troz.net/rev/stacks/POP_library_demo.rev > > So, presumably the stack is named "POP_library_demo.rev", and may be on someone's hard drive as we speak! I went here: http://www.troz.net/rev/stacks/ tried to download POP-library_demo.rev (81kb) and got a 10 kb "thing". all the files on there seem to have been mucked up. Going by this route doesn't seem to be any better: http://www.troz.net/rev/index.irev?category=All#stacks I wonder what has happened to Sarah? > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jimschaubeck at yahoo.com Sun Dec 2 15:50:50 2012 From: jimschaubeck at yahoo.com (Jim Schaubeck) Date: Sun, 2 Dec 2012 12:50:50 -0800 (PST) Subject: Does anyone have a copy of the Pop3 Lib that used to be on Sarah's site? In-Reply-To: References: <1354477290.68347.YahooMailNeo@web162302.mail.bf1.yahoo.com> Message-ID: <1354481450.23879.YahooMailNeo@web162302.mail.bf1.yahoo.com> Colin, That was it !!? I tried your POP_library_demo search on an old PC I used to use and voila! (I did not know the file name) Thank you for that tip! BTW...I have the file if someone would like to post it on a more accessible site for the rest of us ? ______________________________________________________________________________________________ ??jim schaubeck?????????????????????????????????????? jimschaubeck at yahoo.com/?714.321.4499 ________________________________ From: Colin Holgate To: How to use LiveCode Sent: Sunday, December 2, 2012 11:48 AM Subject: Re: Does anyone have a copy of the Pop3 Lib that used to be on Sarah's site? If it helps anyone to find a copy, this was the original URL: http://www.troz.net/rev/stacks/POP_library_demo.rev So, presumably the stack is named "POP_library_demo.rev", and may be on someone's hard drive as we speak! _______________________________________________ use-livecode mailing list use-livecode at 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 Dec 2 19:28:33 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 2 Dec 2012 16:28:33 -0800 Subject: how my book is doing... In-Reply-To: <1354437766496-4657786.post@n4.nabble.com> References: <966EDB4E-4C3A-4416-B33E-85620D1A1FF1@netrin.com> <9B677C87-EBA7-4D12-87F9-2A8C48F15EAA@verizon.net> <1354437766496-4657786.post@n4.nabble.com> Message-ID: On Sunday, December 2, 2012, Peter Alcibiades wrote: > > -- Lyx - a real writing tool, generates proper professionally typeset > LaTex > and Postscript. It also will generate RTF. > > If you haven't used Lyx, its not at all like any other writing tool, in > particular its not WYSIWYG, but people get so comfortable with it in an > hour > or so that they wonder how they can ever have used anything else. And when > they see the quality of the typeset documents it produces with no attention > to anything but writing the content, their reaction is a mixture of > amazement and delight. > LyX was enough that I switched from Mac to unix over it . . . As a Ph.D. Econ student, I wrote so many equations, and I could write from the keyboard *and* edit equations from the keyboard. I added the indexing command (which got removed when something it depended upon got re-written), a mail-merge function, and the license clarification (which a non-lawyer later tossed based on advise from the FSF; but since I think all my code is out, I never bothered) -- Richard E. Hawkins, Esq. (702) 508-8462 From bvlahos at mac.com Mon Dec 3 01:51:09 2012 From: bvlahos at mac.com (Bill Vlahos) Date: Sun, 02 Dec 2012 22:51:09 -0800 Subject: how my book is doing... In-Reply-To: References: <966EDB4E-4C3A-4416-B33E-85620D1A1FF1@netrin.com> <9B677C87-EBA7-4D12-87F9-2A8C48F15EAA@verizon.net> <1354437766496-4657786.post@n4.nabble.com> Message-ID: <91B7747D-46AF-4254-9A49-7F458DFB913A@mac.com> Keep the Mac. http://wiki.lyx.org/Mac/Mac Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. lcTaskList: (http://www.infowallet.com/lctasklist/index.htm) RunRev lcTaskList Forum: (http://forums.runrev.com/viewforum.php?f=61) On Dec 2, 2012, at 4:28 PM, Dr. Hawkins wrote: > On Sunday, December 2, 2012, Peter Alcibiades wrote: > >> >> -- Lyx - a real writing tool, generates proper professionally typeset >> LaTex >> and Postscript. It also will generate RTF. >> >> If you haven't used Lyx, its not at all like any other writing tool, in >> particular its not WYSIWYG, but people get so comfortable with it in an >> hour >> or so that they wonder how they can ever have used anything else. And when >> they see the quality of the typeset documents it produces with no attention >> to anything but writing the content, their reaction is a mixture of >> amazement and delight. >> > > LyX was enough that I switched from Mac to unix over it . . . As a Ph.D. > Econ student, I wrote so many equations, and I could write from the > keyboard *and* edit equations from the keyboard. > > I added the indexing command (which got removed when something it depended > upon got re-written), a mail-merge function, and the license clarification > (which a non-lawyer later tossed based on advise from the FSF; but since I > think all my code is out, I never bothered) > > > > > -- > 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 ambassador at fourthworld.com Mon Dec 3 10:01:56 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 03 Dec 2012 07:01:56 -0800 Subject: Does anyone have a copy of the Pop3 Lib that used to be on Sarah's site? In-Reply-To: <1354481450.23879.YahooMailNeo@web162302.mail.bf1.yahoo.com> References: <1354481450.23879.YahooMailNeo@web162302.mail.bf1.yahoo.com> Message-ID: <50BCBEE4.3000605@fourthworld.com> Jim Schaubeck > Colin wrote: >> If it helps anyone to find a copy, this was the original URL: >> >> http://www.troz.net/rev/stacks/POP_library_demo.rev >> >> So, presumably the stack is named "POP_library_demo.rev", and may be >> on someone's hard drive as we speak! > > Colin, > That was it !! I tried your POP_library_demo search on an old PC I > used to use and voila! (I did not know the file name) > > Thank you for that tip! > > BTW...I have the file if someone would like to post it on a more > accessible site for the rest of us That URL at troz seems to work, but has anyone here contacted Sarah to find out why her LiveCode materials are not more readily available at her site? I couldn't find mention of licensing terms in that stack, and out of respect for copyright I'm generally reluctant to distribute other people's creations without first getting their permission to do so. -- 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 Mon Dec 3 10:34:35 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 3 Dec 2012 07:34:35 -0800 Subject: how my book is doing... In-Reply-To: <91B7747D-46AF-4254-9A49-7F458DFB913A@mac.com> References: <966EDB4E-4C3A-4416-B33E-85620D1A1FF1@netrin.com> <9B677C87-EBA7-4D12-87F9-2A8C48F15EAA@verizon.net> <1354437766496-4657786.post@n4.nabble.com> <91B7747D-46AF-4254-9A49-7F458DFB913A@mac.com> Message-ID: On Sunday, December 2, 2012, Bill Vlahos wrote: > Keep the Mac. > http://wiki.lyx.org/Mac/Mac > I've had it for years :). In fact, it's on most of not all of my macs. but these days, it's mostly legal writing, much of which has to be shared with other lawyers. And no equations. LyX really can do an integral of a matrix full of exponentials and fractions from the keyboard--and navigate it from they keyboard, too. -- Richard E. Hawkins, Esq. (702) 508-8462 From lvhdgc7 at gmail.com Mon Dec 3 11:17:30 2012 From: lvhdgc7 at gmail.com (tbodine) Date: Mon, 3 Dec 2012 08:17:30 -0800 (PST) Subject: how my book is doing... In-Reply-To: References: Message-ID: <1354551450847-4657815.post@n4.nabble.com> Congrats, Colin. I continue to find your book very helpful. I recommend it to the LiveCode community. -- Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/how-my-book-is-doing-tp4657757p4657815.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at lcsql.com Mon Dec 3 13:10:07 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 3 Dec 2012 10:10:07 -0800 Subject: Stack Save As issue Message-ID: Whenever I use the IDE Save As menu item to save a stack in a different file (or do it by script), I get the IDE messages about a stack with the same name as one already in memory being loaded. It seems that the IDE attempts to load the "saved as" version of the stack after saving it. Is anyone else seeing this? It doesn't seem consistent with how Save As works in other programs. This is with LC 5.5.0 Pete lcSQL Software From charles at buchwald.ca Mon Dec 3 13:18:44 2012 From: charles at buchwald.ca (Charles E Buchwald) Date: Mon, 3 Dec 2012 12:18:44 -0600 Subject: Stack Save As issue In-Reply-To: References: Message-ID: <1D146FF6-F992-4C1E-958F-61A2D2F7FC02@buchwald.ca> Yes, I'm seeing that, too. - Charles On 2012-12-03, at 12:10 PM, Peter Haworth wrote: > Whenever I use the IDE Save As menu item to save a stack in a different > file (or do it by script), I get the IDE messages about a stack with the > same name as one already in memory being loaded. It seems that the IDE > attempts to load the "saved as" version of the stack after saving it. > > Is anyone else seeing this? It doesn't seem consistent with how Save As > works in other programs. > > This is with LC 5.5.0 > > 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 -- Charles E. Buchwald http://buchwald.ca Vancouver / Mexico City / NYC Member of the 02 Global Network for Sustainable Design ? Connect on LinkedIn ? Follow me on Twitter From pete at lcsql.com Mon Dec 3 15:36:39 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 3 Dec 2012 12:36:39 -0800 Subject: Interesting wordOffset behavior Message-ID: I'm finding that wordOffset treats comment chars as a word even if they are immediately followed by another character. For example: wordOffset("--","repeat with x=1 to 100 --check something") ...returns 6. I would have expected it to return zero since there is no occurrence of "--" surrounded by spaces or quotes. To add to the plot: put word 6 of "repeat with x=1 to 100 --check something" ...returns "--check" And: wordOffset("--","repeat with x=1 to 100 -- check something") ...also returns 6 (there's a space between the comment chars and "check" in this example). It turns out that this is useful in the context of what I'm doing but whenever I run into what I think is unexpected behavior like this, I'm wary of using it in case it's actually a bug that might get fixed at some point and break my code. Am I being over cautious? Pete lcSQL Software From m.schonewille at economy-x-talk.com Mon Dec 3 15:39:32 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 3 Dec 2012 21:39:32 +0100 Subject: Interesting wordOffset behavior In-Reply-To: References: Message-ID: Hi Pete, It will return 0 if you set the wholeMatches 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 We have time for new software development projects. Contact me for a quote. On 3 dec 2012, at 21:36, Peter Haworth wrote: > I'm finding that wordOffset treats comment chars as a word even if they > are immediately followed by another character. > > For example: > > wordOffset("--","repeat with x=1 to 100 --check something") > > ...returns 6. I would have expected it to return zero since there is > no occurrence of "--" surrounded by spaces or quotes. > > To add to the plot: > > put word 6 of "repeat with x=1 to 100 --check something" > > ...returns "--check" > > And: > > wordOffset("--","repeat with x=1 to 100 -- check something") > > ...also returns 6 (there's a space between the comment chars and "check" in > this example). > > It turns out that this is useful in the context of what I'm doing but > whenever I run into what I think is unexpected behavior like this, I'm wary > of using it in case it's actually a bug that might get fixed at some point > and break my code. > > Am I being over cautious? > > Pete > lcSQL Software From slylabs13 at me.com Mon Dec 3 16:08:42 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Mon, 03 Dec 2012 11:08:42 -1000 Subject: Weird array comparison limitation In-Reply-To: <50BA82FA.1010901@tweedly.net> References: <50B6776C.5050703@tweedly.net> <50BA82FA.1010901@tweedly.net> Message-ID: I agree. Something that ought to work... well, ought to! I think I have dodged the bullet by using a personal development policy where I avoid wherever I can the use of a not equal comparison. I always use not (a = b). I forget why I developed this method, but now I see the problem you are having, who knows how many times it has saved my wazoo? Bob On Dec 1, 2012, at 12:21 PM, Alex Tweedly wrote: > On 01/12/2012 20:09, Robert Sneidar wrote: >> Can't you use not (aArray1 = aArray2)? >> >> Bob >> > Yes, you can *if* you know you need to do that :-) > > I refuse to say how many hours I spent debugging to get to the point where I knew this was the problem. You suspect the likely things first (i.e. that I had made an error somewhere) and the unlikely things last (i.e. that a straightforward conditional test that is accepted and should work would fail). > > And there is no reason why it needs to fail, and intuitively it ought to work - so it's a reasonable request to make. I'll enter it into QCC some day soon .... > > Thanks > -- 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 pete at lcsql.com Mon Dec 3 16:19:28 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 3 Dec 2012 13:19:28 -0800 Subject: Interesting wordOffset behavior In-Reply-To: References: Message-ID: Thanks Mark. I knew there must be a logical explanation for it! Pete lcSQL Software On Mon, Dec 3, 2012 at 12:39 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi Pete, > > It will return 0 if you set the wholeMatches 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 > > We have time for new software development projects. Contact me for a quote. > > > > > On 3 dec 2012, at 21:36, Peter Haworth wrote: > > > I'm finding that wordOffset treats comment chars as a word even if they > > are immediately followed by another character. > > > > For example: > > > > wordOffset("--","repeat with x=1 to 100 --check something") > > > > ...returns 6. I would have expected it to return zero since there is > > no occurrence of "--" surrounded by spaces or quotes. > > > > To add to the plot: > > > > put word 6 of "repeat with x=1 to 100 --check something" > > > > ...returns "--check" > > > > And: > > > > wordOffset("--","repeat with x=1 to 100 -- check something") > > > > ...also returns 6 (there's a space between the comment chars and "check" > in > > this example). > > > > It turns out that this is useful in the context of what I'm doing but > > whenever I run into what I think is unexpected behavior like this, I'm > wary > > of using it in case it's actually a bug that might get fixed at some > point > > and break my code. > > > > Am I being over cautious? > > > > 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 matthias_livecode_150811 at m-r-d.de Mon Dec 3 17:01:01 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 3 Dec 2012 23:01:01 +0100 Subject: App rejected now the 3rd time - because... In-Reply-To: <0F4F0ED2-1A9B-4213-AED4-8DB4663A8556@m-r-d.de> References: <0F4F0ED2-1A9B-4213-AED4-8DB4663A8556@m-r-d.de> Message-ID: Thanks to all for your suggestions. I added now a more detailed english description for the reviewer, although i informed the review board team already after the 2nd rejection about the app and its planned usage. Unfortunately i cannot add more content, because the customer would not pay for that work. If i would put more work in it and it would be rejected again, i would lose more money than i would lose now. Regards, Matthias -- Matthias Rebbe matthias (at) rebbe.tk Tel +49.5741.310000 Tel +49.160.5504462 -- "Life is too short for boring code" Am 02.12.2012 um 00:26 schrieb Matthias Rebbe : > Hi, > > today my new app was rejected the 3rd time. > > The first rejection was because the app was to simple for Apple Review Team. They argued > it was just a browser showing only local content. And apps, that are web sites bundled as apps > may be rejected. > > Btw: The content was a 3D Animation showing my customer?s logo which > the user could rotate left / right by swiping his finger over the screen. > > The app is (now it seems was) planned to be part of a big marketing campaign. > It was intended to be something like a lucky charm, which the user can rotate > like other do rub a "rabbit?s foot" . Is "rub" the correct word for that? > > After talking to our customer they agreed to extend functionality and so i added > Monte?s BarCode Reader external and some other of his externals. The customer already > planned to use QR Codes in his campaign, so this would be a usefull extension for the campaign. > > The user can now scan QR Codes and take appropriate actions after scanning > like sending sms, sending email, do phone call, open an URL in Browser > or add the scanned vCard to the address book. > > But it was rejected again. Now Apple told me, that the UI experience is very important > and that i have to follow their UI design? blah blah blah. > > I then recreated all from scratch. Used Navbars, toolbars and so on. I even optimized > and extended the features of the QR Code reader. > > But again it was rejected, now with this explanation: > > "We found that your app only provides a very limited set of features. > It only include a single animated image as well as an open source code bar code scanner. > While we value simplicity, we consider simplicity to be uncomplicated - not limited in features and functionality. > ? > Apps should provide valuable utility or entertainment, draw people in by offering compelling capabilities or content, > or enable people to do something they couldn't do before or in a way they couldn't do it before." > > Btw.: The "animated image" is a set of 36 images which rotate only when the user swipes of the image using HTML5 and javascript. It is not an animated gif or something. > > I am not sure, if the reviewer is even knowing about the implemented actions after scanning QR Code. Maybe she/he only tested with normal barcodes. > > I responded to this rejection now, explained what features the app now has and asked if the many fart apps in the app store are more useful than our app. > > But anyway I am stumped now and fed up. > > > Matthias > > > -- > Matthias Rebbe > matthias (at) rebbe.tk > Tel +49.5741.310000 > Tel +49.160.5504462 > -- > "Life is too short for boring code" > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 3 17:19:57 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 4 Dec 2012 09:19:57 +1100 Subject: App rejected now the 3rd time - because... In-Reply-To: References: <0F4F0ED2-1A9B-4213-AED4-8DB4663A8556@m-r-d.de> Message-ID: <43BB0884-D307-4159-9FD9-0E8062E80A20@sweattechnologies.com> Hmm... this brings up a point for anyone contracted to get an app into the app store rather than just build an app to client requirements. As app store guidelines are such a shifting target how are people covering themselves in the event the client requirements are not sufficient to meet them? I guess it's down to developers to at least warn clients wanting fairly trivial apps that they may not meet apple guidelines. It's probably a good opportunity for us to get more work when you think about it.... On 04/12/2012, at 9:01 AM, Matthias Rebbe wrote: > Unfortunately i cannot add more content, because the customer would not pay for that work. > If i would put more work in it and it would be rejected again, i would lose more money than > i would lose now. -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From matthias_livecode_150811 at m-r-d.de Mon Dec 3 18:28:55 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 4 Dec 2012 00:28:55 +0100 Subject: App rejected now the 3rd time - because... In-Reply-To: <43BB0884-D307-4159-9FD9-0E8062E80A20@sweattechnologies.com> References: <0F4F0ED2-1A9B-4213-AED4-8DB4663A8556@m-r-d.de> <43BB0884-D307-4159-9FD9-0E8062E80A20@sweattechnologies.com> Message-ID: Am 03.12.2012 um 23:19 schrieb Monte Goulding : > Hmm... this brings up a point for anyone contracted to get an app into the app store rather than just build an app to client requirements. As app store guidelines are such a shifting target how are people covering themselves in the event the client requirements are not sufficient to meet them? I guess it's down to developers to at least warn clients wanting fairly trivial apps that they may not meet apple guidelines. At least that is what i will do in future. > It's probably a good opportunity for us to get more work when you think about it?. > But it could also happen that the customer then will not place an order. But anyway better no order than working for nothing. Matthias -- Matthias Rebbe matthias (at) rebbe.tk Tel +49.5741.310000 Tel +49.160.5504462 -- From monte at sweattechnologies.com Mon Dec 3 18:36:20 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 4 Dec 2012 10:36:20 +1100 Subject: App rejected now the 3rd time - because... In-Reply-To: References: <0F4F0ED2-1A9B-4213-AED4-8DB4663A8556@m-r-d.de> <43BB0884-D307-4159-9FD9-0E8062E80A20@sweattechnologies.com> Message-ID: <1D022962-3B5C-4257-9326-34D209E84657@sweattechnologies.com> >> It's probably a good opportunity for us to get more work when you think about it?. >> > But it could also happen that the customer then will not place an order. > > But anyway better no order than working for nothing. Better not to get the job than deal with a customer that really doesn't want to pay for your work... and if they go with someone else and get rejected then they may come back because you were honest with them. -- 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 Mon Dec 3 19:39:53 2012 From: rabit at revigniter.com (Ralf Bitter) Date: Tue, 4 Dec 2012 01:39:53 +0100 Subject: iOS: Setting defaultFolder seems to be broken - missing project folders in app package Message-ID: <181415D1-5C23-4B5E-BB5D-60E56EDBBED1@revigniter.com> Whenever I build an iOS standalone with LiveCode 5.5.3 (Build 1497) all project folders are missing in the app package, so for example referenced images are not included. Furthermore I noticed that setting the defaultFolder strangely doesn't work anymore with iOS builds. This applies to simulator tests too. It only happens if I start a project from scratch. If I use older LiveCode files created with previous versions of LiveCode all works as expected. Anyone encountered similar behavior and has a recipe? Ralf From slylabs13 at me.com Mon Dec 3 21:27:33 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Mon, 03 Dec 2012 16:27:33 -1000 Subject: Stack Save As issue In-Reply-To: References: Message-ID: Save as a different name. Save as will open the "new" stack in memory, which will conflict with the present stack with the same name. Bob ' On Dec 3, 2012, at 8:10 AM, Peter Haworth wrote: > Whenever I use the IDE Save As menu item to save a stack in a different > file (or do it by script), I get the IDE messages about a stack with the > same name as one already in memory being loaded. It seems that the IDE > attempts to load the "saved as" version of the stack after saving it. > > Is anyone else seeing this? It doesn't seem consistent with how Save As > works in other programs. > > This is with LC 5.5.0 > > 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 slylabs13 at me.com Mon Dec 3 21:28:44 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Mon, 03 Dec 2012 16:28:44 -1000 Subject: Interesting wordOffset behavior In-Reply-To: References: Message-ID: <932448CD-2924-455A-A646-E2C2188C689B@me.com> Wordoffset returns space delimited data. Bob On Dec 3, 2012, at 10:36 AM, Peter Haworth wrote: > I'm finding that wordOffset treats comment chars as a word even if they > are immediately followed by another character. > > For example: > > wordOffset("--","repeat with x=1 to 100 --check something") > > ...returns 6. I would have expected it to return zero since there is > no occurrence of "--" surrounded by spaces or quotes. > > To add to the plot: > > put word 6 of "repeat with x=1 to 100 --check something" > > ...returns "--check" > > And: > > wordOffset("--","repeat with x=1 to 100 -- check something") > > ...also returns 6 (there's a space between the comment chars and "check" in > this example). > > It turns out that this is useful in the context of what I'm doing but > whenever I run into what I think is unexpected behavior like this, I'm wary > of using it in case it's actually a bug that might get fixed at some point > and break my code. > > Am I being over cautious? > > 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 brahma at hindu.org Mon Dec 3 21:36:44 2012 From: brahma at hindu.org (Brahmanathaswami) Date: Mon, 03 Dec 2012 16:36:44 -1000 Subject: Calling Live Code form inside Word Press Message-ID: <50BD61BC.10800@hindu.org> Tomorrow or the next day we will be releasing our new web site. 95% RevIgniter/livecode with /blog running Word Press on the same public_html folder.. it would be really cool if we could invoke live code functions from inside Word Press... I wonder, has anyone tried setting up .lc functions on RevServer and then calling these from inside PHP? Om Shanti Brahmanathaswami Kauai Aadheenam From rdimola at evergreeninfo.net Mon Dec 3 21:47:48 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 3 Dec 2012 21:47:48 -0500 Subject: Stack Save As issue In-Reply-To: References: Message-ID: <00a101cdd1c9$bf4c9030$3de5b090$@net> Pete, Same Here. I have resigned to closing then re-opening LC whenever I do a Save As, 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 Peter Haworth Sent: Monday, December 03, 2012 1:10 PM To: How to use LiveCode Subject: Stack Save As issue Whenever I use the IDE Save As menu item to save a stack in a different file (or do it by script), I get the IDE messages about a stack with the same name as one already in memory being loaded. It seems that the IDE attempts to load the "saved as" version of the stack after saving it. Is anyone else seeing this? It doesn't seem consistent with how Save As works in other programs. This is with LC 5.5.0 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 monte at sweattechnologies.com Mon Dec 3 22:12:01 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 4 Dec 2012 14:12:01 +1100 Subject: Calling Live Code form inside Word Press In-Reply-To: <50BD61BC.10800@hindu.org> References: <50BD61BC.10800@hindu.org> Message-ID: Try something like this: $contents = file_get_contents('http://example.com/revigniter/path/to/some/function/with/some/parameters'); On 04/12/2012, at 1:36 PM, Brahmanathaswami wrote: > Tomorrow or the next day we will be releasing our new web site. 95% RevIgniter/livecode with /blog running Word Press on the same public_html folder.. > > it would be really cool if we could invoke live code functions from inside Word Press... I wonder, has anyone tried setting up .lc functions on RevServer and then calling these from inside PHP? > > Om Shanti > > Brahmanathaswami > Kauai Aadheenam > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 coiin at verizon.net Mon Dec 3 22:13:22 2012 From: coiin at verizon.net (Colin Holgate) Date: Mon, 03 Dec 2012 22:13:22 -0500 Subject: a new book idea... Message-ID: <912B4180-66C1-4372-BFAE-6173CD0BE780@verizon.net> I'm talking with Packt about another LiveCode book. I don't have the time, or the knowledge, to cover all that it needs to be, but I could organize the chapters, if they are written by other people! In theory the nature of the book would be to have a set of chapters that cover one application per chapter. I'm not sure that is practical, it could take a book to describe a whole commercial application, and a chapter may be way too long to describe one or two basic techniques. So, I was thinking , that if some of you that have done full applications are interested, you could write about one or two of the main techniques used in the application, and use the chapter to explain those basic techniques, and hopefully promote your overall application a little bit. I have in mind a few people who would be ideal for this, and features that they could write about, but first would any of you like to volunteer? For anyone else who might be interested in such a book, what main topics would you like to see described in a book? Here's an example of how a chapter might be: Datagrids. Everything you wanted to know, and more! Then, copious tips on making datagrids scroll smoothly on mobile devices. I don't believe the book needs to be mobile specific, so any topics that you think would be of general interest could be in there. If there are say 10 people who write chapters, I can promise you that you won't early much money from doing it! But, hopefully you'll get a few more app sales. From pmbrig at gmail.com Mon Dec 3 22:34:46 2012 From: pmbrig at gmail.com (Peter M. Brigham) Date: Mon, 3 Dec 2012 22:34:46 -0500 Subject: Interesting wordOffset behavior In-Reply-To: <932448CD-2924-455A-A646-E2C2188C689B@me.com> References: <932448CD-2924-455A-A646-E2C2188C689B@me.com> Message-ID: <67750FA0-71A0-4E17-84BC-05034EF0E931@gmail.com> Yeah, it doesn't really behave properly. If you do put word 2 of "one" & tab & "two" & tab & "three" you get twothree and put word 2 of "one" & cr & "two" & cr & "three" gives you twothree It really should consider any white space as a word delimiter. Sigh. Probably Richard Gaskin can tell us the history behind this, clearly a leftover from HC. Meanwhile you can roll your own: function whichWord tString, wordNbr replace cr with space in tString replace tab with space in tString return word wordNbr of tString end whichWord -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Dec 3, 2012, at 9:28 PM, Robert Sneidar wrote: > Wordoffset returns space delimited data. > > Bob > > > On Dec 3, 2012, at 10:36 AM, Peter Haworth wrote: > >> I'm finding that wordOffset treats comment chars as a word even if they >> are immediately followed by another character. >> >> For example: >> >> wordOffset("--","repeat with x=1 to 100 --check something") >> >> ...returns 6. I would have expected it to return zero since there is >> no occurrence of "--" surrounded by spaces or quotes. >> >> To add to the plot: >> >> put word 6 of "repeat with x=1 to 100 --check something" >> >> ...returns "--check" >> >> And: >> >> wordOffset("--","repeat with x=1 to 100 -- check something") >> >> ...also returns 6 (there's a space between the comment chars and "check" in >> this example). >> >> It turns out that this is useful in the context of what I'm doing but >> whenever I run into what I think is unexpected behavior like this, I'm wary >> of using it in case it's actually a bug that might get fixed at some point >> and break my code. >> >> Am I being over cautious? >> >> 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 pmbrig at gmail.com Mon Dec 3 22:38:18 2012 From: pmbrig at gmail.com (Peter M. Brigham) Date: Mon, 3 Dec 2012 22:38:18 -0500 Subject: Stack Save As issue In-Reply-To: References: Message-ID: <030FF4F0-04EF-4A56-B2AA-D60CDDCD47D9@gmail.com> The problem with this tack is that often you will have stack references in your scripts that will break. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Dec 3, 2012, at 9:27 PM, Robert Sneidar wrote: > Save as a different name. Save as will open the "new" stack in memory, which will conflict with the present stack with the same name. > > Bob > ' > > On Dec 3, 2012, at 8:10 AM, Peter Haworth wrote: > >> Whenever I use the IDE Save As menu item to save a stack in a different >> file (or do it by script), I get the IDE messages about a stack with the >> same name as one already in memory being loaded. It seems that the IDE >> attempts to load the "saved as" version of the stack after saving it. >> >> Is anyone else seeing this? It doesn't seem consistent with how Save As >> works in other programs. >> >> This is with LC 5.5.0 >> >> 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 revdev at pdslabs.net Tue Dec 4 00:12:45 2012 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 03 Dec 2012 21:12:45 -0800 Subject: set imageSource of text in Data Grid? Message-ID: <50BD864D.1060207@pdslabs.net> Hi folks - Let's say I have a data grid containing a list of tasks, where each line has two columns - col 1 is the task description and col 2 is a space character. As each task completes, I want my code to set the imageSource of col 2 of that line to the ID of a little "checkmark" image. I feel sure this can be done, I'm just not sure how to approach it. Your ideas are most welcome! -- Phil Davis From revdev at pdslabs.net Tue Dec 4 02:34:39 2012 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 03 Dec 2012 23:34:39 -0800 Subject: set imageSource of text in Data Grid? In-Reply-To: <50BD864D.1060207@pdslabs.net> References: <50BD864D.1060207@pdslabs.net> Message-ID: <50BDA78F.4070503@pdslabs.net> Thanks to Glen Bojsza off-list for getting me started in the right direction. Here is what I did in the column behavior script, assuming pData is either a space or an image ID: on FillInData pData -- This message is sent when the Data Grid needs to populate -- this template with the column data. pData is the value to be displayed. -- Example: --set the text of field 1 of me to pData if pData is a number then set text of fld 1 of me to space set the imageSource of char 1 of fld 1 of me to pData else set text of fld 1 of me to pData end if end FillInData Thanks - Phil Davis On 12/3/12 9:12 PM, Phil Davis wrote: > Hi folks - > > Let's say I have a data grid containing a list of tasks, where each > line has two columns - col 1 is the task description and col 2 is a > space character. As each task completes, I want my code to set the > imageSource of col 2 of that line to the ID of a little "checkmark" > image. I feel sure this can be done, I'm just not sure how to approach > it. > > Your ideas are most welcome! > -- Phil Davis From rabit at revigniter.com Tue Dec 4 03:32:20 2012 From: rabit at revigniter.com (Ralf Bitter) Date: Tue, 4 Dec 2012 09:32:20 +0100 Subject: iOS: Setting defaultFolder seems to be broken - missing project folders in app package In-Reply-To: <181415D1-5C23-4B5E-BB5D-60E56EDBBED1@revigniter.com> References: <181415D1-5C23-4B5E-BB5D-60E56EDBBED1@revigniter.com> Message-ID: <0343D6D0-7B43-487A-8C24-5C2A83DE3DB4@revigniter.com> Just to clarify: setting the defaultFolder seemingly not working relates to the fact that folders are not copied to the app package. Of course, setting the defaultFolder to a nonexistent folder does nothing. So, the question is what could be the reason for missing folders in iOS standalones? Ralf On 04.12.2012, at 01:39, Ralf Bitter wrote: > > Whenever I build an iOS standalone with LiveCode 5.5.3 (Build 1497) all project > folders are missing in the app package, so for example referenced images are not > included. Furthermore I noticed that setting the defaultFolder strangely doesn't work > anymore with iOS builds. This applies to simulator tests too. > > It only happens if I start a project from scratch. If I use older LiveCode files > created with previous versions of LiveCode all works as expected. > > Anyone encountered similar behavior and has a recipe? > > > Ralf > From alex at tweedly.net Tue Dec 4 05:33:26 2012 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 04 Dec 2012 10:33:26 +0000 Subject: Interesting wordOffset behavior In-Reply-To: <67750FA0-71A0-4E17-84BC-05034EF0E931@gmail.com> References: <932448CD-2924-455A-A646-E2C2188C689B@me.com> <67750FA0-71A0-4E17-84BC-05034EF0E931@gmail.com> Message-ID: <50BDD176.20503@tweedly.net> try put word 2 of ("one"& tab& "two"& tab& "three") What you are getting is word 2 of "one" followed by tab& "two"& tab& "three" -- Alex. On 04/12/2012 03:34, Peter M. Brigham wrote: > Yeah, it doesn't really behave properly. If you do > put word 2 of "one"& tab& "two"& tab& "three" > you get > twothree > and > put word 2 of "one"& cr& "two"& cr& "three" > gives you > twothree > > It really should consider any white space as a word delimiter. Sigh. > Probably Richard Gaskin can tell us the history behind this, clearly a > leftover from HC. Meanwhile you can roll your own: > > function whichWord tString, wordNbr > replace cr with space in tString > replace tab with space in tString > return word wordNbr of tString > end whichWord > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > > On Dec 3, 2012, at 9:28 PM, Robert Sneidar wrote: > >> Wordoffset returns space delimited data. >> >> Bob >> >> >> On Dec 3, 2012, at 10:36 AM, Peter Haworth wrote: >> >>> I'm finding that wordOffset treats comment chars as a word even if they >>> are immediately followed by another character. >>> >>> For example: >>> >>> wordOffset("--","repeat with x=1 to 100 --check something") >>> >>> ...returns 6. I would have expected it to return zero since there is >>> no occurrence of "--" surrounded by spaces or quotes. >>> >>> To add to the plot: >>> >>> put word 6 of "repeat with x=1 to 100 --check something" >>> >>> ...returns "--check" >>> >>> And: >>> >>> wordOffset("--","repeat with x=1 to 100 -- check something") >>> >>> ...also returns 6 (there's a space between the comment chars and >>> "check" in >>> this example). >>> >>> It turns out that this is useful in the context of what I'm doing but >>> whenever I run into what I think is unexpected behavior like this, >>> I'm wary >>> of using it in case it's actually a bug that might get fixed at some >>> point >>> and break my code. >>> >>> Am I being over cautious? >>> >>> 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 pmbrig at gmail.com Tue Dec 4 08:43:59 2012 From: pmbrig at gmail.com (Peter M. Brigham) Date: Tue, 4 Dec 2012 08:43:59 -0500 Subject: Interesting wordOffset behavior In-Reply-To: <50BDD176.20503@tweedly.net> References: <932448CD-2924-455A-A646-E2C2188C689B@me.com> <67750FA0-71A0-4E17-84BC-05034EF0E931@gmail.com> <50BDD176.20503@tweedly.net> Message-ID: <3812FE7F-2D2D-4BAF-BD66-E3EE3E1E7A2C@gmail.com> Ah! Caught again by not using parens. Evaluation order is one of the things that I miss sometimes. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Dec 4, 2012, at 5:33 AM, Alex Tweedly wrote: > try > > put word 2 of ("one"& tab& "two"& tab& "three") > > What you are getting is > word 2 of "one" > followed by > tab& "two"& tab& "three" > > > -- Alex. > > > > On 04/12/2012 03:34, Peter M. Brigham wrote: >> Yeah, it doesn't really behave properly. If you do >> put word 2 of "one"& tab& "two"& tab& "three" >> you get >> twothree >> and >> put word 2 of "one"& cr& "two"& cr& "three" >> gives you >> twothree >> >> It really should consider any white space as a word delimiter. Sigh. Probably Richard Gaskin can tell us the history behind this, clearly a leftover from HC. Meanwhile you can roll your own: >> >> function whichWord tString, wordNbr >> replace cr with space in tString >> replace tab with space in tString >> return word wordNbr of tString >> end whichWord >> >> -- Peter >> >> Peter M. Brigham >> pmbrig at gmail.com >> http://home.comcast.net/~pmbrig >> >> >> On Dec 3, 2012, at 9:28 PM, Robert Sneidar wrote: >> >>> Wordoffset returns space delimited data. >>> >>> Bob >>> >>> >>> On Dec 3, 2012, at 10:36 AM, Peter Haworth wrote: >>> >>>> I'm finding that wordOffset treats comment chars as a word even if they >>>> are immediately followed by another character. >>>> >>>> For example: >>>> >>>> wordOffset("--","repeat with x=1 to 100 --check something") >>>> >>>> ...returns 6. I would have expected it to return zero since there is >>>> no occurrence of "--" surrounded by spaces or quotes. >>>> >>>> To add to the plot: >>>> >>>> put word 6 of "repeat with x=1 to 100 --check something" >>>> >>>> ...returns "--check" >>>> >>>> And: >>>> >>>> wordOffset("--","repeat with x=1 to 100 -- check something") >>>> >>>> ...also returns 6 (there's a space between the comment chars and "check" in >>>> this example). >>>> >>>> It turns out that this is useful in the context of what I'm doing but >>>> whenever I run into what I think is unexpected behavior like this, I'm wary >>>> of using it in case it's actually a bug that might get fixed at some point >>>> and break my code. >>>> >>>> Am I being over cautious? >>>> >>>> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 4 10:51:25 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 04 Dec 2012 07:51:25 -0800 Subject: a new book idea... In-Reply-To: <912B4180-66C1-4372-BFAE-6173CD0BE780@verizon.net> References: <912B4180-66C1-4372-BFAE-6173CD0BE780@verizon.net> Message-ID: <50BE1BFD.6050405@fourthworld.com> Colin Holgate wrote: > I'm talking with Packt about another LiveCode book. I don't have > the time, or the knowledge, to cover all that it needs to be, but > I could organize the chapters, if they are written by other people! > > In theory the nature of the book would be to have a set of chapters > that cover one application per chapter. I'm not sure that is > practical, it could take a book to describe a whole commercial > application, and a chapter may be way too long to describe one or > two basic techniques. > > So, I was thinking , that if some of you that have done full > applications are interested, you could write about one or two of > the main techniques used in the application, and use the chapter > to explain those basic techniques, and hopefully promote your overall > application a little bit. A few of us have been kicking this idea around a bit over the last few years, inspired by "Tricks of the HyperTalk Masters", one of the most useful books in xTalk history. But given that book money is slim and divvying up book money among multiple authors that much slimmer, it's been hard for us to justify the time away from client projects to do it. Since any money would be negligible anyway, we've pondered giving such a book away for free, at last a viable option in this post-printing world where distribution costs approach zero. While a free book would reach the largest possible audience, of course that doesn't make it any easier to justify the time for most of the folks I've talked to -- but I'm a crazy person so it works well for me. :) For myself, an ever-growing portion of the tools that drive my business are free and open (these days almost everything except OS X and LiveCode), so I'm quite motivated to pay some of that forward with similarly free works. I'd be happy to contribute a chapter at no cost to the publisher if the publisher were in a position to release the book under similar terms. Perhaps it could be justified by including ads for other publications the publisher offers, or just a way to introduce a new audience to the brand. If a free book wouldn't interest them at all, I'd still be interested in contributing depending on the schedule. Thanks for posting this. It would be good to finally see a "Tricks of the HyperTalk" masters for the LiveCode world. -- 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 Dec 4 11:04:09 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 04 Dec 2012 08:04:09 -0800 Subject: Interesting wordOffset behavior In-Reply-To: <67750FA0-71A0-4E17-84BC-05034EF0E931@gmail.com> References: <67750FA0-71A0-4E17-84BC-05034EF0E931@gmail.com> Message-ID: <50BE1EF9.2060208@fourthworld.com> Peter M. Brigham wrote: > Probably Richard Gaskin can tell us the history behind this, > clearly a leftover from HC. No doubt. I got nothing on this one specifically, other than the precedence order Alex noted. While this is a common side-effect of a flexible left-to-right parser, easily made more precise with parens, I do find that most of the head-scratchers in the language were holdovers from the HyperTalk era. For all their reputation of having crafted something remembered as being "easy to use", the HyperTalk team's frequent exceptions to their own rules have led to years of confusion in every dialect that's adopted them. My personal favorite example is allowing property syntax for functions (e.g., "the acos of " vs. "acos()"), but LiveCode is not without its own unique anomalies, like the "destroyStack" property which doesn't actually destroy the stack at all, or the "delete stack" command which does two very different things depending on whether it's used on a mainStack or a substack. xTalks are funky this way. Thankfully they provide enough utility to more than make up for the unnecessarily difficult learning curve. -- 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 docrosli at yahoo.com Tue Dec 4 11:39:27 2012 From: docrosli at yahoo.com (Rosli Hassan) Date: Tue, 4 Dec 2012 08:39:27 -0800 (PST) Subject: No subject Message-ID: <1354639167.72046.YahooMailNeo@web125704.mail.ne1.yahoo.com> http://memorableapps.com/blog/travel/26nmvcj9.php From pete at lcsql.com Tue Dec 4 12:04:52 2012 From: pete at lcsql.com (Peter Haworth) Date: Tue, 4 Dec 2012 09:04:52 -0800 Subject: Interesting wordOffset behavior In-Reply-To: <50BE1EF9.2060208@fourthworld.com> References: <67750FA0-71A0-4E17-84BC-05034EF0E931@gmail.com> <50BE1EF9.2060208@fourthworld.com> Message-ID: How about the topLeft, which is actually the left followed by the top. Pete On Dec 4, 2012 8:04 AM, "Richard Gaskin" wrote: > > My personal favorite example is allowing property syntax for functions > (e.g., "the acos of " vs. "acos()"), but LiveCode is not > without its own unique anomalies, like the "destroyStack" property which > doesn't actually destroy the stack at all, or the "delete stack" command > which does two very different things depending on whether it's used on a > mainStack or a substack. > > > From rodmccall491 at gmail.com Tue Dec 4 12:40:08 2012 From: rodmccall491 at gmail.com (Rod McCall) Date: Tue, 4 Dec 2012 18:40:08 +0100 Subject: Running Livecode apps on Microsoft Surface In-Reply-To: References: <4290F407-6073-4396-923D-89A6A9AC080D@wanadoo.fr> Message-ID: Hi, If you are after an alternative to the suface which is multiplatform you should check out www.multitaction.com we have one of their tables and I previously worked on a project where one was installed in the middle of Helsinki for some years - including during the rather cold winter there. In general they are robust and you can decide whether you prefer Mac OS, Windows or Linux... Cheers, rod On 19 November 2012 23:22, Roger Eller wrote: > Poor guy... :( But hey, at least he's not alone, right? According to > Steve Jobs frome another demo, once upon a time: "It's pretty awesome when > it works." > > http://www.youtube.com/watch?v=vzDDO3Xb_QU > > ~Roger > > > On Mon, Nov 19, 2012 at 4:47 PM, Andrew Kluthe wrote: > > > http://www.youtube.com/watch?v=oTrWPqS4Kxk > > > > My favorite clip from the keynote. I have much empathy for this man at > > this moment. Too often have bugs waited to appear while demonstrating > > something to someone important. > > > > -- > > 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 simplsol at aol.com Tue Dec 4 13:17:07 2012 From: simplsol at aol.com (Paul Looney) Date: Tue, 4 Dec 2012 10:17:07 -0800 Subject: [Reminder] SoCal LUG Thursday Message-ID: <6F122776-D264-4C4B-BAEC-A91F01534263@aol.com> LiveCode Users, The December Southern California LiveCode User Group meeting will be held this Thursday at 7:00 PM. Directions and additional information: http://forums.runrev.com/viewforum.php?f=50 For this meeting we ask all attendees to bring one "Tip, Trick, or Trap" learned from using LiveCode. There will be a brief demonstration of the SS C/S database and lots of time for conversation. Paul Looney From scott at tactilemedia.com Tue Dec 4 13:21:34 2012 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 04 Dec 2012 10:21:34 -0800 Subject: [OT] Sailfish - Mobile Alternative Message-ID: This won't affect LiveCode any time soon, thus the OT, but as a point of mobile development interest, folks might be interested in taking a look at startup Jolla (http://www.jolla.com) who is creating an open source mobile OS called Sailfish (https://sailfishos.org/wiki/Main_Page). The company (mostly ex-Nokia) is getting some US press at the moment, perhaps due to Apple/Google fatigue, and is intent on creating an alternative to iOS/Android. The SDK appears to be tied to or based on Qt. Also, for anyone in the San Francisco Bay Area, Jolla will be talking about Sailfish OS in Santa Clara from 7-9PM tomorrow evening as part of Qt DeveloperDays (http://www.qtdeveloperdays.com/northamerica/). Regards, Scott Rossi Creative Director Tactile Media, UX Design From pete at lcsql.com Tue Dec 4 13:36:05 2012 From: pete at lcsql.com (Peter Haworth) Date: Tue, 4 Dec 2012 10:36:05 -0800 Subject: Stack Save As issue In-Reply-To: <00a101cdd1c9$bf4c9030$3de5b090$@net> References: <00a101cdd1c9$bf4c9030$3de5b090$@net> Message-ID: I've entered this into the QCC as bug# 10581. Pete lcSQL Software On Mon, Dec 3, 2012 at 6:47 PM, Ralph DiMola wrote: > Pete, > > Same Here. I have resigned to closing then re-opening LC whenever I do a > Save As, > > 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 Peter Haworth > Sent: Monday, December 03, 2012 1:10 PM > To: How to use LiveCode > Subject: Stack Save As issue > > Whenever I use the IDE Save As menu item to save a stack in a different > file > (or do it by script), I get the IDE messages about a stack with the same > name as one already in memory being loaded. It seems that the IDE attempts > to load the "saved as" version of the stack after saving it. > > Is anyone else seeing this? It doesn't seem consistent with how Save As > works in other programs. > > This is with LC 5.5.0 > > 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 slylabs13 at me.com Tue Dec 4 13:44:57 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Tue, 04 Dec 2012 08:44:57 -1000 Subject: No subject In-Reply-To: <1354639167.72046.YahooMailNeo@web125704.mail.ne1.yahoo.com> References: <1354639167.72046.YahooMailNeo@web125704.mail.ne1.yahoo.com> Message-ID: <384B2101-397A-4CBF-BB63-A518F0752271@me.com> This is spam (of course). Please banhammer this guy. Bob On Dec 4, 2012, at 6:39 AM, Rosli Hassan wrote: > http://memorableapps.com/blog/travel/26nmvcj9.php From richmondmathewson at gmail.com Tue Dec 4 14:23:13 2012 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 04 Dec 2012 21:23:13 +0200 Subject: No subject In-Reply-To: <384B2101-397A-4CBF-BB63-A518F0752271@me.com> References: <1354639167.72046.YahooMailNeo@web125704.mail.ne1.yahoo.com> <384B2101-397A-4CBF-BB63-A518F0752271@me.com> Message-ID: <50BE4DA1.1070300@gmail.com> On 12/04/2012 08:44 PM, Robert Sneidar wrote: > This is spam (of course). Please banhammer this guy. > > Bob > > > On Dec 4, 2012, at 6:39 AM, Rosli Hassan wrote: > >> http://memorableapps.com/blog/travel/26nmvcj9.php > Quite clever Spam, as, when I opened that page it craftily inserted the name of the town where I stay (Plovdiv, Bulgaria) all over the place. The "only" problem is that the place is not full of people with Irish names . . . LOL. And, even if it were true, would you want to make your living hunched over a computer all day? OOPS, I forgot, a lot of people on this use-list make their livings exactly like that (and some of the rest of us are daft enough to aspire towards that). Anyway, it would be rather nice if Heather could exclude 'Rosli Hassan' from the list. Richmond. From jacque at hyperactivesw.com Tue Dec 4 15:58:37 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 04 Dec 2012 14:58:37 -0600 Subject: No subject In-Reply-To: <50BE4DA1.1070300@gmail.com> References: <1354639167.72046.YahooMailNeo@web125704.mail.ne1.yahoo.com> <384B2101-397A-4CBF-BB63-A518F0752271@me.com> <50BE4DA1.1070300@gmail.com> Message-ID: <50BE63FD.2000905@hyperactivesw.com> On 12/4/12 1:23 PM, Richmond wrote: > Anyway, it would be rather nice if Heather could exclude 'Rosli Hassan' > from the list. It's more likely that he got a virus that is sending the spam and he is unaware of it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Tue Dec 4 16:32:07 2012 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 04 Dec 2012 23:32:07 +0200 Subject: No subject In-Reply-To: <50BE63FD.2000905@hyperactivesw.com> References: <1354639167.72046.YahooMailNeo@web125704.mail.ne1.yahoo.com> <384B2101-397A-4CBF-BB63-A518F0752271@me.com> <50BE4DA1.1070300@gmail.com> <50BE63FD.2000905@hyperactivesw.com> Message-ID: <50BE6BD7.9000700@gmail.com> On 12/04/2012 10:58 PM, J. Landman Gay wrote: > On 12/4/12 1:23 PM, Richmond wrote: > >> Anyway, it would be rather nice if Heather could exclude 'Rosli Hassan' >> from the list. > > It's more likely that he got a virus that is sending the spam and he > is unaware of it. > I wonder how often Rosli Hassan checks the use-list? From jhj at jhj.com Tue Dec 4 17:05:05 2012 From: jhj at jhj.com (Jerry Jensen) Date: Tue, 4 Dec 2012 14:05:05 -0800 Subject: spam In-Reply-To: <50BE63FD.2000905@hyperactivesw.com> References: <1354639167.72046.YahooMailNeo@web125704.mail.ne1.yahoo.com> <384B2101-397A-4CBF-BB63-A518F0752271@me.com> <50BE4DA1.1070300@gmail.com> <50BE63FD.2000905@hyperactivesw.com> Message-ID: <6D4B4430-AF6B-4DE4-BF50-C01B40DF34D7@jhj.com> On Dec 4, 2012, at 12:58 PM, J. Landman Gay wrote: > On 12/4/12 1:23 PM, Richmond wrote: > >> Anyway, it would be rather nice if Heather could exclude 'Rosli Hassan' >> from the list. > > It's more likely that he got a virus that is sending the spam and he is unaware of it. Yet another yahoo account that was compromised. Probably a guessed password. So far, every case I've seen like that was fixed by simply changing passwords. Hopefully to a better one. It looks like the message was sent to everybody in his address book, so I think he'll hear about it! BTW, thats his online address book at yahoo, which is yet another BAD IDEA. .Jerry From coiin at verizon.net Tue Dec 4 19:46:01 2012 From: coiin at verizon.net (Colin Holgate) Date: Tue, 04 Dec 2012 19:46:01 -0500 Subject: a new book idea... In-Reply-To: <50BE1BFD.6050405@fourthworld.com> References: <912B4180-66C1-4372-BFAE-6173CD0BE780@verizon.net> <50BE1BFD.6050405@fourthworld.com> Message-ID: <1A773962-A272-4338-824F-6353E4D5E5A6@verizon.net> Perhaps they would allow that on a chapter basis? That is, for anyone who wanted to write a chapter that was public domain, it would be in the book and also online somewhere. For anyone hoping to get enough money to pay for the time it takes, that chapter would just be in the book. I've had one contact off list about a chapter on SQL. I could write one about imagedata. What other topics would be right for LiveCode? I looked at the one for HyperCard, and the subjects are more narrow. or possibly not applicable for LiveCode. On Dec 4, 2012, at 10:51 AM, Richard Gaskin wrote: > >I'd be happy to contribute a chapter at no cost to the publisher if the publisher were in a position to release the book under similar terms. From ambassador at fourthworld.com Tue Dec 4 20:07:28 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 04 Dec 2012 17:07:28 -0800 Subject: a new book idea... In-Reply-To: <1A773962-A272-4338-824F-6353E4D5E5A6@verizon.net> References: <1A773962-A272-4338-824F-6353E4D5E5A6@verizon.net> Message-ID: <50BE9E50.10807@fourthworld.com> Colin Holgate wrote: > Perhaps they would allow that on a chapter basis? That is, for anyone > who wanted to write a chapter that was public domain, it would be in > the book and also online somewhere. I like it. Good thinking, Colin. I'd be up for a chapter on general performance optimization, or behaviors, possibly others. Feel free to write me off-list if any of that may be of interest. -- 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 slylabs13 at me.com Tue Dec 4 21:57:42 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Tue, 04 Dec 2012 16:57:42 -1000 Subject: Microsoft Database Structure Message-ID: Anyone have any experience in importing a Microsoft Works Database (WDB) file? My father has a number of these files, and wants to try to move to a Macintosh workstation, but his ball and chain is a number of works databases that apparently there is no OS X application that will open/convert in a way he can work with. I could write him a simple application that can read any works db I give it and convert it to an LC sqLite format, if I knew how to parse a WDB file at low level. I can look at the low level data myself, but if someone has done the work already, I would be willing to send a bit-o-cash his way. Bob From monte at sweattechnologies.com Tue Dec 4 22:12:04 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 5 Dec 2012 14:12:04 +1100 Subject: Microsoft Database Structure In-Reply-To: References: Message-ID: On 05/12/2012, at 1:57 PM, Robert Sneidar wrote: > Anyone have any experience in importing a Microsoft Works Database (WDB) file? My father has a number of these files, and wants to try to move to a Macintosh workstation, but his ball and chain is a number of works databases that apparently there is no OS X application that will open/convert in a way he can work with. > > I could write him a simple application that can read any works db I give it and convert it to an LC sqLite format, if I knew how to parse a WDB file at low level. I can look at the low level data myself, but if someone has done the work already, I would be willing to send a bit-o-cash his way. I'd say Curry's your man but you might want to just check for tab delimited or CSV file export. Not sure if you can find an ODBC driver.... google. Cheers -- 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 Tue Dec 4 22:15:25 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 4 Dec 2012 19:15:25 -0800 Subject: GLX2 3.0.13 now available Message-ID: <881724361734.20121204191525@ahsoftware.net> All- 2012.12.04 GLX2 3.0.13 is now available for download at https://bitbucket.org/mwieder/glx2/downloads new features Version control can now be disabled on an individual stack basis. This sets the stack's custom property uRIP["glx2VersionControl"] to "never". If you change your mind and want to put a stack under version control after disabling it from control, delete this custom property. Quoted strings that aren't properly closed will now highlight the entire line in red. The Watched Variables right-click plugin now launches PowerDebug's Watched Variables editor stack to allow for conditional breakpoints. Containers are now colorized. Colors are the same as for control keywords for now. known issues Live Colorization doesn't work inside block comments. Macro processing was causing some problems, and I'm not sure anyone actually used it, so it's been deprecated. Features that have been deprecated/removed from glx2 are now in the "extras" folder. It's part of the legacy code, so I didn't want to just dump them, but they're in unknown state and not recommended. bugs fixed Inserting the "--> all handlers" line into text incorrectly placed the cursor at the end of that line instead of the end of text. ExplicitVars wasn't being picked up properly from the IDE setting. Might not work with MetaCard. Formatting a handler's parameters messed up following lines in the handler if a continuation char existed. A period would close the clairvoyance popup window. Live colorization recognized "--" but not "-- " (with a trailing space). Uncommenting a line of text would lose its colorization. Formatting issues with "&", "<" and ">" embedded in text being deleted or mangled. The outline block wasn't scrolling correctly with the text all the time. Multiple split screens are now more stable. -- -Mark Wieder mwieder at ahsoftware.net From peterwawood at gmail.com Tue Dec 4 22:22:47 2012 From: peterwawood at gmail.com (Peter W A Wood) Date: Wed, 5 Dec 2012 11:22:47 +0800 Subject: Microsoft Database Structure In-Reply-To: References: Message-ID: <05B5DCB5-6B74-43CE-ADCD-2C398AD79B3C@gmail.com> According to this you can export the data to Excel - http://support.microsoft.com/kb/78792 Hope this helps Peter On 5 Dec 2012, at 10:57, Robert Sneidar wrote: > Anyone have any experience in importing a Microsoft Works Database (WDB) file? My father has a number of these files, and wants to try to move to a Macintosh workstation, but his ball and chain is a number of works databases that apparently there is no OS X application that will open/convert in a way he can work with. > > I could write him a simple application that can read any works db I give it and convert it to an LC sqLite format, if I knew how to parse a WDB file at low level. I can look at the low level data myself, but if someone has done the work already, I would be willing to send a bit-o-cash his way. > > Bob > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From slylabs13 at me.com Tue Dec 4 22:59:28 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Tue, 04 Dec 2012 17:59:28 -1000 Subject: Microsoft Database Structure In-Reply-To: References: Message-ID: <85770CC9-DB8F-491B-BF27-D5744CE5C920@me.com> Thanks Monte. I could do that easily, but as is my wont, I usually think beyond the present problem to a more universal solution. I was hoping to write a utility that could read ANY WDB file and produce an sqLite database equivalent. That may be too ambitious if google searches on WDB data definitions is any indication. I get the impression that Microsoft didn't release any information about the file structure, perhaps because it was similar to Access database structure, and that is still something they support. Bob On Dec 4, 2012, at 5:12 PM, Monte Goulding wrote: > > On 05/12/2012, at 1:57 PM, Robert Sneidar wrote: > >> Anyone have any experience in importing a Microsoft Works Database (WDB) file? My father has a number of these files, and wants to try to move to a Macintosh workstation, but his ball and chain is a number of works databases that apparently there is no OS X application that will open/convert in a way he can work with. >> >> I could write him a simple application that can read any works db I give it and convert it to an LC sqLite format, if I knew how to parse a WDB file at low level. I can look at the low level data myself, but if someone has done the work already, I would be willing to send a bit-o-cash his way. > > > I'd say Curry's your man but you might want to just check for tab delimited or CSV file export. Not sure if you can find an ODBC driver.... google. > > Cheers From slylabs13 at me.com Tue Dec 4 23:00:08 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Tue, 04 Dec 2012 18:00:08 -1000 Subject: Microsoft Database Structure In-Reply-To: <05B5DCB5-6B74-43CE-ADCD-2C398AD79B3C@gmail.com> References: <05B5DCB5-6B74-43CE-ADCD-2C398AD79B3C@gmail.com> Message-ID: <58A1D0B3-4880-4B08-AD27-6D80C9B98CDF@me.com> Yup. I was envisioning a one stop shop approach. Bob On Dec 4, 2012, at 5:22 PM, Peter W A Wood wrote: > According to this you can export the data to Excel - http://support.microsoft.com/kb/78792 > > Hope this helps > > Peter > > On 5 Dec 2012, at 10:57, Robert Sneidar wrote: > >> Anyone have any experience in importing a Microsoft Works Database (WDB) file? My father has a number of these files, and wants to try to move to a Macintosh workstation, but his ball and chain is a number of works databases that apparently there is no OS X application that will open/convert in a way he can work with. >> >> I could write him a simple application that can read any works db I give it and convert it to an LC sqLite format, if I knew how to parse a WDB file at low level. I can look at the low level data myself, but if someone has done the work already, I would be willing to send a bit-o-cash his way. >> >> Bob >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Dec 5 06:26:53 2012 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Wed, 5 Dec 2012 03:26:53 -0800 (PST) Subject: Microsoft Database Structure In-Reply-To: References: Message-ID: <1354706813393-4657861.post@n4.nabble.com> http://en.wikipedia.org/wiki/MDB_Tools if its the access format. Used, and this works on access databases. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Microsoft-Database-Structure-tp4657855p4657861.html Sent from the Revolution - User mailing list archive at Nabble.com. From rodmccall491 at gmail.com Wed Dec 5 10:15:50 2012 From: rodmccall491 at gmail.com (Rod McCall) Date: Wed, 5 Dec 2012 16:15:50 +0100 Subject: Sockets or similar on IOS and Android Message-ID: Dear LiveCoders, We are in the process of deciding whether to use LiveCode or another platform for mobile development. I gather, well at least on looking at the dictionary that sockets are not available on IOS or Android - at least not directly. Are there any relatively simple extensions or native components that can be used or other workarounds? We basically need to be able to support secure data connections to/from a server. Based on discussions from a long time ago and also on looking at the LiveCode dictionary (at least in 5.5.1) there is no support for sockets. Kind regards, rod www.rodmc.com From mwieder at ahsoftware.net Wed Dec 5 10:52:07 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 5 Dec 2012 07:52:07 -0800 Subject: Sockets or similar on IOS and Android In-Reply-To: References: Message-ID: <1371769763046.20121205075207@ahsoftware.net> Rod- Wednesday, December 5, 2012, 7:15:50 AM, you wrote: > directly. Are there any relatively simple extensions or native components > that can be used or other workarounds? No. There is no socket support, and no way to add it. We gave up on LiveCode at work and went with Flex. Ugly, but it does the job. -- -Mark Wieder mwieder at ahsoftware.net From rodmccall491 at gmail.com Wed Dec 5 11:14:19 2012 From: rodmccall491 at gmail.com (Rod McCall) Date: Wed, 5 Dec 2012 17:14:19 +0100 Subject: Sockets or similar on IOS and Android In-Reply-To: <1371769763046.20121205075207@ahsoftware.net> References: <1371769763046.20121205075207@ahsoftware.net> Message-ID: Thanks Mark, it looks like lack of sockets may mean the same for us. Anyway we will decide shortly. Kind regards, rod On 5 December 2012 16:52, Mark Wieder wrote: > Rod- > > Wednesday, December 5, 2012, 7:15:50 AM, you wrote: > > > directly. Are there any relatively simple extensions or native components > > that can be used or other workarounds? > > No. There is no socket support, and no way to add it. We gave up on > LiveCode at work and went with Flex. Ugly, but it does the job. > > -- > -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 userev at canelasoftware.com Wed Dec 5 11:25:01 2012 From: userev at canelasoftware.com (Mark Talluto) Date: Wed, 5 Dec 2012 08:25:01 -0800 Subject: Sockets or similar on IOS and Android In-Reply-To: References: <1371769763046.20121205075207@ahsoftware.net> Message-ID: On Dec 5, 2012, at 8:14 AM, Rod McCall wrote: > Thanks Mark, it looks like lack of sockets may mean the same for us. Anyway > we will decide shortly. > > Kind regards, > > rod Monte is looking to make an external that will support sockets. He mentioned he was going to post something on this list...soon I hope. Best regards, Mark Talluto http://www.canelasoftware.com From rodmccall491 at gmail.com Wed Dec 5 11:30:24 2012 From: rodmccall491 at gmail.com (Rod McCall) Date: Wed, 5 Dec 2012 17:30:24 +0100 Subject: Sockets or similar on IOS and Android In-Reply-To: References: <1371769763046.20121205075207@ahsoftware.net> Message-ID: That would be good, we would need it for IOS and Android though. Kind regards, rod On 5 December 2012 17:25, Mark Talluto wrote: > > On Dec 5, 2012, at 8:14 AM, Rod McCall wrote: > > > Thanks Mark, it looks like lack of sockets may mean the same for us. > Anyway > > we will decide shortly. > > > > Kind regards, > > > > rod > > > Monte is looking to make an external that will support sockets. He > mentioned he was going to post something on this list...soon I hope. > > > Best regards, > > Mark Talluto > http://www.canelasoftware.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 alex at tweedly.net Wed Dec 5 11:50:19 2012 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 05 Dec 2012 16:50:19 +0000 Subject: GLX2 3.0.13 now available In-Reply-To: <881724361734.20121204191525@ahsoftware.net> References: <881724361734.20121204191525@ahsoftware.net> Message-ID: <50BF7B4B.8070306@tweedly.net> On 05/12/2012 03:15, Mark Wieder wrote: > All- > > 2012.12.04 GLX2 3.0.13 is now available for download at https://bitbucket.org/mwieder/glx2/downloads > > I don't see it there (yet?). I haven't used glx2 for a while, so I tried 3.0.12 - but had all kinds of problems (at first, script editor would open but undo wouldn't work properly, but now script editor window opens and then immediately closes). I delete all GLX2 files in my plugins directory - is there anything else that should be cleared out in case there are old relics causing the problems ? Thanks -- Alex. From ambassador at fourthworld.com Wed Dec 5 11:52:02 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 05 Dec 2012 08:52:02 -0800 Subject: Sockets or similar on IOS and Android In-Reply-To: References: Message-ID: <50BF7BB2.4030005@fourthworld.com> Rod McCall wrote: > We are in the process of deciding whether to use LiveCode or another > platform for mobile development. I gather, well at least on looking at the > dictionary that sockets are not available on IOS or Android - at least not > directly. Are there any relatively simple extensions or native components > that can be used or other workarounds? > > We basically need to be able to support secure data connections to/from a > server. Based on discussions from a long time ago and also on looking at > the LiveCode dictionary (at least in 5.5.1) there is no support for sockets. If you absolutely must use a custom protocol, you may want to contact Monte about this as he's evaluating whether to make an external for that. But if you're taking the more common approach of using a RESTful API over HTTP, I believe LiveCode supports both GET and POST on iOS and Android. For client-server stuff this is enough for me; I only use custom protocols for peer-to-peer. -- 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 andre at andregarzia.com Wed Dec 5 12:49:16 2012 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 5 Dec 2012 15:49:16 -0200 Subject: [OT] Sailfish - Mobile Alternative In-Reply-To: References: Message-ID: Folks, The sailfish thing is based on Maemo with a different UI. Check out the MER project for more info. Mobile is getting interesting... (now, if we had an HTML5/js/css exporter we could target all these platforms) Best andre On Tue, Dec 4, 2012 at 4:21 PM, Scott Rossi wrote: > This won't affect LiveCode any time soon, thus the OT, but as a point of > mobile development interest, folks might be interested in taking a look at > startup Jolla (http://www.jolla.com) who is creating an open source mobile > OS called Sailfish (https://sailfishos.org/wiki/Main_Page). The company > (mostly ex-Nokia) is getting some US press at the moment, perhaps due to > Apple/Google fatigue, and is intent on creating an alternative to > iOS/Android. The SDK appears to be tied to or based on Qt. > > Also, for anyone in the San Francisco Bay Area, Jolla will be talking > about Sailfish OS in Santa Clara from 7-9PM tomorrow evening as part of Qt > DeveloperDays (http://www.qtdeveloperdays.com/northamerica/). > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX 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 > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From mwieder at ahsoftware.net Wed Dec 5 13:41:12 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 5 Dec 2012 10:41:12 -0800 Subject: Sockets or similar on IOS and Android In-Reply-To: <50BF7BB2.4030005@fourthworld.com> References: <50BF7BB2.4030005@fourthworld.com> Message-ID: <221779908390.20121205104112@ahsoftware.net> Richard- Wednesday, December 5, 2012, 8:52:02 AM, you wrote: > If you absolutely must use a custom protocol, you may want to contact > Monte about this as he's evaluating whether to make an external for that. But still no Android. > But if you're taking the more common approach of using a RESTful API > over HTTP, I believe LiveCode supports both GET and POST on iOS and Android. True dat. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Wed Dec 5 13:42:41 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 5 Dec 2012 10:42:41 -0800 Subject: GLX2 3.0.13 now available In-Reply-To: <50BF7B4B.8070306@tweedly.net> References: <881724361734.20121204191525@ahsoftware.net> <50BF7B4B.8070306@tweedly.net> Message-ID: <1921779996859.20121205104241@ahsoftware.net> Alex- Wednesday, December 5, 2012, 8:50:19 AM, you wrote: > I don't see it there (yet?). Yeah... hang on... I accidentally uploaded an alpha build rather than the real one, and there are problems with it. I'll get the real one up later today. -- -Mark Wieder mwieder at ahsoftware.net From sc at sahores-conseil.com Wed Dec 5 13:45:31 2012 From: sc at sahores-conseil.com (Pierre Sahores) Date: Wed, 5 Dec 2012 19:45:31 +0100 Subject: Sockets or similar on IOS and Android In-Reply-To: <50BF7BB2.4030005@fourthworld.com> References: <50BF7BB2.4030005@fourthworld.com> Message-ID: Yes, natively on both iOS and Android platforms. If needed, the mobile browser can be used to embed HTTPS bidirectional communications. Le 5 d?c. 2012 ? 17:52, Richard Gaskin a ?crit : > But if you're taking the more common approach of using a RESTful API over HTTP, I believe LiveCode supports both GET and POST on iOS and Android. -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From irog at mac.com Wed Dec 5 14:11:33 2012 From: irog at mac.com (Roger Guay) Date: Wed, 05 Dec 2012 11:11:33 -0800 Subject: Application Failed Codesign Verification. Message-ID: Hi all, I have an app that I'm donating to SETI, a non-profit scientific organization, so that they will reap the income directly. (Apple makes it difficult to donate proceeds of an app). So, I build my app using information from my own Apple developer ID etc., save it as an iOS standalone, and send it to SETI for them to submit to Apple using their Apple developer certificate information. When they try to upload to Apple they get this error: "Application failed codesign verification. The signature was invalid, contains disallowed entitlements, or was not signed with an iPhone Distribution Certifaicate." Can anyone think of a way around this? Thanks for your help, Roger From coiin at verizon.net Wed Dec 5 14:23:28 2012 From: coiin at verizon.net (Colin Holgate) Date: Wed, 05 Dec 2012 14:23:28 -0500 Subject: Application Failed Codesign Verification. In-Reply-To: References: Message-ID: <627E4D99-421E-4C46-B926-ABC85270B5B8@verizon.net> For them to be able to submit an app they must have an iPhone developer account. The person who looks after that account can install the developer and distribution certificates on a Mac, go into Keychain Access, and export each certificate as a P12 file. They would send the P12 to you, along with ad-hoc and App Store provisioning files, and you would be able to install those on your Mac. If all that goes ok you can then build the app using their certificate and provisioning files. They could also make you be a member of their team, and you could do the upload for them. From irog at mac.com Wed Dec 5 14:32:54 2012 From: irog at mac.com (Roger Guay) Date: Wed, 05 Dec 2012 11:32:54 -0800 Subject: Application Failed Codesign Verification. In-Reply-To: <627E4D99-421E-4C46-B926-ABC85270B5B8@verizon.net> References: <627E4D99-421E-4C46-B926-ABC85270B5B8@verizon.net> Message-ID: <72FBA752-BB73-4A9A-8D73-68C83FDC254F@mac.com> Thanks very Colin. That's exactly the kind of information I needed. And, thanks again for you book! On Dec 5, 2012, at 11:23 AM, Colin Holgate wrote: > For them to be able to submit an app they must have an iPhone developer account. The person who looks after that account can install the developer and distribution certificates on a Mac, go into Keychain Access, and export each certificate as a P12 file. They would send the P12 to you, along with ad-hoc and App Store provisioning files, and you would be able to install those on your Mac. > > If all that goes ok you can then build the app using their certificate and provisioning files. They could also make you be a member of their team, and you could do the upload for them. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Dec 5 14:35:58 2012 From: john at splash21.com (John Craig) Date: Wed, 05 Dec 2012 19:35:58 +0000 Subject: [ANN] Dog Tales for iPad Message-ID: <50BFA21E.7080100@splash21.com> Dog Tales for iPad has just been approved. This could be a good time to submit apps - this is only day 6 after it was submitted. https://itunes.apple.com/us/app/dog-tales/id582763528?mt=8 (Taken a bit by surprise - the web site is not 100% finished) http://dogtales.splash21.com From monte at sweattechnologies.com Wed Dec 5 14:46:07 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 6 Dec 2012 06:46:07 +1100 Subject: Sockets or similar on IOS and Android In-Reply-To: <221779908390.20121205104112@ahsoftware.net> References: <50BF7BB2.4030005@fourthworld.com> <221779908390.20121205104112@ahsoftware.net> Message-ID: <7DCBC671-75C7-4148-849F-11704FE3F645@sweattechnologies.com> On 06/12/2012, at 5:41 AM, Mark Wieder wrote: >> If you absolutely must use a custom protocol, you may want to contact >> Monte about this as he's evaluating whether to make an external for that. > > But still no Android. It's true that any external I write is going to be iOS only in the short term. My intention is to use boost.asio which is cross platform C++ so when android externals are available it should port readily. rresocket (which is available for client side tcp on iOS now) won't port. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From monte at sweattechnologies.com Wed Dec 5 14:50:47 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 6 Dec 2012 06:50:47 +1100 Subject: Sockets or similar on IOS and Android In-Reply-To: References: Message-ID: On 06/12/2012, at 2:15 AM, Rod McCall wrote: > We basically need to be able to support secure data connections to/from a > server. Based on discussions from a long time ago and also on looking at > the LiveCode dictionary (at least in 5.5.1) there is no support for sockets. If you are only going to and from your server then a RESTful api as Richard suggests is the best way to go. While I should be promoting my potential sockets external that I will be calling for crowd funding on soon I don't think it's the best solution in this case. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From mwieder at ahsoftware.net Wed Dec 5 18:43:51 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 5 Dec 2012 23:43:51 +0000 (UTC) Subject: HTTPS: the gory details Message-ID: Ever wondered what goes on when you make an https connection? http://www.moserware.com/2009/06/first-few-milliseconds-of-https.html -- Mark Wieder mwieder at ahsoftware.net From sc at sahores-conseil.com Wed Dec 5 18:57:24 2012 From: sc at sahores-conseil.com (Pierre Sahores) Date: Thu, 6 Dec 2012 00:57:24 +0100 Subject: HTTPS: the gory details In-Reply-To: References: Message-ID: <0581156A-6C58-4A08-971A-E7E375C1D71C@sahores-conseil.com> Thanks, Mark ! Le 6 d?c. 2012 ? 00:43, Mark Wieder a ?crit : > Ever wondered what goes on when you make an https connection? > > http://www.moserware.com/2009/06/first-few-milliseconds-of-https.html > > -- > 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 -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From pmbrig at gmail.com Wed Dec 5 20:44:31 2012 From: pmbrig at gmail.com (Peter M. Brigham) Date: Wed, 5 Dec 2012 20:44:31 -0500 Subject: HTTPS: the gory details In-Reply-To: References: Message-ID: <78FE3593-B387-42F6-AD2B-E42BD32AE82E@gmail.com> The details sure are gory?. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Dec 5, 2012, at 6:43 PM, Mark Wieder wrote: > Ever wondered what goes on when you make an https connection? > > http://www.moserware.com/2009/06/first-few-milliseconds-of-https.html > > -- > 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 stephenREVOLUTION2 at barncard.com Wed Dec 5 23:44:50 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 5 Dec 2012 20:44:50 -0800 Subject: HTTPS: the gory details In-Reply-To: <78FE3593-B387-42F6-AD2B-E42BD32AE82E@gmail.com> References: <78FE3593-B387-42F6-AD2B-E42BD32AE82E@gmail.com> Message-ID: This piece my head hurt. Now I understand why this is difficult for Rev to integrate https into Livecode. A can of secure worms. On Wed, Dec 5, 2012 at 5:44 PM, Peter M. Brigham wrote: > The details sure are gory?. > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > On Dec 5, 2012, at 6:43 PM, Mark Wieder wrote: > > > Ever wondered what goes on when you make an https connection? > > > > http://www.moserware.com/2009/06/first-few-milliseconds-of-https.html > > > > -- > > Mark Wieder > > mwieder at ahsoftware.net > > > > > Stephen Barncard San Francisco Ca. USA more about sqb From mfstuart at cox.net Thu Dec 6 00:11:08 2012 From: mfstuart at cox.net (Mark Stuart) Date: Wed, 5 Dec 2012 21:11:08 -0800 Subject: QT player and continuous play of a list of songs problem Message-ID: <320E4CD59CC14E7EBAB8C7BFB5C1B303@stuart> Hi all, I've built an MP3 player to play songs while at work. I decided to add a checkbox "Continuous play" to allow the songs to play one after the other, to the end of the list of songs. To start the player, I double click on the first in the list (see "on mouseDoubleUp" script below), and it sets the player filename with the path and MP3 filename. When it finishes playing that song, it should go to the next line in the list and start playing that song. I have a "on playStopped" script to handle that. But there's a problem with it. It skips a line and starts playing that song. Here's the script for that: on playStopped local TotalLines, tLineNum, tCPlay, tSong put the number of lines of fld "SongList" into TotalLines put the hilitedLine of fld "SongList" into tLineNum add 1 to tLineNum put the hilited of btn "Continuous Play" into tCPlay if tCPlay then if tLineNum <= TotalLines then set the hilitedLine of fld "SongList" to tLineNum --PlaySong put fld "MusicFolder" into MusicFolder put the selectedText of fld "SongList" into tSong replace tab with empty in tSong set the fileName of player "Player" to MusicFolder & slash & tSong set the currentTime of player "Player" to zero start player "Player" else set the hilitedLine of fld "SongList" to 1 end if end if end playStopped Here's the peculiar behavior: When the LC engine gets to "set the filename of player...", the engine goes back to the "on playStopped" line and executes from the top again. When it gets to "set the fileName of player..." again, it continues on to "start player...", then goes to "end playStopped", which it should do. But then it goes to the line "set the currentTime..." line and then the next line "start player...". Sometimes when it is playing the song, there's no audio at all. Here's the SongList field script to get the player started: global MusicFolder on mouseDoubleUp local tSongTitle put fld "MusicFolder" into MusicFolder put the selectedText of me into tSongTitle -- SongList field is set as a table. -- First column is the MP3 filename and the 2nd column contains ".mp3" -- This is for asthetics, so you don't see the .mp3 in the list. replace tab with empty in tSongTitle set the fileName of player "Player" to MusicFolder & slash & tSongTitle set the currentTime of player "Player" to zero start player "Player" end mouseDoubleUp How do I stop the "on playStopped" script from repeating itself and get it to play without skipping a line? Any and all help appreciated, Mark Stuart From niggemann at uni-wh.de Thu Dec 6 03:04:44 2012 From: niggemann at uni-wh.de (BNig) Date: Thu, 6 Dec 2012 00:04:44 -0800 (PST) Subject: QT player and continuous play of a list of songs problem In-Reply-To: <320E4CD59CC14E7EBAB8C7BFB5C1B303@stuart> References: <320E4CD59CC14E7EBAB8C7BFB5C1B303@stuart> Message-ID: <1354781084201-4657887.post@n4.nabble.com> Hi Mark, maybe this is the problem: from the dictionary: Note: The playStoppedmessage is sent when a card containing the player closes and when the player's filename property is changed. If the player is hidden, or the movie or sound is not currently running, the message will still be sent. To prevent a playStopped handler from being executed inappropriately, set the lockMessages to true before changing the filename or switching cards: lock messages -- prevent sending playStopped set the filename of me to newFile unlock messages Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/QT-player-and-continuous-play-of-a-list-of-songs-problem-tp4657886p4657887.html Sent from the Revolution - User mailing list archive at Nabble.com. From toolbook at kestner.de Thu Dec 6 09:39:18 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 6 Dec 2012 15:39:18 +0100 Subject: Problems with German Umlaute Message-ID: <005501cdd3bf$79914430$6cb3cc90$@de> Hello, Recently I have a customer with OS X 10.8.2 where all German Umlaute in input and output fields are corrupted. Umlaute in Custom Propertys are correct. Strange to say it is a german customer with a german OS X with german country and keyboard settings. On other german machines all Umlaute are shown correct. Up to now, this is the only customer with this problem. I have no idea, what is going on here. Any pointer where to start investigating? Thanks Tiemo From andrew at ctech.me Thu Dec 6 11:28:46 2012 From: andrew at ctech.me (Andrew Kluthe) Date: Thu, 6 Dec 2012 10:28:46 -0600 Subject: Time Entry Control Message-ID: Does anyone know where I can find Shao Sean's "Time Entry Field Object"? In the list archives, shao mentions it being available at their website, but I am having a hard time finding it. In lieu of finding it, does anyone have a control that works good for selecting time's that works with 12 hour clock format? -- Regards, Andrew Kluthe andrew at ctech.me From toncardona at me.com Thu Dec 6 11:38:39 2012 From: toncardona at me.com (=?iso-8859-1?Q?Melit=F3n_Cardona?=) Date: Thu, 06 Dec 2012 17:38:39 +0100 Subject: =?iso-8859-1?Q?Problems_with_German_Uml=E4ute?= Message-ID: There was a bug in LC 5.5.2 preventing accents etc. to show correctly. I reported it and got fixed. From toolbook at kestner.de Thu Dec 6 11:58:51 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 6 Dec 2012 17:58:51 +0100 Subject: =?iso-8859-1?Q?AW:_Problems_with_German_Uml=E4ute?= In-Reply-To: References: Message-ID: <005a01cdd3d2$f857a9e0$e906fda0$@de> Hi Meliton, was it a general issue for you or did it show up only in specific environments? Could you track that down? How did it show up? The relevant LC version in my case is 4.6.4 Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag von Melit?n Cardona > Gesendet: Donnerstag, 6. Dezember 2012 17:39 > An: How to use LiveCode > Betreff: Problems with German Uml?ute > > There was a bug in LC 5.5.2 preventing accents etc. to show correctly. I > reported it and got fixed. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toncardona at me.com Thu Dec 6 13:17:45 2012 From: toncardona at me.com (=?iso-8859-1?Q?Melit=F3n_Cardona?=) Date: Thu, 06 Dec 2012 19:17:45 +0100 Subject: =?iso-8859-1?Q?Problems_with_German_Uml=E4ute?= Message-ID: <47C80D08-8614-49C2-ADBC-BA235AF416F1@me.com> Dear Tiemo, It was LC 5.5.2 on a macBook pro with Mac OS X 10.8.2. It was filed as bug report number 10501. No accents whatsoever could even be typed. This happened at the end of october this year. Feel free to ask me for more specific issues if those are not enough. Cheers Ton From MikeKerner at roadrunner.com Thu Dec 6 13:45:51 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 6 Dec 2012 13:45:51 -0500 Subject: [OT] Sailfish - Mobile Alternative In-Reply-To: References: Message-ID: With Wakanda and others coming on as pure JS IDE's, and everybody and their Mom having HTML exporting, I think that it will be far more productive to have direct object code for devices instead of trying to go for the commodity. The string of icons following the LC logo is far more impressive to me than the ability to build web apps. I don't think I will be using it soon, but the extra feather of an RT target would also be sweet - so wait, I can write on one of several platforms and target literally *any* of the major desktop or mobile platforms? Does your tool do that? Even without RT, how many IDE's target both iOS and Android? Granted it isn't great, yet, but it's better than not-at-all. On Wed, Dec 5, 2012 at 12:49 PM, Andre Garzia wrote: > Folks, > > The sailfish thing is based on Maemo with a different UI. Check out the MER > project for more info. Mobile is getting interesting... > > (now, if we had an HTML5/js/css exporter we could target all these > platforms) > > Best > andre > > > On Tue, Dec 4, 2012 at 4:21 PM, Scott Rossi > wrote: > > > This won't affect LiveCode any time soon, thus the OT, but as a point of > > mobile development interest, folks might be interested in taking a look > at > > startup Jolla (http://www.jolla.com) who is creating an open source > mobile > > OS called Sailfish (https://sailfishos.org/wiki/Main_Page). The company > > (mostly ex-Nokia) is getting some US press at the moment, perhaps due to > > Apple/Google fatigue, and is intent on creating an alternative to > > iOS/Android. The SDK appears to be tied to or based on Qt. > > > > Also, for anyone in the San Francisco Bay Area, Jolla will be talking > > about Sailfish OS in Santa Clara from 7-9PM tomorrow evening as part of > Qt > > DeveloperDays (http://www.qtdeveloperdays.com/northamerica/). > > > > Regards, > > > > Scott Rossi > > Creative Director > > Tactile Media, UX 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 > > > > > > -- > http://www.andregarzia.com -- All We Do Is Code. > http://fon.nu -- minimalist url shortening service. > _______________________________________________ > use-livecode mailing list > use-livecode 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 coiin at verizon.net Thu Dec 6 15:13:11 2012 From: coiin at verizon.net (Colin Holgate) Date: Thu, 06 Dec 2012 15:13:11 -0500 Subject: [ANN] Dog Tales for iPad In-Reply-To: <50BFA21E.7080100@splash21.com> References: <50BFA21E.7080100@splash21.com> Message-ID: We submitted something last Friday, and it's in the store now too. So things are a couple of days quicker than usual at the moment. On Dec 5, 2012, at 2:35 PM, John Craig wrote: > >Dog Tales for iPad has just been approved. This could be a good time to submit apps - this is only day 6 after it was submitted. From lvhdgc7 at gmail.com Thu Dec 6 15:16:40 2012 From: lvhdgc7 at gmail.com (tbodine) Date: Thu, 6 Dec 2012 12:16:40 -0800 (PST) Subject: Looking for tips on memory mgt in standalones Message-ID: <1354825000618-4657895.post@n4.nabble.com> Hi, all. Two questions about standalones... I'm building a desktop app as a standalone that will use separate stacks to store the user's work. A "New File" button creates the stack under a new name and saves it to the user's document area. When the user closes such a file, it looks like it still persists in memory. (Going by what the Application Browser shows.) What's the best way to remove these document stacks from memory in a standalone? Also, the app will need to save user's preferences. Knowing that main stacks cannot save to themselves, I set it up with a substack that stores prefs in custom properties. However, I see now that the substack is actually part of the main stack file. So doesn't that means the substack will have the same problem of being sandboxed by the OS and unable to save? What solutions do you recommend? Many thanks. Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Looking-for-tips-on-memory-mgt-in-standalones-tp4657895.html Sent from the Revolution - User mailing list archive at Nabble.com. From MikeKerner at roadrunner.com Thu Dec 6 15:17:34 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 6 Dec 2012 15:17:34 -0500 Subject: [ANN] Dog Tales for iPad In-Reply-To: References: <50BFA21E.7080100@splash21.com> Message-ID: Well, since they are shutting down for a week later in the month, now's the time! From coiin at verizon.net Thu Dec 6 15:18:20 2012 From: coiin at verizon.net (Colin Holgate) Date: Thu, 06 Dec 2012 15:18:20 -0500 Subject: [ANN] Dog Tales for iPad In-Reply-To: References: <50BFA21E.7080100@splash21.com> Message-ID: Right after sending that another app got approved, only this one was an update, and it went through in three days. On Dec 6, 2012, at 3:13 PM, Colin Holgate wrote: > >We submitted something last Friday, and it's in the store now too. So things are a couple of days quicker than usual at the moment. From janschenkel at yahoo.com Thu Dec 6 15:26:37 2012 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 6 Dec 2012 12:26:37 -0800 (PST) Subject: Looking for tips on memory mgt in standalones In-Reply-To: <1354825000618-4657895.post@n4.nabble.com> References: <1354825000618-4657895.post@n4.nabble.com> Message-ID: <1354825597.26869.YahooMailNeo@web141101.mail.bf1.yahoo.com> Hi Tom, Set the 'destroyStack' property of the instance stack to true. That way it is completely removed from memory when it is closed. 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: tbodine To: use-revolution at lists.runrev.com Cc: Sent: Thursday, December 6, 2012 9:16 PM Subject: Looking for tips on memory mgt in standalones Hi, all.? Two questions about standalones... I'm building a desktop app as a standalone that will use separate stacks to store the user's work. A "New File" button creates the stack under a new name and saves it to the user's document area. When the user closes such a file, it looks like it still persists in memory. (Going by what the Application Browser shows.) What's the best way to remove these document stacks from memory in a standalone? Also, the app will need to save user's preferences. Knowing that main stacks cannot save to themselves, I set it up with a substack that stores prefs in custom properties. However, I see now that the substack is actually part of the main stack file. So doesn't that means the substack will have the same problem of being sandboxed by the OS and unable to save? What solutions do you recommend? Many thanks. Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Looking-for-tips-on-memory-mgt-in-standalones-tp4657895.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 ambassador at fourthworld.com Thu Dec 6 15:33:36 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 06 Dec 2012 12:33:36 -0800 Subject: Looking for tips on memory mgt in standalones In-Reply-To: <1354825000618-4657895.post@n4.nabble.com> References: <1354825000618-4657895.post@n4.nabble.com> Message-ID: <50C10120.3000306@fourthworld.com> tbodine wrote: > I'm building a desktop app as a standalone that will use separate stacks to > store the user's work. A "New File" button creates the stack under a new > name and saves it to the user's document area. When the user closes such a > file, it looks like it still persists in memory. (Going by what the > Application Browser shows.) What's the best way to remove these document > stacks from memory in a standalone? The simplest way is to set the stack's destroyStack property to true, which doesn't actually destroy the stack itself but merely removes it from memory when it's closed. > Also, the app will need to save user's preferences. Knowing that main stacks > cannot save to themselves, I set it up with a substack that stores prefs in > custom properties. However, I see now that the substack is actually part of > the main stack file. So doesn't that means the substack will have the same > problem of being sandboxed by the OS and unable to save? What solutions do > you recommend? Data can be saved to mainstacks, provided it's not the stackfile which is the executable. In fact, one can't even save to substacks of the mainstack of the stackfile which is the executable, but as long as its a separate file you're good. Exactly where you should save stackfiles used for prefs data is an item of much contention these days; some say that Apple's HIG recommendation to use the Preferences folder no longer applies unless you use their APIs to read and write it, opting instead to store prefs in an entirely different folder, Application Support. While there's been much discussion of which is best here, I don't think anyone's yet provided a URL to Apple's guidelines on this, though it would be helpful if someone can turn it up. I suppose it's not unthinkable that Apple would attempt to control the file format devs use for prefs, but it seems a bit draconian even for Apple, and I suspect that with so many devs accustomed to being able to control their own file formats there'd be more of an outcry if indeed this is what Apple is now requiring. So I'll leave it for others here to suggest where to put it (I still put prefs in Preferences, but so far I've been avoiding the App Store so I don't know if those reviewers are requiring preferences to be stored outside of Preferences), but as far as the basic mechanics of saving data in a standalone this article from Sarah is very helpful: -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From pete at lcsql.com Thu Dec 6 15:38:29 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 6 Dec 2012 12:38:29 -0800 Subject: Looking for tips on memory mgt in standalones In-Reply-To: <1354825000618-4657895.post@n4.nabble.com> References: <1354825000618-4657895.post@n4.nabble.com> Message-ID: Hi Tom, Closing a stack still leaves it in memory as you found. The delete stack command will remove it from memory as long as the stack you name is a main stack; for substacks, it literally deletes the substack. And yes, you'll have the issue with your prefs substack. I have taken to storing my prefs in a flat file in different locations depending on platform. OSX: specialFolderPath("Home")/Library/Application Support// Windows: specialFolderPath(26)// Linux: specialFolderPath("Home")// If you have several products, you can optionally include a folder before the folder. Pete lcSQL Software On Thu, Dec 6, 2012 at 12:16 PM, tbodine wrote: > Hi, all. Two questions about standalones... > > I'm building a desktop app as a standalone that will use separate stacks to > store the user's work. A "New File" button creates the stack under a new > name and saves it to the user's document area. When the user closes such a > file, it looks like it still persists in memory. (Going by what the > Application Browser shows.) What's the best way to remove these document > stacks from memory in a standalone? > > Also, the app will need to save user's preferences. Knowing that main > stacks > cannot save to themselves, I set it up with a substack that stores prefs in > custom properties. However, I see now that the substack is actually part of > the main stack file. So doesn't that means the substack will have the same > problem of being sandboxed by the OS and unable to save? What solutions do > you recommend? > > Many thanks. > > Tom Bodine > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Looking-for-tips-on-memory-mgt-in-standalones-tp4657895.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 slylabs13 at me.com Thu Dec 6 15:40:10 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Thu, 06 Dec 2012 10:40:10 -1000 Subject: Looking for tips on memory mgt in standalones In-Reply-To: <1354825000618-4657895.post@n4.nabble.com> References: <1354825000618-4657895.post@n4.nabble.com> Message-ID: <5A9A820C-45B1-4BA6-BAB0-E52582F2346C@me.com> set the destroyStack property of the "document" stack to true before closing it. Don't worry, the stack file will not *actually* be destroyed. It's a bad name for the property. It should be called "purgeStack" imho. Preferences are trickier. You will need to know which platform you are running in, and then you will need to determine the proper place to put preference files for that platform. Search the archives for lots of good info on how to do that. Bob On Dec 6, 2012, at 10:16 AM, tbodine wrote: > Hi, all. Two questions about standalones... > > I'm building a desktop app as a standalone that will use separate stacks to > store the user's work. A "New File" button creates the stack under a new > name and saves it to the user's document area. When the user closes such a > file, it looks like it still persists in memory. (Going by what the > Application Browser shows.) What's the best way to remove these document > stacks from memory in a standalone? > > Also, the app will need to save user's preferences. Knowing that main stacks > cannot save to themselves, I set it up with a substack that stores prefs in > custom properties. However, I see now that the substack is actually part of > the main stack file. So doesn't that means the substack will have the same > problem of being sandboxed by the OS and unable to save? What solutions do > you recommend? > > Many thanks. > > Tom Bodine > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Looking-for-tips-on-memory-mgt-in-standalones-tp4657895.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 andrew at ctech.me Thu Dec 6 18:47:51 2012 From: andrew at ctech.me (Andrew Kluthe) Date: Thu, 6 Dec 2012 17:47:51 -0600 Subject: Looking for tips on memory mgt in standalones In-Reply-To: <5A9A820C-45B1-4BA6-BAB0-E52582F2346C@me.com> References: <1354825000618-4657895.post@n4.nabble.com> <5A9A820C-45B1-4BA6-BAB0-E52582F2346C@me.com> Message-ID: So If I duplicate a stack for a "document", and I tell it 'close this stack'. It doesn't actually remove the stack that was closed from memory? Whoa, I'm in for some refactoring if that's the case. stacks that are "destroyed",can they be opened again simply by calling the stack name a-la : go stack "stackName" (as I often do when I have closed a stack but want it in memory) or do I have to give it the path to the stackfile on disk? If so, whats the point of ever setting destroyStack to false? On Thu, Dec 6, 2012 at 2:40 PM, Robert Sneidar wrote: > set the destroyStack property of the "document" stack to true before closing it. Don't worry, the stack file will not *actually* be destroyed. It's a bad name for the property. It should be called "purgeStack" imho. > > Preferences are trickier. You will need to know which platform you are running in, and then you will need to determine the proper place to put preference files for that platform. Search the archives for lots of good info on how to do that. > > Bob > > > On Dec 6, 2012, at 10:16 AM, tbodine wrote: > >> Hi, all. Two questions about standalones... >> >> I'm building a desktop app as a standalone that will use separate stacks to >> store the user's work. A "New File" button creates the stack under a new >> name and saves it to the user's document area. When the user closes such a >> file, it looks like it still persists in memory. (Going by what the >> Application Browser shows.) What's the best way to remove these document >> stacks from memory in a standalone? >> >> Also, the app will need to save user's preferences. Knowing that main stacks >> cannot save to themselves, I set it up with a substack that stores prefs in >> custom properties. However, I see now that the substack is actually part of >> the main stack file. So doesn't that means the substack will have the same >> problem of being sandboxed by the OS and unable to save? What solutions do >> you recommend? >> >> Many thanks. >> >> Tom Bodine >> >> >> >> -- >> View this message in context: http://runtime-revolution.278305.n4.nabble.com/Looking-for-tips-on-memory-mgt-in-standalones-tp4657895.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 -- Regards, Andrew Kluthe andrew at ctech.me From docrosli at yahoo.com Thu Dec 6 19:29:12 2012 From: docrosli at yahoo.com (Rosli Hassan) Date: Thu, 6 Dec 2012 16:29:12 -0800 (PST) Subject: No subject Message-ID: <1354840152.27965.YahooMailNeo@web125703.mail.ne1.yahoo.com> http://www.elektratek.ca/en/images/1ekq0qhd.php From pete at lcsql.com Thu Dec 6 19:46:50 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 6 Dec 2012 16:46:50 -0800 Subject: Looking for tips on memory mgt in standalones In-Reply-To: References: <1354825000618-4657895.post@n4.nabble.com> <5A9A820C-45B1-4BA6-BAB0-E52582F2346C@me.com> Message-ID: You'd normally need to go to the stackfile name to open it again. The only way round that is to use the stackFiles property of your main stack. In it, you can specify a list of short stack names and the full path to the stack file. Then you can go to just the stack name and LC will resolve the reference to the stackfile. But that's probably not much use in a dynamic stack creation situation since any changes you make to stackFiles won;t be saved - back to square one! Pete lcSQL Software On Thu, Dec 6, 2012 at 3:47 PM, Andrew Kluthe wrote: > So If I duplicate a stack for a "document", and I tell it 'close this > stack'. It doesn't actually remove the stack that was closed from > memory? Whoa, I'm in for some refactoring if that's the case. > > stacks that are "destroyed",can they be opened again simply by calling > the stack name a-la : go stack "stackName" (as I often do when I have > closed a stack but want it in memory) or do I have to give it the path > to the stackfile on disk? If so, whats the point of ever setting > destroyStack to false? > > On Thu, Dec 6, 2012 at 2:40 PM, Robert Sneidar wrote: > > set the destroyStack property of the "document" stack to true before > closing it. Don't worry, the stack file will not *actually* be destroyed. > It's a bad name for the property. It should be called "purgeStack" imho. > > > > Preferences are trickier. You will need to know which platform you are > running in, and then you will need to determine the proper place to put > preference files for that platform. Search the archives for lots of good > info on how to do that. > > > > Bob > > > > > > On Dec 6, 2012, at 10:16 AM, tbodine wrote: > > > >> Hi, all. Two questions about standalones... > >> > >> I'm building a desktop app as a standalone that will use separate > stacks to > >> store the user's work. A "New File" button creates the stack under a new > >> name and saves it to the user's document area. When the user closes > such a > >> file, it looks like it still persists in memory. (Going by what the > >> Application Browser shows.) What's the best way to remove these document > >> stacks from memory in a standalone? > >> > >> Also, the app will need to save user's preferences. Knowing that main > stacks > >> cannot save to themselves, I set it up with a substack that stores > prefs in > >> custom properties. However, I see now that the substack is actually > part of > >> the main stack file. So doesn't that means the substack will have the > same > >> problem of being sandboxed by the OS and unable to save? What solutions > do > >> you recommend? > >> > >> Many thanks. > >> > >> Tom Bodine > >> > >> > >> > >> -- > >> View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Looking-for-tips-on-memory-mgt-in-standalones-tp4657895.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 > > > > -- > 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 monte at sweattechnologies.com Thu Dec 6 20:02:56 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 7 Dec 2012 12:02:56 +1100 Subject: Looking for tips on memory mgt in standalones In-Reply-To: References: <1354825000618-4657895.post@n4.nabble.com> <5A9A820C-45B1-4BA6-BAB0-E52582F2346C@me.com> Message-ID: On 07/12/2012, at 11:46 AM, Peter Haworth wrote: >> So If I duplicate a stack for a "document", and I tell it 'close this >> stack'. It doesn't actually remove the stack that was closed from >> memory? Whoa, I'm in for some refactoring if that's the case. Like Robert said you need to set the destroyStack. Actually the design you have above isn't brilliant for maintenance. Stacks are great containers for structured data (particularly if it's not a heap of data in which case I'd use a sqlite db file) but it's much better design to have an invisible stack file with no controls and all the data in custom properties and then a template document viewer that you clone if your app can have multiple documents open. Otherwise version 2 of your app comes out and you need to write routines to move data from version 1 of your document file to version 2. Got caught by that one on a couple of my first LC apps... Cheers Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From lvhdgc7 at gmail.com Thu Dec 6 22:31:21 2012 From: lvhdgc7 at gmail.com (tbodine) Date: Thu, 6 Dec 2012 19:31:21 -0800 (PST) Subject: Looking for tips on memory mgt in standalones In-Reply-To: References: <1354825000618-4657895.post@n4.nabble.com> <5A9A820C-45B1-4BA6-BAB0-E52582F2346C@me.com> Message-ID: <1354851081802-4657908.post@n4.nabble.com> Interesting. That's the direction I'm going... a document editor that clones a template and just stores data in the "document" stacks as a few arrays in custom properties and formatted text fields in the stack. No code or controls in the "documents" to avoid the update headaches you described. If this editor is to support multiple documents open at once, then there's the matter of knowing which is the active one at a given moment. I saw in the Dictionary some command that tells which stack the mouse is over. Is there something similar for keyboard focus? What would be ideal is an event triggered in LC when the user clicks a different window activating another "document" stack. (In Director's Lingo language, there's activateWindow and deactivateWindow event handlers. Anything similar in LC?) I expect these "documents" will all have similarly named custom properties, so it could get messy keeping track of them with many files open. I'm thinking that when a particular "document" is active, then its custom props are copied to a global that would be used by the editor's code. And when that "document" is deactivated, code would write the global back out to that file's custom property. Then the newly selected "documents" custom props would be loaded into the global. Do you foresee pitfalls with this? Is there a better way? Many thanks for your insights. Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Looking-for-tips-on-memory-mgt-in-standalones-tp4657895p4657908.html Sent from the Revolution - User mailing list archive at Nabble.com. From monte at sweattechnologies.com Thu Dec 6 22:44:55 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 7 Dec 2012 14:44:55 +1100 Subject: Looking for tips on memory mgt in standalones In-Reply-To: <1354851081802-4657908.post@n4.nabble.com> References: <1354825000618-4657895.post@n4.nabble.com> <5A9A820C-45B1-4BA6-BAB0-E52582F2346C@me.com> <1354851081802-4657908.post@n4.nabble.com> Message-ID: On 07/12/2012, at 2:31 PM, tbodine wrote: > What would be ideal is an event triggered in LC when the user clicks a > different window activating another "document" stack. (In Director's Lingo > language, there's activateWindow and deactivateWindow event handlers. > Anything similar in LC?) resumeStack/suspendStack > > I expect these "documents" will all have similarly named custom properties, > so it could get messy keeping track of them with many files open. I'm > thinking that when a particular "document" is active, then its custom props > are copied to a global that would be used by the editor's code. And when > that "document" is deactivated, code would write the global back out to that > file's custom property. Then the newly selected "documents" custom props > would be loaded into the global. Set a customProperty or script local of the template to the name of the data stack. Alternatively your saved file coule be just an arrayEncoded array and you set that as a script local of your template. Fine for not much data. For lots of data use a db. > > Do you foresee pitfalls with this? Is there a better way? In general a good maintainable design will separate the data from the access to it and the view of it. There can be a few layers in there (eg a db driver). Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From mfstuart at cox.net Thu Dec 6 22:53:05 2012 From: mfstuart at cox.net (Mark Stuart) Date: Thu, 6 Dec 2012 19:53:05 -0800 Subject: QT player and continuous play of a list of songs problem Message-ID: <12D435930F29425DB537CC8DED391CE2@stuart> on Thu Dec 6 02:04:44 CST 2012, BNig wrote: Note: The playStoppedmessage is sent when a card containing the player closes and when the player's filename property is changed. If the player is hidden, or the movie or sound is not currently running, the message will still be sent. To prevent a playStopped handler from being executed inappropriately, set the lockMessages to true before changing the filename or switching cards: lock messages -- prevent sending playStopped set the filename of me to newFile unlock messages Thanx Bernd. That stopped the LC engine from going to the top of the handler again. But I can't resolve the no audio problem when the next song is set to play. Any ideas on that? Regards, Mark Stuart From Mark_Smith at cpe.umanitoba.ca Thu Dec 6 22:25:07 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Thu, 6 Dec 2012 19:25:07 -0800 (PST) Subject: Does anyone have a copy of the Pop3 Lib that used to be on Sarah's site? In-Reply-To: <50BBBD17.5020606@gmail.com> References: <1354477290.68347.YahooMailNeo@web162302.mail.bf1.yahoo.com> <50BBBD17.5020606@gmail.com> Message-ID: <1354850707414-4657907.post@n4.nabble.com> try sarah at troz dot net. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Does-anyone-have-a-copy-of-the-Pop3-Lib-that-used-to-be-on-Sarah-s-site-tp4657807p4657907.html Sent from the Revolution - User mailing list archive at Nabble.com. From Mark_Smith at cpe.umanitoba.ca Thu Dec 6 22:12:20 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Thu, 6 Dec 2012 19:12:20 -0800 (PST) Subject: a new book idea... In-Reply-To: <1A773962-A272-4338-824F-6353E4D5E5A6@verizon.net> References: <912B4180-66C1-4372-BFAE-6173CD0BE780@verizon.net> <50BE1BFD.6050405@fourthworld.com> <1A773962-A272-4338-824F-6353E4D5E5A6@verizon.net> Message-ID: <1354849940913-4657906.post@n4.nabble.com> Hi Colin, I was going to write and ask if you were interested in doing a book on "LiveCode Web-App Development". I am about to head down that path but have no web server experience, no CGI, or PHP or any of that so something that covers that territory would be immensely of interest to me. Esp from the LC perspective. Maybe some of those ideas could be addressed in a chapter or two? (but sounds like a whole book to me). I've written a couple of RevUP articles on I/O to SQL files that are somewhat unique (like not requiring you to specify the field names) that I would be happy to donate (or spruce up, as needed). -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/a-new-book-idea-tp4657832p4657906.html Sent from the Revolution - User mailing list archive at Nabble.com. From andrew at ctech.me Thu Dec 6 23:16:00 2012 From: andrew at ctech.me (Andrew Kluthe) Date: Thu, 6 Dec 2012 22:16:00 -0600 Subject: Looking for tips on memory mgt in standalones In-Reply-To: References: <1354825000618-4657895.post@n4.nabble.com> <5A9A820C-45B1-4BA6-BAB0-E52582F2346C@me.com> Message-ID: Yep. I have a big pool of data from a database that is formatted to fit nicely in a datagrid. When you click on a row in the datagrid it clones a stack I have and sets the row data as a custom property in the cloned stack. And when I looked at my code for doing this, I realized I must have already known this because destroyStack was already being set. On Thu, Dec 6, 2012 at 7:02 PM, Monte Goulding wrote: > Like Robert said you need to set the destroyStack. Actually the design you have above isn't brilliant for maintenance. Stacks are great containers for structured data (particularly if it's not a heap of data in which case I'd use a sqlite db file) but it's much better design to have an invisible stack file with no controls and all the data in custom properties and then a template document viewer that you clone if your app can have multiple documents open. Otherwise version 2 of your app comes out and you need to write routines to move data from version 1 of your document file to version 2. Got caught by that one on a couple of my first LC apps... -- Regards, Andrew Kluthe andrew at ctech.me From andrew at ctech.me Thu Dec 6 23:22:49 2012 From: andrew at ctech.me (Andrew Kluthe) Date: Thu, 6 Dec 2012 22:22:49 -0600 Subject: a new book idea... In-Reply-To: <1354849940913-4657906.post@n4.nabble.com> References: <912B4180-66C1-4372-BFAE-6173CD0BE780@verizon.net> <50BE1BFD.6050405@fourthworld.com> <1A773962-A272-4338-824F-6353E4D5E5A6@verizon.net> <1354849940913-4657906.post@n4.nabble.com> Message-ID: Developing with LC Server or livecode clients that interact with webservices that you roll yourself? I have built http interfaces using RevServer (RevIgniter), PHP, and I recently started switching a lot of my REST interfaces over to express on-top-of nodejs. I love building nice little server interfaces for livecode. Not that long ago I designed a livecode/nodejs application that reads data from a truck scale via serial and feeds it to an interface that livecode can hook up to from anywhere in the world. That particular code is owned by my employers, but the technique could be used for lots of thing. On Thu, Dec 6, 2012 at 9:12 PM, Mark Smith wrote: > "LiveCode Web-App Development". I am about to head down that path but > have no web server experience, no CGI, or PHP or any of that so something > that covers that territory would be immensely of interest to me. -- Regards, Andrew Kluthe andrew at ctech.me From Mark_Smith at cpe.umanitoba.ca Thu Dec 6 23:31:47 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Thu, 6 Dec 2012 20:31:47 -0800 (PST) Subject: a new book idea... In-Reply-To: References: <912B4180-66C1-4372-BFAE-6173CD0BE780@verizon.net> <50BE1BFD.6050405@fourthworld.com> <1A773962-A272-4338-824F-6353E4D5E5A6@verizon.net> <1354849940913-4657906.post@n4.nabble.com> Message-ID: <1354854707493-4657913.post@n4.nabble.com> Andrew Kluthe-2 wrote > Developing with LC Server or livecode clients that interact with > webservices that you roll yourself? > > I have built http interfaces using RevServer (RevIgniter), PHP, and I > recently started switching a lot of my REST interfaces over to express > on-top-of nodejs. > > I love building nice little server interfaces for livecode. Not that > long ago I designed a livecode/nodejs application that reads data from > a truck scale via serial and feeds it to an interface that livecode > can hook up to from anywhere in the world. That particular code is > owned by my employers, but the technique could be used for lots of > thing. Yes, exactly... I have no experience with any of that. Its totally a foreign world for me so having someone like yourself collaborate with Colin on a book would be just awesome. -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/a-new-book-idea-tp4657832p4657913.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Fri Dec 7 00:36:50 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 06 Dec 2012 23:36:50 -0600 Subject: Looking for tips on memory mgt in standalones In-Reply-To: <1354851081802-4657908.post@n4.nabble.com> References: <1354825000618-4657895.post@n4.nabble.com> <5A9A820C-45B1-4BA6-BAB0-E52582F2346C@me.com> <1354851081802-4657908.post@n4.nabble.com> Message-ID: <50C18072.4020105@hyperactivesw.com> On 12/6/12 9:31 PM, tbodine wrote: > If this editor is to support multiple documents open at once, then there's > the matter of knowing which is the active one at a given moment. I saw in > the Dictionary some command that tells which stack the mouse is over. Is > there something similar for keyboard focus? If the user is typing into it, it's usually the defaultstack unless a script has changed that. It's also probably the topstack. > > What would be ideal is an event triggered in LC when the user clicks a > different window activating another "document" stack. (In Director's Lingo > language, there's activateWindow and deactivateWindow event handlers. > Anything similar in LC?) As Monte said, suspendstack and resumestack messages are sent. > > I expect these "documents" will all have similarly named custom properties, > so it could get messy keeping track of them with many files open. I'm > thinking that when a particular "document" is active, then its custom props > are copied to a global that would be used by the editor's code. And when > that "document" is deactivated, code would write the global back out to that > file's custom property. Then the newly selected "documents" custom props > would be loaded into the global. > > Do you foresee pitfalls with this? Is there a better way? Why not just read and write properties directly to/from the document stack itself? On openstack or resumestack you could keep track of the stack name if you want to be sure which one you're dealing with, and always refer to it in scripts by name instead of just using "the defaultstack". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From toolbook at kestner.de Fri Dec 7 04:45:08 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 7 Dec 2012 10:45:08 +0100 Subject: How to check for the gm version? Message-ID: <005a01cdd45f$8bf3ba40$a3db2ec0$@de> Hello, I have LC 5.5.3, build 1497 installed and know that there is a bug fix in version 5.5.3-GM-2 How can I check, which GM I have installed, because it isn't shown. Is there somewhere a relation table between build and gm? Thanks Tiemo From niggemann at uni-wh.de Fri Dec 7 04:52:41 2012 From: niggemann at uni-wh.de (BNig) Date: Fri, 7 Dec 2012 01:52:41 -0800 (PST) Subject: QT player and continuous play of a list of songs problem In-Reply-To: <12D435930F29425DB537CC8DED391CE2@stuart> References: <12D435930F29425DB537CC8DED391CE2@stuart> Message-ID: <1354873961113-4657916.post@n4.nabble.com> Hi Mark, I tried your code with 5 files and it worked repeatedly without loss of audio. Sorry, no idea why you see that. Kind regards Bernd Mark Stuart wrote > But I can't resolve the no audio problem when the next song is set to > play. > Any ideas on that? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/QT-player-and-continuous-play-of-a-list-of-songs-problem-tp4657910p4657916.html Sent from the Revolution - User mailing list archive at Nabble.com. From sc at sahores-conseil.com Fri Dec 7 05:17:06 2012 From: sc at sahores-conseil.com (Pierre Sahores) Date: Fri, 7 Dec 2012 11:17:06 +0100 Subject: How to check for the gm version? In-Reply-To: <005a01cdd45f$8bf3ba40$a3db2ec0$@de> References: <005a01cdd45f$8bf3ba40$a3db2ec0$@de> Message-ID: Hi Tiemo, The last version (GM2) is known as build 1497 (see the "about livecode" menu item). Best, Pierre Le 7 d?c. 2012 ? 10:45, Tiemo Hollmann TB a ?crit : > Hello, > > I have LC 5.5.3, build 1497 installed and know that there is a bug fix in > version 5.5.3-GM-2 > > How can I check, which GM I have installed, because it isn't shown. Is there > somewhere a relation table between build and gm? > > 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 -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From toolbook at kestner.de Fri Dec 7 07:23:13 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 7 Dec 2012 13:23:13 +0100 Subject: AW: How to check for the gm version? In-Reply-To: References: <005a01cdd45f$8bf3ba40$a3db2ec0$@de> Message-ID: <007501cdd475$a0f9f3d0$e2eddb70$@de> Bonjour Pierre, thanks for your Info. For the future - where did you get the relation between "gm" and "build" from? In my "about livecode" no "gm" is shown. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag von Pierre Sahores > Gesendet: Freitag, 7. Dezember 2012 11:17 > An: How to use LiveCode > Betreff: Re: How to check for the gm version? > > Hi Tiemo, > > The last version (GM2) is known as build 1497 (see the "about livecode" > menu item). > > Best, > > Pierre > > Le 7 d?c. 2012 ? 10:45, Tiemo Hollmann TB a ?crit : > > > Hello, > > > > I have LC 5.5.3, build 1497 installed and know that there is a bug fix > > in version 5.5.3-GM-2 > > > > How can I check, which GM I have installed, because it isn't shown. Is > > there somewhere a relation table between build and gm? > > > > 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 > > -- > 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 sc at sahores-conseil.com Fri Dec 7 07:56:58 2012 From: sc at sahores-conseil.com (Pierre Sahores) Date: Fri, 7 Dec 2012 13:56:58 +0100 Subject: How to check for the gm version? In-Reply-To: <007501cdd475$a0f9f3d0$e2eddb70$@de> References: <005a01cdd45f$8bf3ba40$a3db2ec0$@de> <007501cdd475$a0f9f3d0$e2eddb70$@de> Message-ID: <8B5B9C58-91D2-45C7-89C6-1D49CA5A96FF@sahores-conseil.com> Timeo, Info available at the bottom of the release notes (menu Help) so it's easy to make the relation with build numbers. Best, Pierre Le 7 d?c. 2012 ? 13:23, Tiemo Hollmann TB a ?crit : > Bonjour Pierre, > thanks for your Info. > For the future - where did you get the relation between "gm" and "build" > from? In my "about livecode" no "gm" is shown. > Tiemo > >> -----Urspr?ngliche Nachricht----- >> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im >> Auftrag von Pierre Sahores >> Gesendet: Freitag, 7. Dezember 2012 11:17 >> An: How to use LiveCode >> Betreff: Re: How to check for the gm version? >> >> Hi Tiemo, >> >> The last version (GM2) is known as build 1497 (see the "about livecode" >> menu item). >> >> Best, >> >> Pierre >> >> Le 7 d?c. 2012 ? 10:45, Tiemo Hollmann TB a ?crit : >> >>> Hello, >>> >>> I have LC 5.5.3, build 1497 installed and know that there is a bug fix >>> in version 5.5.3-GM-2 >>> >>> How can I check, which GM I have installed, because it isn't shown. Is >>> there somewhere a relation table between build and gm? >>> >>> 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 >> >> -- >> 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 -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From toolbook at kestner.de Fri Dec 7 08:24:56 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 7 Dec 2012 14:24:56 +0100 Subject: AW: How to check for the gm version? In-Reply-To: <8B5B9C58-91D2-45C7-89C6-1D49CA5A96FF@sahores-conseil.com> References: <005a01cdd45f$8bf3ba40$a3db2ec0$@de> <007501cdd475$a0f9f3d0$e2eddb70$@de> <8B5B9C58-91D2-45C7-89C6-1D49CA5A96FF@sahores-conseil.com> Message-ID: <008e01cdd47e$4022e950$c068bbf0$@de> Ahh, thanks > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag von Pierre Sahores > Gesendet: Freitag, 7. Dezember 2012 13:57 > An: How to use LiveCode > Betreff: Re: How to check for the gm version? > > Timeo, > > Info available at the bottom of the release notes (menu Help) so it's easy > to make the relation with build numbers. > > Best, > > Pierre > > Le 7 d?c. 2012 ? 13:23, Tiemo Hollmann TB a ?crit : > > > Bonjour Pierre, > > thanks for your Info. > > For the future - where did you get the relation between "gm" and "build" > > from? In my "about livecode" no "gm" is shown. > > Tiemo > > > >> -----Urspr?ngliche Nachricht----- > >> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > >> Auftrag von Pierre Sahores > >> Gesendet: Freitag, 7. Dezember 2012 11:17 > >> An: How to use LiveCode > >> Betreff: Re: How to check for the gm version? > >> > >> Hi Tiemo, > >> > >> The last version (GM2) is known as build 1497 (see the "about livecode" > >> menu item). > >> > >> Best, > >> > >> Pierre > >> > >> Le 7 d?c. 2012 ? 10:45, Tiemo Hollmann TB a ?crit : > >> > >>> Hello, > >>> > >>> I have LC 5.5.3, build 1497 installed and know that there is a bug > >>> fix in version 5.5.3-GM-2 > >>> > >>> How can I check, which GM I have installed, because it isn't shown. > >>> Is there somewhere a relation table between build and gm? > >>> > >>> 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 > >> > >> -- > >> 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 > > -- > 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 ambassador at fourthworld.com Fri Dec 7 09:37:22 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 07 Dec 2012 06:37:22 -0800 Subject: LiveCodeJournal.com forum registration Message-ID: <50C1FF22.6040707@fourthworld.com> A couple members of our community recently wrote me asking why their IP address has been banned from the forums at LiveCodeJournal.com, preventing them from registering. We've resolved the issue via email, and they're now able to log in. If you've experienced this yourself, please accept my apologies in advance. I'll provide an explanation on this below, but if you get a notice that either your IP address or email address prevents you from registering at LiveCodeJournal.com just drop me a note with the affected info (IP address or email address you're using) and I'll remove those blocks so you can successfully register. Sorry for the inconvenience, but over time as we remove some of the broader blocks we had in place when we were setting up this is now affecting relatively few users. Going forward it should affect ever fewer as we use more refined blocking measures at the site. NOTE: Disposable email addresses are not allowed for accounts at LiveCodeJournal.com. This includes hotmail.com, excite.com, and even gmail.com along with many others. This is unfortunate but necessary, since without that restriction I wouldn't be able to stay on top of the requests that flood my In Box from spambots. Fortunately, since LiveCodeJournal.com's audience is largely developers, most of you have your own domains and use those to maintain your professional correspondences, so this is not likely an issue for most here. Also, it's really helpful if the user name you choose for your LiveCodeJournal.com account reflects something of your professional online presence, including something related to your name or business. Account names like "crackz44993", "JaneHotDate" or "freepills" may be misunderstood as a spambot. The forum is located here, linked to from the Features section at LiveCodeJournal.com: Let me also take this opportunity to invite any of you interested in participating in administering the site or contributing content to just drop me an email and we'll set you up. LiveCode Journal is a community effort, open to all LiveCode developers. Background: If you run a server, your log reviews have no doubt made you aware of the constant attack on such systems. And if you manage a forum, esp. one using any of the popular forum software like PHPBB, you've seen so many spambot accounts that it likely impacts your productivity cleaning them up. That's what happened with LiveCodeJournal.com. Every day the system notifies me of many new accounts, most of which are obviously bots. In fact, this flood began even before we linked to it from any public source; spambots are thorough and relentless. This activity grew to the point that it was seriously affecting my ability to stay on top of critical email. As a volunteer effort for the community, the only way I could keep the forum running without negatively impacting my business was to block whole IP ranges. Yes, I understand that these days the original geographic distribution of IP addresses is no longer maintained in the same way and doesn't always means that a given user is from the region of the world you might expect, and this will result in false positives from time to time. Still, weighing the various tradeoffs, it was necessary to allow me to get back to work. In fact, IP range blocking is a fairly common practice for not just forums but even entire domains among small software shops to prevent expensive bandwidth abuse from crack sites in parts of the world where law enforcement has proven themselves completely ineffectual with regard to hacking and intellectual property violations. Now that the forums at LiveCodeJournal.com have been made public, I've gone through and removed most of the broader blocks I originally had in place, and the remaining blocks are usually specific enough to minimize the risk of false positives. Still, we do see false positives now and then, so if you're affected please accept my apologies in advance, and just email me your IP address and I'll refine that block so you can register. Thanks for your understanding on this. I look forward to seeing humans like you in the forums. :) -- 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 Fri Dec 7 13:17:12 2012 From: livfoss at mac.com (Graham Samuel) Date: Fri, 07 Dec 2012 19:17:12 +0100 Subject: iOS Scrolling - need a cookbook Message-ID: I'm confused about scrolling. I looked at the iOS release notes for LC5.5.3. They say > Out-of-bounds group scrolling > > Two properties unboundedHScroll and unboundedVScroll now enable you to configure whether scroll values for a group can be set to values outside of the actual content bounds. This makes it much easier to support the standard iOS bouncing features in scrollers. > > This change has been made to both the iOS engine, and the main desktop engine. See the main release notes for more details. I can't see anything in the main release notes or the dictionary for that matter, and I can't seem to make the thing work. I realise that I don't know how to deploy this feature at all. What I'm trying to do right now is to have a group scrolling horizontally across an iPhone portrait screen: the group is wider than the screen (say twice as wide), so I tried to set up a scroller that could show the left-hand side of the group or the right-hand side. I am not so interested in intermediate positions, but they look more native if I allow smooth scrolling. I set the "pageEnabled" of the group to true because I thought I would get the scroll to come to rest either completely on the left or completely on the right. I realise that for this particular case, I could have achieved what I want without a scroller just by using two cards, but the scroller thing is more native and in the end a lot more powerful so I want to make it work. Lots of strange things have happened when I try stuff out on the simulator (it's the iOS 5 one, as it happens): firstly, when I set "canBounce" to true, the scroller wouldn't come to rest at the left hand side of the frame (the group's rect) but moved away from it leftwards so that part of the left hand side was obscured; same with the right side. So I switched off the bounce effects. Now the scroller will only move a very few pixels, despite the fact that its contentRect is over 600 pixels wide. As a slight aside, but equally annoying, is the fact that the background of the iPhone screen (on the simulator) has turned a rather unattractive grey. I'm pretty sure I haven't set it to grey or any other color. Fumbling around, I have made scrollers work in the past, but I realise that I don't know what I'm doing, so success has come by luck, mostly. What I need is a nice clear "how to" description of dealing with iOS scrolling. It may well exist, but so far i haven't found it. Can anyone point me in the right direction? I will keep on experimenting, but some clearly written advice would be a great help. TIA Graham From matsastrom at yahoo.se Fri Dec 7 14:02:31 2012 From: matsastrom at yahoo.se (=?iso-8859-1?Q?Mats_=C5str=F6m?=) Date: Fri, 7 Dec 2012 19:02:31 +0000 (GMT) Subject: Date bug? In-Reply-To: References: Message-ID: <1354906951.44522.YahooMailNeo@web171201.mail.ir2.yahoo.com> I have a simple script that adds one day to a date and returns the next date. I expect this to return 11/1/12, and it does: put"10/31/12"intoaDate convertaDate toseconds add 86400 to aDate convert aDate to short date return aDate But change "10/31/12" to "10/31/10" -?it returns 10/31/10 It does not add a day - instead it returns the same date. The same thing happens for these years (maybe some more, I have only tested from 1970 to 2051): 1999, 2004, 2010, 2021, 2027, 2032 Can anybody confirm? /Mats ? "Change is the price for survival" /Gary Player From toncardona at me.com Fri Dec 7 14:16:29 2012 From: toncardona at me.com (=?iso-8859-1?Q?Melit=F3n_Cardona?=) Date: Fri, 07 Dec 2012 20:16:29 +0100 Subject: Date bug Message-ID: <6F0797B3-D02A-499B-9CEB-C872BC969F73@me.com> Confirmed with LC 5.5.3. Seems to be a bug. From bonnmike at gmail.com Fri Dec 7 14:27:45 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 7 Dec 2012 12:27:45 -0700 Subject: Date bug? In-Reply-To: <1354906951.44522.YahooMailNeo@web171201.mail.ir2.yahoo.com> References: <1354906951.44522.YahooMailNeo@web171201.mail.ir2.yahoo.com> Message-ID: There is strangeness sometimes due to system settings for daylight savings, etc. Since "10/30/10" is actually determined as "10/30/10 12:00 AM" an hours difference can cause problems similar to what you're seeing. Why does it behave this way on some dates and not others? No clue. If you want to see what is occurring so that you can confirm, if you convert adate to long time and look at what is returned it will most likely be 11:00 PM. There are a few ways around this. Define your time to convert as a date and time set to noon. Or add 25 hours to the seconds rather than 24. Or use dateitems instead. Dateitems is by far the easiest. put "10/31/10" into aDate convert aDate to dateitems add 1 to item 3 of aDate convert aDate to short time return aDate On Fri, Dec 7, 2012 at 12:02 PM, Mats ?str?m wrote: > I have a simple script that adds one day to a date and returns the next > date. > I expect this to return 11/1/12, and it does: > > put"10/31/12"intoaDate > convertaDate toseconds > add 86400 to aDate > convert aDate to short date > return aDate > > But change "10/31/12" to "10/31/10" - it returns 10/31/10 > It does not add a day - instead it returns the same date. > The same thing happens for these years (maybe some more, I have only > tested from 1970 to 2051): > 1999, 2004, 2010, 2021, 2027, 2032 > > Can anybody confirm? > > /Mats > > "Change is the price for survival" > /Gary Player > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From irog at mac.com Fri Dec 7 15:10:28 2012 From: irog at mac.com (Roger Guay) Date: Fri, 07 Dec 2012 12:10:28 -0800 Subject: Capture the Trig Function from an Option Menu Button Message-ID: <720DB527-9FF1-4754-89C1-CE08D44B01A4@mac.com> I know this is probably a stupid question, but I can't seem to make it work: I have an Option Menu button with sin, cos, tan as menu Items. I want my card script to take the label of that button, and then perform the trig function with that label. I've tried every thing I can think of to "get", "do" or in general assemble the script, but to no avail. Any suggestion? TIA, Roger From niggemann at uni-wh.de Fri Dec 7 15:25:29 2012 From: niggemann at uni-wh.de (BNig) Date: Fri, 7 Dec 2012 12:25:29 -0800 (PST) Subject: Date bug? In-Reply-To: <1354906951.44522.YahooMailNeo@web171201.mail.ir2.yahoo.com> References: <1354906951.44522.YahooMailNeo@web171201.mail.ir2.yahoo.com> Message-ID: <1354911929205-4657928.post@n4.nabble.com> Hi Mats, as Mike explained. Guessing from your name I assume you live in Sweden The end of daylight saving time in 2010 was 10/31/10 The end of daylight saving time in 2012 was 10/28/12 That would explain the different behavior you see. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Date-bug-tp4657924p4657928.html Sent from the Revolution - User mailing list archive at Nabble.com. From lc at pbh.on-rev.com Fri Dec 7 15:55:41 2012 From: lc at pbh.on-rev.com (Paul Hibbert) Date: Fri, 7 Dec 2012 12:55:41 -0800 Subject: Capture the Trig Function from an Option Menu Button In-Reply-To: <720DB527-9FF1-4754-89C1-CE08D44B01A4@mac.com> References: <720DB527-9FF1-4754-89C1-CE08D44B01A4@mac.com> Message-ID: <3078BE1B-E3E0-4776-A527-A82576B01039@pbh.on-rev.com> Roger, Is this what you are looking for? If your script is triggered by a change of the option menu, then this format should work? on menuPick pItemName switch pItemName case "sin" put the sin of fld 1 into fld 2 break case "cos" put the cos of fld 1 into fld 2 break case "tan" put the tan of fld 1 into fld 2 break end switch end menuPick But if you want the card script to read the option menu choice after it has been made, then leave the button script empty and use something like this in your card script? command thisHandler put the label of btn "myOptiionMenu" into tOption switch tOption case "sin" put the sin of fld 1 into fld 2 break case "cos" put the cos of fld 1 into fld 2 break case "tan" put the tan of fld 1 into fld 2 break end switch end thisHandler Paul On 2012-12-07, at 12:10 PM, Roger Guay wrote: > I know this is probably a stupid question, but I can't seem to make it work: > > I have an Option Menu button with sin, cos, tan as menu Items. I want my card script to take the label of that button, and then perform the trig function with that label. I've tried every thing I can think of to "get", "do" or in general assemble the script, but to no avail. Any suggestion? > > TIA, > Roger > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Fri Dec 7 17:02:57 2012 From: irog at mac.com (Roger Guay) Date: Fri, 07 Dec 2012 14:02:57 -0800 Subject: Capture the Trig Function from an Option Menu Button In-Reply-To: <3078BE1B-E3E0-4776-A527-A82576B01039@pbh.on-rev.com> References: <720DB527-9FF1-4754-89C1-CE08D44B01A4@mac.com> <3078BE1B-E3E0-4776-A527-A82576B01039@pbh.on-rev.com> Message-ID: <8B2B8620-4355-4413-B860-658CED17D853@mac.com> Thanks for your help, Paul. Your second script is more like what I need. BUT, I need to capture the bare function to be used with angles that are derived from some other script. Something like: local theTrigFctn on thisHandler put the label of btn "myOptiionMenu" into tOption switch tOption case "sin" put sin into theTrigFctn --- you can't do this break case "cos" put cos into theTrigFctn --- you can't do this break case "tan" put tan into theTrigFctn --- you can't do this break end switch end thisHandler on otherHandler theta put theTrigFctn(theta) end otherHandler Thanks again, Roger On Dec 7, 2012, at 12:55 PM, Paul Hibbert wrote: > command thisHandler > put the label of btn "myOptiionMenu" into tOption > switch tOption > case "sin" > put the sin of fld 1 into fld 2 > break > case "cos" > put the cos of fld 1 into fld 2 > break > case "tan" > put the tan of fld 1 into fld 2 > break > end switch > end thisHandler From jacque at hyperactivesw.com Fri Dec 7 17:32:20 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 07 Dec 2012 16:32:20 -0600 Subject: Capture the Trig Function from an Option Menu Button In-Reply-To: <8B2B8620-4355-4413-B860-658CED17D853@mac.com> References: <720DB527-9FF1-4754-89C1-CE08D44B01A4@mac.com> <3078BE1B-E3E0-4776-A527-A82576B01039@pbh.on-rev.com> <8B2B8620-4355-4413-B860-658CED17D853@mac.com> Message-ID: <50C26E74.2080600@hyperactivesw.com> Try: local sOption on thisHandler put the label of btn "myOptiionMenu" into sOption end test on otherHandler theta do "put the" && sOption && "of" && theta end otherHandler On 12/7/12 4:02 PM, Roger Guay wrote: > Thanks for your help, Paul. Your second script is more like what I need. BUT, I need to capture the bare function to be used with angles that are derived from some other script. Something like: > > local theTrigFctn > > on thisHandler > put the label of btn "myOptiionMenu" into tOption > switch tOption > case "sin" > put sin into theTrigFctn --- you can't do this > break > case "cos" > put cos into theTrigFctn --- you can't do this > break > case "tan" > put tan into theTrigFctn --- you can't do this > break > end switch > end thisHandler > > on otherHandler theta > put theTrigFctn(theta) > end otherHandler > > Thanks again, > Roger > > > > > On Dec 7, 2012, at 12:55 PM, Paul Hibbert wrote: > >> command thisHandler >> put the label of btn "myOptiionMenu" into tOption >> switch tOption >> case "sin" >> put the sin of fld 1 into fld 2 >> break >> case "cos" >> put the cos of fld 1 into fld 2 >> break >> case "tan" >> put the tan of fld 1 into fld 2 >> break >> end switch >> end thisHandler > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Fri Dec 7 17:39:21 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 07 Dec 2012 16:39:21 -0600 Subject: Capture the Trig Function from an Option Menu Button In-Reply-To: <50C26E74.2080600@hyperactivesw.com> References: <720DB527-9FF1-4754-89C1-CE08D44B01A4@mac.com> <3078BE1B-E3E0-4776-A527-A82576B01039@pbh.on-rev.com> <8B2B8620-4355-4413-B860-658CED17D853@mac.com> <50C26E74.2080600@hyperactivesw.com> Message-ID: <50C27019.9060303@hyperactivesw.com> On 12/7/12 4:32 PM, J. Landman Gay wrote: > Try: > > local sOption > > on thisHandler > put the label of btn "myOptiionMenu" into sOption > end test > > on otherHandler theta > do "put the" && sOption && "of" && theta > end otherHandler Or shorter, to avoid the script local variable, read the option button directly: on otherHandler theta do "put the" && the label of btn "myOptionMenu" && "of" && theta end otherHandler -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From irog at mac.com Fri Dec 7 18:02:30 2012 From: irog at mac.com (Roger Guay) Date: Fri, 07 Dec 2012 15:02:30 -0800 Subject: Capture the Trig Function from an Option Menu Button In-Reply-To: <50C26E74.2080600@hyperactivesw.com> References: <720DB527-9FF1-4754-89C1-CE08D44B01A4@mac.com> <3078BE1B-E3E0-4776-A527-A82576B01039@pbh.on-rev.com> <8B2B8620-4355-4413-B860-658CED17D853@mac.com> <50C26E74.2080600@hyperactivesw.com> Message-ID: <6D1FF121-2904-4D5A-AB33-FDDACC021C37@mac.com> Very close but still no cigar. I did the following to monitor what was happening on thisHandler put the label of btn "myOptionMenu" into sOption end thisHandler on otherHandler theta get "put the" && sOption && "of" && theta do it put it&&the result end otherHandler When I execute this for theta = pi/4, I get "put the Sin of 0.785398" with the result being empty. I I then copy "put the Sin of 0.785398" and paste back into the message box, it works with .707, the correct answer. So close??. On Dec 7, 2012, at 2:32 PM, "J. Landman Gay" wrote: > Try: > > local sOption > > on thisHandler > put the label of btn "myOptiionMenu" into sOption > end test > > on otherHandler theta > do "put the" && sOption && "of" && theta > end otherHandler > > > On 12/7/12 4:02 PM, Roger Guay wrote: >> Thanks for your help, Paul. Your second script is more like what I need. BUT, I need to capture the bare function to be used with angles that are derived from some other script. Something like: >> >> local theTrigFctn >> >> on thisHandler >> put the label of btn "myOptiionMenu" into tOption >> switch tOption >> case "sin" >> put sin into theTrigFctn --- you can't do this >> break >> case "cos" >> put cos into theTrigFctn --- you can't do this >> break >> case "tan" >> put tan into theTrigFctn --- you can't do this >> break >> end switch >> end thisHandler >> >> on otherHandler theta >> put theTrigFctn(theta) >> end otherHandler >> >> Thanks again, >> Roger >> >> >> >> >> On Dec 7, 2012, at 12:55 PM, Paul Hibbert wrote: >> >>> command thisHandler >>> put the label of btn "myOptiionMenu" into tOption >>> switch tOption >>> case "sin" >>> put the sin of fld 1 into fld 2 >>> break >>> case "cos" >>> put the cos of fld 1 into fld 2 >>> break >>> case "tan" >>> put the tan of fld 1 into fld 2 >>> break >>> end switch >>> end thisHandler >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 jhj at jhj.com Fri Dec 7 18:21:25 2012 From: jhj at jhj.com (Jerry Jensen) Date: Fri, 7 Dec 2012 15:21:25 -0800 Subject: Capture the Trig Function from an Option Menu Button In-Reply-To: <6D1FF121-2904-4D5A-AB33-FDDACC021C37@mac.com> References: <720DB527-9FF1-4754-89C1-CE08D44B01A4@mac.com> <3078BE1B-E3E0-4776-A527-A82576B01039@pbh.on-rev.com> <8B2B8620-4355-4413-B860-658CED17D853@mac.com> <50C26E74.2080600@hyperactivesw.com> <6D1FF121-2904-4D5A-AB33-FDDACC021C37@mac.com> Message-ID: <56765CD5-095F-4CD4-A608-737CC9995A97@jhj.com> On Dec 7, 2012, at 3:02 PM, Roger Guay wrote: > Very close but still no cigar. > > I did the following to monitor what was happening > > on thisHandler > put the label of btn "myOptionMenu" into sOption > end thisHandler > > on otherHandler theta > get "put the" && sOption && "of" && theta > do it > put it&&the result > end otherHandler > > When I execute this for theta = pi/4, I get "put the Sin of 0.785398" with the result being empty. I I then copy "put the Sin of 0.785398" and paste back into the message box, it works with .707, the correct answer. I think the line -do it- is actually executing -do "put the"- and the rest of it is ignored but doesn't (should?) make an error. The result would be empty. Maybe parens like get "(put the" && sOption && "of" && theta & ")" would help? (untested) .Jerry From irog at mac.com Fri Dec 7 18:31:22 2012 From: irog at mac.com (Roger Guay) Date: Fri, 07 Dec 2012 15:31:22 -0800 Subject: Capture the Trig Function from an Option Menu Button In-Reply-To: <56765CD5-095F-4CD4-A608-737CC9995A97@jhj.com> References: <720DB527-9FF1-4754-89C1-CE08D44B01A4@mac.com> <3078BE1B-E3E0-4776-A527-A82576B01039@pbh.on-rev.com> <8B2B8620-4355-4413-B860-658CED17D853@mac.com> <50C26E74.2080600@hyperactivesw.com> <6D1FF121-2904-4D5A-AB33-FDDACC021C37@mac.com> <56765CD5-095F-4CD4-A608-737CC9995A97@jhj.com> Message-ID: <87DA5E70-E1DA-4ECF-99C4-8081632600CA@mac.com> Good thought, but it doesn't work either. And Idid try moving the parens around. On Dec 7, 2012, at 3:21 PM, Jerry Jensen wrote: > Maybe parens like > get "(put the" && sOption && "of" && theta & ")" > would help? > (untested) From jhj at jhj.com Fri Dec 7 18:34:40 2012 From: jhj at jhj.com (Jerry Jensen) Date: Fri, 7 Dec 2012 15:34:40 -0800 Subject: Capture the Trig Function from an Option Menu Button In-Reply-To: <87DA5E70-E1DA-4ECF-99C4-8081632600CA@mac.com> References: <720DB527-9FF1-4754-89C1-CE08D44B01A4@mac.com> <3078BE1B-E3E0-4776-A527-A82576B01039@pbh.on-rev.com> <8B2B8620-4355-4413-B860-658CED17D853@mac.com> <50C26E74.2080600@hyperactivesw.com> <6D1FF121-2904-4D5A-AB33-FDDACC021C37@mac.com> <56765CD5-095F-4CD4-A608-737CC9995A97@jhj.com> <87DA5E70-E1DA-4ECF-99C4-8081632600CA@mac.com> Message-ID: I tried it too. Didn't work. Once again, I learn to test before posting. On Dec 7, 2012, at 3:31 PM, Roger Guay wrote: > Good thought, but it doesn't work either. And Idid try moving the parens around. > > > On Dec 7, 2012, at 3:21 PM, Jerry Jensen wrote: > >> Maybe parens like >> get "(put the" && sOption && "of" && theta & ")" >> would help? >> (untested) > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Dec 7 19:05:46 2012 From: niggemann at uni-wh.de (BNig) Date: Fri, 7 Dec 2012 16:05:46 -0800 (PST) Subject: Capture the Trig Function from an Option Menu Button In-Reply-To: <87DA5E70-E1DA-4ECF-99C4-8081632600CA@mac.com> References: <720DB527-9FF1-4754-89C1-CE08D44B01A4@mac.com> <3078BE1B-E3E0-4776-A527-A82576B01039@pbh.on-rev.com> <8B2B8620-4355-4413-B860-658CED17D853@mac.com> <50C26E74.2080600@hyperactivesw.com> <6D1FF121-2904-4D5A-AB33-FDDACC021C37@mac.com> <56765CD5-095F-4CD4-A608-737CC9995A97@jhj.com> <87DA5E70-E1DA-4ECF-99C4-8081632600CA@mac.com> Message-ID: <1354925146439-4657937.post@n4.nabble.com> Hi Roger, try: ---------- on otherHandler theta ? ?get "put the" && (sOption) && "of" && theta ? ? do it ? ?put cr & it&& the result after message end otherHandler --------- I think you overwrite the "do it" with the put line Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Capture-the-Trig-Function-from-an-Option-Menu-Button-tp4657927p4657937.html Sent from the Revolution - User mailing list archive at Nabble.com. From irog at mac.com Fri Dec 7 19:13:04 2012 From: irog at mac.com (Roger Guay) Date: Fri, 07 Dec 2012 16:13:04 -0800 Subject: Capture the Trig Function from an Option Menu Button In-Reply-To: <1354925146439-4657937.post@n4.nabble.com> References: <720DB527-9FF1-4754-89C1-CE08D44B01A4@mac.com> <3078BE1B-E3E0-4776-A527-A82576B01039@pbh.on-rev.com> <8B2B8620-4355-4413-B860-658CED17D853@mac.com> <50C26E74.2080600@hyperactivesw.com> <6D1FF121-2904-4D5A-AB33-FDDACC021C37@mac.com> <56765CD5-095F-4CD4-A608-737CC9995A97@jhj.com> <87DA5E70-E1DA-4ECF-99C4-8081632600CA@mac.com> <1354925146439-4657937.post@n4.nabble.com> Message-ID: <90941C19-49B9-4791-BB9F-CB04A8F7957F@mac.com> Thank you, Bernd. Seems to work. Now to understand. Cheers, Roger On Dec 7, 2012, at 4:05 PM, BNig wrote: > on otherHandler theta > get "put the" && (sOption) && "of" && theta > do it > put cr & it&& the result after message > end otherHandler From niggemann at uni-wh.de Fri Dec 7 19:22:55 2012 From: niggemann at uni-wh.de (BNig) Date: Fri, 7 Dec 2012 16:22:55 -0800 (PST) Subject: Capture the Trig Function from an Option Menu Button In-Reply-To: <90941C19-49B9-4791-BB9F-CB04A8F7957F@mac.com> References: <720DB527-9FF1-4754-89C1-CE08D44B01A4@mac.com> <3078BE1B-E3E0-4776-A527-A82576B01039@pbh.on-rev.com> <8B2B8620-4355-4413-B860-658CED17D853@mac.com> <50C26E74.2080600@hyperactivesw.com> <6D1FF121-2904-4D5A-AB33-FDDACC021C37@mac.com> <56765CD5-095F-4CD4-A608-737CC9995A97@jhj.com> <87DA5E70-E1DA-4ECF-99C4-8081632600CA@mac.com> <1354925146439-4657937.post@n4.nabble.com> <90941C19-49B9-4791-BB9F-CB04A8F7957F@mac.com> Message-ID: <1354926175083-4657939.post@n4.nabble.com> Hi Roger, nothing really to understand. Sorry for the parentheses around sOption. They are not necessary. I was playing around with the code until I saw that you write to the message box twice. once in the "do it" part and second in the "put cr & it&& the result after message" part. at the end you only see the second time because the first time was erased by the second part. Kind regards Bernd RogGuay wrote > Thank you, Bernd. Seems to work. Now to understand. > > Cheers, > Roger > > > On Dec 7, 2012, at 4:05 PM, BNig < > niggemann@ > > wrote: > >> on otherHandler theta >> get "put the" && (sOption) && "of" && theta >> do it >> put cr & it&& the result after message >> end otherHandler -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Capture-the-Trig-Function-from-an-Option-Menu-Button-tp4657927p4657939.html Sent from the Revolution - User mailing list archive at Nabble.com. From irog at mac.com Fri Dec 7 19:44:35 2012 From: irog at mac.com (Roger Guay) Date: Fri, 07 Dec 2012 16:44:35 -0800 Subject: Capture the Trig Function from an Option Menu Button In-Reply-To: <1354926175083-4657939.post@n4.nabble.com> References: <720DB527-9FF1-4754-89C1-CE08D44B01A4@mac.com> <3078BE1B-E3E0-4776-A527-A82576B01039@pbh.on-rev.com> <8B2B8620-4355-4413-B860-658CED17D853@mac.com> <50C26E74.2080600@hyperactivesw.com> <6D1FF121-2904-4D5A-AB33-FDDACC021C37@mac.com> <56765CD5-095F-4CD4-A608-737CC9995A97@jhj.com> <87DA5E70-E1DA-4ECF-99C4-8081632600CA@mac.com> <1354925146439-4657937.post@n4.nabble.com> <90941C19-49B9-4791-BB9F-CB04A8F7957F@mac.com> <1354926175083-4657939.post@n4.nabble.com> Message-ID: <992F3BC7-A718-404D-A6D4-8FE12153C495@mac.com> Thanks again, Bernd. These little subtleties quite often escape me! And thanks also to Paul, Jerry and Jacque for sending me in the right direction Cheers, Roger On Dec 7, 2012, at 4:22 PM, BNig wrote: > Hi Roger, > > nothing really to understand. Sorry for the parentheses around sOption. They > are not necessary. I was playing around with the code until I saw that you > write to the message box twice. > once in the "do it" part and second in the "put cr & it&& the result after > message" part. > > at the end you only see the second time because the first time was erased by > the second part. > > Kind regards > Bernd > > > RogGuay wrote >> Thank you, Bernd. Seems to work. Now to understand. >> >> Cheers, >> Roger >> >> >> On Dec 7, 2012, at 4:05 PM, BNig < > >> niggemann@ > >> > wrote: >> >>> on otherHandler theta >>> get "put the" && (sOption) && "of" && theta >>> do it >>> put cr & it&& the result after message >>> end otherHandler > > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Capture-the-Trig-Function-from-an-Option-Menu-Button-tp4657927p4657939.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 andrew at ctech.me Fri Dec 7 19:57:35 2012 From: andrew at ctech.me (Andrew Kluthe) Date: Fri, 7 Dec 2012 18:57:35 -0600 Subject: Password Field - Mark Schonewille Message-ID: Hello, I have been using Mark Schonewille's password field in some of my stacks for a while. So far it has done the trick, but I found out recently that it doesn't like to play well with the number keys on the right of the keyboard. Are there any other password fields I could leverage or some basic tips for catching keystrokes from the number pad? -- Regards, Andrew Kluthe andrew at ctech.me From mwieder at ahsoftware.net Fri Dec 7 20:40:49 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 7 Dec 2012 17:40:49 -0800 Subject: Capture the Trig Function from an Option Menu Button In-Reply-To: <90941C19-49B9-4791-BB9F-CB04A8F7957F@mac.com> References: <720DB527-9FF1-4754-89C1-CE08D44B01A4@mac.com> <3078BE1B-E3E0-4776-A527-A82576B01039@pbh.on-rev.com> <8B2B8620-4355-4413-B860-658CED17D853@mac.com> <50C26E74.2080600@hyperactivesw.com> <6D1FF121-2904-4D5A-AB33-FDDACC021C37@mac.com> <56765CD5-095F-4CD4-A608-737CC9995A97@jhj.com> <87DA5E70-E1DA-4ECF-99C4-8081632600CA@mac.com> <1354925146439-4657937.post@n4.nabble.com> <90941C19-49B9-4791-BB9F-CB04A8F7957F@mac.com> Message-ID: <381977884984.20121207174049@ahsoftware.net> Roger- Or try a one-liner: on otherHandler theta ? do "put" && sOption & "(" & theta & ")" end otherHandler -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri Dec 7 21:03:03 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 7 Dec 2012 18:03:03 -0800 Subject: GLX2 3.0.13 now available In-Reply-To: <1921779996859.20121205104241@ahsoftware.net> References: <881724361734.20121204191525@ahsoftware.net> <50BF7B4B.8070306@tweedly.net> <1921779996859.20121205104241@ahsoftware.net> Message-ID: <841979219375.20121207180303@ahsoftware.net> Yo- >> I don't see it there (yet?). The link should work now. I accidentally uploaded an alpha build instead of the real one the other day, and pulled it until I could get the real one up. And if you're one of the dozen or so folks who jumped the gun and downloaded the alpha before I had a chance to pull it from the web site, please download the correct build. The glx2 status bar will announce the version as 3.0.13 for the real build and 3.0.13a for the alpha build, so you can tell what you've got installed. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Fri Dec 7 22:58:18 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 07 Dec 2012 21:58:18 -0600 Subject: Password Field - Mark Schonewille In-Reply-To: References: Message-ID: <50C2BADA.203@hyperactivesw.com> On 12/7/12 6:57 PM, Andrew Kluthe wrote: > Hello, > > I have been using Mark Schonewille's password field in some of my > stacks for a while. So far it has done the trick, but I found out > recently that it doesn't like to play well with the number keys on the > right of the keyboard. Are there any other password fields I could > leverage or some basic tips for catching keystrokes from the number > pad? > > My favorite way to do this is with a trick posted by Bill Marriott some years ago. It acts like any other field, accepts any normal field input from any keyboard or input source, allows all editing functions, user selections, etc. and still hides what the user types. You can get the text just like you do from any field. Here's what he said: === Here is what I thought was a very simple solution to that: 1) Include a tiny image (such as a 10x10 pixel padlock) in your stack. I named mine "tinyPadlock." 2) Attach this script to the field used for password entry: on keyUp -- enable masking of password during entry lock messages lock screen repeat with i = 1 to the number of characters in me if the imagesource of char i of me is not "tinyPadlock" then set the imagesource char i of me to "tinyPadlock" end if end repeat unlock messages pass keyUp end keyUp This handles whatever someone might do in the field, masks their input, and still allows you to access the content of the field as if the password masking was not used. === I usually use a little bullet image. Caveat: It does fail if you leave the copy or cut menu item active. If a user can copy the images, the original text will be revealed when pasted somewhere else. Disable "copy" and "cut" when the field is in use. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Dec 8 00:02:55 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 07 Dec 2012 23:02:55 -0600 Subject: iOS Scrolling - need a cookbook In-Reply-To: References: Message-ID: <50C2C9FF.1020201@hyperactivesw.com> On 12/7/12 12:17 PM, Graham Samuel wrote: > Fumbling around, I have made scrollers work in the past, but I > realise that I don't know what I'm doing, so success has come by > luck, mostly. What I need is a nice clear "how to" description of > dealing with iOS scrolling. It may well exist, but so far i haven't > found it. Can anyone point me in the right direction? There's an example stack in the resouces that ship with LiveCode. Under the Help menu choose Example Stacks and Resources which opens a Finder window. Then look for the Scroller Example stack. Most everything is in there, though there's not a lot of explanation. I was confused about contentRect until I was told that the rect is relative to the scoller control. That is, the 0,0 topleft is always the topleft of the group or field you are scrolling; it isn't a card location. So if you want the entire content of the group or field to scroll, the scroller's contentRect will always start with 0,0 and the last two items will be the formattedWidth and formattedHeight of the group/field. Basic concepts are: Ensure that the layermode for the group is "dynamic" and acceleratedRendering is on Set the scroll(s) of the underlying group or field to 0 Create the scroller Set the rect of the scroller to the visible area you want to display Set the contentRect of the scroller to the total area that should scroll (as per above) Set the scroll of the scroller to 0 -- may not be necessary but I do it Set any other properties you want (bounce, colors, paging, etc. Here's where you'd disable vertical scrolling if you don't want it) Set the visible of the scroller to TRUE -- for some reason the default is false, which means the scroller won't respond If you need to restore a previous scroll position, set the scroll(s) of both the group and the scroller to a previously saved scroll amount as a last step. I've found it best to delete the scroller when changing cards, and re-create it when opening the card. You probably already have a scrollerDidScroll handler. It passes the x,y position of the scroller and you just set the scroll of the group to the same thing. If you don't want vertical scrolling, just ignore the Y parameter and only change the horizontal position of the group. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From brami.serge at gmail.com Sat Dec 8 02:31:45 2012 From: brami.serge at gmail.com (Serge Brami) Date: Sat, 8 Dec 2012 08:31:45 +0100 Subject: Send appleevent to livecode doesnt work ? Message-ID: I want to send an Applevent to another livecode app running on an other Mac on a local network. for example on the Mac 1 a button with the script : "on mouseup send "hello" to "Mac2:livecode" end mouseup" on the Mac 2 "on appleevent type if type is "aevt" then put "hello" end if pass applevent end applevent Well it works BUT only il on mac2 I switch from livecode to another app and then switch back to livecode any idea ? From livfoss at mac.com Sat Dec 8 04:55:29 2012 From: livfoss at mac.com (Graham Samuel) Date: Sat, 08 Dec 2012 10:55:29 +0100 Subject: iOS Scrolling - need a cookbook In-Reply-To: <50C2C9FF.1020201@hyperactivesw.com> References: <50C2C9FF.1020201@hyperactivesw.com> Message-ID: Jacque, what a treasure you are! What I hope to do now (there are some other pressures) is to experiment, refine this explanation a bit and write it up with a couple of diagrams (which sadly can't go into this list). I think it's pretty bad news that (AFAIK) very little of this has reached any of the official LC documentation - which means for example if one follows the sample stack it's very difficult to modify it without stopping it working. Scrolling is a very fundamental idea in mobile interfaces, and the method which LC have chosen to implement it are not obvious, nor are the consequences of setting the various parameters. Thanks again Graham PS Yes I do have a scrollerDidScroll handler, but again I didn't find the way it worked particularly intuitive. On 8 Dec 2012, at 06:02, J. Landman Gay wrote: > On 12/7/12 12:17 PM, Graham Samuel wrote: > >> Fumbling around, I have made scrollers work in the past, but I >> realise that I don't know what I'm doing, so success has come by >> luck, mostly. What I need is a nice clear "how to" description of >> dealing with iOS scrolling. It may well exist, but so far i haven't >> found it. Can anyone point me in the right direction? > > There's an example stack in the resouces that ship with LiveCode. Under the Help menu choose Example Stacks and Resources which opens a Finder window. Then look for the Scroller Example stack. > > Most everything is in there, though there's not a lot of explanation. I was confused about contentRect until I was told that the rect is relative to the scoller control. That is, the 0,0 topleft is always the topleft of the group or field you are scrolling; it isn't a card location. So if you want the entire content of the group or field to scroll, the scroller's contentRect will always start with 0,0 and the last two items will be the formattedWidth and formattedHeight of the group/field. > > Basic concepts are: > Ensure that the layermode for the group is "dynamic" and acceleratedRendering is on > > Set the scroll(s) of the underlying group or field to 0 > Create the scroller > Set the rect of the scroller to the visible area you want to display > Set the contentRect of the scroller to the total area that should scroll (as per above) > Set the scroll of the scroller to 0 -- may not be necessary but I do it > Set any other properties you want (bounce, colors, paging, etc. Here's where you'd disable vertical scrolling if you don't want it) > Set the visible of the scroller to TRUE -- for some reason the default is false, which means the scroller won't respond > > If you need to restore a previous scroll position, set the scroll(s) of both the group and the scroller to a previously saved scroll amount as a last step. > > I've found it best to delete the scroller when changing cards, and re-create it when opening the card. > > You probably already have a scrollerDidScroll handler. It passes the x,y position of the scroller and you just set the scroll of the group to the same thing. If you don't want vertical scrolling, just ignore the Y parameter and only change the horizontal position of the group. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com From monte at sweattechnologies.com Sat Dec 8 05:09:10 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 8 Dec 2012 21:09:10 +1100 Subject: Mobile sockets crowd funding opportunity Message-ID: <9BACD0F4-2F6A-479C-8D69-8B2B7BF5284E@sweattechnologies.com> Hi LiveCoders A number of LiveCode developers need sockets on iOS and android. The subject of developing an external for this feature came up recently on the LiveCode Developer Program list. It was proposed by a number of developers that the external would be a good candidate for crowd funding. As part of the discussions RunRev was asked for comment and we were given permission to publish the reply: "I would go ahead and develop this if you receive the funding. We are not working on mobile sockets as a feature at the moment and it may be some time before we can commit resources to it." Ben Beaumont (LiveCode Product Manager) The current situation for sockets is a TCP client is able to be implemented on iOS using the rresocket external that is available in the iOS Externals SDK. This external is implemented using NSStream and won't port to android when the android external sdk is published. The proposal is to implement a sockets external in portable C++ code based on the boost.asio library in the hope that once the android external sdk is released it would port with minimal changes. The expectation is that $1000 to $1500 of funding will be sufficient to implement the bulk of the external, however, to ensure we are implementing the highest priority features first the external would be implemented in the following order: - UDP client - TCP server - UDP server - TCP client (last because of the availability of rresocket) mergExt is about implementing features the LiveCode community needs when you need them. Some comments from members of the LiveCode Developer Program about why this external is worthwhile finding: "Currently, mobile network actions are severely limited by the lack of a socket library. There is no way, for instance, to send mail without using the built-in mail app, even though having the user have a chance to read a system message and mess it up is not desirable. We have an application where we would like to be able to communicate with a network-enabled appliance. it does not have bluetooth, and it does not use a standard http protocol, so without a network stack/sockets, I am dead-in-the-water." Mike Kerner (R. M. Kerner Co.) "I will definitely take part on the funding. I think socket support is an essential feature for LiveCode Mobile." Matthias Rebbe "I'm In." Ralph DiMola (Evergreen Information Services) "Mine included there are at least three votes. Anyone else?" Ralf Bitter (author of revIgniter) "Please add my vote to this." Pierre Sahores "I am sure there are a number of people that would like to help fund a sockets external. I for one would be more than happy to dive in should you decide to look for funders for this external. I have a feeling this external will reach the funding value very quickly." Mark Talluto (Canela Software) There are 3 choices for funding. All options come with the access to the pre-release versions and the final version for iOS. Each level of funding gives you access to special discount rates on the mergExt store for the next 3 months. All funders (unless they don't want to) will be thanked for their generous contribution in the documentation under their funding level. - Bronze: $80 funding and 10% off - Silver: $160 funding and 20% off - Gold: $240 funding and 30% off Please note that as the android externals sdk is currently an unknown variable there can be no guarantee that more funding will not be required when it's released. It is, however, the intention that the external be implemented so that it should cross compile for android. It is also not possible at this stage to estimate a date for an android version to be provided. After 90 days if the project has not met it's target the funders will be offered credit at the mergExt store to the value of their funding. To get involved go to http://mergext.com/fund/sockets For anyone interested in the progress of the Game Center crowd funding effort the external will be be released shortly and funders are currently making use of it to implement a number of games. The external is still open to funding to cover turn based matches and matchmaking. 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 Dec 8 06:12:52 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 8 Dec 2012 12:12:52 +0100 Subject: Password Field - Mark Schonewille In-Reply-To: References: Message-ID: <381B8FE3-BA34-4736-855F-FA888F184423@economy-x-talk.com> Hi Andrew, Have you reported the bug already? There's a contact for for it on Economy-x-Talk's website. -- 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 8 dec 2012, at 01:57, Andrew Kluthe wrote: > Hello, > > I have been using Mark Schonewille's password field in some of my > stacks for a while. So far it has done the trick, but I found out > recently that it doesn't like to play well with the number keys on the > right of the keyboard. Are there any other password fields I could > leverage or some basic tips for catching keystrokes from the number > pad? > > > -- > Regards, > > Andrew Kluthe > andrew at ctech.me From curry at pair.com Sat Dec 8 06:33:37 2012 From: curry at pair.com (Curry Kenworthy) Date: Sat, 08 Dec 2012 05:33:37 -0600 Subject: FT: FieldTrip Pre-Beta Note In-Reply-To: References: Message-ID: <50C32591.2090107@pair.com> Howdy FieldTrip Preorder Folks, I posted recently that the first FieldTrip beta release was imminent. It is, and some folks have written since to inquire again, and suggested that I post here too, so here's a quick note. After completing the current formatting features and custom GUI, I've been wrapping up the final library details such as installation, documentation, reg codes, mobile testing, and feature retesting. I'll be posting the download link here on this list in the next two or three days after completing the final tests and documents! In the meantime, please let me know offlist if you've lost your PayPal email (see below for why), and also keep reading if you have questions for other info/explanation/FAQ including why it's been slow. I'll try to avoid posting here on the list again for these couple of days, and answer any further questions after that, so I can maximize the actual work until the download is ready.... ACCESS CODE As promised, in addition to other bonuses, the Preorder Folks will get exclusive access to FT (beyond the demo) for a period of time before anyone else. Your reg code will be the Transaction ID of your PayPal preorder payment, so do check that you still have that email, or that you can find the transaction in your PayPal account. There will be instructions on using the code inside the download. (If anyone slipped through the cracks or lost the PayPal email, let me know! And write again if you subsequently find it; I'll handle these in a batch after finding out who needs them.) The preorder page will be closed slightly before the release of this beta. WHAT TOOK SO LONG? Some folks have understandably kicked my butt a bit lately about the delay; I sincerely apologize. The preorder process funded development, which has been ongoing and steady since the promotion. It was never stopped or sold down the river at any time, in any way; that would never happen, and is not who I am, as those who know me know well! It was simply slower than expected. Why? I had an unexpected relapse of fairly serious health issues that cause difficulty moving the body, pain when inhaling, and lightheadedness. (Lovely combination!) It's gradually getting better, but dealing with this and working toward getting it truly fixed this time around have been challenging and not very kind to my schedule. It also prevented me from posting news here on the list as frequently as I wanted to. However, the experience has also increased my determination and zeal more than ever, so I intend to come back in a big way with some groundbreaking work in LiveCode projects. (There also were a couple of specific areas within the overall development that were delayed two or three months to obtain information about certain LiveCode developments, to avoid duplicated or misdirected efforts in those areas, and this preserved more of the development funds to use now in integrating those thoroughly and effectively.) THE BIG PICTURE FieldTrip development includes not just the goal of supporting all text formatting features of LC 5.5+, but also ongoing development of a custom GUI (the buttons, etc.), and a word processing interface with desktop/mobile parity, which will facilitate interaction to an unusual extent on all platforms. All of this will continue far beyond the level of this first beta. FT also needs to integrate closely with WordLib and WordOut (which are also undergoing updates right now, and nearing release too) and other WP-related tech to increasingly provide the ultimate drop-in word processing solution for users and end users. I aim to make every preorder customer truly happy, so thanks for both the criticisms and the encouragement, it all helps! Keep the feedback coming after trying the beta (to ensure timely completion, I'll be finishing it before posting again or responding to other questions) and be ready for other bonuses for preorder folks, as my way of saying both "thanks" and "sorry it took a while". WHAT'S IN FT? It's a set of LiveCode word processor controls and features, a friendly interface to handle all the old and new text formatting features supported by LC fields (and incidentally the development of WordLib and FT have led to some additional text features in LC). The toolbar is similar to the main controls of MS Word, Open Office, or (insert favorite WP). FieldTrip also has its own GUI for buttons, since it is designed for all platforms. The GUI colors can adjusted to suit one's taste or platform. The GUI was also designed without excess complexity of controls or visual settings, to hopefully be faster on simple devices such as low-end Android tablets. (Which in my opinion are very exciting options for end users in both the developed and developing world, so I wanted to ensure they'd be snappy.) Since FT was designed with mobile/desktop parity in mind, it will offer more mobile access than most interfaces do, and the controls are sized accordingly. I'll be treating Android and iOS equally. Once paired with WordLib and WordOut, FT will represent a complete in/edit/out solution for Word and Open Office and rival famous word processors to some extent. WHAT'S DONE AND TO-DO IN THIS BETA? Here's a list of what's coming now and what's still in development for next version. "TO-DONE" LIST (Items implemented but subject to improvement) - word processing formatting toolbar - text formatting features (font, size, colors, links, images, biu, align, super/sub, strike, box, border features, list features, line spacing, more/less indent) - intuitive bullet and numbered list level processing and adjusting, similar to Word - allow end user to resize/move field (if desired) even on mobile - toolbar shows state of current text selection - GUI for toolbar buttons etc. - adjustable GUI colors - toolbar buttons can be repositioned or hidden if desired - install components to your stack TO-DO LIST (Perhaps not all-inclusive, some may change) - word processing tab bar - fixes and improvements from beta feedback - specific requests from FieldTripper and higher supporters - better resolution support - even more new text features - mobile text selection controls and behaviors - platform default colors preset for GUI (if desired) - more GUI options (and perhaps spin off to allow use in other interfaces if desired) - tight integration with LiveCode's environment - toolbar button groupings (to reduce real estate if desired) - toolbar positioning and display options - integration with spell checkers and other tools - integration with WordLib and WordOut for import/export - more word processing features to rival familiar WP's (The tab bar was actually more than halfway complete, but needs to be reskinned using the new GUI for a prettier look, so it was moved to the next version.) WHAT'S COMING AFTER THIS? Besides FT, I've been updating the import/export addons for Word and Excel, so there will be a flurry of releases before long: WordLib 2.0, WordOut, SpreadLib 1.0, and SpreadOut. And a WordReport update. (SpreadLib 1.0 will integrate with a nifty new grid control by Mats Wilstrand!) WordLib 2.0 addresses LiveCode 5.5+ text features among other things, and the following release (2.1 or etc) will add much improved support to the legacy MS Word 97-2003 DOC format. There has been a request for something similar to WordReport for spreadsheets, so a SpreadReport may be under consideration. I have something else fairly big and quite different than my other addons, to announce after the FT release and some client work, so stay tuned! Best wishes, Curry Kenworthy -- WordLib: Import MS Word and OpenOffice documents http://curryk.com/wordlib.html WordReport: Template-driven MS Word and OpenOffice reports http://curryk.com/wordreport.html FieldTrip http://www.curryk.com/fieldtrip-preorder.html From andre at andregarzia.com Sat Dec 8 06:58:54 2012 From: andre at andregarzia.com (Andre Garzia) Date: Sat, 8 Dec 2012 09:58:54 -0200 Subject: Password Field - Mark Schonewille In-Reply-To: References: Message-ID: Andrew, Long time ago I made a little droptool for a password field. Http://droptools.sonsothunder.com/products/aag/aag-pw.irev It does not have the nice padlocks from Jacque though... Cheers Sent from my ASUS Transformer http://andregarzia.com :: Desktop, Mobile and Web programming On Dec 7, 2012 10:58 PM, "Andrew Kluthe" wrote: > Hello, > > I have been using Mark Schonewille's password field in some of my > stacks for a while. So far it has done the trick, but I found out > recently that it doesn't like to play well with the number keys on the > right of the keyboard. Are there any other password fields I could > leverage or some basic tips for catching keystrokes from the number > pad? > > > -- > 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 livfoss at mac.com Sat Dec 8 09:39:56 2012 From: livfoss at mac.com (Graham Samuel) Date: Sat, 08 Dec 2012 15:39:56 +0100 Subject: More scrolling queries Message-ID: <82A28159-589F-473E-A6BB-7CEA1CF283A0@mac.com> While experimenting with scrolling on iOS (as per my earlier mail), I came across something odd. Probably finger trouble on my part, but can anyone explain it? I set up a little scrolling experiment based on the example offered in the LC Scroller Example stack. I have an iPhone screen with a kind of window in the middle, and a group "tScrollGroup" that scrolls behind ("through") the window. As usual, I make the scroll act via a scrollerDidScroll handler, so that for example when the handler fires, I use the x (horizontal) offset from the handler to set the hscroll of my group - for this experiment I'm only using horizontal scrolling. This works well, apart from some strange stuff with bouncing which isn't what this mail is about. When I run this little example in the iOS Simulator, I can scroll my group back and forth as expected, so its location must have changed, I think: but when I query the location of the group it never changes! I do the querying within the script of the scrollerDidScroll handler. The whole handler script is: on scrollerDidScroll pOffsetX, pOffsetY lock screen set the hScroll of group "tScrollGroup" to pOffsetX unlock screen infoMsg "scrollerDidScroll fired with x =" && pOffsetX & "; loc of tScrollGroup is now:" && (the loc of grp "tScrollGroup") end scrollerDidScroll This message arrives in the Console window as normal, with x changing values as expected, and the loc of the group always the same. Why is this so, and what am I seeing move if it's not my group? Puzzled Graham Incidentally, trying to make sense of hscroll via the IDE (i.e. not in iOS), I can't seem to make a group move by changing its hscroll. Clearly there's something I don't understand. From pmbrig at gmail.com Sat Dec 8 10:33:05 2012 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sat, 8 Dec 2012 08:33:05 -0700 Subject: LiveCodeJournal.com forum registration In-Reply-To: <50C1FF22.6040707@fourthworld.com> References: <50C1FF22.6040707@fourthworld.com> Message-ID: I'm not on the forums, and don't feel any particular need to join them since I'm not a professional LC developer, but the exclusion of gmail addresses seems extreme. I have been using a gmail address exclusively since they were offered by Google. I would hate to have to create a new email account just to join, and I'm not sure what domain would be acceptable other than my own (which I do not have). I realize that I have no standing here at all (to use the legal metaphor). I'm just commenting as an observer. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Dec 7, 2012, at 7:37 AM, Richard Gaskin wrote: > A couple members of our community recently wrote me asking why their IP address has been banned from the forums at LiveCodeJournal.com, preventing them from registering. > > We've resolved the issue via email, and they're now able to log in. > > If you've experienced this yourself, please accept my apologies in advance. I'll provide an explanation on this below, but if you get a notice that either your IP address or email address prevents you from registering at LiveCodeJournal.com just drop me a note with the affected info (IP address or email address you're using) and I'll remove those blocks so you can successfully register. > > Sorry for the inconvenience, but over time as we remove some of the broader blocks we had in place when we were setting up this is now affecting relatively few users. Going forward it should affect ever fewer as we use more refined blocking measures at the site. > > NOTE: Disposable email addresses are not allowed for accounts at LiveCodeJournal.com. This includes hotmail.com, excite.com, and even gmail.com along with many others. This is unfortunate but necessary, since without that restriction I wouldn't be able to stay on top of the requests that flood my In Box from spambots. Fortunately, since LiveCodeJournal.com's audience is largely developers, most of you have your own domains and use those to maintain your professional correspondences, so this is not likely an issue for most here. > > Also, it's really helpful if the user name you choose for your LiveCodeJournal.com account reflects something of your professional online presence, including something related to your name or business. Account names like "crackz44993", "JaneHotDate" or "freepills" may be misunderstood as a spambot. > > The forum is located here, linked to from the Features section at LiveCodeJournal.com: > > > Let me also take this opportunity to invite any of you interested in participating in administering the site or contributing content to just drop me an email and we'll set you up. LiveCode Journal is a community effort, open to all LiveCode developers. > > > > Background: > > If you run a server, your log reviews have no doubt made you aware of the constant attack on such systems. And if you manage a forum, esp. one using any of the popular forum software like PHPBB, you've seen so many spambot accounts that it likely impacts your productivity cleaning them up. > > That's what happened with LiveCodeJournal.com. > > Every day the system notifies me of many new accounts, most of which are obviously bots. In fact, this flood began even before we linked to it from any public source; spambots are thorough and relentless. > > This activity grew to the point that it was seriously affecting my ability to stay on top of critical email. As a volunteer effort for the community, the only way I could keep the forum running without negatively impacting my business was to block whole IP ranges. > > Yes, I understand that these days the original geographic distribution of IP addresses is no longer maintained in the same way and doesn't always means that a given user is from the region of the world you might expect, and this will result in false positives from time to time. > > Still, weighing the various tradeoffs, it was necessary to allow me to get back to work. > > In fact, IP range blocking is a fairly common practice for not just forums but even entire domains among small software shops to prevent expensive bandwidth abuse from crack sites in parts of the world where law enforcement has proven themselves completely ineffectual with regard to hacking and intellectual property violations. > > Now that the forums at LiveCodeJournal.com have been made public, I've gone through and removed most of the broader blocks I originally had in place, and the remaining blocks are usually specific enough to minimize the risk of false positives. > > Still, we do see false positives now and then, so if you're affected please accept my apologies in advance, and just email me your IP address and I'll refine that block so you can register. > > Thanks for your understanding on this. I look forward to seeing humans like you in the forums. :) > > -- > 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 simplsol at aol.com Sat Dec 8 11:02:16 2012 From: simplsol at aol.com (Paul Looney) Date: Sat, 8 Dec 2012 08:02:16 -0800 Subject: DB Lib In-Reply-To: References: Message-ID: <28206F62-A044-47FD-BEE6-A815FD2232CF@aol.com> On Oct 29, 2012, at 6:47 AM, Andre Garzia wrote: > Paul, > > I am ready to give away a copy of DB Lib to be raffled during the LUG > meeting. > > DB Lib (SQL, active record style) and its add-on Data Storage Lib (NoSQL, > built on top of DB Lib and included with every DB Lib purchase) are new > database libraries for LiveCode. > > You can learn more at http://www.andregarzia.com/page/dblib > > PS: Is raffled a verb?! > > cheers > andre Andre, Thank you again for your kind offer. John Burtt won your DB Lib at our November meeting but left before I got his information: jburtt at earthlink.net The two of you can work out the transfer details directly. Paul Looney PS Yes "raffled" IS a verb. PPS FYI: Your command of the English language has gotten very good. I remember that you struggled with it a bit many years ago when we first met and now you are a master. Congratulations - from someone who majored in English in college. From livfoss at mac.com Sat Dec 8 11:50:57 2012 From: livfoss at mac.com (Graham Samuel) Date: Sat, 08 Dec 2012 17:50:57 +0100 Subject: What are hSscroll, vScroll really? Message-ID: This is a comment that the LC documentation has not (yet) delivered the goods. I think there's a bit missing (I've tried the user guide, the release notes and the dictionary by searching for the words 'scrolling' and 'scroller'). In the LC dictionary, it says this about hScroll (the horizontal and vertical scrolls are the same in principle so I'll just quote the entry about h): > The hScroll is the amount in pixels the object has been scrolled to the right. If the hScroll is zero, the object has not been scrolled. Er yes, but what is the implied context here? If I create a group (or a field) and plonk it onto the middle of a card, can I make it move to the left or right by changing its hScroll, regardless of any other objects on the card? The answer is 'no' - but the LC docs doesn't explain the underlying context, so one can be left confused by this definition. What is missing is the idea that a group (or a field) can be narrower (shorter) than the width (height) of its full contents, as recorded in its formattedWidth (Height). Meaningful scrolling can take place when this is the case in one or both dimensions, and it allows us to shift the contents of the object within a frame (which is its rect). It's pretty fundamental, but I just realised that I had never really understood it, which is why I looked in the LC docs for an explanation and couldn't find anything. Having understood it, I find it easier to understand where the implementation of scrolling in the iOS version of LC came from. If I were really a newbie trying to understand LC, I think I would find this confusing. Does anyone agree that the docs could do with a bit more info about this? Graham From richmondmathewson at gmail.com Sat Dec 8 12:12:03 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 08 Dec 2012 19:12:03 +0200 Subject: What are hSscroll, vScroll really? In-Reply-To: References: Message-ID: <50C374E3.6000908@gmail.com> On 12/08/2012 06:50 PM, Graham Samuel wrote: > This is a comment that the LC documentation has not (yet) delivered the goods. I think there's a bit missing (I've tried the user guide, the release notes and the dictionary by searching for the words 'scrolling' and 'scroller'). > > In the LC dictionary, it says this about hScroll (the horizontal and vertical scrolls are the same in principle so I'll just quote the entry about h): > >> The hScroll is the amount in pixels the object has been scrolled to the right. If the hScroll is zero, the object has not been scrolled. > Er yes, but what is the implied context here? If I create a group (or a field) and plonk it onto the middle of a card, can I make it move to the left or right by changing its hScroll, regardless of any other objects on the card? The answer is 'no' - but the LC docs doesn't explain the underlying context, so one can be left confused by this definition. > > What is missing is the idea that a group (or a field) can be narrower (shorter) than the width (height) of its full contents, as recorded in its formattedWidth (Height). Meaningful scrolling can take place when this is the case in one or both dimensions, and it allows us to shift the contents of the object within a frame (which is its rect). It's pretty fundamental, but I just realised that I had never really understood it, which is why I looked in the LC docs for an explanation and couldn't find anything. Having understood it, I find it easier to understand where the implementation of scrolling in the iOS version of LC came from. > > If I were really a newbie trying to understand LC, I think I would find this confusing. Does anyone agree that the docs could do with a bit more info about this? > > Graham > > The docs could do with a bit more info about lots of things. However; the docs were written quite sometime ago, and are beginning to resemble Mac OS 9; patches on patches on patches of Mac OS 7. From a personal point of view I have found that introducing children to RR/LC tends to founder on the documentation. A lot of the documentation that does make sense to people who have already got quite a bit of experience with either RR/LC or other programming environments does not make sense to newbies as it is written presupposing the reader is already familiar with a lot of the underlying terminology and concepts inwith RR/LC. There would seem to be a number of possible answers to this: 1. Somebody has to find the time and money to sit down and write a comprehensive book that documents all and everything. 2. Somebody has to do the same sort of things as above but have it built into the GUI as is the present documentation. 3. There have to a set of incentives to make documenting what a developer finds as s/he works with aspects of RR/LC worth spending the necessary time away from developing the thing that pays for their bread and ch**se. The problem about number 3 is that that really means that documentation comes after the fact rather than before. The current documentation DOES contain a lot of good, a lot that is obscure, and a fair bit missing or incomplete. Richmond. From capellan2000 at gmail.com Sat Dec 8 13:06:27 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 8 Dec 2012 10:06:27 -0800 (PST) Subject: What are hSscroll, vScroll really? In-Reply-To: <50C374E3.6000908@gmail.com> References: <50C374E3.6000908@gmail.com> Message-ID: <1354989987184-4657957.post@n4.nabble.com> Actually, LC/RR docs would benefit of 1) Interactive stacks that demo/explains the terms and the context of use. 2) Frecuently Asked Questions about this term and possible source of bugs while using or applying in your program Alejandro -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/What-are-hSscroll-vScroll-really-tp4657955p4657957.html Sent from the Revolution - User mailing list archive at Nabble.com. From irog at mac.com Sat Dec 8 13:09:43 2012 From: irog at mac.com (Roger Guay) Date: Sat, 08 Dec 2012 10:09:43 -0800 Subject: Capture the Trig Function from an Option Menu Button In-Reply-To: <381977884984.20121207174049@ahsoftware.net> References: <720DB527-9FF1-4754-89C1-CE08D44B01A4@mac.com> <3078BE1B-E3E0-4776-A527-A82576B01039@pbh.on-rev.com> <8B2B8620-4355-4413-B860-658CED17D853@mac.com> <50C26E74.2080600@hyperactivesw.com> <6D1FF121-2904-4D5A-AB33-FDDACC021C37@mac.com> <56765CD5-095F-4CD4-A608-737CC9995A97@jhj.com> <87DA5E70-E1DA-4ECF-99C4-8081632600CA@mac.com> <1354925146439-4657937.post@n4.nabble.com> <90941C19-49B9-4791-BB9F-CB04A8F7957F@mac.com> <381977884984.20121207174049@ahsoftware.net> Message-ID: <008D5854-0510-410C-AE6B-43830F372837@mac.com> Thank you, Mark. Works great! On Dec 7, 2012, at 5:40 PM, Mark Wieder wrote: > Roger- > > Or try a one-liner: > > on otherHandler theta > do "put" && sOption & "(" & theta & ")" > end otherHandler > > -- > -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 jhurley0305 at sbcglobal.net Sat Dec 8 13:11:31 2012 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Sat, 8 Dec 2012 10:11:31 -0800 Subject: Capture the Trig Function from an Option Menu Button In-Reply-To: References: Message-ID: <12171864-8AA7-463A-89A1-7AEBDD6E69BC@sbcglobal.net> Hi Roger I'm sure I missed the point of this thread. I'll go through it more carefully. But could you tell me how this "mouseUP" handle fails to do the job? Thanks, Jim on mouseUp put field 1 into tAngle put tAngle*pi/180 into tAngle --put the label of btn "myOptiionMenu" into sOption put the label of button "myOptionMenu" into tTrigFunct switch tTrigFunct case "sine" put sin(tAngle) into tValue put "The sine of " & tAngle*180/pi & " degrees is " & tValue into tResult break case "cosine" put cos(tAngle) into tValue put "The cosine of " & tAngle*180/pi & " is " & tValue into tResult break case "tangent" put tan(tAngle) into tValue put "The Tangent of " & tAngle*180/pi & " is " & tValue into tResult end switch put tResult into field 2 end mouseUp > > Message: 5 > Date: Fri, 07 Dec 2012 12:10:28 -0800 > From: Roger Guay > To: How to use LiveCode > Subject: Capture the Trig Function from an Option Menu Button > Message-ID: <720DB527-9FF1-4754-89C1-CE08D44B01A4 at mac.com> > Content-Type: text/plain; CHARSET=US-ASCII > > I know this is probably a stupid question, but I can't seem to make it work: > > I have an Option Menu button with sin, cos, tan as menu Items. I want my card script to take the label of that button, and then perform the trig function with that label. I've tried every thing I can think of to "get", "do" or in general assemble the script, but to no avail. Any suggestion? > > TIA, > Roger > > From irog at mac.com Sat Dec 8 14:05:13 2012 From: irog at mac.com (Roger Guay) Date: Sat, 08 Dec 2012 11:05:13 -0800 Subject: Capture the Trig Function from an Option Menu Button In-Reply-To: <12171864-8AA7-463A-89A1-7AEBDD6E69BC@sbcglobal.net> References: <12171864-8AA7-463A-89A1-7AEBDD6E69BC@sbcglobal.net> Message-ID: <152B81DF-5199-47F6-BCE9-1E502C6919B2@mac.com> Hi Jim, I was trying to directly use the label of an option menu button (with sin, cos and tan as menu items) and combining that with the angle derived in another script. Something like: put (the label of btn myOptionMenu)&"("&tangle&")" This result in something like: Sin(tangle) And I had trouble figuring out how to evaluate this. BTW, Your script doesn't work for me. Does it work for you? Thanks, Roger On Dec 8, 2012, at 10:11 AM, Jim Hurley wrote: > "The sine of " & tAngle*180/pi & " degrees is " From mwieder at ahsoftware.net Sat Dec 8 14:15:54 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 8 Dec 2012 11:15:54 -0800 Subject: Capture the Trig Function from an Option Menu Button In-Reply-To: <12171864-8AA7-463A-89A1-7AEBDD6E69BC@sbcglobal.net> References: <12171864-8AA7-463A-89A1-7AEBDD6E69BC@sbcglobal.net> Message-ID: <1292041190625.20121208111554@ahsoftware.net> Jim- Saturday, December 8, 2012, 10:11:31 AM, you wrote: > But could you tell me how this "mouseUP" handle fails to do the job? Well, it's not nearly as hard to read, for one thing. But seriously, the use of lambda functions (google it) can provide a degree of flexibility in code and help prevent coding errors. For instance, to add the arctan() to your example you'd have to add a new line to the option control, then add a new case statement to the switch construct in the mouseUp handler. Possibly you could make a mistake when cutting and pasting, forgetting to insert a break statement, etc. Using the redirected form all you'd need to do is add the new line to the option control. -- -Mark Wieder mwieder at ahsoftware.net From jhurley0305 at sbcglobal.net Sat Dec 8 14:25:52 2012 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Sat, 8 Dec 2012 11:25:52 -0800 Subject: Capture the Trig Function from an Option Menu Button In-Reply-To: References: Message-ID: I put my script into a separate button. I think yours was in the Option button. Put this script into your Option button: on menuPick pItemName put field 1 into tAngle --Or wherever your angle is located put tAngle*pi/180 into tAngle put pItemName into tTrigFunct switch tTrigFunct case "sine" put sin(tAngle) into tValue put "The sine of " & tAngle*180/pi & " degrees is " & tValue into tResult break case "cosine" put cos(tAngle) into tValue put "The cosine of " & tAngle*180/pi & " is " & tValue into tResult break case "tangent" put tan(tAngle) into tValue put "The Tangent of " & tAngle*180/pi & " is " & tValue into tResult end switch put tResult into field 2 end menuPick You should get a field 2 that locks like this, if the angle is 45 degrees:: The sine of 45 degrees is 0.707107 Is that the results you wanted? Jim > Hi Jim, > > I was trying to directly use the label of an option menu button (with sin, cos and tan as menu items) and combining that with the angle derived in another script. Something like: > > put (the label of btn myOptionMenu)&"("&tangle&")" > > This result in something like: > > Sin(tangle) > > > And I had trouble figuring out how to evaluate this. > > BTW, Your script doesn't work for me. Does it work for you? > > > Thanks, > Roger From jacque at hyperactivesw.com Sat Dec 8 15:19:51 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 08 Dec 2012 14:19:51 -0600 Subject: What are hSscroll, vScroll really? In-Reply-To: References: Message-ID: <50C3A0E7.1080802@hyperactivesw.com> On 12/8/12 10:50 AM, Graham Samuel wrote: > This is a comment that the LC documentation has not (yet) delivered > the goods. I think there's a bit missing (I've tried the user guide, > the release notes and the dictionary by searching for the words > 'scrolling' and 'scroller'). > > In the LC dictionary, it says this about hScroll (the horizontal and > vertical scrolls are the same in principle so I'll just quote the > entry about h): > >> The hScroll is the amount in pixels the object has been scrolled to >> the right. If the hScroll is zero, the object has not been >> scrolled. > > Er yes, but what is the implied context here? If I create a group (or > a field) and plonk it onto the middle of a card, can I make it move > to the left or right by changing its hScroll, regardless of any other > objects on the card? The answer is 'no' - but the LC docs doesn't > explain the underlying context, so one can be left confused by this > definition. That would be a good candidate for a user note entry I think. The docs are assuming that the user is familiar with the concept of scrolling, which I don't find too far off. It's probably clearer if you think about a scrolling field. The location/position of the field never changes, it always remains in the same place on the card. Only the viewable content changes. The offset of the content is the scroll. Since the concept is universal on all computers, I can understand why the docs don't specifically define it though I suppose it wouldn't hurt. What I do think is missing in the case of mobile scrollers is a specific statement about how it is a transparent overlay that only sends information about user actions; it doesn't actually manage objects on the card. Before I answered the original question I did a search through the RR lessons and was surprised that iOS scrollers weren't addressed. Most other iOS concepts are there. Scrollers are widely used and there should be an entry in the lessons about it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Dec 8 15:25:56 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 08 Dec 2012 14:25:56 -0600 Subject: More scrolling queries In-Reply-To: <82A28159-589F-473E-A6BB-7CEA1CF283A0@mac.com> References: <82A28159-589F-473E-A6BB-7CEA1CF283A0@mac.com> Message-ID: <50C3A254.9030908@hyperactivesw.com> On 12/8/12 8:39 AM, Graham Samuel wrote: > This message arrives in the Console window as normal, with x changing > values as expected, and the loc of the group always the same. > > Why is this so, and what am I seeing move if it's not my group? I think you've already figured this out, but just in case, the position of an object and its scroll are different things. Position is the place on the card where the object is located. The scroll of an object is the offset of its contents inside the object's rectangle (which acts like a frame.) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jhurley0305 at sbcglobal.net Sat Dec 8 15:33:42 2012 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Sat, 8 Dec 2012 12:33:42 -0800 Subject: Reversing the end point arrow In-Reply-To: References: Message-ID: <0194EAD2-2360-44B7-BD49-94C32843CADC@sbcglobal.net> In RR the start arrow and the end arrow point away from each other. I needed a line with the more traditional arrows, both pointing in the same direction along the line. The following handler will reverse the direction of the start arrow. It does so by introducing a third point ON THE LINE between the two original point. It is locate just a SHORT distance (ds) up from the original start point. The end arrow will now point from this new intermediate point, to the original start point, thus, effectively, revering the direction. on mouseUp put "myLine" into tName --Name of the line set the endArrow of grc tName to true set the startArrow of grc tName to True set the arrowsize of grc tName to 6 put the points of grc tName into tPoints put line 1 of tPoints into tStart put line 2 of tPoints into tEnd put item 1 of tEnd - item 1 of tStart into dx put item 2 of tEnd - item 2 of tStart into dy --Now create a new end point. --It will be just a short distance (ds) up from the original end point. put 2 into ds put atan2(dy,dx) into tAngle put ds * cos(tAngle) into dx put ds * sin(tAngle) into dy add round(dx) to item 1 of tStart add Round(dy) to item 2 of tStart --Insert this new end point into the line's points put tStart & cr & tPoints into tNewPoints set the points of grc tName to tNewPoints end mouseUp From jacque at hyperactivesw.com Sat Dec 8 15:40:21 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 08 Dec 2012 14:40:21 -0600 Subject: Send appleevent to livecode doesnt work ? In-Reply-To: References: Message-ID: <50C3A5B5.3060303@hyperactivesw.com> On 12/8/12 1:31 AM, Serge Brami wrote: > I want to send an Applevent to another livecode app running on an other Mac on a local network. > > for example > > on the Mac 1 a button with the script : > "on mouseup > send "hello" to "Mac2:livecode" > end mouseup" > > > > on the Mac 2 > > "on appleevent type > if type is "aevt" then > put "hello" > end if > pass applevent > end applevent > > > Well it works BUT only il on mac2 I switch from livecode to another > app and then switch back to livecode I haven't used appleEvents for years, but the way I'd debug this would be to change the receiving handler to show the parameters and see what you get: on appleevent repeat with x = 1 to the paramcount put x && "=" && param(x) end repeat end appleevent That may show you what is being sent and give you an idea of what's wrong. The type may not always be "aevt". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Dec 8 15:43:18 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 08 Dec 2012 14:43:18 -0600 Subject: Send appleevent to livecode doesnt work ? In-Reply-To: <50C3A5B5.3060303@hyperactivesw.com> References: <50C3A5B5.3060303@hyperactivesw.com> Message-ID: <50C3A666.5090205@hyperactivesw.com> On 12/8/12 2:40 PM, J. Landman Gay wrote: > On 12/8/12 1:31 AM, Serge Brami wrote: >> I want to send an Applevent to another livecode app running on an >> other Mac on a local network. >> >> for example >> >> on the Mac 1 a button with the script : >> "on mouseup >> send "hello" to "Mac2:livecode" >> end mouseup" >> >> >> >> on the Mac 2 >> >> "on appleevent type >> if type is "aevt" then >> put "hello" >> end if >> pass applevent >> end applevent >> >> >> Well it works BUT only il on mac2 I switch from livecode to another >> app and then switch back to livecode > > I haven't used appleEvents for years, but the way I'd debug this would > be to change the receiving handler to show the parameters and see what > you get: > > on appleevent > repeat with x = 1 to the paramcount > put x && "=" && param(x) > end repeat > end appleevent > > That may show you what is being sent and give you an idea of what's > wrong. The type may not always be "aevt". > Actually, my suggested handler will go by too fast to see. Better change it to accumulate the info like this: on appleevent repeat with x = 1 to the paramcount put x && "=" && param(x) & cr after tList end repeat put tList -- or you can use "answer tList" end appleevent -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From livfoss at mac.com Sat Dec 8 15:50:08 2012 From: livfoss at mac.com (Graham Samuel) Date: Sat, 08 Dec 2012 21:50:08 +0100 Subject: More scrolling queries In-Reply-To: <50C3A254.9030908@hyperactivesw.com> References: <82A28159-589F-473E-A6BB-7CEA1CF283A0@mac.com> <50C3A254.9030908@hyperactivesw.com> Message-ID: <3EE27E99-4DF7-416C-AB09-1F6CCAA5017C@mac.com> Thanks for the reply. I thought that the object was really moving: to me, the 'frame' was the rect of the visible graphic (actually a group, tho I have no idea why) through which I see my object, but the object (the thing with the contentRect) itself was really moving under the frame. I suppose the problem was that my mental model of what is going on was wrong: I imagined the object full size, sliding under the frame, which is like a hole in a bit of card. What you're saying is that it's the contents of the object which is doing the sliding, not the object itself, and there are kind of two holes, the one which defines the rect and an invisible one coincident with it but underneath it, defining the size of the scrolling object. In the case of a desktop scroll, the 'top' rect wouldn't be needed, but it is needed for iOS. Of course you are right, but it's quite an elusive concept - that's why I wrote my mail about hScroll and vScroll. Anyway I shall readjust the mental wiring and try again. Graham On 8 Dec 2012, at 21:25, J. Landman Gay wrote: > On 12/8/12 8:39 AM, Graham Samuel wrote: > >> This message arrives in the Console window as normal, with x changing >> values as expected, and the loc of the group always the same. >> >> Why is this so, and what am I seeing move if it's not my group? > > I think you've already figured this out, but just in case, the position of an object and its scroll are different things. Position is the place on the card where the object is located. The scroll of an object is the offset of its contents inside the object's rectangle (which acts like a frame.) > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From livfoss at mac.com Sat Dec 8 15:50:19 2012 From: livfoss at mac.com (Graham Samuel) Date: Sat, 08 Dec 2012 21:50:19 +0100 Subject: What are hSscroll, vScroll really? In-Reply-To: <50C3A0E7.1080802@hyperactivesw.com> References: <50C3A0E7.1080802@hyperactivesw.com> Message-ID: Jacque Actually, the concept of text scrolling within a field is universal, iMHO; the concept of any old collection of objects scrolling in a (possibly invisible) frame, less so. My problem, apart from general dumbness, was my inability to see that the two cases are essentially the same. I agree about the iOS scroller issues, although I did read something about it perhaps in some early release notes. I think there may also be some subtleties to be explained about the possible values returned by scrollerDidScroll, if anyone wants to attempt a clearer write-up! Thanks for the response, as ever. Graham On 8 Dec 2012, at 21:19, J. Landman Gay wrote: > Since the concept is universal on all computers, I can understand why the docs don't specifically define it though I suppose it wouldn't hurt. What I do think is missing in the case of mobile scrollers is a specific statement about how it is a transparent overlay that only sends information about user actions; it doesn't actually manage objects on the card. > > Before I answered the original question I did a search through the RR lessons and was surprised that iOS scrollers weren't addressed. Most other iOS concepts are there. Scrollers are widely used and there should be an entry in the lessons about it. From ambassador at fourthworld.com Sat Dec 8 16:34:41 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 08 Dec 2012 13:34:41 -0800 Subject: LiveCodeJournal.com forum registration In-Reply-To: References: Message-ID: <50C3B271.7090703@fourthworld.com> Peter M. Brigham wrote: > I'm not on the forums, and don't feel any particular need to join > them since I'm not a professional LC developer, but the exclusion > of gmail addresses seems extreme. It is. I regretted having to add it to the filters, and it was the last one to be added - I put it off for more than a year, for all the reasons you mentioned. But the onslaught of spambot registrations from gmail made it difficult to handle any other way while still providing enough time for the work I do that pays for the forums. If someone here would like to register for the LiveCode Journal forums and has no other address but gmail, first consider the loss of branding value from not using your companies domain, but if you still want to use gmail for those forums drop me a note and I'll see if I can set up a manual exclusion for it. -- 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 stephenREVOLUTION2 at barncard.com Sat Dec 8 17:48:09 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 8 Dec 2012 14:48:09 -0800 Subject: LiveCodeJournal.com forum registration In-Reply-To: <50C3B271.7090703@fourthworld.com> References: <50C3B271.7090703@fourthworld.com> Message-ID: As one that manages several Wordpress blogs, I do not think Richard's request is unreasonable. One can still use the gmail client by patching in any 'forwarding only' email from one's connection provider. Almost every provider provides at least one email address that usually isn't used anyway. ( like *yerAccount at comcast.com* ) The patching needs to be done at one's ISP, and added in Gmail settings so that 'reply to' works like one would want. A great benefit is the *tremendously effective email filters*. When members on this list are bugged by spam getting into the mail-list - I never see the originals until they're posted to the list by a 'good' send. I later find these emails, with full livecode headers and folder colors, in my spam bin. Gmail's *rich text thingie* works well too.. On Sat, Dec 8, 2012 at 1:34 PM, Richard Gaskin wrote: > Peter M. Brigham wrote: > > > I'm not on the forums, and don't feel any particular need to join > > them since I'm not a professional LC developer, but the exclusion > > of gmail addresses seems extreme. > > It is. I regretted having to add it to the filters, and it was the last > one to be added - I put it off for more than a year, for all the reasons > you mentioned. > > But the onslaught of spambot registrations from gmail made it difficult to > handle any other way while still providing enough time for the work I do > that pays for the forums. > > If someone here would like to register for the LiveCode Journal forums and > has no other address but gmail, first consider the loss of branding value > from not using your companies domain, but if you still want to use gmail > for those forums drop me a note and I'll see if I can set up a manual > exclusion for it. > > > -- > 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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From irog at mac.com Sat Dec 8 19:26:42 2012 From: irog at mac.com (Roger Guay) Date: Sat, 08 Dec 2012 16:26:42 -0800 Subject: Capture the Trig Function from an Option Menu Button In-Reply-To: References: Message-ID: On Dec 8, 2012, at 11:25 AM, Jim Hurley wrote: > I put my script into a separate button. I think yours was in the Option button. I did exactly as you did, i.e. put your script into a separate button, created 2 fields, 1 and 2 > > snip snip > You should get a field 2 that locks like this, if the angle is 45 degrees:: > > The sine of 45 degrees is 0.707107 I put 45 into fld 1 and get nothing in fld 2. I wonder why your's works and mine doesn't??? > Is that the results you wanted? Yes, that is the result I wanted. > > Jim From irog at mac.com Sat Dec 8 22:52:59 2012 From: irog at mac.com (Roger Guay) Date: Sat, 08 Dec 2012 19:52:59 -0800 Subject: Capture the Trig Function from an Option Menu Button In-Reply-To: <1292041190625.20121208111554@ahsoftware.net> References: <12171864-8AA7-463A-89A1-7AEBDD6E69BC@sbcglobal.net> <1292041190625.20121208111554@ahsoftware.net> Message-ID: Please forgive my ignorance here, Mark, but are you suggesting another way of doing this kind of thing? Thanks, Roger On Dec 8, 2012, at 11:15 AM, Mark Wieder wrote: > Jim- > > Saturday, December 8, 2012, 10:11:31 AM, you wrote: > >> But could you tell me how this "mouseUP" handle fails to do the job? > > Well, it's not nearly as hard to read, for one thing. But seriously, > the use of lambda functions (google it) can provide a degree of > flexibility in code and help prevent coding errors. For instance, to > add the arctan() to your example you'd have to add a new line to the > option control, then add a new case statement to the switch construct > in the mouseUp handler. Possibly you could make a mistake when cutting > and pasting, forgetting to insert a break statement, etc. Using the > redirected form all you'd need to do is add the new line to the option > control. > > -- > -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 Sat Dec 8 23:59:54 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 8 Dec 2012 20:59:54 -0800 Subject: Capture the Trig Function from an Option Menu Button In-Reply-To: References: <12171864-8AA7-463A-89A1-7AEBDD6E69BC@sbcglobal.net> <1292041190625.20121208111554@ahsoftware.net> Message-ID: <1282076230093.20121208205954@ahsoftware.net> Roger- Saturday, December 8, 2012, 7:52:59 PM, you wrote: > Please forgive my ignorance here, Mark, but are you suggesting > another way of doing this kind of thing? Ah, sorry, no. Just describing what you were doing: using a variable to hold the name of a math operator an then executing the variable. It's actually quite an advanced and hip programming concept. If you can handle a lot of buzzwords that make your head spin, look up functional programming and closures. Or just rest on your laurels on the fact that you created something clever. -- -Mark Wieder mwieder at ahsoftware.net From irog at mac.com Sun Dec 9 03:01:16 2012 From: irog at mac.com (Roger Guay) Date: Sun, 09 Dec 2012 00:01:16 -0800 Subject: Capture the Trig Function from an Option Menu Button In-Reply-To: <1282076230093.20121208205954@ahsoftware.net> References: <12171864-8AA7-463A-89A1-7AEBDD6E69BC@sbcglobal.net> <1292041190625.20121208111554@ahsoftware.net> <1282076230093.20121208205954@ahsoftware.net> Message-ID: Aw shucks, Mark . . . twas notten. I just copy the many geniuses on this list! Cheers, Roger On Dec 8, 2012, at 8:59 PM, Mark Wieder wrote: > Roger- > > Saturday, December 8, 2012, 7:52:59 PM, you wrote: > >> Please forgive my ignorance here, Mark, but are you suggesting >> another way of doing this kind of thing? > > Ah, sorry, no. Just describing what you were doing: using a variable > to hold the name of a math operator an then executing the variable. > It's actually quite an advanced and hip programming concept. If you > can handle a lot of buzzwords that make your head spin, look up > functional programming and closures. Or just rest on your laurels on > the fact that you created something clever. > > -- > -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 gbojsza at gmail.com Sun Dec 9 03:33:40 2012 From: gbojsza at gmail.com (Glen Bojsza) Date: Sun, 9 Dec 2012 03:33:40 -0500 Subject: Algorithm time... Message-ID: Once again I hope the algorithm experts can speed of the following... currently on just 50,000 points it takes 10 seconds ...as I indicate below I know why so this is why I am looking for better solutions Key points are: - datasets are a minimun of 10,000 lines - datasets are always a multiple of 1,000 - datasets have two columns of data which are separated by a tab Goal: generate a new dataset that ALWAYS reduces down to 2,000 lines based on the max and min of groups of the original dataset So in the case of the minimum dataset you would divide 10,000 by 1,000 which gives the grouping size of 10 You then need to take original dataset from the start to finish in groups of 10. - find the min of the group of 10 - find the max of the group of 10 - put them in their original order found in the original dataset (the min value might be line 8 and the max value might be line 3 so in building the new dataset you would have the max value first and then the min value... this can change for each group of 10) - column 1 is linear ascending so it can be used to sort the new dataset caveats: -column 1 is a needed value but it is NOT the column that the max and min values are being looked at... these are in column 2 - once the established order of the two values are determined then their line values form the ne dataset Example: 1 23 2 12 3 9 4 77 5 2 6 13 7 44 8 83 9 2 10 37 In this example the result would be **Note if one or more values are the min or max the the first value found can be used 5 2 8 83 What I have tried: the original dataset is in a fld mydata the column 2 of fld mydata is in a fld mydataNew problem I try to solve is matching values sequentially always from the start of the data and too avoid getting earlier data I add an "x" after values in the second column to allow wholematches to work this is where I am losing my time (I believe) ==================== *on* mouseUp *put* the seconds into startTime *put* the number of lines of fld mydataNew into tcount *put* fld mydataNew into gbmem *put* tcount / 1000 into tgroup *put* 0 into x *put* 1 into y *repeat* for 1000 times *put* empty into tempMM *put* empty into minLine *put* empty into maxLine *put* x + y into startline *put* tgroup + startline into x *put* x into endline *put* line startline to endline of gbmem into grptest *replace* cr with comma in grptest *set* the wholematches to true *set* itemdel to tab *put* min(grptest) into mymin *put* the lineOffSet(mymin,gbmem) into minLine *put* max(grptest) into mymax *put* the lineOffSet(mymax,gbmem) into maxLine *put* minLine & tab & mymin & cr after tempMM *put* maxLine & tab & mymax & cr after tempMM *put* tempMM & cr after finalMM *repeat* with w = startline to endline *if* w <= tcount *then* *put* "x" after line w in gbmem *else* *end* *if* *end* *repeat* *end* *repeat* *sort* finalMM numeric *filter* finalMM without empty *put* cr & line (fld gbcurrent) of fld mydata after finalMM *put* finalMM into fld finalPointsNew *put* the seconds into endTime *put* endTime - startTime *end* mouseUp I believe that this should be doable less than 1 second and consistent since the repeat for loop will always be 1000 times only the group size changes thanks, Glen From ambassador at fourthworld.com Sun Dec 9 04:49:13 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 09 Dec 2012 01:49:13 -0800 Subject: Algorithm time... In-Reply-To: References: Message-ID: <50C45E99.3050205@fourthworld.com> Glen Bojsz wrote: > Once again I hope the algorithm experts can speed of the following... > currently on just 50,000 points it takes 10 seconds ...as I indicate > below I know why so this is why I am looking for better solutions ... >*on* mouseUp > *put* the seconds into startTime > *put* the number of lines of fld mydataNew into tcount > *put* fld mydataNew into gbmem > *put* tcount / 1000 into tgroup > *put* 0 into x > *put* 1 into y > *repeat* for 1000 times ... > *put* line startline to endline of gbmem into grptest There are a few opportunities for optimization here, and if it had been pasted as plain text so I could work with it without having to first clean it up I might have done a quick rewrite. But to get you started, the last two lines as excerpted above are important. If you switch the repeat to use the "repeat for each line..." form you'll get about an order of magnitude performance boost. The issue is that "repeat " doesn't know if the data being counted may have changed, so when you later ask to go to line "startLine" each time through the loop it starts counting at 1 and continues down to startLine every iteration. This is a lot of redundant processing, and as you can guess gets progressively slower as you work your way through the data set. The "repeat for each" form has the limitation that you cannot alter the data being stepped through, but with that assumption is able to deliver radically improved performance because it parses out the next line and keeps its place in the data step each time through the loop, allowing performance to scale linearly. There are a few other things you might consider optimizing in that handler, but once you get the switch to "repeat for each" worked out I suspect you'll be so happy with the performance you'll move on to other things. :) -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dick.kriesel at mail.com Sun Dec 9 05:26:12 2012 From: dick.kriesel at mail.com (Dick Kriesel) Date: Sun, 9 Dec 2012 02:26:12 -0800 Subject: Algorithm time... In-Reply-To: References: Message-ID: <142A9C62-BABB-4ECE-A5D1-D64725D7EA40@mail.com> On Dec 9, 2012, at 12:33 AM, Glen Bojsza wrote: > I believe that this should be doable less than 1 second Hi, Glen. Here's a draft you could try. It works for the sample data you posted. If you have questions, please ask. If you try it, please report your timings. -- Dick function foo @pLines put the number of lines in pLines div 1000 into tGroupSize set the itemDelimiter to tab repeat for each line tLine in pLines add 1 to tLineNumber put item 2 of tLine into tValue if tIndex[ tValue ] is empty then put tLineNumber into tIndex[ tValue ] end if if tLineNumber is tGroupSize then put the keys of tIndex into tValues replace cr with comma in tValues put min( tValues ) into tMin put max( tValues ) into tMax if tIndex[ tMin ] < tIndex[ tMax ] then put tIndex[ tMin ] & tab & tMin & cr after tResult put tIndex[ tMax ] & tab & tMax & cr after tResult else put tIndex[ tMax ] & tab & tMax & cr after tResult put tIndex[ tMin ] & tab & tMin & cr after tResult end if put empty into tIndex put 0 into tLineNumber end if end repeat return tResult end foo From gbojsza at gmail.com Sun Dec 9 06:17:30 2012 From: gbojsza at gmail.com (Glen Bojsza) Date: Sun, 9 Dec 2012 06:17:30 -0500 Subject: Algorithm time... In-Reply-To: <142A9C62-BABB-4ECE-A5D1-D64725D7EA40@mail.com> References: <142A9C62-BABB-4ECE-A5D1-D64725D7EA40@mail.com> Message-ID: Hi Dick, I tried your solution assuming that plines is my original data in fld mydata as described. I get a resulting output incredibly fast but the column 1 values don't work... ie I think they are putting the line number associated with the group size and not the original column data? In other words the two values found in column 2 of the group data must then get the corresponding column1 values from the original dataset. For example a basic dataset where column 1 is linear from 1 to 50,000 the solution should produce only values once from column 1... ie from the first group of 50 the column 1 values should be two numbers between 1 to 50. The next group will produce a max and min with their associated values between 51 to 100. 1 13 2 12 3 12 4 13 5 14 6 16 7 14 8 12 9 13 10 12 ===== 2 12 6 16 ===== 11 10 12 3 13 10 14 11 15 12 16 11 17 13 18 17 19 15 20 16 ===== 12 3 17 17 ===== current solution 2 12 6 16 12 3 17 17 All column 1 values will be unique. Unless I am wrong on what plines is? Glen From gbojsza at gmail.com Sun Dec 9 06:33:40 2012 From: gbojsza at gmail.com (Glen Bojsza) Date: Sun, 9 Dec 2012 06:33:40 -0500 Subject: Algorithm time... In-Reply-To: <50C45E99.3050205@fourthworld.com> References: <50C45E99.3050205@fourthworld.com> Message-ID: Yes, I always thought that "repeat with" was the only slow repeat method and as you point out it is only "repeat for each" that increases the speed not "repeat for". Sorry about not pasting in plain text as I would have liked to have seen your solution. Glen On Dec 9, 2012, at 4:49 AM, Richard Gaskin wrote: > Glen Bojsz wrote: > > > Once again I hope the algorithm experts can speed of the following... > > currently on just 50,000 points it takes 10 seconds ...as I indicate > > below I know why so this is why I am looking for better solutions > ... > >*on* mouseUp > > *put* the seconds into startTime > > *put* the number of lines of fld mydataNew into tcount > > *put* fld mydataNew into gbmem > > *put* tcount / 1000 into tgroup > > *put* 0 into x > > *put* 1 into y > > *repeat* for 1000 times > ... > > *put* line startline to endline of gbmem into grptest > > There are a few opportunities for optimization here, and if it had been pasted as plain text so I could work with it without having to first clean it up I might have done a quick rewrite. > > But to get you started, the last two lines as excerpted above are important. > > If you switch the repeat to use the "repeat for each line..." form you'll get about an order of magnitude performance boost. > > The issue is that "repeat " doesn't know if the data being counted may have changed, so when you later ask to go to line "startLine" each time through the loop it starts counting at 1 and continues down to startLine every iteration. This is a lot of redundant processing, and as you can guess gets progressively slower as you work your way through the data set. > > The "repeat for each" form has the limitation that you cannot alter the data being stepped through, but with that assumption is able to deliver radically improved performance because it parses out the next line and keeps its place in the data step each time through the loop, allowing performance to scale linearly. > > There are a few other things you might consider optimizing in that handler, but once you get the switch to "repeat for each" worked out I suspect you'll be so happy with the performance you'll move on to other things. :) > > -- > 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 gbojsza at gmail.com Sun Dec 9 08:06:43 2012 From: gbojsza at gmail.com (Glen Bojsza) Date: Sun, 9 Dec 2012 08:06:43 -0500 Subject: Algorithm time... In-Reply-To: <142A9C62-BABB-4ECE-A5D1-D64725D7EA40@mail.com> References: <142A9C62-BABB-4ECE-A5D1-D64725D7EA40@mail.com> Message-ID: Hi Dick, I have adjusted your routine so it reports back the values from the original dataset... note the "x" factor that has been added. Also, for 50,000 data points I was doing approximately 9 seconds with your routine it now is in the low milliseconds!! Now I have to really review and understand how your routine works. thanks, Glen On Sun, Dec 9, 2012 at 5:26 AM, Dick Kriesel wrote: > > On Dec 9, 2012, at 12:33 AM, Glen Bojsza wrote: > > > I believe that this should be doable less than 1 second > > Hi, Glen. Here's a draft you could try. It works for the sample data you > posted. > > If you have questions, please ask. If you try it, please report your > timings. > > -- Dick > > > > > function foo @pLines > put 0 into x > put the number of lines in pLines div 1000 into tGroupSize > set the itemDelimiter to tab > repeat for each line tLine in pLines > add 1 to tLineNumber > put item 2 of tLine into tValue > if tIndex[ tValue ] is empty then > put tLineNumber into tIndex[ tValue ] > end if > if tLineNumber is tGroupSize then > put the keys of tIndex into tValues > replace cr with comma in tValues > put min( tValues ) into tMin > put max( tValues ) into tMax > if tIndex[ tMin ] < tIndex[ tMax ] then > put tIndex[ tMin ] + x & tab & tMin & cr after tResult > put tIndex[ tMax ] + x & tab & tMax & cr after tResult > else > put tIndex[ tMax ] + x & tab & tMax & cr after tResult > put tIndex[ tMin ] + x & tab & tMin & cr after tResult > end if > put empty into tIndex > put 0 into tLineNumber > *put* x + tGroupSize into x > end if > end repeat > return tResult > end foo > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mikekann at yahoo.com Sun Dec 9 09:59:24 2012 From: mikekann at yahoo.com (Michael Kann) Date: Sun, 9 Dec 2012 06:59:24 -0800 (PST) Subject: Algorithm time... In-Reply-To: Message-ID: <1355065164.46225.YahooMailClassic@web120503.mail.ne1.yahoo.com> Glen, In your example do you use the numbers in the left column for anything? Are they just the line numbers? Mike Example: 1? ? 23 2? ? 12 3? ? 9 4? ? 77 5? ? 2 6? ? 13 7? ? 44 8? ? 83 9? ? 2 10? 37 In this example the result would be **Note if one or more values are the min or max the the first value found can be used 5? ? 2 8? ? 83 From andre at andregarzia.com Sun Dec 9 10:41:29 2012 From: andre at andregarzia.com (Andre Garzia) Date: Sun, 9 Dec 2012 13:41:29 -0200 Subject: DB Lib In-Reply-To: <28206F62-A044-47FD-BEE6-A815FD2232CF@aol.com> References: <28206F62-A044-47FD-BEE6-A815FD2232CF@aol.com> Message-ID: Hey Paul, Thanks for the kind words. My English improved and my Portuguese is getting worse everyday. English is an easy language to learning but how to pronounce words is a black art compared to Portuguese where you have all these rules and you can just look to a word and know how to properly speak it. People still cringe when I get the wrong intonations or stress but I will eventually get there. I've just sent a copy of the library to John. :-D Cheers Andre On Sat, Dec 8, 2012 at 2:02 PM, Paul Looney wrote: > > On Oct 29, 2012, at 6:47 AM, Andre Garzia wrote: > > > Paul, > > > > I am ready to give away a copy of DB Lib to be raffled during the LUG > > meeting. > > > > DB Lib (SQL, active record style) and its add-on Data Storage Lib (NoSQL, > > built on top of DB Lib and included with every DB Lib purchase) are new > > database libraries for LiveCode. > > > > You can learn more at http://www.andregarzia.com/page/dblib > > > > PS: Is raffled a verb?! > > > > cheers > > andre > > Andre, > > Thank you again for your kind offer. > > John Burtt won your DB Lib at our November meeting but left before I got > his information: > > jburtt at earthlink.net > > The two of you can work out the transfer details directly. > > Paul Looney > > PS Yes "raffled" IS a verb. > > PPS FYI: Your command of the English language has gotten very good. I > remember that you struggled with it a bit many years ago when we first met > and now you are a master. Congratulations - from someone who majored in > English in college. > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From bonnmike at gmail.com Sun Dec 9 10:55:01 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 9 Dec 2012 08:55:01 -0700 Subject: Algorithm time... In-Reply-To: <1355065164.46225.YahooMailClassic@web120503.mail.ne1.yahoo.com> References: <1355065164.46225.YahooMailClassic@web120503.mail.ne1.yahoo.com> Message-ID: Heres one more possibility.. If it doesn't matter which duplicate is used if there are duplicates then the following will do 100k lines in 167 millisec. This is using google, sorry if the blasted asterisks show up. (To clean up yours, pasted to a field and replaced * with empty but its still a pain in the tookus) BTW, the search and replace in the script editor seems to choke when trying to replace all with an empty string. *on* mouseUp *lock* screen *put* the milliseconds into startTime *put* the number of lines of fld mydataNew into tcount *put* fld mydataNew into gbmem *set* the itemdelimiter to tab *repeat* 1000 times -- could change this to a function of the number of lines/groupsize *put* line 1 to 10 of gbmem into ttemp *delete* line 1 to 10 of gbmem *sort* tTemp numeric ascending by item 2 of each *put* line 1 of tTemp & cr & (the last line of tTemp) & cr after tData *end* *repeat* *delete* the last char of tData *sort* tData numeric ascending by item 1 of each *filter tData without empty* *put* tData into field 2 *put* the milliseconds into endTime *put* endTime - startTime *unlock* screen *end* mouseUp On Sun, Dec 9, 2012 at 7:59 AM, Michael Kann wrote: > Glen, > In your example do you use the numbers in the left column for anything? > Are they just the line numbers? > > Mike > > > > Example: > > 1 23 > 2 12 > 3 9 > 4 77 > 5 2 > 6 13 > 7 44 > 8 83 > 9 2 > 10 37 > > In this example the result would be **Note if one or more values are the > min or max the the first value found can be used > > 5 2 > 8 83 > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 9 11:33:40 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 9 Dec 2012 09:33:40 -0700 Subject: Algorithm time... In-Reply-To: References: <1355065164.46225.YahooMailClassic@web120503.mail.ne1.yahoo.com> Message-ID: DOH 100k lines takes 800+ millisec. Me and my brain don't always talk. On Sun, Dec 9, 2012 at 8:55 AM, Mike Bonner wrote: > Heres one more possibility.. If it doesn't matter which duplicate is used > if there are duplicates then the following will do 100k lines in 167 > millisec. This is using google, sorry if the blasted asterisks show up. > (To clean up yours, pasted to a field and replaced * with empty but its > still a pain in the tookus) BTW, the search and replace in the script > editor seems to choke when trying to replace all with an empty string. > > *on* mouseUp > > *lock* screen > > *put* the milliseconds into startTime > > *put* the number of lines of fld mydataNew into tcount > > *put* fld mydataNew into gbmem > > *set* the itemdelimiter to tab > > *repeat* 1000 times -- could change this to a function of the number > of lines/groupsize > > *put* line 1 to 10 of gbmem into ttemp > > *delete* line 1 to 10 of gbmem > > *sort* tTemp numeric ascending by item 2 of each > > *put* line 1 of tTemp & cr & (the last line of tTemp) & cr aftertData > > *end* *repeat* > > *delete* the last char of tData > > *sort* tData numeric ascending by item 1 of each > > *filter tData without empty* > > *put* tData into field 2 > > *put* the milliseconds into endTime > > *put* endTime - startTime > > *unlock* screen > > *end* mouseUp > > > On Sun, Dec 9, 2012 at 7:59 AM, Michael Kann wrote: > >> Glen, >> In your example do you use the numbers in the left column for anything? >> Are they just the line numbers? >> >> Mike >> >> >> >> Example: >> >> 1 23 >> 2 12 >> 3 9 >> 4 77 >> 5 2 >> 6 13 >> 7 44 >> 8 83 >> 9 2 >> 10 37 >> >> In this example the result would be **Note if one or more values are the >> min or max the the first value found can be used >> >> 5 2 >> 8 83 >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From gbojsza at gmail.com Sun Dec 9 13:48:31 2012 From: gbojsza at gmail.com (Glen Bojsza) Date: Sun, 9 Dec 2012 13:48:31 -0500 Subject: Algorithm time... In-Reply-To: <1355065164.46225.YahooMailClassic@web120503.mail.ne1.yahoo.com> References: <1355065164.46225.YahooMailClassic@web120503.mail.ne1.yahoo.com> Message-ID: HI Mike, Yes the numbers are used ... they will always be sequential and unique but the may be much larger than my example. On Sun, Dec 9, 2012 at 9:59 AM, Michael Kann wrote: > Glen, > In your example do you use the numbers in the left column for anything? > Are they just the line numbers? > > Mike > > > > Example: > > 1 23 > 2 12 > 3 9 > 4 77 > 5 2 > 6 13 > 7 44 > 8 83 > 9 2 > 10 37 > > In this example the result would be **Note if one or more values are the > min or max the the first value found can be used > > 5 2 > 8 83 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dick.kriesel at mail.com Sun Dec 9 14:37:03 2012 From: dick.kriesel at mail.com (Dick Kriesel) Date: Sun, 9 Dec 2012 11:37:03 -0800 Subject: Algorithm time... In-Reply-To: References: <142A9C62-BABB-4ECE-A5D1-D64725D7EA40@mail.com> Message-ID: <32EE8AFA-8B23-4F8F-B9E5-FDDAD9B2B635@mail.com> On Dec 9, 2012, at 3:17 AM, Glen Bojsza wrote: > In other words the two values found in column 2 of the group data must then > get the corresponding column1 values from the original dataset. Hi, Glen. You'll get that if you remove the line "put 0 into tLineNumber" near the end of the repeat loop. Yes, variable "pLines" holds your original dataset. -- Dick From jhurley0305 at sbcglobal.net Sun Dec 9 15:36:07 2012 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Sun, 9 Dec 2012 12:36:07 -0800 Subject: Capture the Trig Function from an Option Menu Button In-Reply-To: References: Message-ID: <1FA7BFF9-58F5-4A13-B37A-DB42A2DC5FC2@sbcglobal.net> Well, Mark, maybe not so flexible. For example, to use Do with the arctan() function in LC, as you suggest, would require you to replace the arctan text with atan text, or more likely the atan2 text, as that is how LC expresses that trig funciton. That might not be easy if arctan text exists in more than one place. A bit of parsing may be required. And Do can be a bit slow. From the dictionary: "Using the do command is slower than directly executing the commands, because each statement must be compiled every time the do command is executed." As to simplifying, it appeared that a good bit of the thread revolved around a certain level of opacity in the Do statement. But there is certainly a nice generic quality to Do. "Never mind what, just Do it." In many cases it will boil down to taste, and I will grant you that that is no small issue. It is a good part of what makes coding satisfying. Jim > > Jim- > > Saturday, December 8, 2012, 10:11:31 AM, you wrote: > >> But could you tell me how this "mouseUP" handle fails to do the job? > > Well, it's not nearly as hard to read, for one thing. But seriously, > the use of lambda functions (google it) can provide a degree of > flexibility in code and help prevent coding errors. For instance, to > add the arctan() to your example you'd have to add a new line to the > option control, then add a new case statement to the switch construct > in the mouseUp handler. Possibly you could make a mistake when cutting > and pasting, forgetting to insert a break statement, etc. Using the > redirected form all you'd need to do is add the new line to the option > control. > > -- > -Mark Wieder > mwieder at ahsoftware.net From gbojsza at gmail.com Sun Dec 9 15:37:49 2012 From: gbojsza at gmail.com (Glen Bojsza) Date: Sun, 9 Dec 2012 15:37:49 -0500 Subject: Algorithm time... In-Reply-To: <32EE8AFA-8B23-4F8F-B9E5-FDDAD9B2B635@mail.com> References: <142A9C62-BABB-4ECE-A5D1-D64725D7EA40@mail.com> <32EE8AFA-8B23-4F8F-B9E5-FDDAD9B2B635@mail.com> Message-ID: Hi Dick My mistake... my solution was actually just putting in the correct line numbers and NOT the item value for the associated line. So the solution I indicated does NOT work. I still need the original item 1 value of the associated max and min lines. I quickly tried to pull the item 1 value by modifying the routine asking for the item value by line (tIndex[ tMin ] +x) of plines where necessary and this shot the time up to 5 seconds for the 500,000 data points. So there must be a better way to get the item 1 value and still stay in the millisecond range...or not? On Sun, Dec 9, 2012 at 2:37 PM, Dick Kriesel wrote: > > On Dec 9, 2012, at 3:17 AM, Glen Bojsza wrote: > > > In other words the two values found in column 2 of the group data must > then > > get the corresponding column1 values from the original dataset. > > > Hi, Glen. You'll get that if you remove the line "put 0 into tLineNumber" > near the end of the repeat loop. > > Yes, variable "pLines" holds your original dataset. > > -- Dick > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dick.kriesel at mail.com Sun Dec 9 15:45:15 2012 From: dick.kriesel at mail.com (Dick Kriesel) Date: Sun, 9 Dec 2012 12:45:15 -0800 Subject: Algorithm time... In-Reply-To: References: <142A9C62-BABB-4ECE-A5D1-D64725D7EA40@mail.com> <32EE8AFA-8B23-4F8F-B9E5-FDDAD9B2B635@mail.com> Message-ID: On Dec 9, 2012, at 12:37 PM, Glen Bojsza wrote: > So there must be a better way to get the item 1 value and still stay in the > millisecond range...or not? Did you remove the line I mentioned, verify the results, and check the timing? -- Dick From mwieder at ahsoftware.net Sun Dec 9 16:01:21 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 9 Dec 2012 13:01:21 -0800 Subject: Capture the Trig Function from an Option Menu Button In-Reply-To: <1FA7BFF9-58F5-4A13-B37A-DB42A2DC5FC2@sbcglobal.net> References: <1FA7BFF9-58F5-4A13-B37A-DB42A2DC5FC2@sbcglobal.net> Message-ID: <32133917609.20121209130121@ahsoftware.net> Jim- Sunday, December 9, 2012, 12:36:07 PM, you wrote: > In many cases it will boil down to taste, and I will grant you > that that is no small issue. It is a good part of what makes coding > satisfying. Good points all. I usually try to avoid do whenever I can due to its inherent slowness and the need to overthink the syntax... I'm never really sure whether I can use a variable or whether I have to quote it or even embed quote chars to get it to evaluate properly. Luckily there's no "one size fits all" formula in xtalk and there are many ways to get to any desired goal. -- -Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Sun Dec 9 16:03:02 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 09 Dec 2012 13:03:02 -0800 Subject: Capture the Trig Function from an Option Menu Button In-Reply-To: <1FA7BFF9-58F5-4A13-B37A-DB42A2DC5FC2@sbcglobal.net> References: <1FA7BFF9-58F5-4A13-B37A-DB42A2DC5FC2@sbcglobal.net> Message-ID: <50C4FC86.1090307@fourthworld.com> Jim Hurley wrote: > But there is certainly a nice generic quality to Do. > "Never mind what, just Do it." And in that lies one more reason to use "do" only with great care: In areas where it may be affected by user inputs it can become an injection vulnerability. The rest of the language is reasonable secure, but "do", "value", and the other dynamically-interpreted commands can be quite risky when mixed with incoming data, which is often when they're most valuable, so it may help to be mindful of this and include sanitizing error checks on any strings sent to such commands. Related: -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bonnmike at gmail.com Sun Dec 9 17:11:54 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 9 Dec 2012 15:11:54 -0700 Subject: Algorithm time... In-Reply-To: References: <142A9C62-BABB-4ECE-A5D1-D64725D7EA40@mail.com> <32EE8AFA-8B23-4F8F-B9E5-FDDAD9B2B635@mail.com> Message-ID: I have a curiosity question about this type of thing. Is there a way to adjust things so that posting data to a url is not blocking? If so, you could take advantage of a webservers multithreading (or several webservers) to hand off "jobs" and then get the returned result. Otherwise it should be possible using a server local to the machine to write temp files to a directory, then "load" the url with a GET parameter that points to the file in question with a callback message. Have an lc server (or php or whatever) script handle each, return the data, at which point your app can compile the results, sort, and be done with it. For small datasets this might not be worthwhile, but if there is enough volume, I think the returns would be worthwhile. Ok, just tried this. With 500k lines of data, split into 10k line chunks it's possible to do it in around 2.3 secs on my machine. A hotter machine with more cores is probably faster than that. Laying off really small chunks doesn't pay, too many threads on the server side, 10k lines per seems to be a good value. 15 to 20k per is very slightly faster. Of course code would have to be tweaked to manage the very last group that might not have the full number of 20k lines. If you want to mess with something like this, the stack is here: https://dl.dropbox.com/u/11957935/messingWithNumbers.livecode And the lc server script is as follows: " & (the last line of tTemp) & "
" after tNewData end repeat put tNewData else put "Problem finding data?" end if ?> Of course everything is set up to match my server set up. Tried to just post the scripts but they ended up too large. Twice. From brami.serge at gmail.com Sun Dec 9 17:15:35 2012 From: brami.serge at gmail.com (Serge Brami) Date: Sun, 9 Dec 2012 23:15:35 +0100 Subject: Send appleevent to livecode doesnt work ? In-Reply-To: <50C3A666.5090205@hyperactivesw.com> References: <50C3A5B5.3060303@hyperactivesw.com> <50C3A666.5090205@hyperactivesw.com> Message-ID: The handler on appleevent do anything end applevent works fine BUT it is NOT activated on the targeted Livecode app by the send to program command from other livecode app (wich run on an another mac on the network), UNLESS i switch on the target mac from livecode to another app and then come back . Then the handler begin to run . So ? Le 8 d?c. 2012 ? 21:43, J. Landman Gay a ?crit : > On 12/8/12 2:40 PM, J. Landman Gay wrote: >> On 12/8/12 1:31 AM, Serge Brami wrote: >>> I want to send an Applevent to another livecode app running on an >>> other Mac on a local network. >>> >>> for example >>> >>> on the Mac 1 a button with the script : >>> "on mouseup >>> send "hello" to "Mac2:livecode" >>> end mouseup" >>> >>> >>> >>> on the Mac 2 >>> >>> "on appleevent type >>> if type is "aevt" then >>> put "hello" >>> end if >>> pass applevent >>> end applevent >>> >>> >>> Well it works BUT only il on mac2 I switch from livecode to another >>> app and then switch back to livecode >> >> I haven't used appleEvents for years, but the way I'd debug this would >> be to change the receiving handler to show the parameters and see what >> you get: >> >> on appleevent >> repeat with x = 1 to the paramcount >> put x && "=" && param(x) >> end repeat >> end appleevent >> >> That may show you what is being sent and give you an idea of what's >> wrong. The type may not always be "aevt". >> > > Actually, my suggested handler will go by too fast to see. Better change it to accumulate the info like this: > > on appleevent > repeat with x = 1 to the paramcount > put x && "=" && param(x) & cr after tList > end repeat > put tList -- or you can use "answer tList" > end appleevent > > > -- > 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 gbojsza at gmail.com Sun Dec 9 17:39:11 2012 From: gbojsza at gmail.com (Glen Bojsza) Date: Sun, 9 Dec 2012 17:39:11 -0500 Subject: Algorithm time... In-Reply-To: References: <142A9C62-BABB-4ECE-A5D1-D64725D7EA40@mail.com> <32EE8AFA-8B23-4F8F-B9E5-FDDAD9B2B635@mail.com> Message-ID: I removed my code that gives the actual item 1 value... setting it back to your original code. Then I removed your line "put 0 into tLineNumber". The results only gave a couple of data points and not the actual value of item 1. =========== *on* mouseUp *put* fld mydata into plines *put* the number of lines in pLines div 1000 into tGroupSize *set* the itemDelimiter to tab *repeat* for each line tLine in pLines *add* 1 to tLineNumber *put* item 2 of tLine into tValue *if* tIndex[ tValue ] is empty *then* *put* tLineNumber into tIndex[ tValue ] *end* *if* *if* tLineNumber is tGroupSize *then* *put* the keys of tIndex into tValues *replace* cr with comma in tValues *put* min( tValues ) into tMin *put* max( tValues ) into tMax *if* tIndex[ tMin ] < tIndex[ tMax ] *then* *put* tIndex[ tMin ] & tab & tMin & cr after tResult *put* tIndex[ tMax ] & tab & tMax & cr after tResult *else* *put* tIndex[ tMax ] & tab & tMax & cr after tResult *put* tIndex[ tMin ] & tab & tMin & cr after tResult *end* *if* *put* empty into tIndex *--put 0 into tLineNumber* *end* *if* *end* *repeat* *end* mouseUp On Sun, Dec 9, 2012 at 3:45 PM, Dick Kriesel wrote: > > On Dec 9, 2012, at 12:37 PM, Glen Bojsza wrote: > > > So there must be a better way to get the item 1 value and still stay in > the > > millisecond range...or not? > > > Did you remove the line I mentioned, verify the results, and check the > timing? > > -- Dick > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dick.kriesel at mail.com Sun Dec 9 19:07:16 2012 From: dick.kriesel at mail.com (Dick Kriesel) Date: Sun, 9 Dec 2012 16:07:16 -0800 Subject: Algorithm time... In-Reply-To: References: <142A9C62-BABB-4ECE-A5D1-D64725D7EA40@mail.com> <32EE8AFA-8B23-4F8F-B9E5-FDDAD9B2B635@mail.com> Message-ID: Hi, Glen. I've reread your replies. Here's a new version that returns the original values, as needed. Please test and report again. -- Dick function digest @pLines local tGroupSize, tLineNumber, tArray, tKeys, tMin, tMax, tResult put number of lines in pLines div 1000 into tGroupSize set the itemDelimiter to tab repeat for each line tLine in pLines add 1 to tLineNumber if tArray[ item 2 of tLine ] is empty then put item 1 of tLine into tArray[ item 2 of tLine ] end if if tLineNumber is tGroupSize then put the keys of tArray into tKeys replace cr with comma in tKeys put min( tKeys ) into tMin put max( tKeys ) into tMax if tArray[ tMin ] < tArray[ tMax ] then put tArray[ tMin ] & tab & tMin & cr after tResult put tArray[ tMax ] & tab & tMax & cr after tResult else put tArray[ tMax ] & tab & tMax & cr after tResult put tArray[ tMin ] & tab & tMin & cr after tResult end if put 0 into tLineNumber put empty into tArray end if end repeat return tResult end digest From gbojsza at gmail.com Sun Dec 9 19:19:38 2012 From: gbojsza at gmail.com (Glen Bojsza) Date: Sun, 9 Dec 2012 19:19:38 -0500 Subject: iOS / Android apps with Remote Features Message-ID: Hello, The current Livecode Rendering engine does not support remote sessions on Linux like xhosts. The offered work arounds do not even make it bearable in attempting to update the display. These also reduce most of the basic features you would want to use with a Livecode app so it starts to look like early crayon days of graphics. 1) Avoid using any form of transparency (Including alpha and blendlevel) 2) Switch off initializing on all graphics and fonts 3) Force use of old font system (command line option -xftoff we think) 4) Avoid using GTK theme and use motif lookandfeel instead Given that this does NOT work I was wondering if anybody has done an iOS or Android app that would be utilizing a remote display feature. If so, was it tested against any Linux system? What Version? Comments? Any feedback or information on this would be appreciated. We want to do an iOS app that connects to a Linux application running on CentOS but we fear that the same issues will appear and it will have been a waste of time and effort. I do not know if this would work with Windows or OS X since they are target platforms but I would also be curious to find out if someone has had any success with either of these. regards, Glen From gbojsza at gmail.com Sun Dec 9 19:31:05 2012 From: gbojsza at gmail.com (Glen Bojsza) Date: Sun, 9 Dec 2012 19:31:05 -0500 Subject: Algorithm time... In-Reply-To: References: <142A9C62-BABB-4ECE-A5D1-D64725D7EA40@mail.com> <32EE8AFA-8B23-4F8F-B9E5-FDDAD9B2B635@mail.com> Message-ID: That's it!! 500,000 points in 419 milliseconds. This scales perfectly for what I need. thanks Dick. On Sun, Dec 9, 2012 at 7:07 PM, Dick Kriesel wrote: > Hi, Glen. I've reread your replies. Here's a new version that returns > the original values, as needed. > > Please test and report again. > > -- Dick > > > > > function digest @pLines > local tGroupSize, tLineNumber, tArray, tKeys, tMin, tMax, tResult > put number of lines in pLines div 1000 into tGroupSize > set the itemDelimiter to tab > repeat for each line tLine in pLines > add 1 to tLineNumber > if tArray[ item 2 of tLine ] is empty then > put item 1 of tLine into tArray[ item 2 of tLine ] > end if > if tLineNumber is tGroupSize then > put the keys of tArray into tKeys > replace cr with comma in tKeys > put min( tKeys ) into tMin > put max( tKeys ) into tMax > if tArray[ tMin ] < tArray[ tMax ] then > put tArray[ tMin ] & tab & tMin & cr after tResult > put tArray[ tMax ] & tab & tMax & cr after tResult > else > put tArray[ tMax ] & tab & tMax & cr after tResult > put tArray[ tMin ] & tab & tMin & cr after tResult > end if > put 0 into tLineNumber > put empty into tArray > end if > end repeat > return tResult > end digest > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Dec 9 22:25:54 2012 From: andrew at ctech.me (Andrew Kluthe) Date: Sun, 9 Dec 2012 21:25:54 -0600 Subject: FT: FieldTrip Pre-Beta Note In-Reply-To: <50C32591.2090107@pair.com> References: <50C32591.2090107@pair.com> Message-ID: Love wordreport. I use it in about 3 out of 4 of my projects. Would be incredibly excited to see a spreadsheet equivalent. The best I can do right now is some pretty boring csv files that can be opened in excel. On Sat, Dec 8, 2012 at 5:33 AM, Curry Kenworthy wrote: > > Howdy FieldTrip Preorder Folks, > > I posted recently that the first FieldTrip beta release was imminent. It is, > and some folks have written since to inquire again, and suggested that I > post here too, so here's a quick note. > > After completing the current formatting features and custom GUI, I've been > wrapping up the final library details such as installation, documentation, > reg codes, mobile testing, and feature retesting. > > I'll be posting the download link here on this list in the next two or three > days after completing the final tests and documents! > > In the meantime, please let me know offlist if you've lost your PayPal email > (see below for why), and also keep reading if you have questions for other > info/explanation/FAQ including why it's been slow. > > I'll try to avoid posting here on the list again for these couple of days, > and answer any further questions after that, so I can maximize the actual > work until the download is ready.... > > ACCESS CODE > > As promised, in addition to other bonuses, the Preorder Folks will get > exclusive access to FT (beyond the demo) for a period of time before anyone > else. > > Your reg code will be the Transaction ID of your PayPal preorder payment, so > do check that you still have that email, or that you can find the > transaction in your PayPal account. There will be instructions on using the > code inside the download. > > (If anyone slipped through the cracks or lost the PayPal email, let me know! > And write again if you subsequently find it; I'll handle these in a batch > after finding out who needs them.) > > The preorder page will be closed slightly before the release of this beta. > > WHAT TOOK SO LONG? > > Some folks have understandably kicked my butt a bit lately about the delay; > I sincerely apologize. The preorder process funded development, which has > been ongoing and steady since the promotion. It was never stopped or sold > down the river at any time, in any way; that would never happen, and is not > who I am, as those who know me know well! It was simply slower than > expected. > > Why? I had an unexpected relapse of fairly serious health issues that cause > difficulty moving the body, pain when inhaling, and lightheadedness. (Lovely > combination!) It's gradually getting better, but dealing with this and > working toward getting it truly fixed this time around have been challenging > and not very kind to my schedule. It also prevented me from posting news > here on the list as frequently as I wanted to. > > However, the experience has also increased my determination and zeal more > than ever, so I intend to come back in a big way with some groundbreaking > work in LiveCode projects. > > (There also were a couple of specific areas within the overall development > that were delayed two or three months to obtain information about certain > LiveCode developments, to avoid duplicated or misdirected efforts in those > areas, and this preserved more of the development funds to use now in > integrating those thoroughly and effectively.) > > THE BIG PICTURE > > FieldTrip development includes not just the goal of supporting all text > formatting features of LC 5.5+, but also ongoing development of a custom GUI > (the buttons, etc.), and a word processing interface with desktop/mobile > parity, which will facilitate interaction to an unusual extent on all > platforms. All of this will continue far beyond the level of this first > beta. FT also needs to integrate closely with WordLib and WordOut (which are > also undergoing updates right now, and nearing release too) and other > WP-related tech to increasingly provide the ultimate drop-in word processing > solution for users and end users. > > I aim to make every preorder customer truly happy, so thanks for both the > criticisms and the encouragement, it all helps! Keep the feedback coming > after trying the beta (to ensure timely completion, I'll be finishing it > before posting again or responding to other questions) and be ready for > other bonuses for preorder folks, as my way of saying both "thanks" and > "sorry it took a while". > > WHAT'S IN FT? > > It's a set of LiveCode word processor controls and features, a friendly > interface to handle all the old and new text formatting features supported > by LC fields (and incidentally the development of WordLib and FT have led to > some additional text features in LC). The toolbar is similar to the main > controls of MS Word, Open Office, or (insert favorite WP). > > FieldTrip also has its own GUI for buttons, since it is designed for all > platforms. The GUI colors can adjusted to suit one's taste or platform. The > GUI was also designed without excess complexity of controls or visual > settings, to hopefully be faster on simple devices such as low-end Android > tablets. (Which in my opinion are very exciting options for end users in > both the developed and developing world, so I wanted to ensure they'd be > snappy.) > > Since FT was designed with mobile/desktop parity in mind, it will offer more > mobile access than most interfaces do, and the controls are sized > accordingly. I'll be treating Android and iOS equally. > > Once paired with WordLib and WordOut, FT will represent a complete > in/edit/out solution for Word and Open Office and rival famous word > processors to some extent. > > WHAT'S DONE AND TO-DO IN THIS BETA? > > Here's a list of what's coming now and what's still in development for next > version. > > "TO-DONE" LIST > (Items implemented but subject to improvement) > > - word processing formatting toolbar > - text formatting features (font, size, colors, links, images, biu, align, > super/sub, strike, box, border features, list features, line spacing, > more/less indent) > - intuitive bullet and numbered list level processing and adjusting, similar > to Word > - allow end user to resize/move field (if desired) even on mobile > - toolbar shows state of current text selection > - GUI for toolbar buttons etc. > - adjustable GUI colors > - toolbar buttons can be repositioned or hidden if desired > - install components to your stack > > TO-DO LIST > (Perhaps not all-inclusive, some may change) > > - word processing tab bar > - fixes and improvements from beta feedback > - specific requests from FieldTripper and higher supporters > - better resolution support > - even more new text features > - mobile text selection controls and behaviors > - platform default colors preset for GUI (if desired) > - more GUI options (and perhaps spin off to allow use in other interfaces if > desired) > - tight integration with LiveCode's environment > - toolbar button groupings (to reduce real estate if desired) > - toolbar positioning and display options > - integration with spell checkers and other tools > - integration with WordLib and WordOut for import/export > - more word processing features to rival familiar WP's > > (The tab bar was actually more than halfway complete, but needs to be > reskinned using the new GUI for a prettier look, so it was moved to the next > version.) > > WHAT'S COMING AFTER THIS? > > Besides FT, I've been updating the import/export addons for Word and Excel, > so there will be a flurry of releases before long: WordLib 2.0, WordOut, > SpreadLib 1.0, and SpreadOut. And a WordReport update. > > (SpreadLib 1.0 will integrate with a nifty new grid control by Mats > Wilstrand!) > > WordLib 2.0 addresses LiveCode 5.5+ text features among other things, and > the following release (2.1 or etc) will add much improved support to the > legacy MS Word 97-2003 DOC format. > > There has been a request for something similar to WordReport for > spreadsheets, so a SpreadReport may be under consideration. > > I have something else fairly big and quite different than my other addons, > to announce after the FT release and some client work, so stay tuned! > > Best wishes, > > Curry Kenworthy > -- > WordLib: Import MS Word and OpenOffice documents > http://curryk.com/wordlib.html > > WordReport: Template-driven MS Word and OpenOffice reports > http://curryk.com/wordreport.html > > FieldTrip > http://www.curryk.com/fieldtrip-preorder.html > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Sun Dec 9 23:34:50 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 09 Dec 2012 22:34:50 -0600 Subject: Send appleevent to livecode doesnt work ? In-Reply-To: References: <50C3A5B5.3060303@hyperactivesw.com> <50C3A666.5090205@hyperactivesw.com> Message-ID: <50C5666A.6020905@hyperactivesw.com> On 12/9/12 4:15 PM, Serge Brami wrote: > The handler on appleevent > do anything > end applevent > > works fine BUT it is NOT activated on the targeted Livecode app > by the send to program command from other livecode app (wich run on > an another mac on the network), UNLESS i switch on the target mac > from livecode to another app and then come back . Then the handler > begin to run . So ? It sounds like the appleEvent is only being received when the app comes to the front or on starts up. Probably you should submit a bug report. I also wonder if GateKeeper is interfering. AppleEvents are severely limited on iOS, so they may also be limited in OS X now. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jhurley0305 at sbcglobal.net Sun Dec 9 23:47:10 2012 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Sun, 9 Dec 2012 20:47:10 -0800 Subject: Capture the Trig Function from an Option Menu Button Message-ID: <7C2F9BF1-BAB8-4A68-8603-0576BDE593AA@sbcglobal.net> Hi Mark I can recall one case where Do was the perfect solution for me. It was a tutorial to help students understand the physics of the rainbow. It provided them with a mini-programing language, that allowed them to control how a ray of light might interact with a drop of water. They would write a script for the ray they wanted to consider. For example; startRayAt d refractionAirToWater crossDrop reflection crossDrop refractionWaterToAir exitRay This ray is refracted into the drop at the initial face, crosses the drop then to be reflected off of the back surface, and is eventually reflected and refracted back into the air. This would be typical path for rays responsible for the primary rainbow. This student script is written into a field called "program" and is handled by: repeat with k = 1 to number of lines in field "program" do line k of field "program" end repeat Nothing could be simpler or less error prone. Speed was not an issue. The alternative would have been to write a conditional for each of the commands in the 6 word vocabulary. What a nuisance. Do is obviously the solution in this case. In Roger Guay's problem it is a two step process, (1) get the value for the trig function and then (2) a statement, and them combine them into a printed statement. This process might be easier to read, and simpler to execute as a Switch/Case solution. Jim ---------------------- Jim- > Sunday, December 9, 2012, 12:36:07 PM, you wrote: > In many cases it will boil down to taste, and I will grant you > that that is no small issue. It is a good part of what makes coding > satisfying. Good points all. I usually try to avoid do whenever I can due to its inherent slowness and the need to overthink the syntax... I'm never really sure whether I can use a variable or whether I have to quote it or even embed quote chars to get it to evaluate properly. Luckily there's no "one size fits all" formula in xtalk and there are many ways to get to any desired goal. -- -Mark Wieder mwieder at ahsoftware.net From irog at mac.com Mon Dec 10 01:12:22 2012 From: irog at mac.com (Roger Guay) Date: Sun, 09 Dec 2012 22:12:22 -0800 Subject: Capture the Trig Function from an Option Menu Button In-Reply-To: <7C2F9BF1-BAB8-4A68-8603-0576BDE593AA@sbcglobal.net> References: <7C2F9BF1-BAB8-4A68-8603-0576BDE593AA@sbcglobal.net> Message-ID: <3DA7CD04-C9B1-45EC-B5B9-D9AAB17DC07F@mac.com> On Dec 9, 2012, at 8:47 PM, Jim Hurley wrote: > In Roger Guay's problem it is a two step process, (1) get the value for the trig function and then (2) a statement, and them combine them into a printed statement. > This process might be easier to read, and simpler to execute as a Switch/Case solution. Not quite! My problem was to get the user selected trig fctn (sin, cos or tan) , derive an angle from an incrementing repeat loop, and then calculate the that trig Fctn for the incremented angle, and finally to plot that point on X-Y plane. I'm just saying?. Roger From effendi at wanadoo.fr Mon Dec 10 06:07:58 2012 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Mon, 10 Dec 2012 12:07:58 +0100 Subject: Documentation - Was -"What are hSscroll, vScroll really? (Richmond)" Message-ID: <1AE39275-439B-422B-8CBC-8AA806A30DD4@wanadoo.fr> Hi from Sunny (would you believe it ?) Brittany Richmond wrote : > The current documentation DOES contain a lot of good, a lot that is > obscure, and a fair bit missing or incomplete. Here's my 2 cents ?? I would like to second all that Richmond has said concerning "DOCUMENTATION", but I would like to add a few comments. The "Dictionary", available from the IDE, gives us a list of all possible LiveCode commands, with a "limited" set of examples. This, in my view is where the Documentation fails. As a LiveCode user for several years, with a 15 year Hypercard background, the "limited" examples in the online documentation provide me with more frustration than solutions. I admit that a complete description of LiveCode commands plus an exhaustive set of examples would result in a humungous file that would blind most LiveCode users (and take years to produce). So, using "links", let us see if we can get ALL the answers, in a relatively simple "LEVEL" approach. Most of LiveCode subtilities (especially examples) have been drafted already by Revolution personnel and LiveCode Users. It's all there - "somewhere". I find that a reasonably intelligent search command on Google, such as "Livecode functions" will point me to a few Google "hits", one of which will satisfy my requirements. (try this on Google and number one hit is Jacque's comprehensive discussion about "Functions). Why doesn't the online doc point to such beautiful overviews ? However, this takes time, and energy, and I think that the Revolution Documentation Specialists should finally reply to this need. The addition of "User" comments to the online documentation was a great idea, but had little (and only partial) responses. So I humbly suggest (and open a door to discussion ?) the following : To each of the command descriptions in the online LiveCode documentation, I would add 3 lines : 1 - Link to - " A wider range of examples of the current command", 2 - Link to - "A more complex set of examples, with explanations", 3 - Link to - "Examples for the LiveCode geeks, who really push LiveCode to the limits. (2) and (3) would probably have snippets of code to wrap up a complex use of a command. This would mean relatively few mods to a pretty good (but incomplete) online dictionary. All of the information for these three levels of information exists. It could be gathered together in several data bases accessible on the Internet, or, to simplify implementation, the links could point to existing internet data (there are Gigabytes "out there", we just need to point to them in an intelligent manner). Whatever the way of implementing a comprehensive presentation of LiveCode mechanisms, I think it should be attempted. How about a "Call for Papers" to RevCode users, specifying format and structure of papers entered ? Lots of RevCode knowledge "out there" !!! And we should never forget the old adage " It is by example that we learn" ! So why don't we have examples - ALL OF THEM - (simple AND complex), and a clear set of rules to access them ? With Hope -Francis From MikeKerner at roadrunner.com Mon Dec 10 10:50:41 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 10 Dec 2012 10:50:41 -0500 Subject: Mobile sockets crowd funding opportunity In-Reply-To: <9BACD0F4-2F6A-479C-8D69-8B2B7BF5284E@sweattechnologies.com> References: <9BACD0F4-2F6A-479C-8D69-8B2B7BF5284E@sweattechnologies.com> Message-ID: Just in case anybody over here was leery of being an early in, we're in. On Sat, Dec 8, 2012 at 5:09 AM, Monte Goulding wrote: > Hi LiveCoders > > A number of LiveCode developers need sockets on iOS and android. The > subject of developing an external for this feature came up recently on the > LiveCode Developer Program list. It was proposed by a number of developers > that the external would be a good candidate for crowd funding. As part of > the discussions RunRev was asked for comment and we were given permission > to publish the reply: > > "I would go ahead and develop this if you receive the funding. We are not > working on mobile sockets as a feature at the moment and it may be some > time before we can commit resources to it." Ben Beaumont (LiveCode Product > Manager) > > The current situation for sockets is a TCP client is able to be > implemented on iOS using the rresocket external that is available in the > iOS Externals SDK. This external is implemented using NSStream and won't > port to android when the android external sdk is published. > > The proposal is to implement a sockets external in portable C++ code based > on the boost.asio library in the hope that once the android external sdk is > released it would port with minimal changes. The expectation is that $1000 > to $1500 of funding will be sufficient to implement the bulk of the > external, however, to ensure we are implementing the highest priority > features first the external would be implemented in the following order: > - UDP client > - TCP server > - UDP server > - TCP client (last because of the availability of rresocket) > > mergExt is about implementing features the LiveCode community needs when > you need them. Some comments from members of the LiveCode Developer Program > about why this external is worthwhile finding: > > "Currently, mobile network actions are severely limited by the lack of a > socket library. There is no way, for instance, to send mail without using > the built-in mail app, even though having the user have a chance to read a > system message and mess it up is not desirable. > > We have an application where we would like to be able to communicate with > a network-enabled appliance. it does not have bluetooth, and it does not > use a standard http protocol, so without a network stack/sockets, I am > dead-in-the-water." Mike Kerner (R. M. Kerner Co.) > > "I will definitely take part on the funding. I think socket support is an > essential feature for LiveCode Mobile." Matthias Rebbe > > "I'm In." Ralph DiMola (Evergreen Information Services) > > "Mine included there are at least three votes. Anyone else?" Ralf Bitter > (author of revIgniter) > > "Please add my vote to this." Pierre Sahores > > "I am sure there are a number of people that would like to help fund a > sockets external. I for one would be more than happy to dive in should you > decide to look for funders for this external. I have a feeling this > external will reach the funding value very quickly." Mark Talluto (Canela > Software) > > There are 3 choices for funding. All options come with the access to the > pre-release versions and the final version for iOS. Each level of funding > gives you access to special discount rates on the mergExt store for the > next 3 months. All funders (unless they don't want to) will be thanked for > their generous contribution in the documentation under their funding level. > > - Bronze: $80 funding and 10% off > - Silver: $160 funding and 20% off > - Gold: $240 funding and 30% off > > Please note that as the android externals sdk is currently an unknown > variable there can be no guarantee that more funding will not be required > when it's released. It is, however, the intention that the external be > implemented so that it should cross compile for android. It is also not > possible at this stage to estimate a date for an android version to be > provided. > > After 90 days if the project has not met it's target the funders will be > offered credit at the mergExt store to the value of their funding. > > To get involved go to http://mergext.com/fund/sockets > > For anyone interested in the progress of the Game Center crowd funding > effort the external will be be released shortly and funders are currently > making use of it to implement a number of games. The external is still open > to funding to cover turn based matches and matchmaking. > > Cheers > > -- > 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 matthias_livecode_150811 at m-r-d.de Mon Dec 10 10:59:49 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 10 Dec 2012 16:59:49 +0100 Subject: Mobile sockets crowd funding opportunity In-Reply-To: References: <9BACD0F4-2F6A-479C-8D69-8B2B7BF5284E@sweattechnologies.com> Message-ID: <870289D2-1BD2-4118-B7FC-DFC7CDE25701@m-r-d.de> Me too. Joined already on Saturday. ;) -- Matthias Rebbe matthias (at) rebbe.tk Tel +49.5741.310000 Tel +49.160.5504462 -- SkypeName:matthiasrebbe Am 10.12.2012 um 16:50 schrieb Mike Kerner : > Just in case anybody over here was leery of being an early in, we're in. > > > On Sat, Dec 8, 2012 at 5:09 AM, Monte Goulding > wrote: > >> Hi LiveCoders >> >> A number of LiveCode developers need sockets on iOS and android. The >> subject of developing an external for this feature came up recently on the >> LiveCode Developer Program list. It was proposed by a number of developers >> that the external would be a good candidate for crowd funding. As part of >> the discussions RunRev was asked for comment and we were given permission >> to publish the reply: >> >> "I would go ahead and develop this if you receive the funding. We are not >> working on mobile sockets as a feature at the moment and it may be some >> time before we can commit resources to it." Ben Beaumont (LiveCode Product >> Manager) >> >> The current situation for sockets is a TCP client is able to be >> implemented on iOS using the rresocket external that is available in the >> iOS Externals SDK. This external is implemented using NSStream and won't >> port to android when the android external sdk is published. >> >> The proposal is to implement a sockets external in portable C++ code based >> on the boost.asio library in the hope that once the android external sdk is >> released it would port with minimal changes. The expectation is that $1000 >> to $1500 of funding will be sufficient to implement the bulk of the >> external, however, to ensure we are implementing the highest priority >> features first the external would be implemented in the following order: >> - UDP client >> - TCP server >> - UDP server >> - TCP client (last because of the availability of rresocket) >> >> mergExt is about implementing features the LiveCode community needs when >> you need them. Some comments from members of the LiveCode Developer Program >> about why this external is worthwhile finding: >> >> "Currently, mobile network actions are severely limited by the lack of a >> socket library. There is no way, for instance, to send mail without using >> the built-in mail app, even though having the user have a chance to read a >> system message and mess it up is not desirable. >> >> We have an application where we would like to be able to communicate with >> a network-enabled appliance. it does not have bluetooth, and it does not >> use a standard http protocol, so without a network stack/sockets, I am >> dead-in-the-water." Mike Kerner (R. M. Kerner Co.) >> >> "I will definitely take part on the funding. I think socket support is an >> essential feature for LiveCode Mobile." Matthias Rebbe >> >> "I'm In." Ralph DiMola (Evergreen Information Services) >> >> "Mine included there are at least three votes. Anyone else?" Ralf Bitter >> (author of revIgniter) >> >> "Please add my vote to this." Pierre Sahores >> >> "I am sure there are a number of people that would like to help fund a >> sockets external. I for one would be more than happy to dive in should you >> decide to look for funders for this external. I have a feeling this >> external will reach the funding value very quickly." Mark Talluto (Canela >> Software) >> >> There are 3 choices for funding. All options come with the access to the >> pre-release versions and the final version for iOS. Each level of funding >> gives you access to special discount rates on the mergExt store for the >> next 3 months. All funders (unless they don't want to) will be thanked for >> their generous contribution in the documentation under their funding level. >> >> - Bronze: $80 funding and 10% off >> - Silver: $160 funding and 20% off >> - Gold: $240 funding and 30% off >> >> Please note that as the android externals sdk is currently an unknown >> variable there can be no guarantee that more funding will not be required >> when it's released. It is, however, the intention that the external be >> implemented so that it should cross compile for android. It is also not >> possible at this stage to estimate a date for an android version to be >> provided. >> >> After 90 days if the project has not met it's target the funders will be >> offered credit at the mergExt store to the value of their funding. >> >> To get involved go to http://mergext.com/fund/sockets >> >> For anyone interested in the progress of the Game Center crowd funding >> effort the external will be be released shortly and funders are currently >> making use of it to implement a number of games. The external is still open >> to funding to cover turn based matches and matchmaking. >> >> Cheers >> >> -- >> 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 jhurley0305 at sbcglobal.net Mon Dec 10 11:00:51 2012 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Mon, 10 Dec 2012 08:00:51 -0800 Subject: Capture the Trig Function from an Option Menu Button Message-ID: <1A3E65FB-3315-4727-8583-A990AAC756A2@sbcglobal.net> Sorry, Roger, I guess I forgot about that part. Try the script below: >> On Dec 9, 2012, at 8:47 PM, Jim Hurley > > wrote: >> In Roger Guay's problem it is a two step process, (1) get the value for the trig function and then (2) a statement, and them combine them into a printed statement. >> This process might be easier to read, and simpler to execute as a Switch/Case solution. >> > > Not quite! My problem was to get the user selected trig fctn (sin, cos or tan) , derive an angle from an incrementing repeat loop, and then calculate the that trig Fctn for the incremented angle, and finally to plot that point on X-Y plane. I'm just saying?. > > Roger > on mouseUp put the label of btn "myOptionMenu" into tTrigFunction put round(the width of this card/2) into x0 put round(the height of this card/2) into y0 put 60 into Amp set the points of grc "myCurve" to empty wait 0 millisec -- Force a screen refresh on the Mac repeat with i = 1 to 360--maybe with a step of 2 or 4 put i*pi/180 into tAngle switch tTrigFunction case "sine" put sin(tAngle ) into y break case "cosine" put cos(tAngle) into y break case "tangent" if i = 90 or i = 90+180 then next repeat put tan(tAngle ) into y break end switch put round(Amp*y) into y put i into x put x+ x0, y+y0 into tPoint put tPoint & cr after tPoints --Uncomment the following to see the curve evolve -- set the points of grc "myCurve" to tPoints -- wait 0 millisec end repeat set the points of grc "myCurve" to tPoints end mouseUp From jimschaubeck at yahoo.com Mon Dec 10 11:13:47 2012 From: jimschaubeck at yahoo.com (Jim Schaubeck) Date: Mon, 10 Dec 2012 08:13:47 -0800 (PST) Subject: Password Field - Mark Schonewille In-Reply-To: <50C2BADA.203@hyperactivesw.com> References: <50C2BADA.203@hyperactivesw.com> Message-ID: <1355156027.80608.YahooMailNeo@web162303.mail.bf1.yahoo.com> Very clever!! ? ______________________________________________________________________________________________ ??jim schaubeck?????????????????????????????????????? jimschaubeck at yahoo.com/?714.321.4499 ________________________________ From: J. Landman Gay To: How to use LiveCode Sent: Friday, December 7, 2012 7:58 PM Subject: Re: Password Field - Mark Schonewille On 12/7/12 6:57 PM, Andrew Kluthe wrote: > Hello, > > I have been using Mark Schonewille's password field in some of my > stacks for a while. So far it has done the trick, but I found out > recently that it doesn't like to play well with the number keys on the > right of the keyboard. Are there any other password fields I could > leverage or some basic tips for catching keystrokes from the number > pad? > > My favorite way to do this is with a trick posted by Bill Marriott some years ago. It acts like any other field, accepts any normal field input from any keyboard or input source, allows all editing functions, user selections, etc. and still hides what the user types. You can get the text just like you do from any field. Here's what he said: === Here is what I thought was a very simple solution to that: 1) Include a tiny image (such as a 10x10 pixel padlock) in your stack. I named mine "tinyPadlock." 2) Attach this script to the field used for password entry: on keyUp ? ? -- enable masking of password during entry ? ? lock messages ? ? lock screen ? ? repeat with i = 1 to the number of characters in me ? ? ? ? if the imagesource of char i of me is not "tinyPadlock" then ? ? ? ? ? ? set the imagesource char i of me to "tinyPadlock" ? ? ? ? end if ? ? end repeat ? ? unlock messages ? ? pass keyUp end keyUp This handles whatever someone might do in the field, masks their input, and still allows you to access the content of the field as if the password masking was not used. === I usually use a little bullet image. Caveat: It does fail if you leave the copy or cut menu item active. If a user can copy the images, the original text will be revealed when pasted somewhere else. Disable "copy" and "cut" when the field is in use. -- 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 jhurley0305 at sbcglobal.net Mon Dec 10 11:59:11 2012 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Mon, 10 Dec 2012 08:59:11 -0800 Subject: Capture the Trig Function from an Option Menu Button Message-ID: <4544BC9C-D7C9-4A9D-ACA6-08CBF66AD58D@sbcglobal.net> It turns out that Do is fast enough. Here is the Do script: (The script might read a litle better by using "x" in the repeat loop instead of "i".) on mouseUp put the label of btn "myOptionMenu" into tTrigFunction --It might be necessary to take care in using the following replacements replace "sine" with "sin" in tTrigFunction replace "cosine" with "cos" in tTrigFunction replace "tangent" with "tan" in tTrigFunction put round(the width of this card/2) into x0 put round(the height of this card/2) into y0 put 50 into Amp--Amplitude of the trig curve set the points of grc "myCurve" to empty wait 0 millisec -- Force a screen refresh on the Mac repeat with i = 1 to 360--maybe with a step of 2 or 4 put i*pi/180 into tAngle get "put the " & tTrigFunction & " of " & tAngle & " into y " do it put round(Amp*y) into y put i into x put x+ x0, y+y0 into tPoint put tPoint & cr after tPoints --Uncomment the following to see the curve evolve --set the points of grc "myCurve" to tPoints --wait 0 millisec end repeat set the points of grc "myCurve" to tPoints end mouseUp From MikeKerner at roadrunner.com Mon Dec 10 12:17:51 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 10 Dec 2012 12:17:51 -0500 Subject: "Could not copy splash" Message-ID: So I was messing with a new ios app today. I created a really simple splash screen, but when I try to create the standalone, I get an error "Could not copy splash" (and the path of the .png for the splash screen. If I double-click on the file, it opens just fine, so any ideas on what this might be? -- 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 irog at mac.com Mon Dec 10 12:42:55 2012 From: irog at mac.com (Roger Guay) Date: Mon, 10 Dec 2012 09:42:55 -0800 Subject: Capture the Trig Function from an Option Menu Button In-Reply-To: <4544BC9C-D7C9-4A9D-ACA6-08CBF66AD58D@sbcglobal.net> References: <4544BC9C-D7C9-4A9D-ACA6-08CBF66AD58D@sbcglobal.net> Message-ID: <2F8EAA01-F970-48E0-AF7A-7733AF7E4FB3@mac.com> This script is amazingly fast! And so are you, having apparently produced it in less than an hour!! My script appears to be slightly slower using a switch/case structure. I'll test it out when I get a moment. Thanks very much, Roger On Dec 10, 2012, at 8:59 AM, Jim Hurley wrote: > It turns out that Do is fast enough. Here is the Do script: > (The script might read a litle better by using "x" in the repeat loop instead of "i".) > > on mouseUp > put the label of btn "myOptionMenu" into tTrigFunction > --It might be necessary to take care in using the following replacements > replace "sine" with "sin" in tTrigFunction > replace "cosine" with "cos" in tTrigFunction > replace "tangent" with "tan" in tTrigFunction > put round(the width of this card/2) into x0 > put round(the height of this card/2) into y0 > put 50 into Amp--Amplitude of the trig curve > set the points of grc "myCurve" to empty > wait 0 millisec -- Force a screen refresh on the Mac > repeat with i = 1 to 360--maybe with a step of 2 or 4 > put i*pi/180 into tAngle > get "put the " & tTrigFunction & " of " & tAngle & " into y " > do it > put round(Amp*y) into y > put i into x > put x+ x0, y+y0 into tPoint > put tPoint & cr after tPoints > --Uncomment the following to see the curve evolve > --set the points of grc "myCurve" to tPoints > --wait 0 millisec > end repeat > set the points of grc "myCurve" to tPoints > 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 andrew at ctech.me Mon Dec 10 12:51:48 2012 From: andrew at ctech.me (Andrew Kluthe) Date: Mon, 10 Dec 2012 11:51:48 -0600 Subject: Custom Controls - Show them off Message-ID: Hey there, I have used some of the droptools custom controls and found some on revOnline. Are there any other websites that you can find sets of custom controls built by livecode developers? I recall not long ago seeing an "on/off" toggle switch (similar to what you find in various mobile interfaces) but I can't for the life of me remember where I saw it. Who here has nifty custom controls that they have shared online? Is there any interest in centralizing them to a place where they can be found easily? -- Regards, Andrew Kluthe andrew at ctech.me From mwieder at ahsoftware.net Mon Dec 10 13:06:07 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 10 Dec 2012 18:06:07 +0000 (UTC) Subject: DB Lib References: <28206F62-A044-47FD-BEE6-A815FD2232CF@aol.com> Message-ID: Andre Garzia writes: > Thanks for the kind words. My English improved and my Portuguese is getting > worse everyday. No worries. Your English is getting better than mine and my Portuguese is already worse than yours. -- Mark Wieder mwieder at ahsoftware.net From cszasz at me.com Mon Dec 10 13:28:36 2012 From: cszasz at me.com (Charles Szasz) Date: Mon, 10 Dec 2012 13:28:36 -0500 Subject: Problem with setting Password with LC 5.5.3 Message-ID: <684FE03B-3AAC-46B2-B217-5FCAC9EBF17A@me.com> I have a project that has a launcher stack and an app stack. I use the following script in the message box to set the passKey as per documentation: set the passkey of this stack "abcd" This is followed by saving the stack and then closing the stack and removing it memory. I also tried quitting LC to make sure it was removed from memory. The password works for the appStack when I open the appStack and try to edit a script in the IDE. However, when I open the launcher stack, which then automatically launches the appStack, I can edit the appStack without entering the passkey. The launcher stack has the passKey so it can launched the appStack. But on Rev 4.0, I always had to enter the password before I was allowed to edit a script after the launcher stack launched the appStack to work on the appStack. What am I doing wrong? I have tried quitting LC after saving my appStack with a password to make sure the appStack was removed from memory after saving the passkey. I am using the Mountain Lion 10.8.2. Charles Szasz cszasz at mac.com From dick.kriesel at mail.com Mon Dec 10 13:31:39 2012 From: dick.kriesel at mail.com (Dick Kriesel) Date: Mon, 10 Dec 2012 10:31:39 -0800 Subject: Capture the Trig Function from an Option Menu Button In-Reply-To: <4544BC9C-D7C9-4A9D-ACA6-08CBF66AD58D@sbcglobal.net> References: <4544BC9C-D7C9-4A9D-ACA6-08CBF66AD58D@sbcglobal.net> Message-ID: <170540DD-1599-48AD-A9A4-304C9E9CD1ED@mail.com> On Dec 10, 2012, at 8:59 AM, Jim Hurley wrote: > get "put the " & tTrigFunction & " of " & tAngle & " into y " > do it > Hi, Jim and Roger. If you like more concise code, you can code the above like this: put value( tTrigFunction & "(" & tAngle & ")" ) into y -- Dick From irog at mac.com Mon Dec 10 13:36:11 2012 From: irog at mac.com (Roger Guay) Date: Mon, 10 Dec 2012 10:36:11 -0800 Subject: Capture the Trig Function from an Option Menu Button In-Reply-To: <170540DD-1599-48AD-A9A4-304C9E9CD1ED@mail.com> References: <4544BC9C-D7C9-4A9D-ACA6-08CBF66AD58D@sbcglobal.net> <170540DD-1599-48AD-A9A4-304C9E9CD1ED@mail.com> Message-ID: <85DFDCEF-C60D-4615-9846-2B11714CC58B@mac.com> Ah yes, I had a vague recollection of this but couldn't quite get it right. I love it! Thanks, Roger On Dec 10, 2012, at 10:31 AM, Dick Kriesel wrote: > > On Dec 10, 2012, at 8:59 AM, Jim Hurley wrote: > >> get "put the " & tTrigFunction & " of " & tAngle & " into y " >> do it >> > > Hi, Jim and Roger. > > If you like more concise code, you can code the above like this: > put value( tTrigFunction & "(" & tAngle & ")" ) into y > > -- Dick > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Mon Dec 10 13:40:46 2012 From: irog at mac.com (Roger Guay) Date: Mon, 10 Dec 2012 10:40:46 -0800 Subject: Capture the Trig Function from an Option Menu Button In-Reply-To: <170540DD-1599-48AD-A9A4-304C9E9CD1ED@mail.com> References: <4544BC9C-D7C9-4A9D-ACA6-08CBF66AD58D@sbcglobal.net> <170540DD-1599-48AD-A9A4-304C9E9CD1ED@mail.com> Message-ID: <6B0823AB-1A91-4D39-96F1-83DD07A8C412@mac.com> Question: Is this essentially a "Do" statement in a clever disguise? On Dec 10, 2012, at 10:31 AM, Dick Kriesel wrote: > > On Dec 10, 2012, at 8:59 AM, Jim Hurley wrote: > >> get "put the " & tTrigFunction & " of " & tAngle & " into y " >> do it >> > > Hi, Jim and Roger. > > If you like more concise code, you can code the above like this: > put value( tTrigFunction & "(" & tAngle & ")" ) into y > > -- Dick > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 10 13:44:57 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 10 Dec 2012 10:44:57 -0800 Subject: [ANN] lcSTackBrowser V 1.2.0 Released Message-ID: Version 1.1.3 of lcStackBrowser, a plugin replacement for the Livecode IDE Application Browser is now available here . This version includes several significant enhancements. *Live Find* A new "Live Find" field at the top of the lcStackBrowser stack window can be used to quickly locate an object by name. As you type into the field, the first object whose name matches the typed characters will be highlighted in the display. The search starts from the current highlighted line and collapsed objects will be expanded if necessary. After a line is highlighted, you can keep typing more characters or click the up and down arrows to the right of the Live Find field to go to the previous/next qualifying object. Using the dropdown menu to the left of the Live Find field, you can save your search strings, execute saved searches, and remove saved searches from the list *Integration with explicitProperties plugin* * * Alex Tweedly's explicitProperties is a great way to protect yourself from typos in custom property names which can cause difficult-to-debug problems. It finds custom property references in a stack and gives you the option of adding each one to a list of valid custom property names. explicitProperties is free and you can download a copy here. Note: You must have explicitProperties V1.1.1 for the integration to work. The explicitProperties valid custom property names will be displayed in the lcStackBrowser Script Assist palette. Double clicking on one will insert it into the current position in your script editor window in the form "the of ". *Auto commenting of end if, end repeat, and end switch statements* * * A new "Auto Comment" button is available on the Script Assist palette. Place the cursor anywhere in an end if, end repeat, or end switch statement, click the Auto Comment button and a comment will be appended to the end statement consisting of the contents of its corresponding if/repeat/switch statement. Pete lcSQL Software From dick.kriesel at mail.com Mon Dec 10 14:06:04 2012 From: dick.kriesel at mail.com (Dick Kriesel) Date: Mon, 10 Dec 2012 11:06:04 -0800 Subject: Capture the Trig Function from an Option Menu Button In-Reply-To: <6B0823AB-1A91-4D39-96F1-83DD07A8C412@mac.com> References: <4544BC9C-D7C9-4A9D-ACA6-08CBF66AD58D@sbcglobal.net> <170540DD-1599-48AD-A9A4-304C9E9CD1ED@mail.com> <6B0823AB-1A91-4D39-96F1-83DD07A8C412@mac.com> Message-ID: <2ECF3E50-7A2B-4C85-A8A7-DD750F92D4F1@mail.com> On Dec 10, 2012, at 10:40 AM, Roger Guay wrote: > Question: Is this essentially a "Do" statement in a clever disguise? Yes, although the "value" function can do more than it does in this example (see the dictionary for details). -- Dick From monte at sweattechnologies.com Mon Dec 10 14:32:29 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 11 Dec 2012 06:32:29 +1100 Subject: Mobile sockets crowd funding opportunity In-Reply-To: <870289D2-1BD2-4118-B7FC-DFC7CDE25701@m-r-d.de> References: <9BACD0F4-2F6A-479C-8D69-8B2B7BF5284E@sweattechnologies.com> <870289D2-1BD2-4118-B7FC-DFC7CDE25701@m-r-d.de> Message-ID: <3BF4FC41-2CBF-4C61-B0C4-0978393D1010@sweattechnologies.com> Thanks for jumping in! -- M E R Goulding Software development services mergExt - There's an external for that! On 11/12/2012, at 2:59 AM, Matthias Rebbe wrote: > Me too. Joined already on Saturday. ;) > > -- > Matthias Rebbe > matthias (at) rebbe.tk > Tel +49.5741.310000 > Tel +49.160.5504462 > -- > SkypeName:matthiasrebbe > > > > > Am 10.12.2012 um 16:50 schrieb Mike Kerner : > >> Just in case anybody over here was leery of being an early in, we're in. >> >> >> On Sat, Dec 8, 2012 at 5:09 AM, Monte Goulding >> wrote: >> >>> Hi LiveCoders >>> >>> A number of LiveCode developers need sockets on iOS and android. The >>> subject of developing an external for this feature came up recently on the >>> LiveCode Developer Program list. It was proposed by a number of developers >>> that the external would be a good candidate for crowd funding. As part of >>> the discussions RunRev was asked for comment and we were given permission >>> to publish the reply: >>> >>> "I would go ahead and develop this if you receive the funding. We are not >>> working on mobile sockets as a feature at the moment and it may be some >>> time before we can commit resources to it." Ben Beaumont (LiveCode Product >>> Manager) >>> >>> The current situation for sockets is a TCP client is able to be >>> implemented on iOS using the rresocket external that is available in the >>> iOS Externals SDK. This external is implemented using NSStream and won't >>> port to android when the android external sdk is published. >>> >>> The proposal is to implement a sockets external in portable C++ code based >>> on the boost.asio library in the hope that once the android external sdk is >>> released it would port with minimal changes. The expectation is that $1000 >>> to $1500 of funding will be sufficient to implement the bulk of the >>> external, however, to ensure we are implementing the highest priority >>> features first the external would be implemented in the following order: >>> - UDP client >>> - TCP server >>> - UDP server >>> - TCP client (last because of the availability of rresocket) >>> >>> mergExt is about implementing features the LiveCode community needs when >>> you need them. Some comments from members of the LiveCode Developer Program >>> about why this external is worthwhile finding: >>> >>> "Currently, mobile network actions are severely limited by the lack of a >>> socket library. There is no way, for instance, to send mail without using >>> the built-in mail app, even though having the user have a chance to read a >>> system message and mess it up is not desirable. >>> >>> We have an application where we would like to be able to communicate with >>> a network-enabled appliance. it does not have bluetooth, and it does not >>> use a standard http protocol, so without a network stack/sockets, I am >>> dead-in-the-water." Mike Kerner (R. M. Kerner Co.) >>> >>> "I will definitely take part on the funding. I think socket support is an >>> essential feature for LiveCode Mobile." Matthias Rebbe >>> >>> "I'm In." Ralph DiMola (Evergreen Information Services) >>> >>> "Mine included there are at least three votes. Anyone else?" Ralf Bitter >>> (author of revIgniter) >>> >>> "Please add my vote to this." Pierre Sahores >>> >>> "I am sure there are a number of people that would like to help fund a >>> sockets external. I for one would be more than happy to dive in should you >>> decide to look for funders for this external. I have a feeling this >>> external will reach the funding value very quickly." Mark Talluto (Canela >>> Software) >>> >>> There are 3 choices for funding. All options come with the access to the >>> pre-release versions and the final version for iOS. Each level of funding >>> gives you access to special discount rates on the mergExt store for the >>> next 3 months. All funders (unless they don't want to) will be thanked for >>> their generous contribution in the documentation under their funding level. >>> >>> - Bronze: $80 funding and 10% off >>> - Silver: $160 funding and 20% off >>> - Gold: $240 funding and 30% off >>> >>> Please note that as the android externals sdk is currently an unknown >>> variable there can be no guarantee that more funding will not be required >>> when it's released. It is, however, the intention that the external be >>> implemented so that it should cross compile for android. It is also not >>> possible at this stage to estimate a date for an android version to be >>> provided. >>> >>> After 90 days if the project has not met it's target the funders will be >>> offered credit at the mergExt store to the value of their funding. >>> >>> To get involved go to http://mergext.com/fund/sockets >>> >>> For anyone interested in the progress of the Game Center crowd funding >>> effort the external will be be released shortly and funders are currently >>> making use of it to implement a number of games. The external is still open >>> to funding to cover turn based matches and matchmaking. >>> >>> Cheers >>> >>> -- >>> 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 From jhurley0305 at sbcglobal.net Mon Dec 10 14:37:35 2012 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Mon, 10 Dec 2012 11:37:35 -0800 Subject: Capture the Trig Function from an Option Menu Button In-Reply-To: References: Message-ID: Roger, One caveat. This is a good exampe the caution one must exercise in using the Do. Instead of: >> replace "sine" with "sin" in tTrigFunction >> replace "cosine" with "cos" in tTrigFunction >> replace "tangent" with "tan" in tTrigFunction Use: >> replace "cosine" with "cos" in tTrigFunction >> replace "sine" with "sin" in tTrigFunction >> replace "tangent" with "tan" in tTrigFunction If you replace "sine" with "sin" you also change "cosine" to "cosin" (There is a "sine" in "cosine") So reverse the order of these first two. Jim > ------------------------------ > > Message: 3 > Date: Mon, 10 Dec 2012 09:42:55 -0800 > From: Roger Guay > To: How to use LiveCode > Subject: Re: Capture the Trig Function from an Option Menu Button > Message-ID: <2F8EAA01-F970-48E0-AF7A-7733AF7E4FB3 at mac.com> > Content-Type: text/plain; CHARSET=US-ASCII > > This script is amazingly fast! And so are you, having apparently produced it in less than an hour!! My script appears to be slightly slower using a switch/case structure. I'll test it out when I get a moment. > > Thanks very much, > Roger > > > On Dec 10, 2012, at 8:59 AM, Jim Hurley wrote: > >> It turns out that Do is fast enough. Here is the Do script: >> (The script might read a litle better by using "x" in the repeat loop instead of "i".) >> >> on mouseUp >> put the label of btn "myOptionMenu" into tTrigFunction >> --It might be necessary to take care in using the following replacements >> replace "sine" with "sin" in tTrigFunction >> replace "cosine" with "cos" in tTrigFunction >> replace "tangent" with "tan" in tTrigFunction >> put round(the width of this card/2) into x0 >> put round(the height of this card/2) into y0 >> put 50 into Amp--Amplitude of the trig curve >> set the points of grc "myCurve" to empty >> wait 0 millisec -- Force a screen refresh on the Mac >> repeat with i = 1 to 360--maybe with a step of 2 or 4 >> put i*pi/180 into tAngle >> get "put the " & tTrigFunction & " of " & tAngle & " into y " >> do it >> put round(Amp*y) into y >> put i into x >> put x+ x0, y+y0 into tPoint >> put tPoint & cr after tPoints >> --Uncomment the following to see the curve evolve >> --set the points of grc "myCurve" to tPoints >> --wait 0 millisec >> end repeat >> set the points of grc "myCurve" to tPoints >> 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 irog at mac.com Mon Dec 10 15:10:54 2012 From: irog at mac.com (Roger Guay) Date: Mon, 10 Dec 2012 12:10:54 -0800 Subject: Capture the Trig Function from an Option Menu Button In-Reply-To: References: Message-ID: <88A0B5E5-23CB-41E5-A9AD-102F3A3A6DAC@mac.com> Thanks, Jim. I would never have caught that! On Dec 10, 2012, at 11:37 AM, Jim Hurley wrote: > Roger, > > One caveat. This is a good exampe the caution one must exercise in using the Do. > > Instead of: > >>> replace "sine" with "sin" in tTrigFunction >>> replace "cosine" with "cos" in tTrigFunction >>> replace "tangent" with "tan" in tTrigFunction > > Use: > >>> replace "cosine" with "cos" in tTrigFunction > >>> replace "sine" with "sin" in tTrigFunction >>> replace "tangent" with "tan" in tTrigFunction > > If you replace "sine" with "sin" you also change "cosine" to "cosin" (There is a "sine" in "cosine") > So reverse the order of these first two. > > Jim > > > >> ------------------------------ >> >> Message: 3 >> Date: Mon, 10 Dec 2012 09:42:55 -0800 >> From: Roger Guay >> To: How to use LiveCode >> Subject: Re: Capture the Trig Function from an Option Menu Button >> Message-ID: <2F8EAA01-F970-48E0-AF7A-7733AF7E4FB3 at mac.com> >> Content-Type: text/plain; CHARSET=US-ASCII >> >> This script is amazingly fast! And so are you, having apparently produced it in less than an hour!! My script appears to be slightly slower using a switch/case structure. I'll test it out when I get a moment. >> >> Thanks very much, >> Roger >> >> >> On Dec 10, 2012, at 8:59 AM, Jim Hurley wrote: >> >>> It turns out that Do is fast enough. Here is the Do script: >>> (The script might read a litle better by using "x" in the repeat loop instead of "i".) >>> >>> on mouseUp >>> put the label of btn "myOptionMenu" into tTrigFunction >>> --It might be necessary to take care in using the following replacements >>> replace "sine" with "sin" in tTrigFunction >>> replace "cosine" with "cos" in tTrigFunction >>> replace "tangent" with "tan" in tTrigFunction >>> put round(the width of this card/2) into x0 >>> put round(the height of this card/2) into y0 >>> put 50 into Amp--Amplitude of the trig curve >>> set the points of grc "myCurve" to empty >>> wait 0 millisec -- Force a screen refresh on the Mac >>> repeat with i = 1 to 360--maybe with a step of 2 or 4 >>> put i*pi/180 into tAngle >>> get "put the " & tTrigFunction & " of " & tAngle & " into y " >>> do it >>> put round(Amp*y) into y >>> put i into x >>> put x+ x0, y+y0 into tPoint >>> put tPoint & cr after tPoints >>> --Uncomment the following to see the curve evolve >>> --set the points of grc "myCurve" to tPoints >>> --wait 0 millisec >>> end repeat >>> set the points of grc "myCurve" to tPoints >>> 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 >> >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Dec 10 15:46:03 2012 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 10 Dec 2012 12:46:03 -0800 Subject: Why Does "remove" Actually "delete"? Message-ID: I've been trying to figure out how to "place" a group by script. It took me a while to figure out that "place group?" doesn't work, but instead "place background?". Now when I execute "remove bkgnd xyz from this cd" the group ends up getting deleted from the stack, even though the group resides on a completely different card. What am I missing here? Thanks for any clarification. Regards, Scott Rossi Creative Director Tactile Media, UX Design From richmondmathewson at gmail.com Mon Dec 10 16:16:51 2012 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 10 Dec 2012 23:16:51 +0200 Subject: [OT] Darling Message-ID: <50C65143.8010200@gmail.com> Oooooh! the equivalent of WINE for Mac OS programs on Linux. http://darling.dolezel.info/en/Darling From slylabs13 at me.com Mon Dec 10 16:25:22 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Mon, 10 Dec 2012 13:25:22 -0800 Subject: [OT] Darling In-Reply-To: <50C65143.8010200@gmail.com> References: <50C65143.8010200@gmail.com> Message-ID: <18EAB87F-0267-455E-95E2-4C450AFE63C9@me.com> If it is vey equal, it won't amount to much. After seeing all the limitations of Wine, I decided it wouldn't me of much use to me on OS X. There is a lot going on behind the scenes when an app launches in Mac OS X, especially if you need access to things like audio codecs, graphics, secured locations in the file system, etc. When evaluating emulation software, perhaps it's better to quantify what it cannot do, rather than what it can. Or am I just an old fuddy duddy now? Bob On Dec 10, 2012, at 1:16 PM, Richmond wrote: > Oooooh! > > the equivalent of WINE for Mac OS programs on Linux. > > http://darling.dolezel.info/en/Darling > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From slylabs13 at me.com Mon Dec 10 16:34:43 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Mon, 10 Dec 2012 13:34:43 -0800 Subject: Why Does "remove" Actually "delete"? In-Reply-To: References: Message-ID: <00B650DD-822E-433C-84F9-85ED3A3110E6@me.com> The dictionary shows remove group as the correct syntax. Background may be a synonym for group, I don't know. What I do know however, is that creating a group, naming it "bobtest", checking "behave like a background" and "shared group", placing the group on a second card, going to the first card, then using the syntax, 'remove group "bobtest" from this card' removes the group from the card, but leaves the group on the second card. The same results occur when I use "remove background". Go figure. Bob On Dec 10, 2012, at 12:46 PM, Scott Rossi wrote: > I've been trying to figure out how to "place" a group by script. It took me > a while to figure out that "place group?" doesn't work, but instead "place > background?". > > Now when I execute "remove bkgnd xyz from this cd" the group ends up getting > deleted from the stack, even though the group resides on a completely > different card. > > What am I missing here? Thanks for any clarification. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX 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 janschenkel at yahoo.com Mon Dec 10 17:04:02 2012 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 10 Dec 2012 14:04:02 -0800 (PST) Subject: ZLib DEFLATE Message-ID: <1355177042.81726.YahooMailNeo@web141102.mail.bf1.yahoo.com> Hi all, I'm working on support in Quartam PDF Library for alpha-channels in PNG images. Has anyone figured out a pure-LiveCode implementation of the ZLib Deflate/Inflate algorithm? John Craig kindly offered a way to tweak the output of the compress function to match the ZLib deflate format. And that works a treat; unfortunately, I now need the other way around: a way to inflate data that was deflated. Thanks in advance, 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 jhurley0305 at sbcglobal.net Mon Dec 10 17:11:47 2012 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Mon, 10 Dec 2012 14:11:47 -0800 Subject: Capture the Trig Function from an Option Menu Button In-Reply-To: References: Message-ID: Thanks Dick. I hadn't thought about using the Value function. Interesting. Do you have any thoughts on the relative merits of Do vs. Value? I could also have used do "put " & tTrigFunction & "(" & tAngle & ") into y" And Roger, in my code the positive y axis is the usual screen y axis--positive down. If you want to use the traditional cartesian y-axis--positive up-- change y0 + y to y0 - y Otherwise you trig curves will all look upside down. Jim >> On Dec 10, 2012, at 8:59 AM, Jim Hurley wrote: >> get "put the " & tTrigFunction & " of " & tAngle & " into y " >> do it >> >> > > Hi, Jim and Roger. > > If you like more concise code, you can code the above like this: > put value( tTrigFunction & "(" & tAngle & ")" ) into y > > -- Dick > > > Roger, > > One caveat. This is a good exampe the caution one must exercise in using the Do. > > Instead of: > >>> replace "sine" with "sin" in tTrigFunction >>> replace "cosine" with "cos" in tTrigFunction >>> replace "tangent" with "tan" in tTrigFunction > > Use: > >>> replace "cosine" with "cos" in tTrigFunction > >>> replace "sine" with "sin" in tTrigFunction >>> replace "tangent" with "tan" in tTrigFunction > > If you replace "sine" with "sin" you also change "cosine" to "cosin" (There is a "sine" in "cosine") > So reverse the order of these first two. > > Jim > > > >> ------------------------------ >> >> Message: 3 >> Date: Mon, 10 Dec 2012 09:42:55 -0800 >> From: Roger Guay >> To: How to use LiveCode >> Subject: Re: Capture the Trig Function from an Option Menu Button >> Message-ID: <2F8EAA01-F970-48E0-AF7A-7733AF7E4FB3 at mac.com> >> Content-Type: text/plain; CHARSET=US-ASCII >> >> This script is amazingly fast! And so are you, having apparently produced it in less than an hour!! My script appears to be slightly slower using a switch/case structure. I'll test it out when I get a moment. >> >> Thanks very much, >> Roger >> >> >> On Dec 10, 2012, at 8:59 AM, Jim Hurley wrote: >> >>> It turns out that Do is fast enough. Here is the Do script: >>> (The script might read a litle better by using "x" in the repeat loop instead of "i".) >>> >>> on mouseUp >>> put the label of btn "myOptionMenu" into tTrigFunction >>> --It might be necessary to take care in using the following replacements >>> replace "sine" with "sin" in tTrigFunction >>> replace "cosine" with "cos" in tTrigFunction >>> replace "tangent" with "tan" in tTrigFunction >>> put round(the width of this card/2) into x0 >>> put round(the height of this card/2) into y0 >>> put 50 into Amp--Amplitude of the trig curve >>> set the points of grc "myCurve" to empty >>> wait 0 millisec -- Force a screen refresh on the Mac >>> repeat with i = 1 to 360--maybe with a step of 2 or 4 >>> put i*pi/180 into tAngle >>> get "put the " & tTrigFunction & " of " & tAngle & " into y " >>> do it >>> put round(Amp*y) into y >>> put i into x >>> put x+ x0, y+y0 into tPoint >>> put tPoint & cr after tPoints >>> --Uncomment the following to see the curve evolve >>> --set the points of grc "myCurve" to tPoints >>> --wait 0 millisec >>> end repeat >>> set the points of grc "myCurve" to tPoints >>> 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 slylabs13 at me.com Mon Dec 10 17:38:28 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Mon, 10 Dec 2012 14:38:28 -0800 Subject: Capture the Trig Function from an Option Menu Button In-Reply-To: References: Message-ID: <22E806D9-BCB2-43E6-BFA2-AE1D9223A38D@me.com> Value forces LC to evaluate the expression. Also, you can do something like, "value("the name of me", card 1)". Only other thing I can think of is that "do" compiles a statement at runtime. That means if you have a LOT of do statements running in a loop, there may be a performance hit. Not sure about value though, it might be the same situation. Bob On Dec 10, 2012, at 2:11 PM, Jim Hurley wrote: > > Thanks Dick. I hadn't thought about using the Value function. Interesting. > Do you have any thoughts on the relative merits of Do vs. Value? > > I could also have used > > do "put " & tTrigFunction & "(" & tAngle & ") into y" > > And Roger, in my code the positive y axis is the usual screen y axis--positive down. > > If you want to use the traditional cartesian y-axis--positive up-- change y0 + y to y0 - y > > Otherwise you trig curves will all look upside down. > > Jim > > > >>> On Dec 10, 2012, at 8:59 AM, Jim Hurley wrote: >>> get "put the " & tTrigFunction & " of " & tAngle & " into y " >>> do it >>> >>> >> >> Hi, Jim and Roger. >> >> If you like more concise code, you can code the above like this: >> put value( tTrigFunction & "(" & tAngle & ")" ) into y >> >> -- Dick >> >> >> Roger, >> >> One caveat. This is a good exampe the caution one must exercise in using the Do. >> >> Instead of: >> >>>> replace "sine" with "sin" in tTrigFunction >>>> replace "cosine" with "cos" in tTrigFunction >>>> replace "tangent" with "tan" in tTrigFunction >> >> Use: >> >>>> replace "cosine" with "cos" in tTrigFunction >> >>>> replace "sine" with "sin" in tTrigFunction >>>> replace "tangent" with "tan" in tTrigFunction >> >> If you replace "sine" with "sin" you also change "cosine" to "cosin" (There is a "sine" in "cosine") >> So reverse the order of these first two. >> >> Jim >> >> >> >>> ------------------------------ >>> >>> Message: 3 >>> Date: Mon, 10 Dec 2012 09:42:55 -0800 >>> From: Roger Guay >>> To: How to use LiveCode >>> Subject: Re: Capture the Trig Function from an Option Menu Button >>> Message-ID: <2F8EAA01-F970-48E0-AF7A-7733AF7E4FB3 at mac.com> >>> Content-Type: text/plain; CHARSET=US-ASCII >>> >>> This script is amazingly fast! And so are you, having apparently produced it in less than an hour!! My script appears to be slightly slower using a switch/case structure. I'll test it out when I get a moment. >>> >>> Thanks very much, >>> Roger >>> >>> >>> On Dec 10, 2012, at 8:59 AM, Jim Hurley wrote: >>> >>>> It turns out that Do is fast enough. Here is the Do script: >>>> (The script might read a litle better by using "x" in the repeat loop instead of "i".) >>>> >>>> on mouseUp >>>> put the label of btn "myOptionMenu" into tTrigFunction >>>> --It might be necessary to take care in using the following replacements >>>> replace "sine" with "sin" in tTrigFunction >>>> replace "cosine" with "cos" in tTrigFunction >>>> replace "tangent" with "tan" in tTrigFunction >>>> put round(the width of this card/2) into x0 >>>> put round(the height of this card/2) into y0 >>>> put 50 into Amp--Amplitude of the trig curve >>>> set the points of grc "myCurve" to empty >>>> wait 0 millisec -- Force a screen refresh on the Mac >>>> repeat with i = 1 to 360--maybe with a step of 2 or 4 >>>> put i*pi/180 into tAngle >>>> get "put the " & tTrigFunction & " of " & tAngle & " into y " >>>> do it >>>> put round(Amp*y) into y >>>> put i into x >>>> put x+ x0, y+y0 into tPoint >>>> put tPoint & cr after tPoints >>>> --Uncomment the following to see the curve evolve >>>> --set the points of grc "myCurve" to tPoints >>>> --wait 0 millisec >>>> end repeat >>>> set the points of grc "myCurve" to tPoints >>>> 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 >>> >>> >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Mon Dec 10 19:25:20 2012 From: irog at mac.com (Roger Guay) Date: Mon, 10 Dec 2012 16:25:20 -0800 Subject: Capture the Trig Function from an Option Menu Button In-Reply-To: References: Message-ID: Oh yes, I know. Thanks very much! On Dec 10, 2012, at 2:11 PM, Jim Hurley wrote: > And Roger, in my code the positive y axis is the usual screen y axis--positive down. > > If you want to use the traditional cartesian y-axis--positive up-- change y0 + y to y0 - y > > Otherwise you trig curves will all look upside down. From lc at pbh.on-rev.com Mon Dec 10 19:38:40 2012 From: lc at pbh.on-rev.com (Paul Hibbert) Date: Mon, 10 Dec 2012 16:38:40 -0800 Subject: Why Does "remove" Actually "delete"? In-Reply-To: References: Message-ID: <2F9251B7-2A95-43BA-9784-08FDEBCA23D4@pbh.on-rev.com> On 2012-12-10, at 12:46 PM, Scott Rossi wrote: > I've been trying to figure out how to "place" a group by script. It took me > a while to figure out that "place group?" doesn't work, but instead "place > background?". > > Now when I execute "remove bkgnd xyz from this cd" the group ends up getting > deleted from the stack, even though the group resides on a completely > different card. > > What am I missing here? Thanks for any clarification. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX 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 Scott, Just tried this with 1 stack? on Card 1 group id 1009 (Group name = GrpTest2 ) <= 2 fields on Card 2 place button on mouseUp place group id 1009 of cd 1 onto this card -- place group "GrpTest2" of cd 1 onto this card ## Also woks OK -- place background "GrpTest2" onto this card ## Also woks OK end mouseUp remove button on mouseUp remove group id 1009 from this card ## Works OK - removes from the card, doesn't delete from stack -- remove group "GrpTest2" from this card ## Also works OK -- remove background "GrpTest2" from this card ## Also works OK end mouseUp I can place and remove the group with no problem, tried with the backgroundBehavior property set to true and false with no difference. This all fails if the target group is nested within another group. LiveCode 5.5.3 Mac OS X 10.7.5 Paul From jacque at hyperactivesw.com Mon Dec 10 22:23:11 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 10 Dec 2012 21:23:11 -0600 Subject: Capture the Trig Function from an Option Menu Button In-Reply-To: <22E806D9-BCB2-43E6-BFA2-AE1D9223A38D@me.com> References: <22E806D9-BCB2-43E6-BFA2-AE1D9223A38D@me.com> Message-ID: <50C6A71F.40305@hyperactivesw.com> On 12/10/12 4:38 PM, Robert Sneidar wrote: > Value forces LC to evaluate the expression. Also, you can do > something like, "value("the name of me", card 1)". Only other thing I > can think of is that "do" compiles a statement at runtime. That means > if you have a LOT of do statements running in a loop, there may be a > performance hit. Not sure about value though, it might be the same > situation. Yeah, it is. Both "do" and "value" have to load the compiler, which is why they both take a little longer to execute. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Dec 10 22:29:06 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 10 Dec 2012 21:29:06 -0600 Subject: Problem with setting Password with LC 5.5.3 In-Reply-To: <684FE03B-3AAC-46B2-B217-5FCAC9EBF17A@me.com> References: <684FE03B-3AAC-46B2-B217-5FCAC9EBF17A@me.com> Message-ID: <50C6A882.3030302@hyperactivesw.com> On 12/10/12 12:28 PM, Charles Szasz wrote: > I have a project that has a launcher stack and an app stack. I use > the following script in the message box to set the passKey as per > documentation: > > set the passkey of this stack "abcd" This is probably a typo, but it's missing the "to". > > This is followed by saving the stack and then closing the stack and > removing it memory. I also tried quitting LC to make sure it was > removed from memory. > > The password works for the appStack when I open the appStack and try > to edit a script in the IDE. However, when I open the launcher stack, > which then automatically launches the appStack, I can edit the > appStack without entering the passkey. The launcher stack has the > passKey so it can launched the appStack. But on Rev 4.0, I always had > to enter the password before I was allowed to edit a script after the > launcher stack launched the appStack to work on the appStack. > > What am I doing wrong? I have tried quitting LC after saving my > appStack with a password to make sure the appStack was removed from > memory after saving the passkey. I am using the Mountain Lion > 10.8.2. I'm not sure I followed all that, but the rules are: a password applies only to the stack it has been assigned to. If one stack disallows editing and another doesn't, then a password has not been assigned to the second one. Even substacks can have different passwords than their mainstacks, or no password at all. You don't need to set the passkey to have the launcher open another stack. Passwords prevent script editing and the ability to view the stack in a text editor, but they don't affect any other functionality. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Tue Dec 11 03:19:55 2012 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 11 Dec 2012 00:19:55 -0800 Subject: Why Does "remove" Actually "delete"? In-Reply-To: <2F9251B7-2A95-43BA-9784-08FDEBCA23D4@pbh.on-rev.com> Message-ID: Thanks for the responses on this. Apparently when using the term "group", the source card of the group is required (placing fails if you don't reference the source card). If you use the term "background" you (apparently) don't need to specify the source card. And removing works fine in a simple test stack, so I'm at loss why the group is being deleted in my production stack. But I used a workaround of copying a group from one card to another so things are OK. Regards, Scott Rossi Creative Director Tactile Media, UX Design On 12/10/12 4:38 PM, "Paul Hibbert" wrote: > >On 2012-12-10, at 12:46 PM, Scott Rossi wrote: > >> I've been trying to figure out how to "place" a group by script. It >>took me >> a while to figure out that "place group?" doesn't work, but instead >>"place >> background?". >> >> Now when I execute "remove bkgnd xyz from this cd" the group ends up >>getting >> deleted from the stack, even though the group resides on a completely >> different card. >> >> What am I missing here? Thanks for any clarification. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX 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 > >Scott, > >Just tried this with 1 stack... > >on Card 1 >group id 1009 (Group name = GrpTest2 ) <= 2 fields > >on Card 2 >place button >on mouseUp > place group id 1009 of cd 1 onto this card > -- place group "GrpTest2" of cd 1 onto this card ## Also woks OK > -- place background "GrpTest2" onto this card ## Also woks OK >end mouseUp > >remove button >on mouseUp > remove group id 1009 from this card ## Works OK - removes from the >card, doesn't delete from stack > -- remove group "GrpTest2" from this card ## Also works OK > -- remove background "GrpTest2" from this card ## Also works OK >end mouseUp > >I can place and remove the group with no problem, tried with the >backgroundBehavior property set to true and false with no difference. > >This all fails if the target group is nested within another group. > >LiveCode 5.5.3 Mac OS X 10.7.5 > >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 ueliweb at gmx.ch Tue Dec 11 08:30:06 2012 From: ueliweb at gmx.ch (Ueliweb) Date: Tue, 11 Dec 2012 15:30:06 +0200 Subject: All DataGrid's updates the hilited index together Message-ID: Hei I have 3 DataGrid on one card (all with another name). If I click/ double-click to one DG (doesen't matter witch one) to a Row -> the other both DG's update the hilited the Row with the same index too. I put away all "me" in all scripts of this card and the stack and replaced them with the real name like: ... of group "dataGrid name" of this card of this stack But the behavior is still the same. Functionally there looks to be everything OK just this wrong changes of the hilited Row of the other 2 DG's some Idea? ueliweb From klaus at major.on-rev.com Tue Dec 11 08:55:45 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 11 Dec 2012 14:55:45 +0100 Subject: Why Does "remove" Actually "delete"? In-Reply-To: References: Message-ID: <0C24F4F7-5645-4A6C-BFFA-D449ADCD3857@major.on-rev.com> Hi Scott, Am 11.12.2012 um 09:19 schrieb Scott Rossi : > Thanks for the responses on this. Apparently when using the term "group", > the source card of the group is required (placing fails if you don't > reference the source card). If you use the term "background" you > (apparently) don't need to specify the source card. the difference between "goup" and "background" is the way Livecode sees them! Groups are counted relative to the current card, backgrounds to the stack! ... put the num of groups ## will give the number of groups of the current card! ... put the num of backgrounds ## will give the num of ALL groups in the current stack! ... That's why you need to add the card descriptor when using "place GROUP xyz..." > And removing works fine in a simple test stack, so I'm at loss why the > group is being deleted in my production stack. This is very strange and should not happen, keep an eye on it :-) > But I used a workaround of > copying a group from one card to another so things are OK. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From roger.e.eller at sealedair.com Tue Dec 11 11:23:12 2012 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 11 Dec 2012 11:23:12 -0500 Subject: pFirstLineContainsHeaders is being ignored in DataGrid Message-ID: According to this datagrid lesson, this should work but it does not. Could someone please confirm? http://lessons.runrev.com/s/lessons/m/datagrid/l/7309-how-do-i-populate-a-data-grid-with-data on mouseUp answer file "Select a Tab Delimited text file:" set the pFirstLineContainsHeaders of grp "DataGrid" to true set the dgText [ pFirstLineContainsHeaders ] of grp "DataGrid" to URL ("file:" & it) end mouseUp The headers remain as "Col 1" "Col 2", etc. ~Roger From klaus at major.on-rev.com Tue Dec 11 11:27:33 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 11 Dec 2012 17:27:33 +0100 Subject: pFirstLineContainsHeaders is being ignored in DataGrid In-Reply-To: References: Message-ID: Hi Roger, Am 11.12.2012 um 17:23 schrieb Roger Eller : > According to this datagrid lesson, this should work but it does not. Could > someone please confirm? > > http://lessons.runrev.com/s/lessons/m/datagrid/l/7309-how-do-i-populate-a-data-grid-with-data > > on mouseUp > answer file "Select a Tab Delimited text file:" > set the pFirstLineContainsHeaders of grp "DataGrid" to true > set the dgText [ pFirstLineContainsHeaders ] of grp "DataGrid" to URL > ("file:" & it) > end mouseUp > > The headers remain as "Col 1" "Col 2", etc. "pFirstLineContainsHeaders" is not a property of the datagrid, but a parameter for dgtext! So this will work: ... set the dgText [TRUE] of grp "DataGrid" to URL ("file:" & it) ... > ~Roger Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From rdimola at evergreeninfo.net Tue Dec 11 11:47:44 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 11 Dec 2012 11:47:44 -0500 Subject: [ANN] lcSTackBrowser V 1.2.0 Released In-Reply-To: References: Message-ID: <02a501cdd7bf$3e76c970$bb645c50$@net> Peter, Nice!! A must have of any LC developer. 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 Peter Haworth Sent: Monday, December 10, 2012 1:45 PM To: How to use LiveCode Subject: [ANN] lcSTackBrowser V 1.2.0 Released Version 1.1.3 of lcStackBrowser, a plugin replacement for the Livecode IDE Application Browser is now available here . This version includes several significant enhancements. *Live Find* A new "Live Find" field at the top of the lcStackBrowser stack window can be used to quickly locate an object by name. As you type into the field, the first object whose name matches the typed characters will be highlighted in the display. The search starts from the current highlighted line and collapsed objects will be expanded if necessary. After a line is highlighted, you can keep typing more characters or click the up and down arrows to the right of the Live Find field to go to the previous/next qualifying object. Using the dropdown menu to the left of the Live Find field, you can save your search strings, execute saved searches, and remove saved searches from the list *Integration with explicitProperties plugin* * * Alex Tweedly's explicitProperties is a great way to protect yourself from typos in custom property names which can cause difficult-to-debug problems. It finds custom property references in a stack and gives you the option of adding each one to a list of valid custom property names. explicitProperties is free and you can download a copy here. Note: You must have explicitProperties V1.1.1 for the integration to work. The explicitProperties valid custom property names will be displayed in the lcStackBrowser Script Assist palette. Double clicking on one will insert it into the current position in your script editor window in the form "the of ". *Auto commenting of end if, end repeat, and end switch statements* * * A new "Auto Comment" button is available on the Script Assist palette. Place the cursor anywhere in an end if, end repeat, or end switch statement, click the Auto Comment button and a comment will be appended to the end statement consisting of the contents of its corresponding if/repeat/switch statement. 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 klaus at major.on-rev.com Tue Dec 11 12:08:16 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 11 Dec 2012 18:08:16 +0100 Subject: pFirstLineContainsHeaders is being ignored in DataGrid In-Reply-To: References: Message-ID: <1A3C0D02-2323-41E4-BEF0-EF9589E670CA@major.on-rev.com> Addition; Am 11.12.2012 um 17:27 schrieb Klaus on-rev : > Hi Roger, > > Am 11.12.2012 um 17:23 schrieb Roger Eller : >> ... >> on mouseUp >> answer file "Select a Tab Delimited text file:" >> set the pFirstLineContainsHeaders of grp "DataGrid" to true >> set the dgText [ pFirstLineContainsHeaders ] of grp "DataGrid" to URL >> ("file:" & it) >> end mouseUp >> The headers remain as "Col 1" "Col 2", etc. > "pFirstLineContainsHeaders" is not a property of the datagrid, but a parameter for dgtext! this parameter can be TRUE or FALSE or just empty (= false) > So this will work: > ... > set the dgText [TRUE] of grp "DataGrid" to URL ("file:" & it) > ... Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From jacque at hyperactivesw.com Tue Dec 11 12:14:02 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 11 Dec 2012 11:14:02 -0600 Subject: Why Does "remove" Actually "delete"? In-Reply-To: References: Message-ID: <50C769DA.3070402@hyperactivesw.com> On 12/11/12 2:19 AM, Scott Rossi wrote: > Thanks for the responses on this. Apparently when using the term "group", > the source card of the group is required (placing fails if you don't > reference the source card). If you use the term "background" you > (apparently) don't need to specify the source card. > > And removing works fine in a simple test stack, so I'm at loss why the > group is being deleted in my production stack. But I used a workaround of > copying a group from one card to another so things are OK. I'm sure you've checked, but is the "removed" group also missing from the backgroundnames? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dfepstein at comcast.net Tue Dec 11 12:15:15 2012 From: dfepstein at comcast.net (dfepstein at comcast.net) Date: Tue, 11 Dec 2012 17:15:15 +0000 (UTC) Subject: Opening a stack crashes RevMedia, and message box won't work In-Reply-To: <292100217.1216960.1355246084738.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> Message-ID: <803876705.1216984.1355246115730.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> I have encountered two strange new symptoms using RevMedia 2.9 on a Windows 7 machine.? I do not know if they are related. 1.? I often write stacks on my Macintosh with Metacard 2.0, then run them successfully in Windows with RevMedia 2.9.? But for a new stack that works fine on my Mac, opening it in RevMedia causes Rev to quit, with no warning or advice.? I tried opening the same stack with a script "lock messages; go card 1 of stack x", but the result was the same.? To try to troubleshoot, in a separate stack, I put the script of stack x into a field; edited the script to comment out the "openStack" and "resumeStack" handlers (the only ones that I see that would execute when the stack is opened); set the script of stack x to the revised version; and saved stack x.? (Somewhat to my surprise, this all seemed to work, since I thought that such commands mean that Rev loads the stack into memory; so why no crash in this case?).? (Card 1 of stack x has no script). How can I diagnose the problem? 2.? When I try to execute any command in the Message box, I get an error message, indicating that Rev has been tripped up on this line: ? do "global" && the globalNames of the "revExecuteMessage" handler in the script of field "Message Field" of stack "Message Box." Any suggestions? Many thanks. David Epstein From roger.e.eller at sealedair.com Tue Dec 11 12:50:31 2012 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 11 Dec 2012 12:50:31 -0500 Subject: pFirstLineContainsHeaders is being ignored in DataGrid In-Reply-To: References: Message-ID: Hi Klaus, Thanks for the quick reply, but I still can not get it to work as you describe. I have tried in Revolution 4.0.0, LiveCode 5.5.1, and LiveCode 5.5.2. Without any parameter, the grid is populated without the headers changing. With the parameter [TRUE], the grid is not populated at all. ~Roger On Tue, Dec 11, 2012 at 11:27 AM, Klaus on-rev wrote: > Hi Roger, > > Am 11.12.2012 um 17:23 schrieb Roger Eller : > > > According to this datagrid lesson, this should work but it does not. > Could > > someone please confirm? > > > > > http://lessons.runrev.com/s/lessons/m/datagrid/l/7309-how-do-i-populate-a-data-grid-with-data > > > > on mouseUp > > answer file "Select a Tab Delimited text file:" > > set the pFirstLineContainsHeaders of grp "DataGrid" to true > > set the dgText [ pFirstLineContainsHeaders ] of grp "DataGrid" to URL > > ("file:" & it) > > end mouseUp > > > > The headers remain as "Col 1" "Col 2", etc. > > "pFirstLineContainsHeaders" is not a property of the datagrid, but a > parameter for dgtext! > > So this will work: > ... > set the dgText [TRUE] of grp "DataGrid" to URL ("file:" & it) > ... > > > ~Roger > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.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 pete at lcsql.com Tue Dec 11 13:09:13 2012 From: pete at lcsql.com (Peter Haworth) Date: Tue, 11 Dec 2012 10:09:13 -0800 Subject: pFirstLineContainsHeaders is being ignored in DataGrid In-Reply-To: References: Message-ID: Hi Roger, That parameter doesn't change the column names, it just defines the order of the column data within each line of dgText. If it's false, then the dgText is expected to contain the column data in the order the columns are defined to the datagrid. When true, then the first line of dgText defines the order of the column data by specifying the column names, for example Col2,col1,Col3. Pete lcSQL Software On Tue, Dec 11, 2012 at 9:50 AM, Roger Eller wrote: > Hi Klaus, > > Thanks for the quick reply, but I still can not get it to work as you > describe. I have tried in Revolution 4.0.0, LiveCode 5.5.1, and LiveCode > 5.5.2. Without any parameter, the grid is populated without the headers > changing. With the parameter [TRUE], the grid is not populated at all. > > ~Roger > > > > On Tue, Dec 11, 2012 at 11:27 AM, Klaus on-rev >wrote: > > > Hi Roger, > > > > Am 11.12.2012 um 17:23 schrieb Roger Eller >: > > > > > According to this datagrid lesson, this should work but it does not. > > Could > > > someone please confirm? > > > > > > > > > http://lessons.runrev.com/s/lessons/m/datagrid/l/7309-how-do-i-populate-a-data-grid-with-data > > > > > > on mouseUp > > > answer file "Select a Tab Delimited text file:" > > > set the pFirstLineContainsHeaders of grp "DataGrid" to true > > > set the dgText [ pFirstLineContainsHeaders ] of grp "DataGrid" to URL > > > ("file:" & it) > > > end mouseUp > > > > > > The headers remain as "Col 1" "Col 2", etc. > > > > "pFirstLineContainsHeaders" is not a property of the datagrid, but a > > parameter for dgtext! > > > > So this will work: > > ... > > set the dgText [TRUE] of grp "DataGrid" to URL ("file:" & it) > > ... > > > > > ~Roger > > > > Best > > > > Klaus > > > > -- > > Klaus Major > > http://www.major-k.de > > klaus at major.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 > From jacque at hyperactivesw.com Tue Dec 11 13:47:24 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 11 Dec 2012 12:47:24 -0600 Subject: Opening a stack crashes RevMedia, and message box won't work In-Reply-To: <803876705.1216984.1355246115730.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> References: <803876705.1216984.1355246115730.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> Message-ID: <50C77FBC.1000704@hyperactivesw.com> On 12/11/12 11:15 AM, dfepstein at comcast.net wrote: > > > I have encountered two strange new symptoms using RevMedia 2.9 on a > Windows 7 machine. I do not know if they are related. It's likely. Rev 2.9 was released almost 5 years ago and a lot has changed since then, especially since it didn't expect a 64-bit Windows OS. I think you'd be doing yourself a favor by updating. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From roger.e.eller at sealedair.com Tue Dec 11 13:51:12 2012 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 11 Dec 2012 13:51:12 -0500 Subject: pFirstLineContainsHeaders is being ignored in DataGrid In-Reply-To: References: Message-ID: Hi Pete, Well this changes everything! Literally! So, if I wish to re-order the columns, this will fit the bill quite nicely. Thank you for clarifying what this param actually does, Pete. Back to what I was trying to do... If I need the first line of the imported text file to define the header names of each column, I will need to script that manually for each column, right? I don't see any references to data grid properties like dgText in the LC dictionary. There are a few lessons on the RunRev site, but I don't see an example of how to do this with a built-in function. It's roll your own time, I guess. ~Roger On Tue, Dec 11, 2012 at 1:09 PM, Peter Haworth wrote: > Hi Roger, > That parameter doesn't change the column names, it just defines the order > of the column data within each line of dgText. If it's false, then the > dgText is expected to contain the column data in the order the columns are > defined to the datagrid. When true, then the first line of dgText defines > the order of the column data by specifying the column names, for example > Col2,col1,Col3. > > > Pete > lcSQL Software > > > > On Tue, Dec 11, 2012 at 9:50 AM, Roger Eller >wrote: > > > Hi Klaus, > > > > Thanks for the quick reply, but I still can not get it to work as you > > describe. I have tried in Revolution 4.0.0, LiveCode 5.5.1, and LiveCode > > 5.5.2. Without any parameter, the grid is populated without the headers > > changing. With the parameter [TRUE], the grid is not populated at all. > > > > ~Roger > > > > > > > > On Tue, Dec 11, 2012 at 11:27 AM, Klaus on-rev > >wrote: > > > > > Hi Roger, > > > > > > Am 11.12.2012 um 17:23 schrieb Roger Eller < > roger.e.eller at sealedair.com > > >: > > > > > > > According to this datagrid lesson, this should work but it does not. > > > Could > > > > someone please confirm? > > > > > > > > > > > > > > http://lessons.runrev.com/s/lessons/m/datagrid/l/7309-how-do-i-populate-a-data-grid-with-data > > > > > > > > on mouseUp > > > > answer file "Select a Tab Delimited text file:" > > > > set the pFirstLineContainsHeaders of grp "DataGrid" to true > > > > set the dgText [ pFirstLineContainsHeaders ] of grp "DataGrid" to > URL > > > > ("file:" & it) > > > > end mouseUp > > > > > > > > The headers remain as "Col 1" "Col 2", etc. > > > > > > "pFirstLineContainsHeaders" is not a property of the datagrid, but a > > > parameter for dgtext! > > > > > > So this will work: > > > ... > > > set the dgText [TRUE] of grp "DataGrid" to URL ("file:" & it) > > > ... > > > > > > > ~Roger > > > > > > Best > > > > > > Klaus > > > > > > -- > > > Klaus Major > > > http://www.major-k.de > > > klaus at major.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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From slylabs13 at me.com Tue Dec 11 14:02:48 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Tue, 11 Dec 2012 11:02:48 -0800 Subject: All DataGrid's updates the hilited index together In-Reply-To: References: Message-ID: <4A67D215-5A99-458B-B634-4EFB07F7066D@me.com> Without perusing your code and the card you are working with, there is no way to tell. Only thing I can suggest is, if it is your code that is doing this, put breakpoints in your code and step through to see where the effect is taking place. Bob On Dec 11, 2012, at 5:30 AM, Ueliweb wrote: > Hei > > I have 3 DataGrid on one card (all with another name). > If I click/ double-click to one DG (doesen't matter witch one) to a Row -> > the other both DG's update the hilited the Row with the same index too. > > I put away all "me" in all scripts of this card and the stack and replaced > them with the real name like: > ... of group "dataGrid name" of this card of this stack > But the behavior is still the same. > > Functionally there looks to be everything OK just this wrong changes of the > hilited Row of the other 2 DG's > > > some Idea? > > ueliweb > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From slylabs13 at me.com Tue Dec 11 14:07:49 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Tue, 11 Dec 2012 11:07:49 -0800 Subject: pFirstLineContainsHeaders is being ignored in DataGrid In-Reply-To: References: Message-ID: <70AFE704-914B-4740-8FD4-810DCBB2534D@me.com> Make sure the first line of column headers are the *actual* names of the columns in the datagrid. Otherwise you will get nothing in the datagrid, because no columns matched what was in your headers. Note that initially some are confused, thinking the column LABEL is the column NAME. Not true. Verify the column headers are identical to the actual datagrid column names. Bob On Dec 11, 2012, at 10:51 AM, Roger Eller wrote: > Hi Pete, > > Well this changes everything! Literally! So, if I wish to re-order the > columns, this will fit the bill quite nicely. Thank you for clarifying > what this param actually does, Pete. > > Back to what I was trying to do... If I need the first line of the imported > text file to define the header names of each column, I will need to script > that manually for each column, right? > > I don't see any references to data grid properties like dgText in the LC > dictionary. There are a few lessons on the RunRev site, but I don't see an > example of how to do this with a built-in function. It's roll your own > time, I guess. > > ~Roger > > > On Tue, Dec 11, 2012 at 1:09 PM, Peter Haworth wrote: > >> Hi Roger, >> That parameter doesn't change the column names, it just defines the order >> of the column data within each line of dgText. If it's false, then the >> dgText is expected to contain the column data in the order the columns are >> defined to the datagrid. When true, then the first line of dgText defines >> the order of the column data by specifying the column names, for example >> Col2,col1,Col3. >> >> >> Pete >> lcSQL Software >> >> >> >> On Tue, Dec 11, 2012 at 9:50 AM, Roger Eller >> wrote: >> >>> Hi Klaus, >>> >>> Thanks for the quick reply, but I still can not get it to work as you >>> describe. I have tried in Revolution 4.0.0, LiveCode 5.5.1, and LiveCode >>> 5.5.2. Without any parameter, the grid is populated without the headers >>> changing. With the parameter [TRUE], the grid is not populated at all. >>> >>> ~Roger >>> >>> >>> >>> On Tue, Dec 11, 2012 at 11:27 AM, Klaus on-rev >>> wrote: >>> >>>> Hi Roger, >>>> >>>> Am 11.12.2012 um 17:23 schrieb Roger Eller < >> roger.e.eller at sealedair.com >>>> : >>>> >>>>> According to this datagrid lesson, this should work but it does not. >>>> Could >>>>> someone please confirm? >>>>> >>>>> >>>> >>> >> http://lessons.runrev.com/s/lessons/m/datagrid/l/7309-how-do-i-populate-a-data-grid-with-data >>>>> >>>>> on mouseUp >>>>> answer file "Select a Tab Delimited text file:" >>>>> set the pFirstLineContainsHeaders of grp "DataGrid" to true >>>>> set the dgText [ pFirstLineContainsHeaders ] of grp "DataGrid" to >> URL >>>>> ("file:" & it) >>>>> end mouseUp >>>>> >>>>> The headers remain as "Col 1" "Col 2", etc. >>>> >>>> "pFirstLineContainsHeaders" is not a property of the datagrid, but a >>>> parameter for dgtext! >>>> >>>> So this will work: >>>> ... >>>> set the dgText [TRUE] of grp "DataGrid" to URL ("file:" & it) >>>> ... >>>> >>>>> ~Roger >>>> >>>> Best >>>> >>>> Klaus >>>> >>>> -- >>>> Klaus Major >>>> http://www.major-k.de >>>> klaus at major.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 >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Dec 11 14:23:01 2012 From: pete at lcsql.com (Peter Haworth) Date: Tue, 11 Dec 2012 11:23:01 -0800 Subject: pFirstLineContainsHeaders is being ignored in DataGrid In-Reply-To: References: Message-ID: Hi Roger, You can set the column names using another property, the dgProps["columns"] of . That property is a list of column names, one per line so you would set that property to the first lien of your file with the column separator (comma, tab, etc) replaced with return. After that, you can either still set the firstlinecontainscolumns to true and present the whole file as the dgText, or set it to false and just present lines 2 to -1 of your file as the dgtext. If you need to somehow set the column labels to something different than the column names, you can use the dgProps["column labels"], once again, one column label per line. Don't need to do that if the column labels you want are the same as the column names. lcSQL Software On Tue, Dec 11, 2012 at 10:51 AM, Roger Eller wrote: > Hi Pete, > > Well this changes everything! Literally! So, if I wish to re-order the > columns, this will fit the bill quite nicely. Thank you for clarifying > what this param actually does, Pete. > > Back to what I was trying to do... If I need the first line of the imported > text file to define the header names of each column, I will need to script > that manually for each column, right? > > I don't see any references to data grid properties like dgText in the LC > dictionary. There are a few lessons on the RunRev site, but I don't see an > example of how to do this with a built-in function. It's roll your own > time, I guess. > > ~Roger > > > On Tue, Dec 11, 2012 at 1:09 PM, Peter Haworth wrote: > > > Hi Roger, > > That parameter doesn't change the column names, it just defines the order > > of the column data within each line of dgText. If it's false, then the > > dgText is expected to contain the column data in the order the columns > are > > defined to the datagrid. When true, then the first line of dgText > defines > > the order of the column data by specifying the column names, for example > > Col2,col1,Col3. > > > > > > Pete > > lcSQL Software > > > > > > > > On Tue, Dec 11, 2012 at 9:50 AM, Roger Eller < > roger.e.eller at sealedair.com > > >wrote: > > > > > Hi Klaus, > > > > > > Thanks for the quick reply, but I still can not get it to work as you > > > describe. I have tried in Revolution 4.0.0, LiveCode 5.5.1, and > LiveCode > > > 5.5.2. Without any parameter, the grid is populated without the > headers > > > changing. With the parameter [TRUE], the grid is not populated at all. > > > > > > ~Roger > > > > > > > > > > > > On Tue, Dec 11, 2012 at 11:27 AM, Klaus on-rev > > >wrote: > > > > > > > Hi Roger, > > > > > > > > Am 11.12.2012 um 17:23 schrieb Roger Eller < > > roger.e.eller at sealedair.com > > > >: > > > > > > > > > According to this datagrid lesson, this should work but it does > not. > > > > Could > > > > > someone please confirm? > > > > > > > > > > > > > > > > > > > > http://lessons.runrev.com/s/lessons/m/datagrid/l/7309-how-do-i-populate-a-data-grid-with-data > > > > > > > > > > on mouseUp > > > > > answer file "Select a Tab Delimited text file:" > > > > > set the pFirstLineContainsHeaders of grp "DataGrid" to true > > > > > set the dgText [ pFirstLineContainsHeaders ] of grp "DataGrid" to > > URL > > > > > ("file:" & it) > > > > > end mouseUp > > > > > > > > > > The headers remain as "Col 1" "Col 2", etc. > > > > > > > > "pFirstLineContainsHeaders" is not a property of the datagrid, but a > > > > parameter for dgtext! > > > > > > > > So this will work: > > > > ... > > > > set the dgText [TRUE] of grp "DataGrid" to URL ("file:" & it) > > > > ... > > > > > > > > > ~Roger > > > > > > > > Best > > > > > > > > Klaus > > > > > > > > -- > > > > Klaus Major > > > > http://www.major-k.de > > > > klaus at major.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 > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Dec 11 14:39:36 2012 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 11 Dec 2012 14:39:36 -0500 Subject: pFirstLineContainsHeaders is being ignored in DataGrid In-Reply-To: References: Message-ID: I think am now on the right track. Thanks for being tolerant of my DataGrid [noob] status. ~Roger On Tue, Dec 11, 2012 at 2:23 PM, Peter Haworth wrote: > Hi Roger, > You can set the column names using another property, the dgProps["columns"] > of . That property is a list of column names, one per > line so you would set that property to the first line of your file with the > column separator (comma, tab, etc) replaced with return. > > lcSQL Software > > > > On Tue, Dec 11, 2012 at 10:51 AM, Roger Eller > wrote: > > > Hi Pete, > > > > Back to what I was trying to do... If I need the first line of the > imported > > text file to define the header names of each column, I will need to > script > > that manually for each column, right? > > > > ~Roger > From scott at tactilemedia.com Tue Dec 11 15:27:20 2012 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 11 Dec 2012 12:27:20 -0800 Subject: Mobile Scroller with Snapping? Message-ID: Has anybody been able to set up a mobile scroller with scrolling that "snaps" to a predefined distance? I have a set of icons in a vertical scroller which I want to snap to a multiple of the icon height once the scroller completely decelerates/stops dragging. Using 5.5.1, the routine I built works fine in the iOS simulator but intermittently fails on an iPhone 4 in that the snap doesn't always occur. The code is apparently executing correctly, both scrollerEndDrag and scrollerEndDecelerate messages are being received, but again apparently intermittently. I'm trying to submit this week so am under the gun time-wise. Thanks for any suggestions. Best Regards, Scott Rossi Creative Director Tactile Media, UX Design From bogdanoff at me.com Tue Dec 11 15:55:56 2012 From: bogdanoff at me.com (Peter Bogdanoff) Date: Tue, 11 Dec 2012 12:55:56 -0800 Subject: App & desktop combo project Message-ID: Hi, I'm planning a program that is a desktop application and also an iOS app. The program is a series of audio-only classical music lectures. The desktop version is a one-time $50 purchase of all the lectures. The app version is a free version containing 1 lecture with possible in-app purchases of additional single lectures or, all of the other lectures (for a discount). I've not yet done any iOS development or dealt with app store mechanisms and have some questions. 1. So when someone does an in-app purchase, I would keep track of what the user has purchased as a saved bit of data, then unlock the purchased lectures. Is this the recommended method? If someone reloads the program onto their device after getting a new phone or deleting the app, they would have to depend on their backup. If they don't have a backup, then what? Or I suppose, that I could save that data on my remote server... 2. If someone purchases the desktop version, I would like to give them the iOS app free. Can this be done? Does the App store accept coupons or such? I'm assuming that I don't get any personal information from Apple about who buys my apps, so I can't even give someone store credit if they purchase both versions. Peter Bogdanoff UCLA From coiin at verizon.net Tue Dec 11 16:28:47 2012 From: coiin at verizon.net (Colin Holgate) Date: Tue, 11 Dec 2012 16:28:47 -0500 Subject: App & desktop combo project In-Reply-To: References: Message-ID: <2759B1C4-7968-4F65-B9CF-C659F15A1818@verizon.net> I don't think the letting them use the file on iOS if they paid for it on desktop will work out, unless you put in a feature into the desktop one that gives a link to the iOS app, maybe using custom URLs? As for the normal in-app purchasing system, you don't need to keep track of things. When the user does a reinstall of the app (as opposed to an update), you can give them an option to restore old purchases. You then ask the app store if that person has paid for that item, and if they have, it's downloaded again. From simplsol at aol.com Tue Dec 11 17:16:05 2012 From: simplsol at aol.com (Paul Looney) Date: Tue, 11 Dec 2012 14:16:05 -0800 Subject: [Endorsement] lcTaskList Message-ID: <826662F3-3725-40E5-AECF-62DC95DE6210@aol.com> Fellow LiveCoders, I've been using Bill Vlahos' lcTaskList since he introduced it. A few months ago I wrote how much I appreciated it - and that appreciation has grown with time and use. We are completing a huge, year-long project. In such big projects there is code that must be fixed now, and code that should be fixed when time permits. The latter is easy to forget or lose. With the lcTaskList you can mark the code that needs future attention and come back to it systematically when there is time. You can also be more certain that you have, indeed, addressed everything that needs attention in a piece of code. The lcTaskList reflects Bill's usual attention to detail and interface. It is built well beyond its price. I've met Bill but have no affiliation with him - I just like this product. If you deal with large pieces of code, in one project or many, I think you will also find the lcTaskList helpful. Paul Looney From cmsheffield at icloud.com Tue Dec 11 17:54:18 2012 From: cmsheffield at icloud.com (Chris Sheffield) Date: Tue, 11 Dec 2012 15:54:18 -0700 Subject: [Endorsement] lcTaskList In-Reply-To: <826662F3-3725-40E5-AECF-62DC95DE6210@aol.com> References: <826662F3-3725-40E5-AECF-62DC95DE6210@aol.com> Message-ID: I absolutely agree Paul! I've also been using lcTaskList since the beta versions. It has been an indispensable tool. At $10 USD it's a steal. Grab it at this price while you still can. You won't regret it. Thanks, Bill, for all your hard work on this. Chris Sheffield -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com On Dec 11, 2012, at 3:16 PM, Paul Looney wrote: > Fellow LiveCoders, > > I've been using Bill Vlahos' lcTaskList since he introduced it. > > A few months ago I wrote how much I appreciated it - and that appreciation has grown with time and use. We are completing a huge, year-long project. In such big projects there is code that must be fixed now, and code that should be fixed when time permits. The latter is easy to forget or lose. With the lcTaskList you can mark the code that needs future attention and come back to it systematically when there is time. You can also be more certain that you have, indeed, addressed everything that needs attention in a piece of code. > > The lcTaskList reflects Bill's usual attention to detail and interface. It is built well beyond its price. > > I've met Bill but have no affiliation with him - I just like this product. If you deal with large pieces of code, in one project or many, I think you will also find the lcTaskList helpful. > > 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 scott at tactilemedia.com Tue Dec 11 18:22:51 2012 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 11 Dec 2012 15:22:51 -0800 Subject: Mobile Scroller with Snapping? In-Reply-To: Message-ID: OK, I think I figured out the problem. Apparently mobileControlGet(theID,"vScroll") sometimes returns a decimal value (i.e. 10.5), but LiveCode doesn't allow setting the vScroll of a field to a decimal value, so the field wouldn't scroll. Rounding mobileControlGet(theID,"vScroll") appears to have solved the problem. Regards, Scott Rossi Creative Director Tactile Media, UX Design On 12/11/12 12:27 PM, "Scott Rossi" wrote: >Has anybody been able to set up a mobile scroller with scrolling that >"snaps" to a predefined distance? > >I have a set of icons in a vertical scroller which I want to snap to a >multiple of the icon height once the scroller completely decelerates/stops >dragging. Using 5.5.1, the routine I built works fine in the iOS >simulator >but intermittently fails on an iPhone 4 in that the snap doesn't always >occur. The code is apparently executing correctly, both scrollerEndDrag >and >scrollerEndDecelerate messages are being received, but again apparently >intermittently. > >I'm trying to submit this week so am under the gun time-wise. Thanks for >any suggestions. > >Best Regards, > >Scott Rossi >Creative Director >Tactile Media, UX 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 matthias_livecode_150811 at m-r-d.de Tue Dec 11 18:44:53 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 12 Dec 2012 00:44:53 +0100 Subject: [Endorsement] lcTaskList In-Reply-To: References: <826662F3-3725-40E5-AECF-62DC95DE6210@aol.com> Message-ID: Hi, totally agree. I could not have said it any better. Matthias -- Matthias Rebbe matthias (at) rebbe.tk Tel +49.5741.310000 Tel +49.160.5504462 -- "Life is too short for boring code" Am 11.12.2012 um 23:54 schrieb Chris Sheffield : > I absolutely agree Paul! I've also been using lcTaskList since the beta versions. It has been an indispensable tool. At $10 USD it's a steal. Grab it at this price while you still can. You won't regret it. Thanks, Bill, for all your hard work on this. > > Chris Sheffield > > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > > > > On Dec 11, 2012, at 3:16 PM, Paul Looney wrote: > >> Fellow LiveCoders, >> >> I've been using Bill Vlahos' lcTaskList since he introduced it. >> >> A few months ago I wrote how much I appreciated it - and that appreciation has grown with time and use. We are completing a huge, year-long project. In such big projects there is code that must be fixed now, and code that should be fixed when time permits. The latter is easy to forget or lose. With the lcTaskList you can mark the code that needs future attention and come back to it systematically when there is time. You can also be more certain that you have, indeed, addressed everything that needs attention in a piece of code. >> >> The lcTaskList reflects Bill's usual attention to detail and interface. It is built well beyond its price. >> >> I've met Bill but have no affiliation with him - I just like this product. If you deal with large pieces of code, in one project or many, I think you will also find the lcTaskList helpful. >> >> 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 From dick.kriesel at mail.com Tue Dec 11 20:44:01 2012 From: dick.kriesel at mail.com (Dick Kriesel) Date: Tue, 11 Dec 2012 17:44:01 -0800 Subject: Algorithm time... In-Reply-To: References: <142A9C62-BABB-4ECE-A5D1-D64725D7EA40@mail.com> <32EE8AFA-8B23-4F8F-B9E5-FDDAD9B2B635@mail.com> Message-ID: On Dec 9, 2012, at 4:31 PM, Glen Bojsza wrote: > That's it!! > > 500,000 points in 419 milliseconds. > > This scales perfectly for what I need. > > thanks Dick. > You're welcome, Glen. So now I've tried optimizing for speed and legibility. Would you check the timing for your data, please, and report again? Invoke it like this: digest tLines, tGroupSize, tResult Any questions? -- Dick command digest @pLines, pGroupSize, @rResult local tLineNumber, tArray, tMin, tMax repeat for each line tLine in pLines -- note: create tArray[ ] = if item 2 of tLine is not among the keys of tArray then put item 1 of tLine into tArray[ item 2 of tLine ] end if add 1 to tLineNumber if tLineNumber is pGroupSize then put item 1 of the extents of tArray into tMin put item 2 of the extents of tArray into tMax put tArray[ tMin ] & tab & tMin & cr & tArray[ tMax ] & tab & tMax & cr after rResult put empty into tArray put 0 into tLineNumber end if end repeat end digest From cszasz at me.com Tue Dec 11 23:11:05 2012 From: cszasz at me.com (Charles Szasz) Date: Tue, 11 Dec 2012 23:11:05 -0500 Subject: Problem with setting Password with LC 5.5.3 Message-ID: <53CB7448-3911-4858-8310-C295CD01A1AC@me.com> Jacque, Thanks for the explanation. I will go ahead and remove the passKey from my launcher stack. This should solve the problem as my app stack should be password protected from attempts to edit the scripts in it. Charles Szasz cszasz at mac.com From williamdesmet at gmail.com Wed Dec 12 05:32:29 2012 From: williamdesmet at gmail.com (William de Smet) Date: Wed, 12 Dec 2012 11:32:29 +0100 Subject: Can I use decimal values for StartAngle? Message-ID: Hi there, I have a small 'problem' and a question. Problem 1: I use: show grc "vierkant" hide grc "vierkant" with visual effect push right normal This works fine in the IDE put on my iPad 3 it show a thin top and left border of the image while it moves. When I use: ' lock screen for visual effect' it moves the entire screen and not the image. What am I doing wrong? Question 2: is it possible to use decimal values for startAngle? Set the startAngle of grc "small" to 60.5? is there a way to active this? I am on OSX 10.8.2 with LC 5.5.3. greetings, William From ueliweb at gmx.ch Wed Dec 12 06:13:49 2012 From: ueliweb at gmx.ch (Ueliweb) Date: Wed, 12 Dec 2012 13:13:49 +0200 Subject: All DataGrid's updates the hilited index together In-Reply-To: <4A67D215-5A99-458B-B634-4EFB07F7066D@me.com> References: <4A67D215-5A99-458B-B634-4EFB07F7066D@me.com> Message-ID: Thanks Bob I tried it. Every handler within the stack, the card and the 3 dataGrid scrips has a breakpoint ... This all happens if I single klick to any row ... Also I tried all MouseUp, mouseDown selectionChanged handler ... No of them let break the scripts by running. It just happens. Where more I could set a brake point any more? If you Bob or some one else would like so inspect the stack I can send it personally (because of some data included) But the stack is also a big building place ... 2012/12/11 Robert Sneidar > Without perusing your code and the card you are working with, there is no > way to tell. Only thing I can suggest is, if it is your code that is doing > this, put breakpoints in your code and step through to see where the effect > is taking place. > > Bob > > > On Dec 11, 2012, at 5:30 AM, Ueliweb wrote: > > > Hei > > > > I have 3 DataGrid on one card (all with another name). > > If I click/ double-click to one DG (doesen't matter witch one) to a Row > -> > > the other both DG's update the hilited the Row with the same index too. > > > > I put away all "me" in all scripts of this card and the stack and > replaced > > them with the real name like: > > ... of group "dataGrid name" of this card of this stack > > But the behavior is still the same. > > > > Functionally there looks to be everything OK just this wrong changes of > the > > hilited Row of the other 2 DG's > > > > > > some Idea? > > > > ueliweb > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 12 12:06:42 2012 From: pete at lcsql.com (Peter Haworth) Date: Wed, 12 Dec 2012 09:06:42 -0800 Subject: All DataGrid's updates the hilited index together In-Reply-To: References: <4A67D215-5A99-458B-B634-4EFB07F7066D@me.com> Message-ID: Hi, A suggestion and a guess. To narrow down where to put your breakpoints, search for "dghilitedline" and put breakpoints anywhere you find it. If it's your code that is causing the problem, dghilitedline will be involved somewhere, maybe in a custom column behavior. The guess is that perhaps each of your datagrids shares the same template? I'm not at all sure that would cause what you're seeing but worth a check. This could happen if you copied and pasted a datagrid instead of creating it from the Tools palette. Pete lcSQL Software On Wed, Dec 12, 2012 at 3:13 AM, Ueliweb wrote: > Thanks Bob > > I tried it. > > Every handler within the stack, the card and the 3 dataGrid scrips has a > breakpoint ... > > This all happens if I single klick to any row ... > Also I tried all MouseUp, mouseDown selectionChanged handler ... > > No of them let break the scripts by running. > It just happens. > Where more I could set a brake point any more? > > If you Bob or some one else would like so inspect the stack I can send it > personally (because of some data included) > But the stack is also a big building place ... > > > > > 2012/12/11 Robert Sneidar > > > Without perusing your code and the card you are working with, there is no > > way to tell. Only thing I can suggest is, if it is your code that is > doing > > this, put breakpoints in your code and step through to see where the > effect > > is taking place. > > > > Bob > > > > > > On Dec 11, 2012, at 5:30 AM, Ueliweb wrote: > > > > > Hei > > > > > > I have 3 DataGrid on one card (all with another name). > > > If I click/ double-click to one DG (doesen't matter witch one) to a Row > > -> > > > the other both DG's update the hilited the Row with the same index too. > > > > > > I put away all "me" in all scripts of this card and the stack and > > replaced > > > them with the real name like: > > > ... of group "dataGrid name" of this card of this stack > > > But the behavior is still the same. > > > > > > Functionally there looks to be everything OK just this wrong changes of > > the > > > hilited Row of the other 2 DG's > > > > > > > > > some Idea? > > > > > > ueliweb > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bill at bluewatermaritime.com Wed Dec 12 12:08:33 2012 From: bill at bluewatermaritime.com (william humphrey) Date: Wed, 12 Dec 2012 13:08:33 -0400 Subject: [ANN] lcSTackBrowser V 1.2.0 Released In-Reply-To: <02a501cdd7bf$3e76c970$bb645c50$@net> References: <02a501cdd7bf$3e76c970$bb645c50$@net> Message-ID: Cool. Also I see LiquidSQL on your website and it sounds interesting. Will it work, and will you be testing it for Valentina functionality? On Tue, Dec 11, 2012 at 12:47 PM, Ralph DiMola wrote: > Peter, > > Nice!! A must have of any LC developer. > > 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 Peter Haworth > Sent: Monday, December 10, 2012 1:45 PM > To: How to use LiveCode > Subject: [ANN] lcSTackBrowser V 1.2.0 Released > > Version 1.1.3 of lcStackBrowser, a plugin replacement for the Livecode IDE > Application Browser is now available > here > . > > This version includes several significant enhancements. > > *Live Find* > > A new "Live Find" field at the top of the lcStackBrowser stack window can > be > used to quickly locate an object by name. > > As you type into the field, the first object whose name matches the typed > characters will be highlighted in the display. The search starts from the > current highlighted line and collapsed objects will be expanded if > necessary. After a line is highlighted, you can keep typing more characters > or click the up and down arrows to the right of the Live Find field to go > to > the previous/next qualifying object. > > Using the dropdown menu to the left of the Live Find field, you can save > your search strings, execute saved searches, and remove saved searches from > the list > > *Integration with explicitProperties plugin* > * > * > Alex Tweedly's explicitProperties is a great way to protect yourself from > typos in custom property names which can cause difficult-to-debug problems. > It finds custom property references in a stack and gives you the option of > adding each one to a list of valid custom property names. > explicitProperties is free and you can download a copy > here. > Note: You must have explicitProperties V1.1.1 for the integration to work. > > The explicitProperties valid custom property names will be displayed in the > lcStackBrowser Script Assist palette. Double clicking on one will insert > it > into the current position in your script editor window in the form "the > of ". > > *Auto commenting of end if, end repeat, and end switch statements* > * > * > A new "Auto Comment" button is available on the Script Assist palette. > > Place the cursor anywhere in an end if, end repeat, or end switch > statement, > click the Auto Comment button and a comment will be appended to the end > statement consisting of the contents of its corresponding if/repeat/switch > statement. > > 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 > -- http://www.bluewatermaritime.com From pete at lcsql.com Wed Dec 12 13:02:05 2012 From: pete at lcsql.com (Peter Haworth) Date: Wed, 12 Dec 2012 10:02:05 -0800 Subject: [ANN] lcSTackBrowser V 1.2.0 Released In-Reply-To: References: <02a501cdd7bf$3e76c970$bb645c50$@net> Message-ID: Hi Bill, Depending on demand, I hope to make it work with any of the SQL database implementations offered by Livecode. Later this month, I'll be making some teaser videos available to show how it works. Pete lcSQL Software On Wed, Dec 12, 2012 at 9:08 AM, william humphrey < bill at bluewatermaritime.com> wrote: > Cool. Also I see LiquidSQL on your website and it sounds interesting. Will > it work, and will you be testing it for Valentina functionality? > > > On Tue, Dec 11, 2012 at 12:47 PM, Ralph DiMola >wrote: > > > Peter, > > > > Nice!! A must have of any LC developer. > > > > 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 Peter Haworth > > Sent: Monday, December 10, 2012 1:45 PM > > To: How to use LiveCode > > Subject: [ANN] lcSTackBrowser V 1.2.0 Released > > > > Version 1.1.3 of lcStackBrowser, a plugin replacement for the Livecode > IDE > > Application Browser is now available > > here > > . > > > > This version includes several significant enhancements. > > > > *Live Find* > > > > A new "Live Find" field at the top of the lcStackBrowser stack window can > > be > > used to quickly locate an object by name. > > > > As you type into the field, the first object whose name matches the typed > > characters will be highlighted in the display. The search starts from > the > > current highlighted line and collapsed objects will be expanded if > > necessary. After a line is highlighted, you can keep typing more > characters > > or click the up and down arrows to the right of the Live Find field to go > > to > > the previous/next qualifying object. > > > > Using the dropdown menu to the left of the Live Find field, you can save > > your search strings, execute saved searches, and remove saved searches > from > > the list > > > > *Integration with explicitProperties plugin* > > * > > * > > Alex Tweedly's explicitProperties is a great way to protect yourself from > > typos in custom property names which can cause difficult-to-debug > problems. > > It finds custom property references in a stack and gives you the option > of > > adding each one to a list of valid custom property names. > > explicitProperties is free and you can download a copy > > here. > > Note: You must have explicitProperties V1.1.1 for the integration to > work. > > > > The explicitProperties valid custom property names will be displayed in > the > > lcStackBrowser Script Assist palette. Double clicking on one will insert > > it > > into the current position in your script editor window in the form "the > > of ". > > > > *Auto commenting of end if, end repeat, and end switch statements* > > * > > * > > A new "Auto Comment" button is available on the Script Assist palette. > > > > Place the cursor anywhere in an end if, end repeat, or end switch > > statement, > > click the Auto Comment button and a comment will be appended to the end > > statement consisting of the contents of its corresponding > if/repeat/switch > > statement. > > > > 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 > > > > > > -- > http://www.bluewatermaritime.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 bill at bluewatermaritime.com Wed Dec 12 13:32:37 2012 From: bill at bluewatermaritime.com (william humphrey) Date: Wed, 12 Dec 2012 14:32:37 -0400 Subject: [ANN] lcSTackBrowser V 1.2.0 Released In-Reply-To: References: <02a501cdd7bf$3e76c970$bb645c50$@net> Message-ID: Great. Remember that the native database commands in LiveCode do not work reliably with Valentina and you have to use the "Vdatabase" or "Vcursor" etc that are native to Valentina. I don't think LiveCode is able to keep up with the constant improvements and changes that are made to Valentina. On Wed, Dec 12, 2012 at 2:02 PM, Peter Haworth wrote: > Hi Bill, > Depending on demand, I hope to make it work with any of the SQL > database implementations offered by Livecode. > > Later this month, I'll be making some teaser videos available to show how > it works. > > Pete > lcSQL Software > > > > On Wed, Dec 12, 2012 at 9:08 AM, william humphrey < > bill at bluewatermaritime.com> wrote: > > > Cool. Also I see LiquidSQL on your website and it sounds interesting. > Will > > it work, and will you be testing it for Valentina functionality? > > > > > > On Tue, Dec 11, 2012 at 12:47 PM, Ralph DiMola < > rdimola at evergreeninfo.net > > >wrote: > > > > > Peter, > > > > > > Nice!! A must have of any LC developer. > > > > > > 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 Peter Haworth > > > Sent: Monday, December 10, 2012 1:45 PM > > > To: How to use LiveCode > > > Subject: [ANN] lcSTackBrowser V 1.2.0 Released > > > > > > Version 1.1.3 of lcStackBrowser, a plugin replacement for the Livecode > > IDE > > > Application Browser is now available > > > here > > > . > > > > > > This version includes several significant enhancements. > > > > > > *Live Find* > > > > > > A new "Live Find" field at the top of the lcStackBrowser stack window > can > > > be > > > used to quickly locate an object by name. > > > > > > As you type into the field, the first object whose name matches the > typed > > > characters will be highlighted in the display. The search starts from > > the > > > current highlighted line and collapsed objects will be expanded if > > > necessary. After a line is highlighted, you can keep typing more > > characters > > > or click the up and down arrows to the right of the Live Find field to > go > > > to > > > the previous/next qualifying object. > > > > > > Using the dropdown menu to the left of the Live Find field, you can > save > > > your search strings, execute saved searches, and remove saved searches > > from > > > the list > > > > > > *Integration with explicitProperties plugin* > > > * > > > * > > > Alex Tweedly's explicitProperties is a great way to protect yourself > from > > > typos in custom property names which can cause difficult-to-debug > > problems. > > > It finds custom property references in a stack and gives you the > option > > of > > > adding each one to a list of valid custom property names. > > > explicitProperties is free and you can download a copy > > > here. > > > Note: You must have explicitProperties V1.1.1 for the integration to > > work. > > > > > > The explicitProperties valid custom property names will be displayed in > > the > > > lcStackBrowser Script Assist palette. Double clicking on one will > insert > > > it > > > into the current position in your script editor window in the form "the > > > of ". > > > > > > *Auto commenting of end if, end repeat, and end switch statements* > > > * > > > * > > > A new "Auto Comment" button is available on the Script Assist palette. > > > > > > Place the cursor anywhere in an end if, end repeat, or end switch > > > statement, > > > click the Auto Comment button and a comment will be appended to the end > > > statement consisting of the contents of its corresponding > > if/repeat/switch > > > statement. > > > > > > 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 > > > > > > > > > > > -- > > http://www.bluewatermaritime.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 > -- http://www.bluewatermaritime.com From -= Wed Dec 12 13:34:33 2012 From: -= (-=) Date: Wed, 12 Dec 2012 10:34:33 -0800 Subject: Rev Website Message-ID: All of my domains on the On-Rev website are not loading. Is anyone else having this problem? I haven't changed anything and suddenly they are not viewable. -=>JB<=- From skip at magicgate.com Wed Dec 12 13:36:37 2012 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Wed, 12 Dec 2012 13:36:37 -0500 Subject: Rev Website In-Reply-To: References: Message-ID: There might be something else going on around the Internet today. South Florida seems to be having some DNS issues reaching out to some domains. Not just me but the region.... Anybody else? SKIP On Wed, Dec 12, 2012 at 1:34 PM, -=@ltfs235-new.aus.us.siteprotect.com>JB <=- wrote: > All of my domains on the On-Rev website are not loading. > Is anyone else having this problem? I haven't changed > anything and suddenly they are not viewable. > > -=>JB<=- > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sundown at pacifier.com Wed Dec 12 13:41:14 2012 From: sundown at pacifier.com (-=>JB<=-) Date: Wed, 12 Dec 2012 10:41:14 -0800 Subject: Rev Website In-Reply-To: References: Message-ID: They started working again. -=>JB<=- On Dec 12, 2012, at 10:34 AM, -=>JB wrote: > All of my domains on the On-Rev website are not loading. > Is anyone else having this problem? I haven't changed > anything and suddenly they are not viewable. > > -=>JB<=- > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 12 14:01:10 2012 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 12 Dec 2012 11:01:10 -0800 Subject: Rev Website In-Reply-To: References: Message-ID: <50C8D476.102@pdslabs.net> My Pingdom.com account said the on-rev server (or at least my domain there) was down for about 20 minutes beginning about 6:18:09 PM GMT. Phil Davis On 12/12/12 10:41 AM, -=>JB<=- wrote: > They started working again. > > -=>JB<=- > > > On Dec 12, 2012, at 10:34 AM, -=>JB wrote: > >> All of my domains on the On-Rev website are not loading. >> Is anyone else having this problem? I haven't changed >> anything and suddenly they are not viewable. >> >> -=>JB<=- >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode 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 sundown at pacifier.com Wed Dec 12 14:18:27 2012 From: sundown at pacifier.com (-=>JB<=-) Date: Wed, 12 Dec 2012 11:18:27 -0800 Subject: Rev Website In-Reply-To: <50C8D476.102@pdslabs.net> References: <50C8D476.102@pdslabs.net> Message-ID: <3D4F888A-9598-457C-AB78-4E10609F9021@pacifier.com> Thanks for the info! I had never heard of Pingdom.com before. -=>JB<=- On Dec 12, 2012, at 11:01 AM, Phil Davis wrote: > My Pingdom.com account said the on-rev server (or at least my domain there) was down for about 20 minutes beginning about 6:18:09 PM GMT. > > Phil Davis > > > On 12/12/12 10:41 AM, -=>JB<=- wrote: >> They started working again. >> >> -=>JB<=- >> >> >> On Dec 12, 2012, at 10:34 AM, -=>JB wrote: >> >>> All of my domains on the On-Rev website are not loading. >>> Is anyone else having this problem? I haven't changed >>> anything and suddenly they are not viewable. >>> >>> -=>JB<=- >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 lc at pbh.on-rev.com Wed Dec 12 14:25:25 2012 From: lc at pbh.on-rev.com (Paul Hibbert) Date: Wed, 12 Dec 2012 11:25:25 -0800 Subject: Rev Website In-Reply-To: References: Message-ID: <303829A8-B610-4588-BF97-EEC63AEF409D@pbh.on-rev.com> My sites appear to be loading OK. Paul On 2012-12-12, at 10:34 AM, -=>JB wrote: > All of my domains on the On-Rev website are not loading. > Is anyone else having this problem? I haven't changed > anything and suddenly they are not viewable. > > -=>JB<=- > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ueliweb at gmx.ch Wed Dec 12 14:27:56 2012 From: ueliweb at gmx.ch (Ueliweb) Date: Wed, 12 Dec 2012 21:27:56 +0200 Subject: All DataGrid's updates the hilited index together In-Reply-To: References: <4A67D215-5A99-458B-B634-4EFB07F7066D@me.com> Message-ID: Thanks Pete your guess solved the problem yet - coping the DG look to be bad. I did It because I need DG's in different size and position for the same date, copy the main DG and "cut it down" locks to be easy - as I do it with other object ... but not in mind there are also the template. Good to find it yet - I want thinking about when I would start to manipulate the behavior scrips in the template and this would do the same on all copies! The dghilitedline und most used dghilitedindex does not help - but thanks too good to learn more about how to find mistakes and bugs :-) ueliweb 2012/12/12 Peter Haworth > dghilitedline From sundown at pacifier.com Wed Dec 12 14:35:21 2012 From: sundown at pacifier.com (-=>JB<=-) Date: Wed, 12 Dec 2012 11:35:21 -0800 Subject: Rev Website In-Reply-To: <303829A8-B610-4588-BF97-EEC63AEF409D@pbh.on-rev.com> References: <303829A8-B610-4588-BF97-EEC63AEF409D@pbh.on-rev.com> Message-ID: <8A0A03D0-C486-43F7-9822-B07711374B2C@pacifier.com> Thanks, I think it was just a short down time for some reason but mine are working now too. -=>JB<=- On Dec 12, 2012, at 11:25 AM, Paul Hibbert wrote: > My sites appear to be loading OK. > > Paul > > On 2012-12-12, at 10:34 AM, -=>JB wrote: > >> All of my domains on the On-Rev website are not loading. >> Is anyone else having this problem? I haven't changed >> anything and suddenly they are not viewable. >> >> -=>JB<=- >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 12 15:10:46 2012 From: pete at lcsql.com (Peter Haworth) Date: Wed, 12 Dec 2012 12:10:46 -0800 Subject: All DataGrid's updates the hilited index together In-Reply-To: References: <4A67D215-5A99-458B-B634-4EFB07F7066D@me.com> Message-ID: Glad you found it. You can share a behavior script between different datagrids. Just create a button and put the shared behavior script in it, then set dgProps["default column behavior"] to the long ID of your button. There's a section in the datagrid manual that takes you through how to do it in detail. Pete lcSQL Software On Wed, Dec 12, 2012 at 11:27 AM, Ueliweb wrote: > Good to find it yet - I want thinking about when I would start to > manipulate the behavior scrips in the template and this would do the same > on all copies! > From richmondmathewson at gmail.com Wed Dec 12 15:53:27 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 12 Dec 2012 22:53:27 +0200 Subject: Unicode and the higher planes of existence. Message-ID: <50C8EEC7.9040902@gmail.com> So there I am wondering about the higher plains (the svarga-lokas . . . LOL), so I try this: I make a stack with 2 buttons (called 'button 1' and 'button 2' respectively) and 2 fields (called 'f1' and 'f2' repectively) and put the following code into button 1: on mouseUp set the useUnicode to true set the unicodeText of fld "f1" to numToChar(65940) end mouseUp and when I click on the button I get nothing like anything that should appear (a capital X with a bar through its middle), but something that resembles a badly deformed Hebrew 'Ain'. in button 2 I put the following script: on mouseUp set the useUnicode to true put charToNum(fld"f1") into fld "f2" end mouseUp and get "404", which is, indeed a sort of funny 'Ain'. This would seem to suggest 2 things: 1. RR/LC cannot cope with Unicode addresses above the first plane. 2. RR/LC copes with this by truncating the addresses. Does anybody know of a work around for this? [this does not affect my work directly, but does interest me both in terms of future work, and relating to the capabilities of RR/LC in general] Richmond. From jacque at hyperactivesw.com Wed Dec 12 16:34:24 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 12 Dec 2012 15:34:24 -0600 Subject: Unicode and the higher planes of existence. In-Reply-To: <50C8EEC7.9040902@gmail.com> References: <50C8EEC7.9040902@gmail.com> Message-ID: <50C8F860.8050906@hyperactivesw.com> On 12/12/12 2:53 PM, Richmond wrote: > > on mouseUp > set the useUnicode to true > set the unicodeText of fld "f1" to numToChar(65940) > end mouseUp > > and when I click on the button I get nothing like anything that should > appear (a capital X with a bar through its middle), > but something that resembles a badly deformed Hebrew 'Ain'. Docs say: If the useUnicode property is set to true, the charToNum function returns an integer between zero and 65535. So it's out of range. It might be doing what it does if useunicode is false -- setting the value to the number div 255. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Wed Dec 12 16:40:08 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 12 Dec 2012 23:40:08 +0200 Subject: Unicode and the higher planes of existence. In-Reply-To: <50C8F860.8050906@hyperactivesw.com> References: <50C8EEC7.9040902@gmail.com> <50C8F860.8050906@hyperactivesw.com> Message-ID: <50C8F9B8.8010008@gmail.com> On 12/12/2012 11:34 PM, J. Landman Gay wrote: > On 12/12/12 2:53 PM, Richmond wrote: >> >> on mouseUp >> set the useUnicode to true >> set the unicodeText of fld "f1" to numToChar(65940) >> end mouseUp >> >> and when I click on the button I get nothing like anything that should >> appear (a capital X with a bar through its middle), >> but something that resembles a badly deformed Hebrew 'Ain'. > > Docs say: If the useUnicode property is set to true, the charToNum > function returns an integer between zero and 65535. > > So it's out of range. It might be doing what it does if useunicode is > false -- setting the value to the number div 255. > That's a "bother" if one wants to lever writing systems included in the Unicode standard at higher addresses. I wonder if RunRev intend to extend Livecode's capability to cope with these writing systems? From m.schonewille at economy-x-talk.com Wed Dec 12 17:24:35 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 12 Dec 2012 23:24:35 +0100 Subject: Unicode and the higher planes of existence. In-Reply-To: <50C8F9B8.8010008@gmail.com> References: <50C8EEC7.9040902@gmail.com> <50C8F860.8050906@hyperactivesw.com> <50C8F9B8.8010008@gmail.com> Message-ID: Hi Richmond, Athough LiveCode doesn't support higher level code table values, LiveCode does support higher level unicode values. You just need to remember to switch the byte values when reading them from Apple's character palette. Also, I think you mean "ASCII" 65942 instead of 65940. on mouseUp put "00d896dd" into myHex repeat with x = 1 to len(myHex)-1 step 2 put "0x" & char x to x+1 of myHex into myHexChar put numToChar(myHexChar) after myBin end repeat set the unicodeText of the last field to myBin 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 We have time for new software development projects. Contact me for a quote. On 12 dec 2012, at 22:40, Richmond wrote: >> On 12/12/12 2:53 PM, Richmond wrote: >>> >>> on mouseUp >>> set the useUnicode to true >>> set the unicodeText of fld "f1" to numToChar(65940) >>> end mouseUp >>> >>> and when I click on the button I get nothing like anything that should >>> appear (a capital X with a bar through its middle), >>> but something that resembles a badly deformed Hebrew 'Ain'. From m.schonewille at economy-x-talk.com Wed Dec 12 18:28:38 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 13 Dec 2012 00:28:38 +0100 Subject: [ANN] Installer Maker Plugin 1.7.15 Message-ID: <23C1B8D3-7E99-4394-95CF-C0AB5BE0C554@economy-x-talk.com> Hi, In response to a number of recent bug reports, Economy-x-Talk is updating the Installer Maker Plugin. This version, 1.7.15, is particularly essential for Windows users who create installers for Mac OS X on their Windows PC's. This update is free for everyone who bought an Installer Maker license during the past 3 months. More information is available on Installer Maker Plugin's website at http://qery.us/za -- 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. From bogdanoff at me.com Wed Dec 12 19:32:30 2012 From: bogdanoff at me.com (Peter Bogdanoff) Date: Wed, 12 Dec 2012 16:32:30 -0800 Subject: App & desktop combo project In-Reply-To: <2759B1C4-7968-4F65-B9CF-C659F15A1818@verizon.net> References: <2759B1C4-7968-4F65-B9CF-C659F15A1818@verizon.net> Message-ID: Colin, thanks for your reply. See my question below: On Dec 11, 2012, at 1:28 PM, Colin Holgate wrote: > I don't think the letting them use the file on iOS if they paid for it on desktop will work out, unless you put in a feature into the desktop one that gives a link to the iOS app, maybe using custom URLs? What do you mean, "link to the iOS app"? How is that different than going to the App Store to make a normal purchase? > > As for the normal in-app purchasing system, you don't need to keep track of things. When the user does a reinstall of the app (as opposed to an update), you can give them an option to restore old purchases. You then ask the app store if that person has paid for that item, and if they have, it's downloaded again. I get that, thanks! Peter > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Dec 12 20:10:07 2012 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 12 Dec 2012 17:10:07 -0800 Subject: Can I use decimal values for StartAngle? In-Reply-To: Message-ID: Hi William: With visual effects, you can either select an object to show/hide with a visual effect as you've done, or you can restrict a visual effect to a rect: lock screen for visual effect in rect (the rect of control 1) For startAngle (and most of LiveCode's dimensional properties) I believe you're pretty much limited to integer values. Some properties such as the scroll of fields will generate errors upon attempting to set a decimal value. Other properties like start/arc angles are more forgiving and simply ignore the decimal. But I don't think LiveCode will natively render decimal values for angle values. Regards, Scott Rossi Creative Director Tactile Media, UX Design On 12/12/12 2:32 AM, "William de Smet" wrote: >Hi there, > >I have a small 'problem' and a question. > >Problem 1: >I use: >show grc "vierkant" >hide grc "vierkant" with visual effect push right normal > >This works fine in the IDE put on my iPad 3 it show a thin top and left >border of the image while it moves. >When I use: >' lock screen for visual effect' it moves the entire screen and not the >image. >What am I doing wrong? > >Question 2: >is it possible to use decimal values for startAngle? >Set the startAngle of grc "small" to 60.5? >is there a way to active this? > >I am on OSX 10.8.2 with LC 5.5.3. > >greetings, > >William >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From bvlahos at mac.com Wed Dec 12 21:02:50 2012 From: bvlahos at mac.com (Bill Vlahos) Date: Wed, 12 Dec 2012 18:02:50 -0800 Subject: [Endorsement] lcTaskList In-Reply-To: References: <826662F3-3725-40E5-AECF-62DC95DE6210@aol.com> Message-ID: <92346B8B-4C92-4964-AF35-FF11F9A77BD6@mac.com> Thanks for the kind words everyone. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. lcTaskList: (http://www.infowallet.com/lctasklist/index.htm) RunRev lcTaskList Forum: (http://forums.runrev.com/viewforum.php?f=61) On Dec 11, 2012, at 3:44 PM, Matthias Rebbe wrote: > > Hi, > > totally agree. I could not have said it any better. > > > Matthias > > -- > Matthias Rebbe > matthias (at) rebbe.tk > Tel +49.5741.310000 > Tel +49.160.5504462 > -- > "Life is too short for boring code" > > > Am 11.12.2012 um 23:54 schrieb Chris Sheffield : > >> I absolutely agree Paul! I've also been using lcTaskList since the beta versions. It has been an indispensable tool. At $10 USD it's a steal. Grab it at this price while you still can. You won't regret it. Thanks, Bill, for all your hard work on this. >> >> Chris Sheffield >> >> >> -- >> Chris Sheffield >> Read Naturally, Inc. >> www.readnaturally.com >> >> >> >> On Dec 11, 2012, at 3:16 PM, Paul Looney wrote: >> >>> Fellow LiveCoders, >>> >>> I've been using Bill Vlahos' lcTaskList since he introduced it. >>> >>> A few months ago I wrote how much I appreciated it - and that appreciation has grown with time and use. We are completing a huge, year-long project. In such big projects there is code that must be fixed now, and code that should be fixed when time permits. The latter is easy to forget or lose. With the lcTaskList you can mark the code that needs future attention and come back to it systematically when there is time. You can also be more certain that you have, indeed, addressed everything that needs attention in a piece of code. >>> >>> The lcTaskList reflects Bill's usual attention to detail and interface. It is built well beyond its price. >>> >>> I've met Bill but have no affiliation with him - I just like this product. If you deal with large pieces of code, in one project or many, I think you will also find the lcTaskList helpful. >>> >>> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 12 21:29:04 2012 From: peterwawood at gmail.com (Peter W A Wood) Date: Thu, 13 Dec 2012 10:29:04 +0800 Subject: Unicode and the higher planes of existence. In-Reply-To: <50C8EEC7.9040902@gmail.com> References: <50C8EEC7.9040902@gmail.com> Message-ID: According to the User Guide, LiveCode employs UTF-16 encoding: "LiveCode fields and other controls use the UTF-16 encoding for Unicode. In order to use Unicode in a field or in the labels of controls, paste in Unicode text, or set the textFont of the control to ",unicode"." As I understand, characters beyond the Basic Multilingual Plane occupy two "UTF-16 Characters" This example is taken from the Mac Character Viewer: ? GREEK ACROPHONIC ATTIC TEN STATERS Unicode: U+10150 (U+D800 U+DD50), UTF-8: F0 90 85 90 This worked for me (using LiveCode 5.5.3): on mouseUp set the useUnicode to true set the unicodeText of fld "f1" to numToChar(55296) & numToChar(56656) end mouseUp Hope this helps. Peter On 13 Dec 2012, at 04:53, Richmond wrote: > So there I am wondering about the higher plains (the svarga-lokas . . . LOL), so I try > this: > > I make a stack with 2 buttons (called 'button 1' and 'button 2' respectively) > and 2 fields (called 'f1' and 'f2' repectively) and put the following code into button 1: > > on mouseUp > set the useUnicode to true > set the unicodeText of fld "f1" to numToChar(65940) > end mouseUp > > and when I click on the button I get nothing like anything that should appear (a capital X with a bar through its middle), > but something that resembles a badly deformed Hebrew 'Ain'. > > in button 2 I put the following script: > > on mouseUp > set the useUnicode to true > put charToNum(fld"f1") into fld "f2" > end mouseUp > > and get "404", which is, indeed a sort of funny 'Ain'. > > This would seem to suggest 2 things: > > 1. RR/LC cannot cope with Unicode addresses above the first plane. > > 2. RR/LC copes with this by truncating the addresses. > > Does anybody know of a work around for this? > > [this does not affect my work directly, but does interest me both in terms of future work, and > relating to the capabilities of RR/LC in general] > > 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 johnpatten at me.com Thu Dec 13 12:27:08 2012 From: johnpatten at me.com (JOHN PATTEN) Date: Thu, 13 Dec 2012 09:27:08 -0800 Subject: Mobile sockets crowd funding opportunity In-Reply-To: <3BF4FC41-2CBF-4C61-B0C4-0978393D1010@sweattechnologies.com> References: <9BACD0F4-2F6A-479C-8D69-8B2B7BF5284E@sweattechnologies.com> <870289D2-1BD2-4118-B7FC-DFC7CDE25701@m-r-d.de> <3BF4FC41-2CBF-4C61-B0C4-0978393D1010@sweattechnologies.com> Message-ID: The sockets project sparked an idea and a question? Is is possible to create a LiveCode mobile app that while running, in foreground or background, can sense via bluetooth when a similar app is running on another iOS device? I'm thinking in terms of a game like environment, where iOS mobile devices are randomly discovering each other? Or, if this is not possible in LiveCode currently, would Monte's socket plugin bring that capability to LiveCode? Thank you! On Dec 10, 2012, at 11:32 AM, Monte Goulding wrote: > Thanks for jumping in! > > -- > M E R Goulding > Software development services > > mergExt - There's an external for that! > > On 11/12/2012, at 2:59 AM, Matthias Rebbe wrote: > >> Me too. Joined already on Saturday. ;) >> >> -- >> Matthias Rebbe >> matthias (at) rebbe.tk >> Tel +49.5741.310000 >> Tel +49.160.5504462 >> -- >> SkypeName:matthiasrebbe >> >> >> >> >> Am 10.12.2012 um 16:50 schrieb Mike Kerner : >> >>> Just in case anybody over here was leery of being an early in, we're in. >>> >>> >>> On Sat, Dec 8, 2012 at 5:09 AM, Monte Goulding >>> wrote: >>> >>>> Hi LiveCoders >>>> >>>> A number of LiveCode developers need sockets on iOS and android. The >>>> subject of developing an external for this feature came up recently on the >>>> LiveCode Developer Program list. It was proposed by a number of developers >>>> that the external would be a good candidate for crowd funding. As part of >>>> the discussions RunRev was asked for comment and we were given permission >>>> to publish the reply: >>>> >>>> "I would go ahead and develop this if you receive the funding. We are not >>>> working on mobile sockets as a feature at the moment and it may be some >>>> time before we can commit resources to it." Ben Beaumont (LiveCode Product >>>> Manager) >>>> >>>> The current situation for sockets is a TCP client is able to be >>>> implemented on iOS using the rresocket external that is available in the >>>> iOS Externals SDK. This external is implemented using NSStream and won't >>>> port to android when the android external sdk is published. >>>> >>>> The proposal is to implement a sockets external in portable C++ code based >>>> on the boost.asio library in the hope that once the android external sdk is >>>> released it would port with minimal changes. The expectation is that $1000 >>>> to $1500 of funding will be sufficient to implement the bulk of the >>>> external, however, to ensure we are implementing the highest priority >>>> features first the external would be implemented in the following order: >>>> - UDP client >>>> - TCP server >>>> - UDP server >>>> - TCP client (last because of the availability of rresocket) >>>> >>>> mergExt is about implementing features the LiveCode community needs when >>>> you need them. Some comments from members of the LiveCode Developer Program >>>> about why this external is worthwhile finding: >>>> >>>> "Currently, mobile network actions are severely limited by the lack of a >>>> socket library. There is no way, for instance, to send mail without using >>>> the built-in mail app, even though having the user have a chance to read a >>>> system message and mess it up is not desirable. >>>> >>>> We have an application where we would like to be able to communicate with >>>> a network-enabled appliance. it does not have bluetooth, and it does not >>>> use a standard http protocol, so without a network stack/sockets, I am >>>> dead-in-the-water." Mike Kerner (R. M. Kerner Co.) >>>> >>>> "I will definitely take part on the funding. I think socket support is an >>>> essential feature for LiveCode Mobile." Matthias Rebbe >>>> >>>> "I'm In." Ralph DiMola (Evergreen Information Services) >>>> >>>> "Mine included there are at least three votes. Anyone else?" Ralf Bitter >>>> (author of revIgniter) >>>> >>>> "Please add my vote to this." Pierre Sahores >>>> >>>> "I am sure there are a number of people that would like to help fund a >>>> sockets external. I for one would be more than happy to dive in should you >>>> decide to look for funders for this external. I have a feeling this >>>> external will reach the funding value very quickly." Mark Talluto (Canela >>>> Software) >>>> >>>> There are 3 choices for funding. All options come with the access to the >>>> pre-release versions and the final version for iOS. Each level of funding >>>> gives you access to special discount rates on the mergExt store for the >>>> next 3 months. All funders (unless they don't want to) will be thanked for >>>> their generous contribution in the documentation under their funding level. >>>> >>>> - Bronze: $80 funding and 10% off >>>> - Silver: $160 funding and 20% off >>>> - Gold: $240 funding and 30% off >>>> >>>> Please note that as the android externals sdk is currently an unknown >>>> variable there can be no guarantee that more funding will not be required >>>> when it's released. It is, however, the intention that the external be >>>> implemented so that it should cross compile for android. It is also not >>>> possible at this stage to estimate a date for an android version to be >>>> provided. >>>> >>>> After 90 days if the project has not met it's target the funders will be >>>> offered credit at the mergExt store to the value of their funding. >>>> >>>> To get involved go to http://mergext.com/fund/sockets >>>> >>>> For anyone interested in the progress of the Game Center crowd funding >>>> effort the external will be be released shortly and funders are currently >>>> making use of it to implement a number of games. The external is still open >>>> to funding to cover turn based matches and matchmaking. >>>> >>>> Cheers >>>> >>>> -- >>>> 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 > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 13 13:25:42 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 14 Dec 2012 05:25:42 +1100 Subject: Mobile sockets crowd funding opportunity In-Reply-To: References: <9BACD0F4-2F6A-479C-8D69-8B2B7BF5284E@sweattechnologies.com> <870289D2-1BD2-4118-B7FC-DFC7CDE25701@m-r-d.de> <3BF4FC41-2CBF-4C61-B0C4-0978393D1010@sweattechnologies.com> Message-ID: <1982EC9A-828A-4769-9590-7A8DFFE91897@sweattechnologies.com> Actually that exact function along with messaging is coming in the Game Center external. I'm not sure when it will be released but the funders have it. I'll probably hold off release of crowd funded externals for a while as an extra bonus to the funders. It's still open to funding by the way because w want to implement some matchmaking and play functions. Cheers -- M E R Goulding Software development services mergExt - There's an external for that! On 14/12/2012, at 4:27 AM, JOHN PATTEN wrote: > The sockets project sparked an idea and a question? > > Is is possible to create a LiveCode mobile app that while running, in foreground or background, can sense via bluetooth when a similar app is running on another iOS device? > > I'm thinking in terms of a game like environment, where iOS mobile devices are randomly discovering each other? > > Or, if this is not possible in LiveCode currently, would Monte's socket plugin bring that capability to LiveCode? > > > Thank you! > > > On Dec 10, 2012, at 11:32 AM, Monte Goulding wrote: > >> Thanks for jumping in! >> >> -- >> M E R Goulding >> Software development services >> >> mergExt - There's an external for that! >> >> On 11/12/2012, at 2:59 AM, Matthias Rebbe wrote: >> >>> Me too. Joined already on Saturday. ;) >>> >>> -- >>> Matthias Rebbe >>> matthias (at) rebbe.tk >>> Tel +49.5741.310000 >>> Tel +49.160.5504462 >>> -- >>> SkypeName:matthiasrebbe >>> >>> >>> >>> >>> Am 10.12.2012 um 16:50 schrieb Mike Kerner : >>> >>>> Just in case anybody over here was leery of being an early in, we're in. >>>> >>>> >>>> On Sat, Dec 8, 2012 at 5:09 AM, Monte Goulding >>>> wrote: >>>> >>>>> Hi LiveCoders >>>>> >>>>> A number of LiveCode developers need sockets on iOS and android. The >>>>> subject of developing an external for this feature came up recently on the >>>>> LiveCode Developer Program list. It was proposed by a number of developers >>>>> that the external would be a good candidate for crowd funding. As part of >>>>> the discussions RunRev was asked for comment and we were given permission >>>>> to publish the reply: >>>>> >>>>> "I would go ahead and develop this if you receive the funding. We are not >>>>> working on mobile sockets as a feature at the moment and it may be some >>>>> time before we can commit resources to it." Ben Beaumont (LiveCode Product >>>>> Manager) >>>>> >>>>> The current situation for sockets is a TCP client is able to be >>>>> implemented on iOS using the rresocket external that is available in the >>>>> iOS Externals SDK. This external is implemented using NSStream and won't >>>>> port to android when the android external sdk is published. >>>>> >>>>> The proposal is to implement a sockets external in portable C++ code based >>>>> on the boost.asio library in the hope that once the android external sdk is >>>>> released it would port with minimal changes. The expectation is that $1000 >>>>> to $1500 of funding will be sufficient to implement the bulk of the >>>>> external, however, to ensure we are implementing the highest priority >>>>> features first the external would be implemented in the following order: >>>>> - UDP client >>>>> - TCP server >>>>> - UDP server >>>>> - TCP client (last because of the availability of rresocket) >>>>> >>>>> mergExt is about implementing features the LiveCode community needs when >>>>> you need them. Some comments from members of the LiveCode Developer Program >>>>> about why this external is worthwhile finding: >>>>> >>>>> "Currently, mobile network actions are severely limited by the lack of a >>>>> socket library. There is no way, for instance, to send mail without using >>>>> the built-in mail app, even though having the user have a chance to read a >>>>> system message and mess it up is not desirable. >>>>> >>>>> We have an application where we would like to be able to communicate with >>>>> a network-enabled appliance. it does not have bluetooth, and it does not >>>>> use a standard http protocol, so without a network stack/sockets, I am >>>>> dead-in-the-water." Mike Kerner (R. M. Kerner Co.) >>>>> >>>>> "I will definitely take part on the funding. I think socket support is an >>>>> essential feature for LiveCode Mobile." Matthias Rebbe >>>>> >>>>> "I'm In." Ralph DiMola (Evergreen Information Services) >>>>> >>>>> "Mine included there are at least three votes. Anyone else?" Ralf Bitter >>>>> (author of revIgniter) >>>>> >>>>> "Please add my vote to this." Pierre Sahores >>>>> >>>>> "I am sure there are a number of people that would like to help fund a >>>>> sockets external. I for one would be more than happy to dive in should you >>>>> decide to look for funders for this external. I have a feeling this >>>>> external will reach the funding value very quickly." Mark Talluto (Canela >>>>> Software) >>>>> >>>>> There are 3 choices for funding. All options come with the access to the >>>>> pre-release versions and the final version for iOS. Each level of funding >>>>> gives you access to special discount rates on the mergExt store for the >>>>> next 3 months. All funders (unless they don't want to) will be thanked for >>>>> their generous contribution in the documentation under their funding level. >>>>> >>>>> - Bronze: $80 funding and 10% off >>>>> - Silver: $160 funding and 20% off >>>>> - Gold: $240 funding and 30% off >>>>> >>>>> Please note that as the android externals sdk is currently an unknown >>>>> variable there can be no guarantee that more funding will not be required >>>>> when it's released. It is, however, the intention that the external be >>>>> implemented so that it should cross compile for android. It is also not >>>>> possible at this stage to estimate a date for an android version to be >>>>> provided. >>>>> >>>>> After 90 days if the project has not met it's target the funders will be >>>>> offered credit at the mergExt store to the value of their funding. >>>>> >>>>> To get involved go to http://mergext.com/fund/sockets >>>>> >>>>> For anyone interested in the progress of the Game Center crowd funding >>>>> effort the external will be be released shortly and funders are currently >>>>> making use of it to implement a number of games. The external is still open >>>>> to funding to cover turn based matches and matchmaking. >>>>> >>>>> Cheers >>>>> >>>>> -- >>>>> 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 >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Dec 13 14:43:47 2012 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 13 Dec 2012 11:43:47 -0800 Subject: Mobile sockets crowd funding opportunity In-Reply-To: References: <9BACD0F4-2F6A-479C-8D69-8B2B7BF5284E@sweattechnologies.com> <870289D2-1BD2-4118-B7FC-DFC7CDE25701@m-r-d.de> <3BF4FC41-2CBF-4C61-B0C4-0978393D1010@sweattechnologies.com> Message-ID: <651EA1C2-513C-437F-9C1E-D54F4B47C162@canelasoftware.com> On Dec 13, 2012, at 9:27 AM, JOHN PATTEN wrote: > The sockets project sparked an idea and a question? > > Is is possible to create a LiveCode mobile app that while running, in foreground or background, can sense via bluetooth when a similar app is running on another iOS device? > > I'm thinking in terms of a game like environment, where iOS mobile devices are randomly discovering each other? > > Or, if this is not possible in LiveCode currently, would Monte's socket plugin bring that capability to LiveCode? > > > Thank you! This could be done with the sockets external Monte is working on. We will be using that type of tech for non-games. We already have desktop apps doing this today with sockets. It is one of the various uses we have for sockets on mobile devices. Best regards, Mark Talluto http://www.canelasoftware.com From johnpatten at me.com Thu Dec 13 15:05:25 2012 From: johnpatten at me.com (JOHN PATTEN) Date: Thu, 13 Dec 2012 12:05:25 -0800 Subject: Mobile sockets crowd funding opportunity In-Reply-To: <651EA1C2-513C-437F-9C1E-D54F4B47C162@canelasoftware.com> References: <9BACD0F4-2F6A-479C-8D69-8B2B7BF5284E@sweattechnologies.com> <870289D2-1BD2-4118-B7FC-DFC7CDE25701@m-r-d.de> <3BF4FC41-2CBF-4C61-B0C4-0978393D1010@sweattechnologies.com> <651EA1C2-513C-437F-9C1E-D54F4B47C162@canelasoftware.com> Message-ID: Hi Mark? Hmmm? So it would appear if we wanted to make the ability for devices to discover each other, say via bluetooth, and we may use Android devices, we'd be best going after the socket external as opposed to the Game Center external. I'm guessing with the socket external there would be a little less chance of Apple changing the "rules" so to speak on how devices can discover each other (if we went the Game Center external route). It just seems like one less issue to worry about. I'll have to wait and see? Thanks! On Dec 13, 2012, at 11:43 AM, Mark Talluto wrote: > On Dec 13, 2012, at 9:27 AM, JOHN PATTEN wrote: > >> The sockets project sparked an idea and a question? >> >> Is is possible to create a LiveCode mobile app that while running, in foreground or background, can sense via bluetooth when a similar app is running on another iOS device? >> >> I'm thinking in terms of a game like environment, where iOS mobile devices are randomly discovering each other? >> >> Or, if this is not possible in LiveCode currently, would Monte's socket plugin bring that capability to LiveCode? >> >> >> Thank you! > > > This could be done with the sockets external Monte is working on. We will be using that type of tech for non-games. We already have desktop apps doing this today with sockets. It is one of the various uses we have for sockets on mobile devices. > > > Best regards, > > Mark Talluto > http://www.canelasoftware.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 Thu Dec 13 15:20:20 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 13 Dec 2012 12:20:20 -0800 (PST) Subject: ZLib DEFLATE In-Reply-To: <1355177042.81726.YahooMailNeo@web141102.mail.bf1.yahoo.com> References: <1355177042.81726.YahooMailNeo@web141102.mail.bf1.yahoo.com> Message-ID: <1355430020853-4658087.post@n4.nabble.com> Hi Jan, Jan Schenkel wrote > [snip] > I now need the other way around: a way to inflate data that was deflated. If you want to decompress data that it's compatible with the deflate implementation used by Livecode in gzip compress, then you could "build" a gzip compressed string: >From the Dictionary's user comments: http://docs.runrev.com/Function/compress The compress function returns a gzip compressed string of binary data structured in the following format: 1) A 10-byte header, containing: A magic number, composed by two bytes: 1F 8B (Hexadecimal) or 31 139 (ASCII Numbers of both characters) A version number (always 08), that specify compression compression method used in the file. In this case Rev write the byte 08. This single character correspond to DEFLATE compression. Additional information like timestamp, optional extra headers, (as the original file name) are not included and in their place Rev writes six null bytes: 00 00 00 00 00 00 Last char of 10 byte header correspond to the type of file system on which compression took place. Rev writes the single byte 03, that correspond to Unix. For example: First Ten characters of a gzipped binary string (Hexadecimal) 1F 8B 08 00 00 00 00 00 00 03 (ASCII Characters numbers) 31 139 08 00 00 00 00 00 00 03 2- a body, containing DEFLATE-compressed data 3- Last 8 characters contains a CRC-32 checksum and length of the original uncompressed data: For example: Last 8 characters of gzipped binary string (Hexadecimal) 8C 72 E5 F5 1A 34 02 00 Last four bytes: 1A 34 02 00 = 0002341A = 144,410 represent the file length (142 k) Bytes 8C 72 E5 F5 correspond to CRC-32 of this file: F5E5728C You could download a stack with a Livecode CRC-32 implementation from: http://andregarzia.on-rev.com/alejandro/stacks/CRC-32_LiveCode_Script.zip http://at.livecodejournal.com/stacks/CRC-32_LiveCode_Script.zip Alejandro -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ZLib-DEFLATE-tp4658027p4658087.html Sent from the Revolution - User mailing list archive at Nabble.com. From monte at sweattechnologies.com Thu Dec 13 15:22:22 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 14 Dec 2012 07:22:22 +1100 Subject: Mobile sockets crowd funding opportunity In-Reply-To: References: <9BACD0F4-2F6A-479C-8D69-8B2B7BF5284E@sweattechnologies.com> <870289D2-1BD2-4118-B7FC-DFC7CDE25701@m-r-d.de> <3BF4FC41-2CBF-4C61-B0C4-0978393D1010@sweattechnologies.com> <651EA1C2-513C-437F-9C1E-D54F4B47C162@canelasoftware.com> Message-ID: On 14/12/2012, at 7:05 AM, JOHN PATTEN wrote: > Hi Mark? > > Hmmm? So it would appear if we wanted to make the ability for devices to discover each other, say via bluetooth, and we may use Android devices, we'd be best going after the socket external as opposed to the Game Center external. > > I'm guessing with the socket external there would be a little less chance of Apple changing the "rules" so to speak on how devices can discover each other (if we went the Game Center external route). > > It just seems like one less issue to worry about. > > I'll have to wait and see? > > Thanks! For discovery I have mergBonjour. I will be doing an android version of mergBonjour at some point in the future after there's an android externals sdk available. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From johnpatten at me.com Thu Dec 13 15:31:40 2012 From: johnpatten at me.com (JOHN PATTEN) Date: Thu, 13 Dec 2012 12:31:40 -0800 Subject: Mobile sockets crowd funding opportunity In-Reply-To: References: <9BACD0F4-2F6A-479C-8D69-8B2B7BF5284E@sweattechnologies.com> <870289D2-1BD2-4118-B7FC-DFC7CDE25701@m-r-d.de> <3BF4FC41-2CBF-4C61-B0C4-0978393D1010@sweattechnologies.com> <651EA1C2-513C-437F-9C1E-D54F4B47C162@canelasoftware.com> Message-ID: <3668C08A-0517-4D1D-B9FD-74FC4765FB0D@me.com> Thanks Monte? I'm not familiar with Bonjour other than for the usual finding printers and OS stuff. I hadn't thought of using Bonjour to allow IOS devices to discover other iOS devices. This seems like a good direction to experiment in. Any example stacks floating around that demonstrate a simple iOS to iOS discovery and reply? Thank you! On Dec 13, 2012, at 12:22 PM, Monte Goulding wrote: > > On 14/12/2012, at 7:05 AM, JOHN PATTEN wrote: > >> Hi Mark? >> >> Hmmm? So it would appear if we wanted to make the ability for devices to discover each other, say via bluetooth, and we may use Android devices, we'd be best going after the socket external as opposed to the Game Center external. >> >> I'm guessing with the socket external there would be a little less chance of Apple changing the "rules" so to speak on how devices can discover each other (if we went the Game Center external route). >> >> It just seems like one less issue to worry about. >> >> I'll have to wait and see? >> >> Thanks! > > For discovery I have mergBonjour. I will be doing an android version of mergBonjour at some point in the future after there's an android externals sdk available. > > Cheers > > -- > 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 Dec 13 16:08:44 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 14 Dec 2012 08:08:44 +1100 Subject: Mobile sockets crowd funding opportunity In-Reply-To: <3668C08A-0517-4D1D-B9FD-74FC4765FB0D@me.com> References: <9BACD0F4-2F6A-479C-8D69-8B2B7BF5284E@sweattechnologies.com> <870289D2-1BD2-4118-B7FC-DFC7CDE25701@m-r-d.de> <3BF4FC41-2CBF-4C61-B0C4-0978393D1010@sweattechnologies.com> <651EA1C2-513C-437F-9C1E-D54F4B47C162@canelasoftware.com> <3668C08A-0517-4D1D-B9FD-74FC4765FB0D@me.com> Message-ID: <43657A45-EB41-45B6-A484-A960B666FC7F@sweattechnologies.com> Unfortunately this is where you need the sockets external because right now you can't accept connections (like a server). So at the moment it's just for finding desktop apps. On 14/12/2012, at 7:31 AM, JOHN PATTEN wrote: > Thanks Monte? > > I'm not familiar with Bonjour other than for the usual finding printers and OS stuff. I hadn't thought of using Bonjour to allow IOS devices to discover other iOS devices. This seems like a good direction to experiment in. > > Any example stacks floating around that demonstrate a simple iOS to iOS discovery and reply? > > Thank you! > > On Dec 13, 2012, at 12:22 PM, Monte Goulding wrote: > >> >> On 14/12/2012, at 7:05 AM, JOHN PATTEN wrote: >> >>> Hi Mark? >>> >>> Hmmm? So it would appear if we wanted to make the ability for devices to discover each other, say via bluetooth, and we may use Android devices, we'd be best going after the socket external as opposed to the Game Center external. >>> >>> I'm guessing with the socket external there would be a little less chance of Apple changing the "rules" so to speak on how devices can discover each other (if we went the Game Center external route). >>> >>> It just seems like one less issue to worry about. >>> >>> I'll have to wait and see? >>> >>> Thanks! >> >> For discovery I have mergBonjour. I will be doing an android version of mergBonjour at some point in the future after there's an android externals sdk available. >> >> Cheers >> >> -- >> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 andrew at ctech.me Thu Dec 13 16:23:03 2012 From: andrew at ctech.me (Andrew Kluthe) Date: Thu, 13 Dec 2012 15:23:03 -0600 Subject: Mobile sockets crowd funding opportunity In-Reply-To: References: <9BACD0F4-2F6A-479C-8D69-8B2B7BF5284E@sweattechnologies.com> <870289D2-1BD2-4118-B7FC-DFC7CDE25701@m-r-d.de> <3BF4FC41-2CBF-4C61-B0C4-0978393D1010@sweattechnologies.com> <651EA1C2-513C-437F-9C1E-D54F4B47C162@canelasoftware.com> Message-ID: Sorry to interject, but is there any kind of vague time frame for android externals that runrev has talked about? We are hesitant to start using livecode on android for ambitious projects until we know monte has provided the correct weapons to slay many of the unknown dragons lurking in the android implementation of livecode. Sockets, advanced mapping/geospatial stuff is all being thought about when it comes to what is possible for us to make apps that leverage these features. On Thu, Dec 13, 2012 at 2:22 PM, Monte Goulding wrote: > in the future after there's an android externals sdk available. -- Regards, Andrew Kluthe andrew at ctech.me From niconiko at gmail.com Thu Dec 13 16:39:35 2012 From: niconiko at gmail.com (Nicolas Cueto) Date: Fri, 14 Dec 2012 06:39:35 +0900 Subject: Mobile sockets crowd funding opportunity In-Reply-To: References: <9BACD0F4-2F6A-479C-8D69-8B2B7BF5284E@sweattechnologies.com> <870289D2-1BD2-4118-B7FC-DFC7CDE25701@m-r-d.de> <3BF4FC41-2CBF-4C61-B0C4-0978393D1010@sweattechnologies.com> <651EA1C2-513C-437F-9C1E-D54F4B47C162@canelasoftware.com> Message-ID: > Sorry to interject, but is there any kind of vague time frame for > android externals that runrev has talked about? There's already been enough vagueness on this. Android SDK here yesterday ... pretty please! -- Nicolas Cueto From userev at canelasoftware.com Thu Dec 13 16:42:33 2012 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 13 Dec 2012 13:42:33 -0800 Subject: Mobile sockets crowd funding opportunity In-Reply-To: References: <9BACD0F4-2F6A-479C-8D69-8B2B7BF5284E@sweattechnologies.com> <870289D2-1BD2-4118-B7FC-DFC7CDE25701@m-r-d.de> <3BF4FC41-2CBF-4C61-B0C4-0978393D1010@sweattechnologies.com> <651EA1C2-513C-437F-9C1E-D54F4B47C162@canelasoftware.com> Message-ID: <1E1B10D8-38D4-4EE3-AEE9-6026BE304E64@canelasoftware.com> On Dec 13, 2012, at 12:05 PM, JOHN PATTEN wrote: > Hi Mark? > > Hmmm? So it would appear if we wanted to make the ability for devices to discover each other, say via bluetooth, and we may use Android devices, we'd be best going after the socket external as opposed to the Game Center external. > > I'm guessing with the socket external there would be a little less chance of Apple changing the "rules" so to speak on how devices can discover each other (if we went the Game Center external route). > > It just seems like one less issue to worry about. > > I'll have to wait and see? > > Thanks! I am not sure about bluetooth and the sockets external under development. Monte will have to chime in on that. I am expecting to be able to access the wifi and ethernet for sure though. Best regards, Mark Talluto http://www.canelasoftware.com From monte at sweattechnologies.com Thu Dec 13 16:50:15 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 14 Dec 2012 08:50:15 +1100 Subject: Mobile sockets crowd funding opportunity In-Reply-To: References: <9BACD0F4-2F6A-479C-8D69-8B2B7BF5284E@sweattechnologies.com> <870289D2-1BD2-4118-B7FC-DFC7CDE25701@m-r-d.de> <3BF4FC41-2CBF-4C61-B0C4-0978393D1010@sweattechnologies.com> <651EA1C2-513C-437F-9C1E-D54F4B47C162@canelasoftware.com> Message-ID: <29504A80-4EC1-4844-9F65-8868E11F5E72@sweattechnologies.com> All I can say is if you know where to look after an iOS sdk external is compiled you will see that some work has been done to implement android externals and java interface etc. So... it's still in the hopefully soon bot don't hold your breath category. On 14/12/2012, at 8:23 AM, Andrew Kluthe wrote: > Sorry to interject, but is there any kind of vague time frame for > android externals that runrev has talked about? -- 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 Thu Dec 13 16:52:12 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 14 Dec 2012 08:52:12 +1100 Subject: Mobile sockets crowd funding opportunity In-Reply-To: <1E1B10D8-38D4-4EE3-AEE9-6026BE304E64@canelasoftware.com> References: <9BACD0F4-2F6A-479C-8D69-8B2B7BF5284E@sweattechnologies.com> <870289D2-1BD2-4118-B7FC-DFC7CDE25701@m-r-d.de> <3BF4FC41-2CBF-4C61-B0C4-0978393D1010@sweattechnologies.com> <651EA1C2-513C-437F-9C1E-D54F4B47C162@canelasoftware.com> <1E1B10D8-38D4-4EE3-AEE9-6026BE304E64@canelasoftware.com> Message-ID: <2640C7B8-20C4-4948-BE81-F39314CD49CB@sweattechnologies.com> I expect the external won't care about the hardware as long as there's an ip network. On 14/12/2012, at 8:42 AM, Mark Talluto wrote: > I am not sure about bluetooth and the sockets external under development. Monte will have to chime in on that. I am expecting to be able to access the wifi and ethernet for sure though. -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From capellan2000 at gmail.com Thu Dec 13 17:00:39 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 13 Dec 2012 14:00:39 -0800 (PST) Subject: ZLib DEFLATE In-Reply-To: <1355430020853-4658087.post@n4.nabble.com> References: <1355177042.81726.YahooMailNeo@web141102.mail.bf1.yahoo.com> <1355430020853-4658087.post@n4.nabble.com> Message-ID: <1355436039363-4658096.post@n4.nabble.com> Hi Jan, I forgot to wrote: Decompress function (Deflate) in Livecode does not care at all about the gzip's crc32, but will truncate or append binary data to fit the decompressed data length as stated in the last four bytes of the gzip binary string... This means that you could create an invalid gzip string by appending a header, an invalid crc32 string of 4 bytes, but the last four bytes must have the exact length of the decompressed data or this data will be truncated or inflated with a lot of garbage at the end, just to "fill". If you are creating yourself this deflated binary string, then you could know the decompressed data length in advance. Alejandro -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ZLib-DEFLATE-tp4658027p4658096.html Sent from the Revolution - User mailing list archive at Nabble.com. From matthias_livecode_150811 at m-r-d.de Thu Dec 13 17:52:56 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 13 Dec 2012 23:52:56 +0100 Subject: revBrowser with LC 5.5.x - is someone getting this working? Message-ID: Hi all, i am trying to get revBrowser to run with LC 5.5.x, but w/o success. I even tried the browser sample, also w/o success. The browser rect stays empty. Loading the url seems to work, at least the browserdocumentcomplete message is sent. Is anyone out there who is using revBrowser successfully with LC 5.5.x on Mac OS x. Regards, Matthias From matthias_livecode_150811 at m-r-d.de Thu Dec 13 18:07:09 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 14 Dec 2012 00:07:09 +0100 Subject: revBrowser with LC 5.5.x - is someone getting this working? In-Reply-To: References: Message-ID: <37FD99A1-978C-456A-A90C-8EFB5B0823C2@m-r-d.de> Hi again, after visiting the Runrev Quality Center i found the solution. If a backdrop is set then the browser window content is not shown on Mac OS X. As soon as i disable backdrop the browser content is shown. @Runrev: Why is this not mentioned in the release notes? ! Matthias Am 13.12.2012 um 23:52 schrieb Matthias Rebbe : > Hi all, > > i am trying to get revBrowser to run with LC 5.5.x, but w/o success. I even tried the browser sample, also w/o success. > > The browser rect stays empty. > > Loading the url seems to work, at least the browserdocumentcomplete message is sent. > > Is anyone out there who is using revBrowser successfully with LC 5.5.x on Mac OS x. > > > 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 userev at canelasoftware.com Thu Dec 13 19:16:17 2012 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 13 Dec 2012 16:16:17 -0800 Subject: Mobile sockets crowd funding opportunity In-Reply-To: <2640C7B8-20C4-4948-BE81-F39314CD49CB@sweattechnologies.com> References: <9BACD0F4-2F6A-479C-8D69-8B2B7BF5284E@sweattechnologies.com> <870289D2-1BD2-4118-B7FC-DFC7CDE25701@m-r-d.de> <3BF4FC41-2CBF-4C61-B0C4-0978393D1010@sweattechnologies.com> <651EA1C2-513C-437F-9C1E-D54F4B47C162@canelasoftware.com> <1E1B10D8-38D4-4EE3-AEE9-6026BE304E64@canelasoftware.com> <2640C7B8-20C4-4948-BE81-F39314CD49CB@sweattechnologies.com> Message-ID: <5AC49E28-017A-4985-8E5D-72DF342B00CB@canelasoftware.com> On Dec 13, 2012, at 1:52 PM, Monte Goulding wrote: > I expect the external won't care about the hardware as long as there's an ip network. > > On 14/12/2012, at 8:42 AM, Mark Talluto wrote: > >> I am not sure about bluetooth and the sockets external under development. Monte will have to chime in on that. I am expecting to be able to access the wifi and ethernet for sure though. Hmm. That sounds pretty cool! Best regards, Mark Talluto http://www.canelasoftware.com From slylabs13 at me.com Thu Dec 13 19:31:44 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Thu, 13 Dec 2012 16:31:44 -0800 Subject: revBrowser with LC 5.5.x - is someone getting this working? In-Reply-To: <37FD99A1-978C-456A-A90C-8EFB5B0823C2@m-r-d.de> References: <37FD99A1-978C-456A-A90C-8EFB5B0823C2@m-r-d.de> Message-ID: It's my humble opinion (and some may disagree) that the browser api in LC leaves much to be desired. Still, it's fine for a simple browser. I would like to see a browser object, perhaps something that ties into a local browser program but embedded, so it would be running inside an actual browser process like Firefox or Safari, only embedded. I may be asking for the moon here, perhaps that is not possible, but at least RunRev would not have to keep up with browser technology. But the whole thing of defining an area and writing to the screen no matter what is there seems a little kludgy to me. Bob On Dec 13, 2012, at 3:07 PM, Matthias Rebbe wrote: > Hi again, > > after visiting the Runrev Quality Center i found the solution. > If a backdrop is set then the browser window content is not shown on Mac OS X. > > As soon as i disable backdrop the browser content is shown. > > @Runrev: Why is this not mentioned in the release notes? ! > > > Matthias > > Am 13.12.2012 um 23:52 schrieb Matthias Rebbe : > >> Hi all, >> >> i am trying to get revBrowser to run with LC 5.5.x, but w/o success. I even tried the browser sample, also w/o success. >> >> The browser rect stays empty. >> >> Loading the url seems to work, at least the browserdocumentcomplete message is sent. >> >> Is anyone out there who is using revBrowser successfully with LC 5.5.x on Mac OS x. >> >> >> 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 scott at tactilemedia.com Thu Dec 13 20:08:48 2012 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 13 Dec 2012 17:08:48 -0800 Subject: revBrowser with LC 5.5.x - is someone getting this working? In-Reply-To: <37FD99A1-978C-456A-A90C-8EFB5B0823C2@m-r-d.de> Message-ID: Hi Matthias: Apparently it's a Mac tech limitation and/or bug. In one of my projects that required revBrowser & backdrop I used a crazy hack of dynamically setting up a full-screen window as a fake backdrop and changing the main stack to palette to prevent the main stack from slipping behind the "backdrop". It was pretty heinous but seemed to work OK. This was only an option though because we didn't have a standard OS X titlebar on the window. If you need the standard titlebar, you might be out of luck. Regards, Scott Rossi Creative Director Tactile Media, UX Design On 12/13/12 3:07 PM, "Matthias Rebbe" wrote: >Hi again, > >after visiting the Runrev Quality Center i found the solution. >If a backdrop is set then the browser window content is not shown on Mac >OS X. > >As soon as i disable backdrop the browser content is shown. > >@Runrev: Why is this not mentioned in the release notes? ! > > >Matthias > >Am 13.12.2012 um 23:52 schrieb Matthias Rebbe >: > >> Hi all, >> >> i am trying to get revBrowser to run with LC 5.5.x, but w/o success. I >>even tried the browser sample, also w/o success. >> >> The browser rect stays empty. >> >> Loading the url seems to work, at least the browserdocumentcomplete >>message is sent. >> >> Is anyone out there who is using revBrowser successfully with LC 5.5.x >>on Mac OS x. >> >> >> 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 pete at lcsql.com Thu Dec 13 21:49:35 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 13 Dec 2012 18:49:35 -0800 Subject: Strict Compile Mode Utility Message-ID: A few weeks back, I switched over to using Strict Compile Mode in all my applications. SInce very few of my scripts declared any local variables, it was a time consuming task to get them all to compile error free. I ended up writing a utility to help with the task and am making is available free to anyone who cares to use it. The stack name is setLocals and you can download it from my web site . It's currently set up to work in conjunction with my lcStackbrowser plugin but that can be changed by altering a couple of lines of code to define the object whose script you want to update (the stack is not password protected). The Help for the stack will explain in detail how it works but the basics are that it will analyze the script of any object you point it to, and list the "local" statements required to declare all the variables in each handler. It will also insert the local statements into a copy of the script and "Apply" it, listing any compile errors that might occur. It saved me a good number of hours of tracking down undeclared variables and hope it might help anyone going through the same process. Feel free to adapt it as appropriate. I'll try to answer questions about it as time permits. Pete lcSQL Software From tvogelaar at de-mare.nl Fri Dec 14 00:40:05 2012 From: tvogelaar at de-mare.nl (Terry Vogelaar) Date: Fri, 14 Dec 2012 06:40:05 +0100 Subject: [kind of OT] Robots Message-ID: <5025D436-EE72-4B9A-9AA5-D64CA66AEB37@de-mare.nl> I remember I have seen a video where Kevin Miller and someone else demonstrate a home made robot that is programmable using LiveCode. But I cannot find that video. I would be very interested in such a robot. Where can I find the parts/software? With kind regards, Terry Vogelaar From janschenkel at yahoo.com Fri Dec 14 05:44:08 2012 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri, 14 Dec 2012 02:44:08 -0800 (PST) Subject: ZLib DEFLATE In-Reply-To: <1355436039363-4658096.post@n4.nabble.com> References: <1355177042.81726.YahooMailNeo@web141102.mail.bf1.yahoo.com> <1355430020853-4658087.post@n4.nabble.com> <1355436039363-4658096.post@n4.nabble.com> Message-ID: <1355481848.58702.YahooMailNeo@web141102.mail.bf1.yahoo.com> Thank you for this information, Alejandro. Here's the rub: I'm trying to parse existing PNG files which I didn't create, so I don't know beforehand what the uncompressed data size would be. On the other hand, I should be able to figure out what the original size is: I'm trying to inflate the pixel data, and I know the width and height, as well as the bits per component. Another potential pitfall is that DEFLATE may employ Huffman codes, which isn't part of the GZIP file format. Anyway, I now have a new way to tackelt his problem, so thanks again! Once I have it working, it will be part of the open source Quartam PDF Library. 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: Alejandro Tejada To: use-revolution at lists.runrev.com Cc: Sent: Thursday, December 13, 2012 11:00 PM Subject: Re: ZLib DEFLATE Hi Jan, I forgot to wrote: Decompress function (Deflate) in Livecode does not care at all about the gzip's crc32, but will truncate or append binary data to fit the decompressed data length as stated in the last four bytes of the gzip binary string... ? This means that you could create an invalid gzip string by appending a header, an invalid crc32 string of 4 bytes, but the last four bytes must have the exact length of the decompressed data or this data will be truncated or inflated with a lot of garbage at the end, just to "fill". If you are creating yourself this deflated binary string, then you could know the decompressed data length in advance. Alejandro -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ZLib-DEFLATE-tp4658027p4658096.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 curry at pair.com Fri Dec 14 09:09:22 2012 From: curry at pair.com (Curry Kenworthy) Date: Fri, 14 Dec 2012 08:09:22 -0600 Subject: FT: Another FieldTrip Pre-Beta Note In-Reply-To: References: Message-ID: <50CB3312.5020207@pair.com> Howdy FieldTrip Folks, While testing and wrapping up this first version of FT, I decided to add a few more features, and also ran into a crasher LC field bug on Android to work around, so now I'm back to testing and wrapping up! I've been putting all my dev time into preparing this release for the last several days. I'm not going to rush the release out prematurely if I run into another issue; quality first! But it looks like smooth sailing again, now that the crasher is solved. I will post the link here, on this list, when it's ready to download. Thanks again! Best wishes, Curry Kenworthy -- WordLib: Import MS Word and OpenOffice documents http://curryk.com/wordlib.html WordReport: Template-driven MS Word and OpenOffice reports http://curryk.com/wordreport.html FieldTrip http://www.curryk.com/fieldtrip-preorder.html From mikekann at yahoo.com Fri Dec 14 10:18:49 2012 From: mikekann at yahoo.com (Michael Kann) Date: Fri, 14 Dec 2012 07:18:49 -0800 (PST) Subject: [kind of OT] Robots In-Reply-To: <5025D436-EE72-4B9A-9AA5-D64CA66AEB37@de-mare.nl> Message-ID: <1355498329.89128.YahooMailClassic@web120504.mail.ne1.yahoo.com> http://runrev.com/newsletter/october/issue79/newsletter1.php --- On Thu, 12/13/12, Terry Vogelaar wrote: From: Terry Vogelaar Subject: [kind of OT] Robots To: use-livecode at lists.runrev.com Date: Thursday, December 13, 2012, 11:40 PM I remember I have seen a video where Kevin Miller and someone else demonstrate a home made robot that is programmable using LiveCode. But I cannot find that video. I would be very interested in such a robot. Where can I find the parts/software? With kind regards, Terry Vogelaar _______________________________________________ use-livecode mailing list use-livecode at 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 Dec 14 11:33:36 2012 From: andrew at ctech.me (Andrew Kluthe) Date: Fri, 14 Dec 2012 10:33:36 -0600 Subject: Jerry Daniels ComboBox Message-ID: I used to have it downloaded and now I can't find it. All the links I have found are now dead. Does anyone have a copy of the "Jerry Daniels ComboBox" that appeared in http://www.runrev.com/newsletter/march/issue87/newsletter4.php -- Regards, Andrew Kluthe andrew at ctech.me From matthias_livecode_150811 at m-r-d.de Fri Dec 14 12:11:21 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 14 Dec 2012 18:11:21 +0100 Subject: revBrowser with LC 5.5.x - is someone getting this working? In-Reply-To: References: Message-ID: i ran into this while in ide. I am using the backdrop in ide, because i am a desktop messie / clutterer. ;) But i keep your tip in mind. Thanks. Regards, Matthias Am 14.12.2012 um 02:08 schrieb Scott Rossi : > Hi Matthias: > > Apparently it's a Mac tech limitation and/or bug. > > In one of my projects that required revBrowser & backdrop I used a crazy > hack of dynamically setting up a full-screen window as a fake backdrop and > changing the main stack to palette to prevent the main stack from slipping > behind the "backdrop". It was pretty heinous but seemed to work OK. This > was only an option though because we didn't have a standard OS X titlebar > on the window. If you need the standard titlebar, you might be out of > luck. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > > On 12/13/12 3:07 PM, "Matthias Rebbe" > wrote: > >> Hi again, >> >> after visiting the Runrev Quality Center i found the solution. >> If a backdrop is set then the browser window content is not shown on Mac >> OS X. >> >> As soon as i disable backdrop the browser content is shown. >> >> @Runrev: Why is this not mentioned in the release notes? ! >> >> >> Matthias >> >> Am 13.12.2012 um 23:52 schrieb Matthias Rebbe >> : >> >>> Hi all, >>> >>> i am trying to get revBrowser to run with LC 5.5.x, but w/o success. I >>> even tried the browser sample, also w/o success. >>> >>> The browser rect stays empty. >>> >>> Loading the url seems to work, at least the browserdocumentcomplete >>> message is sent. >>> >>> Is anyone out there who is using revBrowser successfully with LC 5.5.x >>> on Mac OS x. >>> >>> >>> 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 pete at lcsql.com Fri Dec 14 12:37:37 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 14 Dec 2012 09:37:37 -0800 Subject: Soundex Message-ID: By any chance, has anyone made an LC script to turn a word into a soundex code? Pete lcSQL Software From mwieder at ahsoftware.net Fri Dec 14 12:42:59 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 14 Dec 2012 09:42:59 -0800 Subject: Why Android matters Message-ID: <38178438593.20121214094259@ahsoftware.net> All- Not so OT: -- -Mark Wieder mwieder at ahsoftware.net From andre at andregarzia.com Fri Dec 14 13:05:11 2012 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 14 Dec 2012 16:05:11 -0200 Subject: Why Android matters In-Reply-To: <38178438593.20121214094259@ahsoftware.net> References: <38178438593.20121214094259@ahsoftware.net> Message-ID: Time to translate your apps to Hindi or Tamil.... On Fri, Dec 14, 2012 at 3:42 PM, Mark Wieder wrote: > All- > > Not so OT: > > > > -- > -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 > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From capellan2000 at gmail.com Fri Dec 14 12:18:27 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 14 Dec 2012 09:18:27 -0800 (PST) Subject: revBrowser with LC 5.5.x - is someone getting this working? In-Reply-To: References: <37FD99A1-978C-456A-A90C-8EFB5B0823C2@m-r-d.de> Message-ID: <1355505507118-4658109.post@n4.nabble.com> Hi Robert, In the Windows Platform, the original altBrowser External from Altuit, allowed to choose between Firefox or Internet Explorer. This particular feature was unavailable in recent versions. By the way, all browsers are updated, at least weekly... some of them, more frecuently. Alejandro Robert Sneidar wrote > It's my humble opinion (and some may disagree) that the browser api in > LC leaves much to be desired. Still, it's fine for a simple browser. I > would like > to see a browser object, perhaps something that ties into a local browser > program but embedded, so it would be running inside an actual browser > process > like Firefox or Safari, only embedded. I may be asking for the moon here, > perhaps > that is not possible, but at least RunRev would not have to keep up with > browser > technology. But the whole thing of defining an area and writing to the > screen no > matter what is there seems a little kludgy to me. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/revBrowser-with-LC-5-5-x-is-someone-getting-this-working-tp4658097p4658109.html Sent from the Revolution - User mailing list archive at Nabble.com. From coiin at verizon.net Fri Dec 14 14:57:42 2012 From: coiin at verizon.net (Colin Holgate) Date: Fri, 14 Dec 2012 14:57:42 -0500 Subject: Why Android matters In-Reply-To: <38178438593.20121214094259@ahsoftware.net> References: <38178438593.20121214094259@ahsoftware.net> Message-ID: It uses the ArmV6 instruction set, which rules on some other tools (that require ArmV7). I think LiveCode is still ok for now. On Dec 14, 2012, at 12:42 PM, Mark Wieder wrote: > Not so OT: > > From devin_asay at byu.edu Fri Dec 14 16:25:29 2012 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 14 Dec 2012 21:25:29 +0000 Subject: Soundex In-Reply-To: References: Message-ID: <31BDC56EACAAF64688457CE3F71D9F1AF35118@Peas2.byu.local> I made one a while back. I just uploaded it to revOnline. Search for sounded or look under the 'algorithm' category. Regards, Devin On Dec 14, 2012, at 10:37 AM, Peter Haworth wrote: > By any chance, has anyone made an LC script to turn a word into a soundex > code? > 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 Devin Asay Office of Digital Humanities Brigham Young University From devin_asay at byu.edu Fri Dec 14 16:27:22 2012 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 14 Dec 2012 21:27:22 +0000 Subject: Soundex In-Reply-To: <31BDC56EACAAF64688457CE3F71D9F1AF35118@Peas2.byu.local> References: <31BDC56EACAAF64688457CE3F71D9F1AF35118@Peas2.byu.local> Message-ID: <31BDC56EACAAF64688457CE3F71D9F1AF35160@Peas2.byu.local> Sorry, that should be "Search for soundex". Stupid auto-correct. DNA On Dec 14, 2012, at 2:25 PM, Devin Asay wrote: > I made one a while back. I just uploaded it to revOnline. Search for sounded or look under the 'algorithm' category. > > Regards, > > Devin > > > > On Dec 14, 2012, at 10:37 AM, Peter Haworth wrote: > >> By any chance, has anyone made an LC script to turn a word into a soundex >> code? >> 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 > > Devin Asay > Office of Digital Humanities > 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 Devin Asay Office of Digital Humanities Brigham Young University From pete at lcsql.com Fri Dec 14 16:41:10 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 14 Dec 2012 13:41:10 -0800 Subject: Soundex In-Reply-To: <31BDC56EACAAF64688457CE3F71D9F1AF35160@Peas2.byu.local> References: <31BDC56EACAAF64688457CE3F71D9F1AF35118@Peas2.byu.local> <31BDC56EACAAF64688457CE3F71D9F1AF35160@Peas2.byu.local> Message-ID: Thanks Devin - I thought the reference to "sounded" was intended to be a soundex joke! Pete lcSQL Software On Fri, Dec 14, 2012 at 1:27 PM, Devin Asay wrote: > Sorry, that should be "Search for soundex". Stupid auto-correct. > > DNA > > On Dec 14, 2012, at 2:25 PM, Devin Asay wrote: > > > I made one a while back. I just uploaded it to revOnline. Search for > sounded or look under the 'algorithm' category. > > > > Regards, > > > > Devin > > > > > > > > On Dec 14, 2012, at 10:37 AM, Peter Haworth wrote: > > > >> By any chance, has anyone made an LC script to turn a word into a > soundex > >> code? > >> 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 > > > > Devin Asay > > Office of Digital Humanities > > 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 > > Devin Asay > Office of Digital Humanities > 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 pete at lcsql.com Fri Dec 14 16:45:00 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 14 Dec 2012 13:45:00 -0800 Subject: Soundex In-Reply-To: <31BDC56EACAAF64688457CE3F71D9F1AF35160@Peas2.byu.local> References: <31BDC56EACAAF64688457CE3F71D9F1AF35118@Peas2.byu.local> <31BDC56EACAAF64688457CE3F71D9F1AF35160@Peas2.byu.local> Message-ID: Hi Devi, This looks great. I'd like to use it in a free utility I'm supplying - is that OK? With attribution of course. Pete lcSQL Software On Fri, Dec 14, 2012 at 1:27 PM, Devin Asay wrote: > Sorry, that should be "Search for soundex". Stupid auto-correct. > > DNA > > On Dec 14, 2012, at 2:25 PM, Devin Asay wrote: > > > I made one a while back. I just uploaded it to revOnline. Search for > sounded or look under the 'algorithm' category. > > > > Regards, > > > > Devin > > > > > > > > On Dec 14, 2012, at 10:37 AM, Peter Haworth wrote: > > > >> By any chance, has anyone made an LC script to turn a word into a > soundex > >> code? > >> 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 > > > > Devin Asay > > Office of Digital Humanities > > 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 > > Devin Asay > Office of Digital Humanities > 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 devin_asay at byu.edu Fri Dec 14 17:00:02 2012 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 14 Dec 2012 22:00:02 +0000 Subject: Soundex In-Reply-To: References: <31BDC56EACAAF64688457CE3F71D9F1AF35118@Peas2.byu.local> <31BDC56EACAAF64688457CE3F71D9F1AF35160@Peas2.byu.local> Message-ID: <31BDC56EACAAF64688457CE3F71D9F1AF354E6@Peas2.byu.local> On Dec 14, 2012, at 2:45 PM, Peter Haworth wrote: > Hi Devi, > This looks great. I'd like to use it in a free utility I'm supplying - is > that OK? With attribution of course. > Pete > lcSQL Software Sure! Happy to help spread the soundex gospel. ;) Appreciate the attribution. You may notice that this is slightly modified from the original soundex algo. The modifications are intended to control for additional spelling quirks of English. Devin Devin Asay Office of Digital Humanities Brigham Young University From iangmcknight at gmail.com Fri Dec 14 17:19:26 2012 From: iangmcknight at gmail.com (Ian McKnight) Date: Fri, 14 Dec 2012 22:19:26 +0000 Subject: Jerry Daniels ComboBox In-Reply-To: References: Message-ID: Hi Andrew I have a copy of both the article and the combo-box stack. I'll send a copy to you off list in a zip file On 14 December 2012 16:33, Andrew Kluthe wrote: > I used to have it downloaded and now I can't find it. All the links I > have found are now dead. Does anyone have a copy of the "Jerry Daniels > ComboBox" that appeared in > http://www.runrev.com/newsletter/march/issue87/newsletter4.php > > -- > 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 > -- Regards Ian McKnight iangmcknight at gmail.com ======================= From calhorner at xtra.co.nz Fri Dec 14 17:39:59 2012 From: calhorner at xtra.co.nz (Cal Horner) Date: Sat, 15 Dec 2012 11:39:59 +1300 (New Zealand Daylight Time) Subject: LC 5.5.3 and Windows Explorer 7 Message-ID: <50CBAABF.000003.00804@CALS_BIG_PC> I've rebuilt my machine recently, in order to accommodate the Windows 7 Operation system. And now when I start up the LC IDE 5.5.3 Windows Explorer goes into a sleep mode. The sleep mode also occurs when I shut down LC IDE 5.5.3. Do any of you Forum members have this problem or am I the only one suffering from this hiccup? From dixonja at hotmail.co.uk Sat Dec 15 02:15:06 2012 From: dixonja at hotmail.co.uk (John Dixon) Date: Sat, 15 Dec 2012 07:15:06 +0000 Subject: Attaching stacks in the forum Message-ID: Is it just me or are there others having problems attaching a stack to a post in the forum ? Dixie From davidocoker at gmail.com Sat Dec 15 02:46:18 2012 From: davidocoker at gmail.com (David C.) Date: Sat, 15 Dec 2012 01:46:18 -0600 Subject: Attaching stacks in the forum In-Reply-To: References: Message-ID: > Is it just me or are there others having problems attaching a stack to a post in the forum ? > > Dixie > I've never had any problems at all, but the stack definitely needs to be attached in zip format. Regards, David C. From richmondmathewson at gmail.com Sat Dec 15 09:10:27 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 15 Dec 2012 16:10:27 +0200 Subject: Unicode and the higher planes of existence. In-Reply-To: References: <50C8EEC7.9040902@gmail.com> Message-ID: <50CC84D3.8090208@gmail.com> On 12/13/2012 04:29 AM, Peter W A Wood wrote: > According to the User Guide, LiveCode employs UTF-16 encoding: > > "LiveCode fields and other controls use the UTF-16 encoding for Unicode. In order to use Unicode in a field or in the labels of controls, paste in Unicode text, or set the textFont of the control to ",unicode"." > > As I understand, characters beyond the Basic Multilingual Plane occupy two "UTF-16 Characters" > > This example is taken from the Mac Character Viewer: > ? > GREEK ACROPHONIC ATTIC TEN STATERS > Unicode: U+10150 (U+D800 U+DD50), UTF-8: F0 90 85 90 > > This worked for me (using LiveCode 5.5.3): > > on mouseUp > set the useUnicode to true > set the unicodeText of fld "f1" to numToChar(55296) & numToChar(56656) > end mouseUp > > Hope this helps. > > Peter > I'm sorry I took so long to get back with this; lots of other stuff on my plate! Maybe this is a bit naive; but how does one derive the 2 Hex numbers for a character beyond the Basic Multilingual Plane if one knows the Unicode address? > > On 13 Dec 2012, at 04:53, Richmond wrote: > >> So there I am wondering about the higher plains (the svarga-lokas . . . LOL), so I try >> this: >> >> I make a stack with 2 buttons (called 'button 1' and 'button 2' respectively) >> and 2 fields (called 'f1' and 'f2' repectively) and put the following code into button 1: >> >> on mouseUp >> set the useUnicode to true >> set the unicodeText of fld "f1" to numToChar(65940) >> end mouseUp >> >> and when I click on the button I get nothing like anything that should appear (a capital X with a bar through its middle), >> but something that resembles a badly deformed Hebrew 'Ain'. >> >> in button 2 I put the following script: >> >> on mouseUp >> set the useUnicode to true >> put charToNum(fld"f1") into fld "f2" >> end mouseUp >> >> and get "404", which is, indeed a sort of funny 'Ain'. >> >> This would seem to suggest 2 things: >> >> 1. RR/LC cannot cope with Unicode addresses above the first plane. >> >> 2. RR/LC copes with this by truncating the addresses. >> >> Does anybody know of a work around for this? >> >> [this does not affect my work directly, but does interest me both in terms of future work, and >> relating to the capabilities of RR/LC in general] >> >> Richmond. >> >> _ From peterwawood at gmail.com Sat Dec 15 09:40:47 2012 From: peterwawood at gmail.com (Peter W A Wood) Date: Sat, 15 Dec 2012 22:40:47 +0800 Subject: Unicode and the higher planes of existence. In-Reply-To: <50CC84D3.8090208@gmail.com> References: <50C8EEC7.9040902@gmail.com> <50CC84D3.8090208@gmail.com> Message-ID: Richmond > Maybe this is a bit naive; but how does one derive the 2 Hex numbers for a character beyond the > Basic Multilingual Plane if one knows the Unicode address? The algorithm is explained here - http://en.wikipedia.org/wiki/UTF-16#Code_points_U.2B10000_to_U.2B10FFFF Implementing it will require you to twiddle bits and no doubt the use of bitAnd, bitOr and bitXor. I don't have time to take a stab at such a routine right now but will try if you're really stuck. Regards Peter From richmondmathewson at gmail.com Sat Dec 15 11:30:04 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 15 Dec 2012 18:30:04 +0200 Subject: Unicode and the higher planes of existence. In-Reply-To: References: <50C8EEC7.9040902@gmail.com> <50CC84D3.8090208@gmail.com> Message-ID: <50CCA58C.1070003@gmail.com> On 12/15/2012 04:40 PM, Peter W A Wood wrote: > Richmond > >> Maybe this is a bit naive; but how does one derive the 2 Hex numbers for a character beyond the >> Basic Multilingual Plane if one knows the Unicode address? > The algorithm is explained here - http://en.wikipedia.org/wiki/UTF-16#Code_points_U.2B10000_to_U.2B10FFFF > > Implementing it will require you to twiddle bits and no doubt the use of bitAnd, bitOr and bitXor. > > I don't have time to take a stab at such a routine right now but will try if you're really stuck. > > Regards > > Peter > > Thanks. I'm not stuck as, right now (and probably for at least another 2 years if I stick to my GANTT chart) it is neither here nor there. I will, as a sort of "kinky Christmas present" to myself, have a go at this; and, in the unlikely event of success will post the results here :) Richmond. From richmondmathewson at gmail.com Sat Dec 15 11:35:40 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 15 Dec 2012 18:35:40 +0200 Subject: Unicode and the higher planes of existence. In-Reply-To: References: <50C8EEC7.9040902@gmail.com> <50CC84D3.8090208@gmail.com> Message-ID: <50CCA6DC.5070900@gmail.com> There is a discussion with algorithms here: http://www.unicode.org/faq/utf_bom.html#utf16-4 However, I cannot understand it, and feel that there is an element of obfuscation going on there. Richmond. From sc at sahores-conseil.com Sat Dec 15 11:50:14 2012 From: sc at sahores-conseil.com (Pierre Sahores) Date: Sat, 15 Dec 2012 17:50:14 +0100 Subject: FT: Another FieldTrip Pre-Beta Note In-Reply-To: <50CB3312.5020207@pair.com> References: <50CB3312.5020207@pair.com> Message-ID: <4B86F549-F073-4D75-989B-04A57420FF10@sahores-conseil.com> Thanks for this short list news report Curry ! Best, Pierre Le 14 d?c. 2012 ? 15:09, Curry Kenworthy a ?crit : > > Howdy FieldTrip Folks, > > While testing and wrapping up this first version of FT, I decided to add a few more features, and also ran into a crasher LC field bug on Android to work around, so now I'm back to testing and wrapping up! I've been putting all my dev time into preparing this release for the last several days. > > I'm not going to rush the release out prematurely if I run into another issue; quality first! But it looks like smooth sailing again, now that the crasher is solved. I will post the link here, on this list, when it's ready to download. Thanks again! > > Best wishes, > > Curry Kenworthy > -- > WordLib: Import MS Word and OpenOffice documents > http://curryk.com/wordlib.html > > WordReport: Template-driven MS Word and OpenOffice reports > http://curryk.com/wordreport.html > > FieldTrip > http://www.curryk.com/fieldtrip-preorder.html > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 lvhdgc7 at gmail.com Sat Dec 15 12:02:48 2012 From: lvhdgc7 at gmail.com (tbodine) Date: Sat, 15 Dec 2012 09:02:48 -0800 (PST) Subject: FT: Another FieldTrip Pre-Beta Note In-Reply-To: <50CB3312.5020207@pair.com> References: <50CB3312.5020207@pair.com> Message-ID: <1355590968421-4658128.post@n4.nabble.com> Thanks. I appreciate your commitment to quality and look forward to Field Trip. -- Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/FT-Another-FieldTrip-Pre-Beta-Note-tp4658105p4658128.html Sent from the Revolution - User mailing list archive at Nabble.com. From ludovic.thebault at laposte.net Sun Dec 16 04:44:55 2012 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Sun, 16 Dec 2012 10:44:55 +0100 Subject: Multistacks and iOS simulator bug ? Message-ID: Hello, I've found something like a bug : I've an stack which contains substacks (one for iPad, one for the retina iPhone). The mainstack is for the "classic" iPhone. When i made changes on a substack without changed anything in the mainstack and i test on the simulator (even if i delete the app on the simulator before) : the change are not applied which is very confusing ! I need to modify something on the mainstack to see the change on my substack in the simulator. I lost some neurons and hours on this ! ;) Can someone confirm ? Thanks. From richmondmathewson at gmail.com Sun Dec 16 07:37:02 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 16 Dec 2012 14:37:02 +0200 Subject: Quit Message-ID: <50CDC06E.6040907@gmail.com> So, a besetting problem of my Devawriter is that as it closes down on Quit the end-user is subjected to an "entertaining light-show" where the main stack and the substacks appear and disappear several times. This is NOT GOOD. I would be grateful if anyone could put me straight in this respect. Richmond. From terry.judd at unimelb.edu.au Sun Dec 16 14:18:21 2012 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Sun, 16 Dec 2012 19:18:21 +0000 Subject: [OT] Using VBscript to send an email via outlook Message-ID: Hi all - I want (if possible) to use a VBscript to format and send emails from Livecode via Outlook on Windows ( I need to do it this way so that I can take advantage of Outlook's DeferredDeliveryTime feature). Now, I know little or nothing about VBscript but the following routine (courtesy of a Google search) runs fine as a macro within Excel. If however I try to run it from Livecode (do [code] as "VBscript") it returns 'execution error' in the result. Does anyone know enough VBscript to tell me what I'm missing? Regards, Terry... Sub SendMail() Dim OutApp As Object Dim Outmail As Object Dim strBody As String Set OutApp = CreateObject("Outlook.Application") OutApp.session.logon Set Outmail = OutApp.CreateItem(0) strBody = "This is a test" On Error Resume Next With Outmail .To = "tsj at unimelb.edu.au" .CC = "" .BCC = "" .Subject = "Test email" .Body = strBody .DeferredDeliveryTime = "16/12/2012 16:00:00" 'dd/mm/yyyy hh:mm:ss' .Send End With On Error GoTo 0 Set Outmail = Nothing Set OutApp = Nothing End Sub Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From bonnmike at gmail.com Sun Dec 16 14:25:29 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 16 Dec 2012 12:25:29 -0700 Subject: [OT] Using VBscript to send an email via outlook In-Reply-To: References: Message-ID: Try dumping the vbscript to a .vbs file and execute it with shell("myfile.vbs") In many cases it will just work. (probably send it to the temp folder so you don't have to worry about cleanup afterwards) On Sun, Dec 16, 2012 at 12:18 PM, Terry Judd wrote: > Hi all - I want (if possible) to use a VBscript to format and send emails > from Livecode via Outlook on Windows ( I need to do it this way so that I > can take advantage of Outlook's DeferredDeliveryTime feature). > > Now, I know little or nothing about VBscript but the following routine > (courtesy of a Google search) runs fine as a macro within Excel. If however > I try to run it from Livecode (do [code] as "VBscript") it returns > 'execution error' in the result. Does anyone know enough VBscript to tell > me what I'm missing? > > Regards, > > Terry... > > Sub SendMail() > Dim OutApp As Object > Dim Outmail As Object > Dim strBody As String > Set OutApp = CreateObject("Outlook.Application") > OutApp.session.logon > Set Outmail = OutApp.CreateItem(0) > strBody = "This is a test" > On Error Resume Next > With Outmail > .To = "tsj at unimelb.edu.au" > .CC = "" > .BCC = "" > .Subject = "Test email" > .Body = strBody > .DeferredDeliveryTime = "16/12/2012 16:00:00" 'dd/mm/yyyy hh:mm:ss' > .Send > End With > On Error GoTo 0 > Set Outmail = Nothing > Set OutApp = Nothing > End Sub > > > 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 andre.rombauts at gmail.com Sun Dec 16 15:15:49 2012 From: andre.rombauts at gmail.com (=?iso-8859-1?Q?Andr=E9_Rombauts?=) Date: Sun, 16 Dec 2012 21:15:49 +0100 Subject: Has anyone already used Zenfolio API in LiveCode? Message-ID: <5D776AE5-8B04-4D10-93A8-3EC8ACB84336@gmail.com> Hello everyone, The question is in the object... Andr? Rombauts From kray at sonsothunder.com Sun Dec 16 15:32:33 2012 From: kray at sonsothunder.com (Kennan Ray) Date: Sun, 16 Dec 2012 14:32:33 -0600 Subject: [OT] Using VBscript to send an email via outlook In-Reply-To: References: Message-ID: <97B495D4-9143-402A-B070-CA919804F1D1@sonsothunder.com> Terry, I wouldn't use script that works inside a Microsoft app because that's likely to be *VBA* (VB for Applications) and not *VBS* (VB Script) and they have some differences. try looking for raw VBS examples. I'm not at my desk or I'd give you some code, but hopefully this will point you in the right direction. Ken Ray Sons of Thunder Software, Inc. On Dec 16, 2012, at 1:18 PM, Terry Judd wrote: > Hi all - I want (if possible) to use a VBscript to format and send emails from Livecode via Outlook on Windows ( I need to do it this way so that I can take advantage of Outlook's DeferredDeliveryTime feature). > > Now, I know little or nothing about VBscript but the following routine (courtesy of a Google search) runs fine as a macro within Excel. If however I try to run it from Livecode (do [code] as "VBscript") it returns 'execution error' in the result. Does anyone know enough VBscript to tell me what I'm missing? > > Regards, > > Terry... > > Sub SendMail() > Dim OutApp As Object > Dim Outmail As Object > Dim strBody As String > Set OutApp = CreateObject("Outlook.Application") > OutApp.session.logon > Set Outmail = OutApp.CreateItem(0) > strBody = "This is a test" > On Error Resume Next > With Outmail > .To = "tsj at unimelb.edu.au" > .CC = "" > .BCC = "" > .Subject = "Test email" > .Body = strBody > .DeferredDeliveryTime = "16/12/2012 16:00:00" 'dd/mm/yyyy hh:mm:ss' > .Send > End With > On Error GoTo 0 > Set Outmail = Nothing > Set OutApp = Nothing > End Sub > > > 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 terry.judd at unimelb.edu.au Sun Dec 16 17:19:43 2012 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Sun, 16 Dec 2012 22:19:43 +0000 Subject: [OT] Using VBscript to send an email via outlook In-Reply-To: <97B495D4-9143-402A-B070-CA919804F1D1@sonsothunder.com> References: <97B495D4-9143-402A-B070-CA919804F1D1@sonsothunder.com> Message-ID: Thanks Ken - yes I think you're right about it being VBA rather than VBS - I guess I naively assumed they were equivalent. I'll do a bit more searching and see if I can't turn up a VBS equivalent. Cheers, Terry... On 17/12/2012, at 07:32 AM, Kennan Ray wrote: > Terry, I wouldn't use script that works inside a Microsoft app because that's likely to be *VBA* (VB for Applications) and not *VBS* (VB Script) and they have some differences. try looking for raw VBS examples. I'm not at my desk or I'd give you some code, but hopefully this will point you in the right direction. > > Ken Ray > Sons of Thunder Software, Inc. > > On Dec 16, 2012, at 1:18 PM, Terry Judd wrote: > >> Hi all - I want (if possible) to use a VBscript to format and send emails from Livecode via Outlook on Windows ( I need to do it this way so that I can take advantage of Outlook's DeferredDeliveryTime feature). >> >> Now, I know little or nothing about VBscript but the following routine (courtesy of a Google search) runs fine as a macro within Excel. If however I try to run it from Livecode (do [code] as "VBscript") it returns 'execution error' in the result. Does anyone know enough VBscript to tell me what I'm missing? >> >> Regards, >> >> Terry... >> >> Sub SendMail() >> Dim OutApp As Object >> Dim Outmail As Object >> Dim strBody As String >> Set OutApp = CreateObject("Outlook.Application") >> OutApp.session.logon >> Set Outmail = OutApp.CreateItem(0) >> strBody = "This is a test" >> On Error Resume Next >> With Outmail >> .To = "tsj at unimelb.edu.au" >> .CC = "" >> .BCC = "" >> .Subject = "Test email" >> .Body = strBody >> .DeferredDeliveryTime = "16/12/2012 16:00:00" 'dd/mm/yyyy hh:mm:ss' >> .Send >> End With >> On Error GoTo 0 >> Set Outmail = Nothing >> Set OutApp = Nothing >> End Sub >> >> >> 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 > 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 Sun Dec 16 18:14:57 2012 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Sun, 16 Dec 2012 23:14:57 +0000 Subject: [OT] Using VBscript to send an email via outlook In-Reply-To: References: Message-ID: Thanks Mike - I'll give that a go. I've got a VBS script that is working from Livecode (below) but it seems to lock things up occastionally. Regards, Terry... Set MyApp = CreateObject("Outlook.Application") Set MyItem = MyApp.CreateItem(0) With MyItem .To = "a at b.c" .Subject = "Test email from Livecode via Outlook" .Body = "This is a test" .DeferredDeliveryTime = "17/12/2012 10:15:00" .Send End With On 17/12/2012, at 06:25 AM, Mike Bonner wrote: > Try dumping the vbscript to a .vbs file and execute it with > shell("myfile.vbs") > > In many cases it will just work. (probably send it to the temp folder so > you don't have to worry about cleanup afterwards) > > > On Sun, Dec 16, 2012 at 12:18 PM, Terry Judd wrote: > >> Hi all - I want (if possible) to use a VBscript to format and send emails >> from Livecode via Outlook on Windows ( I need to do it this way so that I >> can take advantage of Outlook's DeferredDeliveryTime feature). >> >> Now, I know little or nothing about VBscript but the following routine >> (courtesy of a Google search) runs fine as a macro within Excel. If however >> I try to run it from Livecode (do [code] as "VBscript") it returns >> 'execution error' in the result. Does anyone know enough VBscript to tell >> me what I'm missing? >> >> Regards, >> >> Terry... >> >> Sub SendMail() >> Dim OutApp As Object >> Dim Outmail As Object >> Dim strBody As String >> Set OutApp = CreateObject("Outlook.Application") >> OutApp.session.logon >> Set Outmail = OutApp.CreateItem(0) >> strBody = "This is a test" >> On Error Resume Next >> With Outmail >> .To = "tsj at unimelb.edu.au" >> .CC = "" >> .BCC = "" >> .Subject = "Test email" >> .Body = strBody >> .DeferredDeliveryTime = "16/12/2012 16:00:00" 'dd/mm/yyyy hh:mm:ss' >> .Send >> End With >> On Error GoTo 0 >> Set Outmail = Nothing >> Set OutApp = Nothing >> End Sub >> >> >> 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 > Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From lan.kc.macmail at gmail.com Sun Dec 16 22:48:06 2012 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 17 Dec 2012 11:48:06 +0800 Subject: [OT] MoLi Upgrade - Long and Boring Post In-Reply-To: References: Message-ID: So finally took the plunge and took the weekend (14+ hr each day) to upgrade my MBP to MoLi. Rather than just upgrade I took the opportunity to do a clean install, so started with a virgin copy of SnoLeo, upgraded direct to MoLi, then reinstalled all my apps and data. To add a further level of difficulty (and security) I installed a new HD; so I can always start off my old SnoLeo HD if I have to. Here are my impressions (for those bored at the moment, or have insights into what I've missed) and towards the bottom there is an actual LiveCode reference: Printer Driver The whole shebang almost came to an abrupt halt when I discovered that my Samsung printer driver was only compatible with SnoLeo. No point running an OS if I can't print. Fortunately some Forum post indicated some were lucky enough to have their printer work, so I tried and so far so good. CardBus eSATA adaptor Driver Also listed by the manufacturer as not upgraded since SnoLeo. This was also no go as I need my external HDs, but thankfully, again I installed and it's been working flawlessly none stop since then. USB Display adaptor Listed by the manufacture as partially compatible with MoLi, basically we blame Apple if you experience problems. This never worked 100% under SnoLeo, but good enough for 2D on a 3rd display. Seems to have a few more glitches under MoLi, see Displays and Safari entries below. Gate Keeper Surprised at what Apps were OK by Apple and which aren't. iStumbler by a bloke in a shed was OK, but Roxio (Toast), ProSoft (DriveGenius) and a bunch of other big names got the thumbs down. Easy enough to get around. Less options to fine tune System settings: Displays use to have an icon in the menu bar which was very convenient if you run multiple monitors (or a HTPC and need to change from 1080P to 720P). You could change the resolution on any display but best of all it had "Detect Displays" which would always fix display anomalies on extra displays that might occur after you woke a sleeping computer. MoLi has no Menu icon and doesn't have "Detect Displays" so one of my monitors in particular is regularly being registered as "VGA" and only occasionally correctly as "SyncMaster". Under SnoLeo the monitor connected to the USB adaptor would occasionally come up as hash and was fixed by 'Detect Displays', with MoLi, it seems to be more frequent and takes a lot more clicks to fix. Recent items you could have different numbers for Documents, Apps and Servers; now it's the same number for all three - stupid. I use Spotlight to open most Apps/Documents which makes it even more frustrating that those few occasions when I go to Recent items I can't see the the 11th (21st?) document I had open because old Servers/Apps are listed instead. Trackpad tapping is way too sensitive. On SnoLeo (and before) you had the option to "Ignore accidental trackpad input" but that option has gone, so now I'm regularly dragging things across my screen or opening files I don't mean to. Finder Open Finder windows don't remain after restarts, or at least are random. On my Wife's Lion machine when I shut it down, if there are Finder windows left open, if the box "Reopen windows when logging back in" is NOT ticked, the Finder windows will be open when I restart. SnoLeo has no box to tick and just works this way. On MoLi it's random, sometimes they will open, more often than not they won't. Sometimes it's only one window when I always shutdown with two open. Even if I tick the box it doesn't matter, the left open Finder windows regularly do not open at startup. Every startup there is a dialog that appears for a split second then disappears, so I have no idea what it's about, but it may be an improvement; on SnoLeo I always get a dialog to say that it can't connect to Servers that aren't running and they don't self clear and even if I clear them they will pop up again at least one more time. Column view is occasionally rendered wrong, with the second last column rendered extremely wide so the last column is off the right edge. This appears to effect Folders I've not opened before - but doesn't happen every time. Documents open on the wrong monitor. On SnoLeo this happened too, particularly LiveCode has problems with additional monitors; I set it up to have the Dictionary on a separate monitor and if I forget to move it back to the main monitor on shutdown, then when I'm on the road and I start LiveCode the Dictionary will be off the screen - easy enough to fix. Other apps are better, when there are no additional monitors they will open on the main screen. The problem now occurs when I have monitors plugged in but not switched On - a typical config for me as I only turn them On when I need them. Under SnoLeo the Finder knows that monitors are plugged in but not On as the cursor can be taken off screen - MoLi is the same, so no change. But under SnoLeo, as long as I moved the documents back to the main screen prior to shutdown, they'd be opened on the main screen when Opened. Under MoLi it's as if the last Saved location was on another monitor and this is remembered, if all you do is move the document to the main screen, and it hasn't been edited, so doesn't need saving, then closing the app doesn't remember that the document is now on the main screen so when it is Opened if the screen it was last saved on is attached, even if it is Off, the document is opened on that screen. Have had the Finder not wake up after falling asleep. Again to be fair I've had this happen on Leo and SnoLeo but this is a rare event usually associated with a combination of events, like selecting sleep, closing the lid, then suddenly realising you needed to do one last thing and opening the lid again. Just surprised I've already experienced this with MoLi, but if it doesn't happen again for 6 months I guess it will be on par with SnoLeo. Dictation Every speech to text app I've every tried has never worked anywhere near good enough so I wasn't expecting much. Still Dictation failed to meet my low expectations; it worked for one line and now doesn't work at all. Nothing, zip. The Finder actually FROZE on me and basically locked the computer up forcing me to do a hard reboot; something I've not done for years. Yes, I've had plenty of Apps freeze, and needed to Force Quit those, and I've had my fair share of kernel panics from incompatible kext files and/or hardware I'm testing, but the Finder has always been solid for me in OS X. This occurred after Dictation stopped working and I tried to change something in it's Preference Pane. It's probably my inability to speak English. Safari Is acting weird and sometimes doesn't do anything when I click on a button - not a Safari app button but a button or link in a web page. May have to do with the fact I mostly run it on the monitor connected to the USB adapter that isn't fully compatible with MoLi - I occasionally end up with dual cursors in echelon right. I think I'll like the Safari iCloud tabs option, so when I crack open my iPad Safari will look exactly the same but I haven't got around to testing that it actually works. Preview When I open a new pdf and Preview starts up, the last pdf document that I had open also opens. I'm guessing if I Quit Preview without actually closing the document it assumes I want it to open when I next start Preview. I'll have to do further testing. LiveCode Seems to be 'running' OK and a little faster, and thanks to several posts here I didn't have any trouble getting it to talk to xCode 4.5.2 + the old SDKs from 4.4. The only anomaly I have noted, and probably already registered as a bug, is the Tools Palette doesn't render Tabs correctly and the icons used for Tabs and Option buttons etc are incorrect. I thought when I first opened my stack of years of blood, sweat and tears that it had been mangled. The tabs and option buttons no longer had blue in them, but instead were rendered in what I'll call '1980s traditional unadventurous IBM solemn sombre suit grey.' A quick check of some Apple Preference Panes and I realised, no, this is how Apple presents itself now. So although LiveCode renders this horribly correctly in my stacks, in the LC Tools Palette the Tab at the top to select your Tool is still shown in 'let's copy MicroSoft' Blue as are the respective icons for controls you can drag onto your stacks. Shutdown is much slower. From forums MoLi appears to have a problem with apps that have open internet connections, which I have a couple (MySQL, postgreSQL, Dropbox to name a few). I'm still experimenting, simply pulling the ethernet cable out prior to shutdown makes no difference - which to be fair I have a G5 running Leo that is set to auto shutdown at 00:30 which regularly fails because connections to servers have not been closed properly, simply pulling the ethernet cable out on this would guarantee it will still be running in the morning so the fact that MoLi actually does is a step forward. I just need to experiment some more to see if I can pinpoint which process I need to kill so I can go back to instantaneous shutdowns, which I was getting after I installed MoLi but before I installed all my apps and data. SnoLeo wasn't an instantaneous shutdown either, but it was much faster than MoLi. MySQL postgreSQL Talking of which, MySQL seems to be getting easier and easier to update and transfer data from one OS X to another but not as easy as postgreSQL. Thanks Andre for the pointer to the Postgres app at: http://postgresapp.com/ ~/Library Many online complaints about the missing User Library Folder. OK so it's easy to get back but I just don't understand why you would hide it when the /Library/ and /System/Library/ folders aren't hidden. As I spend a bit of time in these higher level Library folders I'm glad they are visible. iCloud Not sure yet. Most Forum comments suggest that Dropbox is a better option. Haven't had enough time to figure out what part of iCloud is good, and what I'll leave with Dropbox and Google Drive. On a more positive note: Notifications I'm liking it a lot. I often get tunnel vision and miss things coming in, and even with Notifications I've missed a few pop-up banners (although it's much harder to miss) so the ability to single click and quickly see what's come in and what's coming up from a wide variety of apps is very useful to me. Reminders Very minor change, but so much better now it's separate from Calendar. The ToDo apps I've downloaded have been a waste of time. Note to self, add a Reminder to uninstall them. Backwards Scrolling I thought 20+ years of habit were going to be painfully hard to change, but after two days of intense scrolling around, dragging stuff here and there, it hasn't been that bad at all and I think I'm not too far away from this becoming natural behaviour. I'll concede Apple have got this right, so much so that I'll be investigating if I can get our SnoLeo Mac Mini HTPC to work this was as I'm sure I'll soon consider it frustrating and working wrong-way-round. Disk Utility After a Repair Permission it actually comes back with nothing! My wife's Lion Mac Mini usually has 2 or 3 files. On SnoLeo it didn't matter how many times I ran Repair Permissions there were always 50+ files that it said were wrong and it fixed, but it never did. A lot of frameworks associated with JavaVM. I know Java isn't installed by default on MoLi, but I've installed it, so it now has no permission problems. Repair takes about 1 min to check there are no permissions to repair whereas SnoLeo took about 3 to 5 min to say it repaired stuff it didn't. Save As I've seen complaints about autosave and the lamentation that Save As is gone, but on my system, for Apple Apps I have both Save and Save As so it appears to be back. Startup of the computer and apps is faster, but that's usually the case after a clean install. Another factor could be that after archiving years of old and outdated work/data my HD went from 80% full to 40%. It may also have something to do with replacing the 500 GB 5400 rpm HD with a 500 GB 7200 Hybrid HD (one with a bit of SSD storage built in). To be fair I also put a Hybrid drive into a SnoLeo Mac Mini that has exactly the same processor as my MBP, but the Mini is still woefully slow at starting up. It has always been much slower to start than my MBP, which I was hoping the Hybrid drive would help, but it hasn't, so a Hybrid drive may just be a gimmick. Another possible speed booster is, from what I can tell, MoLi is now 100% 64bit intel, although the apps that weren't aren't exactly system hogs, Address Book, Automator, Calculator, Chess, Font Book and a few other small utility type apps. The only ones of substance, that I use regularly were iCal, Mail, and Preview, but again, these were probably upgraded to 64bit intel with Lion. So now all that is running that is not pure 64bit intel is a couple of processes associated with Dropbox, a TechToolProDaemon, A Silicon Image process for the CardBuss adapter and two processes for the USB Display adapter. Summary MoLi would have to be, hands down, the most underwhelming OS upgrade I've ever experienced and I skipped an OS! From what I can tell all that happened is Apple is now dull conventional corporate grey - and that happened in Lion, so apart from a non-working Dictation, I'm not exactly sure what MoLi bought to the table. If anyone has suggestion on what I might be missing I'd be happy to hear about it. From mark.laffoon at gmail.com Sun Dec 16 22:54:01 2012 From: mark.laffoon at gmail.com (Mark Laffoon) Date: Sun, 16 Dec 2012 18:54:01 -0900 Subject: =?windows-1252?Q?Re=3A_=5BANN=5D_Free_=22Kochi_Mini_SVN=22_a_very_simple_=22Versi?= =?windows-1252?Q?on_Control_System=94_for_LiveCode?= In-Reply-To: References: <7348CEF4-BC3A-42D0-A838-4335078301A0@id.uzh.ch> <1351977232119-4656900.post@n4.nabble.com> Message-ID: I know this post is a latecomer to the topic, but having just experienced the same problem as Skip, I thought it relevant. I managed to install the plugin by starting up LiveCode with the (Windows) "Run as Administrator" option. HTH Mark On Tue, Nov 6, 2012 at 6:22 AM, Andrew Kluthe wrote: > Works Great with Livecode 4.6.4 and 5.5.2 on windows 7 running on metal > > On Sat, Nov 3, 2012 at 4:13 PM, AndyP wrote: > > Hi Rolf. > > > > Thanks for your hard work. > > > > Installed and tested in 5.5.3 Build 1497 on Win 7 Home Premium. All > working > > great. > > > > > > > > > > > > ----- > > Andy Piddock > > > > > > My software never has bugs. It just develops random features. > > PointandSee is a FREE simple but full featured under cursor colour > picker / finder. > > http://www.pointandsee.co.uk - made with LiveCode > > > > -- > > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/ANN-Free-Kochi-Mini-SVN-a-very-simple-Version-Control-System-for-LiveCode-tp4656881p4656900.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 > > > > -- > 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 > -- I am CDO. This is a lot like OCD, except the letters are in alphabetical order... as they should be. From jeff at siphonophore.com Sun Dec 16 23:44:12 2012 From: jeff at siphonophore.com (Jeff Reynolds) Date: Sun, 16 Dec 2012 20:44:12 -0800 Subject: m4p files in live ode Message-ID: <4762B60E-5E25-46B5-AF31-432576920AE5@siphonophore.com> has anyone seen m4p (mpeg4) files playing back oddly in livecode players on the mac with a white frame at the end of the file? cant see the white frame in qtplayer or any other player and is not there in the original uncompressed qt file out of the editor, but in lc im getting this white frame at the very end when i create m4ps from handbrake. if i use compressor or qt to make movs (all h264) they behave fine, but handbrake h264 m4ps give this odd white frame. im guessing its something of the m4p not having the full mov wrapper and thus not behaving perfectly in lc. you can get rid of it by backing off the play to end a few frames before the end of the file, but unfortunately the editor did not listen and leave a good second of black at the end of each piece (as i always request) so doing this leaves a ghost on the screen. Im back at the monterey bay aquarium doing an update on the auditorium program here thats been run by lc/rev/metacard for like 15 years now! we started doing traveling systems of the whole thing on macbooks a few years back. basically the presenters interface runs on the macbook screen and lc pumps 720p out the external port. im replacing the training system (which uses an mpeg server) with a mac mini now as well to show 720p and testing if the top end macbook pro could push 1080p out! amazing to turn a mac into such a video server. lc has been really robust in doing this and not been able to kill it yet by torturing it! cheers jeff From m.schonewille at economy-x-talk.com Mon Dec 17 10:02:09 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 17 Dec 2012 16:02:09 +0100 Subject: [ANN] Installer Maker Holidays Discount Message-ID: <68E101B7-07FA-498B-A583-73F1A42FD005@economy-x-talk.com> Dear LiveCode users, The holidays are near, although some believe that the end is neigh. Both occasions are good reasons to offer you a big discount on a license for the Installer Maker Plugin. From 17 until 27 December, new licenses are 33% off. Installer Maker Plugin is the best tool available for LiveCode to wrap your standalones in an installer for Mac OS X or Windows. An overview of all features can be found at http://qery.us/az and there you can also purchase your license. To get the discount, click on the Plimus button on the website and use the coupon code 33OFF. If you have any questions about this offer or Installer Maker, use the contact form on the website. -- 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. From m.schonewille at economy-x-talk.com Mon Dec 17 10:17:47 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 17 Dec 2012 16:17:47 +0100 Subject: [ANN] Installer Maker Holidays Discount - Correct Link In-Reply-To: <68E101B7-07FA-498B-A583-73F1A42FD005@economy-x-talk.com> References: <68E101B7-07FA-498B-A583-73F1A42FD005@economy-x-talk.com> Message-ID: <488DB441-5C85-4F3D-9DBB-C485B69D4257@economy-x-talk.com> Right... I got the link wrong :-( Dear LiveCode users, The holidays are near, although some believe that the end is neigh. Both occasions are good reasons to offer you a big discount on a license for the Installer Maker Plugin. From 17 until 27 December, new licenses are 33% off. Installer Maker Plugin is the best tool available for LiveCode to wrap your standalones in an installer for Mac OS X or Windows. An overview of all features can be found at http://qery.us/za and there you can also purchase your license. To get the discount, click on the Plimus button on the website and use the coupon code 33OFF. If you have any questions about this offer or Installer Maker, use the contact form on the website. -- 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. From bdrunrev at gmail.com Mon Dec 17 10:21:08 2012 From: bdrunrev at gmail.com (Bernard Devlin) Date: Mon, 17 Dec 2012 15:21:08 +0000 Subject: Quit In-Reply-To: <50CDC06E.6040907@gmail.com> References: <50CDC06E.6040907@gmail.com> Message-ID: I don't know why you are seeing the light show. But could you not set the visible of those stacks to false in a shutdown/shutdownRequest handler? Obviously, you'd have to change that property when the stacks are loaded again. Bernard On Sun, Dec 16, 2012 at 12:37 PM, Richmond wrote: > So, a besetting problem of my Devawriter is that as it closes down on Quit > the end-user is subjected to an "entertaining light-show" where the main > stack and the > substacks appear and disappear several times. > > This is NOT GOOD. > > I would be grateful if anyone could put me straight in this respect. > > 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 ambassador at fourthworld.com Mon Dec 17 10:24:28 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 17 Dec 2012 07:24:28 -0800 Subject: [OT] MoLi Upgrade - Long and Boring Post In-Reply-To: References: Message-ID: <50CF392C.6090900@fourthworld.com> That was a really useful summary of current OS X issues. Thanks for taking the time to post that. -- 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 jaguayo at telur.es Mon Dec 17 10:54:32 2012 From: jaguayo at telur.es (Joseba Aguayo) Date: Mon, 17 Dec 2012 16:54:32 +0100 Subject: LiveCode Player for Mountain Lion? In-Reply-To: References: Message-ID: Hello: I am consider to change my Snow Leopard system to Mountain Lion. Exist a LiveCode Player for Mountain Lion???? Where is in the LiveCode Web??? Un saludo. Joseba. From m.schonewille at economy-x-talk.com Mon Dec 17 10:56:33 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 17 Dec 2012 16:56:33 +0100 Subject: LiveCode Player for Mountain Lion? In-Reply-To: References: Message-ID: Joseba, What do you mean with "player"? AFAIK RunRev isn't providing players anymore. -- 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 dec 2012, at 16:54, Joseba Aguayo wrote: > Hello: > > I am consider to change my Snow Leopard system to Mountain Lion. > Exist a LiveCode Player for Mountain Lion???? > Where is in the LiveCode Web??? > > Un saludo. > > Joseba. From andre at andregarzia.com Mon Dec 17 11:46:07 2012 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 17 Dec 2012 14:46:07 -0200 Subject: [CODE] cool elapsed function Message-ID: Folks, I've been using a little function that I liked very much so I decided to share. the function is called elapsed and you can use it to figure out if a certain amount of time passed between two timestamps. For example, suppose you have variable time1 with a given time and variable time2 with another point in time and you want to know if the elapsed time between time1 and time2 is larger than one hour and half, you can use: if elapsed(time1, time2, "1:30:00") then -- more than 1 hour and a half. else -- less or equal 1 hour and a half. end if The cool thing is the third parameter which is a string in the format of hh:mm:ss, so if you want to see if 10 seconds have passed between two timestamps you can use: if elapsed(time1, time2, "::10") then ... end if I use this type of code to prevent some accidental clicks when scrolling on mobile. I record scrollerDidScroll timestamps and compare them with my mouseUp timestamps, if they are too close, then I consider it an accidental click. Here goes the function: function elapsed pTimeStart, pTimeEnd, pThreshold if pTimeStart is not a number then convert pTimeStart to seconds end if if pTimeEnd is not a number then convert pTimeEnd to seconds end if set the itemdel to ":" if item 1 of pThreshold is a number then put item 1 of pThreshold into tHours else put 0 into tHours end if if item 2 of pThreshold is a number then put item 2 of pThreshold into tMinutes else put 0 into tMinutes end if if item 3 of pThreshold is a number then put item 3 of pThreshold into tSeconds else put 0 into tSeconds end if put (tHours * 60 * 60) + (tMinutes * 60) + tSeconds into tThreshold put pTimeEnd - pTimeStart into tElapsed waveLog "elapsed check:" && pTimeStart && pTimeEnd && tElapsed && tThreshold if tElapsed > tThreshold then return true else return false end if end elapsed Cheers andre -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From richmondmathewson at gmail.com Mon Dec 17 12:30:23 2012 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 17 Dec 2012 19:30:23 +0200 Subject: Quit In-Reply-To: References: <50CDC06E.6040907@gmail.com> Message-ID: <50CF56AF.3070403@gmail.com> On 12/17/2012 05:21 PM, Bernard Devlin wrote: > I don't know why you are seeing the light show. But could you not set the > visible of those stacks to false in a shutdown/shutdownRequest handler? > Obviously, you'd have to change that property when the stacks are loaded > again. Thanks; that should do the trick. > > Bernard > > > On Sun, Dec 16, 2012 at 12:37 PM, Richmond wrote: > >> So, a besetting problem of my Devawriter is that as it closes down on Quit >> the end-user is subjected to an "entertaining light-show" where the main >> stack and the >> substacks appear and disappear several times. >> >> This is NOT GOOD. >> >> I would be grateful if anyone could put me straight in this respect. >> >> 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 slylabs13 at me.com Mon Dec 17 12:53:12 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Mon, 17 Dec 2012 09:53:12 -0800 Subject: LC 5.5.3 and Windows Explorer 7 In-Reply-To: <50CBAABF.000003.00804@CALS_BIG_PC> References: <50CBAABF.000003.00804@CALS_BIG_PC> Message-ID: <5E65DD8C-8EA1-4355-990C-D1A3CF997B67@me.com> By sleep, do you mean the machine goes into standby mode? That would be highly unusual. You may want to check the Application log in the Event Viewer to get a clue on what is happening. Bob On Dec 14, 2012, at 2:39 PM, Cal Horner wrote: > I've rebuilt my machine recently, in order to accommodate the Windows 7 > Operation system. And now when I start up the LC IDE 5.5.3 Windows Explorer > goes into a sleep mode. > > The sleep mode also occurs when I shut down LC IDE 5.5.3. > > Do any of you Forum members have this problem or am I the only one suffering from this hiccup? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From slylabs13 at me.com Mon Dec 17 12:55:41 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Mon, 17 Dec 2012 09:55:41 -0800 Subject: Unicode and the higher planes of existence. In-Reply-To: <50CCA6DC.5070900@gmail.com> References: <50C8EEC7.9040902@gmail.com> <50CC84D3.8090208@gmail.com> <50CCA6DC.5070900@gmail.com> Message-ID: <52C8B0E6-43CC-4ABF-B154-A56E4388A988@me.com> To reach the higher planes of existence, your plane must also be equipped with a supercharger. HTH Bob From slylabs13 at me.com Mon Dec 17 12:57:56 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Mon, 17 Dec 2012 09:57:56 -0800 Subject: [OT] Using VBscript to send an email via outlook In-Reply-To: References: Message-ID: <27A51091-9415-4DE5-8931-24D1E4E1DB57@me.com> Cannot do it that way. Scripts will not launch automatically. They must be invoked by using cscript myfile.vbs. HTH Bob On Dec 16, 2012, at 11:25 AM, Mike Bonner wrote: > Try dumping the vbscript to a .vbs file and execute it with > shell("myfile.vbs") > > In many cases it will just work. (probably send it to the temp folder so > you don't have to worry about cleanup afterwards) > > > On Sun, Dec 16, 2012 at 12:18 PM, Terry Judd wrote: > >> Hi all - I want (if possible) to use a VBscript to format and send emails >> from Livecode via Outlook on Windows ( I need to do it this way so that I >> can take advantage of Outlook's DeferredDeliveryTime feature). >> >> Now, I know little or nothing about VBscript but the following routine >> (courtesy of a Google search) runs fine as a macro within Excel. If however >> I try to run it from Livecode (do [code] as "VBscript") it returns >> 'execution error' in the result. Does anyone know enough VBscript to tell >> me what I'm missing? >> >> Regards, >> >> Terry... >> >> Sub SendMail() >> Dim OutApp As Object >> Dim Outmail As Object >> Dim strBody As String >> Set OutApp = CreateObject("Outlook.Application") >> OutApp.session.logon >> Set Outmail = OutApp.CreateItem(0) >> strBody = "This is a test" >> On Error Resume Next >> With Outmail >> .To = "tsj at unimelb.edu.au" >> .CC = "" >> .BCC = "" >> .Subject = "Test email" >> .Body = strBody >> .DeferredDeliveryTime = "16/12/2012 16:00:00" 'dd/mm/yyyy hh:mm:ss' >> .Send >> End With >> On Error GoTo 0 >> Set Outmail = Nothing >> Set OutApp = Nothing >> End Sub >> >> >> 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 From slylabs13 at me.com Mon Dec 17 13:03:05 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Mon, 17 Dec 2012 10:03:05 -0800 Subject: LiveCode Player for Mountain Lion? In-Reply-To: References: Message-ID: There is no such thing as a Livecode player anymore. But you can roll your own. Just make a stack that opens other stacks. Bob On Dec 17, 2012, at 7:54 AM, Joseba Aguayo wrote: > Hello: > > I am consider to change my Snow Leopard system to Mountain Lion. > Exist a LiveCode Player for Mountain Lion???? > Where is in the LiveCode Web??? > > Un saludo. > > Joseba. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Dec 17 13:08:48 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 17 Dec 2012 11:08:48 -0700 Subject: [OT] Using VBscript to send an email via outlook In-Reply-To: <27A51091-9415-4DE5-8931-24D1E4E1DB57@me.com> References: <27A51091-9415-4DE5-8931-24D1E4E1DB57@me.com> Message-ID: Hmm. Seems like i've done exactly this very thing. Wil have to get out a windows box and test. On Mon, Dec 17, 2012 at 10:57 AM, Robert Sneidar wrote: > Cannot do it that way. Scripts will not launch automatically. They must be > invoked by using cscript myfile.vbs. HTH > > Bob > > > On Dec 16, 2012, at 11:25 AM, Mike Bonner wrote: > > > Try dumping the vbscript to a .vbs file and execute it with > > shell("myfile.vbs") > > > > In many cases it will just work. (probably send it to the temp folder so > > you don't have to worry about cleanup afterwards) > > > > > > On Sun, Dec 16, 2012 at 12:18 PM, Terry Judd >wrote: > > > >> Hi all - I want (if possible) to use a VBscript to format and send > emails > >> from Livecode via Outlook on Windows ( I need to do it this way so that > I > >> can take advantage of Outlook's DeferredDeliveryTime feature). > >> > >> Now, I know little or nothing about VBscript but the following routine > >> (courtesy of a Google search) runs fine as a macro within Excel. If > however > >> I try to run it from Livecode (do [code] as "VBscript") it returns > >> 'execution error' in the result. Does anyone know enough VBscript to > tell > >> me what I'm missing? > >> > >> Regards, > >> > >> Terry... > >> > >> Sub SendMail() > >> Dim OutApp As Object > >> Dim Outmail As Object > >> Dim strBody As String > >> Set OutApp = CreateObject("Outlook.Application") > >> OutApp.session.logon > >> Set Outmail = OutApp.CreateItem(0) > >> strBody = "This is a test" > >> On Error Resume Next > >> With Outmail > >> .To = "tsj at unimelb.edu.au" > >> .CC = "" > >> .BCC = "" > >> .Subject = "Test email" > >> .Body = strBody > >> .DeferredDeliveryTime = "16/12/2012 16:00:00" 'dd/mm/yyyy hh:mm:ss' > >> .Send > >> End With > >> On Error GoTo 0 > >> Set Outmail = Nothing > >> Set OutApp = Nothing > >> End Sub > >> > >> > >> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Dec 17 13:11:50 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 17 Dec 2012 11:11:50 -0700 Subject: [OT] Using VBscript to send an email via outlook In-Reply-To: References: <27A51091-9415-4DE5-8931-24D1E4E1DB57@me.com> Message-ID: sorry for the double. Even if you do have to run cscript by hand, can still be done in a shell call. On Mon, Dec 17, 2012 at 11:08 AM, Mike Bonner wrote: > Hmm. Seems like i've done exactly this very thing. Wil have to get out a > windows box and test. > > > On Mon, Dec 17, 2012 at 10:57 AM, Robert Sneidar wrote: > >> Cannot do it that way. Scripts will not launch automatically. They must >> be invoked by using cscript myfile.vbs. HTH >> >> Bob >> >> >> On Dec 16, 2012, at 11:25 AM, Mike Bonner wrote: >> >> > Try dumping the vbscript to a .vbs file and execute it with >> > shell("myfile.vbs") >> > >> > In many cases it will just work. (probably send it to the temp folder so >> > you don't have to worry about cleanup afterwards) >> > >> > >> > On Sun, Dec 16, 2012 at 12:18 PM, Terry Judd > >wrote: >> > >> >> Hi all - I want (if possible) to use a VBscript to format and send >> emails >> >> from Livecode via Outlook on Windows ( I need to do it this way so >> that I >> >> can take advantage of Outlook's DeferredDeliveryTime feature). >> >> >> >> Now, I know little or nothing about VBscript but the following routine >> >> (courtesy of a Google search) runs fine as a macro within Excel. If >> however >> >> I try to run it from Livecode (do [code] as "VBscript") it returns >> >> 'execution error' in the result. Does anyone know enough VBscript to >> tell >> >> me what I'm missing? >> >> >> >> Regards, >> >> >> >> Terry... >> >> >> >> Sub SendMail() >> >> Dim OutApp As Object >> >> Dim Outmail As Object >> >> Dim strBody As String >> >> Set OutApp = CreateObject("Outlook.Application") >> >> OutApp.session.logon >> >> Set Outmail = OutApp.CreateItem(0) >> >> strBody = "This is a test" >> >> On Error Resume Next >> >> With Outmail >> >> .To = "tsj at unimelb.edu.au" >> >> .CC = "" >> >> .BCC = "" >> >> .Subject = "Test email" >> >> .Body = strBody >> >> .DeferredDeliveryTime = "16/12/2012 16:00:00" 'dd/mm/yyyy hh:mm:ss' >> >> .Send >> >> End With >> >> On Error GoTo 0 >> >> Set Outmail = Nothing >> >> Set OutApp = Nothing >> >> End Sub >> >> >> >> >> >> 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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 Mon Dec 17 13:13:02 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 17 Dec 2012 11:13:02 -0700 Subject: LiveCode Player for Mountain Lion? In-Reply-To: References: Message-ID: And if you are referring to the web plugin, its no longer supported and being phased out. If you really need to run it on lion you might be able to force some browser somewhere to run in 32 bit mode and use the old player, but.. its not worth the trouble. On Mon, Dec 17, 2012 at 11:03 AM, Robert Sneidar wrote: > There is no such thing as a Livecode player anymore. But you can roll your > own. Just make a stack that opens other stacks. > > Bob > > > On Dec 17, 2012, at 7:54 AM, Joseba Aguayo wrote: > > > Hello: > > > > I am consider to change my Snow Leopard system to Mountain Lion. > > Exist a LiveCode Player for Mountain Lion???? > > Where is in the LiveCode Web??? > > > > Un saludo. > > > > Joseba. > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From slylabs13 at me.com Mon Dec 17 13:29:22 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Mon, 17 Dec 2012 10:29:22 -0800 Subject: [OT] Using VBscript to send an email via outlook In-Reply-To: References: <27A51091-9415-4DE5-8931-24D1E4E1DB57@me.com> Message-ID: yup. On Dec 17, 2012, at 10:11 AM, Mike Bonner wrote: > sorry for the double. Even if you do have to run cscript by hand, can still > be done in a shell call. > > > On Mon, Dec 17, 2012 at 11:08 AM, Mike Bonner wrote: > >> Hmm. Seems like i've done exactly this very thing. Wil have to get out a >> windows box and test. >> >> >> On Mon, Dec 17, 2012 at 10:57 AM, Robert Sneidar wrote: >> >>> Cannot do it that way. Scripts will not launch automatically. They must >>> be invoked by using cscript myfile.vbs. HTH >>> >>> Bob >>> >>> >>> On Dec 16, 2012, at 11:25 AM, Mike Bonner wrote: >>> >>>> Try dumping the vbscript to a .vbs file and execute it with >>>> shell("myfile.vbs") >>>> >>>> In many cases it will just work. (probably send it to the temp folder so >>>> you don't have to worry about cleanup afterwards) >>>> >>>> >>>> On Sun, Dec 16, 2012 at 12:18 PM, Terry Judd >>> wrote: >>>> >>>>> Hi all - I want (if possible) to use a VBscript to format and send >>> emails >>>>> from Livecode via Outlook on Windows ( I need to do it this way so >>> that I >>>>> can take advantage of Outlook's DeferredDeliveryTime feature). >>>>> >>>>> Now, I know little or nothing about VBscript but the following routine >>>>> (courtesy of a Google search) runs fine as a macro within Excel. If >>> however >>>>> I try to run it from Livecode (do [code] as "VBscript") it returns >>>>> 'execution error' in the result. Does anyone know enough VBscript to >>> tell >>>>> me what I'm missing? >>>>> >>>>> Regards, >>>>> >>>>> Terry... >>>>> >>>>> Sub SendMail() >>>>> Dim OutApp As Object >>>>> Dim Outmail As Object >>>>> Dim strBody As String >>>>> Set OutApp = CreateObject("Outlook.Application") >>>>> OutApp.session.logon >>>>> Set Outmail = OutApp.CreateItem(0) >>>>> strBody = "This is a test" >>>>> On Error Resume Next >>>>> With Outmail >>>>> .To = "tsj at unimelb.edu.au" >>>>> .CC = "" >>>>> .BCC = "" >>>>> .Subject = "Test email" >>>>> .Body = strBody >>>>> .DeferredDeliveryTime = "16/12/2012 16:00:00" 'dd/mm/yyyy hh:mm:ss' >>>>> .Send >>>>> End With >>>>> On Error GoTo 0 >>>>> Set Outmail = Nothing >>>>> Set OutApp = Nothing >>>>> End Sub >>>>> >>>>> >>>>> 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 >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 17 15:22:09 2012 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 17 Dec 2012 22:22:09 +0200 Subject: Unicode and the higher planes of existence. In-Reply-To: <52C8B0E6-43CC-4ABF-B154-A56E4388A988@me.com> References: <50C8EEC7.9040902@gmail.com> <50CC84D3.8090208@gmail.com> <50CCA6DC.5070900@gmail.com> <52C8B0E6-43CC-4ABF-B154-A56E4388A988@me.com> Message-ID: <50CF7EF1.3000204@gmail.com> On 12/17/2012 07:55 PM, Robert Sneidar wrote: > To reach the higher planes of existence, your plane must also be equipped with a supercharger. HTH and a multi-coloured light bulb it seems: http://www.bbc.co.uk/news/technology-20753888 mind you some people try it this way: hellospaceman.blogspot.com/2012/11/the-clangers-rock-collector-1971.html which seems a whole lot nicer! > > Bob > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 17 15:26:49 2012 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 17 Dec 2012 22:26:49 +0200 Subject: Unicode and the higher planes of existence. In-Reply-To: <50CF7EF1.3000204@gmail.com> References: <50C8EEC7.9040902@gmail.com> <50CC84D3.8090208@gmail.com> <50CCA6DC.5070900@gmail.com> <52C8B0E6-43CC-4ABF-B154-A56E4388A988@me.com> <50CF7EF1.3000204@gmail.com> Message-ID: <50CF8009.1040608@gmail.com> On 12/17/2012 10:22 PM, Richmond wrote: > On 12/17/2012 07:55 PM, Robert Sneidar wrote: >> To reach the higher planes of existence, your plane must also be >> equipped with a supercharger. HTH > > and a multi-coloured light bulb it seems: > > http://www.bbc.co.uk/news/technology-20753888 > > mind you some people try it this way: > > hellospaceman.blogspot.com/2012/11/the-clangers-rock-collector-1971.html sorry, chaps; that URL doesn't see to work; try this one instead: http://www.gaynorrichards.co.uk/?p=59 or this one: http://sayhellospaceman.blogspot.com/2012/11/the-clangers-rock-collector-1971.html > > which seems a whole lot nicer! > >> >> Bob >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 Mon Dec 17 17:36:00 2012 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 18 Dec 2012 06:36:00 +0800 Subject: LiveCode Player for Mountain Lion? In-Reply-To: References: Message-ID: Unless you have some other compelling reason to upgrade you are probably better off sticking with SnoLeo. I've just posted about my own upgrade experience - [OT] MoLi Upgrade - Long and Boring Post Which may help you decide, but because it's so long I'll just cut to the chase: Summary MoLi would have to be, hands down, the most underwhelming OS upgrade I've ever experienced and I skipped an OS! From what I can tell all that happened is Apple is now dull conventional corporate grey - and that happened in Lion, so apart from a non-working Dictation, I'm not exactly sure what MoLi bought to the table. You'll discover a lot more is missing than just LiveCode Player and Web, which as pointed out, is more a decision by RunRev rather than a by-product of OS upgrades. On Mon, Dec 17, 2012 at 11:54 PM, Joseba Aguayo wrote: > Hello: > > I am consider to change my Snow Leopard system to Mountain Lion. > Exist a LiveCode Player for Mountain Lion???? > Where is in the LiveCode Web??? > > Un saludo. > > Joseba. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From calhorner at xtra.co.nz Mon Dec 17 18:00:00 2012 From: calhorner at xtra.co.nz (Cal Horner) Date: Tue, 18 Dec 2012 12:00:00 +1300 (New Zealand Daylight Time) Subject: LC 5.5.3 and Windows Explorer 7 Message-ID: <50CFA3EC.000003.04788@CALS_BIG_PC> Hi Bob Thanks for the reply. Here is a partial message from the Even Viewer. "The program LiveCode.exe version 5.5.3.1497 stopped interacting with Windows and was closed ... Process ID: b94 Start Time: 01cddc9fa3c85650 Termination Time: 49593 Application Path: F:\Program Files (x86)\RunRev\LiveCode 5.5.3\LiveCode.exe Report Id: e8467e2e-4892-11e2-933b-f46d04945611" Now I know that MS tends to put out some very obscure messages but this one seems plain enough. By the way, I've also uses the Problem Steps Recorder and that doesn't show anything significant either. Do you thing that this might be a problem for the boys & girls in Edinburugh" From bogdanoff at me.com Mon Dec 17 18:29:57 2012 From: bogdanoff at me.com (Peter Bogdanoff) Date: Mon, 17 Dec 2012 15:29:57 -0800 Subject: Find vs. Offset In-Reply-To: <50CFA3EC.000003.04788@CALS_BIG_PC> References: <50CFA3EC.000003.04788@CALS_BIG_PC> Message-ID: Hi, I have a stack with multiple substacks. One of the substacks is a Search tool to find text in the other substacks. Given a string to find, it searches the other stacks, returns a list of the cards where the string was found (there may be multiple hits on the same card), and puts excerpts of the strings of text (3 words before and after the found chunk) into a field. The user then clicks on a line of the field to go to a card where the text was originally found--there I do another Find to put the found box around the text. Am I right in assuming that I should use the offset function to do the original search rather than the Find command? I see that when I use the Find command, although I lock the screen, it is unlocked after going to each stack. Also I suspect it is a much slower method. There is a lot more scripting to do with the offset to search multiple fields, and multiple hits in the same field, to I would like to know if this is the best method. Any experience with this? Peter UCLA From dunbarx at aol.com Mon Dec 17 18:45:23 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 17 Dec 2012 18:45:23 -0500 (EST) Subject: Find vs. Offset In-Reply-To: References: <50CFA3EC.000003.04788@CALS_BIG_PC> Message-ID: <8CFAAC7B743574D-1A8-20015@webmail-m169.sysops.aol.com> I do not know if I am understanding you correctly, but my instincts say that "find" is the right way to go. "Offset" would require more management, whereas "find" is pretty self reliant. How would you use "offset" over multiple stacks anyway? Navigate to each card in each stack, and then test each field in turn, noting if the offset function returned a value or not? Certainly there is a value to this, in that the "offset" function can be tailored to find multiple instances. Perhaps a mixture of the two, "find" to get quickly to a card that has a hit, and then "offset" to find multiple instances? Craig Newman -----Original Message----- From: Peter Bogdanoff To: How to use LiveCode Sent: Mon, Dec 17, 2012 6:31 pm Subject: Find vs. Offset Hi, I have a stack with multiple substacks. One of the substacks is a Search tool to find text in the other substacks. Given a string to find, it searches the other stacks, returns a list of the cards where the string was found (there may be multiple hits on the same card), and puts excerpts of the strings of text (3 words before and after the found chunk) into a field. The user then clicks on a line of the field to go to a card where the text was originally found--there I do another Find to put the found box around the text. Am I right in assuming that I should use the offset function to do the original search rather than the Find command? I see that when I use the Find command, although I lock the screen, it is unlocked after going to each stack. Also I suspect it is a much slower method. There is a lot more scripting to do with the offset to search multiple fields, and multiple hits in the same field, to I would like to know if this is the best method. Any experience with this? Peter 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 bogdanoff at me.com Mon Dec 17 18:54:27 2012 From: bogdanoff at me.com (Peter Bogdanoff) Date: Mon, 17 Dec 2012 15:54:27 -0800 Subject: Find vs. Offset In-Reply-To: <8CFAAC7B743574D-1A8-20015@webmail-m169.sysops.aol.com> References: <50CFA3EC.000003.04788@CALS_BIG_PC> <8CFAAC7B743574D-1A8-20015@webmail-m169.sysops.aol.com> Message-ID: <96AC2B8A-4E87-4FDE-B6F8-C5DFC672BACB@me.com> I do see that there is much more management with the "offset", however, I believe I can use the offset without having to actually navigate to the other stack, and I found that going to another stack and using the "Find" there unlocks the screen (bad). I want the entire search done in one go with a list of all the found occurrences. On Dec 17, 2012, at 3:45 PM, dunbarx at aol.com wrote: > I do not know if I am understanding you correctly, but my instincts say that "find" is the right way to go. "Offset" would require more management, whereas "find" is pretty self reliant. > > > How would you use "offset" over multiple stacks anyway? Navigate to each card in each stack, and then test each field in turn, noting if the offset function returned a value or not? Certainly there is a value to this, in that the "offset" function can be tailored to find multiple instances. > > > Perhaps a mixture of the two, "find" to get quickly to a card that has a hit, and then "offset" to find multiple instances? > > > Craig Newman > > > > > -----Original Message----- > From: Peter Bogdanoff > To: How to use LiveCode > Sent: Mon, Dec 17, 2012 6:31 pm > Subject: Find vs. Offset > > > Hi, > > I have a stack with multiple substacks. One of the substacks is a Search tool to > find text in the other substacks. Given a string to find, it searches the other > stacks, returns a list of the cards where the string was found (there may be > multiple hits on the same card), and puts excerpts of the strings of text (3 > words before and after the found chunk) into a field. The user then clicks on a > line of the field to go to a card where the text was originally found--there I > do another Find to put the found box around the text. > > Am I right in assuming that I should use the offset function to do the original > search rather than the Find command? > > I see that when I use the Find command, although I lock the screen, it is > unlocked after going to each stack. Also I suspect it is a much slower method. > > There is a lot more scripting to do with the offset to search multiple fields, > and multiple hits in the same field, to I would like to know if this is the best > method. > > Any experience with this? > > Peter > 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 > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Dec 17 19:30:40 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 17 Dec 2012 16:30:40 -0800 Subject: LiveCode Player for Mountain Lion? In-Reply-To: References: Message-ID: if one wants to sync all one's devices with all one's apple apps one will still need Lion at the least. mobile me worked with Snow, but was disconnected. sqb On Mon, Dec 17, 2012 at 2:36 PM, Kay C Lan wrote: > Unless you have some other compelling reason to upgrade you are probably > better off sticking with SnoLeo. > > I've just posted about my own upgrade experience - [OT] MoLi Upgrade - Long > and Boring Post > > Which may help you decide, but because it's so long I'll just cut to the > chase: > > Summary > > MoLi would have to be, hands down, the most underwhelming OS upgrade I've > ever experienced and I skipped an OS! From what I can tell all that > happened is Apple is now dull conventional corporate grey - and that > happened in Lion, so apart from a non-working Dictation, I'm not exactly > sure what MoLi bought to the table. > > You'll discover a lot more is missing than just LiveCode Player and Web, > which as pointed out, is more a decision by RunRev rather than a by-product > of OS upgrades. > > On Mon, Dec 17, 2012 at 11:54 PM, Joseba Aguayo wrote: > > Hello: > > > > I am consider to change my Snow Leopard system to Mountain Lion. > > Exist a LiveCode Player for Mountain Lion???? > > Where is in the LiveCode Web??? > > > > Un saludo. > > > > Joseba. > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode 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 jhj at jhj.com Mon Dec 17 21:51:36 2012 From: jhj at jhj.com (Jerry Jensen) Date: Mon, 17 Dec 2012 18:51:36 -0800 Subject: LiveCode Player for Mountain Lion? In-Reply-To: References: Message-ID: <0BA2115E-C419-4976-9AD5-124840E20A8B@jhj.com> New macs won't go back. Supporting a gang can get difficult. I gave in. However, I'm sticking with Snow Leopard Server as long as I can get hardware that will run it. .Jerry On Dec 17, 2012, at 4:30 PM, stephen barncard wrote: > if one wants to sync all one's devices with all one's apple apps one will > still need Lion at the least. > > mobile me worked with Snow, but was disconnected. > > sqb > > On Mon, Dec 17, 2012 at 2:36 PM, Kay C Lan wrote: > >> Unless you have some other compelling reason to upgrade you are probably >> better off sticking with SnoLeo. >> >> I've just posted about my own upgrade experience - [OT] MoLi Upgrade - Long >> and Boring Post >> >> Which may help you decide, but because it's so long I'll just cut to the >> chase: >> >> Summary >> >> MoLi would have to be, hands down, the most underwhelming OS upgrade I've >> ever experienced and I skipped an OS! From what I can tell all that >> happened is Apple is now dull conventional corporate grey - and that >> happened in Lion, so apart from a non-working Dictation, I'm not exactly >> sure what MoLi bought to the table. >> >> You'll discover a lot more is missing than just LiveCode Player and Web, >> which as pointed out, is more a decision by RunRev rather than a by-product >> of OS upgrades. >> >> On Mon, Dec 17, 2012 at 11:54 PM, Joseba Aguayo wrote: >>> Hello: >>> >>> I am consider to change my Snow Leopard system to Mountain Lion. >>> Exist a LiveCode Player for Mountain Lion???? >>> Where is in the LiveCode Web??? >>> >>> Un saludo. >>> >>> Joseba. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 jacque at hyperactivesw.com Mon Dec 17 21:55:20 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 17 Dec 2012 20:55:20 -0600 Subject: [CODE] cool elapsed function In-Reply-To: References: Message-ID: <50CFDB18.3030802@hyperactivesw.com> On 12/17/12 10:46 AM, Andre Garzia wrote: > the function is called elapsed and you can use it to figure out if a > certain amount of time passed between two timestamps. I'd like a function that returns years, months, and days elapsed. I wrote a quick one that gets the number of days and divides by 30 to get months and days but it isn't very accurate. Since it's just for me I haven't gone back to fix it. Anyone have one already written? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Dec 17 22:04:27 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 17 Dec 2012 21:04:27 -0600 Subject: Find vs. Offset In-Reply-To: <96AC2B8A-4E87-4FDE-B6F8-C5DFC672BACB@me.com> References: <50CFA3EC.000003.04788@CALS_BIG_PC> <8CFAAC7B743574D-1A8-20015@webmail-m169.sysops.aol.com> <96AC2B8A-4E87-4FDE-B6F8-C5DFC672BACB@me.com> Message-ID: <50CFDD3B.20003@hyperactivesw.com> On 12/17/12 5:54 PM, Peter Bogdanoff wrote: > I do see that there is much more management with the "offset", > however, I believe I can use the offset without having to actually > navigate to the other stack, and I found that going to another stack > and using the "Find" there unlocks the screen (bad). The lockscreen command should really be called "lockWindow". It's a holdover from HyperCard where the stack did take up the whole screen (at first, anyway) so the two were essentially the same thing. Going to another stack will always force a redraw. You can lock the screen again after going there but you'll see the stack change. One trick that might work is to go to the other stacks invisibly. That will leave the first stack on screen and visually nothing will appear to change. Use "go invisible stack ". You shouldn't need to use lockscreen if you do that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lan.kc.macmail at gmail.com Mon Dec 17 22:53:41 2012 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 18 Dec 2012 11:53:41 +0800 Subject: Find vs. Offset In-Reply-To: <96AC2B8A-4E87-4FDE-B6F8-C5DFC672BACB@me.com> References: <50CFA3EC.000003.04788@CALS_BIG_PC> <8CFAAC7B743574D-1A8-20015@webmail-m169.sysops.aol.com> <96AC2B8A-4E87-4FDE-B6F8-C5DFC672BACB@me.com> Message-ID: On Tue, Dec 18, 2012 at 7:54 AM, Peter Bogdanoff wrote: > I do see that there is much more management with the "offset", however, I > believe I can use the offset without having to actually navigate to the > other stack, and I found that going to another stack and using the "Find" > there unlocks the screen (bad). > Sorry, not an answer but a pointer. How does the IDE's Find and Replace do it? This searches multiple stacks without visibly visiting the stacks - you end where you started, at the Find and Replace stack. It basically does what you want, except it only lists one line even if there are multiple entries, and it doesn't have 3 words before and after. HTH From stephenREVOLUTION2 at barncard.com Mon Dec 17 23:22:12 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 17 Dec 2012 20:22:12 -0800 Subject: LiveCode Player for Mountain Lion? In-Reply-To: <0BA2115E-C419-4976-9AD5-124840E20A8B@jhj.com> References: <0BA2115E-C419-4976-9AD5-124840E20A8B@jhj.com> Message-ID: absolutely. If one does not need that fluff, then stay with Snow. Most Stable of OSs. On Mon, Dec 17, 2012 at 6:51 PM, Jerry Jensen wrote: > New macs won't go back. Supporting a gang can get difficult. I gave in. > > However, I'm sticking with Snow Leopard Server as long as I can get > hardware that will run it. > > .Jerry > > On Dec 17, 2012, at 4:30 PM, stephen barncard < > stephenREVOLUTION2 at barncard.com> wrote: > > > if one wants to sync all one's devices with all one's apple apps one will > > still need Lion at the least. > > > > mobile me worked with Snow, but was disconnected. > > > > sqb > > > > On Mon, Dec 17, 2012 at 2:36 PM, Kay C Lan > wrote: > > > >> Unless you have some other compelling reason to upgrade you are probably > >> better off sticking with SnoLeo. > >> > >> I've just posted about my own upgrade experience - [OT] MoLi Upgrade - > Long > >> and Boring Post > >> > >> Which may help you decide, but because it's so long I'll just cut to the > >> chase: > >> > >> Summary > >> > >> MoLi would have to be, hands down, the most underwhelming OS upgrade > I've > >> ever experienced and I skipped an OS! From what I can tell all that > >> happened is Apple is now dull conventional corporate grey - and that > >> happened in Lion, so apart from a non-working Dictation, I'm not exactly > >> sure what MoLi bought to the table. > >> > >> You'll discover a lot more is missing than just LiveCode Player and Web, > >> which as pointed out, is more a decision by RunRev rather than a > by-product > >> of OS upgrades. > >> > >> On Mon, Dec 17, 2012 at 11:54 PM, Joseba Aguayo > wrote: > >>> Hello: > >>> > >>> I am consider to change my Snow Leopard system to Mountain Lion. > >>> Exist a LiveCode Player for Mountain Lion???? > >>> Where is in the LiveCode Web??? > >>> > >>> Un saludo. > >>> > >>> Joseba. > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode 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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From jacque at hyperactivesw.com Mon Dec 17 23:28:20 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 17 Dec 2012 22:28:20 -0600 Subject: Find vs. Offset In-Reply-To: References: <50CFA3EC.000003.04788@CALS_BIG_PC> <8CFAAC7B743574D-1A8-20015@webmail-m169.sysops.aol.com> <96AC2B8A-4E87-4FDE-B6F8-C5DFC672BACB@me.com> Message-ID: <50CFF0E4.3010402@hyperactivesw.com> On 12/17/12 9:53 PM, Kay C Lan wrote: > Sorry, not an answer but a pointer. How does the IDE's Find and Replace do > it? This searches multiple stacks without visibly visiting the stacks - you > end where you started, at the Find and Replace stack. It basically does > what you want, except it only lists one line even if there are multiple > entries, and it doesn't have 3 words before and after. The 1-line entry is an ancient bug. Resize the stack slightly and they all show up. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Tue Dec 18 00:29:28 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 17 Dec 2012 21:29:28 -0800 Subject: [CODE] cool elapsed function In-Reply-To: <50CFDB18.3030802@hyperactivesw.com> References: <50CFDB18.3030802@hyperactivesw.com> Message-ID: <143480031625.20121217212928@ahsoftware.net> Jacque- Monday, December 17, 2012, 6:55:20 PM, you wrote: > I'd like a function that returns years, months, and days elapsed. I I'd like one that calculates gray hair as a function of lines of code. -- -Mark Wieder mwieder at ahsoftware.net From jhj at jhj.com Tue Dec 18 00:39:00 2012 From: jhj at jhj.com (Jerry Jensen) Date: Mon, 17 Dec 2012 21:39:00 -0800 Subject: [CODE] cool elapsed function In-Reply-To: <143480031625.20121217212928@ahsoftware.net> References: <50CFDB18.3030802@hyperactivesw.com> <143480031625.20121217212928@ahsoftware.net> Message-ID: On Dec 17, 2012, at 9:29 PM, Mark Wieder wrote: > Jacque- > > Monday, December 17, 2012, 6:55:20 PM, you wrote: > >> I'd like a function that returns years, months, and days elapsed. I > > I'd like one that calculates gray hair as a function of lines of code. So I should stop with the comments, then? Or don't they count? .Jerry From jacque at hyperactivesw.com Tue Dec 18 00:44:04 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 17 Dec 2012 23:44:04 -0600 Subject: [CODE] cool elapsed function In-Reply-To: References: <50CFDB18.3030802@hyperactivesw.com> <143480031625.20121217212928@ahsoftware.net> Message-ID: <50D002A4.90605@hyperactivesw.com> On 12/17/12 11:39 PM, Jerry Jensen wrote: > On Dec 17, 2012, at 9:29 PM, Mark Wieder wrote: > >> Jacque- >> >> Monday, December 17, 2012, 6:55:20 PM, you wrote: >> >>> I'd like a function that returns years, months, and days elapsed. I >> >> I'd like one that calculates gray hair as a function of lines of code. > > So I should stop with the comments, then? Or don't they count? If you don't have enough lines of code, it calculates baldness instead. Better comment. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bogdanoff at me.com Tue Dec 18 00:46:46 2012 From: bogdanoff at me.com (Peter Bogdanoff) Date: Mon, 17 Dec 2012 21:46:46 -0800 Subject: Find vs. Offset In-Reply-To: <50CFF0E4.3010402@hyperactivesw.com> References: <50CFA3EC.000003.04788@CALS_BIG_PC> <8CFAAC7B743574D-1A8-20015@webmail-m169.sysops.aol.com> <96AC2B8A-4E87-4FDE-B6F8-C5DFC672BACB@me.com> <50CFF0E4.3010402@hyperactivesw.com> Message-ID: <0B762CF5-C84C-4A9B-A62F-007A5D46AB2B@me.com> So going to a stack and using the Find command is OK, speedwise? I'm searching 5 substacks, each with 200-500 cards. The Dictionary says that offset is faster. I was hoping that someone with eons of experience would say, "Nah, you should do such and such..." I guess I'll have to try both. Thanks Jacqueline for the bug pointer. Peter UCLA On Dec 17, 2012, at 8:28 PM, J. Landman Gay wrote: > On 12/17/12 9:53 PM, Kay C Lan wrote: > >> Sorry, not an answer but a pointer. How does the IDE's Find and Replace do >> it? This searches multiple stacks without visibly visiting the stacks - you >> end where you started, at the Find and Replace stack. It basically does >> what you want, except it only lists one line even if there are multiple >> entries, and it doesn't have 3 words before and after. > > The 1-line entry is an ancient bug. Resize the stack slightly and they all show up. > > -- > 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 mwieder at ahsoftware.net Tue Dec 18 00:56:36 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 17 Dec 2012 21:56:36 -0800 Subject: [CODE] cool elapsed function In-Reply-To: <50D002A4.90605@hyperactivesw.com> References: <50CFDB18.3030802@hyperactivesw.com> <143480031625.20121217212928@ahsoftware.net> <50D002A4.90605@hyperactivesw.com> Message-ID: <54481659343.20121217215636@ahsoftware.net> Jacque- Monday, December 17, 2012, 9:44:04 PM, you wrote: > On 12/17/12 11:39 PM, Jerry Jensen wrote: >> On Dec 17, 2012, at 9:29 PM, Mark Wieder wrote: >> >>> Jacque- >>> >>> Monday, December 17, 2012, 6:55:20 PM, you wrote: >>> >>>> I'd like a function that returns years, months, and days elapsed. I >>> >>> I'd like one that calculates gray hair as a function of lines of code. >> >> So I should stop with the comments, then? Or don't they count? > If you don't have enough lines of code, it calculates baldness instead. Oh. Never mind then. I know what the problem is. -- -Mark Wieder mwieder at ahsoftware.net From bogdanoff at me.com Tue Dec 18 01:15:51 2012 From: bogdanoff at me.com (Peter Bogdanoff) Date: Mon, 17 Dec 2012 22:15:51 -0800 Subject: LiveCode Player for Mountain Lion? In-Reply-To: References: <0BA2115E-C419-4976-9AD5-124840E20A8B@jhj.com> Message-ID: <509D170D-D965-4DBA-A057-ED516CD20DD8@me.com> I'm using Livecode 5.0 on Lion. Should Livecode be running properly? I do see some things that are not operating properly that worked in Snow Leopard, specifically issues with playing QuickTime files. I can't seem to find RunRev documentation that states OS version compatibility. Peter UCLA On Dec 17, 2012, at 8:22 PM, stephen barncard wrote: > absolutely. If one does not need that fluff, then stay with Snow. Most > Stable of OSs. > > On Mon, Dec 17, 2012 at 6:51 PM, Jerry Jensen wrote: > >> New macs won't go back. Supporting a gang can get difficult. I gave in. >> >> However, I'm sticking with Snow Leopard Server as long as I can get >> hardware that will run it. >> >> .Jerry >> >> On Dec 17, 2012, at 4:30 PM, stephen barncard < >> stephenREVOLUTION2 at barncard.com> wrote: >> >>> if one wants to sync all one's devices with all one's apple apps one will >>> still need Lion at the least. >>> >>> mobile me worked with Snow, but was disconnected. >>> >>> sqb >>> >>> On Mon, Dec 17, 2012 at 2:36 PM, Kay C Lan >> wrote: >>> >>>> Unless you have some other compelling reason to upgrade you are probably >>>> better off sticking with SnoLeo. >>>> >>>> I've just posted about my own upgrade experience - [OT] MoLi Upgrade - >> Long >>>> and Boring Post >>>> >>>> Which may help you decide, but because it's so long I'll just cut to the >>>> chase: >>>> >>>> Summary >>>> >>>> MoLi would have to be, hands down, the most underwhelming OS upgrade >> I've >>>> ever experienced and I skipped an OS! From what I can tell all that >>>> happened is Apple is now dull conventional corporate grey - and that >>>> happened in Lion, so apart from a non-working Dictation, I'm not exactly >>>> sure what MoLi bought to the table. >>>> >>>> You'll discover a lot more is missing than just LiveCode Player and Web, >>>> which as pointed out, is more a decision by RunRev rather than a >> by-product >>>> of OS upgrades. >>>> >>>> On Mon, Dec 17, 2012 at 11:54 PM, Joseba Aguayo >> wrote: >>>>> Hello: >>>>> >>>>> I am consider to change my Snow Leopard system to Mountain Lion. >>>>> Exist a LiveCode Player for Mountain Lion???? >>>>> Where is in the LiveCode Web??? >>>>> >>>>> Un saludo. >>>>> >>>>> Joseba. >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode 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 >> > > > > -- > > > > 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 jaguayo at telur.es Tue Dec 18 03:19:06 2012 From: jaguayo at telur.es (Joseba Aguayo) Date: Tue, 18 Dec 2012 09:19:06 +0100 Subject: use-livecode Digest, Vol 111, Issue 24 In-Reply-To: References: Message-ID: <1EE64D35-EDA8-4A28-8C8F-E56C570E3C6C@telur.es> Hello Mark: I use the Revolution Player for open and work with revolution stacks in Macs and Windows. This Player don?t run in my Mountain Lion Machine. Exist a Revolution Player for Mountain Lion??? (I can not find it on the RunRev Web). Un saludo. Joseba From lan.kc.macmail at gmail.com Tue Dec 18 03:29:52 2012 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 18 Dec 2012 16:29:52 +0800 Subject: Find vs. Offset In-Reply-To: <50CFF0E4.3010402@hyperactivesw.com> References: <50CFA3EC.000003.04788@CALS_BIG_PC> <8CFAAC7B743574D-1A8-20015@webmail-m169.sysops.aol.com> <96AC2B8A-4E87-4FDE-B6F8-C5DFC672BACB@me.com> <50CFF0E4.3010402@hyperactivesw.com> Message-ID: On Tue, Dec 18, 2012 at 12:28 PM, J. Landman Gay wrote: > On 12/17/12 9:53 PM, Kay C Lan wrote: > > except it only lists one line even if there are multiple >> entries, and it doesn't have 3 words before and after. >> > > The 1-line entry is an ancient bug. Resize the stack slightly and they all > show up. > > I didn't mean that. I meant that if a field contains 7 instances of the word 'cheese' it will only be listed in Find and Replace as one line , not 7. If you double-click on the line it will take you to the fld of the cd of the stack and 'box' the first instance of the word 'cheese'. Double-clicking the same line again will 'box' the second instance etc etc. From admin at FlexibleLearning.com Tue Dec 18 03:38:45 2012 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Tue, 18 Dec 2012 08:38:45 -0000 Subject: [CODE] cool elapsed function In-Reply-To: Message-ID: > On 12/17/12 10:46 AM, Andre Garzia wrote: > > > the function is called elapsed and you can use it to figure out if a > > certain amount of time passed between two timestamps. > Jacquie wrote... > I'd like a function that returns years, months, and days elapsed. I > wrote a quick one that gets the number of days and divides by 30 to get > months and days but it isn't very accurate. Since it's just for me I > haven't gone back to fix it. Anyone have one already written? >From The Scripter's Scrapbook... FUNCTION calcAccAge tBirthdate,tAsOf IF tAsOf = "" THEN put the short date into tAsOf END IF convert tBirthdate to dateItems convert tAsOf to dateItems put item 1 of tAsOf - item 1 of tBirthdate into item 1 of tYrMthday put item 2 of tAsOf - item 2 of tBirthdate into item 2 of tYrMthDay put item 3 of tAsOf - item 3 of tBirthdate into item 3 of tYrMthday IF (item 3 of tYrMthDay < 0) THEN put tAsOf into tHowManyDays -- here's the cool bit. 0 in item 3 of date items effectively gives you -- how many days in the month before put 0 into item 3 of tHowManyDays convert tHowManyDays to dateItems put item 3 of tHowManyDays + item 3 of tYrMthDay into item 3 of tYrMthDay -- when days are - we need to subtact 1 from the month count put item 2 of tYrMthDay - 1 into item 2 of tYrMthDay END IF IF (item 2 of tYrMthDay < 0) THEN -- used to convert a negative month count into a positive number put 12 + item 2 of tYrMthDay into item 2 of tYrMthDay -- when month is negative need to subtact 1 from yr count put item 1 of tYrMthDay - 1 into item 1 of tYrMthDay END IF return tYrMthDay END calcAccAge Hugh Senior FLCo From rabit at revigniter.com Tue Dec 18 04:08:43 2012 From: rabit at revigniter.com (Ralf Bitter) Date: Tue, 18 Dec 2012 10:08:43 +0100 Subject: [CODE] cool elapsed function In-Reply-To: <50CFDB18.3030802@hyperactivesw.com> References: <50CFDB18.3030802@hyperactivesw.com> Message-ID: <54313D3A-5B16-44B9-AA97-7891695A19D1@revigniter.com> Hi Jacqueline, may I invite you to check out the rigTimespan() function in the date helper of revIgniter? You would have to comment out the line "get rigLangLoadLang("date")" and to replace all calls to rigLangLangLine() with whatever time labeling you need. Ralf On 18.12.2012, at 03:55, J. Landman Gay wrote: > On 12/17/12 10:46 AM, Andre Garzia wrote: > >> the function is called elapsed and you can use it to figure out if a >> certain amount of time passed between two timestamps. > > I'd like a function that returns years, months, and days elapsed. I wrote a quick one that gets the number of days and divides by 30 to get months and days but it isn't very accurate. Since it's just for me I haven't gone back to fix it. Anyone have one already written? > > From jaguayo at telur.es Tue Dec 18 05:13:28 2012 From: jaguayo at telur.es (Joseba Aguayo) Date: Tue, 18 Dec 2012 11:13:28 +0100 Subject: use-livecode Digest, Vol 111, Issue 25 In-Reply-To: References: Message-ID: OK. Bob It's a great trick. And it works perfectly. Thank you very much. Un saludo. Joseba El Dec 18, 2012, a las 9:19 AM, use-livecode-request at lists.runrev.com escribi?: > There is no such thing as a Livecode player anymore. But you can roll your own. Just make a stack that opens other stacks. > > Bob From coiin at verizon.net Tue Dec 18 10:03:31 2012 From: coiin at verizon.net (Colin Holgate) Date: Tue, 18 Dec 2012 10:03:31 -0500 Subject: Find vs. Offset In-Reply-To: <0B762CF5-C84C-4A9B-A62F-007A5D46AB2B@me.com> References: <50CFA3EC.000003.04788@CALS_BIG_PC> <8CFAAC7B743574D-1A8-20015@webmail-m169.sysops.aol.com> <96AC2B8A-4E87-4FDE-B6F8-C5DFC672BACB@me.com> <50CFF0E4.3010402@hyperactivesw.com> <0B762CF5-C84C-4A9B-A62F-007A5D46AB2B@me.com> Message-ID: <8160616A-BC69-4028-9267-6ECC33983E2F@verizon.net> If it's a reference book you could pre index all of the words, then have a find field that knows the list of words used in each page. You could quickly know which cards contain any given word (using offset), and could then go to those cards to do a local find, to highlight the word. From pete at lcsql.com Tue Dec 18 12:31:17 2012 From: pete at lcsql.com (Peter Haworth) Date: Tue, 18 Dec 2012 09:31:17 -0800 Subject: [CODE] cool elapsed function In-Reply-To: <50CFDB18.3030802@hyperactivesw.com> References: <50CFDB18.3030802@hyperactivesw.com> Message-ID: Hi Jacque, I realize not all applications us an sqlite database but for those that do, sqlite has extremely powerful date calculation features. Space prohibits going into all the details but here's a few examples. To get the number of days between two dates: SELECT julianday('now') - julianday('1776-07-04') To get the number of seconds between two dates: SELECT strftime('%s','now') - strftime('%s','2004-01-01 02:34:56') To get the number of minutes, divide the result of the above by 60;hours divide by 3600. Lots of other things you can do, for example to compute the date of the first Tuesday in October for the current year: SELECT date('now','start of year','+9 months','weekday 2') All that's needed is one call to revdb_querylist. Date/time manipulation is so easy with sqlite that even if my application doesn't need an sqlite database, I open an in-memory, empty database anyway if I need to do date calculations: put revOpenDatabase("sqlite",":memory::,,,) into tdbid Pete lcSQL Software On Mon, Dec 17, 2012 at 6:55 PM, J. Landman Gay wrote: > On 12/17/12 10:46 AM, Andre Garzia wrote: > > the function is called elapsed and you can use it to figure out if a >> certain amount of time passed between two timestamps. >> > > I'd like a function that returns years, months, and days elapsed. I wrote > a quick one that gets the number of days and divides by 30 to get months > and days but it isn't very accurate. Since it's just for me I haven't gone > back to fix it. Anyone have one already written? > > -- > 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 Tue Dec 18 12:52:31 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 18 Dec 2012 11:52:31 -0600 Subject: [CODE] cool elapsed function In-Reply-To: References: Message-ID: <50D0AD5F.3030502@hyperactivesw.com> On 12/18/12 2:38 AM, FlexibleLearning.com wrote: >>From The Scripter's Scrapbook... > > > FUNCTION calcAccAge tBirthdate,tAsOf Cool, thanks very much! -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Dec 18 12:53:17 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 18 Dec 2012 11:53:17 -0600 Subject: [CODE] cool elapsed function In-Reply-To: <54313D3A-5B16-44B9-AA97-7891695A19D1@revigniter.com> References: <50CFDB18.3030802@hyperactivesw.com> <54313D3A-5B16-44B9-AA97-7891695A19D1@revigniter.com> Message-ID: <50D0AD8D.2070209@hyperactivesw.com> On 12/18/12 3:08 AM, Ralf Bitter wrote: > > Hi Jacqueline, > > may I invite you to check out the rigTimespan() function > in the date helper of revIgniter? Thanks Ralf, I'll take a look at this too. I knew someone must have already written something like this, now I have a couple to look at. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From slylabs13 at me.com Tue Dec 18 12:55:25 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Tue, 18 Dec 2012 09:55:25 -0800 Subject: Find vs. Offset In-Reply-To: <50CFDD3B.20003@hyperactivesw.com> References: <50CFA3EC.000003.04788@CALS_BIG_PC> <8CFAAC7B743574D-1A8-20015@webmail-m169.sysops.aol.com> <96AC2B8A-4E87-4FDE-B6F8-C5DFC672BACB@me.com> <50CFDD3B.20003@hyperactivesw.com> Message-ID: I did not know that! At least, I think I might have known that, and forgot, and then been reminded again, and then forgot again! Bob On Dec 17, 2012, at 7:04 PM, J. Landman Gay wrote: > On 12/17/12 5:54 PM, Peter Bogdanoff wrote: >> I do see that there is much more management with the "offset", >> however, I believe I can use the offset without having to actually >> navigate to the other stack, and I found that going to another stack >> and using the "Find" there unlocks the screen (bad). > > The lockscreen command should really be called "lockWindow". It's a holdover from HyperCard where the stack did take up the whole screen (at first, anyway) so the two were essentially the same thing. Going to another stack will always force a redraw. You can lock the screen again after going there but you'll see the stack change. > > One trick that might work is to go to the other stacks invisibly. That will leave the first stack on screen and visually nothing will appear to change. Use "go invisible stack ". You shouldn't need to use lockscreen if you do that. > > > -- > 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 Tue Dec 18 13:08:42 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 18 Dec 2012 12:08:42 -0600 Subject: Find vs. Offset In-Reply-To: References: <50CFA3EC.000003.04788@CALS_BIG_PC> <8CFAAC7B743574D-1A8-20015@webmail-m169.sysops.aol.com> <96AC2B8A-4E87-4FDE-B6F8-C5DFC672BACB@me.com> <50CFF0E4.3010402@hyperactivesw.com> Message-ID: <50D0B12A.6080907@hyperactivesw.com> On 12/18/12 2:29 AM, Kay C Lan wrote: > On Tue, Dec 18, 2012 at 12:28 PM, J. Landman Gay > wrote: > >> On 12/17/12 9:53 PM, Kay C Lan wrote: >> >> except it only lists one line even if there are multiple >>> entries, and it doesn't have 3 words before and after. >>> >> >> The 1-line entry is an ancient bug. Resize the stack slightly and they all >> show up. >> >> I didn't mean that. I meant that if a field contains 7 instances of the > word 'cheese' it will only be listed in Find and Replace as one line , not > 7. > > If you double-click on the line it will take you to the fld of the cd of > the stack and 'box' the first instance of the word 'cheese'. > Double-clicking the same line again will 'box' the second instance etc etc. I get it now, I've never noticed that. Maybe that's because I usually only search scripts, and I use the Find field in the script editor to find repeat instances. Thanks. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Dec 18 13:49:02 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 18 Dec 2012 12:49:02 -0600 Subject: [CODE] cool elapsed function In-Reply-To: References: <50CFDB18.3030802@hyperactivesw.com> Message-ID: <50D0BA9E.9090403@hyperactivesw.com> On 12/18/12 11:31 AM, Peter Haworth wrote: > Hi Jacque, > I realize not all applications us an sqlite database but for those that do, > sqlite has extremely powerful date calculation features. Yup, only this is just for me, the start date remains fixed in time, and I just want to occasionally check how long it's been since then. If you must know, I'm tracking the time since I quit smoking. So far, 6 months 18 days. E-cigs work. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Dec 18 13:51:19 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 18 Dec 2012 12:51:19 -0600 Subject: Find vs. Offset In-Reply-To: References: <50CFA3EC.000003.04788@CALS_BIG_PC> <8CFAAC7B743574D-1A8-20015@webmail-m169.sysops.aol.com> <96AC2B8A-4E87-4FDE-B6F8-C5DFC672BACB@me.com> <50CFDD3B.20003@hyperactivesw.com> Message-ID: <50D0BB27.8080105@hyperactivesw.com> On 12/18/12 11:55 AM, Robert Sneidar wrote: > I did not know that! At least, I think I might have known that, and > forgot, and then been reminded again, and then forgot again! Please see the code-lines/grey hair/baldness thread elsewhere. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From slylabs13 at me.com Tue Dec 18 13:51:17 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Tue, 18 Dec 2012 10:51:17 -0800 Subject: [CODE] cool elapsed function In-Reply-To: <50D0BA9E.9090403@hyperactivesw.com> References: <50CFDB18.3030802@hyperactivesw.com> <50D0BA9E.9090403@hyperactivesw.com> Message-ID: <73C8DE3F-2D27-4ACD-B299-3B288A423193@me.com> CONGRATZ!!! You've come too far to turn back now!!! GO JACQUE! Bob On Dec 18, 2012, at 10:49 AM, J. Landman Gay wrote: > On 12/18/12 11:31 AM, Peter Haworth wrote: >> Hi Jacque, >> I realize not all applications us an sqlite database but for those that do, >> sqlite has extremely powerful date calculation features. > > Yup, only this is just for me, the start date remains fixed in time, and I just want to occasionally check how long it's been since then. > > If you must know, I'm tracking the time since I quit smoking. So far, 6 months 18 days. E-cigs work. :) > > -- > 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 simon at asato-media.com Tue Dec 18 16:08:38 2012 From: simon at asato-media.com (As_Simon) Date: Tue, 18 Dec 2012 13:08:38 -0800 (PST) Subject: [kind of OT] Robots In-Reply-To: <5025D436-EE72-4B9A-9AA5-D64CA66AEB37@de-mare.nl> References: <5025D436-EE72-4B9A-9AA5-D64CA66AEB37@de-mare.nl> Message-ID: <1355864918779-4658192.post@n4.nabble.com> Check out http://www.phidgets.com/ Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/kind-of-OT-Robots-tp4658103p4658192.html Sent from the Revolution - User mailing list archive at Nabble.com. From bogdanoff at me.com Tue Dec 18 16:13:28 2012 From: bogdanoff at me.com (Peter Bogdanoff) Date: Tue, 18 Dec 2012 13:13:28 -0800 Subject: Find vs. Offset In-Reply-To: <8160616A-BC69-4028-9267-6ECC33983E2F@verizon.net> References: <50CFA3EC.000003.04788@CALS_BIG_PC> <8CFAAC7B743574D-1A8-20015@webmail-m169.sysops.aol.com> <96AC2B8A-4E87-4FDE-B6F8-C5DFC672BACB@me.com> <50CFF0E4.3010402@hyperactivesw.com> <0B762CF5-C84C-4A9B-A62F-007A5D46AB2B@me.com> <8160616A-BC69-4028-9267-6ECC33983E2F@verizon.net> Message-ID: <4D8882E3-57D3-4A03-A035-208DDE16CBA3@me.com> Colin, Thanks. It is a reference work. However I'm allowing a string search which could be several words or parts of words. But I suppose an index could handle that. Peter On Dec 18, 2012, at 7:03 AM, Colin Holgate wrote: > If it's a reference book you could pre index all of the words, then have a find field that knows the list of words used in each page. You could quickly know which cards contain any given word (using offset), and could then go to those cards to do a local find, to highlight the word. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Dec 18 16:56:30 2012 From: pete at lcsql.com (Peter Haworth) Date: Tue, 18 Dec 2012 13:56:30 -0800 Subject: Find vs. Offset In-Reply-To: <4D8882E3-57D3-4A03-A035-208DDE16CBA3@me.com> References: <50CFA3EC.000003.04788@CALS_BIG_PC> <8CFAAC7B743574D-1A8-20015@webmail-m169.sysops.aol.com> <96AC2B8A-4E87-4FDE-B6F8-C5DFC672BACB@me.com> <50CFF0E4.3010402@hyperactivesw.com> <0B762CF5-C84C-4A9B-A62F-007A5D46AB2B@me.com> <8160616A-BC69-4028-9267-6ECC33983E2F@verizon.net> <4D8882E3-57D3-4A03-A035-208DDE16CBA3@me.com> Message-ID: Hi Peter, You might consider taking a look at the SQLite Full Text Search table functionality. It's easy to set up, harder to learn hot to retrieve stuff correctly. But it is lightning fast. Pete lcSQL Software On Tue, Dec 18, 2012 at 1:13 PM, Peter Bogdanoff wrote: > Colin, > > Thanks. It is a reference work. However I'm allowing a string search which > could be several words or parts of words. But I suppose an index could > handle that. > > Peter > > On Dec 18, 2012, at 7:03 AM, Colin Holgate wrote: > > > If it's a reference book you could pre index all of the words, then have > a find field that knows the list of words used in each page. You could > quickly know which cards contain any given word (using offset), and could > then go to those cards to do a local find, to highlight the word. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Dec 18 17:10:28 2012 From: pete at lcsql.com (Peter Haworth) Date: Tue, 18 Dec 2012 14:10:28 -0800 Subject: Duplicate handler names Message-ID: I was surprised to discover today that duplicate handler names in a script are not flagged as errors when the script is compiled, nor do they cause a runtime error. I can see that a command handler and a function handler might be OK with duplicate names (although not sure why you'd want to do that) but I can't think of any reason why command handlers with the same name should be allowed. Pete lcSQL Software From jacque at hyperactivesw.com Tue Dec 18 17:55:09 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 18 Dec 2012 16:55:09 -0600 Subject: Duplicate handler names In-Reply-To: References: Message-ID: <50D0F44D.2040309@hyperactivesw.com> On 12/18/12 4:10 PM, Peter Haworth wrote: > I was surprised to discover today that duplicate handler names in a script > are not flagged as errors when the script is compiled, nor do they cause a > runtime error. > > I can see that a command handler and a function handler might be OK with > duplicate names (although not sure why you'd want to do that) but I can't > think of any reason why command handlers with the same name should be > allowed. There's no conflict, whichever handler appears first is executed and the ones below it are ignored. I sometimes use this to test different versions of a handler, I just keep putting the newest revision at the top. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Tue Dec 18 18:19:44 2012 From: pete at lcsql.com (Peter Haworth) Date: Tue, 18 Dec 2012 15:19:44 -0800 Subject: Duplicate handler names In-Reply-To: <50D0F44D.2040309@hyperactivesw.com> References: <50D0F44D.2040309@hyperactivesw.com> Message-ID: Right, I see what happens and I see that you can make use of it test different versions of a handler, but I'd have to respectfully disagree that this isn't a conflict. Seems like minimum there should be a warning of some sort for those of us who didn't know this wasn't an error. Pete lcSQL Software On Tue, Dec 18, 2012 at 2:55 PM, J. Landman Gay wrote: > On 12/18/12 4:10 PM, Peter Haworth wrote: > >> I was surprised to discover today that duplicate handler names in a script >> are not flagged as errors when the script is compiled, nor do they cause a >> runtime error. >> >> I can see that a command handler and a function handler might be OK with >> duplicate names (although not sure why you'd want to do that) but I can't >> think of any reason why command handlers with the same name should be >> allowed. >> > > There's no conflict, whichever handler appears first is executed and the > ones below it are ignored. I sometimes use this to test different versions > of a handler, I just keep putting the newest revision at the top. > > -- > 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 johnpatten at me.com Tue Dec 18 18:51:24 2012 From: johnpatten at me.com (JOHN PATTEN) Date: Tue, 18 Dec 2012 15:51:24 -0800 Subject: Send Data/Text From iOS to Desktop App on LAN? Message-ID: Hi All? Is there a simple a example floating around that shows how to send text or data from a iOS app to a LiveCode App on a desktop all on the same LAN? This would be in a classroom setting where students would have the iOS devices and the teachers would be in possession of the single desktop machine. Preferably teacher would not have to set up an http or ftp server on their local machine. Thank you! John Patten SUSD From coiin at verizon.net Tue Dec 18 19:04:53 2012 From: coiin at verizon.net (Colin Holgate) Date: Tue, 18 Dec 2012 19:04:53 -0500 Subject: Send Data/Text From iOS to Desktop App on LAN? In-Reply-To: References: Message-ID: From the debates on sockets I wonder if what you're asking can be done. But, you could have the desktop computer act as a file server, that the mobile app sends to with PHP. Then your desktop app checks the server folder frequently for any new instructions. I did an app that is running in Times Square at the moment, where three iPads are sending images to an iMac running as a server, and another app is running all the time on the iMac, showing the images on its screen. Now, that was all done with Flash, but the principle is the same. Here's a Times Square jumbotron video promoting the app: http://xfiles.funnygarbage.com/~colinholgate/video/aerojumbotron.m4v From davidocoker at gmail.com Tue Dec 18 19:08:37 2012 From: davidocoker at gmail.com (David C.) Date: Tue, 18 Dec 2012 18:08:37 -0600 Subject: [CODE] cool elapsed function In-Reply-To: <73C8DE3F-2D27-4ACD-B299-3B288A423193@me.com> References: <50CFDB18.3030802@hyperactivesw.com> <50D0BA9E.9090403@hyperactivesw.com> <73C8DE3F-2D27-4ACD-B299-3B288A423193@me.com> Message-ID: >> >> If you must know, I'm tracking the time since I quit smoking. So far, 6 months 18 days. E-cigs work. :) >> Bravo Jacque! ...I'm so happy whenever I hear the news of someone quitting and am excited for you. Been there, done that, fully understand just how difficult it can be. I'm almost 28 months out from quitting a pretty bad 40+ year version of that habit myself... Good on you, nice lady! Regards, DavidC. From lvhdgc7 at gmail.com Tue Dec 18 19:40:41 2012 From: lvhdgc7 at gmail.com (tbodine) Date: Tue, 18 Dec 2012 16:40:41 -0800 (PST) Subject: updateScreen messge - gestation period In-Reply-To: References: Message-ID: <1355877641469-4658201.post@n4.nabble.com> It's 6 months and two updates since the original question was asked. Any sign of "updateScreen" now? -- Tom Bodine > I'm just wondering about the 'updateScreen' message which is mentioned in > Lesson 1 of the Game Academy; this was recorded before Christmas 2011 and > it's stated that it will be incorporated into the Engine in 'a couple of > weeks'. A similar response is in the Q&A sheet that's also included. > > The 5.5.1 update came out only last month but when I checked my 5.5.1 > Dictionary there is no entry. I checked the release notes, no mention. > > Is it hiding in there or was the due date miscalculated? > _______________________________________________ > use-livecode mailing list > use-livecode at .runrev > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at .runrev Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/updateScreen-messge-gestation-period-tp4652929p4658201.html Sent from the Revolution - User mailing list archive at Nabble.com. From monte at sweattechnologies.com Tue Dec 18 20:00:18 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 19 Dec 2012 12:00:18 +1100 Subject: Send Data/Text From iOS to Desktop App on LAN? In-Reply-To: References: Message-ID: <15DE810C-769B-410D-8ADC-77946A19AA60@sweattechnologies.com> Hi John You will probably need mergBonjour if you don't want the teacher to need to setup anything. Then accept connections on a port on you desktop and use rresockets to send data. On desktop you will also need to use dns-sd or something to advertise a bonjour service so mergBonjour can find the server. Cheers Monte On 19/12/2012, at 10:51 AM, JOHN PATTEN wrote: > Hi All? > > Is there a simple a example floating around that shows how to send text or data from a iOS app to a LiveCode App on a desktop all on the same LAN? > > This would be in a classroom setting where students would have the iOS devices and the teachers would be in possession of the single desktop machine. Preferably teacher would not have to set up an http or ftp server on their local machine. > > Thank you! > > John Patten > SUSD > _______________________________________________ > use-livecode mailing list > use-livecode 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 pete at lcsql.com Tue Dec 18 20:54:59 2012 From: pete at lcsql.com (Peter Haworth) Date: Tue, 18 Dec 2012 17:54:59 -0800 Subject: [ANN] Version 1.2.1 of lcStackBrowser Released Message-ID: I'm happy to announce the availability of version 1.2.1 of lcStackBrowser, a plugin alternative to the IDE Application Browser. The release notes for this version can be found here and a 30-day, fully functional trial is available for download here . There is also a new version of setLocals, my free utility for creating local variable definitions. Aside from general improvements, I have added logic to check the spelling of variables to identify possible misspellings of the same variable name within a script. Pete lcSQL Software From jacque at hyperactivesw.com Tue Dec 18 21:32:23 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 18 Dec 2012 20:32:23 -0600 Subject: [CODE] cool elapsed function In-Reply-To: References: <50CFDB18.3030802@hyperactivesw.com> <50D0BA9E.9090403@hyperactivesw.com> <73C8DE3F-2D27-4ACD-B299-3B288A423193@me.com> Message-ID: <50D12737.8020304@hyperactivesw.com> On 12/18/12 6:08 PM, David C. wrote: >>> >>> If you must know, I'm tracking the time since I quit smoking. So far, 6 months 18 days. E-cigs work. :) >>> > > Bravo Jacque! > ...I'm so happy whenever I hear the news of someone quitting and am > excited for you. > Been there, done that, fully understand just how difficult it can be. > > I'm almost 28 months out from quitting a pretty bad 40+ year version > of that habit myself... > > Good on you, nice lady! Thanks. I didn't mean to hijack the thread, but...it wasn't hard. I quit in one day without any problem and never looked back. After dozens of failed attempts using every crutch on the market, I tried an e-cig and I'm still using them. No cancer in those. I'm amazed you could do it alone, I couldn't. So good on you back. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From slylabs13 at me.com Tue Dec 18 22:29:34 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Tue, 18 Dec 2012 19:29:34 -0800 Subject: Duplicate handler names In-Reply-To: References: <50D0F44D.2040309@hyperactivesw.com> Message-ID: <4D617314-06F6-498A-970A-808AA9703BB2@me.com> Not so unusual, seeing you can have a mouseUp in a button and a card and pass the message. I can envision doing something similar with a custom handler. In the same script though, that does seem odd. Bob Sneidar IT Manager Calvary Chapel CM Sent from iPhone On Dec 18, 2012, at 15:19, Peter Haworth wrote: > Right, I see what happens and I see that you can make use of it test > different versions of a handler, but I'd have to respectfully disagree that > this isn't a conflict. Seems like minimum there should be a warning of > some sort for those of us who didn't know this wasn't an error. > Pete > lcSQL Software > > > > On Tue, Dec 18, 2012 at 2:55 PM, J. Landman Gay wrote: > >> On 12/18/12 4:10 PM, Peter Haworth wrote: >> >>> I was surprised to discover today that duplicate handler names in a script >>> are not flagged as errors when the script is compiled, nor do they cause a >>> runtime error. >>> >>> I can see that a command handler and a function handler might be OK with >>> duplicate names (although not sure why you'd want to do that) but I can't >>> think of any reason why command handlers with the same name should be >>> allowed. >> >> There's no conflict, whichever handler appears first is executed and the >> ones below it are ignored. I sometimes use this to test different versions >> of a handler, I just keep putting the newest revision at the top. >> >> -- >> 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 terry.judd at unimelb.edu.au Tue Dec 18 22:42:56 2012 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 19 Dec 2012 03:42:56 +0000 Subject: Disabling items in an option menu on Windows Message-ID: I have a feeling that I've run into this problem before but... is there any way to disable specific items in an optionmenu button on Windows? Disabling adds a "(" to the front of the text of the specified item as expected but the item itself isn't dimmed. Terry... Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From dunbarx at aol.com Tue Dec 18 23:30:36 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 18 Dec 2012 23:30:36 -0500 (EST) Subject: Duplicate handler names In-Reply-To: <4D617314-06F6-498A-970A-808AA9703BB2@me.com> References: <50D0F44D.2040309@hyperactivesw.com> <4D617314-06F6-498A-970A-808AA9703BB2@me.com> Message-ID: <8CFABB8BA2E1C40-10BC-2B363@webmail-d046.sysops.aol.com> This dates to 1987. Only the first one is valid, the others ignored.As Jacque says, very useful when fooling around with the structure of a handler, and you want to keep the original, or another version, below for reference. You do not have to comment the lower one out, which is convenient. Craig Newman -----Original Message----- From: Robert Sneidar To: How to use LiveCode Sent: Tue, Dec 18, 2012 10:30 pm Subject: Re: Duplicate handler names Not so unusual, seeing you can have a mouseUp in a button and a card and pass the message. I can envision doing something similar with a custom handler. In the same script though, that does seem odd. Bob Sneidar IT Manager Calvary Chapel CM Sent from iPhone On Dec 18, 2012, at 15:19, Peter Haworth wrote: > Right, I see what happens and I see that you can make use of it test > different versions of a handler, but I'd have to respectfully disagree that > this isn't a conflict. Seems like minimum there should be a warning of > some sort for those of us who didn't know this wasn't an error. > Pete > lcSQL Software > > > > On Tue, Dec 18, 2012 at 2:55 PM, J. Landman Gay wrote: > >> On 12/18/12 4:10 PM, Peter Haworth wrote: >> >>> I was surprised to discover today that duplicate handler names in a script >>> are not flagged as errors when the script is compiled, nor do they cause a >>> runtime error. >>> >>> I can see that a command handler and a function handler might be OK with >>> duplicate names (although not sure why you'd want to do that) but I can't >>> think of any reason why command handlers with the same name should be >>> allowed. >> >> There's no conflict, whichever handler appears first is executed and the >> ones below it are ignored. I sometimes use this to test different versions >> of a handler, I just keep putting the newest revision at the top. >> >> -- >> 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 ambassador at fourthworld.com Wed Dec 19 00:55:13 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 18 Dec 2012 21:55:13 -0800 Subject: Disabling items in an option menu on Windows In-Reply-To: References: Message-ID: <50D156C1.1010105@fourthworld.com> Dr Terry Judd wrote: > is there any way to disable specific items in an optionmenu button > on Windows? Disabling adds a "(" to the front of the text of the > specified item as expected but the item itself isn't dimmed. I believe this is a function of the Win API, since the HIG for that platform doesn't support disabled option items. I submitted a request for this some time ago, but I believe they'd need to do an ugly patch to work around that OS limitation so I wouldn't hold my breath. Any design workaround options we might be able to help with? -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From gerry.orkin at gmail.com Wed Dec 19 00:55:19 2012 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Wed, 19 Dec 2012 16:55:19 +1100 Subject: XML help Message-ID: <2BDB1739-FBCA-4455-8328-C9B9B7C67C2F@gmail.com> Hi all I have no XML experience and I need help with extracting data from a tree. Hope someone can point me in the right direction - I've looked at the XML lesson on the RunRev site but I can't transfer what I've learnt there to my situation for some reason (well, the reason is I'm new to this and confused :)). Here's my XML: The XYZ Podcast: Episode #291 Thu, 06 Dec 2012 15:30:57 +0000 Some show notes go here The XYZ Podcast: Episode #292 Thu, 06 Dec 2012 15:30:57 +0000 Some show notes go here (That goes on for 322 items!) There is other, non-repeating stuff at the top of the feed that I've not pasted here, and I can get the contents of those nodes with no problem at all. But how do I then extract all the sub-nodes under the node into a table? Thanks in advance! Gerry From terry.judd at unimelb.edu.au Wed Dec 19 01:01:53 2012 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 19 Dec 2012 06:01:53 +0000 Subject: Disabling items in an option menu on Windows In-Reply-To: <50D156C1.1010105@fourthworld.com> References: <50D156C1.1010105@fourthworld.com> Message-ID: On 19/12/2012, at 04:55 PM, Richard Gaskin wrote: > Dr Terry Judd wrote: > > > is there any way to disable specific items in an optionmenu button > > on Windows? Disabling adds a "(" to the front of the text of the > > specified item as expected but the item itself isn't dimmed. > > I believe this is a function of the Win API, since the HIG for that platform doesn't support disabled option items. > > I submitted a request for this some time ago, but I believe they'd need to do an ugly patch to work around that OS limitation so I wouldn't hold my breath. > > Any design workaround options we might be able to help with? Thanks Richard, I'm already disabling items on the fly (there are a series of option menus each dependent on the other to some degree) so I guess I'll just delete the disabled items instead. Cheers, Terry... > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for Desktop, Mobile, and Web > ____________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From dixonja at hotmail.co.uk Wed Dec 19 01:12:01 2012 From: dixonja at hotmail.co.uk (John Dixon) Date: Wed, 19 Dec 2012 06:12:01 +0000 Subject: [Ann] Letteris 1.0 Message-ID: Another 'mobile' app for the iTunes store built using liveCode... that for me is four in total for the year... I guess the plan should be to get them all running on Android devices in the New Year... :-) You remember 'Tetris'? all those falling tiles, well, letteris has falling tiles with letters in them ! There are 172,000+ words in the dictionary that includes both the American and British way of spelling certain words... https://itunes.apple.com/us/app/letteris/id582996022?ls=1&mt=8 be well Dixie From monte at sweattechnologies.com Wed Dec 19 01:42:24 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 19 Dec 2012 17:42:24 +1100 Subject: XML help In-Reply-To: <2BDB1739-FBCA-4455-8328-C9B9B7C67C2F@gmail.com> References: <2BDB1739-FBCA-4455-8328-C9B9B7C67C2F@gmail.com> Message-ID: On 19/12/2012, at 4:55 PM, Gerry Orkin wrote: > Hi all > > I have no XML experience and I need help with extracting data from a tree. Hope someone can point me in the right direction - I've looked at the XML lesson on the RunRev site but I can't transfer what I've learnt there to my situation for some reason (well, the reason is I'm new to this and confused :)). > > Here's my XML: > > > > The XYZ Podcast: Episode #291 > Thu, 06 Dec 2012 15:30:57 +0000 > > > > Some show notes go here > > > > The XYZ Podcast: Episode #292 > Thu, 06 Dec 2012 15:30:57 +0000 > > > > Some show notes go here > > > > (That goes on for 322 items!) > > There is other, non-repeating stuff at the top of the feed that I've not pasted here, and I can get the contents of those nodes with no problem at all. But how do I then extract all the sub-nodes under the node into a table? Does your list of items have a parent node? Odd if it doesn't. I'm guessing it does so you can do something like this: put 1 into tIndex repeat for each line tNode in revXMLChildNames(treeID,"/items",cr,"item",true) repeat for each line tChildNode in revXMLChildNames(treeID,"/items/"&tNode,cr,,false) put revXMLNodeContents(treeID,"/items/"&tNode&"/"&tChildNode) into tData[tIndex][tChildNode] end repeat add 1 to tIndex end repeat > > Thanks in advance! > > Gerry > _______________________________________________ > use-livecode mailing list > use-livecode 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 jaguayo at telur.es Tue Dec 18 13:36:51 2012 From: jaguayo at telur.es (Joseba Aguayo) Date: Tue, 18 Dec 2012 19:36:51 +0100 Subject: LiveCode Player for Mountain Lion? In-Reply-To: References: Message-ID: ??? Snow Leopard begins to be known as the LAST GREAT Apple operating system !!! And I think that is the truth. Un saludo. Joseba El Dec 18, 2012, a las 9:19 AM, use-livecode-request at lists.runrev.com escribi?: > absolutely. If one does not need that fluff, then stay with Snow. Most > Stable of OSs. From lvhdgc7 at gmail.com Wed Dec 19 12:30:38 2012 From: lvhdgc7 at gmail.com (tbodine) Date: Wed, 19 Dec 2012 09:30:38 -0800 (PST) Subject: Send Data/Text From iOS to Desktop App on LAN? In-Reply-To: <15DE810C-769B-410D-8ADC-77946A19AA60@sweattechnologies.com> References: <15DE810C-769B-410D-8ADC-77946A19AA60@sweattechnologies.com> Message-ID: <1355938238905-4658214.post@n4.nabble.com> Hi all. I'm also in the market for a solution like this. Monte, would the solution you described work cross platform? (So either Mac or PC on desktop and either iOS or Android devices running the mobile app?) Thanks, Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Send-Data-Text-From-iOS-to-Desktop-App-on-LAN-tp4658198p4658214.html Sent from the Revolution - User mailing list archive at Nabble.com. From monte at sweattechnologies.com Wed Dec 19 14:10:56 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 20 Dec 2012 06:10:56 +1100 Subject: Send Data/Text From iOS to Desktop App on LAN? In-Reply-To: <1355938238905-4658214.post@n4.nabble.com> References: <15DE810C-769B-410D-8ADC-77946A19AA60@sweattechnologies.com> <1355938238905-4658214.post@n4.nabble.com> Message-ID: <0B2DDF92-2C87-4589-A95E-D520DD457562@sweattechnologies.com> Yes on the desktop side. You will need to wait for android externals to get mergBonjour there though. Feel free to email runrev support to give them a poke about it! Cheers -- M E R Goulding Software development services mergExt - There's an external for that! On 20/12/2012, at 4:30 AM, tbodine wrote: > Hi all. > > I'm also in the market for a solution like this. > > Monte, would the solution you described work cross platform? (So either Mac > or PC on desktop and either iOS or Android devices running the mobile app?) > > Thanks, > Tom Bodine > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Send-Data-Text-From-iOS-to-Desktop-App-on-LAN-tp4658198p4658214.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 MikeKerner at roadrunner.com Wed Dec 19 14:11:05 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 19 Dec 2012 14:11:05 -0500 Subject: Send Data/Text From iOS to Desktop App on LAN? In-Reply-To: <1355938238905-4658214.post@n4.nabble.com> References: <15DE810C-769B-410D-8ADC-77946A19AA60@sweattechnologies.com> <1355938238905-4658214.post@n4.nabble.com> Message-ID: John, Can you be a little more specific about what you are thinking about doing? There are numerous ways to skin the cat. You could have the LC app on the teacher's machine act as an http server and the ios apps as clients. You could also have the mobile apps generate files and upload them to dropbox. Then if there is not some special functionality required on the teacher's app, they could just open their dropbox folder. I can think of several other ways to do the same thing, depending on what you're thinking about doing. On Wed, Dec 19, 2012 at 12:30 PM, tbodine wrote: > Hi all. > > I'm also in the market for a solution like this. > > Monte, would the solution you described work cross platform? (So either Mac > or PC on desktop and either iOS or Android devices running the mobile app?) > > Thanks, > Tom Bodine > > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Send-Data-Text-From-iOS-to-Desktop-App-on-LAN-tp4658198p4658214.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 > -- 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 Dec 19 14:11:05 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 19 Dec 2012 14:11:05 -0500 Subject: Send Data/Text From iOS to Desktop App on LAN? In-Reply-To: <1355938238905-4658214.post@n4.nabble.com> References: <15DE810C-769B-410D-8ADC-77946A19AA60@sweattechnologies.com> <1355938238905-4658214.post@n4.nabble.com> Message-ID: John, Can you be a little more specific about what you are thinking about doing? There are numerous ways to skin the cat. You could have the LC app on the teacher's machine act as an http server and the ios apps as clients. You could also have the mobile apps generate files and upload them to dropbox. Then if there is not some special functionality required on the teacher's app, they could just open their dropbox folder. I can think of several other ways to do the same thing, depending on what you're thinking about doing. On Wed, Dec 19, 2012 at 12:30 PM, tbodine wrote: > Hi all. > > I'm also in the market for a solution like this. > > Monte, would the solution you described work cross platform? (So either Mac > or PC on desktop and either iOS or Android devices running the mobile app?) > > Thanks, > Tom Bodine > > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Send-Data-Text-From-iOS-to-Desktop-App-on-LAN-tp4658198p4658214.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 > -- 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 johnpatten at me.com Wed Dec 19 14:42:07 2012 From: johnpatten at me.com (JOHN PATTEN) Date: Wed, 19 Dec 2012 11:42:07 -0800 Subject: Send Data/Text From iOS to Desktop App on LAN? In-Reply-To: References: <15DE810C-769B-410D-8ADC-77946A19AA60@sweattechnologies.com> <1355938238905-4658214.post@n4.nabble.com> Message-ID: <11912CC0-A6F2-4D3F-8228-E82359C264CA@me.com> Hi Mike? This is just thinking off the top of my head? But I was looking at a strategy that could be duplicated over and over in multiple student(client/iOS) - teacher(server/DesktopAPP) scenarios. Similar to classroom response systems (clickers), but targeted at more specific curriculum (science, geology, the arts, etc.) A way for students to engage with the content and to tabulate and share the engagement (student responses) as a whole. This can obviously be expanded on once you get the iOS and the desktop app speaking to each other?. tracking student responses in database so they can be recorded and evaluated, game development that may return achievement points/badges based on the data they are submitting, etc. etc. I understand conceptually how some of the client (iOS) to desktop app communication (ftp uploads, http server posts) but those seem so much more involved than the simple socket example demonstrated by Bjornke's example. 1. I would like to give this tool to a teacher, let them build their content in the app. 2. At the start of the lesson, click a button on their app which reports their IP to them witch they then share that with the students who record it in their iOS client. 3 Then once the students have connected their iOS client to the desktop app, allow the student clients to pull down the teacher created content and respond to the content through the client that is then recorded in the teacher's app. This sounds very similar to how a web server and browser work, however I was hoping the teacher would not have to worry about setting up and HTTP or FTP, DNS server and could just allow the clients to send data directly to the teacher's app. This make sense? ? :) Thank you! On Dec 19, 2012, at 11:11 AM, Mike Kerner wrote: > John, > Can you be a little more specific about what you are thinking about doing? > There are numerous ways to skin the cat. You could have the LC app on the > teacher's machine act as an http server and the ios apps as clients. You > could also have the mobile apps generate files and upload them to dropbox. > Then if there is not some special functionality required on the teacher's > app, they could just open their dropbox folder. > > I can think of several other ways to do the same thing, depending on what > you're thinking about doing. > > > On Wed, Dec 19, 2012 at 12:30 PM, tbodine wrote: > >> Hi all. >> >> I'm also in the market for a solution like this. >> >> Monte, would the solution you described work cross platform? (So either Mac >> or PC on desktop and either iOS or Android devices running the mobile app?) >> >> Thanks, >> Tom Bodine >> >> >> >> >> -- >> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/Send-Data-Text-From-iOS-to-Desktop-App-on-LAN-tp4658198p4658214.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 >> > > > > -- > 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 monte at sweattechnologies.com Wed Dec 19 15:00:20 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 20 Dec 2012 07:00:20 +1100 Subject: Send Data/Text From iOS to Desktop App on LAN? In-Reply-To: <11912CC0-A6F2-4D3F-8228-E82359C264CA@me.com> References: <15DE810C-769B-410D-8ADC-77946A19AA60@sweattechnologies.com> <1355938238905-4658214.post@n4.nabble.com> <11912CC0-A6F2-4D3F-8228-E82359C264CA@me.com> Message-ID: <6D4703E6-F9B6-4E21-84F0-900C53A15EB6@sweattechnologies.com> On 20/12/2012, at 6:42 AM, JOHN PATTEN wrote: > 2. At the start of the lesson, click a button on their app which reports their IP to them witch they then share that with the students who record it in their iOS client. If you want to share IP like this then you don't need bonjour. Bonjour avoids this step and in the student app they just click on John Patten's MacBook. Much simpler in complex ed department networks. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From MikeKerner at roadrunner.com Wed Dec 19 15:13:56 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 19 Dec 2012 15:13:56 -0500 Subject: Send Data/Text From iOS to Desktop App on LAN? In-Reply-To: <6D4703E6-F9B6-4E21-84F0-900C53A15EB6@sweattechnologies.com> References: <15DE810C-769B-410D-8ADC-77946A19AA60@sweattechnologies.com> <1355938238905-4658214.post@n4.nabble.com> <11912CC0-A6F2-4D3F-8228-E82359C264CA@me.com> <6D4703E6-F9B6-4E21-84F0-900C53A15EB6@sweattechnologies.com> Message-ID: John, If you were to use http, the teacher would not have to set something up. You would build the code right into the teacher's app and the students' clients. The only problem I see is that I believe that the http code in LC is blocking, so if you had something flakey happen with the connection you could lock up the apps. In this case forget the file transfer ideas as the response time will not be fast enough for what you want. No matter what solution you choose, you would have to have a way to discriminate against students that have the app that are on the network but are not in the classroom. That is not a network problem, though. On Wed, Dec 19, 2012 at 3:00 PM, Monte Goulding wrote: > > On 20/12/2012, at 6:42 AM, JOHN PATTEN wrote: > > > 2. At the start of the lesson, click a button on their app which reports > their IP to them witch they then share that with the students who record it > in their iOS client. > > If you want to share IP like this then you don't need bonjour. Bonjour > avoids this step and in the student app they just click on John Patten's > MacBook. Much simpler in complex ed department networks. > > Cheers > > -- > 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 irog at mac.com Wed Dec 19 15:15:09 2012 From: irog at mac.com (Roger Guay) Date: Wed, 19 Dec 2012 12:15:09 -0800 Subject: [Ann] Letteris 1.0 In-Reply-To: References: Message-ID: <8E9D71BC-67BB-49E0-ACE8-B3782C872951@mac.com> Congratulations, John. I notice none of your apps have ratings. Do you have a strategy for addressing this and what you would recommend? Cheers, Roger On Dec 18, 2012, at 10:12 PM, John Dixon wrote: > > Another 'mobile' app for the iTunes store built using liveCode... that for me is four in total for the year... I guess the plan should be to get them all running on Android devices in the New Year... :-) > > You remember 'Tetris'? all those falling tiles, well, letteris has falling tiles with letters in them ! There are 172,000+ words in the dictionary that includes both the American and British way of spelling certain words... > > https://itunes.apple.com/us/app/letteris/id582996022?ls=1&mt=8 > > be well > > Dixie > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From johnpatten at me.com Wed Dec 19 16:00:51 2012 From: johnpatten at me.com (JOHN PATTEN) Date: Wed, 19 Dec 2012 13:00:51 -0800 Subject: Send Data/Text From iOS to Desktop App on LAN? In-Reply-To: References: <15DE810C-769B-410D-8ADC-77946A19AA60@sweattechnologies.com> <1355938238905-4658214.post@n4.nabble.com> <11912CC0-A6F2-4D3F-8228-E82359C264CA@me.com> <6D4703E6-F9B6-4E21-84F0-900C53A15EB6@sweattechnologies.com> Message-ID: <63B9D90E-7A2D-4165-8B84-8965C61C9DBB@me.com> Monte & Mike? I like the idea of the teacher not having to share their IP by using the mergeBonjour external. Lame question, but the mergeExternal would work on a Windows desktop app too? ?I'm guessing the desktop app has to announce that it is available via bonjour and this is done with the external? And then, the clients can report out all available Bonjour connections, i.e. John Patten's MacBook, Other Teacher's MacBook, etc. Student then just picks the correct teacher which then gives the client the path to send data to the teacher's App (IP)?? Also Mike, can you elaborate on how I could use http between two LiveCode stacks? Is this because HTTP is built into everything you essentially don't need the http server part and http can be used (post & get) if you know the address of the app you are trying to post or get from? For example, two stacks on the same LAN.. Sender stack would do something like a... post fld "student response" to URL "127.0.0.1/user/johnpatten/Documents/TeacherServerApp.rev" cd fld "student data" or if I was using mergeBonjour would it be something like? after sending call for apps broadcasting Bonjour, select and store the target app (IP) in tTargetTeacher post fld "student response" to URL tTargetTeacher/user/johnpatten/Documents/TeacherServerAPP.rev " cd vld "student data" I also have questions about the blocking aspect, but will wait until I get a handle on the http point :) Thanks for your patience! Much appreciated! John Patten SUSD On Dec 19, 2012, at 12:13 PM, Mike Kerner wrote: > John, > If you were to use http, the teacher would not have to set something up. > You would build the code right into the teacher's app and the students' > clients. The only problem I see is that I believe that the http code in LC > is blocking, so if you had something flakey happen with the connection you > could lock up the apps. > > In this case forget the file transfer ideas as the response time will not > be fast enough for what you want. > > No matter what solution you choose, you would have to have a way to > discriminate against students that have the app that are on the network but > are not in the classroom. That is not a network problem, though. > > > > On Wed, Dec 19, 2012 at 3:00 PM, Monte Goulding > wrote: > >> >> On 20/12/2012, at 6:42 AM, JOHN PATTEN wrote: >> >>> 2. At the start of the lesson, click a button on their app which reports >> their IP to them witch they then share that with the students who record it >> in their iOS client. >> >> If you want to share IP like this then you don't need bonjour. Bonjour >> avoids this step and in the student app they just click on John Patten's >> MacBook. Much simpler in complex ed department networks. >> >> Cheers >> >> -- >> 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 dixonja at hotmail.co.uk Wed Dec 19 16:20:11 2012 From: dixonja at hotmail.co.uk (John Dixon) Date: Wed, 19 Dec 2012 21:20:11 +0000 Subject: [Ann] Letteris 1.0 In-Reply-To: <8E9D71BC-67BB-49E0-ACE8-B3782C872951@mac.com> References: , <8E9D71BC-67BB-49E0-ACE8-B3782C872951@mac.com> Message-ID: Roger... There are now four apps in the iTunes store... moneyXchange I never expected would sell as every bank and its dog make currency exchange apps and it doesn't sell well at all, if it moves 20 units a month it is a lot... scribble is the app that I thought would work out better than the rest, but like moneyXchange its sales have been fairly dismal moving the same amount a month as moneyXchange... I have been lucky with 'TickerTape', as it was seen being used at the Olympics in London and all of a sudden sales took off.. to date it has moved quite a few thousand units... It has had some good reviews and some bad ones. I have updated it now twice, the first update to add more colours to the message being scrolled and the second that made orientating the phone to display the message a little more robust as it will scroll whilst horizontal as well as being face up or face down... only stopping when the orientation of the device returns to portrait. Every time you update it seems that your rating is lost... the highest rating it achieved was four, a couple of bad reviews brought it down eventually to 2.1/2... You are still able to see the reviews if you click on the 'all versions' button'... As far as I can make out upping the ratings and sales of your apps seems to me to be in the 'realms of the dark arts'... so, eventually to answer your question... I don't have a clue !...:-) Dixie > Subject: Re: [Ann] Letteris 1.0 > From: irog at mac.com > Date: Wed, 19 Dec 2012 12:15:09 -0800 > To: use-livecode at lists.runrev.com > > Congratulations, John. I notice none of your apps have ratings. Do you have a strategy for addressing this and what you would recommend? > > Cheers, > Roger > > On Dec 18, 2012, at 10:12 PM, John Dixon wrote: > > > > > Another 'mobile' app for the iTunes store built using liveCode... that for me is four in total for the year... I guess the plan should be to get them all running on Android devices in the New Year... :-) > > > > You remember 'Tetris'? all those falling tiles, well, letteris has falling tiles with letters in them ! There are 172,000+ words in the dictionary that includes both the American and British way of spelling certain words... > > > > https://itunes.apple.com/us/app/letteris/id582996022?ls=1&mt=8 > > > > be well > > > > Dixie > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 19 16:31:25 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 19 Dec 2012 16:31:25 -0500 Subject: Send Data/Text From iOS to Desktop App on LAN? In-Reply-To: <63B9D90E-7A2D-4165-8B84-8965C61C9DBB@me.com> References: <15DE810C-769B-410D-8ADC-77946A19AA60@sweattechnologies.com> <1355938238905-4658214.post@n4.nabble.com> <11912CC0-A6F2-4D3F-8228-E82359C264CA@me.com> <6D4703E6-F9B6-4E21-84F0-900C53A15EB6@sweattechnologies.com> <63B9D90E-7A2D-4165-8B84-8965C61C9DBB@me.com> Message-ID: I'm just thinking out loud at this point because I'm not messing with code this very moment to try it. The teacher wouldn't have to share their IP, necessarily. The students' app will know the ip address and could then fairly quickly send requests on all addresses in that range (1-255) until they get the response from the teacher's app, because the teacher's app will also know what address was assigned to its device. The teacher's app would respond with its address and the students' app would now know the address. This is where blocking could be a problem, because if the students have to sit and wait on every single address for a response, the app is going to crawl. An alternative to this problem would be the external file server idea - the teacher's app would post a file in dropbox with its address, and the students would get the file from dropbox with the address in it. When you don't have good socket support, you find weird ways around communications problems... HTTP client and server example code are available at RR's website or (I believe) within the examples/documentation in LC itself. The server code is straightforward. I have not messed with using LC as an http server with a bunch of clients so I can't tell you how it would respond. I would be more worried about the blocking aspect. On Wed, Dec 19, 2012 at 4:00 PM, JOHN PATTEN wrote: > Monte & Mike? > > I like the idea of the teacher not having to share their IP by using the > mergeBonjour external. Lame question, but the mergeExternal would work on > a Windows desktop app too? ?I'm guessing the desktop app has to announce > that it is available via bonjour and this is done with the external? And > then, the clients can report out all available Bonjour connections, i.e. > John Patten's MacBook, Other Teacher's MacBook, etc. Student then just > picks the correct teacher which then gives the client the path to send data > to the teacher's App (IP)?? > > Also Mike, can you elaborate on how I could use http between two LiveCode > stacks? Is this because HTTP is built into everything you essentially > don't need the http server part and http can be used (post & get) if you > know the address of the app you are trying to post or get from? > > For example, two stacks on the same LAN.. > > Sender stack would do something like a... > > post fld "student response" to URL " > 127.0.0.1/user/johnpatten/Documents/TeacherServerApp.rev" cd fld "student > data" > > or if I was using mergeBonjour would it be something like? > > after sending call for apps broadcasting Bonjour, select and store the > target app (IP) in tTargetTeacher > > post fld "student response" to URL > tTargetTeacher/user/johnpatten/Documents/TeacherServerAPP.rev " cd vld > "student data" > > > I also have questions about the blocking aspect, but will wait until I get > a handle on the http point :) > > Thanks for your patience! > > Much appreciated! > > John Patten > SUSD > > > On Dec 19, 2012, at 12:13 PM, Mike Kerner > wrote: > > > John, > > If you were to use http, the teacher would not have to set something up. > > You would build the code right into the teacher's app and the students' > > clients. The only problem I see is that I believe that the http code in > LC > > is blocking, so if you had something flakey happen with the connection > you > > could lock up the apps. > > > > In this case forget the file transfer ideas as the response time will not > > be fast enough for what you want. > > > > No matter what solution you choose, you would have to have a way to > > discriminate against students that have the app that are on the network > but > > are not in the classroom. That is not a network problem, though. > > > > > > > > On Wed, Dec 19, 2012 at 3:00 PM, Monte Goulding < > monte at sweattechnologies.com > >> wrote: > > > >> > >> On 20/12/2012, at 6:42 AM, JOHN PATTEN wrote: > >> > >>> 2. At the start of the lesson, click a button on their app which > reports > >> their IP to them witch they then share that with the students who > record it > >> in their iOS client. > >> > >> If you want to share IP like this then you don't need bonjour. Bonjour > >> avoids this step and in the student app they just click on John Patten's > >> MacBook. Much simpler in complex ed department networks. > >> > >> Cheers > >> > >> -- > >> 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 monte at sweattechnologies.com Wed Dec 19 16:32:54 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 20 Dec 2012 08:32:54 +1100 Subject: Send Data/Text From iOS to Desktop App on LAN? In-Reply-To: <63B9D90E-7A2D-4165-8B84-8965C61C9DBB@me.com> References: <15DE810C-769B-410D-8ADC-77946A19AA60@sweattechnologies.com> <1355938238905-4658214.post@n4.nabble.com> <11912CC0-A6F2-4D3F-8228-E82359C264CA@me.com> <6D4703E6-F9B6-4E21-84F0-900C53A15EB6@sweattechnologies.com> <63B9D90E-7A2D-4165-8B84-8965C61C9DBB@me.com> Message-ID: On 20/12/2012, at 8:00 AM, JOHN PATTEN wrote: > Monte & Mike? > > I like the idea of the teacher not having to share their IP by using the mergeBonjour external. Lame question, but the mergeExternal would work on a Windows desktop app too? The external doesn't. I will probably do a desktop version one day but not yet. You can use the dns-sd command line app via shell or open process to register the service. > ?I'm guessing the desktop app has to announce that it is available via bonjour and this is done with the external? And then, the clients can report out all available Bonjour connections, i.e. John Patten's MacBook, Other Teacher's MacBook, etc. Student then just picks the correct teacher which then gives the client the path to send data to the teacher's App (IP)?? Yes, that's how it works. > > Also Mike, can you elaborate on how I could use http between two LiveCode stacks? Is this because HTTP is built into everything you essentially don't need the http server part and http can be used (post & get) if you know the address of the app you are trying to post or get from? > > For example, two stacks on the same LAN.. > > Sender stack would do something like a... > > post fld "student response" to URL "127.0.0.1/user/johnpatten/Documents/TeacherServerApp.rev" cd fld "student data" > > or if I was using mergeBonjour would it be something like? > > after sending call for apps broadcasting Bonjour, select and store the target app (IP) in tTargetTeacher > > post fld "student response" to URL tTargetTeacher/user/johnpatten/Documents/TeacherServerAPP.rev " cd vld "student data" You would need a HTTP server library. There's a few around although I think it would be overkill for this use case unless you want to define an api that might be flexible between posting to the teacher's app and a server.... -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From monte at sweattechnologies.com Wed Dec 19 16:36:36 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 20 Dec 2012 08:36:36 +1100 Subject: Send Data/Text From iOS to Desktop App on LAN? In-Reply-To: References: <15DE810C-769B-410D-8ADC-77946A19AA60@sweattechnologies.com> <1355938238905-4658214.post@n4.nabble.com> <11912CC0-A6F2-4D3F-8228-E82359C264CA@me.com> <6D4703E6-F9B6-4E21-84F0-900C53A15EB6@sweattechnologies.com> <63B9D90E-7A2D-4165-8B84-8965C61C9DBB@me.com> Message-ID: On 20/12/2012, at 8:31 AM, Mike Kerner wrote: > I'm just thinking out loud at this point because I'm not messing with code > this very moment to try it. > > The teacher wouldn't have to share their IP, necessarily. The students' > app will know the ip address and could then fairly quickly send requests on > all addresses in that range (1-255) until they get the response from the > teacher's app, because the teacher's app will also know what address was > assigned to its device. The teacher's app would respond with its address > and the students' app would now know the address. This is where blocking > could be a problem, because if the students have to sit and wait on every > single address for a response, the app is going to crawl. bonjour does all this for you and is highly likely to be more robust than anything else we could come up with... -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From coiin at verizon.net Wed Dec 19 16:40:29 2012 From: coiin at verizon.net (Colin Holgate) Date: Wed, 19 Dec 2012 16:40:29 -0500 Subject: [Ann] Letteris 1.0 In-Reply-To: References: , <8E9D71BC-67BB-49E0-ACE8-B3782C872951@mac.com> Message-ID: <3A67F5C2-7891-43D5-A478-2EC2CF80A32E@verizon.net> The people I did this app with: http://www.amazon.com/Meet-Heckerty-interactive-storybook-learning/dp/B007SNX2UW are constantly tinkering with the key words, and seem to see changes in how it's doing. At the moment it's #48 in education on Amazon.com. Don't think that means very big numbers, but before playing with the key words it was a lot lower in the charts. On Dec 19, 2012, at 4:20 PM, John Dixon wrote: > >As far as I can make out upping the ratings and sales of your apps seems to me to be in the 'realms of the dark arts'... so, eventually to answer your question... I don't have a clue !...:-) From MikeKerner at roadrunner.com Wed Dec 19 16:55:18 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 19 Dec 2012 16:55:18 -0500 Subject: Send Data/Text From iOS to Desktop App on LAN? In-Reply-To: References: <15DE810C-769B-410D-8ADC-77946A19AA60@sweattechnologies.com> <1355938238905-4658214.post@n4.nabble.com> <11912CC0-A6F2-4D3F-8228-E82359C264CA@me.com> <6D4703E6-F9B6-4E21-84F0-900C53A15EB6@sweattechnologies.com> <63B9D90E-7A2D-4165-8B84-8965C61C9DBB@me.com> Message-ID: I agree that http isn't the ideal solution, but we don't have an android option yet. From pmbrig at gmail.com Wed Dec 19 17:33:48 2012 From: pmbrig at gmail.com (Peter M. Brigham) Date: Wed, 19 Dec 2012 17:33:48 -0500 Subject: Find vs. Offset In-Reply-To: <96AC2B8A-4E87-4FDE-B6F8-C5DFC672BACB@me.com> References: <50CFA3EC.000003.04788@CALS_BIG_PC> <8CFAAC7B743574D-1A8-20015@webmail-m169.sysops.aol.com> <96AC2B8A-4E87-4FDE-B6F8-C5DFC672BACB@me.com> Message-ID: <96C9D3F1-D18F-4F12-A938-B3A4ECD57578@gmail.com> If you use "find" you'll have to "go invisible" to each substack, as has been pointed out, or you'll get each substack flashing to the front. The other thing is that the find command will find the first instance of the string in each stack, so you will have to use the foundchunk function and to store the find then repeat the find/store-chunk routine until all have been found. The alternative is to use offset. This could be sped up if you know which fields are of interest, which you almost certainly will -- you don't want to search label fields and other stuff that doesn't contain actual data. If you go that route, here's a useful function that returns all the offsets of a string in a container. It is quite fast. function offsets str,container,includeOverlaps -- returns a comma-delimited list of all the offsets of str in container -- third param is optional: -- offsets("xx","xxxxxx") returns "1,3,5" not "1,2,3,4,5" -- ie, by default, overlapping offsets are not counted -- if you want overlapping offsets then pass "true" in 3rd param -- returns 0 if str is not in container if str is not in container then return 0 if includeOverlaps = empty then put false into includeOverlaps put empty into offsetList put 0 into startPoint repeat put offset(str,container,startPoint) into thisOffset if thisOffset = 0 then exit repeat add thisOffset to startPoint put startPoint & comma after offsetList if not includeOverlaps then add length(str)-1 to startPoint end if end repeat return item 1 to -1 of offsetList -- delete trailing comma end offsets You can indeed avoid going to the individual substacks by first setting up a list of long id's of fields ("fieldlist") for all the fields of interest in all the substacks. Store this as a script local or a customproperty so it's a one-time task. repeat for each item f in fieldlist put offsets(tString,f) into tOffsets if tOffsets = 0 then next repeat repeat for each item i in tOffsets put the number of words of char 1 to i of the text of f into nbrWords put "?" && (word nbrWords - 3 to nbrWords + 3 of the text of f) && "?" into tContext -- more scripting to load the context into your display field and -- set the linktext of the line to the occurrence found, or -- whatever your idea is for the user access to the original occurrence end repeat end repeat I strongly suspect this approach will be faster than going to each stack invisibly and doing repeated finds. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Dec 17, 2012, at 6:54 PM, Peter Bogdanoff wrote: > I do see that there is much more management with the "offset", however, I believe I can use the offset without having to actually navigate to the other stack, and I found that going to another stack and using the "Find" there unlocks the screen (bad). > > I want the entire search done in one go with a list of all the found occurrences. > > > On Dec 17, 2012, at 3:45 PM, dunbarx at aol.com wrote: > >> I do not know if I am understanding you correctly, but my instincts say that "find" is the right way to go. "Offset" would require more management, whereas "find" is pretty self reliant. >> >> >> How would you use "offset" over multiple stacks anyway? Navigate to each card in each stack, and then test each field in turn, noting if the offset function returned a value or not? Certainly there is a value to this, in that the "offset" function can be tailored to find multiple instances. >> >> >> Perhaps a mixture of the two, "find" to get quickly to a card that has a hit, and then "offset" to find multiple instances? >> >> >> Craig Newman >> >> >> >> >> -----Original Message----- >> From: Peter Bogdanoff >> To: How to use LiveCode >> Sent: Mon, Dec 17, 2012 6:31 pm >> Subject: Find vs. Offset >> >> >> Hi, >> >> I have a stack with multiple substacks. One of the substacks is a Search tool to >> find text in the other substacks. Given a string to find, it searches the other >> stacks, returns a list of the cards where the string was found (there may be >> multiple hits on the same card), and puts excerpts of the strings of text (3 >> words before and after the found chunk) into a field. The user then clicks on a >> line of the field to go to a card where the text was originally found--there I >> do another Find to put the found box around the text. >> >> Am I right in assuming that I should use the offset function to do the original >> search rather than the Find command? >> >> I see that when I use the Find command, although I lock the screen, it is >> unlocked after going to each stack. Also I suspect it is a much slower method. >> >> There is a lot more scripting to do with the offset to search multiple fields, >> and multiple hits in the same field, to I would like to know if this is the best >> method. >> >> Any experience with this? >> >> Peter >> 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 >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From johnpatten at me.com Wed Dec 19 18:20:33 2012 From: johnpatten at me.com (JOHN PATTEN) Date: Wed, 19 Dec 2012 15:20:33 -0800 Subject: Send Data/Text From iOS to Desktop App on LAN? In-Reply-To: References: <15DE810C-769B-410D-8ADC-77946A19AA60@sweattechnologies.com> <1355938238905-4658214.post@n4.nabble.com> <11912CC0-A6F2-4D3F-8228-E82359C264CA@me.com> <6D4703E6-F9B6-4E21-84F0-900C53A15EB6@sweattechnologies.com> <63B9D90E-7A2D-4165-8B84-8965C61C9DBB@me.com> Message-ID: <16862ABA-FC20-4995-BF63-31A3C6753C70@me.com> Okay?going to try tackling the MergeBonjour route? First problem, sending shell command. I have sent shell commands before through a stack. Starting with a simple: mkdir ~/Livecodetest This works from the command line, but when I attempt to run this from a stack, I don't get my new folder? I was doing a: shell("mkdir ~/livecodetest") I also tried a: do shell("mkdir ~/livecodetest") and a: put shell("mkdir ~/livecodetest") for good measure. What am I doing wrong? Also, took a look at dns-sd to register a (bonjour) service, from what I can understand, when I get the shell to work correctly, I would do a: shell("dns-sd -R TeacherServer local 8080") Man shows it as dns-sd -R [...] (Register a service) Next step after getting the shell to work, create an iOS stack and see if it can see my registered bonjour service. Thanks for the help! On Dec 19, 2012, at 1:55 PM, Mike Kerner wrote: > I agree that http isn't the ideal solution, but we don't have an android > option yet. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From johnpatten at me.com Wed Dec 19 18:57:58 2012 From: johnpatten at me.com (JOHN PATTEN) Date: Wed, 19 Dec 2012 15:57:58 -0800 Subject: Send Data/Text From iOS to Desktop App on LAN? In-Reply-To: <16862ABA-FC20-4995-BF63-31A3C6753C70@me.com> References: <15DE810C-769B-410D-8ADC-77946A19AA60@sweattechnologies.com> <1355938238905-4658214.post@n4.nabble.com> <11912CC0-A6F2-4D3F-8228-E82359C264CA@me.com> <6D4703E6-F9B6-4E21-84F0-900C53A15EB6@sweattechnologies.com> <63B9D90E-7A2D-4165-8B84-8965C61C9DBB@me.com> <16862ABA-FC20-4995-BF63-31A3C6753C70@me.com> Message-ID: <4A1E7D60-3806-41F0-81BD-E6B20CD8F061@me.com> Okay? Found this related to shell scripts and the 255 error? http://lists.runrev.com/pipermail/use-livecode/2010-June/141991.html Not sure what to do about it though?? It does appear to be a permission error. If I run: sudo /bin/mkdir ~livecodetest from the terminal it will create my folder. But how would that work in a stack? Thanks! On Dec 19, 2012, at 3:20 PM, JOHN PATTEN wrote: > Okay?going to try tackling the MergeBonjour route? > > First problem, sending shell command. I have sent shell commands before through a stack. > > Starting with a simple: mkdir ~/Livecodetest > > This works from the command line, but when I attempt to run this from a stack, I don't get my new folder? > > I was doing a: shell("mkdir ~/livecodetest") I also tried a: do shell("mkdir ~/livecodetest") and a: put shell("mkdir ~/livecodetest") for good measure. > > What am I doing wrong? > > > Also, took a look at dns-sd to register a (bonjour) service, from what I can understand, when I get the shell to work correctly, I would do a: > > shell("dns-sd -R TeacherServer local 8080") Man shows it as dns-sd -R [...] (Register a service) > > > Next step after getting the shell to work, create an iOS stack and see if it can see my registered bonjour service. > > Thanks for the help! > > > > > On Dec 19, 2012, at 1:55 PM, Mike Kerner wrote: > >> I agree that http isn't the ideal solution, but we don't have an android >> option yet. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bogdanoff at me.com Wed Dec 19 19:03:43 2012 From: bogdanoff at me.com (Peter Bogdanoff) Date: Wed, 19 Dec 2012 16:03:43 -0800 Subject: Find vs. Offset In-Reply-To: <96C9D3F1-D18F-4F12-A938-B3A4ECD57578@gmail.com> References: <50CFA3EC.000003.04788@CALS_BIG_PC> <8CFAAC7B743574D-1A8-20015@webmail-m169.sysops.aol.com> <96AC2B8A-4E87-4FDE-B6F8-C5DFC672BACB@me.com> <96C9D3F1-D18F-4F12-A938-B3A4ECD57578@gmail.com> Message-ID: <673C177C-7542-473E-8685-FB8A66A734EE@me.com> Thanks, Peter, that's what I was looking for. Also, thanks Pete for the advice on using a database. That's what I used in a past, non-Livecode project, but unless the database can be embedded in the main stack, I can't use that here. Peter Bogdanoff UCLA On Dec 19, 2012, at 2:33 PM, Peter M. Brigham wrote: > If you use "find" you'll have to "go invisible" to each substack, as has been pointed out, or you'll get each substack flashing to the front. The other thing is that the find command will find the first instance of the string in each stack, so you will have to use the foundchunk function and to store the find then repeat the find/store-chunk routine until all have been found. > > The alternative is to use offset. This could be sped up if you know which fields are of interest, which you almost certainly will -- you don't want to search label fields and other stuff that doesn't contain actual data. If you go that route, here's a useful function that returns all the offsets of a string in a container. It is quite fast. > > function offsets str,container,includeOverlaps > -- returns a comma-delimited list of all the offsets of str in container > -- third param is optional: > -- offsets("xx","xxxxxx") returns "1,3,5" not "1,2,3,4,5" > -- ie, by default, overlapping offsets are not counted > -- if you want overlapping offsets then pass "true" in 3rd param > -- returns 0 if str is not in container > if str is not in container then return 0 > if includeOverlaps = empty then put false into includeOverlaps > put empty into offsetList > put 0 into startPoint > repeat > put offset(str,container,startPoint) into thisOffset > if thisOffset = 0 then exit repeat > add thisOffset to startPoint > put startPoint & comma after offsetList > if not includeOverlaps then > add length(str)-1 to startPoint > end if > end repeat > return item 1 to -1 of offsetList -- delete trailing comma > end offsets > > You can indeed avoid going to the individual substacks by first setting up a list of long id's of fields ("fieldlist") for all the fields of interest in all the substacks. Store this as a script local or a customproperty so it's a one-time task. > > repeat for each item f in fieldlist > put offsets(tString,f) into tOffsets > if tOffsets = 0 then next repeat > repeat for each item i in tOffsets > put the number of words of char 1 to i of the text of f into nbrWords > put "?" && (word nbrWords - 3 to nbrWords + 3 of the text of f) && "?" into tContext > -- more scripting to load the context into your display field and > -- set the linktext of the line to the occurrence found, or > -- whatever your idea is for the user access to the original occurrence > end repeat > end repeat > > I strongly suspect this approach will be faster than going to each stack invisibly and doing repeated finds. > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > > On Dec 17, 2012, at 6:54 PM, Peter Bogdanoff wrote: > >> I do see that there is much more management with the "offset", however, I believe I can use the offset without having to actually navigate to the other stack, and I found that going to another stack and using the "Find" there unlocks the screen (bad). >> >> I want the entire search done in one go with a list of all the found occurrences. >> >> >> On Dec 17, 2012, at 3:45 PM, dunbarx at aol.com wrote: >> >>> I do not know if I am understanding you correctly, but my instincts say that "find" is the right way to go. "Offset" would require more management, whereas "find" is pretty self reliant. >>> >>> >>> How would you use "offset" over multiple stacks anyway? Navigate to each card in each stack, and then test each field in turn, noting if the offset function returned a value or not? Certainly there is a value to this, in that the "offset" function can be tailored to find multiple instances. >>> >>> >>> Perhaps a mixture of the two, "find" to get quickly to a card that has a hit, and then "offset" to find multiple instances? >>> >>> >>> Craig Newman >>> >>> >>> >>> >>> -----Original Message----- >>> From: Peter Bogdanoff >>> To: How to use LiveCode >>> Sent: Mon, Dec 17, 2012 6:31 pm >>> Subject: Find vs. Offset >>> >>> >>> Hi, >>> >>> I have a stack with multiple substacks. One of the substacks is a Search tool to >>> find text in the other substacks. Given a string to find, it searches the other >>> stacks, returns a list of the cards where the string was found (there may be >>> multiple hits on the same card), and puts excerpts of the strings of text (3 >>> words before and after the found chunk) into a field. The user then clicks on a >>> line of the field to go to a card where the text was originally found--there I >>> do another Find to put the found box around the text. >>> >>> Am I right in assuming that I should use the offset function to do the original >>> search rather than the Find command? >>> >>> I see that when I use the Find command, although I lock the screen, it is >>> unlocked after going to each stack. Also I suspect it is a much slower method. >>> >>> There is a lot more scripting to do with the offset to search multiple fields, >>> and multiple hits in the same field, to I would like to know if this is the best >>> method. >>> >>> Any experience with this? >>> >>> Peter >>> 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 >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Dec 19 19:21:51 2012 From: pmbrig at gmail.com (Peter M. Brigham) Date: Wed, 19 Dec 2012 19:21:51 -0500 Subject: Find vs. Offset In-Reply-To: <673C177C-7542-473E-8685-FB8A66A734EE@me.com> References: <50CFA3EC.000003.04788@CALS_BIG_PC> <8CFAAC7B743574D-1A8-20015@webmail-m169.sysops.aol.com> <96AC2B8A-4E87-4FDE-B6F8-C5DFC672BACB@me.com> <96C9D3F1-D18F-4F12-A938-B3A4ECD57578@gmail.com> <673C177C-7542-473E-8685-FB8A66A734EE@me.com> Message-ID: <3306284E-27E3-453F-8E0D-9658899FE0F2@gmail.com> On Dec 19, 2012, at 7:03 PM, Peter Brigham wrote: > > repeat for each item f in fieldlist > put offsets(tString,f) into tOffsets > if tOffsets = 0 then next repeat > repeat for each item i in tOffsets > A correction, I think you have to use "put offsets(tString, the text of f) into tOffsets" in the second line above -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From mwieder at ahsoftware.net Wed Dec 19 20:15:31 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 19 Dec 2012 17:15:31 -0800 Subject: Find vs. Offset In-Reply-To: <673C177C-7542-473E-8685-FB8A66A734EE@me.com> References: <50CFA3EC.000003.04788@CALS_BIG_PC> <8CFAAC7B743574D-1A8-20015@webmail-m169.sysops.aol.com> <96AC2B8A-4E87-4FDE-B6F8-C5DFC672BACB@me.com> <96C9D3F1-D18F-4F12-A938-B3A4ECD57578@gmail.com> <673C177C-7542-473E-8685-FB8A66A734EE@me.com> Message-ID: <181637593968.20121219171531@ahsoftware.net> Peter- Wednesday, December 19, 2012, 4:03:43 PM, you wrote: > Thanks, Peter, that's what I was looking for. > Also, thanks Pete for the advice on using a database. That's what > I used in a past, non-Livecode project, but unless the database can > be embedded in the main stack, I can't use that here. Why not just use an in-memory database? Use a db name of ":memory:"... -- -Mark Wieder mwieder at ahsoftware.net From bogdanoff at me.com Wed Dec 19 20:22:39 2012 From: bogdanoff at me.com (Peter Bogdanoff) Date: Wed, 19 Dec 2012 17:22:39 -0800 Subject: Find vs. Offset In-Reply-To: <181637593968.20121219171531@ahsoftware.net> References: <50CFA3EC.000003.04788@CALS_BIG_PC> <8CFAAC7B743574D-1A8-20015@webmail-m169.sysops.aol.com> <96AC2B8A-4E87-4FDE-B6F8-C5DFC672BACB@me.com> <96C9D3F1-D18F-4F12-A938-B3A4ECD57578@gmail.com> <673C177C-7542-473E-8685-FB8A66A734EE@me.com> <181637593968.20121219171531@ahsoftware.net> Message-ID: Mark, that's new to me. Can you explain further? On Dec 19, 2012, at 5:15 PM, Mark Wieder wrote: > Peter- > > Wednesday, December 19, 2012, 4:03:43 PM, you wrote: > >> Thanks, Peter, that's what I was looking for. > >> Also, thanks Pete for the advice on using a database. That's what >> I used in a past, non-Livecode project, but unless the database can >> be embedded in the main stack, I can't use that here. > > Why not just use an in-memory database? Use a db name of ":memory:"... > > -- > -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 Wed Dec 19 20:59:42 2012 From: pete at lcsql.com (Peter Haworth) Date: Wed, 19 Dec 2012 17:59:42 -0800 Subject: Find vs. Offset In-Reply-To: References: <50CFA3EC.000003.04788@CALS_BIG_PC> <8CFAAC7B743574D-1A8-20015@webmail-m169.sysops.aol.com> <96AC2B8A-4E87-4FDE-B6F8-C5DFC672BACB@me.com> <96C9D3F1-D18F-4F12-A938-B3A4ECD57578@gmail.com> <673C177C-7542-473E-8685-FB8A66A734EE@me.com> <181637593968.20121219171531@ahsoftware.net> Message-ID: Good suggestion Mark. I'll jump in here. When you call revOpenDatabase, specify the path name as ":memory:". That creates a database in memory instead of on disk which will disappear when you close your application. It does mean you'll have to create the tables/columns each time you open the database but I think the only table you would need would be the full text search table, no need to have anything else in there. You'd have to load the table too of course but unless you have multi millions of rows, that would be very quick. If you want to explore this further, I'd be happy to help with how to create a full text search table and how to search it and interpret the results. The speed of retrieval with those things is pretty phenomenal and the amount of code to get a,list of occurrences of a particular phrase is limited to one SELECT statement. Pete lcSQL Software On Wed, Dec 19, 2012 at 5:22 PM, Peter Bogdanoff wrote: > Mark, that's new to me. Can you explain further? > > On Dec 19, 2012, at 5:15 PM, Mark Wieder wrote: > > > Peter- > > > > Wednesday, December 19, 2012, 4:03:43 PM, you wrote: > > > >> Thanks, Peter, that's what I was looking for. > > > >> Also, thanks Pete for the advice on using a database. That's what > >> I used in a past, non-Livecode project, but unless the database can > >> be embedded in the main stack, I can't use that here. > > > > Why not just use an in-memory database? Use a db name of ":memory:"... > > > > -- > > -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 mwieder at ahsoftware.net Wed Dec 19 21:55:00 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 19 Dec 2012 18:55:00 -0800 Subject: Find vs. Offset In-Reply-To: References: <50CFA3EC.000003.04788@CALS_BIG_PC> <8CFAAC7B743574D-1A8-20015@webmail-m169.sysops.aol.com> <96AC2B8A-4E87-4FDE-B6F8-C5DFC672BACB@me.com> <96C9D3F1-D18F-4F12-A938-B3A4ECD57578@gmail.com> <673C177C-7542-473E-8685-FB8A66A734EE@me.com> <181637593968.20121219171531@ahsoftware.net> Message-ID: <69991218.20121219185500@ahsoftware.net> Pete- Well, that was quick. I had to reboot my system, and when it came back up there was a ready-made answer. Peter- I got the hint about in-memory databases from Pete in the first place, so I'll just defer to him on this. Carry on. -- -Mark Wieder mwieder at ahsoftware.net From bogdanoff at me.com Thu Dec 20 01:57:06 2012 From: bogdanoff at me.com (Peter Bogdanoff) Date: Wed, 19 Dec 2012 22:57:06 -0800 Subject: Find vs. Offset In-Reply-To: References: <50CFA3EC.000003.04788@CALS_BIG_PC> <8CFAAC7B743574D-1A8-20015@webmail-m169.sysops.aol.com> <96AC2B8A-4E87-4FDE-B6F8-C5DFC672BACB@me.com> <96C9D3F1-D18F-4F12-A938-B3A4ECD57578@gmail.com> <673C177C-7542-473E-8685-FB8A66A734EE@me.com> <181637593968.20121219171531@ahsoftware.net> Message-ID: <8F2824BC-67D2-4161-B178-547599408357@me.com> Pete, I'm intrigued. Please contact me off the list. Peter On Dec 19, 2012, at 5:59 PM, Peter Haworth wrote: > Good suggestion Mark. I'll jump in here. > > When you call revOpenDatabase, specify the path name as ":memory:". That > creates a database in memory instead of on disk which will disappear when > you close your application. It does mean you'll have to create the > tables/columns each time you open the database but I think the only table > you would need would be the full text search table, no need to have > anything else in there. You'd have to load the table too of course but > unless you have multi millions of rows, that would be very quick. > > If you want to explore this further, I'd be happy to help with how to > create a full text search table and how to search it and interpret the > results. The speed of retrieval with those things is pretty phenomenal and > the amount of code to get a,list of occurrences of a particular phrase is > limited to one SELECT statement. > > Pete > lcSQL Software > > > > On Wed, Dec 19, 2012 at 5:22 PM, Peter Bogdanoff wrote: > >> Mark, that's new to me. Can you explain further? >> >> On Dec 19, 2012, at 5:15 PM, Mark Wieder wrote: >> >>> Peter- >>> >>> Wednesday, December 19, 2012, 4:03:43 PM, you wrote: >>> >>>> Thanks, Peter, that's what I was looking for. >>> >>>> Also, thanks Pete for the advice on using a database. That's what >>>> I used in a past, non-Livecode project, but unless the database can >>>> be embedded in the main stack, I can't use that here. >>> >>> Why not just use an in-memory database? Use a db name of ":memory:"... >>> >>> -- >>> -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 mark.laffoon at gmail.com Thu Dec 20 01:58:32 2012 From: mark.laffoon at gmail.com (Mark Laffoon) Date: Wed, 19 Dec 2012 21:58:32 -0900 Subject: RunRevPlanet Site down Message-ID: Just an FYI in case the owner/maintainer of RunRevPlanet uses the list, the site is offline with a message that it cannot connect to the database. Mark From runrevplanet at smpcs.server101.com Thu Dec 20 16:34:50 2012 From: runrevplanet at smpcs.server101.com (Scott McDonald) Date: Thu, 20 Dec 2012 13:34:50 -0800 (PST) Subject: RunRevPlanet Site down In-Reply-To: References: Message-ID: <1356039290886-4658239.post@n4.nabble.com> Hi Mark, Thank you for letting me know. I will find out what the problem is and get it back up as quickly as a I can. Scott. -- Scott McDonald "Components, Controls, Tools and Resources for LiveCode" www.runrevplanet.com ----- -- Scott McDonald "Components, Controls, Tools and Resources for LiveCode" www.runrevplanet.com -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/RunRevPlanet-Site-down-tp4658238p4658239.html Sent from the Revolution - User mailing list archive at Nabble.com. From johnpatten at me.com Thu Dec 20 19:31:12 2012 From: johnpatten at me.com (JOHN PATTEN) Date: Thu, 20 Dec 2012 16:31:12 -0800 Subject: DNS-SD with mergeBonjour and rresocket? Message-ID: Hi All? Managed a little victory this afternoon with figuring out how to use a shell script in LC to register a Bonjour service. At least how to start the service. Not sure how to close it once it's started though. This is what I discovered? on mouseUp answer shell("dns-sd -R 'LiveCode-Bonjour' _http._tcp . 80 ") end mouseUp I'm using a little app that browses the network for Bonjour services, and I see my new "LiveCode-Bonjour" service listed under the http group. However, because I used "answer" in front of the shell script, my stack locks up apparently waiting to answer. I can "command-period" out but I'm guessing I should have used a get or a put and I would not have locked up my stack? I can't test his out because once I've registered a Bonjour services with my stack, I can't figure out how to cancel the service and eliminate LiveCode-Bonjour from the list of available Bonjour services? Is there another shell script I can use to cancel the Bonjour service I just registered? So after I learn how to stop Bonjour service, which protocol should I use to restart the service if I'm planning on using rresocket? Is it just _workstation_udp. and the port of my choice? I'm assuming I wouldn't be using http and 80 if I'm planning to use rresocket for the iOS to send text/data to the desktop app? However if all I need is the IP why would it matter? Or is the Bonjour type that i register animportant (workstation_udp & port) component for getting rresocket to work? Thanks in advance! John Patten SUSD From monte at sweattechnologies.com Thu Dec 20 19:45:56 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 21 Dec 2012 11:45:56 +1100 Subject: DNS-SD with mergeBonjour and rresocket? In-Reply-To: References: Message-ID: <224B2517-A28D-4A45-84F5-1B29FF54AFCD@sweattechnologies.com> Hi John try open process to register and close process to de-register. In theory you are meant to register a service type here: http://www.dns-sd.org/ServiceTypes.html rresocket would be tcp. The service type is very important. You browse for a service type, select one based on the name (which is usually the device/computer name) and then use it's ip. Cheers Monte On 21/12/2012, at 11:31 AM, JOHN PATTEN wrote: > Hi All? > > Managed a little victory this afternoon with figuring out how to use a shell script in LC to register a Bonjour service. At least how to start the service. Not sure how to close it once it's started though. This is what I discovered? > > on mouseUp > answer shell("dns-sd -R 'LiveCode-Bonjour' _http._tcp . 80 ") > end mouseUp > > I'm using a little app that browses the network for Bonjour services, and I see my new "LiveCode-Bonjour" service listed under the http group. However, because I used "answer" in front of the shell script, my stack locks up apparently waiting to answer. I can "command-period" out but I'm guessing I should have used a get or a put and I would not have locked up my stack? I can't test his out because once I've registered a Bonjour services with my stack, I can't figure out how to cancel the service and eliminate LiveCode-Bonjour from the list of available Bonjour services? Is there another shell script I can use to cancel the Bonjour service I just registered? > > > So after I learn how to stop Bonjour service, which protocol should I use to restart the service if I'm planning on using rresocket? Is it just _workstation_udp. and the port of my choice? I'm assuming I wouldn't be using http and 80 if I'm planning to use rresocket for the iOS to send text/data to the desktop app? However if all I need is the IP why would it matter? Or is the Bonjour type that i register animportant (workstation_udp & port) component for getting rresocket to work? > > Thanks in advance! > > John Patten > SUSD > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 runrevplanet at smpcs.server101.com Thu Dec 20 21:36:56 2012 From: runrevplanet at smpcs.server101.com (Scott McDonald) Date: Thu, 20 Dec 2012 18:36:56 -0800 (PST) Subject: RunRevPlanet Site down In-Reply-To: <1356039290886-4658239.post@n4.nabble.com> References: <1356039290886-4658239.post@n4.nabble.com> Message-ID: <1356057416708-4658242.post@n4.nabble.com> Working Now. -- Scott McDonald "Components, Controls, Tools and Resources for LiveCode" www.runrevplanet.com ----- -- Scott McDonald "Components, Controls, Tools and Resources for LiveCode" www.runrevplanet.com -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/RunRevPlanet-Site-down-tp4658238p4658242.html Sent from the Revolution - User mailing list archive at Nabble.com. From monte at sweattechnologies.com Thu Dec 20 21:56:46 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 21 Dec 2012 13:56:46 +1100 Subject: [ANN] Holiday Special @ mergExt Message-ID: <2C1C2369-1370-47FA-A0A9-CC0FC4E64BC8@sweattechnologies.com> Hi LiveCoders I fly home for the holidays tomorrow and I'll be back on the 4th so in compensation for an expected sluggish support service over that time I've slashed all mergExt prices by 20% until I get back. Here's the offer page: http://mergext.com/holiday-special/ Existing customers get an extra 20% off their access to updates if they are currently entitled to 20% off. The offer also covers monthly subscriptions so you can lock in a lower rate per month. I have at least three externals due to be released in early Jan. Cheers, thanks for supporting mergExt this year and have a happy holidays! Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From ambassador at fourthworld.com Thu Dec 20 22:20:27 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 20 Dec 2012 19:20:27 -0800 Subject: RunRevPlanet Site down In-Reply-To: <1356057416708-4658242.post@n4.nabble.com> References: <1356057416708-4658242.post@n4.nabble.com> Message-ID: <50D3D57B.8020606@fourthworld.com> Scott McDonald wrote: > Working Now. Thanks, Scott. If you folks haven't seen it, Scott's "LiveCode Tips" eBook is a worthy read - and free: -- 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 gerry.orkin at gmail.com Thu Dec 20 22:36:23 2012 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Fri, 21 Dec 2012 14:36:23 +1100 Subject: XML help In-Reply-To: References: <2BDB1739-FBCA-4455-8328-C9B9B7C67C2F@gmail.com> Message-ID: <20570FF3-B769-422E-B827-07ECEAEFC69C@gmail.com> Monte Many thanks - I didn't use your exact code but it set me off in a good and fruitful direction :) One other small issue - one of my nodes has a colon in it's name node eg. . I'm guessing that's the reason the following doesn't work: put revXMLNodeContents(pTree, "channel/"& tRecentPodcast & "/itunes:explicit") ...whereas this does: put revXMLNodeContents(pTree, "channel/"& tRecentPodcast &"/pubDate") Anyone know how to handle nodes with colons in their names? Cheers Gerry On 19/12/2012, at 5:42 PM, Monte Goulding wrote: > Does your list of items have a parent node? Odd if it doesn't. > > I'm guessing it does so you can do something like this: From slylabs13 at me.com Thu Dec 20 22:47:13 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Thu, 20 Dec 2012 19:47:13 -0800 Subject: XML help In-Reply-To: <20570FF3-B769-422E-B827-07ECEAEFC69C@gmail.com> References: <2BDB1739-FBCA-4455-8328-C9B9B7C67C2F@gmail.com> <20570FF3-B769-422E-B827-07ECEAEFC69C@gmail.com> Message-ID: <8AA2AD39-704F-4B43-AD2B-CD800225A312@me.com> Backslash is a typical delimiter. Try preceding the colon with a backslash. I should mention I know next to nothing about xml, so it's just a shot in the dark. Bob On Dec 20, 2012, at 7:36 PM, Gerry Orkin wrote: > Monte > > Many thanks - I didn't use your exact code but it set me off in a good and fruitful direction :) > > One other small issue - one of my nodes has a colon in it's name node eg. . I'm guessing that's the reason the following doesn't work: > > put revXMLNodeContents(pTree, "channel/"& tRecentPodcast & "/itunes:explicit") > > ...whereas this does: > > put revXMLNodeContents(pTree, "channel/"& tRecentPodcast &"/pubDate") > > Anyone know how to handle nodes with colons in their names? > > Cheers > > Gerry > > > > > On 19/12/2012, at 5:42 PM, Monte Goulding wrote: > >> Does your list of items have a parent node? Odd if it doesn't. >> >> I'm guessing it does so you can do something like this: > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark.laffoon at gmail.com Thu Dec 20 22:53:57 2012 From: mark.laffoon at gmail.com (Mark Laffoon) Date: Thu, 20 Dec 2012 18:53:57 -0900 Subject: RunRevPlanet Site down In-Reply-To: <50D3D57B.8020606@fourthworld.com> References: <1356057416708-4658242.post@n4.nabble.com> <50D3D57B.8020606@fourthworld.com> Message-ID: Great! In fact, those tips are what I was after. I should probably just get the ebook and stop leaching your bandwidth. Mark On Thursday, December 20, 2012, Richard Gaskin wrote: > Scott McDonald wrote: > >> Working Now. >> > > Thanks, Scott. > > If you folks haven't seen it, Scott's "LiveCode Tips" eBook is a worthy > read - and free: > > > > > > -- > 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 > -- I am CDO. This is a lot like OCD, except the letters are in alphabetical order... as they should be. From monte at sweattechnologies.com Thu Dec 20 22:57:33 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 21 Dec 2012 14:57:33 +1100 Subject: XML help In-Reply-To: <20570FF3-B769-422E-B827-07ECEAEFC69C@gmail.com> References: <2BDB1739-FBCA-4455-8328-C9B9B7C67C2F@gmail.com> <20570FF3-B769-422E-B827-07ECEAEFC69C@gmail.com> Message-ID: <3E8D8B7E-FC3D-4B28-8EA2-ACF626E9F954@sweattechnologies.com> Did you try dropping the itunes: part of the tag. That's an xml namespace and I think it's ignored normally by revXML. You could also try the revCreateXMLTreeWithNamespaces function. On 21/12/2012, at 2:36 PM, Gerry Orkin wrote: > Monte > > Many thanks - I didn't use your exact code but it set me off in a good and fruitful direction :) > > One other small issue - one of my nodes has a colon in it's name node eg. . I'm guessing that's the reason the following doesn't work: > > put revXMLNodeContents(pTree, "channel/"& tRecentPodcast & "/itunes:explicit") > > ...whereas this does: > > put revXMLNodeContents(pTree, "channel/"& tRecentPodcast &"/pubDate") > > Anyone know how to handle nodes with colons in their names? > > Cheers > > Gerry > > > > > On 19/12/2012, at 5:42 PM, Monte Goulding wrote: > >> Does your list of items have a parent node? Odd if it doesn't. >> >> I'm guessing it does so you can do something like this: > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 gerry.orkin at gmail.com Thu Dec 20 23:04:46 2012 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Fri, 21 Dec 2012 15:04:46 +1100 Subject: XML help In-Reply-To: <3E8D8B7E-FC3D-4B28-8EA2-ACF626E9F954@sweattechnologies.com> References: <2BDB1739-FBCA-4455-8328-C9B9B7C67C2F@gmail.com> <20570FF3-B769-422E-B827-07ECEAEFC69C@gmail.com> <3E8D8B7E-FC3D-4B28-8EA2-ACF626E9F954@sweattechnologies.com> Message-ID: <34EA5461-DC18-4598-831B-E8E993118FC5@gmail.com> Bingo :) Again, thanks! Gerry On 21/12/2012, at 2:57 PM, Monte Goulding wrote: > Did you try dropping the itunes: part of the tag. That's an xml namespace and I think it's ignored normally by revXML. From runrevplanet at smpcs.server101.com Fri Dec 21 01:08:06 2012 From: runrevplanet at smpcs.server101.com (Scott McDonald) Date: Thu, 20 Dec 2012 22:08:06 -0800 (PST) Subject: RunRevPlanet Site down In-Reply-To: <50D3D57B.8020606@fourthworld.com> References: <1356039290886-4658239.post@n4.nabble.com> <1356057416708-4658242.post@n4.nabble.com> <50D3D57B.8020606@fourthworld.com> Message-ID: <1356070086535-4658250.post@n4.nabble.com> In case any one noticed it, please ignore the Birthday Sale (it is now gone). That should have been removed before now. ----- -- Scott McDonald "Components, Controls, Tools and Resources for LiveCode" www.runrevplanet.com -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/RunRevPlanet-Site-down-tp4658238p4658250.html Sent from the Revolution - User mailing list archive at Nabble.com. From andre.bisseret at wanadoo.fr Fri Dec 21 06:14:22 2012 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Fri, 21 Dec 2012 12:14:22 +0100 Subject: Can't delete object from the script of a group(?) Message-ID: <39771B06-2B4C-41C4-B256-1AC9DE14D324@wanadoo.fr> Stating the problem as simply as possible : On a cards of a stack I have 2 buttons - New card - delete card they are grouped in group "grAction" (backgroundBehavior true) The script of group "grAction" is the following : ------- on mouseUp switch the short name of the target case "New card" create cd break case "delete card" delete this cd end switch end mouseUp ----------- Button "new card" works as expected. Button "delete card" does not work I get: "can't delete object" and also (in Remo): "can't find object" Fortunately, if I put "delete this cd" as a mouseUp handler in btn "delete card" it works ;-)) What am I missing Thanks for any hint Best regards from Grenoble Andr? From m.schonewille at economy-x-talk.com Fri Dec 21 07:06:08 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 21 Dec 2012 13:06:08 +0100 Subject: [ANN] Installer Maker Holidays Discount In-Reply-To: <68E101B7-07FA-498B-A583-73F1A42FD005@economy-x-talk.com> References: <68E101B7-07FA-498B-A583-73F1A42FD005@economy-x-talk.com> Message-ID: <50870082-24C2-4987-BDF2-7AE1900A198C@economy-x-talk.com> Hi guys, Installer Maker is still on sale, either until the world ends later today or until 27 December. If you want to have your apps ready for distribution beore the weekend, buy your license now. To get the 33% discount, click on the Plimus button at http://qery.us/az and use the coupon code 33OFF. -- 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 dec 2012, at 16:02, Mark Schonewille wrote: > Dear LiveCode users, > > The holidays are near, although some believe that the end is neigh. Both occasions are good reasons to offer you a big discount on a license for the Installer Maker Plugin. From 17 until 27 December, new licenses are 33% off. > > Installer Maker Plugin is the best tool available for LiveCode to wrap your standalones in an installer for Mac OS X or Windows. An overview of all features can be found at http://qery.us/az and there you can also purchase your license. > > To get the discount, click on the Plimus button on the website and use the coupon code 33OFF. > > If you have any questions about this offer or Installer Maker, use the contact form on the website. > > -- > 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. From dirk.cleenwerck at gmail.com Fri Dec 21 07:12:22 2012 From: dirk.cleenwerck at gmail.com (dirk cleenwerck) Date: Fri, 21 Dec 2012 13:12:22 +0100 Subject: [ANN] Installer Maker Holidays Discount In-Reply-To: <50870082-24C2-4987-BDF2-7AE1900A198C@economy-x-talk.com> References: <68E101B7-07FA-498B-A583-73F1A42FD005@economy-x-talk.com> <50870082-24C2-4987-BDF2-7AE1900A198C@economy-x-talk.com> Message-ID: Hi, wrong link again ;) http://qery.us/za On Fri, Dec 21, 2012 at 1:06 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi guys, > > Installer Maker is still on sale, either until the world ends later today > or until 27 December. If you want to have your apps ready for distribution > beore the weekend, buy your license now. To get the 33% discount, click on > the Plimus button at http://qery.us/az and use the coupon code 33OFF. > > -- > 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 dec 2012, at 16:02, Mark Schonewille wrote: > > > Dear LiveCode users, > > > > The holidays are near, although some believe that the end is neigh. Both > occasions are good reasons to offer you a big discount on a license for the > Installer Maker Plugin. From 17 until 27 December, new licenses are 33% off. > > > > Installer Maker Plugin is the best tool available for LiveCode to wrap > your standalones in an installer for Mac OS X or Windows. An overview of > all features can be found at http://qery.us/az and there you can also > purchase your license. > > > > To get the discount, click on the Plimus button on the website and use > the coupon code 33OFF. > > > > If you have any questions about this offer or Installer Maker, use the > contact form on the website. > > > > -- > > 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. > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Dec 21 07:16:46 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 21 Dec 2012 13:16:46 +0100 Subject: [ANN] Installer Maker Holidays Discount In-Reply-To: References: <68E101B7-07FA-498B-A583-73F1A42FD005@economy-x-talk.com> <50870082-24C2-4987-BDF2-7AE1900A198C@economy-x-talk.com> Message-ID: <4C3B8BC5-F0B0-4BBF-9C7E-525E991DBAB2@economy-x-talk.com> Grrrr... I don't understand why that happens. Thank you so much for correcting me, Dirk. -- 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 21 dec 2012, at 13:12, dirk cleenwerck wrote: > Hi, > > wrong link again ;) > http://qery.us/za > > > On Fri, Dec 21, 2012 at 1:06 PM, Mark Schonewille < > m.schonewille at economy-x-talk.com> wrote: > >> Hi guys, >> >> Installer Maker is still on sale, either until the world ends later today >> or until 27 December. If you want to have your apps ready for distribution >> beore the weekend, buy your license now. To get the 33% discount, click on >> the Plimus button at http://qery.us/za [corrected link] and use the coupon code 33OFF. >> >> -- >> 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. From m.schonewille at economy-x-talk.com Fri Dec 21 07:18:51 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 21 Dec 2012 13:18:51 +0100 Subject: [ANN] Installer Maker Holidays Discount - correct link In-Reply-To: <68E101B7-07FA-498B-A583-73F1A42FD005@economy-x-talk.com> References: <68E101B7-07FA-498B-A583-73F1A42FD005@economy-x-talk.com> Message-ID: <7B81416E-A156-411F-99D4-1FA059609B95@economy-x-talk.com> Hi guys, Installer Maker is still on sale, either until the world ends later today or until 27 December. If you want to have your apps ready for distribution beore the weekend, buy your license now. To get the 33% discount, click on the Plimus button at http://qery.us/za and use the coupon code 33OFF. (Thanks again, Dirk, for bringing the typo to my attention). -- 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 dec 2012, at 16:02, Mark Schonewille wrote: > Dear LiveCode users, > > The holidays are near, although some believe that the end is neigh. Both occasions are good reasons to offer you a big discount on a license for the Installer Maker Plugin. From 17 until 27 December, new licenses are 33% off. > > Installer Maker Plugin is the best tool available for LiveCode to wrap your standalones in an installer for Mac OS X or Windows. An overview of all features can be found at http://qery.us/za and there you can also purchase your license. > > To get the discount, click on the Plimus button on the website and use the coupon code 33OFF. > > If you have any questions about this offer or Installer Maker, use the contact form on the website. > > -- > 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. From rdimola at evergreeninfo.net Fri Dec 21 10:46:33 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 21 Dec 2012 10:46:33 -0500 Subject: [OT] Looking for asp.net resource In-Reply-To: <7B81416E-A156-411F-99D4-1FA059609B95@economy-x-talk.com> References: <68E101B7-07FA-498B-A583-73F1A42FD005@economy-x-talk.com> <7B81416E-A156-411F-99D4-1FA059609B95@economy-x-talk.com> Message-ID: <013b01cddf92$5a526160$0ef72420$@net> My consultant has disappeared at the 11th hour of this project(more like 11:59). I need someone to fix a couple of bugs and document the backend code and the required development environment. The platform in being developed on SBS 2008 using SQL server 2008 R2 and IIS. Rather than try to unravel this AND learn asp.net simultaneously I would like to get someone who does not have the asp.net handicap as I do to finish this project. I also want to study the feasibility of converting this to LC server and stay with a consistent development environment. Please contact me off-list if you are interested. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From slylabs13 at me.com Fri Dec 21 12:02:29 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Fri, 21 Dec 2012 09:02:29 -0800 Subject: [OT] Looking for asp.net resource In-Reply-To: <013b01cddf92$5a526160$0ef72420$@net> References: <68E101B7-07FA-498B-A583-73F1A42FD005@economy-x-talk.com> <7B81416E-A156-411F-99D4-1FA059609B95@economy-x-talk.com> <013b01cddf92$5a526160$0ef72420$@net> Message-ID: <68372A4B-9FD8-4E55-8176-31F1A5B8840F@me.com> Maybe the Mayan calendar scared your consultant and he is in a village in France right now awaiting pickup by the aliens. Sorry, I had to. Bob On Dec 21, 2012, at 7:46 AM, Ralph DiMola wrote: > My consultant has disappeared at the 11th hour of this project(more like > 11:59). I need someone to fix a couple of bugs and document the backend code > and the required development environment. The platform in being developed on > SBS 2008 using SQL server 2008 R2 and IIS. Rather than try to unravel this > AND learn asp.net simultaneously I would like to get someone who does not > have the asp.net handicap as I do to finish this project. I also want to > study the feasibility of converting this to LC server and stay with a > consistent development environment. > > Please contact me off-list if you are interested. > > 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 slylabs13 at me.com Fri Dec 21 12:05:13 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Fri, 21 Dec 2012 09:05:13 -0800 Subject: [OT] Taking the tests Message-ID: To whom it may concern: I'm going for the CompTIA A+ exams this morning. Wish me luck. I should be able to ace them. Seems that after doing IT for longer than some of the people who made up the questions, it is now I who have to prove I know what I am doing. Bob From slylabs13 at me.com Fri Dec 21 12:06:46 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Fri, 21 Dec 2012 09:06:46 -0800 Subject: [OT] Taking the tests Message-ID: <9F88285B-194A-4312-927B-B9F8A676FCCE@me.com> That should read, "...for longer that some of the people who made up the questions have ben alive..." > To whom it may concern: > > I'm going for the CompTIA A+ exams this morning. Wish me luck. I should be able to ace them. Seems that after doing IT for longer than some of the people who made up the questions, it is now I who have to prove I know what I am doing. > > Bob From livfoss at mac.com Fri Dec 21 12:18:13 2012 From: livfoss at mac.com (Graham Samuel) Date: Fri, 21 Dec 2012 17:18:13 +0000 Subject: [OT] Looking for asp.net resource In-Reply-To: <68372A4B-9FD8-4E55-8176-31F1A5B8840F@me.com> References: <68E101B7-07FA-498B-A583-73F1A42FD005@economy-x-talk.com> <7B81416E-A156-411F-99D4-1FA059609B95@economy-x-talk.com> <013b01cddf92$5a526160$0ef72420$@net> <68372A4B-9FD8-4E55-8176-31F1A5B8840F@me.com> Message-ID: Looks like he's been disappointed: see http://www.telegraph.co.uk/news/worldnews/europe/france/9759377/Mayan-apocalypse-The-only-place-to-survive-the-end-of-the-world-is-a-sleepy-French-village.html (couldn't resist - the report is by my son). On 21 Dec 2012, at 17:02, Robert Sneidar wrote: > Maybe the Mayan calendar scared your consultant and he is in a village in France right now awaiting pickup by the aliens. > > Sorry, I had to. > > Bob > > > On Dec 21, 2012, at 7:46 AM, Ralph DiMola wrote: > >> My consultant has disappeared at the 11th hour of this project(more like >> 11:59). I need someone to fix a couple of bugs and document the backend code >> and the required development environment. The platform in being developed on >> SBS 2008 using SQL server 2008 R2 and IIS. Rather than try to unravel this >> AND learn asp.net simultaneously I would like to get someone who does not >> have the asp.net handicap as I do to finish this project. I also want to >> study the feasibility of converting this to LC server and stay with a >> consistent development environment. >> >> Please contact me off-list if you are interested. >> >> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 21 12:44:55 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 21 Dec 2012 12:44:55 -0500 Subject: [OT] Looking for asp.net resource In-Reply-To: <68372A4B-9FD8-4E55-8176-31F1A5B8840F@me.com> References: <68E101B7-07FA-498B-A583-73F1A42FD005@economy-x-talk.com> <7B81416E-A156-411F-99D4-1FA059609B95@economy-x-talk.com> <013b01cddf92$5a526160$0ef72420$@net> <68372A4B-9FD8-4E55-8176-31F1A5B8840F@me.com> Message-ID: <013c01cddfa2$e3871830$aa954890$@net> You made my day! Ha Ha Ha 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 Robert Sneidar Sent: Friday, December 21, 2012 12:02 PM To: How to use LiveCode Subject: Re: [OT] Looking for asp.net resource Maybe the Mayan calendar scared your consultant and he is in a village in France right now awaiting pickup by the aliens. Sorry, I had to. Bob On Dec 21, 2012, at 7:46 AM, Ralph DiMola wrote: > My consultant has disappeared at the 11th hour of this project(more > like 11:59). I need someone to fix a couple of bugs and document the > backend code and the required development environment. The platform in > being developed on SBS 2008 using SQL server 2008 R2 and IIS. Rather > than try to unravel this AND learn asp.net simultaneously I would like > to get someone who does not have the asp.net handicap as I do to > finish this project. I also want to study the feasibility of > converting this to LC server and stay with a consistent development environment. > > Please contact me off-list if you are interested. > > 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 _______________________________________________ use-livecode mailing list use-livecode at 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 Dec 21 13:35:51 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 21 Dec 2012 10:35:51 -0800 Subject: Can't delete object from the script of a group(?) In-Reply-To: <39771B06-2B4C-41C4-B256-1AC9DE14D324@wanadoo.fr> References: <39771B06-2B4C-41C4-B256-1AC9DE14D324@wanadoo.fr> Message-ID: Hi Andre, This is guesswork on my part but according to the message path diagram in the User Guide, background scripts are executed after card scripts. My guess is that causes some sort of conflict due to deleting the card in a script that is executing on the card to be deleted. Moving it to the button means it is handled before the card comes into play so maybe the conflict doesn't exist in those circumstances. Once again, just a theory. Pete lcSQL Software On Fri, Dec 21, 2012 at 3:14 AM, Andr? Bisseret wrote: > Stating the problem as simply as possible : > > On a cards of a stack I have 2 buttons > - New card > - delete card > they are grouped in group "grAction" (backgroundBehavior true) > > The script of group "grAction" is the following : > ------- > on mouseUp > switch the short name of the target > case "New card" > create cd > break > case "delete card" > delete this cd > end switch > end mouseUp > ----------- > Button "new card" works as expected. > Button "delete card" does not work > I get: "can't delete object" > and also (in Remo): "can't find object" > > Fortunately, if I put "delete this cd" as a mouseUp handler in btn "delete > card" it works ;-)) > > What am I missing > > Thanks for any hint > > Best regards from Grenoble > > Andr? > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 21 15:10:39 2012 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 21 Dec 2012 22:10:39 +0200 Subject: [OT] Taking the tests In-Reply-To: References: Message-ID: <50D4C23F.3000906@gmail.com> On 12/21/2012 07:05 PM, Robert Sneidar wrote: > To whom it may concern: > > I'm going for the CompTIA A+ exams this morning. Wish me luck. I should be able to ace them. Seems that after doing IT for longer than some of the people who made up the questions, it is now I who have to prove I know what I am doing. Wow! Go for it, Bob! I wish you all the best. Reminds me of sitting at the back of the lectures at the "University" of Abertay and comparing the "lecturer's" talk about V-Basic with what my maths told me about BASIC 5 28 years earlier. Richmond. > > Bob > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 21 15:19:32 2012 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 21 Dec 2012 22:19:32 +0200 Subject: [OT] Looking for asp.net resource In-Reply-To: References: <68E101B7-07FA-498B-A583-73F1A42FD005@economy-x-talk.com> <7B81416E-A156-411F-99D4-1FA059609B95@economy-x-talk.com> <013b01cddf92$5a526160$0ef72420$@net> <68372A4B-9FD8-4E55-8176-31F1A5B8840F@me.com> Message-ID: <50D4C454.9040600@gmail.com> On 12/21/2012 07:18 PM, Graham Samuel wrote: > Looks like he's been disappointed: see > > http://www.telegraph.co.uk/news/worldnews/europe/france/9759377/Mayan-apocalypse-The-only-place-to-survive-the-end-of-the-world-is-a-sleepy-French-village.html > > (couldn't resist - the report is by my son). > > Why does it make me happy to know that somebody on this list has a son who does NOT write for a left-wing rag? I really wonder how many of those nutty fruitcakes who, supposedly, believe all this tripe, are actually brainwashed / manipulated into this, and how many have convinced themselves. I feel extremely sorry for the former, and feel that a few classes in simple logic (a.k.a thinking things through in a sensible fashion) would have done the latter a power of good. As for the hoteliers of Bugarach; good on them; they made a fast buck and didn't give the suckers an even break :) Quite honestly if you want to believe that the world is controlled by a sixteen foot, blue-and-green speckled sausage, go and believe it; BUT; as soon as your belief system starts conflicting with observable, verifiable reality (and belief in a transcendental, blue-and-green speckled sausage is not empirically verifiable or refutable) it is time to take stock, and, just possibly, ask why God and/or evolution has provided us with brains that can sort out the wheat from the chaff. Richmond. From richmondmathewson at gmail.com Fri Dec 21 15:22:34 2012 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 21 Dec 2012 22:22:34 +0200 Subject: [OT] Looking for asp.net resource In-Reply-To: <013c01cddfa2$e3871830$aa954890$@net> References: <68E101B7-07FA-498B-A583-73F1A42FD005@economy-x-talk.com> <7B81416E-A156-411F-99D4-1FA059609B95@economy-x-talk.com> <013b01cddf92$5a526160$0ef72420$@net> <68372A4B-9FD8-4E55-8176-31F1A5B8840F@me.com> <013c01cddfa2$e3871830$aa954890$@net> Message-ID: <50D4C50A.10602@gmail.com> On 12/21/2012 07:44 PM, Ralph DiMola wrote: > You made my day! Ha Ha Ha > > 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 Robert Sneidar > Sent: Friday, December 21, 2012 12:02 PM > To: How to use LiveCode > Subject: Re: [OT] Looking for asp.net resource > > Maybe the Mayan calendar scared your consultant and he is in a village in > France right now awaiting pickup by the aliens. About 4 hours ago, here in Bulgaria, I had one of those existential moments when I realised that I had been living amongst aliens for the last 50 years; and, more worrying than anything else, I was one of them. Can you imagine a race of beings who are so daft that they thrive on conspiracy theories and a desperate death-wish at the hands of other sentient beings? Yes; you guessed; they're the human race! > > Sorry, I had to. > > Bob > > > On Dec 21, 2012, at 7:46 AM, Ralph DiMola wrote: > >> My consultant has disappeared at the 11th hour of this project(more >> like 11:59). I need someone to fix a couple of bugs and document the >> backend code and the required development environment. The platform in >> being developed on SBS 2008 using SQL server 2008 R2 and IIS. Rather >> than try to unravel this AND learn asp.net simultaneously I would like >> to get someone who does not have the asp.net handicap as I do to >> finish this project. I also want to study the feasibility of >> converting this to LC server and stay with a consistent development > environment. >> Please contact me off-list if you are interested. >> >> 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 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kee at kagi.com Fri Dec 21 15:54:58 2012 From: kee at kagi.com (kee nethery) Date: Fri, 21 Dec 2012 12:54:58 -0800 Subject: [OT] mayan calendar - my calendar In-Reply-To: <50D4C454.9040600@gmail.com> References: <68E101B7-07FA-498B-A583-73F1A42FD005@economy-x-talk.com> <7B81416E-A156-411F-99D4-1FA059609B95@economy-x-talk.com> <013b01cddf92$5a526160$0ef72420$@net> <68372A4B-9FD8-4E55-8176-31F1A5B8840F@me.com> <50D4C454.9040600@gmail.com> Message-ID: <7EDEF278-FABF-4F26-9F67-549189B34014@kagi.com> According to my calendar on the wall, the world actually ends December 31st of this year. There are no other dates after that. Kee Nethery From johnpatten at me.com Fri Dec 21 16:05:38 2012 From: johnpatten at me.com (JOHN PATTEN) Date: Fri, 21 Dec 2012 13:05:38 -0800 Subject: DNS-SD with mergeBonjour and rresocket? In-Reply-To: <224B2517-A28D-4A45-84F5-1B29FF54AFCD@sweattechnologies.com> References: <224B2517-A28D-4A45-84F5-1B29FF54AFCD@sweattechnologies.com> Message-ID: <5D64A3C8-B367-4EA2-9317-22B99DEF76B0@me.com> Thanks Monte! I've made more progress. I now can register a Bonjour service using the following: on mouseUp put "shell(" & quote & "dns-sd -R 'LiveCode-Bonjour' _jplivecode._tcp . 5601 " & quote & ")" into pAdvertiseBonjourService open process pAdvertiseBonjourService --put the result end mouseUp I have not figured out how to use close process to de-register the Bonjour service. I could not find any shell script that took the service down and off the bonjour list? I also have mergeBonjour working to discover the new registered service in the iOS simulator, so far so good. My next step is to open a socket on the desktop app with the correct port, just like normal: open socket to "localhost:5600" if the Result <> "" then put "result:" && the result end if Then to use the rresocket external to open a connection on the iOS device, and write the data/text out to the open port on the desktop app. Not sure what to make about the read me in the rresocket folder? Not sure what "Tail commands" are and the demo that is included appears to be broken. What would the rrsecocket commands look like on my iOS app to open a connection to my desktop app and then write out some data to that desktop app? Thank you! John Patten SUSD On Dec 20, 2012, at 4:45 PM, Monte Goulding wrote: > Hi John > > try open process to register and close process to de-register. > > In theory you are meant to register a service type here: > http://www.dns-sd.org/ServiceTypes.html > > rresocket would be tcp. The service type is very important. You browse for a service type, select one based on the name (which is usually the device/computer name) and then use it's ip. > > Cheers > > Monte > > On 21/12/2012, at 11:31 AM, JOHN PATTEN wrote: > >> Hi All? >> >> Managed a little victory this afternoon with figuring out how to use a shell script in LC to register a Bonjour service. At least how to start the service. Not sure how to close it once it's started though. This is what I discovered? >> >> on mouseUp >> answer shell("dns-sd -R 'LiveCode-Bonjour' _http._tcp . 80 ") >> end mouseUp >> >> I'm using a little app that browses the network for Bonjour services, and I see my new "LiveCode-Bonjour" service listed under the http group. However, because I used "answer" in front of the shell script, my stack locks up apparently waiting to answer. I can "command-period" out but I'm guessing I should have used a get or a put and I would not have locked up my stack? I can't test his out because once I've registered a Bonjour services with my stack, I can't figure out how to cancel the service and eliminate LiveCode-Bonjour from the list of available Bonjour services? Is there another shell script I can use to cancel the Bonjour service I just registered? >> >> >> So after I learn how to stop Bonjour service, which protocol should I use to restart the service if I'm planning on using rresocket? Is it just _workstation_udp. and the port of my choice? I'm assuming I wouldn't be using http and 80 if I'm planning to use rresocket for the iOS to send text/data to the desktop app? However if all I need is the IP why would it matter? Or is the Bonjour type that i register animportant (workstation_udp & port) component for getting rresocket to work? >> >> Thanks in advance! >> >> John Patten >> SUSD >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 monte at sweattechnologies.com Fri Dec 21 16:10:12 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 22 Dec 2012 08:10:12 +1100 Subject: DNS-SD with mergeBonjour and rresocket? In-Reply-To: <5D64A3C8-B367-4EA2-9317-22B99DEF76B0@me.com> References: <224B2517-A28D-4A45-84F5-1B29FF54AFCD@sweattechnologies.com> <5D64A3C8-B367-4EA2-9317-22B99DEF76B0@me.com> Message-ID: Try: open process "dns-sd -R 'LiveCode-Bonjour' _jplivecode._tcp . 5601" close process "dns-sd -R 'LiveCode-Bonjour' _jplivecode._tcp . 5601" On 22/12/2012, at 8:05 AM, JOHN PATTEN wrote: > Thanks Monte! > > I've made more progress. > > I now can register a Bonjour service using the following: > > on mouseUp > put "shell(" & quote & "dns-sd -R 'LiveCode-Bonjour' _jplivecode._tcp . 5601 " & quote & ")" into pAdvertiseBonjourService > open process pAdvertiseBonjourService > --put the result > end mouseUp > > I have not figured out how to use close process to de-register the Bonjour service. I could not find any shell script that took the service down and off the bonjour list? > > I also have mergeBonjour working to discover the new registered service in the iOS simulator, so far so good. > > My next step is to open a socket on the desktop app with the correct port, just like normal: > > open socket to "localhost:5600" > if the Result <> "" then > put "result:" && the result > end if > > Then to use the rresocket external to open a connection on the iOS device, and write the data/text out to the open port on the desktop app. Not sure what to make about the read me in the rresocket folder? Not sure what "Tail commands" are and the demo that is included appears to be broken. > > What would the rrsecocket commands look like on my iOS app to open a connection to my desktop app and then write out some data to that desktop app? > > Thank you! > > John Patten > SUSD > > > On Dec 20, 2012, at 4:45 PM, Monte Goulding wrote: > >> Hi John >> >> try open process to register and close process to de-register. >> >> In theory you are meant to register a service type here: >> http://www.dns-sd.org/ServiceTypes.html >> >> rresocket would be tcp. The service type is very important. You browse for a service type, select one based on the name (which is usually the device/computer name) and then use it's ip. >> >> Cheers >> >> Monte >> >> On 21/12/2012, at 11:31 AM, JOHN PATTEN wrote: >> >>> Hi All? >>> >>> Managed a little victory this afternoon with figuring out how to use a shell script in LC to register a Bonjour service. At least how to start the service. Not sure how to close it once it's started though. This is what I discovered? >>> >>> on mouseUp >>> answer shell("dns-sd -R 'LiveCode-Bonjour' _http._tcp . 80 ") >>> end mouseUp >>> >>> I'm using a little app that browses the network for Bonjour services, and I see my new "LiveCode-Bonjour" service listed under the http group. However, because I used "answer" in front of the shell script, my stack locks up apparently waiting to answer. I can "command-period" out but I'm guessing I should have used a get or a put and I would not have locked up my stack? I can't test his out because once I've registered a Bonjour services with my stack, I can't figure out how to cancel the service and eliminate LiveCode-Bonjour from the list of available Bonjour services? Is there another shell script I can use to cancel the Bonjour service I just registered? >>> >>> >>> So after I learn how to stop Bonjour service, which protocol should I use to restart the service if I'm planning on using rresocket? Is it just _workstation_udp. and the port of my choice? I'm assuming I wouldn't be using http and 80 if I'm planning to use rresocket for the iOS to send text/data to the desktop app? However if all I need is the IP why would it matter? Or is the Bonjour type that i register animportant (workstation_udp & port) component for getting rresocket to work? >>> >>> Thanks in advance! >>> >>> John Patten >>> SUSD >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 > > _______________________________________________ > use-livecode mailing list > use-livecode 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 monte at sweattechnologies.com Fri Dec 21 16:22:04 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 22 Dec 2012 08:22:04 +1100 Subject: DNS-SD with mergeBonjour and rresocket? In-Reply-To: <5D64A3C8-B367-4EA2-9317-22B99DEF76B0@me.com> References: <224B2517-A28D-4A45-84F5-1B29FF54AFCD@sweattechnologies.com> <5D64A3C8-B367-4EA2-9317-22B99DEF76B0@me.com> Message-ID: <9B88C335-0A59-4063-BEA6-A0167F2BCC0A@sweattechnologies.com> Forgot to answer this bit: On 22/12/2012, at 8:05 AM, JOHN PATTEN wrote: > I also have mergeBonjour working to discover the new registered service in the iOS simulator, so far so good. > > My next step is to open a socket on the desktop app with the correct port, just like normal: > > open socket to "localhost:5600" > if the Result <> "" then > put "result:" && the result > end if nope... look at the accept connections command. And you want to accept connections on the port you advertise the service on. > > Then to use the rresocket external to open a connection on the iOS device, and write the data/text out to the open port on the desktop app. Not sure what to make about the read me in the rresocket folder? Not sure what "Tail commands" are and the demo that is included appears to be broken. > > What would the rrsecocket commands look like on my iOS app to open a connection to my desktop app and then write out some data to that desktop app? You don't need to worry about if the command is tail or not. That's just for the external. Basically, get the ip and port from mergBonjour then open a socket and write to it when you get the callback after opening then close or read from it when you get the callback after the write. On the desktop you accept connections with message and when the message is triggered you read from the socket then close or send a response etc. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From coiin at verizon.net Fri Dec 21 21:32:08 2012 From: coiin at verizon.net (Colin Holgate) Date: Fri, 21 Dec 2012 21:32:08 -0500 Subject: [OT] mayan calendar - my calendar In-Reply-To: <7EDEF278-FABF-4F26-9F67-549189B34014@kagi.com> References: <68E101B7-07FA-498B-A583-73F1A42FD005@economy-x-talk.com> <7B81416E-A156-411F-99D4-1FA059609B95@economy-x-talk.com> <013b01cddf92$5a526160$0ef72420$@net> <68372A4B-9FD8-4E55-8176-31F1A5B8840F@me.com> <50D4C454.9040600@gmail.com> <7EDEF278-FABF-4F26-9F67-549189B34014@kagi.com> Message-ID: From what I read, it's more tied to the seasons, hence most people thinking that today is the last day. So far that seems not to be the case. From pete at lcsql.com Fri Dec 21 16:33:46 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 21 Dec 2012 13:33:46 -0800 Subject: [OT] mayan calendar - my calendar In-Reply-To: <7EDEF278-FABF-4F26-9F67-549189B34014@kagi.com> References: <68E101B7-07FA-498B-A583-73F1A42FD005@economy-x-talk.com> <7B81416E-A156-411F-99D4-1FA059609B95@economy-x-talk.com> <013b01cddf92$5a526160$0ef72420$@net> <68372A4B-9FD8-4E55-8176-31F1A5B8840F@me.com> <50D4C454.9040600@gmail.com> <7EDEF278-FABF-4F26-9F67-549189B34014@kagi.com> Message-ID: We must have the same calendar! Pete lcSQL Software On Fri, Dec 21, 2012 at 12:54 PM, kee nethery wrote: > According to my calendar on the wall, the world actually ends December > 31st of this year. There are no other dates after that. > Kee Nethery > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Dec 21 16:44:31 2012 From: jhj at jhj.com (Jerry Jensen) Date: Fri, 21 Dec 2012 13:44:31 -0800 Subject: [OT] mayan calendar - my calendar In-Reply-To: References: <68E101B7-07FA-498B-A583-73F1A42FD005@economy-x-talk.com> <7B81416E-A156-411F-99D4-1FA059609B95@economy-x-talk.com> <013b01cddf92$5a526160$0ef72420$@net> <68372A4B-9FD8-4E55-8176-31F1A5B8840F@me.com> <50D4C454.9040600@gmail.com> <7EDEF278-FABF-4F26-9F67-549189B34014@kagi.com> Message-ID: Mine has a bonus month of January. You guys got cheated! On Dec 21, 2012, at 1:33 PM, Peter Haworth wrote: > We must have the same calendar! > Pete > lcSQL Software > > > > On Fri, Dec 21, 2012 at 12:54 PM, kee nethery wrote: > >> According to my calendar on the wall, the world actually ends December >> 31st of this year. There are no other dates after that. >> Kee Nethery >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Dec 21 17:10:15 2012 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 21 Dec 2012 17:10:15 -0500 Subject: [OT] mayan calendar - my calendar In-Reply-To: References: <68E101B7-07FA-498B-A583-73F1A42FD005@economy-x-talk.com> <7B81416E-A156-411F-99D4-1FA059609B95@economy-x-talk.com> <013b01cddf92$5a526160$0ef72420$@net> <68372A4B-9FD8-4E55-8176-31F1A5B8840F@me.com> <50D4C454.9040600@gmail.com> <7EDEF278-FABF-4F26-9F67-549189B34014@kagi.com> Message-ID: On Dec 21, 2012, at 4:44 PM, Jerry Jensen wrote: > Mine has a bonus month of January. You guys got cheated! > > On Dec 21, 2012, at 1:33 PM, Peter Haworth wrote: > >> We must have the same calendar! >> Pete >> lcSQL Software >> >> >> >> On Fri, Dec 21, 2012 at 12:54 PM, kee nethery wrote: >> >>> According to my calendar on the wall, the world actually ends December >>> 31st of this year. There are no other dates after that. >>> Kee Nethery So Jerry's going to live a month longer than Peter or Kee? Me, I go by the Mac Calendar app. It has no ending. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From matsastrom at yahoo.se Fri Dec 21 17:39:53 2012 From: matsastrom at yahoo.se (=?iso-8859-1?Q?Mats_=C5str=F6m?=) Date: Fri, 21 Dec 2012 22:39:53 +0000 (GMT) Subject: Subject: Re: Find vs. Offset In-Reply-To: References: Message-ID: <1356129593.8208.YahooMailNeo@web171205.mail.ir2.yahoo.com> How, exactly, does one create a database in RAM? The ":memory:" was a clue but from then... what kind of database - SQLite? /Mats, a RAM db ignorant From johnpatten at me.com Fri Dec 21 17:39:57 2012 From: johnpatten at me.com (JOHN PATTEN) Date: Fri, 21 Dec 2012 14:39:57 -0800 Subject: DNS-SD with mergeBonjour and rresocket? In-Reply-To: <9B88C335-0A59-4063-BEA6-A0167F2BCC0A@sweattechnologies.com> References: <224B2517-A28D-4A45-84F5-1B29FF54AFCD@sweattechnologies.com> <5D64A3C8-B367-4EA2-9317-22B99DEF76B0@me.com> <9B88C335-0A59-4063-BEA6-A0167F2BCC0A@sweattechnologies.com> Message-ID: <9915CD3F-18C7-4F38-8482-5943FD9B059C@me.com> Closer? So, yea I meant what you said about the desktop app and accepting connections? I'm doing this on the desktop teacher app to start the socket: on mouseUp accept connections on port 5600 with message "someoneConnected" end mouseUp on someoneConnected theIP read from socket theIP until return with message "newMessage" end someoneConnected on newMessage theIp theMessage put theIP & ":" && theMessage & return after field "text" read from socket theIP until return with message "newMessage" end newMessage On the client iOS app the mergeBonjour is working fine, but I don't have the rresocket script down. Here's what I've tried: (two buttons) First button, on mouseUp rreSocketOpen "10.58.0.56:5600" put the result into fld "result" end mouseUp (and assorted variations of that?) Second button, on mouseUp rreSocketWrite field "message" & return, "10.58.0.56:5600" put the result into fld "result" end mouseUp (and also assorted variations of that?) Am I close? Thank you! John Patten SUSD On Dec 21, 2012, at 1:22 PM, Monte Goulding wrote: > Forgot to answer this bit: > On 22/12/2012, at 8:05 AM, JOHN PATTEN wrote: > >> I also have mergeBonjour working to discover the new registered service in the iOS simulator, so far so good. >> >> My next step is to open a socket on the desktop app with the correct port, just like normal: >> >> open socket to "localhost:5600" >> if the Result <> "" then >> put "result:" && the result >> end if > > nope... look at the accept connections command. And you want to accept connections on the port you advertise the service on. >> >> Then to use the rresocket external to open a connection on the iOS device, and write the data/text out to the open port on the desktop app. Not sure what to make about the read me in the rresocket folder? Not sure what "Tail commands" are and the demo that is included appears to be broken. >> >> What would the rrsecocket commands look like on my iOS app to open a connection to my desktop app and then write out some data to that desktop app? > > You don't need to worry about if the command is tail or not. That's just for the external. Basically, get the ip and port from mergBonjour then open a socket and write to it when you get the callback after opening then close or read from it when you get the callback after the write. On the desktop you accept connections with message and when the message is triggered you read from the socket then close or send a response etc. > > Cheers > > -- > 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 pete at lcsql.com Fri Dec 21 17:50:27 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 21 Dec 2012 14:50:27 -0800 Subject: Subject: Re: Find vs. Offset In-Reply-To: <1356129593.8208.YahooMailNeo@web171205.mail.ir2.yahoo.com> References: <1356129593.8208.YahooMailNeo@web171205.mail.ir2.yahoo.com> Message-ID: Yes, it's an sqlite database. Just call revOpenDatabase with the type parameter set to "sqlite" and ":memory:" in the path parameter. Pete lcSQL Software On Fri, Dec 21, 2012 at 2:39 PM, Mats ?str?m wrote: > How, exactly, does one create a database in RAM? > > The ":memory:" was a clue but from then... what kind of database - SQLite? > > /Mats, a RAM db ignorant > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 21 18:16:04 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 22 Dec 2012 10:16:04 +1100 Subject: DNS-SD with mergeBonjour and rresocket? In-Reply-To: <9915CD3F-18C7-4F38-8482-5943FD9B059C@me.com> References: <224B2517-A28D-4A45-84F5-1B29FF54AFCD@sweattechnologies.com> <5D64A3C8-B367-4EA2-9317-22B99DEF76B0@me.com> <9B88C335-0A59-4063-BEA6-A0167F2BCC0A@sweattechnologies.com> <9915CD3F-18C7-4F38-8482-5943FD9B059C@me.com> Message-ID: Close, there's a callback parameter for rresocket commands too so you can add a socketOpen message to your button and do the write there. Being a little vague because I'm replying via my phone sans docs. Cheers -- M E R Goulding Software development services mergExt - There's an external for that! On 22/12/2012, at 9:39 AM, JOHN PATTEN wrote: > Closer? > > So, yea I meant what you said about the desktop app and accepting connections? > > I'm doing this on the desktop teacher app to start the socket: > > on mouseUp > accept connections on port 5600 with message "someoneConnected" > end mouseUp > > on someoneConnected theIP > read from socket theIP until return with message "newMessage" > end someoneConnected > > on newMessage theIp theMessage > put theIP & ":" && theMessage & return after field "text" > read from socket theIP until return with message "newMessage" > end newMessage > > > On the client iOS app the mergeBonjour is working fine, but I don't have the rresocket script down. Here's what I've tried: (two buttons) > > First button, > > on mouseUp > rreSocketOpen "10.58.0.56:5600" > put the result into fld "result" > end mouseUp > > (and assorted variations of that?) > > Second button, > > on mouseUp > rreSocketWrite field "message" & return, "10.58.0.56:5600" > put the result into fld "result" > end mouseUp > > (and also assorted variations of that?) > > Am I close? > > Thank you! > > John Patten > SUSD > > On Dec 21, 2012, at 1:22 PM, Monte Goulding wrote: > >> Forgot to answer this bit: >> On 22/12/2012, at 8:05 AM, JOHN PATTEN wrote: >> >>> I also have mergeBonjour working to discover the new registered service in the iOS simulator, so far so good. >>> >>> My next step is to open a socket on the desktop app with the correct port, just like normal: >>> >>> open socket to "localhost:5600" >>> if the Result <> "" then >>> put "result:" && the result >>> end if >> >> nope... look at the accept connections command. And you want to accept connections on the port you advertise the service on. >>> >>> Then to use the rresocket external to open a connection on the iOS device, and write the data/text out to the open port on the desktop app. Not sure what to make about the read me in the rresocket folder? Not sure what "Tail commands" are and the demo that is included appears to be broken. >>> >>> What would the rrsecocket commands look like on my iOS app to open a connection to my desktop app and then write out some data to that desktop app? >> >> You don't need to worry about if the command is tail or not. That's just for the external. Basically, get the ip and port from mergBonjour then open a socket and write to it when you get the callback after opening then close or read from it when you get the callback after the write. On the desktop you accept connections with message and when the message is triggered you read from the socket then close or send a response etc. >> >> Cheers >> >> -- >> 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 > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 21 20:16:46 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 21 Dec 2012 17:16:46 -0800 Subject: [OT] mayan calendar - my calendar In-Reply-To: References: <68E101B7-07FA-498B-A583-73F1A42FD005@economy-x-talk.com> <7B81416E-A156-411F-99D4-1FA059609B95@economy-x-talk.com> <013b01cddf92$5a526160$0ef72420$@net> <68372A4B-9FD8-4E55-8176-31F1A5B8840F@me.com> <50D4C454.9040600@gmail.com> <7EDEF278-FABF-4F26-9F67-549189B34014@kagi.com> Message-ID: <190167897406.20121221171646@ahsoftware.net> Peter- Friday, December 21, 2012, 2:10:15 PM, you wrote: > Me, I go by the Mac Calendar app. It has no ending. Bummer. Maybe they'll fix that when they fix the maps. I do hope you filed a bug report. -- -Mark Wieder mwieder at ahsoftware.net From andre.bisseret at wanadoo.fr Sat Dec 22 03:41:36 2012 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Sat, 22 Dec 2012 09:41:36 +0100 Subject: Can't delete object from the script of a group(?) In-Reply-To: References: <39771B06-2B4C-41C4-B256-1AC9DE14D324@wanadoo.fr> Message-ID: <90E41A6D-E8AF-433D-BFF7-CF91356A282E@wanadoo.fr> Thank you Pete for your reply. In the same handler,I just tried to delete a substack instead of the card and that works. So, your theory seems the good one! I am adopting it ;-)) Best regards Andr? Le 21 d?c. 2012 ? 19:35, Peter Haworth a ?crit : > Hi Andre, > This is guesswork on my part but according to the message path diagram in > the User Guide, background scripts are executed after card scripts. My > guess is that causes some sort of conflict due to deleting the card in a > script that is executing on the card to be deleted. > > Moving it to the button means it is handled before the card comes into play > so maybe the conflict doesn't exist in those circumstances. > > Once again, just a theory. > > Pete > lcSQL Software > > > > On Fri, Dec 21, 2012 at 3:14 AM, Andr? Bisseret > wrote: > >> Stating the problem as simply as possible : >> >> On a cards of a stack I have 2 buttons >> - New card >> - delete card >> they are grouped in group "grAction" (backgroundBehavior true) >> >> The script of group "grAction" is the following : >> ------- >> on mouseUp >> switch the short name of the target >> case "New card" >> create cd >> break >> case "delete card" >> delete this cd >> end switch >> end mouseUp >> ----------- >> Button "new card" works as expected. >> Button "delete card" does not work >> I get: "can't delete object" >> and also (in Remo): "can't find object" >> >> Fortunately, if I put "delete this cd" as a mouseUp handler in btn "delete >> card" it works ;-)) >> >> What am I missing >> >> Thanks for any hint >> >> Best regards from Grenoble >> >> Andr? >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Dec 23 13:01:11 2012 From: pete at lcsql.com (Peter Haworth) Date: Sun, 23 Dec 2012 10:01:11 -0800 Subject: Detecting pending messages Message-ID: When in a handler for a standard LC message (specifically keyDown), is it possible to check if there are any other keyDown messages in the message queue? I see the pendingMessages property but the dictionary says it only lists messages scheduled with the Send command. Pete lcSQL Software From slylabs13 at me.com Sun Dec 23 13:34:22 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Sun, 23 Dec 2012 10:34:22 -0800 Subject: [OT] Looking for asp.net resource In-Reply-To: References: <68E101B7-07FA-498B-A583-73F1A42FD005@economy-x-talk.com> <7B81416E-A156-411F-99D4-1FA059609B95@economy-x-talk.com> <013b01cddf92$5a526160$0ef72420$@net> <68372A4B-9FD8-4E55-8176-31F1A5B8840F@me.com> Message-ID: <3853918D-CCBD-4E4B-8DDC-9CE6A833EB01@me.com> See, why aren't we allowed to round all the people up who believed this tripe, put them in the middle of a large town square, and pelt them with overly ripe tomatoes? That's not too much to ask is it? Bob On Dec 21, 2012, at 9:18 AM, Graham Samuel wrote: > Looks like he's been disappointed: see > > http://www.telegraph.co.uk/news/worldnews/europe/france/9759377/Mayan-apocalypse-The-only-place-to-survive-the-end-of-the-world-is-a-sleepy-French-village.html > > (couldn't resist - the report is by my son). > > On 21 Dec 2012, at 17:02, Robert Sneidar wrote: > >> Maybe the Mayan calendar scared your consultant and he is in a village in France right now awaiting pickup by the aliens. >> >> Sorry, I had to. >> >> Bob >> >> >> On Dec 21, 2012, at 7:46 AM, Ralph DiMola wrote: >> >>> My consultant has disappeared at the 11th hour of this project(more like >>> 11:59). I need someone to fix a couple of bugs and document the backend code >>> and the required development environment. The platform in being developed on >>> SBS 2008 using SQL server 2008 R2 and IIS. Rather than try to unravel this >>> AND learn asp.net simultaneously I would like to get someone who does not >>> have the asp.net handicap as I do to finish this project. I also want to >>> study the feasibility of converting this to LC server and stay with a >>> consistent development environment. >>> >>> Please contact me off-list if you are interested. >>> >>> 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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From slylabs13 at me.com Sun Dec 23 13:35:53 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Sun, 23 Dec 2012 10:35:53 -0800 Subject: [OT] mayan calendar - my calendar In-Reply-To: References: <68E101B7-07FA-498B-A583-73F1A42FD005@economy-x-talk.com> <7B81416E-A156-411F-99D4-1FA059609B95@economy-x-talk.com> <013b01cddf92$5a526160$0ef72420$@net> <68372A4B-9FD8-4E55-8176-31F1A5B8840F@me.com> <50D4C454.9040600@gmail.com> <7EDEF278-FABF-4F26-9F67-549189B34014@kagi.com> Message-ID: <2A5A7970-0DAE-47A6-B6D7-D5B9244D90F7@me.com> So does mine, and I am going to go find the girl on that calendar page and spend my last month with her! Bob On Dec 21, 2012, at 1:44 PM, Jerry Jensen wrote: > Mine has a bonus month of January. You guys got cheated! > > On Dec 21, 2012, at 1:33 PM, Peter Haworth wrote: > >> We must have the same calendar! >> Pete >> lcSQL Software >> >> >> >> On Fri, Dec 21, 2012 at 12:54 PM, kee nethery wrote: >> >>> According to my calendar on the wall, the world actually ends December >>> 31st of this year. There are no other dates after that. >>> Kee Nethery >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From slylabs13 at me.com Sun Dec 23 13:38:09 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Sun, 23 Dec 2012 10:38:09 -0800 Subject: [OT] Taking the tests In-Reply-To: <50D4C23F.3000906@gmail.com> References: <50D4C23F.3000906@gmail.com> Message-ID: <3F3A0462-7062-4227-9FED-82A99F2A4C32@me.com> Well the good news is I passed with flying colors. The bad news is that after twisting my brain around to try and think like they want me to, I am severely affected, and can no longer maintain a cogent thought train for any length of time. I wake up muttering, "But the examiner says..." Bob On Dec 21, 2012, at 12:10 PM, Richmond wrote: > On 12/21/2012 07:05 PM, Robert Sneidar wrote: >> To whom it may concern: >> >> I'm going for the CompTIA A+ exams this morning. Wish me luck. I should be able to ace them. Seems that after doing IT for longer than some of the people who made up the questions, it is now I who have to prove I know what I am doing. > > Wow! Go for it, Bob! I wish you all the best. > > Reminds me of sitting at the back of the lectures at the "University" of Abertay > and comparing the "lecturer's" talk about V-Basic with what my maths told me > about BASIC 5 28 years earlier. > > Richmond. > >> >> Bob >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From slylabs13 at me.com Sun Dec 23 13:41:20 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Sun, 23 Dec 2012 10:41:20 -0800 Subject: Detecting pending messages In-Reply-To: References: Message-ID: Yes, it only will show you developer initiated messages. Not much use to you for your purposes. I imagine being able to intercept and view the many engine messages that are flying around would severely limit the performance of the engine. Also, I imagine simply requesting a list of pending engine messages would ITSELF generate a slew of new messages. :-) Bob On Dec 23, 2012, at 10:01 AM, Peter Haworth wrote: > When in a handler for a standard LC message (specifically keyDown), is it > possible to check if there are any other keyDown messages in the message > queue? I see the pendingMessages property but the dictionary says it only > lists messages scheduled with the Send command. > 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 bonnmike at gmail.com Sun Dec 23 13:56:20 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 23 Dec 2012 11:56:20 -0700 Subject: Detecting pending messages In-Reply-To: References: Message-ID: You should take a look at 4w's flight recorder (its in the revnet user stuff) Works really well and you can grok the code and roll your own custom message watcher. On Sun, Dec 23, 2012 at 11:41 AM, Robert Sneidar wrote: > Yes, it only will show you developer initiated messages. Not much use to > you for your purposes. I imagine being able to intercept and view the many > engine messages that are flying around would severely limit the performance > of the engine. Also, I imagine simply requesting a list of pending engine > messages would ITSELF generate a slew of new messages. :-) > > Bob > > > On Dec 23, 2012, at 10:01 AM, Peter Haworth wrote: > > > When in a handler for a standard LC message (specifically keyDown), is it > > possible to check if there are any other keyDown messages in the message > > queue? I see the pendingMessages property but the dictionary says it > only > > lists messages scheduled with the Send command. > > 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 Sun Dec 23 14:11:22 2012 From: pete at lcsql.com (Peter Haworth) Date: Sun, 23 Dec 2012 11:11:22 -0800 Subject: Detecting pending messages In-Reply-To: References: Message-ID: Hi Mike, I have that, never thought of looking in there. Thanks. Pete lcSQL Software On Sun, Dec 23, 2012 at 10:56 AM, Mike Bonner wrote: > You should take a look at 4w's flight recorder (its in the revnet user > stuff) > Works really well and you can grok the code and roll your own custom > message watcher. > > > On Sun, Dec 23, 2012 at 11:41 AM, Robert Sneidar wrote: > > > Yes, it only will show you developer initiated messages. Not much use to > > you for your purposes. I imagine being able to intercept and view the > many > > engine messages that are flying around would severely limit the > performance > > of the engine. Also, I imagine simply requesting a list of pending engine > > messages would ITSELF generate a slew of new messages. :-) > > > > Bob > > > > > > On Dec 23, 2012, at 10:01 AM, Peter Haworth wrote: > > > > > When in a handler for a standard LC message (specifically keyDown), is > it > > > possible to check if there are any other keyDown messages in the > message > > > queue? I see the pendingMessages property but the dictionary says it > > only > > > lists messages scheduled with the Send command. > > > 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 pete at lcsql.com Sun Dec 23 14:48:04 2012 From: pete at lcsql.com (Peter Haworth) Date: Sun, 23 Dec 2012 11:48:04 -0800 Subject: Detecting pending messages In-Reply-To: References: Message-ID: So it seems that flight recorder uses the undocumented messageHandled message. Browsing through the list, it seems that this can cause significant performance issues. I'd say it's OK to use for debugging purposes but not for normal usage. Oh well, I guess I'll have to come up with another way to do this. Pete lcSQL Software On Sun, Dec 23, 2012 at 10:56 AM, Mike Bonner wrote: > You should take a look at 4w's flight recorder (its in the revnet user > stuff) > Works really well and you can grok the code and roll your own custom > message watcher. > > > On Sun, Dec 23, 2012 at 11:41 AM, Robert Sneidar wrote: > > > Yes, it only will show you developer initiated messages. Not much use to > > you for your purposes. I imagine being able to intercept and view the > many > > engine messages that are flying around would severely limit the > performance > > of the engine. Also, I imagine simply requesting a list of pending engine > > messages would ITSELF generate a slew of new messages. :-) > > > > Bob > > > > > > On Dec 23, 2012, at 10:01 AM, Peter Haworth wrote: > > > > > When in a handler for a standard LC message (specifically keyDown), is > it > > > possible to check if there are any other keyDown messages in the > message > > > queue? I see the pendingMessages property but the dictionary says it > > only > > > lists messages scheduled with the Send command. > > > 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 dochawk at gmail.com Sun Dec 23 15:58:26 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 23 Dec 2012 12:58:26 -0800 Subject: [OT] mayan calendar - my calendar In-Reply-To: References: <68E101B7-07FA-498B-A583-73F1A42FD005@economy-x-talk.com> <7B81416E-A156-411F-99D4-1FA059609B95@economy-x-talk.com> <013b01cddf92$5a526160$0ef72420$@net> <68372A4B-9FD8-4E55-8176-31F1A5B8840F@me.com> <50D4C454.9040600@gmail.com> <7EDEF278-FABF-4F26-9F67-549189B34014@kagi.com> Message-ID: On Fri, Dec 21, 2012 at 1:44 PM, Jerry Jensen wrote: > Mine has a bonus month of January. You guys got cheated! Could someone please inform my twins' school that the calendar has run out, and that with no more monthys, I don't need to pay tuition each month? -- Richard E. Hawkins, Esq. (702) 508-8462 From calhorner at xtra.co.nz Sun Dec 23 18:25:31 2012 From: calhorner at xtra.co.nz (Cal Horner) Date: Mon, 24 Dec 2012 12:25:31 +1300 (New Zealand Daylight Time) Subject: The Script Editor Message-ID: <50D792C9.00000D.06044@CALS_BIG_PC> I find that I need a feature now that used to be available back before LC grew whiskers. Remember when you had the option of looking at a single handler in the editor pane instead of the whole script? Yes, I remember the script editor was a bit flaky with that feature but it did work well, sometimes. And anyway back then the whole script editor itself was flaky. Thus Jerry Daniels sterling efforts. Then the bright sparks at RunRev decided it was one of those things they couldn't be bothered fixing properly, so they flagged it away completely. I did shed a tear. Then I limped along because I knew they knew better than me. But late last night I got a flash of insight that said "I sure could use a feature like that, especially if it worked properly.". So, have any of you, my fellow LC forum users, done anything like that? Or is it just a fond Christmas present wish. Cal From lan.kc.macmail at gmail.com Sun Dec 23 20:47:45 2012 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 24 Dec 2012 02:47:45 +0100 Subject: The Script Editor In-Reply-To: <50D792C9.00000D.06044@CALS_BIG_PC> References: <50D792C9.00000D.06044@CALS_BIG_PC> Message-ID: I don't remember such a feature but I get something like it. I just place a heap of blank lines between Handlers, I use 7-10, you might need 20. When I click on the Handler's name in the left hand column, if it is relatively small, I can see the whole Handler but neither the one above or below. Even if it is large and I have to scroll to see the bottom, I never usually scroll far enough to see the next Handler. It would be relatively easy to write a script that takes the script of an object, counts the number of lines from the end of one Function/Handler and the start of the next and simply inserts extra blank lines. HTH On Mon, Dec 24, 2012 at 12:25 AM, Cal Horner wrote: > I find that I need a feature now that used to be available back before LC > grew whiskers. > > Remember when you had the option of looking at a single handler in the > editor pane instead of the whole script? Yes, I remember the script editor > was a bit flaky with that feature but it did work well, sometimes. > > And anyway back then the whole script editor itself was flaky. Thus Jerry > Daniels sterling efforts. > > Then the bright sparks at RunRev decided it was one of those things they > couldn't be bothered fixing properly, so they flagged it away completely. > > I did shed a tear. Then I limped along because I knew they knew better than > me. But late last night I got a flash of insight that said "I sure could > use > a feature like that, especially if it worked properly.". > > So, have any of you, my fellow LC forum users, done anything like that? Or > is it just a fond Christmas present wish. > > Cal > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ueliweb at gmx.ch Mon Dec 24 02:00:48 2012 From: ueliweb at gmx.ch (Ueliweb) Date: Mon, 24 Dec 2012 09:00:48 +0200 Subject: Tab Panel (tab button) how to select manually a tab? Message-ID: Hei first merry christmas to all :-) in some case I would like to control the which tab is selected/ hilited. but what parameter i have to set? Sample: the tabs normal changes the card, some times I go to cards that are not selectable by the tab menu itself, because the user should got to this cards only after some actions. On this cards the tab menu is hidden because he should leave it also controlled be the program. >From that cards it is possible to go back to different cards. If the user go to another card that shows the tab menu the tab hilited is still corresponding to the old card. greetings ueliweb From lc at pbh.on-rev.com Mon Dec 24 02:54:37 2012 From: lc at pbh.on-rev.com (Paul Hibbert) Date: Sun, 23 Dec 2012 23:54:37 -0800 Subject: Tab Panel (tab button) how to select manually a tab? In-Reply-To: References: Message-ID: <8BC7F430-CC8B-46AE-B167-20573649DCEF@pbh.on-rev.com> Hi Ueliweb, The property you are looking for is the menuHistory, in a Tab Menu this property controls the hilited Tab Button. So a simple way to control the Menu Tabs on a card is to add an openCard handler to switch the hilited tab, for example on the first card? on openCard set the menuHistory of btn "MyTabMenu" to "1" ## Where "1" corresponds to the first Tab. end openCard and the same for each other card accessed from the Tab Menu, just changing the corresponding number. HTH Merry Christmas, Paul On 2012-12-23, at 11:00 PM, Ueliweb wrote: > Hei > first merry christmas to all :-) > > in some case I would like to control the which tab is selected/ hilited. > but what parameter i have to set? > > Sample: > the tabs normal changes the card, some times I go to cards that are not > selectable by the tab menu itself, because the user should got to this > cards only after some actions. > On this cards the tab menu is hidden because he should leave it also > controlled be the program. > From that cards it is possible to go back to different cards. > If the user go to another card that shows the tab menu the tab hilited is > still corresponding to the old card. > > greetings ueliweb > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 24 04:14:59 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 24 Dec 2012 10:14:59 +0100 Subject: [ANN] Installer Maker Holidays Discount In-Reply-To: <4C3B8BC5-F0B0-4BBF-9C7E-525E991DBAB2@economy-x-talk.com> References: <68E101B7-07FA-498B-A583-73F1A42FD005@economy-x-talk.com> <50870082-24C2-4987-BDF2-7AE1900A198C@economy-x-talk.com> <4C3B8BC5-F0B0-4BBF-9C7E-525E991DBAB2@economy-x-talk.com> Message-ID: Merry Christmas, everyone. While you're enjoying a day off, or two, consider playing with Installer Maker. It is still on sale and the shop will continue working during the holidays, although it might take an hour longer before you receive your license. Installer Maker Plugin is the best tool available for LiveCode to wrap your standalones in an installer for Mac OS X or Windows. An overview of all features can be found at http://qery.us/za where you can also purchase your license. -- 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. From richmondmathewson at gmail.com Mon Dec 24 05:13:16 2012 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 24 Dec 2012 12:13:16 +0200 Subject: The Script Editor In-Reply-To: <50D792C9.00000D.06044@CALS_BIG_PC> References: <50D792C9.00000D.06044@CALS_BIG_PC> Message-ID: <50D82ABC.4090407@gmail.com> On 12/24/2012 01:25 AM, Cal Horner wrote: > I find that I need a feature now that used to be available back before LC > grew whiskers. > > Remember when you had the option of looking at a single handler in the > editor pane instead of the whole script? I wonder if you can pin that down to a particular version? I have just been "fooling around" with RunRev 2 and not getting anything that you describe. I had the slightly daft idea of exporting the script editor so that it could, possibly (???) be imported into later versions of RR/LC. > Yes, I remember the script editor > was a bit flaky with that feature but it did work well, sometimes. > > Well. being a bit bi*chy, I would say that there is always something "a bit flaky" because the RunRev developers need to slow down a bit and consolidate what they have achieved already rather than always hurtling hell-for-leather towards a bright new future. There have bee several features in earlier recensions of RR/LC that have been dropped without RunRev seeming to take tent as to whether end-users want to lose those features. Richmond. From pete at lcsql.com Mon Dec 24 14:24:35 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 24 Dec 2012 11:24:35 -0800 Subject: [ANN] SQLiteAdmin Version 1.3.4 Released Message-ID: Folks, I'm happy to announce the release of Version 1.3.4 of SQLiteAdmin, available for download here . The release is free to all current users of SQLiteAdmin. SQLiteAdmin provides powerful database administration and data manipulation tools for SQLite databases. All standard SQLite commands are supported plus extended Data Definition functions not available in standard SQLite which allow you to modify your schema in any way while preserving the integrity of your data. Powerful Data manipulation features provide you with the ability to carry out ad-hoc INSERT, UPDATE, and DELETE operations. Powerful data filtering functions allow to display subsets of your data. Various utilities are available to check the integrity of your database, suggest possible schema changes for performance improvement, and export and import data in several formats This release includes several minor bug fixes plus a couple of enhancements, both in the Browse View. After displaying rows, right clicking on any column will display the minimum, maximum, average total and count of unique values. When defining a new filter, you can include a runtime prompt instead of a fixed value for any column. This is particularly useful when creating a filter to be stored for later use allowing you provide a different value for a column each a filter is executed. Two types of runtime prompts are available. One will simply prompt for a text value (with a default), and the other will prompt for a selection from an option menu. You can specify the contents of the option menu in terms of an SQL expression, and foreign key situations are automatically identified and handled correctly. Full details of these enhancements can be found in the User Guide and the release notes . Pete lcSQL Software From slylabs13 at me.com Mon Dec 24 15:58:49 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Mon, 24 Dec 2012 12:58:49 -0800 Subject: [OT] Microsoft Certs Message-ID: Hi all. I got the CompTIA A+ cert which basically means I can prove I am not a complete imbecile when it comes to computers. Now I want to go for a Microsoft certification, MCSE or MCSA, but I am having a difficult time finding study materials and practice exams I can trust, but that don't cost an arm and a leg. So I was wondering if any on this list have gone through this process and can give me some tips. You can contact me off list if you like. Thanks to anyone who can help. Bob From slylabs13 at me.com Mon Dec 24 16:11:04 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Mon, 24 Dec 2012 13:11:04 -0800 Subject: The Script Editor In-Reply-To: <50D82ABC.4090407@gmail.com> References: <50D792C9.00000D.06044@CALS_BIG_PC> <50D82ABC.4090407@gmail.com> Message-ID: He is talking about a time before LC existed, meaning I assume, Revolution as well. Might have been Metacard or Supercard. Bob On Dec 24, 2012, at 2:13 AM, Richmond wrote: > On 12/24/2012 01:25 AM, Cal Horner wrote: >> I find that I need a feature now that used to be available back before LC >> grew whiskers. >> >> Remember when you had the option of looking at a single handler in the >> editor pane instead of the whole script? > > I wonder if you can pin that down to a particular version? > > I have just been "fooling around" with RunRev 2 and not getting anything that you describe. From pete at lcsql.com Mon Dec 24 16:32:18 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 24 Dec 2012 13:32:18 -0800 Subject: Scrolling List/Table Message-ID: Is there a reliable way to distinguish between a table field and a scrolling list field by script? How about the mysterious "Basic Table object" property on the Inspector table tab? I say "mysterious" because even with the preference set to show property names, it doesn't. Pete lcSQL Software From bonnmike at gmail.com Mon Dec 24 16:42:41 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 24 Dec 2012 14:42:41 -0700 Subject: Scrolling List/Table In-Reply-To: References: Message-ID: If I understand correctly, a field is a field is a field. Behavior depends on the properties, so to see if it is a grid field you can check the hgrid of the field. If its true, then the horizontal grid lines are on. Same for vgrid. So a basic table field is just a field with the correct properties set. On Mon, Dec 24, 2012 at 2:32 PM, Peter Haworth wrote: > Is there a reliable way to distinguish between a table field and a > scrolling list field by script? How about the mysterious "Basic Table > object" property on the Inspector table tab? I say "mysterious" because > even with the preference set to show property names, it doesn't. > 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 pete at lcsql.com Mon Dec 24 17:11:34 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 24 Dec 2012 14:11:34 -0800 Subject: Scrolling List/Table In-Reply-To: References: Message-ID: Thanks Mike. That's what I was trying to figure out - which properties to use and you pointed me to the right ones. Looking at the dictionary, it sounds like fixedLineHeight has to be true for those props to have any effect so I guess I can check that too. Pete lcSQL Software On Mon, Dec 24, 2012 at 1:42 PM, Mike Bonner wrote: > If I understand correctly, a field is a field is a field. Behavior depends > on the properties, so to see if it is a grid field you can check the hgrid > of the field. If its true, then the horizontal grid lines are on. Same for > vgrid. > > So a basic table field is just a field with the correct properties set. > > > On Mon, Dec 24, 2012 at 2:32 PM, Peter Haworth wrote: > > > Is there a reliable way to distinguish between a table field and a > > scrolling list field by script? How about the mysterious "Basic Table > > object" property on the Inspector table tab? I say "mysterious" because > > even with the preference set to show property names, it doesn't. > > 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 dunbarx at aol.com Mon Dec 24 17:13:19 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 24 Dec 2012 17:13:19 -0500 (EST) Subject: The Script Editor In-Reply-To: References: <50D792C9.00000D.06044@CALS_BIG_PC> <50D82ABC.4090407@gmail.com> Message-ID: <8CFB03B0365F386-17D0-4D897@webmail-d097.sysops.aol.com> You can do this now. In the script editor preferences, set so that each handler opens in a new window, instead of a new tab. Craig Newman -----Original Message----- From: Robert Sneidar To: How to use LiveCode Sent: Mon, Dec 24, 2012 4:13 pm Subject: Re: The Script Editor He is talking about a time before LC existed, meaning I assume, Revolution as well. Might have been Metacard or Supercard. Bob On Dec 24, 2012, at 2:13 AM, Richmond wrote: > On 12/24/2012 01:25 AM, Cal Horner wrote: >> I find that I need a feature now that used to be available back before LC >> grew whiskers. >> >> Remember when you had the option of looking at a single handler in the >> editor pane instead of the whole script? > > I wonder if you can pin that down to a particular version? > > I have just been "fooling around" with RunRev 2 and not getting anything that you describe. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From sc at sahores-conseil.com Mon Dec 24 17:38:54 2012 From: sc at sahores-conseil.com (Pierre Sahores) Date: Mon, 24 Dec 2012 23:38:54 +0100 Subject: [OT] Microsoft Certs In-Reply-To: References: Message-ID: <94550E60-E943-4A7B-B836-0863FA9337DF@sahores-conseil.com> CompTIA A+ : Congrats, Bob ! Winshit certs : Why would you spare time in about this dinosaurs techs ?!! Gohead certs ? Why not coffeescript, the js killer transcoder ? http://coffeescript.org/ Warm regards, Pierre Le 24 d?c. 2012 ? 21:58, Robert Sneidar a ?crit : > Hi all. I got the CompTIA A+ cert which basically means I can prove I am not a complete imbecile when it comes to computers. Now I want to go for a Microsoft certification, MCSE or MCSA, but I am having a difficult time finding study materials and practice exams I can trust, but that don't cost an arm and a leg. > > So I was wondering if any on this list have gone through this process and can give me some tips. You can contact me off list if you like. Thanks to anyone who can help. > > Bob > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 jacque at hyperactivesw.com Mon Dec 24 18:25:26 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 24 Dec 2012 17:25:26 -0600 Subject: The Script Editor In-Reply-To: References: <50D792C9.00000D.06044@CALS_BIG_PC> <50D82ABC.4090407@gmail.com> Message-ID: <50D8E466.9000404@hyperactivesw.com> On 12/24/12 3:11 PM, Robert Sneidar wrote: > He is talking about a time before LC existed, meaning I assume, > Revolution as well. Might have been Metacard or Supercard. It was Revolution, early on, maybe version 1. If I remember right it was in the first Rev script editor. The team didn't really just yank it out, they first asked how many people used it. Not many did and it was difficult to maintain, so it was dropped. The theory was that you could concentrate on a few lines at a time without being distracted by the rest of the script, so it would display just the "mouseup" handler in its own window, or just your custom function. But most people prefered to see the handler in context so it didn't get much use. In preferences, you can set a whole script to open in a new window, but no longer each individual handler. > On Dec 24, 2012, at 2:13 AM, Richmond wrote: > >> On 12/24/2012 01:25 AM, Cal Horner wrote: >>> I find that I need a feature now that used to be available back >>> before LC grew whiskers. >>> >>> Remember when you had the option of looking at a single handler >>> in the editor pane instead of the whole script? >> >> I wonder if you can pin that down to a particular version? >> >> I have just been "fooling around" with RunRev 2 and not getting >> anything that you describe. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From slylabs13 at me.com Mon Dec 24 18:34:03 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Mon, 24 Dec 2012 15:34:03 -0800 Subject: [OT] Microsoft Certs In-Reply-To: <94550E60-E943-4A7B-B836-0863FA9337DF@sahores-conseil.com> References: <94550E60-E943-4A7B-B836-0863FA9337DF@sahores-conseil.com> Message-ID: <484148B9-8DDE-4354-9E28-ADB6E0A54FE4@me.com> Hi Pierre. Because "Winshit" certs are by far the ones most required by prospective employers, whom I am attempting to impress at this stage of my life. :-) Bob On Dec 24, 2012, at 2:38 PM, Pierre Sahores wrote: > CompTIA A+ : Congrats, Bob ! > > Winshit certs : Why would you spare time in about this dinosaurs techs ?!! > > Gohead certs ? Why not coffeescript, the js killer transcoder ? > > http://coffeescript.org/ > > Warm regards, > > Pierre > > Le 24 d?c. 2012 ? 21:58, Robert Sneidar a ?crit : > >> Hi all. I got the CompTIA A+ cert which basically means I can prove I am not a complete imbecile when it comes to computers. Now I want to go for a Microsoft certification, MCSE or MCSA, but I am having a difficult time finding study materials and practice exams I can trust, but that don't cost an arm and a leg. >> >> So I was wondering if any on this list have gone through this process and can give me some tips. You can contact me off list if you like. Thanks to anyone who can help. >> >> Bob >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 pete at lcsql.com Mon Dec 24 18:35:06 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 24 Dec 2012 15:35:06 -0800 Subject: The Script Editor In-Reply-To: <8CFB03B0365F386-17D0-4D897@webmail-d097.sysops.aol.com> References: <50D792C9.00000D.06044@CALS_BIG_PC> <50D82ABC.4090407@gmail.com> <8CFB03B0365F386-17D0-4D897@webmail-d097.sysops.aol.com> Message-ID: Hi Craig, IS that a 6.0 pref? I do see a pref for that in 5.5.x but it's for complete scripts, not handlers within a script. Pete lcSQL Software On Mon, Dec 24, 2012 at 2:13 PM, wrote: > You can do this now. > > > In the script editor preferences, set so that each handler opens in a new > window, instead of a new tab. > > > Craig Newman > > > > -----Original Message----- > From: Robert Sneidar > To: How to use LiveCode > Sent: Mon, Dec 24, 2012 4:13 pm > Subject: Re: The Script Editor > > > He is talking about a time before LC existed, meaning I assume, Revolution > as > well. Might have been Metacard or Supercard. > > Bob > > > On Dec 24, 2012, at 2:13 AM, Richmond wrote: > > > On 12/24/2012 01:25 AM, Cal Horner wrote: > >> I find that I need a feature now that used to be available back before > LC > >> grew whiskers. > >> > >> Remember when you had the option of looking at a single handler in the > >> editor pane instead of the whole script? > > > > I wonder if you can pin that down to a particular version? > > > > I have just been "fooling around" with RunRev 2 and not getting anything > that > you describe. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From slylabs13 at me.com Mon Dec 24 18:39:33 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Mon, 24 Dec 2012 15:39:33 -0800 Subject: The Script Editor In-Reply-To: References: <50D792C9.00000D.06044@CALS_BIG_PC> <50D82ABC.4090407@gmail.com> <8CFB03B0365F386-17D0-4D897@webmail-d097.sysops.aol.com> Message-ID: One of the things I like to do is work on a handler in a button. This allows me to test the handler by simply clicking a button, and it's easy to see that you can insert it into the front if it's something that needs to be called by another handler. Downside is of course, if your script needs to reference the object you need it to be in, such as "me" then this won't work for you unless you start by specifically naming the object you intend to reference, and then later replacing all those references with "me". Bob On Dec 24, 2012, at 3:35 PM, Peter Haworth wrote: > Hi Craig, > IS that a 6.0 pref? I do see a pref for that in 5.5.x but it's for > complete scripts, not handlers within a script. > Pete > lcSQL Software > > > On Mon, Dec 24, 2012 at 2:13 PM, wrote: > >> You can do this now. >> >> >> In the script editor preferences, set so that each handler opens in a new >> window, instead of a new tab. >> >> >> Craig Newman >> >> >> >> -----Original Message----- >> From: Robert Sneidar >> To: How to use LiveCode >> Sent: Mon, Dec 24, 2012 4:13 pm >> Subject: Re: The Script Editor >> >> >> He is talking about a time before LC existed, meaning I assume, Revolution >> as >> well. Might have been Metacard or Supercard. >> >> Bob >> >> >> On Dec 24, 2012, at 2:13 AM, Richmond wrote: >> >>> On 12/24/2012 01:25 AM, Cal Horner wrote: >>>> I find that I need a feature now that used to be available back before >> LC >>>> grew whiskers. >>>> >>>> Remember when you had the option of looking at a single handler in the >>>> editor pane instead of the whole script? >>> >>> I wonder if you can pin that down to a particular version? >>> >>> I have just been "fooling around" with RunRev 2 and not getting anything >> that >> you describe. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 24 20:18:52 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 25 Dec 2012 02:18:52 +0100 Subject: Scrolling List/Table In-Reply-To: References: Message-ID: Check the cRevTable properties set after turning on the LiveCode UI Elements in Lists option in the Development menu. That should show you some useful possibilities. -- Kind regards, Mark Schonewille Economy-x-Talk Http://economy-x-talk.com Share the clipboard of your computer over a local network with Clipboard Link http://clipboardlink.economy-x-talk.com Op 24 dec. 2012 om 22:32 heeft Peter Haworth het volgende geschreven: > Is there a reliable way to distinguish between a table field and a > scrolling list field by script? How about the mysterious "Basic Table > object" property on the Inspector table tab? I say "mysterious" because > even with the preference set to show property names, it doesn't. > 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 dunbarx at aol.com Mon Dec 24 23:50:02 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 24 Dec 2012 23:50:02 -0500 (EST) Subject: The Script Editor In-Reply-To: References: <50D792C9.00000D.06044@CALS_BIG_PC> <50D82ABC.4090407@gmail.com> <8CFB03B0365F386-17D0-4D897@webmail-d097.sysops.aol.com> Message-ID: <8CFB0726F1BD5AC-17D0-4EA8A@webmail-d097.sysops.aol.com> Peter. Ah. I see now you wanted to isolate individual handlers, not individual object scripts. Craig -----Original Message----- From: Peter Haworth To: How to use LiveCode Sent: Mon, Dec 24, 2012 6:35 pm Subject: Re: The Script Editor Hi Craig, IS that a 6.0 pref? I do see a pref for that in 5.5.x but it's for complete scripts, not handlers within a script. Pete lcSQL Software On Mon, Dec 24, 2012 at 2:13 PM, wrote: > You can do this now. > > > In the script editor preferences, set so that each handler opens in a new > window, instead of a new tab. > > > Craig Newman > > > > -----Original Message----- > From: Robert Sneidar > To: How to use LiveCode > Sent: Mon, Dec 24, 2012 4:13 pm > Subject: Re: The Script Editor > > > He is talking about a time before LC existed, meaning I assume, Revolution > as > well. Might have been Metacard or Supercard. > > Bob > > > On Dec 24, 2012, at 2:13 AM, Richmond wrote: > > > On 12/24/2012 01:25 AM, Cal Horner wrote: > >> I find that I need a feature now that used to be available back before > LC > >> grew whiskers. > >> > >> Remember when you had the option of looking at a single handler in the > >> editor pane instead of the whole script? > > > > I wonder if you can pin that down to a particular version? > > > > I have just been "fooling around" with RunRev 2 and not getting anything > that > you describe. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at 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 Tue Dec 25 01:39:08 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 24 Dec 2012 22:39:08 -0800 Subject: Scrolling List/Table In-Reply-To: References: Message-ID: Ah hah! Thank you Mark. On Dec 24, 2012 5:18 PM, "Mark Schonewille" < m.schonewille at economy-x-talk.com> wrote: > Check the cRevTable properties set after turning on the LiveCode UI > Elements in Lists option in the Development menu. That should show you some > useful possibilities. > > -- > Kind regards, > > Mark Schonewille > Economy-x-Talk > Http://economy-x-talk.com > > Share the clipboard of your computer over a local network with Clipboard > Link http://clipboardlink.economy-x-talk.com > > > Op 24 dec. 2012 om 22:32 heeft Peter Haworth het > volgende geschreven: > > > Is there a reliable way to distinguish between a table field and a > > scrolling list field by script? How about the mysterious "Basic Table > > object" property on the Inspector table tab? I say "mysterious" because > > even with the preference set to show property names, it doesn't. > > 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 richmondmathewson at gmail.com Tue Dec 25 04:39:32 2012 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 25 Dec 2012 11:39:32 +0200 Subject: The Script Editor In-Reply-To: <8CFB03B0365F386-17D0-4D897@webmail-d097.sysops.aol.com> References: <50D792C9.00000D.06044@CALS_BIG_PC> <50D82ABC.4090407@gmail.com> <8CFB03B0365F386-17D0-4D897@webmail-d097.sysops.aol.com> Message-ID: <50D97454.60405@gmail.com> On 12/25/2012 12:13 AM, dunbarx at aol.com wrote: > You can do this now. > > > In the script editor preferences, set so that each handler opens in a new window, instead of a new tab. I'm not sure if that's what the chap meant. Certainly that will result in each object having a new script window, but not each handler for a specific object. > > > Craig Newman > > > > -----Original Message----- > From: Robert Sneidar > To: How to use LiveCode > Sent: Mon, Dec 24, 2012 4:13 pm > Subject: Re: The Script Editor > > > He is talking about a time before LC existed, meaning I assume, Revolution as > well. Might have been Metacard or Supercard. > > Bob > > > On Dec 24, 2012, at 2:13 AM, Richmond wrote: > >> On 12/24/2012 01:25 AM, Cal Horner wrote: >>> I find that I need a feature now that used to be available back before LC >>> grew whiskers. >>> >>> Remember when you had the option of looking at a single handler in the >>> editor pane instead of the whole script? >> I wonder if you can pin that down to a particular version? >> >> I have just been "fooling around" with RunRev 2 and not getting anything that > you describe. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 25 08:46:54 2012 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 25 Dec 2012 15:46:54 +0200 Subject: last char, Unicode and other probs. Message-ID: <50D9AE4E.9010602@gmail.com> So here I am with a field full of unicodeText wanting to copy the last character across to another field, so tried these possibilities: on mouseUp set the useUnicode to true set the unicodeText of fld "OOTPUT" to the last char of fld "INNPUT" end mouseUp on mouseUp set the useUnicode to true put the charToNum(the last char of fld "INNPUT") into LSTCH set the unicodeText of fld "OOTPUT" to numToChar(LSTCH) end mouseUp and had no joy with either of them. Any bright ideas would be welcomed; err, quite frankly, at this point the ideas don't even have to be bright, they just have to work. Richmond. From slylabs13 at me.com Tue Dec 25 11:29:37 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Tue, 25 Dec 2012 08:29:37 -0800 Subject: last char, Unicode and other probs. In-Reply-To: <50D9AE4E.9010602@gmail.com> References: <50D9AE4E.9010602@gmail.com> Message-ID: Did you try char -2 to -1? Isn't unicode 2 byte? Bob On Dec 25, 2012, at 5:46 AM, Richmond wrote: > So here I am with a field full of unicodeText > wanting to copy the last character across to another field, > so tried these possibilities: > > on mouseUp > set the useUnicode to true > set the unicodeText of fld "OOTPUT" to the last char of fld "INNPUT" > end mouseUp > > on mouseUp > set the useUnicode to true > put the charToNum(the last char of fld "INNPUT") into LSTCH > set the unicodeText of fld "OOTPUT" to numToChar(LSTCH) > end mouseUp > > and had no joy with either of them. > > Any bright ideas would be welcomed; err, quite frankly, at this point the ideas don't > even have to be bright, they just have to work. > > 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 richmondmathewson at gmail.com Tue Dec 25 13:00:41 2012 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 25 Dec 2012 20:00:41 +0200 Subject: last char, Unicode and other probs. In-Reply-To: References: <50D9AE4E.9010602@gmail.com> Message-ID: <50D9E9C9.5080806@gmail.com> On 12/25/2012 06:29 PM, Robert Sneidar wrote: > Did you try char -2 to -1? Isn't unicode 2 byte? No, I didn't; but, as per my usual tendency, i found a way to do what I wanted to do about 5 minutes after I posted: on mouseUp set the useUnicode to true ---not entirely sure whetjer that line is necessary-- copy the last char of fld "INNPUT" set the traversalOn of fld "OOTPUT" to true --that may also be unecessary-- put empty into fld "OOTPUT" select after fld "OOTPUT" paste end mouseUp Certainly works with a field full of Devanagari chars [think numToChar(2325) - numToChar(2400)] > > Bob > > > On Dec 25, 2012, at 5:46 AM, Richmond wrote: > >> So here I am with a field full of unicodeText >> wanting to copy the last character across to another field, >> so tried these possibilities: >> >> on mouseUp >> set the useUnicode to true >> set the unicodeText of fld "OOTPUT" to the last char of fld "INNPUT" >> end mouseUp >> >> on mouseUp >> set the useUnicode to true >> put the charToNum(the last char of fld "INNPUT") into LSTCH >> set the unicodeText of fld "OOTPUT" to numToChar(LSTCH) >> end mouseUp >> >> and had no joy with either of them. >> >> Any bright ideas would be welcomed; err, quite frankly, at this point the ideas don't >> even have to be bright, they just have to work. >> >> 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 calhorner at xtra.co.nz Tue Dec 25 16:08:22 2012 From: calhorner at xtra.co.nz (Cal Horner) Date: Wed, 26 Dec 2012 10:08:22 +1300 (New Zealand Daylight Time) Subject: The Script Editor Message-ID: <50DA15BC.000017.03780@CALS_BIG_PC> On 24 Dec 2012 17:25:26 -0600 J. Landman Gay wrote: >The team didn't really just yank it out, they first asked how many >People used it. Not many did and it was difficult to maintain Funny that. I don't remember them asking me, but I can live with that. The real problem is the last few words of that statement, "it was difficult to maintain". I don't think I would have kept many jobs in my fifty-something year career in computing if I said that every time something was difficult or troublesome. Remember kiddies, life ain't easy and sometimes code isn't simple. Thus the term "A can of worms". From richmondmathewson at gmail.com Tue Dec 25 16:19:23 2012 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 25 Dec 2012 23:19:23 +0200 Subject: The Script Editor In-Reply-To: <50DA15BC.000017.03780@CALS_BIG_PC> References: <50DA15BC.000017.03780@CALS_BIG_PC> Message-ID: <50DA185B.5040306@gmail.com> On 12/25/2012 11:08 PM, Cal Horner wrote: > On 24 Dec 2012 17:25:26 -0600 J. Landman Gay wrote: > >> The team didn't really just yank it out, they first asked how many >> People used it. Not many did and it was difficult to maintain > Funny that. I don't remember them asking me, but I can live with that. > > The real problem is the last few words of that statement, "it was difficult > to maintain". > > I don't think I would have kept many jobs in my fifty-something year career > in computing if I said that every time something was difficult or > troublesome. Well said, that man! > > Remember kiddies, life ain't easy and sometimes code isn't simple. Thus the term "A can of worms". > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From calhorner at xtra.co.nz Tue Dec 25 17:56:20 2012 From: calhorner at xtra.co.nz (Cal Horner) Date: Wed, 26 Dec 2012 11:56:20 +1300 (New Zealand Daylight Time) Subject: The Script Editor Message-ID: <50DA2F13.000073.04696@CALS_BIG_PC> O.K. You all made me doubt myself. So never being one that enjoys being proven wrong I went back into the cob-webbed archives of time and pulled out Revolution Studio 2.7.4 and reinstalled it. Just to see if I had been dreaming. Lo and behold under the view menu there were several menu items specifically for handlers and one of the menu-items was the "Single-Handler View" and you know what it did. Just one little item of information if it is in 2.7.4 might it also be in the earlier script editors and even a few later ones? Question to self. Does this mean I'm going to have to cannibalize this script editor in order to use something like it in LC 5.5.3? Or back to my original question: anyone got something that does the trick already? What about GLX2 mark? From mwieder at ahsoftware.net Tue Dec 25 19:51:48 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 25 Dec 2012 16:51:48 -0800 Subject: The Script Editor In-Reply-To: <50DA2F13.000073.04696@CALS_BIG_PC> References: <50DA2F13.000073.04696@CALS_BIG_PC> Message-ID: <115512001921.20121225165148@ahsoftware.net> Cal- OK - that got me to look. It's present all the way up to 2.9 and then disappears in 3.0 (circa August 2008). It's not a feature I've ever noticed before, and therefore haven't noticed its absence. Now that I look at it, it's kind of cute in a weird sort of way. Sort of "how about if we give you a way to edit without any context?" With that said, I'm not about to add it to glx2 myself since I wouldn't use it and there are more pressing things to deal with, but you're welcome to hack it in yourself. And if you can figure out how to do that, I'd be happy to shoehorn it into a future release. -- -Mark Wieder mwieder at ahsoftware.net From richmondmathewson at gmail.com Wed Dec 26 05:59:38 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 26 Dec 2012 12:59:38 +0200 Subject: The Script Editor In-Reply-To: <50DA2F13.000073.04696@CALS_BIG_PC> References: <50DA2F13.000073.04696@CALS_BIG_PC> Message-ID: <50DAD89A.7010808@gmail.com> On 12/26/2012 12:56 AM, Cal Horner wrote: > O.K. You all made me doubt myself. So never being one that enjoys being > proven wrong I went back into the cob-webbed archives of time and pulled out > Revolution Studio 2.7.4 and reinstalled it. Just to see if I had been > dreaming. > > Lo and behold under the view menu there were several menu items specifically > for handlers and one of the menu-items was the "Single-Handler View" and you > know what it did. Yup: just cracked out my Mac OS version of DreamCard 2.6 and "there it was". Mind you I cannot feel desperately sad that this disappeared. From a personal point of view it would be 'nice' if, on double-clicking on each of the handlers listed in the left-hand column of the script editor that would open a new window/substack with a script editor with just that handler alone. This would mean that the default script view would be the "whole caboodle" of an object [and, if you have problems with that, go and look at the script of a MS Visual Basic 5 "stack" - every object and its script listed in a long headache-initiating list] but one could easily have a look at each handler in isolation. > > Just one little item of information if it is in 2.7.4 might it also be in > the earlier script editors and even a few later ones? > > Question to self. Does this mean I'm going to have to cannibalize this > script editor in order to use something like it in LC 5.5.3? > > Or back to my original question: anyone got something that does the trick > already? > > What about GLX2 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 From pmbrig at gmail.com Wed Dec 26 07:50:19 2012 From: pmbrig at gmail.com (Peter M. Brigham) Date: Wed, 26 Dec 2012 07:50:19 -0500 Subject: The Script Editor In-Reply-To: <115512001921.20121225165148@ahsoftware.net> References: <50DA2F13.000073.04696@CALS_BIG_PC> <115512001921.20121225165148@ahsoftware.net> Message-ID: <96D8B7DB-A6D2-495F-8E85-638178E33407@gmail.com> On Dec 25, 2012, at 7:51 PM, Mark Wieder wrote: > With that said, I'm not about to add it to glx2 myself since I > wouldn't use it and there are more pressing things to deal with, but > you're welcome to hack it in yourself. And if you can figure out how > to do that, I'd be happy to shoehorn it into a future release. I suspect this is exactly why the folks in Edinburgh dropped it. Too many people like you who never used it (or even knew it was there), a non-trivial maintenance overhead, and too many more pressing things to deal with. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From admin at FlexibleLearning.com Wed Dec 26 13:31:17 2012 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Wed, 26 Dec 2012 18:31:17 -0000 Subject: last char, Unicode and other probs. In-Reply-To: Message-ID: Does this not work... on mouseUp set the useUnicode to true put last char of fld "INNPUT" into fld "OUTPUT" end mouseUp Best regards, Hugh Senior FLCo Richmond wrote: on mouseUp set the useUnicode to true ---not entirely sure whetjer that line is necessary-- copy the last char of fld "INNPUT" set the traversalOn of fld "OOTPUT" to true --that may also be unecessary-- put empty into fld "OOTPUT" select after fld "OOTPUT" paste end mouseUp From pete at lcsql.com Wed Dec 26 14:20:21 2012 From: pete at lcsql.com (Peter Haworth) Date: Wed, 26 Dec 2012 11:20:21 -0800 Subject: [OT] A Riddle Message-ID: Folks, I was presented with this logic puzzle, supposedly conceived by Albert Einstein, over Christmas and am passing it on for your enjoyment and/or frustration. I'm assured there are no tricks and that the puzzle can be solved by pure logic. Might be an interesting exercise to solve it with Livecode; There are 5 houses in a row Each house is a different color. In each house lives a person of different nationality Each house owner drinks a different drink, smokes a different brand of cigarette, and keeps a different pet The question is who owns the Walleye Pike? The clues are as follows. 1. The Brit lives in the red house 2. The Swede owns a dog 3. The Dane drinks tea 4. The green house is on the left of the white house 5. The green house owner drinks coffee 6. The owner who smokes Pall Malls keeps birds 7. The owner of the yellow house smokes Dunhills 8. The owner of the house in the center drinks milk. 9. The man who smokes Blends lives next to the person who keeps cats 10. The Norwegian lives in the first house 11. The man who keeps horses lives next to the one that smokes Dunhills 12. The owner who smokes Bluemasters drinks beer. 13. The German smokes Princes 14. The Norwegian lives next to the blue house 15. The man who smokes Blends has a neighbor who drinks water. Pete lcSQL Software From slylabs13 at me.com Wed Dec 26 15:04:28 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Wed, 26 Dec 2012 12:04:28 -0800 Subject: [OT] A Riddle In-Reply-To: References: Message-ID: Oic it's a process of elimination puzzle. At first I missed the last clue "and keeps a different pet". Crucial for solving the puzzle. By the way, the "walleye pike" is a bit of a diversion. The real question is, "Who owns the fish?" It should have been phrased so that each clue was on it's own line. I am a victim of speed reading, not of lack of intelligence. ;-) This is rather like Sudoku, working a problem backwards by eliminating the impossibles, leaving only the answers. Bob On Dec 26, 2012, at 11:20 AM, Peter Haworth wrote: > Folks, > I was presented with this logic puzzle, supposedly conceived by Albert > Einstein, over Christmas and am passing it on for your enjoyment and/or > frustration. I'm assured there are no tricks and that the puzzle can be > solved by pure logic. Might be an interesting exercise to solve it with > Livecode; > > There are 5 houses in a row > Each house is a different color. > In each house lives a person of different nationality > Each house owner drinks a different drink, smokes a different brand of > cigarette, and keeps a different pet > > The question is who owns the Walleye Pike? > > The clues are as follows. > > 1. The Brit lives in the red house > 2. The Swede owns a dog > 3. The Dane drinks tea > 4. The green house is on the left of the white house > 5. The green house owner drinks coffee > 6. The owner who smokes Pall Malls keeps birds > 7. The owner of the yellow house smokes Dunhills > 8. The owner of the house in the center drinks milk. > 9. The man who smokes Blends lives next to the person who keeps cats > 10. The Norwegian lives in the first house > 11. The man who keeps horses lives next to the one that smokes Dunhills > 12. The owner who smokes Bluemasters drinks beer. > 13. The German smokes Princes > 14. The Norwegian lives next to the blue house > 15. The man who smokes Blends has a neighbor who drinks water. > > > 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 nigels at amglighthouse.co.za Thu Dec 27 03:24:33 2012 From: nigels at amglighthouse.co.za (Nigel Soden) Date: Thu, 27 Dec 2012 10:24:33 +0200 Subject: Learning LiveCode Message-ID: <0A5ECB48-8D38-4AAA-B7DA-6EC185F5751E@amglighthouse.co.za> Folks I'm sitting in the confession box, hidden from the view to the confessors. (haha). I've been in this game since the days of the first Sinclair computer, remember it. The ZX81. At the time I was learning to fly and progressing to become a Commercial Pilot. Then mine eyes beheld this beauty, ZX81. I was to captivated by this 'thing'. I dissected everything about this wondrous machine, as for the flying that took a plunge as I was diagnosed with a heart murmur which put a full stop of ever reaching the commercial or as it it better known in aviation circle, my A.L.T.P. What was I left to do. I had spent 7 years and countless amount of paper money that I was left broken both physically and emotionally. But quietly sitting on my desk at home which by now the ZX81 hd grown to the ZX Spectrum. I got a job as a Hi-Fi Salesman and in the evening I indulged myself in this wondrous piece of electronic device learning everything about it. Lets move on. So, today I'm now a developer, learnt countless computer language, loved some, hated others. But my interest for programming has never waned. Ran a small software house for many years, collapsed 3 time from over stress but never ever lost the desire to create program's. Like learning music, it gets better the more you play. Three years from now I'm at the legal age of retirement. The current language I use to earn a living is C# and ALL its affiliated friends, .Net, Prism, etc, etc. And I HATE every bit of it. Whatever the youngsters of today claim they can do in C# has been done under other camouflaged names and languages. OOPS. What a farce... It's overused, oversold and overrated. There I SAID IT. I HATE OOPS. I'm not saying that it has no good points for it has some really clever ways of dealing with problems. But it's SO over exposed it's becoming sickening. There is no ways I'm going to wait until I'm 63 before retiring, so for the last year I have been researching various languages that'll fit my future requirements as this coming year is my last year I will ever work for a big corporation. Basically what Im saying, I'm retiring, but with the current economy being as it is I would have to supplement my income. After many months of research I stumbled on LiveCode downloaded it and played around with it and liked what I saw and what it's user base and it's interaction amongst the users and developers. I'm in the process of developing an application for my son that'll run on iPad's and later on Android units. I do a lot of research on biblical history and also currently developing an application for that as well. So all in all I'm enjoying it and looking forward to making a little cash on the sideline. BUT, this is what is frustrating me. WHY AM I FINDING IT SO DIFFICULT TO UNDERSTAND THE FLIPPING LANGUAGE. I keep tripping up on the explanation in the multitudes of examples. for example. Create a calendar pane in a given stack using the function: I think I sort of understand, and i'm sure I will reach that goal. Now hear my confession. It takes me roughly 3 months to get into a language and another couple of months to becoming proficient in it but in LiveCode, geez.. it's like taking for ever. Why could they not stay with standard computer technology terms. You gonna have to learn them sometime. And for those of you that write articles and third party add-ons, please, please supply copious amount of examples. I know some do but in general I find them rather lacking. To date what I see in LiveCode satisfies my needs and is well within my budget. I will continue with it as I do believe it'll be around for quit some time. Living in South Africa makes it expensive for us to travel around the world and would love to attend a conference but that is way beyond my means. It appears as If I'm the only developer in this country so I do rely a lot on various forums and site from which to get answers. I cannot just pick up the phone and say, 'Hey!' what do I do here. For those of you that have helped me in the past, I am most grateful even thou I may not always reply as such or contribute currently. On a final note. I have a couple of articles that I am working on and when I have reached the level of satisfaction that a beginner to an expert can follow then I'll post them. Thanks for listening and hope you ALL have a good 2013. P.S. Can I leave the confession box now? From coiin at verizon.net Thu Dec 27 03:54:31 2012 From: coiin at verizon.net (Colin Holgate) Date: Thu, 27 Dec 2012 08:54:31 +0000 Subject: Learning LiveCode In-Reply-To: <0A5ECB48-8D38-4AAA-B7DA-6EC185F5751E@amglighthouse.co.za> References: <0A5ECB48-8D38-4AAA-B7DA-6EC185F5751E@amglighthouse.co.za> Message-ID: <5000476B-3468-4B25-A1C4-A799DB42F953@verizon.net> Hopefully you'll get over the difference in terms used in LiveCode compared to other languages. I think it would be the right tool to use for bible study applications. As an aside, you should look at Unity 3D. It's not remotely right for the apps you're talking about, but it is good fun to play with, and one of its main languages is C#. The other main language is Javascript, but it's a dot net variation, that is slightly confusing for regular Javascript users. From andre.rombauts at gmail.com Thu Dec 27 04:19:44 2012 From: andre.rombauts at gmail.com (=?iso-8859-1?Q?Andr=E9_Rombauts?=) Date: Thu, 27 Dec 2012 10:19:44 +0100 Subject: Learning LiveCode In-Reply-To: <0A5ECB48-8D38-4AAA-B7DA-6EC185F5751E@amglighthouse.co.za> References: <0A5ECB48-8D38-4AAA-B7DA-6EC185F5751E@amglighthouse.co.za> Message-ID: <11D7FE69-89FB-461D-9F2D-BE686CC25215@gmail.com> Le 27 d?c. 2012 ? 09:24, Nigel Soden a ?crit : > I'm sitting in the confession box, hidden from the view to the confessors. (haha). > P.S. Can I leave the confession box now? Hum... It seems the place is free. Let's get in... > I've been in this game since the days of the first Sinclair computer, remember it. The ZX81. At the time I was learning to fly and progressing to become a Commercial Pilot. Then mine eyes beheld this beauty, ZX81. I was to captivated by this 'thing'. I dissected everything about this wondrous machine, as for the flying that took a plunge as I was diagnosed with a heart murmur which put a full stop of ever reaching the commercial or as it it better known in aviation circle, my A.L.T.P. Well doing some kind of computer archeology, I'll dig out the TRS80 Model one. It was my first computer. Not really... The first one was a sheet of paper and a pencil: when in 1979 I asked him what as a teacher I could do with a micro-computer the guy at Tandy store replied by suggesting me to buy the user guide (the user guide was sold separately and if I happened to buy the computer I would anyway need it...). Thus I started programming Basic language copying the lines from the very well done course in the user guide. Along one month I did that tedious work wondering how it would display on the screen... I was at that time a 27 years old teacher. I'm no a 60 retired one. Still living with computers... > Lets move on. So, today I'm now a developer, learnt countless computer language, loved some, hated others. But my interest for programming has never waned. Ran a small software house for many years, collapsed 3 time from over stress but never ever lost the desire to create program's. Like learning music, it gets better the more you play. I moved to Apple II in 1982 or so and discovered the Logo language. I moved then to Microsoft world as IBM PC machines when arriving in our schools and remained linked to the Windows environment until I got my first personal iMac in 1998 although I had to go on with PCs because my school was in process of setting up a NT4 network (and I even worked afterwards with Microsoft Belgium as a part-time Education advisor...). I discovered RunRev Revolution with version 1 and found that it was really a revolution for me. After having tested and used many languages such as Pascal, Augusta, Forth I really got in love with Revolution... Never left... Very recently my son (35) moved to France where he found a better job conditions. He was already working in the medical field in Belgium, dealing with blood analysis machines, interfacing them with computers and managing the results in database. Now he is working in a similar firm, Horiba Medical. When he spoke about his development projects I advised him to use LiveCode. He learned C at school when he studied for a Master in informatics but never really programmed with pleasure. He developed an application in less than one week (a spare parts database management). He takes pleasure in working withe LiveCode. No comment... Confession box: free :-) Andr? Rombauts From lvhdgc7 at gmail.com Thu Dec 27 11:31:27 2012 From: lvhdgc7 at gmail.com (tbodine) Date: Thu, 27 Dec 2012 08:31:27 -0800 (PST) Subject: Can LC remember location of IDE windows? Message-ID: <1356625887117-4658333.post@n4.nabble.com> Hi, Coders. Can LC open IDE windows like the App Browser, Dictionary and tool pallets to their last-used location and size? I did not see this option under PREFERENCES. Thanks, Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Can-LC-remember-location-of-IDE-windows-tp4658333.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Thu Dec 27 11:37:23 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 27 Dec 2012 17:37:23 +0100 Subject: Can LC remember location of IDE windows? In-Reply-To: <1356625887117-4658333.post@n4.nabble.com> References: <1356625887117-4658333.post@n4.nabble.com> Message-ID: <8463B2C9-48CC-47B0-8135-08056D7612B9@economy-x-talk.com> Hi Tom, Each time when you save a stack, its location is saved as part of the document. When the stack is opened on a different machine, it will open in the same location. Some stacks have a script that changes the location. A script may move a stack window to the a particular location in the preOpenStack script, which makes it appear as if the location saved in the stack file is ignored. Because stacks that are part of a standalone application can't be saved, a preferences file is needed to store the location. A closeStack handler can write the location of a stack to a preferences file and a preOpenStack handler would read the location from the preferences script and set the location of the stack before it appears on screen. IDE stacks are not part of a standalone and should not need such a preferences file, but modern operating systems may not allow limited users to save IDE stacks because they are in the applications folder. -- 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 27 dec 2012, at 17:31, tbodine wrote: > Hi, Coders. > Can LC open IDE windows like the App Browser, Dictionary and tool pallets to > their last-used location and size? I did not see this option under > PREFERENCES. > Thanks, > Tom Bodine > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Can-LC-remember-location-of-IDE-windows-tp4658333.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 janschenkel at yahoo.com Thu Dec 27 11:37:33 2012 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 27 Dec 2012 08:37:33 -0800 (PST) Subject: [ANN] Quartam PDF Library 1.1.5 Available Message-ID: <1356626253.51339.YahooMailNeo@web141104.mail.bf1.yahoo.com> This maintenance update to Quartam PDF Library adds long-awaited support for alpha channels in PNG images. Tip of the hat to Alejandro Tejada for his help with ZLib DEFLATE decompression. The cross-platform .zip archive can be downloaded at: A web page with LiveCode Server / On-Rev demos is available at: Quartam PDF Library for LiveCode - version 1.1 introduced support for transformations, transparency and blendmodes, gradients, clipping, text box fitting, inserting pages, compression, experimental support for including EPS files, as well as support for LiveCode Server and On-Rev. It is released as open source under a dual license (GNU Affero General Public License / Commercial License). 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 slylabs13 at me.com Thu Dec 27 11:37:23 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Thu, 27 Dec 2012 08:37:23 -0800 Subject: Learning LiveCode In-Reply-To: <0A5ECB48-8D38-4AAA-B7DA-6EC185F5751E@amglighthouse.co.za> References: <0A5ECB48-8D38-4AAA-B7DA-6EC185F5751E@amglighthouse.co.za> Message-ID: Odd. Why would their first computer start with a Z and have the number 81? Bob On Dec 27, 2012, at 12:24 AM, Nigel Soden wrote: > Folks > > I'm sitting in the confession box, hidden from the view to the confessors. (haha). > > I've been in this game since the days of the first Sinclair computer, remember it. The ZX81. From dunbarx at aol.com Thu Dec 27 11:55:41 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 27 Dec 2012 11:55:41 -0500 (EST) Subject: Learning LiveCode In-Reply-To: <0A5ECB48-8D38-4AAA-B7DA-6EC185F5751E@amglighthouse.co.za> References: <0A5ECB48-8D38-4AAA-B7DA-6EC185F5751E@amglighthouse.co.za> Message-ID: <8CFB26A23247719-C68-34341@webmail-m089.sysops.aol.com> Hi. As someone proficient in ordinary procedural languages, you are stumbling over the inability to accept that a programming language can be so english-like. Most new users like yourself find the concept childish and unprofessional, rather than opaque and unintelligible. This is good news, I think. It will require quite a bit of unlearning, but once you get it, I guarantee you will never look back. Make an address book or a metric/english converter. These seemingly trivial tasks are anything but, at least to a beginner, and if you can get through them, will put you over that conceptual barricade. You will appreciate that the enormous internal overhead required of the parsers and interpreters in LiveCode takes the place of the enormous internal overhead required of human beings in C++. Had you never heard of Hypercard during your long travels? Craig Newman -----Original Message----- From: Nigel Soden To: use-livecode Sent: Thu, Dec 27, 2012 3:25 am Subject: Learning LiveCode Folks I'm sitting in the confession box, hidden from the view to the confessors. (haha). I've been in this game since the days of the first Sinclair computer, remember it. The ZX81. At the time I was learning to fly and progressing to become a Commercial Pilot. Then mine eyes beheld this beauty, ZX81. I was to captivated by this 'thing'. I dissected everything about this wondrous machine, as for the flying that took a plunge as I was diagnosed with a heart murmur which put a full stop of ever reaching the commercial or as it it better known in aviation circle, my A.L.T.P. What was I left to do. I had spent 7 years and countless amount of paper money that I was left broken both physically and emotionally. But quietly sitting on my desk at home which by now the ZX81 hd grown to the ZX Spectrum. I got a job as a Hi-Fi Salesman and in the evening I indulged myself in this wondrous piece of electronic device learning everything about it. Lets move on. So, today I'm now a developer, learnt countless computer language, loved some, hated others. But my interest for programming has never waned. Ran a small software house for many years, collapsed 3 time from over stress but never ever lost the desire to create program's. Like learning music, it gets better the more you play. Three years from now I'm at the legal age of retirement. The current language I use to earn a living is C# and ALL its affiliated friends, .Net, Prism, etc, etc. And I HATE every bit of it. Whatever the youngsters of today claim they can do in C# has been done under other camouflaged names and languages. OOPS. What a farce... It's overused, oversold and overrated. There I SAID IT. I HATE OOPS. I'm not saying that it has no good points for it has some really clever ways of dealing with problems. But it's SO over exposed it's becoming sickening. There is no ways I'm going to wait until I'm 63 before retiring, so for the last year I have been researching various languages that'll fit my future requirements as this coming year is my last year I will ever work for a big corporation. Basically what Im saying, I'm retiring, but with the current economy being as it is I would have to supplement my income. After many months of research I stumbled on LiveCode downloaded it and played around with it and liked what I saw and what it's user base and it's interaction amongst the users and developers. I'm in the process of developing an application for my son that'll run on iPad's and later on Android units. I do a lot of research on biblical history and also currently developing an application for that as well. So all in all I'm enjoying it and looking forward to making a little cash on the sideline. BUT, this is what is frustrating me. WHY AM I FINDING IT SO DIFFICULT TO UNDERSTAND THE FLIPPING LANGUAGE. I keep tripping up on the explanation in the multitudes of examples. for example. Create a calendar pane in a given stack using the function: I think I sort of understand, and i'm sure I will reach that goal. Now hear my confession. It takes me roughly 3 months to get into a language and another couple of months to becoming proficient in it but in LiveCode, geez.. it's like taking for ever. Why could they not stay with standard computer technology terms. You gonna have to learn them sometime. And for those of you that write articles and third party add-ons, please, please supply copious amount of examples. I know some do but in general I find them rather lacking. To date what I see in LiveCode satisfies my needs and is well within my budget. I will continue with it as I do believe it'll be around for quit some time. Living in South Africa makes it expensive for us to travel around the world and would love to attend a conference but that is way beyond my means. It appears as If I'm the only developer in this country so I do rely a lot on various forums and site from which to get answers. I cannot just pick up the phone and say, 'Hey!' what do I do here. For those of you that have helped me in the past, I am most grateful even thou I may not always reply as such or contribute currently. On a final note. I have a couple of articles that I am working on and when I have reached the level of satisfaction that a beginner to an expert can follow then I'll post them. Thanks for listening and hope you ALL have a good 2013. P.S. Can I leave the confession box 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 Thu Dec 27 12:22:45 2012 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 27 Dec 2012 19:22:45 +0200 Subject: Learning LiveCode In-Reply-To: References: <0A5ECB48-8D38-4AAA-B7DA-6EC185F5751E@amglighthouse.co.za> Message-ID: <50DC83E5.80008@gmail.com> On 12/27/2012 06:37 PM, Robert Sneidar wrote: > Odd. Why would their first computer start with a Z and have the number 81? Excuse Me! The Sinclair computer was made in Scotland, Dundee, to be precise, and, as a Scotsman, while privately thinking that a first computer being called "Z81" is daft, I would defend it to the hilt in public. > > Bob > > > On Dec 27, 2012, at 12:24 AM, Nigel Soden wrote: > >> Folks >> >> I'm sitting in the confession box, hidden from the view to the confessors. (haha). >> >> I've been in this game since the days of the first Sinclair computer, remember it. The ZX81. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From slylabs13 at me.com Thu Dec 27 12:31:40 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Thu, 27 Dec 2012 09:31:40 -0800 Subject: Learning LiveCode In-Reply-To: <50DC83E5.80008@gmail.com> References: <0A5ECB48-8D38-4AAA-B7DA-6EC185F5751E@amglighthouse.co.za> <50DC83E5.80008@gmail.com> Message-ID: Come to think of it, no one would buy a computer named the A1. Although it worked pretty good for steak sauce... Bob On Dec 27, 2012, at 9:22 AM, Richmond wrote: > On 12/27/2012 06:37 PM, Robert Sneidar wrote: >> Odd. Why would their first computer start with a Z and have the number 81? > > Excuse Me! The Sinclair computer was made in Scotland, Dundee, to be precise, and, as > a Scotsman, while privately thinking that a first computer being called "Z81" is daft, I > would defend it to the hilt in public. > >> >> Bob >> >> >> On Dec 27, 2012, at 12:24 AM, Nigel Soden wrote: >> >>> Folks >>> >>> I'm sitting in the confession box, hidden from the view to the confessors. (haha). >>> >>> I've been in this game since the days of the first Sinclair computer, remember it. The ZX81. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 27 12:37:22 2012 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 27 Dec 2012 19:37:22 +0200 Subject: Learning LiveCode In-Reply-To: <0A5ECB48-8D38-4AAA-B7DA-6EC185F5751E@amglighthouse.co.za> References: <0A5ECB48-8D38-4AAA-B7DA-6EC185F5751E@amglighthouse.co.za> Message-ID: <50DC8752.9030703@gmail.com> On 12/27/2012 10:24 AM, Nigel Soden wrote: > > > BUT, this is what is frustrating me. WHY AM I FINDING IT SO DIFFICULT TO UNDERSTAND THE FLIPPING LANGUAGE. I keep tripping up on the explanation in the multitudes of examples. for example. > > Well, one of the reasons it that it does NOT have a "Flipping language", unlike all those other "Flipping" languages such as C++, et al. In fact the language inside Livecode (which has gone through almost as many name changes as I've had cups of coffee over the last 2 weeks) is far from "Flipping" . . . . . . and once you manage to shake yourself free of looking for a "Flipping language" you should find that everything is extremely refreshing. Every now and then I have an "odd patch" when I feel I really ought to pull myself together and learn a "real computer programming language"; then I remember when I was going in for all-in-wrestling matches with Fortran IV (somewhere about 1975-6), BASIC (much the same), PASCAL (1984) and ZILOG (1985); then think about muck such as Visual BASIC, and I smile seraphically, and return to Livecode. Frankly, having looked at C++, it gives me the WILLIES. You stated that you wished to retire, at least partially; and the great thing about Livecode is that the 'retirement' will come insofar as you won't be scratching your head and uttering things far worse than 'flipping' while you get on and develop what you want to. If you think I am just a "prawn" who fools about with Livecode go and have a play with my Devawriter Pro: http://andregarzia.on-rev.com/richmond/dwriterpro.html All done in Livecode; no hidden strings about it. And, further to the above; please feel free, either ON or OFF list to contact me, however 'goofy' you may feel a question to be, and I will do my best to help. sincerely, Richmond Mathewson. From richmondmathewson at gmail.com Thu Dec 27 12:40:40 2012 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 27 Dec 2012 19:40:40 +0200 Subject: Learning LiveCode In-Reply-To: References: <0A5ECB48-8D38-4AAA-B7DA-6EC185F5751E@amglighthouse.co.za> <50DC83E5.80008@gmail.com> Message-ID: <50DC8818.3050103@gmail.com> On 12/27/2012 07:31 PM, Robert Sneidar wrote: > Come to think of it, no one would buy a computer named the A1. Although it worked pretty good for steak sauce... I remember the first real computer (i.e. not a bunch of Hollerith cards) I got my sweaty, teenage paws onto was called a Research Machine 380Z . . . . . . obviously somebody, somewhere, in the mid-70's felt that using a 'Z' was "sexy"! However, "sexy" or not, the Research Machine 380Z was about as erotic as a black box hooked up to a computer monitor can be! > > Bob > > > On Dec 27, 2012, at 9:22 AM, Richmond wrote: > >> On 12/27/2012 06:37 PM, Robert Sneidar wrote: >>> Odd. Why would their first computer start with a Z and have the number 81? >> Excuse Me! The Sinclair computer was made in Scotland, Dundee, to be precise, and, as >> a Scotsman, while privately thinking that a first computer being called "Z81" is daft, I >> would defend it to the hilt in public. >> >>> Bob >>> >>> >>> On Dec 27, 2012, at 12:24 AM, Nigel Soden wrote: >>> >>>> Folks >>>> >>>> I'm sitting in the confession box, hidden from the view to the confessors. (haha). >>>> >>>> I've been in this game since the days of the first Sinclair computer, remember it. The ZX81. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kee at kagi.com Thu Dec 27 12:44:29 2012 From: kee at kagi.com (kee nethery) Date: Thu, 27 Dec 2012 09:44:29 -0800 Subject: Learning LiveCode In-Reply-To: References: <0A5ECB48-8D38-4AAA-B7DA-6EC185F5751E@amglighthouse.co.za> <50DC83E5.80008@gmail.com> Message-ID: <0CD94C94-3A8F-4BBF-86BB-DB9CA46BB77D@kagi.com> ZX81 CPU chip was made by Zilog (thus the "Z"). The first Sinclair used the Z80. The Z80 chip was "Z80" because it was binary compatible with the Intel 8080. The ZX81 was a Z80 CPU with more stuff added into it, thus, the ZX81 (presumably eXtra and 81 because that was the next number). Back in the day it made perfect sense to name it the Z80 and for the follow on to be the ZX81. Kee (old guy) PS: My first computer was a SouthWest Technical Products 6800 (aka SWTPC 6800) On Dec 27, 2012, at 9:31 AM, Robert Sneidar wrote: > Come to think of it, no one would buy a computer named the A1. Although it worked pretty good for steak sauce... > > Bob > > > On Dec 27, 2012, at 9:22 AM, Richmond wrote: > >> On 12/27/2012 06:37 PM, Robert Sneidar wrote: >>> Odd. Why would their first computer start with a Z and have the number 81? >> >> Excuse Me! The Sinclair computer was made in Scotland, Dundee, to be precise, and, as >> a Scotsman, while privately thinking that a first computer being called "Z81" is daft, I >> would defend it to the hilt in public. >> >>> >>> Bob >>> >>> >>> On Dec 27, 2012, at 12:24 AM, Nigel Soden wrote: >>> >>>> Folks >>>> >>>> I'm sitting in the confession box, hidden from the view to the confessors. (haha). >>>> >>>> I've been in this game since the days of the first Sinclair computer, remember it. The ZX81. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Dec 27 13:44:17 2012 From: coiin at verizon.net (Colin Holgate) Date: Thu, 27 Dec 2012 18:44:17 +0000 Subject: Learning LiveCode In-Reply-To: References: <0A5ECB48-8D38-4AAA-B7DA-6EC185F5751E@amglighthouse.co.za> Message-ID: The processor was a Z80, and the computer was released in 1981. Not sure about the X. On Dec 27, 2012, at 4:37 PM, Robert Sneidar wrote: > >Odd. Why would their first computer start with a Z and have the number 81? From nigels at amglighthouse.co.za Thu Dec 27 14:07:41 2012 From: nigels at amglighthouse.co.za (Nigel Soden) Date: Thu, 27 Dec 2012 21:07:41 +0200 Subject: Learning LiveCode Message-ID: To all the those that have participated on this thread, I say thank you. Some comments brought a smile to my face and others left me wondering if WW3 was on its way. :) I'm somewhat happily surprised by the entries that I find myself among the order of the "Gentleman" even in some of the contents in the replies showed some national pride. Which frankly I find refreshing in this age, and some porridge stirring. All of which would be marvellous to behold while enjoying a pint in a traditional pub alongside the canal than in these Sport TV infested excuses of human gathering. Craig, you're quit correct. My mind flows in the direction of this cursed OOP philosophy and have to remind myself to re-wire the grey cells. No. I had never heard of HyperCard or any of the variants . It was only when I got LiveCode did I find out the history of the product. The 'beauty' that attracted me to LiveCode was the concept used to developing application using "messages" via a route and the Card concept which made sense, but that's were I trip up mixing the two technologies together while thinking through a problem. The fact also the syntax is something I've not seen before and I have to think in terms of a speaking language rather than the 'Enigma" style been propagated today. more to follow.... From m.schonewille at economy-x-talk.com Thu Dec 27 14:24:15 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 27 Dec 2012 20:24:15 +0100 Subject: [ANN] Installer Maker Holidays Discount In-Reply-To: References: <68E101B7-07FA-498B-A583-73F1A42FD005@economy-x-talk.com> <50870082-24C2-4987-BDF2-7AE1900A198C@economy-x-talk.com> <4C3B8BC5-F0B0-4BBF-9C7E-525E991DBAB2@economy-x-talk.com> Message-ID: Hi, Right before Christmas, Economy-x-Talk sent out a newsletter. Because we want to give the readers of our newsletter an opportunity to benefit from the discount offer, we are extending te sale until 2 January 2013. Until that date, you can still get a 33% discount on a new license for Installer Maker. Go to http://qery.us/za and click on the Plimus button. Use the coupon code 33OFF (that's the letter "o", not a zero) in the check-out form to get the discount. Installer Maker Plugin is the best tool available for LiveCode to wrap your standalones in an installer for Mac OS X or Windows. An overview of all features can be found at http://qery.us/za If you have any questions about this offer or Installer Maker, use the contact form on the website. -- 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 24 dec 2012, at 10:14, Mark Schonewille wrote: > Merry Christmas, everyone. > > While you're enjoying a day off, or two, consider playing with Installer Maker. It is still on sale and the shop will continue working during the holidays, although it might take an hour longer before you receive your license. > > Installer Maker Plugin is the best tool available for LiveCode to wrap your standalones in an installer for Mac OS X or Windows. An overview of all features can be found at http://qery.us/za where you can also purchase your license. > > -- > 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. From jacque at hyperactivesw.com Thu Dec 27 14:34:34 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 27 Dec 2012 13:34:34 -0600 Subject: Learning LiveCode In-Reply-To: <0A5ECB48-8D38-4AAA-B7DA-6EC185F5751E@amglighthouse.co.za> References: <0A5ECB48-8D38-4AAA-B7DA-6EC185F5751E@amglighthouse.co.za> Message-ID: <50DCA2CA.6000209@hyperactivesw.com> On 12/27/12 2:24 AM, Nigel Soden wrote: > Why could they not > stay with standard computer technology terms. You gonna have to learn > them sometime. I snipped most of it, but first off, I really enjoyed your post. Not because you are suffering but because it was so well written and explained exactly the problem that most people have if they are arriving here from experience with lower-level languages. You are not alone. I think experienced programmers have it the hardest because they need to unlearn most of what they know, or at least, re-learn it differently. LiveCode doesn't use many standard technology terms because a lot of what you are used to isn't needed. We don't have to worry about managing memory or anything like that. The terms "stack" and "card" are historical but do explain pretty well the concepts of how the objects in the window are arranged and their relationship to each other. If you can tell us what terms you think are missing, we can tell you either why they don't exist, or what the equivalent is in LiveCode. Once you get the hang of it, it will seem quite natural. One way to learn is to look at the User Examples (there's a button in the toolbar to get there) and choose a few stacks to study. There are hundreds to choose from. Another thing you can do is work through these (pretty old but still useful) tutorials, which were designed to teach new users from ground zero: Those will walk you through all the important concepts and terms, provide examples, and steer you in the right direction. The first few stacks assume no knowledge whatsoever, and take you through things you must know. Later in the series you can probably skip around; if you don't care about a topic you can come back to it later. Finally, ask here. We are an enthusiastic bunch who love to help, and you'll get answers to any question immediately. Abuse us! In 4-6 weeks you'll know what you're doing, I'm sure of it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From slylabs13 at me.com Thu Dec 27 15:17:40 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Thu, 27 Dec 2012 12:17:40 -0800 Subject: Learning LiveCode In-Reply-To: <0CD94C94-3A8F-4BBF-86BB-DB9CA46BB77D@kagi.com> References: <0A5ECB48-8D38-4AAA-B7DA-6EC185F5751E@amglighthouse.co.za> <50DC83E5.80008@gmail.com> <0CD94C94-3A8F-4BBF-86BB-DB9CA46BB77D@kagi.com> Message-ID: <0D953F6A-FC61-4560-B404-845FE01B302B@me.com> Dammit! Now it makes sense! Bob On Dec 27, 2012, at 9:44 AM, kee nethery wrote: > ZX81 > > CPU chip was made by Zilog (thus the "Z"). > > The first Sinclair used the Z80. The Z80 chip was "Z80" because it was binary compatible with the Intel 8080. The ZX81 was a Z80 CPU with more stuff added into it, thus, the ZX81 (presumably eXtra and 81 because that was the next number). > > Back in the day it made perfect sense to name it the Z80 and for the follow on to be the ZX81. > > Kee (old guy) > > PS: My first computer was a SouthWest Technical Products 6800 (aka SWTPC 6800) From slylabs13 at me.com Thu Dec 27 15:18:52 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Thu, 27 Dec 2012 12:18:52 -0800 Subject: Learning LiveCode In-Reply-To: References: Message-ID: <4814A471-7265-4004-A7BD-9DB3CC22E135@me.com> Noooo! You just insulted my favorite place to hang out! ;-) Bob On Dec 27, 2012, at 11:07 AM, Nigel Soden wrote: > All of which would be marvellous to behold while enjoying a pint in a traditional pub alongside the canal than in these Sport TV infested excuses of human gathering. From slylabs13 at me.com Thu Dec 27 15:40:13 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Thu, 27 Dec 2012 12:40:13 -0800 Subject: Learning LiveCode In-Reply-To: References: Message-ID: <3FB3EAC4-422F-4CF2-BAB4-59B20E9675C5@me.com> Hi Nigel. It helps me to see cards as forms. Also, you do not exactly *have to* embed you code in buttons and fields. You can put all of your nuts and bolts code in the stack script if you like, but it makes large complex apps more difficult to manage, and there is the downside that extremely large scripts take longer to compile than short ones. Concerning the message path and objects, it also helps me to think about where the highest object (the stack script being the lowest and last to receive a message, barring back scripts) where shared code can be accessed by the objects on a card or background that needs them. That is where I will put the command or function. (Some will say this the other way around, but I am thinking about a flow chart working top to bottom as the message progresses.) The practical upshot of this is that hardly any of my nuts and bolts code, I think that is called business logic, is located in the objects that started the message. So there end up being three places (and a fourth if you use behaviors) that most of my actual code is located. The first is a group containing the objects that generate the message, the second is the card script, the third is the stack script and the fourth and optional one is a behavior script. Behavior scripts are useful to me because I typically make database applications, and I have sets of cards that are similar in function, or that have a lot of shared code, validations routines and table population routines and such for example. So I can put that code in the behavior script for the cards that share that functionality, giving me a one stop shop for the code base for a given set of forms (cards). But my main point is that the objects themselves, buttons, fields and graphics in my applications tend to only contain code necessary to perhaps get some information from the user, and then call the actual command or function that does the work, which in turn calls other commands or functions, and off we go. It does take a little getting used to, especially coming from a high level language like c++ or java, but once you "get it" development becomes much easier and smoother, mainly because so much setup code you used to have to write is already done for you. So think of Livecode as a Rapid Application Development framework, and learn to work within that framework, and you will have it down in no time. Bob On Dec 27, 2012, at 11:07 AM, Nigel Soden wrote: > Craig, you're quit correct. My mind flows in the direction of this cursed OOP philosophy and have to remind myself to re-wire the grey cells. No. I had never heard of HyperCard or any of the variants . It was only when I got LiveCode did I find out the history of the product. The 'beauty' that attracted me to LiveCode was the concept used to developing application using "messages" via a route and the Card concept which made sense, but that's were I trip up mixing the two technologies together while thinking through a problem. The fact also the syntax is something I've not seen before and I have to think in terms of a speaking language rather than the 'Enigma" style been propagated today. From rdimola at evergreeninfo.net Thu Dec 27 15:45:12 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 27 Dec 2012 15:45:12 -0500 Subject: Learning LiveCode In-Reply-To: References: Message-ID: <001a01cde473$11b5ee00$3521ca00$@net> Nigel, Jacque about said it all, I just want to add. I was in the same boat as you a little over a year ago. That 4-6 week thing was about what it took me to get going. Looking at examples, some stick-to-it-ness and help from the fine people on this list was all it took. We talked about this at RR12. Level 1 stack/card. Level 2 messages. Level 3 you start to type some things you have never done but make sense to type(And they almost always work!). Level 4 Properties. Level 5 Behaviors. There are a lot of other things too such as datagrid, but this was the general list a few of use put together while having a pint one night. It start to click fast all of a sudden. GOOD LUCK! Ralph DiMola From richmondmathewson at gmail.com Thu Dec 27 15:55:32 2012 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 27 Dec 2012 22:55:32 +0200 Subject: Learning LiveCode In-Reply-To: <0D953F6A-FC61-4560-B404-845FE01B302B@me.com> References: <0A5ECB48-8D38-4AAA-B7DA-6EC185F5751E@amglighthouse.co.za> <50DC83E5.80008@gmail.com> <0CD94C94-3A8F-4BBF-86BB-DB9CA46BB77D@kagi.com> <0D953F6A-FC61-4560-B404-845FE01B302B@me.com> Message-ID: <50DCB5C4.1090608@gmail.com> On 12/27/2012 10:17 PM, Robert Sneidar wrote: > Dammit! Now it makes sense! Yeah; kinda spoils the mystique :( > > Bob > > > On Dec 27, 2012, at 9:44 AM, kee nethery wrote: > >> ZX81 >> >> CPU chip was made by Zilog (thus the "Z"). >> >> The first Sinclair used the Z80. The Z80 chip was "Z80" because it was binary compatible with the Intel 8080. The ZX81 was a Z80 CPU with more stuff added into it, thus, the ZX81 (presumably eXtra and 81 because that was the next number). >> >> Back in the day it made perfect sense to name it the Z80 and for the follow on to be the ZX81. >> >> Kee (old guy) >> >> PS: My first computer was a SouthWest Technical Products 6800 (aka SWTPC 6800) > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 27 16:03:38 2012 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 27 Dec 2012 23:03:38 +0200 Subject: Learning LiveCode In-Reply-To: <001a01cde473$11b5ee00$3521ca00$@net> References: <001a01cde473$11b5ee00$3521ca00$@net> Message-ID: <50DCB7AA.9070008@gmail.com> On 12/27/2012 10:45 PM, Ralph DiMola wrote: > Nigel, > > Jacque about said it all, I just want to add. I was in the same boat as you > a little over a year ago. That 4-6 week thing was about what it took me to > get going. Looking at examples, some stick-to-it-ness and help from the fine > people on this list was all it took. We talked about this at RR12. Level 1 > stack/card. Level 2 messages. Level 3 you start to type some things you have > never done but make sense to type(And they almost always work!). Level 4 > Properties. Level 5 Behaviors. There are a lot of other things too such as > datagrid, but this was the general list a few of use put together while > having a pint one night. It start to click fast all of a sudden. GOOD LUCK! Wow: all those Levels! I have always thought of an object as a bag of sweets; and each sweet has its own characteristics (stripy green-n-white?), and so on. There are so many ways of visualising everything and making sense of it: LEGO blocks, Cups full of beans, The Dewey Decimal system, and so on . . . that is, surely what makes Livecode so much more accessible than "real" programming languages (and, please note, I am using 'real' as an offensive term here); that it is so visually rich and lends itself very effectively to metaphorisation. Frankly, I tend to think of each object on my 'card' in my 'stack' as some sort of domestic appliance: The "vacuum cleaner" moves the numbers from "bucket" A to "bucket" B, and the "mincing machine" chews up the numbers in "bucket" B and spits them out into "bucket" C. Childish, non-abstract; but it works :) > > Ralph DiMola > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From slylabs13 at me.com Thu Dec 27 17:02:30 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Thu, 27 Dec 2012 14:02:30 -0800 Subject: Learning LiveCode In-Reply-To: <50DCB7AA.9070008@gmail.com> References: <001a01cde473$11b5ee00$3521ca00$@net> <50DCB7AA.9070008@gmail.com> Message-ID: <6F348166-0070-4D54-9E0B-5C3642F5D663@me.com> Especially after a few pints of that Scottish ale you drink! (Stripy green and white?? BARTENDER! I'll have what he's drinking!) Bob On Dec 27, 2012, at 1:03 PM, Richmond wrote: > Wow: all those Levels! > > I have always thought of an object as a bag of sweets; and each sweet has its own characteristics (stripy green-n-white?), and so on. > > There are so many ways of visualising everything and making sense of it: From mwieder at ahsoftware.net Thu Dec 27 17:09:47 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 27 Dec 2012 14:09:47 -0800 Subject: Learning LiveCode In-Reply-To: <50DCB7AA.9070008@gmail.com> References: <001a01cde473$11b5ee00$3521ca00$@net> <50DCB7AA.9070008@gmail.com> Message-ID: <138106741875.20121227140947@ahsoftware.net> Richmond- Thursday, December 27, 2012, 1:03:38 PM, you wrote: > Frankly, I tend to think of each object on my 'card' in my 'stack' as > some sort of domestic appliance: Note to self: do NOT follow Richmond down that rabbit hole... -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Thu Dec 27 17:10:24 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 27 Dec 2012 14:10:24 -0800 Subject: Learning LiveCode In-Reply-To: <6F348166-0070-4D54-9E0B-5C3642F5D663@me.com> References: <001a01cde473$11b5ee00$3521ca00$@net> <50DCB7AA.9070008@gmail.com> <6F348166-0070-4D54-9E0B-5C3642F5D663@me.com> Message-ID: <129106778734.20121227141024@ahsoftware.net> Bob- Thursday, December 27, 2012, 2:02:30 PM, you wrote: > (Stripy green and white?? BARTENDER! I'll have what he's drinking!) Note to self: do NOT follow Bob down that rabbit hole... -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Thu Dec 27 17:21:47 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 27 Dec 2012 14:21:47 -0800 Subject: Learning LiveCode In-Reply-To: <50DCA2CA.6000209@hyperactivesw.com> References: <0A5ECB48-8D38-4AAA-B7DA-6EC185F5751E@amglighthouse.co.za> <50DCA2CA.6000209@hyperactivesw.com> Message-ID: <0107462468.20121227142147@ahsoftware.net> Nigel- Thursday, December 27, 2012, 11:34:34 AM, Jacque wrote: > In 4-6 weeks you'll know what you're doing, I'm sure of it. Actually, I'll bet in 6 weeks you'll be paying this forward and helping the folks who have come on board since that time. I think of LiveCode as implementing pseudocode in the real world. In other language environments I try to follow good TDD steps: think through the pseudocode, write the tests, then write the code to make the tests pass. With LiveCode, by the time I've written down the pseudocode I've mostly got my application finished. -- -Mark Wieder mwieder at ahsoftware.net From richmondmathewson at gmail.com Thu Dec 27 17:26:07 2012 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 28 Dec 2012 00:26:07 +0200 Subject: Switch, Case and wild-cards? Message-ID: <50DCCAFF.40703@gmail.com> So there I am up to my thighs in a switch statement with a good 500 odd cases . . . . . . and, like treacle, I find myself getting bogged down . . . e.g: switch the text of fld "TEKST" case 1 --do something-- break case 2 --do something else-- break end switch is all very charming and straightforward. But, suppose I would like to include a CASE for ALL excluded cases (hope you are following me here): e.g: switch the text of fld "TEKST" case 1 --do something-- break case 2 --do something else-- break case "any other value in fld "TEKST" ' --run around babbling about purple bananas-- break end switch has anyone any idea how to effect this sort of situation WITHOUT using a bunch of nested IF . . . THEN statements instead??? Richmond. From richmondmathewson at gmail.com Thu Dec 27 17:26:53 2012 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 28 Dec 2012 00:26:53 +0200 Subject: Learning LiveCode In-Reply-To: <0107462468.20121227142147@ahsoftware.net> References: <0A5ECB48-8D38-4AAA-B7DA-6EC185F5751E@amglighthouse.co.za> <50DCA2CA.6000209@hyperactivesw.com> <0107462468.20121227142147@ahsoftware.net> Message-ID: <50DCCB2D.1080008@gmail.com> On 12/28/2012 12:21 AM, Mark Wieder wrote: > Nigel- > > Thursday, December 27, 2012, 11:34:34 AM, Jacque wrote: > >> In 4-6 weeks you'll know what you're doing, I'm sure of it. > Actually, I'll bet in 6 weeks you'll be paying this forward and > helping the folks who have come on board since that time. > > I think of LiveCode as implementing pseudocode in the real world. In > other language environments I try to follow good TDD steps: think > through the pseudocode, write the tests, then write the code to make > the tests pass. With LiveCode, by the time I've written down the > pseudocode I've mostly got my application finished. > Just jump in and get your feet wet! From kee at kagi.com Thu Dec 27 17:33:21 2012 From: kee at kagi.com (kee nethery) Date: Thu, 27 Dec 2012 14:33:21 -0800 Subject: Switch, Case and wild-cards? In-Reply-To: <50DCCAFF.40703@gmail.com> References: <50DCCAFF.40703@gmail.com> Message-ID: <16844634-CA08-4FE0-B79F-FE5E8C85432E@kagi.com> switch case 1 stuff break case 2 ? case 500 stuff break default stuff CASE for ALL excluded cases break end switch On Dec 27, 2012, at 2:26 PM, Richmond wrote: > So there I am up to my thighs in a switch statement with a good 500 odd cases . . . > > . . . and, like treacle, I find myself getting bogged down . . . > > e.g: > > switch the text of fld "TEKST" > case 1 > --do something-- > break > case 2 > --do something else-- > break > end switch > > is all very charming and straightforward. > > But, suppose I would like to include a CASE for ALL excluded cases (hope you are following me here): > > e.g: > > switch the text of fld "TEKST" > case 1 > --do something-- > break > case 2 > --do something else-- > break > case "any other value in fld "TEKST" ' > --run around babbling about purple bananas-- > break > end switch > > has anyone any idea how to effect this sort of situation WITHOUT using a bunch of nested IF . . . THEN statements instead??? > > 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 Dec 27 17:33:45 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 27 Dec 2012 16:33:45 -0600 Subject: Switch, Case and wild-cards? In-Reply-To: <50DCCAFF.40703@gmail.com> References: <50DCCAFF.40703@gmail.com> Message-ID: <50DCCCC9.7040009@hyperactivesw.com> On 12/27/12 4:26 PM, Richmond wrote: > > switch the text of fld "TEKST" > case 1 > --do something-- > break > case 2 > --do something else-- > break > case "any other value in fld "TEKST" ' > --run around babbling about purple bananas-- > break > end switch > > has anyone any idea how to effect this sort of situation WITHOUT using a > bunch of nested IF . . . THEN statements instead??? That's what the "default" statement is for: switch the text of fld "TEKST" case 1 --do something-- break case 2 --do something else-- break default -- everything else --run around babbling about purple bananas-- break end switch However, I don't know if it always works with purple bananas. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Thu Dec 27 17:37:44 2012 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 28 Dec 2012 00:37:44 +0200 Subject: Switch, Case and wild-cards? In-Reply-To: <50DCCCC9.7040009@hyperactivesw.com> References: <50DCCAFF.40703@gmail.com> <50DCCCC9.7040009@hyperactivesw.com> Message-ID: <50DCCDB8.1070401@gmail.com> On 12/28/2012 12:33 AM, J. Landman Gay wrote: > On 12/27/12 4:26 PM, Richmond wrote: >> >> switch the text of fld "TEKST" >> case 1 >> --do something-- >> break >> case 2 >> --do something else-- >> break >> case "any other value in fld "TEKST" ' >> --run around babbling about purple bananas-- >> break >> end switch >> >> has anyone any idea how to effect this sort of situation WITHOUT using a >> bunch of nested IF . . . THEN statements instead??? > > That's what the "default" statement is for: > > switch the text of fld "TEKST" > case 1 > --do something-- > break > case 2 > --do something else-- > break > default -- everything else > --run around babbling about purple bananas-- > break > end switch > > However, I don't know if it always works with purple bananas. > Thank you Kee Nethery and Jacque both: "I says tae her, Misses, quite plain tae be seen, The duck eggs are white an the drake eggs are green; How foolish one is, but how wise one may grow, By making enquiries at Alwinton show." From lvhdgc7 at gmail.com Thu Dec 27 17:42:05 2012 From: lvhdgc7 at gmail.com (tbodine) Date: Thu, 27 Dec 2012 14:42:05 -0800 (PST) Subject: Can LC remember location of IDE windows? In-Reply-To: <1356625887117-4658333.post@n4.nabble.com> References: <1356625887117-4658333.post@n4.nabble.com> Message-ID: <1356648125651-4658368.post@n4.nabble.com> Thanks Mark. -- Tom -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Can-LC-remember-location-of-IDE-windows-tp4658333p4658368.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at lcsql.com Thu Dec 27 17:44:14 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 27 Dec 2012 14:44:14 -0800 Subject: Switch, Case and wild-cards? In-Reply-To: <50DCCAFF.40703@gmail.com> References: <50DCCAFF.40703@gmail.com> Message-ID: Hi Richmond, Do you mean the "default" clause of the switch statement? Pete lcSQL Software On Thu, Dec 27, 2012 at 2:26 PM, Richmond wrote: > So there I am up to my thighs in a switch statement with a good 500 odd > cases . . . > > . . . and, like treacle, I find myself getting bogged down . . . > > e.g: > > switch the text of fld "TEKST" > case 1 > --do something-- > break > case 2 > --do something else-- > break > end switch > > is all very charming and straightforward. > > But, suppose I would like to include a CASE for ALL excluded cases (hope > you are following me here): > > e.g: > > switch the text of fld "TEKST" > case 1 > --do something-- > break > case 2 > --do something else-- > break > case "any other value in fld "TEKST" ' > --run around babbling about purple bananas-- > break > end switch > > has anyone any idea how to effect this sort of situation WITHOUT using a > bunch of nested IF . . . THEN statements instead??? > > 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 richmondmathewson at gmail.com Thu Dec 27 17:52:45 2012 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 28 Dec 2012 00:52:45 +0200 Subject: Switch, Case and wild-cards? In-Reply-To: References: <50DCCAFF.40703@gmail.com> Message-ID: <50DCD13D.3000807@gmail.com> On 12/28/2012 12:44 AM, Peter Haworth wrote: > Hi Richmond, > Do you mean the "default" clause of the switch statement? > Pete > lcSQL Software > > > Syne I did, Thanks. Richmond. From slylabs13 at me.com Thu Dec 27 17:59:14 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Thu, 27 Dec 2012 14:59:14 -0800 Subject: Switch, Case and wild-cards? In-Reply-To: <50DCCDB8.1070401@gmail.com> References: <50DCCAFF.40703@gmail.com> <50DCCCC9.7040009@hyperactivesw.com> <50DCCDB8.1070401@gmail.com> Message-ID: <5FF79F1F-2F26-4424-BB3A-B3E88CA8F5DC@me.com> Indeed. The sidewalk outside my back door is covered in "green drake eggs". Bob On Dec 27, 2012, at 2:37 PM, Richmond wrote: > Thank you Kee Nethery and Jacque both: > > "I says tae her, Misses, quite plain tae be seen, > The duck eggs are white an the drake eggs are green; > How foolish one is, but how wise one may grow, > By making enquiries at Alwinton show." From simon at asato-media.com Thu Dec 27 18:12:48 2012 From: simon at asato-media.com (As_Simon) Date: Thu, 27 Dec 2012 15:12:48 -0800 (PST) Subject: Can LC remember location of IDE windows? In-Reply-To: <1356625887117-4658333.post@n4.nabble.com> References: <1356625887117-4658333.post@n4.nabble.com> Message-ID: <1356649968347-4658372.post@n4.nabble.com> tbodine wrote > Hi, Coders. > Can LC open IDE windows like the App Browser, Dictionary and tool pallets > to their last-used location and size? I did not see this option under > PREFERENCES. > Thanks, > Tom Bodine When using a dual screen extended setup with the second monitor of higher resolution the IDE will not place controls in a minus location. errr... "put the screenRects" will show it. Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Can-LC-remember-location-of-IDE-windows-tp4658333p4658372.html Sent from the Revolution - User mailing list archive at Nabble.com. From pmbrig at gmail.com Thu Dec 27 18:18:16 2012 From: pmbrig at gmail.com (Peter M. Brigham) Date: Thu, 27 Dec 2012 18:18:16 -0500 Subject: Learning LiveCode In-Reply-To: <3FB3EAC4-422F-4CF2-BAB4-59B20E9675C5@me.com> References: <3FB3EAC4-422F-4CF2-BAB4-59B20E9675C5@me.com> Message-ID: <74E5AABD-7BEC-47B2-84E9-DDC6F9AC1CBB@gmail.com> On Dec 27, 2012, at 3:40 PM, Robert Sneidar wrote: > Concerning the message path and objects, it also helps me to think about where the highest object (the stack script being the lowest and last to receive a message, barring back scripts) where shared code can be accessed by the objects on a card or background that needs them. That is where I will put the command or function. (Some will say this the other way around, but I am thinking about a flow chart working top to bottom as the message progresses.) Interesting. I mostly visualize it the opposite way, with the buttons & fields on the lowest level and then the card, background, and stack scripts higher and higher, with the engine at the top catching everything not handled by scripts, and frontscripts before everything, and backscripts before the engine, and behaviors inserted in there sort of on the side. Either that or I see it as front to back, with buttons and fields in the front and the engine at the back. I suppose if you think in terms of flowcharts going from top to bottom makes sense, but somehow I got the other image in my mind at some point. Funny how we get these images in our heads and often don't even think of talking about them. For instance, I visualize the months of the year in a counterclockwise circle, with summer at the top and fall to the left, followed by winter then spring climbing up on the right towards summer again. Why, I don't know. Probably dates back to age 3 or 4, I guess. My take on the message path doesn't go back that far, however. :-) -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From jacque at hyperactivesw.com Thu Dec 27 18:25:35 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 27 Dec 2012 17:25:35 -0600 Subject: Learning LiveCode In-Reply-To: <74E5AABD-7BEC-47B2-84E9-DDC6F9AC1CBB@gmail.com> References: <3FB3EAC4-422F-4CF2-BAB4-59B20E9675C5@me.com> <74E5AABD-7BEC-47B2-84E9-DDC6F9AC1CBB@gmail.com> Message-ID: <50DCD8EF.6090408@hyperactivesw.com> On 12/27/12 5:18 PM, Peter M. Brigham wrote: > Interesting. I mostly visualize it the opposite way, with the buttons > & fields on the lowest level and then the card, background, and stack > scripts higher and higher, with the engine at the top catching > everything not handled by scripts, and frontscripts before > everything, and backscripts before the engine, and behaviors inserted > in there sort of on the side. Either that or I see it as front to > back, with buttons and fields in the front and the engine at the > back. I suppose if you think in terms of flowcharts going from top to > bottom makes sense, but somehow I got the other image in my mind at > some point. Probably because Danny Goodman diagrammed it that way in his HyperCard Handbook, with the engine at the top. I tend to think of it with the engine at the bottom, or more often, "back" and "front" with buttons at the front. Jerry Daniels called this the difference between "earth worshippers" and "sky worshippers". He was clever like that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sc at sahores-conseil.com Thu Dec 27 18:51:36 2012 From: sc at sahores-conseil.com (Pierre Sahores) Date: Fri, 28 Dec 2012 00:51:36 +0100 Subject: [ANN] Quartam PDF Library 1.1.5 Available In-Reply-To: <1356626253.51339.YahooMailNeo@web141104.mail.bf1.yahoo.com> References: <1356626253.51339.YahooMailNeo@web141104.mail.bf1.yahoo.com> Message-ID: Jan, Great stuff and i get in mind its existence. Kind regards, Pierre Le 27 d?c. 2012 ? 17:37, Jan Schenkel a ?crit : > This maintenance update to Quartam PDF Library adds long-awaited support for alpha channels in PNG images. Tip of the hat to Alejandro Tejada for his help with ZLib DEFLATE decompression. > > The cross-platform .zip archive can be downloaded at: > A web page with LiveCode Server / On-Rev demos is available at: > > Quartam PDF Library for LiveCode - version 1.1 introduced support for transformations, transparency and blendmodes, gradients, clipping, text box fitting, inserting pages, compression, experimental support for including EPS files, as well as support for LiveCode Server and On-Rev. It is released as open source under a dual license (GNU Affero General Public License / Commercial License). > > > 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) > > _______________________________________________ > use-livecode mailing list > use-livecode 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 mwieder at ahsoftware.net Thu Dec 27 21:04:44 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 27 Dec 2012 18:04:44 -0800 Subject: Mountain Lion strategy In-Reply-To: References: Message-ID: <74120839359.20121227180444@ahsoftware.net> ???? I'm realizing that I'm at the end of the line for my Snow Leopard installation. I managed to upgrade my Xcode version to 3.26, which is the minimum version that AppStudio will work with, but I can't find a download for any later Xcode version on Apple's developer site that will work with Snow Leopard. I find 4.x for Lion, etc, but nothing later for SL. I don't really want to upgrade to Mountain Lion, but I hear the bells tolling and I realize I need a more recent Xcode version to get anything done any more. So I'm thinking of putting Mountain Lion in a virtual box vm. I know Apple's licensing allows me to do this, and it seems like a good way to get around this situation, but can anyone tell me if I can just buy Mountain Lion and install it straight into a vm or do I need to install something else in the vm and then upgrade? Probably a dumb question, but I haven't been able to find the answer. Or does anyone have an alternative solution? -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Thu Dec 27 21:06:35 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 27 Dec 2012 18:06:35 -0800 Subject: Learning LiveCode In-Reply-To: <50DCD8EF.6090408@hyperactivesw.com> References: <3FB3EAC4-422F-4CF2-BAB4-59B20E9675C5@me.com> <74E5AABD-7BEC-47B2-84E9-DDC6F9AC1CBB@gmail.com> <50DCD8EF.6090408@hyperactivesw.com> Message-ID: <188120950468.20121227180635@ahsoftware.net> Jacque- Thursday, December 27, 2012, 3:25:35 PM, you wrote: > Jerry Daniels called this the difference between "earth worshippers" and > "sky worshippers". He was clever like that. I've always thought of it as front-to-back myself, which I guess takes me out of the worshipper categories. Excuse me, I'm off to make some graven images. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Thu Dec 27 21:11:00 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 27 Dec 2012 18:11:00 -0800 Subject: Switch, Case and wild-cards? In-Reply-To: <50DCCAFF.40703@gmail.com> References: <50DCCAFF.40703@gmail.com> Message-ID: <111121215468.20121227181100@ahsoftware.net> Richmond- Thursday, December 27, 2012, 2:26:07 PM, you wrote: > So there I am up to my thighs in a switch statement with a good 500 odd > cases . . . I was going to answer, but Jacque beat me to it. But wait... you've got a switch statement with 500 cases? That in itself would make me run around babbling about purple things. I'd bet there's a simpler (and probably faster - "the text of fld..." has to be evaluated at runtime, not compiled) way to accomplish what you're trying to do. Regex comes to mind, but I don't know what problem you're trying to solve. -- -Mark Wieder mwieder at ahsoftware.net From pepetoo at cox.net Thu Dec 27 21:15:27 2012 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Thu, 27 Dec 2012 18:15:27 -0800 Subject: Switch, Case and wild-cards? In-Reply-To: <111121215468.20121227181100@ahsoftware.net> References: <50DCCAFF.40703@gmail.com> <111121215468.20121227181100@ahsoftware.net> Message-ID: Mark: Richmond's just exaggerating as he is oft want to do! He can't help himself; it's in his stars. Joe Wilkins On Dec 27, 2012, at 6:11 PM, Mark Wieder wrote: > Richmond- > > Thursday, December 27, 2012, 2:26:07 PM, you wrote: > >> So there I am up to my thighs in a switch statement with a good 500 odd >> cases . . . > > I was going to answer, but Jacque beat me to it. > > But wait... you've got a switch statement with 500 cases? That in > itself would make me run around babbling about purple things. I'd bet > there's a simpler (and probably faster - "the text of fld..." has to > be evaluated at runtime, not compiled) way to accomplish what you're > trying to do. Regex comes to mind, but I don't know what problem > you're trying to solve. > > -- > -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 Thu Dec 27 21:17:17 2012 From: jhj at jhj.com (Jerry Jensen) Date: Thu, 27 Dec 2012 18:17:17 -0800 Subject: Mountain Lion strategy In-Reply-To: <74120839359.20121227180444@ahsoftware.net> References: <74120839359.20121227180444@ahsoftware.net> Message-ID: <65E5E07B-4653-426F-BC97-D90D3EE2AF01@jhj.com> So far, I've only installed ML via the mac app store. I've heard there is a way to snag a copy, after downloading and before installing, for use in another install. I think you will have to at least download it once on a machine capable of running it natively, in order to get a copy even if you don't install it right then. I could be wrong about all this. Is your hardware too old to run ML? I was scared to death of it for a long time, but its actually been fairly painless. I had no choice anyway because of those whom I support. A new computer came in with it, and off we went. .Jerry On Dec 27, 2012, at 6:04 PM, Mark Wieder wrote: > ???? > > I'm realizing that I'm at the end of the line for my Snow Leopard > installation. I managed to upgrade my Xcode version to 3.26, which is > the minimum version that AppStudio will work with, but I can't find a > download for any later Xcode version on Apple's developer site that > will work with Snow Leopard. I find 4.x for Lion, etc, but nothing > later for SL. > > I don't really want to upgrade to Mountain Lion, but I hear the bells > tolling and I realize I need a more recent Xcode version to get > anything done any more. So I'm thinking of putting Mountain Lion in a > virtual box vm. I know Apple's licensing allows me to do this, and it > seems like a good way to get around this situation, but can anyone > tell me if I can just buy Mountain Lion and install it straight into a > vm or do I need to install something else in the vm and then upgrade? > Probably a dumb question, but I haven't been able to find the answer. > > Or does anyone have an alternative solution? > > -- > -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 m.schonewille at economy-x-talk.com Thu Dec 27 21:19:38 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 28 Dec 2012 03:19:38 +0100 Subject: Mountain Lion strategy In-Reply-To: <74120839359.20121227180444@ahsoftware.net> References: <74120839359.20121227180444@ahsoftware.net> Message-ID: <26AC1419-E409-4E45-8C7E-8B67480A43B8@economy-x-talk.com> Mark, When I need to test anything newer than SL, I use a USB memory stick with the required OS to start my Mac with. A 32 GB drive is sufficient for testing. -- Kind regards, Mark Schonewille Economy-x-Talk Http://economy-x-talk.com Share the clipboard of your computer over a local network with Clipboard Link http://clipboardlink.economy-x-talk.com Op 28 dec. 2012 om 03:04 heeft Mark Wieder het volgende geschreven: > ???? > > I'm realizing that I'm at the end of the line for my Snow Leopard > installation. I managed to upgrade my Xcode version to 3.26, which is > the minimum version that AppStudio will work with, but I can't find a > download for any later Xcode version on Apple's developer site that > will work with Snow Leopard. I find 4.x for Lion, etc, but nothing > later for SL. > > I don't really want to upgrade to Mountain Lion, but I hear the bells > tolling and I realize I need a more recent Xcode version to get > anything done any more. So I'm thinking of putting Mountain Lion in a > virtual box vm. I know Apple's licensing allows me to do this, and it > seems like a good way to get around this situation, but can anyone > tell me if I can just buy Mountain Lion and install it straight into a > vm or do I need to install something else in the vm and then upgrade? > Probably a dumb question, but I haven't been able to find the answer. > > Or does anyone have an alternative solution? > > -- > -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 lvhdgc7 at gmail.com Thu Dec 27 21:40:22 2012 From: lvhdgc7 at gmail.com (tbodine) Date: Thu, 27 Dec 2012 18:40:22 -0800 (PST) Subject: Can LC remember location of IDE windows? In-Reply-To: <1356649968347-4658372.post@n4.nabble.com> References: <1356625887117-4658333.post@n4.nabble.com> <1356649968347-4658372.post@n4.nabble.com> Message-ID: <1356662422322-4658383.post@n4.nabble.com> I think that's it. Thanks, Simon. -- Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Can-LC-remember-location-of-IDE-windows-tp4658333p4658383.html Sent from the Revolution - User mailing list archive at Nabble.com. From stgoldberg at aol.com Thu Dec 27 21:41:22 2012 From: stgoldberg at aol.com (stgoldberg at aol.com) Date: Thu, 27 Dec 2012 21:41:22 -0500 (EST) Subject: Learning LiveCode In-Reply-To: References: Message-ID: <8CFB2BBF4DAE168-1B8C-5CA1F@webmail-m154.sysops.aol.com> I have written a book titled "Computer Programming Made Ridiculously Simple with LiveCode." It presently is in draft format consisting of two files, one of text (about 168 pgs) and one of 100 figures. It is a getting-started manual designed for the LiveCode beginner. I have not as yet published it, since I am waiting for the latest update of LiveCode in 2013, and there are certain areas, such as mobile programming, which still need work. If anyone is interested in looking at it in its present form, feel free to contact me at stgoldberg at aol.com, and I'll have a copy emailed to you. I look forward to your comments and suggestions. Best wishes to all for the New Year, Stephen Goldberg, M.D. President, Medmaster Publishing Co. www.medmaster.net PH: 800-335-3480 From jacque at hyperactivesw.com Thu Dec 27 22:15:13 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 27 Dec 2012 21:15:13 -0600 Subject: Learning LiveCode In-Reply-To: <188120950468.20121227180635@ahsoftware.net> References: <3FB3EAC4-422F-4CF2-BAB4-59B20E9675C5@me.com> <74E5AABD-7BEC-47B2-84E9-DDC6F9AC1CBB@gmail.com> <50DCD8EF.6090408@hyperactivesw.com> <188120950468.20121227180635@ahsoftware.net> Message-ID: <50DD0EC1.8060107@hyperactivesw.com> On 12/27/12 8:06 PM, Mark Wieder wrote: > Jacque- > > Thursday, December 27, 2012, 3:25:35 PM, you wrote: > >> Jerry Daniels called this the difference between "earth worshippers" and >> "sky worshippers". He was clever like that. > > I've always thought of it as front-to-back myself, which I guess takes > me out of the worshipper categories. > > Excuse me, I'm off to make some graven images. > I'll go with you. I think of it as front-to-back too now. It's just easier to explain. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sc at sahores-conseil.com Thu Dec 27 22:16:37 2012 From: sc at sahores-conseil.com (Pierre Sahores) Date: Fri, 28 Dec 2012 04:16:37 +0100 Subject: Mountain Lion strategy In-Reply-To: <26AC1419-E409-4E45-8C7E-8B67480A43B8@economy-x-talk.com> References: <74120839359.20121227180444@ahsoftware.net> <26AC1419-E409-4E45-8C7E-8B67480A43B8@economy-x-talk.com> Message-ID: Lion is not as bad to the end and any version of Xcode running on Mountain Lion runs under Lion too. My current dev MBP runs Lion without trouble against any of the dev tools i used under SL before. My second MBP runs ML but i did't need to use it at all in about dev tasks, for yet at least. Best, Pierre MBP 13 i5 2.4 Ghz, 4 Go RAM, XCode 4.4.1, XCode 4.5.2, android-sdk-macosx, JDK 1.6.0 Le 28 d?c. 2012 ? 03:19, Mark Schonewille a ?crit : > Mark, > > When I need to test anything newer than SL, I use a USB memory stick with the required OS to start my Mac with. A 32 GB drive is sufficient for testing. > > -- > Kind regards, > > Mark Schonewille > Economy-x-Talk > Http://economy-x-talk.com > > Share the clipboard of your computer over a local network with Clipboard Link http://clipboardlink.economy-x-talk.com > > > Op 28 dec. 2012 om 03:04 heeft Mark Wieder het volgende geschreven: > >> ???? >> >> I'm realizing that I'm at the end of the line for my Snow Leopard >> installation. I managed to upgrade my Xcode version to 3.26, which is >> the minimum version that AppStudio will work with, but I can't find a >> download for any later Xcode version on Apple's developer site that >> will work with Snow Leopard. I find 4.x for Lion, etc, but nothing >> later for SL. >> >> I don't really want to upgrade to Mountain Lion, but I hear the bells >> tolling and I realize I need a more recent Xcode version to get >> anything done any more. So I'm thinking of putting Mountain Lion in a >> virtual box vm. I know Apple's licensing allows me to do this, and it >> seems like a good way to get around this situation, but can anyone >> tell me if I can just buy Mountain Lion and install it straight into a >> vm or do I need to install something else in the vm and then upgrade? >> Probably a dumb question, but I haven't been able to find the answer. >> >> Or does anyone have an alternative solution? >> >> -- >> -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 -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From pete at lcsql.com Thu Dec 27 22:38:30 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 27 Dec 2012 19:38:30 -0800 Subject: Learning LiveCode In-Reply-To: <50DD0EC1.8060107@hyperactivesw.com> References: <3FB3EAC4-422F-4CF2-BAB4-59B20E9675C5@me.com> <74E5AABD-7BEC-47B2-84E9-DDC6F9AC1CBB@gmail.com> <50DCD8EF.6090408@hyperactivesw.com> <188120950468.20121227180635@ahsoftware.net> <50DD0EC1.8060107@hyperactivesw.com> Message-ID: Nah, it's left to right. On Dec 27, 2012 7:15 PM, "J. Landman Gay" wrote: > On 12/27/12 8:06 PM, Mark Wieder wrote: > >> Jacque- >> >> Thursday, December 27, 2012, 3:25:35 PM, you wrote: >> >> Jerry Daniels called this the difference between "earth worshippers" and >>> "sky worshippers". He was clever like that. >>> >> >> I've always thought of it as front-to-back myself, which I guess takes >> me out of the worshipper categories. >> >> Excuse me, I'm off to make some graven images. >> >> > I'll go with you. I think of it as front-to-back too now. It's just easier > to explain. > > -- > 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 Thu Dec 27 22:42:19 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 27 Dec 2012 19:42:19 -0800 Subject: Switch, Case and wild-cards? In-Reply-To: <111121215468.20121227181100@ahsoftware.net> References: <50DCCAFF.40703@gmail.com> <111121215468.20121227181100@ahsoftware.net> Message-ID: You mean regex doesn't make you run around babbling about purple things?! On Dec 27, 2012 6:11 PM, "Mark Wieder" wrote: > Richmond- > > Thursday, December 27, 2012, 2:26:07 PM, you wrote: > > > So there I am up to my thighs in a switch statement with a good 500 odd > > cases . . . > > I was going to answer, but Jacque beat me to it. > > But wait... you've got a switch statement with 500 cases? That in > itself would make me run around babbling about purple things. I'd bet > there's a simpler (and probably faster - "the text of fld..." has to > be evaluated at runtime, not compiled) way to accomplish what you're > trying to do. Regex comes to mind, but I don't know what problem > you're trying to solve. > > -- > -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 jacque at hyperactivesw.com Thu Dec 27 22:44:47 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 27 Dec 2012 21:44:47 -0600 Subject: Learning LiveCode In-Reply-To: References: <3FB3EAC4-422F-4CF2-BAB4-59B20E9675C5@me.com> <74E5AABD-7BEC-47B2-84E9-DDC6F9AC1CBB@gmail.com> <50DCD8EF.6090408@hyperactivesw.com> <188120950468.20121227180635@ahsoftware.net> <50DD0EC1.8060107@hyperactivesw.com> Message-ID: <50DD15AF.3020300@hyperactivesw.com> On 12/27/12 9:38 PM, Peter Haworth wrote: > Nah, it's left to right. Heretic. > On Dec 27, 2012 7:15 PM, "J. Landman Gay" wrote: > >> On 12/27/12 8:06 PM, Mark Wieder wrote: >> >>> Jacque- >>> >>> Thursday, December 27, 2012, 3:25:35 PM, you wrote: >>> >>> Jerry Daniels called this the difference between "earth worshippers" and >>>> "sky worshippers". He was clever like that. >>>> >>> >>> I've always thought of it as front-to-back myself, which I guess takes >>> me out of the worshipper categories. >>> >>> Excuse me, I'm off to make some graven images. >>> >>> >> I'll go with you. I think of it as front-to-back too now. It's just easier >> to explain. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Fri Dec 28 00:06:19 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 27 Dec 2012 21:06:19 -0800 Subject: Switch, Case and wild-cards? In-Reply-To: References: <50DCCAFF.40703@gmail.com> <111121215468.20121227181100@ahsoftware.net> Message-ID: You mean regex doesn't make you run around babbling about purple things?! On Dec 27, 2012 6:11 PM, "Mark Wieder" wrote: From mwieder at ahsoftware.net Fri Dec 28 01:19:23 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 27 Dec 2012 22:19:23 -0800 Subject: Switch, Case and wild-cards? In-Reply-To: References: <50DCCAFF.40703@gmail.com> <111121215468.20121227181100@ahsoftware.net> Message-ID: <131136118031.20121227221923@ahsoftware.net> Peter- Thursday, December 27, 2012, 9:06:19 PM, you wrote: >>> You mean regex doesn't make you run around babbling about purple things?! > You mean regex doesn't make you run around babbling about purple things?! ...I suppose the next step is to make it recursive... -- -Mark Wieder mwieder at ahsoftware.net From keith.clarke at clarkeandclarke.co.uk Fri Dec 28 05:34:23 2012 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 28 Dec 2012 10:34:23 +0000 Subject: Learning LiveCode In-Reply-To: <50DD15AF.3020300@hyperactivesw.com> References: <3FB3EAC4-422F-4CF2-BAB4-59B20E9675C5@me.com> <74E5AABD-7BEC-47B2-84E9-DDC6F9AC1CBB@gmail.com> <50DCD8EF.6090408@hyperactivesw.com> <188120950468.20121227180635@ahsoftware.net> <50DD0EC1.8060107@hyperactivesw.com> <50DD15AF.3020300@hyperactivesw.com> Message-ID: <91168054-4F00-4D11-902A-01F74D9DF1CF@clarkeandclarke.co.uk> I know I'm not alone in having great difficulties in getting experienced developers to withhold their judgement on LiveCode being anything more than hobby-ware. If RunRev want to bring developers across the great divide, there must be a bridge from where the masses reside to the brave new world? Is there any kind of 'Rosetta Stone' that relates traditional and OO development concepts to those of LiveCode? Are there any specific switcher's or evaluator's guides targeted at the main development communities, such as .Net, Java, C++, C#... Best, Keith.. On 28 Dec 2012, at 03:44, J. Landman Gay wrote: > On 12/27/12 9:38 PM, Peter Haworth wrote: >> Nah, it's left to right. > > Heretic. > >> On Dec 27, 2012 7:15 PM, "J. Landman Gay" wrote: >> >>> On 12/27/12 8:06 PM, Mark Wieder wrote: >>> >>>> Jacque- >>>> >>>> Thursday, December 27, 2012, 3:25:35 PM, you wrote: >>>> >>>> Jerry Daniels called this the difference between "earth worshippers" and >>>>> "sky worshippers". He was clever like that. >>>>> >>>> >>>> I've always thought of it as front-to-back myself, which I guess takes >>>> me out of the worshipper categories. >>>> >>>> Excuse me, I'm off to make some graven images. >>>> >>>> >>> I'll go with you. I think of it as front-to-back too now. It's just easier >>> to explain. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com > > > > -- > 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 Fri Dec 28 05:35:56 2012 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 28 Dec 2012 12:35:56 +0200 Subject: Switch, Case and wild-cards? In-Reply-To: References: <50DCCAFF.40703@gmail.com> <111121215468.20121227181100@ahsoftware.net> Message-ID: <50DD760C.9030206@gmail.com> On 12/28/2012 04:15 AM, Joe Lewis Wilkins wrote: > Mark: > > Richmond's just exaggerating as he is oft want to do! He can't help himself; it's in his stars. > > Joe Wilkins > > Scoff: http://andregarzia.on-rev.com/richmond/CASE.zip [This contains a PDF listing of the script of one object in my Devawriter Pro.] at your peril :) Frankly, I've never bothered to count how many case statements there are there; but, certainly > 500. Richmond. From richmondmathewson at gmail.com Fri Dec 28 06:01:53 2012 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 28 Dec 2012 13:01:53 +0200 Subject: Learning LiveCode In-Reply-To: <91168054-4F00-4D11-902A-01F74D9DF1CF@clarkeandclarke.co.uk> References: <3FB3EAC4-422F-4CF2-BAB4-59B20E9675C5@me.com> <74E5AABD-7BEC-47B2-84E9-DDC6F9AC1CBB@gmail.com> <50DCD8EF.6090408@hyperactivesw.com> <188120950468.20121227180635@ahsoftware.net> <50DD0EC1.8060107@hyperactivesw.com> <50DD15AF.3020300@hyperactivesw.com> <91168054-4F00-4D11-902A-01F74D9DF1CF@clarkeandclarke.co.uk> Message-ID: <50DD7C21.8070503@gmail.com> On 12/28/2012 12:34 PM, Keith Clarke wrote: > I know I'm not alone in having great difficulties in getting experienced developers to withhold their judgement on LiveCode being anything more than hobby-ware. 'hobby-ware'; well, yerrs, if all one is looking at are baby things for teaching positional adverbs to 8 year olds, [ but, here, I would have to point out that very many of the parents of kids I teach EFL to are prepared to pay over the odds because they see how quickly kids get their heads round grammatical concepts by using my 'hobby' programs ] but, definitely 'NO' if you look at some of the extremely complicated stuff that has been done with Livecode. Personally, having spent about 4 years on my "hobby" [well, according to my wife its an obsession] developing something fairly sophisticated all I would say is: 1. If anything is being developed 'for fun' it constitutes a hobby. 2. What is one person's hobby is another person's bread-winner. Now; were these 'experienced developers' [ Hey, here's a thought; I've been developing software of all sorts with Hypercard and its successors for 20 years, and software with kludgy 'traditional' languages from 1976 to 1992; wow; I must examine myself in the bathroom mirror more carefully; I seem to be an experienced developer.] to sit down and work with Livecode for more than the predictable, dismissive 15 minutes, they might change their minds; instead of spouting bigoted pronouncements based on their stereotypes of what constitutes a computer programming languages. This reminds me of some "prawn" who told me, when I was working near Ashkelon about 32 years ago, that Hebrew was incapable of expressing subtle nuances because it had a core vocabulary of only some 10,000 words; while English, on the other hand, having a lexicon of somewhere around 500,000 words, was far more sophisticated. While the figures about the vocab lists are reasonably accurate, the other statement is complete tosh. > > If RunRev want to bring developers across the great divide, there must be a bridge from where the masses reside to the brave new world? Well, apart from the several grammatical mistakes there . . . I wonder if that should not be addressed to the management of RunRev rather than the Use-List readers. > > Is there any kind of 'Rosetta Stone' that relates traditional and OO development concepts to those of LiveCode? "Traditional"; that's a bit odd, as Hypercard is ancient, and the concepts underlying Livecode were all there. Surely that makes the concepts in Livecode traditional as well. I remember being told that KiSwahili had 12 genders; a hopeless statement that only serves to mislead; all because some person who was saturated in Indo-European languages tried to impose Indo-European Grammatical categories on a non-Indo-European language; frankly only serving to obfuscate rather than clarify. KiSwahili may have 12 noun categories (and that I haven't checked), but they will certainly NOT 'genders' insofar as Indo-European genders are, historically related to the perceived sex of something. 'Traditional' programmers who are looking for magic stones (Urim and Thummim, perhaps?) had better get over that and, setting their prejudices to one side, get down and dig in to Livecode for a spot. > > Are there any specific switcher's or evaluator's guides targeted at the main development communities, such as .Net, Java, C++, C#... > Best, > Keith.. > > From pmbrig at gmail.com Fri Dec 28 09:32:49 2012 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 28 Dec 2012 09:32:49 -0500 Subject: Learning LiveCode In-Reply-To: <91168054-4F00-4D11-902A-01F74D9DF1CF@clarkeandclarke.co.uk> References: <3FB3EAC4-422F-4CF2-BAB4-59B20E9675C5@me.com> <74E5AABD-7BEC-47B2-84E9-DDC6F9AC1CBB@gmail.com> <50DCD8EF.6090408@hyperactivesw.com> <188120950468.20121227180635@ahsoftware.net> <50DD0EC1.8060107@hyperactivesw.com> <50DD15AF.3020300@hyperactivesw.com> <91168054-4F00-4D11-902A-01F74D9DF1CF@clarkeandclarke.co.uk> Message-ID: <199F0C3A-81C9-41E3-94C5-6E1C597BC340@gmail.com> I'm not sure about a bridge to help folks move from C++ (eg) to LC, but my favorite reference to get folks to take LC seriously is this site: http://tinyurl.com/cf35nrr An article entitled "NASA uses Revolution at Mission Control for Landsat 7 Satellite" When people hear that one of the NASA mapping satellite groups uses LC exclusively for all mission control processes, they sit up and take notice. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Dec 28, 2012, at 5:34 AM, Keith Clarke wrote: > I know I'm not alone in having great difficulties in getting experienced developers to withhold their judgement on LiveCode being anything more than hobby-ware. > > If RunRev want to bring developers across the great divide, there must be a bridge from where the masses reside to the brave new world? > > Is there any kind of 'Rosetta Stone' that relates traditional and OO development concepts to those of LiveCode? > > Are there any specific switcher's or evaluator's guides targeted at the main development communities, such as .Net, Java, C++, C#... > Best, > Keith.. > > On 28 Dec 2012, at 03:44, J. Landman Gay wrote: > >> On 12/27/12 9:38 PM, Peter Haworth wrote: >>> Nah, it's left to right. >> >> Heretic. >> >>> On Dec 27, 2012 7:15 PM, "J. Landman Gay" wrote: >>> >>>> On 12/27/12 8:06 PM, Mark Wieder wrote: >>>> >>>>> Jacque- >>>>> >>>>> Thursday, December 27, 2012, 3:25:35 PM, you wrote: >>>>> >>>>> Jerry Daniels called this the difference between "earth worshippers" and >>>>>> "sky worshippers". He was clever like that. >>>>>> >>>>> >>>>> I've always thought of it as front-to-back myself, which I guess takes >>>>> me out of the worshipper categories. >>>>> >>>>> Excuse me, I'm off to make some graven images. >>>>> >>>>> >>>> I'll go with you. I think of it as front-to-back too now. It's just easier >>>> to explain. >>>> >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >> >> >> >> -- >> 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 bonnmike at gmail.com Fri Dec 28 09:50:58 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 28 Dec 2012 07:50:58 -0700 Subject: Switch, Case and wild-cards? In-Reply-To: References: <50DCCAFF.40703@gmail.com> <111121215468.20121227181100@ahsoftware.net> Message-ID: regex IS the purple thing. On Thu, Dec 27, 2012 at 8:42 PM, Peter Haworth wrote: > You mean regex doesn't make you run around babbling about purple things?! > On Dec 27, 2012 6:11 PM, "Mark Wieder" wrote: > > > Richmond- > > > > Thursday, December 27, 2012, 2:26:07 PM, you wrote: > > > > > So there I am up to my thighs in a switch statement with a good 500 odd > > > cases . . . > > > > I was going to answer, but Jacque beat me to it. > > > > But wait... you've got a switch statement with 500 cases? That in > > itself would make me run around babbling about purple things. I'd bet > > there's a simpler (and probably faster - "the text of fld..." has to > > be evaluated at runtime, not compiled) way to accomplish what you're > > trying to do. Regex comes to mind, but I don't know what problem > > you're trying to solve. > > > > -- > > -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 keith.clarke at clarkeandclarke.co.uk Fri Dec 28 10:17:46 2012 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 28 Dec 2012 15:17:46 +0000 Subject: Any On-Rev users know how to restart Apache server on CPanel? Message-ID: <699969DC-1910-4461-B1D2-8822FF66F725@clarkeandclarke.co.uk> Hi folks, Sorry to post here as well as the On-Rev forum but I'm not sure about the traffic levels over there for this new post http://forums.on-rev.com/viewtopic.php?f=4&t=466 I'm looking to restart the Apache server on my On-Rev account, to recognise a .htaccess file I've added to enforce https:// URLs but I see no system or server management options in CPanel. I'm more used to Plesk / Virtuozzo than CPanel, so may be missing something obvious. Best, Keith.. From jvalle at 1234web.net Fri Dec 28 10:47:55 2012 From: jvalle at 1234web.net (Jose Valle) Date: Fri, 28 Dec 2012 16:47:55 +0100 Subject: Any On-Rev users know how to restart Apache server on CPanel? In-Reply-To: <699969DC-1910-4461-B1D2-8822FF66F725@clarkeandclarke.co.uk> References: <699969DC-1910-4461-B1D2-8822FF66F725@clarkeandclarke.co.uk> Message-ID: Hi am ever had to restart apache to it realize changes on .htaccess under cpanel. If we are talking for a certain domain name the nature of cpanel makes no sense. Imagine have to restart apache each time an user changes anything with hundreds or thousands of accounts in a server managed by cpanel. Maybe something its wrong, check apache log and If you think is not taking care of changes, replace .htaccess for a simple one and make simple tests. Good luck Jose El 28/12/2012, a las 16:17, Keith Clarke escribi?: > Hi folks, > Sorry to post here as well as the On-Rev forum but I'm not sure about the traffic levels over there for this new post http://forums.on-rev.com/viewtopic.php?f=4&t=466 > > I'm looking to restart the Apache server on my On-Rev account, to recognise a .htaccess file I've added to enforce https:// URLs but I see no system or server management options in CPanel. I'm more used to Plesk / Virtuozzo than CPanel, so may be missing something obvious. > Best, > Keith.. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at clarkeandclarke.co.uk Fri Dec 28 11:03:45 2012 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 28 Dec 2012 16:03:45 +0000 Subject: Any On-Rev users know how to restart Apache server on CPanel? In-Reply-To: References: <699969DC-1910-4461-B1D2-8822FF66F725@clarkeandclarke.co.uk> Message-ID: Thanks for the response Jose - good to know that .htaccess changes should be available in a CPanel environment without any server-side Apache restart. (On my Plesk-based VPS, I have full control over my instances of server-based services - and have to restart Apache for these things to work.) It turned out to be a browser caching issue - well, that and my SSL certificate having expired because RunRev didn't auto-update it when it was renewed last month! :-( Best, Keith.. On 28 Dec 2012, at 15:47, Jose Valle wrote: > Hi > > am ever had to restart apache to it realize changes on .htaccess under cpanel. > > If we are talking for a certain domain name the nature of cpanel makes no sense. Imagine have to restart apache each time an user changes anything with hundreds or thousands of accounts in a server managed by cpanel. > > Maybe something its wrong, check apache log and If you think is not taking care of changes, replace .htaccess for a simple one and make simple tests. > > Good luck > Jose > > El 28/12/2012, a las 16:17, Keith Clarke escribi?: > >> Hi folks, >> Sorry to post here as well as the On-Rev forum but I'm not sure about the traffic levels over there for this new post http://forums.on-rev.com/viewtopic.php?f=4&t=466 >> >> I'm looking to restart the Apache server on my On-Rev account, to recognise a .htaccess file I've added to enforce https:// URLs but I see no system or server management options in CPanel. I'm more used to Plesk / Virtuozzo than CPanel, so may be missing something obvious. >> Best, >> Keith.. From dochawk at gmail.com Fri Dec 28 11:09:53 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 28 Dec 2012 08:09:53 -0800 Subject: Switch, Case and wild-cards? In-Reply-To: References: <50DCCAFF.40703@gmail.com> <111121215468.20121227181100@ahsoftware.net> Message-ID: On Friday, December 28, 2012, Mike Bonner wrote: > regex IS the purple thing. > And for those who havent yet, you really don't *want* to see recursive purple . . . -- Richard E. Hawkins, Esq. (702) 508-8462 From davidocoker at gmail.com Fri Dec 28 11:15:36 2012 From: davidocoker at gmail.com (David C.) Date: Fri, 28 Dec 2012 10:15:36 -0600 Subject: Switch, Case and wild-cards? In-Reply-To: <50DD760C.9030206@gmail.com> References: <50DCCAFF.40703@gmail.com> <111121215468.20121227181100@ahsoftware.net> <50DD760C.9030206@gmail.com> Message-ID: > Frankly, I've never bothered to count how many case statements there are > there; but, certainly > 500. > > Richmond. Couldn't help myself... I copied the contents of the PDF file and ran it through some LC magic to determine that you in fact do have "only" 1420 case statements. Thank you Richmond! ...I think I'll never again whine or complain about the complexity and/or tedium of anything I might build with LC in the future. You've officially taken the meaning of those word to a whole new level... kind of like something out of Star Trek: "Going where none have gone before..." :-) Best regards, David C. From jrioux at benedictine.edu Fri Dec 28 11:33:23 2012 From: jrioux at benedictine.edu (Jean Rioux) Date: Fri, 28 Dec 2012 16:33:23 +0000 Subject: copying embedded pdfs Message-ID: <70B331345F2FA1459C36AAF14A89657F0B9FF8DC@BCEXCHANGE.benedictine.edu> I am designing a desktop app for Mac and Windows. I have set up a revBrowser object which loads a pdf for viewing. I would like to allow users to select and submit a portion of the contents as an answer to prompts which are provided to them. Apparently, revBrowserGet "selected" does not work for pdfs, so I've been looking for a workaround. sturgis (on the LiveCode Forum) supplied me with an applescript workaround for the Mac (it copies the selected contents of the pdf to the clipboard, at which point I can access it via code), but I haven't been able to do the same for Windows. Any suggestions? Thanks, Jean From pete at lcsql.com Fri Dec 28 12:26:29 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 28 Dec 2012 09:26:29 -0800 Subject: Switch, Case and wild-cards? In-Reply-To: <131136118031.20121227221923@ahsoftware.net> References: <50DCCAFF.40703@gmail.com> <111121215468.20121227181100@ahsoftware.net> <131136118031.20121227221923@ahsoftware.net> Message-ID: Seriously though, I have this feeling that matchText and matchChunk are potentially very useful tools if only I could understand the syntax of regular expressions. I've been to both web references mentioned in the dictionary and have a really hard time understanding them. Does anyone have any references to using regular expressions, preferable with lots of examples? Pete lcSQL Software On Thu, Dec 27, 2012 at 10:19 PM, Mark Wieder wrote: > Peter- > > Thursday, December 27, 2012, 9:06:19 PM, you wrote: > > >>> You mean regex doesn't make you run around babbling about purple > things?! > > You mean regex doesn't make you run around babbling about purple things?! > > ...I suppose the next step is to make it recursive... > > -- > -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 jacque at hyperactivesw.com Fri Dec 28 12:47:35 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 28 Dec 2012 11:47:35 -0600 Subject: Scrolling field question from Ton Message-ID: <50DDDB37.2090601@hyperactivesw.com> Ton Cardona is unable to post to the list for some reason, so I said I'd do it for him. I have never heard of or seen this problem, maybe someone else knows: "I have two scrolling fields in a stack. While the first works as it should, field 2 scrolls whenever the cursor is outside and above or beneath it." He has no mousemove handlers. Ideas? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephenREVOLUTION2 at barncard.com Fri Dec 28 12:50:19 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 28 Dec 2012 09:50:19 -0800 Subject: Mountain Lion strategy In-Reply-To: References: <74120839359.20121227180444@ahsoftware.net> <26AC1419-E409-4E45-8C7E-8B67480A43B8@economy-x-talk.com> Message-ID: I had to revert to *Lion* as Pro Tools HDX will stop playback with random errors with Mountain. Big hassle, but I must say *Lion is just fine* and runs all the cloud goodies. Fortunately I saved the installer package. Mark - let me know if I can help. On Thu, Dec 27, 2012 at 7:16 PM, Pierre Sahores wrote: > Lion is not as bad to the end and any version of Xcode running on Mountain > Lion runs under Lion too. My current dev MBP runs Lion without trouble > against any of the dev tools i used under SL before. My second MBP runs ML > but i did't need to use it at all in about dev tasks, for yet at least. > > Best, > > Pierre > > MBP 13 i5 2.4 Ghz, 4 Go RAM, XCode 4.4.1, XCode 4.5.2, android-sdk-macosx, > JDK 1.6.0 > > Le 28 d?c. 2012 ? 03:19, Mark Schonewille a ?crit : > > > Mark, > > > > When I need to test anything newer than SL, I use a USB memory stick > with the required OS to start my Mac with. A 32 GB drive is sufficient for > testing. > > > > -- > > Kind regards, > > > > Mark Schonewille > > Economy-x-Talk > > Http://economy-x-talk.com > > > > Share the clipboard of your computer over a local network with Clipboard > Link http://clipboardlink.economy-x-talk.com > > > > > > Op 28 dec. 2012 om 03:04 heeft Mark Wieder het > volgende geschreven: > > > >> ???? > >> > >> I'm realizing that I'm at the end of the line for my Snow Leopard > >> installation. I managed to upgrade my Xcode version to 3.26, which is > >> the minimum version that AppStudio will work with, but I can't find a > >> download for any later Xcode version on Apple's developer site that > >> will work with Snow Leopard. I find 4.x for Lion, etc, but nothing > >> later for SL. > >> > >> I don't really want to upgrade to Mountain Lion, but I hear the bells > >> tolling and I realize I need a more recent Xcode version to get > >> anything done any more. So I'm thinking of putting Mountain Lion in a > >> virtual box vm. I know Apple's licensing allows me to do this, and it > >> seems like a good way to get around this situation, but can anyone > >> tell me if I can just buy Mountain Lion and install it straight into a > >> vm or do I need to install something else in the vm and then upgrade? > >> Probably a dumb question, but I haven't been able to find the answer. > >> > >> Or does anyone have an alternative solution? > >> > >> -- > >> -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 > > -- > 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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From m.schonewille at economy-x-talk.com Fri Dec 28 12:53:03 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 28 Dec 2012 18:53:03 +0100 Subject: Scrolling field question from Ton In-Reply-To: <50DDDB37.2090601@hyperactivesw.com> References: <50DDDB37.2090601@hyperactivesw.com> Message-ID: <3A4361E7-7E57-4770-85CF-73EF6147061C@economy-x-talk.com> Hi, Does this also happen after closing and re-opening the stack window? If not, then it is because of an unhandled drag event. Probably, he accidentally dragged something into the field. LiveCode doesn't respond well to that. -- 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 28 dec 2012, at 18:47, J. Landman Gay wrote: > Ton Cardona is unable to post to the list for some reason, so I said I'd do it for him. I have never heard of or seen this problem, maybe someone else knows: > > "I have two scrolling fields in a stack. While the first works as it should, field 2 scrolls whenever the cursor is outside and above or beneath it." > > He has no mousemove handlers. Ideas? From pete at lcsql.com Fri Dec 28 13:07:47 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 28 Dec 2012 10:07:47 -0800 Subject: Switch, Case and wild-cards? In-Reply-To: <50DD760C.9030206@gmail.com> References: <50DCCAFF.40703@gmail.com> <111121215468.20121227181100@ahsoftware.net> <50DD760C.9030206@gmail.com> Message-ID: Wow! That's boatload of case statements, must be a nightmare to maintain! Interesting to think of how it might be simplified, at least in terms of organizing the code a little differently. Things like that are often a matter of personal style but a couple of ideas come to mind. It looks like the case statements fall into "families" based on the first character being tested. I might be tempted to change the case statements to only check the first character then call a different function to check the second character and return the results., e.g: case numtochar(2328) put check2328(numtochar(char 2 of fld "fBUILT")) into fld "fPROC" case (Disclaimer: my knowledge of unicode is next to zero so the "char 2 of fld fBUILT" might need to to be tweaked.) You could probably eliminate the first level case statements entirely with: get check" & numtochar(char 1 of field fBUILT) & "(" & numtochar(char 2 of field "fBUILT") & ")" put value(it,) into field "fPROC" (Same disclaimer applies) I also tend to favor table driven code so another alternative might be to create a custom property as a table of lines with each line having the two unicode characters as the first item and the character you want back as the second item. Then all you need is put the cUnicodeTable of me into tTable put item 2 of line lineOffset(fld "fBUILT",tTable) of tTable into fld "fPROC" You'd have to write some code to build the custom property (and maintain it) but it would reduce your code down to a couple of lines at run time. Could also be done with a flat file or even a simple database. Pete lcSQL Software On Fri, Dec 28, 2012 at 2:35 AM, Richmond wrote: > Frankly, I've never bothered to count how many case statements there are > there; but, certainly > 500. From charles at buchwald.ca Fri Dec 28 13:14:12 2012 From: charles at buchwald.ca (Charles E Buchwald) Date: Fri, 28 Dec 2012 12:14:12 -0600 Subject: Switch, Case and wild-cards? In-Reply-To: References: <50DCCAFF.40703@gmail.com> <111121215468.20121227181100@ahsoftware.net> <131136118031.20121227221923@ahsoftware.net> Message-ID: I learned to use regex by playing with the find and replace tools in BBEdit. (Now I use TextEdit, which also works well for this.) And as I've noted in the LC Dictionary, I find this reference useful: http://www.regextester.com/pregsyntax.html - Charles On 2012-12-28, at 11:26 AM, Peter Haworth wrote: > Seriously though, I have this feeling that matchText and matchChunk are > potentially very useful tools if only I could understand the syntax of > regular expressions. I've been to both web references mentioned in > the dictionary and have a really hard time understanding them. > > Does anyone have any references to using regular expressions, preferable > with lots of examples? > > Pete > lcSQL Software > > > On Thu, Dec 27, 2012 at 10:19 PM, Mark Wieder wrote: > >> Peter- >> >> Thursday, December 27, 2012, 9:06:19 PM, you wrote: >> >>>>> You mean regex doesn't make you run around babbling about purple >> things?! >>> You mean regex doesn't make you run around babbling about purple things?! >> >> ...I suppose the next step is to make it recursive... >> >> -- >> -Mark Wieder >> mwieder at ahsoftware.net >> -- Charles E. Buchwald http://buchwald.ca Vancouver / Mexico City / NYC Member of the 02 Global Network for Sustainable Design ? Connect on LinkedIn ? Follow me on Twitter From gcanyon at gmail.com Fri Dec 28 13:18:55 2012 From: gcanyon at gmail.com (Geoff Canyon) Date: Fri, 28 Dec 2012 12:18:55 -0600 Subject: Find vs. Offset In-Reply-To: <96C9D3F1-D18F-4F12-A938-B3A4ECD57578@gmail.com> References: <50CFA3EC.000003.04788@CALS_BIG_PC> <8CFAAC7B743574D-1A8-20015@webmail-m169.sysops.aol.com> <96AC2B8A-4E87-4FDE-B6F8-C5DFC672BACB@me.com> <96C9D3F1-D18F-4F12-A938-B3A4ECD57578@gmail.com> Message-ID: I'm a big advocate of clean functions, and I just want to point out that this is really nicely done: clear, compact, efficient, documented, and the function name itself perfectly describes what it does. Really nice! On Wed, Dec 19, 2012 at 4:33 PM, Peter M. Brigham wrote: > function offsets str,container,includeOverlaps > -- returns a comma-delimited list of all the offsets of str in container > -- third param is optional: > -- offsets("xx","xxxxxx") returns "1,3,5" not "1,2,3,4,5" > -- ie, by default, overlapping offsets are not counted > -- if you want overlapping offsets then pass "true" in 3rd param > -- returns 0 if str is not in container > if str is not in container then return 0 > if includeOverlaps = empty then put false into includeOverlaps > put empty into offsetList > put 0 into startPoint > repeat > put offset(str,container,startPoint) into thisOffset > if thisOffset = 0 then exit repeat > add thisOffset to startPoint > put startPoint & comma after offsetList > if not includeOverlaps then > add length(str)-1 to startPoint > end if > end repeat > return item 1 to -1 of offsetList -- delete trailing comma > end offsets > > From slylabs13 at me.com Fri Dec 28 13:31:22 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Fri, 28 Dec 2012 10:31:22 -0800 Subject: Switch, Case and wild-cards? In-Reply-To: References: <50DCCAFF.40703@gmail.com> <111121215468.20121227181100@ahsoftware.net> Message-ID: Has anyone actually seen any of Richmond's stars? ;-) Bob On Dec 27, 2012, at 6:15 PM, Joe Lewis Wilkins wrote: > Mark: > > Richmond's just exaggerating as he is oft want to do! He can't help himself; it's in his stars. > > Joe Wilkins From slylabs13 at me.com Fri Dec 28 13:38:29 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Fri, 28 Dec 2012 10:38:29 -0800 Subject: Switch, Case and wild-cards? In-Reply-To: References: <50DCCAFF.40703@gmail.com> <111121215468.20121227181100@ahsoftware.net> <131136118031.20121227221923@ahsoftware.net> Message-ID: That is useful Charles thanks. Every Livecoder should read up on Regex, if for no other reason, than to remember why we code in Livecode script. OHE MAWAYEE GAWAD! Looks like you have to live in Regex in order to become proficient at it. Simple Regex is about all I will ever employ. If I need a complex Regex statement, I will probably contact one of my web dev friends and have them make one up for me. Bob On Dec 28, 2012, at 10:14 AM, Charles E Buchwald wrote: > I learned to use regex by playing with the find and replace tools in BBEdit. (Now I use TextEdit, which also works well for this.) > And as I've noted in the LC Dictionary, I find this reference useful: > http://www.regextester.com/pregsyntax.html > > - Charles From pepetoo at cox.net Fri Dec 28 13:40:28 2012 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Fri, 28 Dec 2012 10:40:28 -0800 Subject: Switch, Case and wild-cards? In-Reply-To: References: <50DCCAFF.40703@gmail.com> <111121215468.20121227181100@ahsoftware.net> Message-ID: <585810AA-A9B0-477D-BA3E-296ED8458302@cox.net> I did his natal chart a couple of years ago. Pretty phenomenal in my opinion! Joe Wilkins On Dec 28, 2012, at 10:31 AM, Robert Sneidar wrote: > Has anyone actually seen any of Richmond's stars? ;-) > > Bob > > > On Dec 27, 2012, at 6:15 PM, Joe Lewis Wilkins wrote: > >> Mark: >> >> Richmond's just exaggerating as he is oft want to do! He can't help himself; it's in his stars. >> >> Joe Wilkins > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From slylabs13 at me.com Fri Dec 28 13:40:59 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Fri, 28 Dec 2012 10:40:59 -0800 Subject: Learning LiveCode In-Reply-To: <74E5AABD-7BEC-47B2-84E9-DDC6F9AC1CBB@gmail.com> References: <3FB3EAC4-422F-4CF2-BAB4-59B20E9675C5@me.com> <74E5AABD-7BEC-47B2-84E9-DDC6F9AC1CBB@gmail.com> Message-ID: <85F0AA84-7A3D-4CAA-B837-509EF3567FBB@me.com> I actually think the way you do Peter, messages rising up from the bottom to the top, but for someone new referencing a flow chart (I believe someone on the list made one up one time and posted it) I felt it might be better to put it in those terms. Bob On Dec 27, 2012, at 3:18 PM, Peter M. Brigham wrote: > On Dec 27, 2012, at 3:40 PM, Robert Sneidar wrote: > >> Concerning the message path and objects, it also helps me to think about where the highest object (the stack script being the lowest and last to receive a message, barring back scripts) where shared code can be accessed by the objects on a card or background that needs them. That is where I will put the command or function. (Some will say this the other way around, but I am thinking about a flow chart working top to bottom as the message progresses.) > > Interesting. I mostly visualize it the opposite way, with the buttons & fields on the lowest level and then the card, background, and stack scripts higher and higher, with the engine at the top catching everything not handled by scripts, and frontscripts before everything, and backscripts before the engine, and behaviors inserted in there sort of on the side. Either that or I see it as front to back, with buttons and fields in the front and the engine at the back. I suppose if you think in terms of flowcharts going from top to bottom makes sense, but somehow I got the other image in my mind at some point. > > Funny how we get these images in our heads and often don't even think of talking about them. For instance, I visualize the months of the year in a counterclockwise circle, with summer at the top and fall to the left, followed by winter then spring climbing up on the right towards summer again. Why, I don't know. Probably dates back to age 3 or 4, I guess. My take on the message path doesn't go back that far, however. :-) > > -- 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 slylabs13 at me.com Fri Dec 28 13:54:32 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Fri, 28 Dec 2012 10:54:32 -0800 Subject: Learning LiveCode In-Reply-To: <91168054-4F00-4D11-902A-01F74D9DF1CF@clarkeandclarke.co.uk> References: <3FB3EAC4-422F-4CF2-BAB4-59B20E9675C5@me.com> <74E5AABD-7BEC-47B2-84E9-DDC6F9AC1CBB@gmail.com> <50DCD8EF.6090408@hyperactivesw.com> <188120950468.20121227180635@ahsoftware.net> <50DD0EC1.8060107@hyperactivesw.com> <50DD15AF.3020300@hyperactivesw.com> <91168054-4F00-4D11-902A-01F74D9DF1CF@clarkeandclarke.co.uk> Message-ID: <33D28E2E-611F-48C1-96B6-EBAA927E194A@me.com> Hi Keith. Being in IT for as long as I have, I do not think the difficulty is in enticing anyone to try Livecode. The real difficulty as I see it is threefold. First, development companies are typically standardized around the big ones, C and it's variants, and Java. If you want a job as a developer, you MUST know one or all of these. Second, these systems have a multi-developer capability that Livecode simply does not have, although efforts have been made to achieve that end. Thirdly, developers have already spent a lot of money and time becoming certified and proficient in what languages they already know. To abandon all of that in favor of a system they do not know, or know the advantages AND the limitations of, is asking just a little too much of them. I can cite a fourth, though some may certainly disagree with me. Pride. People take pride in their own accomplishments, and have established a certain degree of credibility among their peers in the circles and systems they are familiar with. They look down on other systems as "less than adequate" and "not really serious" not because they KNOW all about Livecode and can make that judgement, but simply because they are proud of what they know and can do, and are not about to give that up without some kind of order of magnitude in advantage that you can show them. So how do we show them that order of magnitude of advantage? Simple. Develop professional looking applications in ridiculously short periods of time, and then demonstrate them. Yes, it is much simpler to code in Livescript (can I call it that?) but high end developers are not looking for simplicity. In fact, they would probably perceive simplicity of the language a detriment, assuming that it limited the developer in what they can do. I don't mean to be such a naysayer, but I do think it is important for us to quantify why it is so hard to get high level programmers to consider Livecode as an alternative, at least for some of their applications. Bob On Dec 28, 2012, at 2:34 AM, Keith Clarke wrote: > I know I'm not alone in having great difficulties in getting experienced developers to withhold their judgement on LiveCode being anything more than hobby-ware. > > If RunRev want to bring developers across the great divide, there must be a bridge from where the masses reside to the brave new world? > > Is there any kind of 'Rosetta Stone' that relates traditional and OO development concepts to those of LiveCode? > > Are there any specific switcher's or evaluator's guides targeted at the main development communities, such as .Net, Java, C++, C#... > Best, > Keith.. From slylabs13 at me.com Fri Dec 28 13:59:36 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Fri, 28 Dec 2012 10:59:36 -0800 Subject: Learning LiveCode In-Reply-To: <50DD7C21.8070503@gmail.com> References: <3FB3EAC4-422F-4CF2-BAB4-59B20E9675C5@me.com> <74E5AABD-7BEC-47B2-84E9-DDC6F9AC1CBB@gmail.com> <50DCD8EF.6090408@hyperactivesw.com> <188120950468.20121227180635@ahsoftware.net> <50DD0EC1.8060107@hyperactivesw.com> <50DD15AF.3020300@hyperactivesw.com> <91168054-4F00-4D11-902A-01F74D9DF1CF@clarkeandclarke.co.uk> <50DD7C21.8070503@gmail.com> Message-ID: <429C2CC1-2698-4467-90CE-F3F85F262C8D@me.com> I thought English was somewhere around the order of 38,000, not counting technicial terms? I wonder how many of the 500,000 words are actually variations or tenses of another? And then there is this: Published in 1604, Robert Cawdrey's A Table Alphabeticall contained roughly 2,500 words, each matched with a synonym or brief definition. See: The Earliest English Dictionaries. Bob On Dec 28, 2012, at 3:01 AM, Richmond wrote: > This reminds me of some "prawn" who told me, when I was working near Ashkelon about 32 years ago, that Hebrew was incapable > of expressing subtle nuances because it had a core vocabulary of only some 10,000 words; while English, on the other hand, having > a lexicon of somewhere around 500,000 words, was far more sophisticated. While the figures about the vocab lists are reasonably accurate, > the other statement is complete tosh. From pete at lcsql.com Fri Dec 28 14:05:32 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 28 Dec 2012 11:05:32 -0800 Subject: Switch, Case and wild-cards? In-Reply-To: References: <50DCCAFF.40703@gmail.com> <111121215468.20121227181100@ahsoftware.net> <131136118031.20121227221923@ahsoftware.net> Message-ID: I just found a great series of regexp training videos on the web at http://www.multiurl.com/ga/regexdummies. It uses another very useful interactive training site at http://www.gskinner.com/RegExr/. I'm already seeing things in my code I could have done much more simply using regular expressions. Im guessing that regular expressions are how items, lines, and words are implemented deep down inside LC. Pete lcSQL Software On Fri, Dec 28, 2012 at 10:14 AM, Charles E Buchwald wrote: > I learned to use regex by playing with the find and replace tools in > BBEdit. (Now I use TextEdit, which also works well for this.) > And as I've noted in the LC Dictionary, I find this reference useful: > http://www.regextester.com/pregsyntax.html > > - Charles > > On 2012-12-28, at 11:26 AM, Peter Haworth wrote: > > > Seriously though, I have this feeling that matchText and matchChunk are > > potentially very useful tools if only I could understand the syntax of > > regular expressions. I've been to both web references mentioned in > > the dictionary and have a really hard time understanding them. > > > > Does anyone have any references to using regular expressions, preferable > > with lots of examples? > > > > Pete > > lcSQL Software > > > > > > On Thu, Dec 27, 2012 at 10:19 PM, Mark Wieder >wrote: > > > >> Peter- > >> > >> Thursday, December 27, 2012, 9:06:19 PM, you wrote: > >> > >>>>> You mean regex doesn't make you run around babbling about purple > >> things?! > >>> You mean regex doesn't make you run around babbling about purple > things?! > >> > >> ...I suppose the next step is to make it recursive... > >> > >> -- > >> -Mark Wieder > >> mwieder at ahsoftware.net > >> > > > -- > Charles E. Buchwald > http://buchwald.ca > Vancouver / Mexico City / NYC > Member of the 02 Global Network for Sustainable Design ? Connect on > LinkedIn ? Follow me on Twitter > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Dec 28 14:19:49 2012 From: shawnlivecode at gmail.com (Shawn Blc) Date: Fri, 28 Dec 2012 13:19:49 -0600 Subject: Any On-Rev users know how to restart Apache server on CPanel? In-Reply-To: References: <699969DC-1910-4461-B1D2-8822FF66F725@clarkeandclarke.co.uk> Message-ID: You can only restart Apache and other services using the WebHost Manager (admin panel) in Cpanel. Regards, Shawn On Fri, Dec 28, 2012 at 10:03 AM, Keith Clarke < keith.clarke at clarkeandclarke.co.uk> wrote: > Thanks for the response Jose - good to know that .htaccess changes should > be available in a CPanel environment without any server-side Apache restart. > > (On my Plesk-based VPS, I have full control over my instances of > server-based services - and have to restart Apache for these things to > work.) > > It turned out to be a browser caching issue - well, that and my SSL > certificate having expired because RunRev didn't auto-update it when it was > renewed last month! :-( > Best, > Keith.. > > On 28 Dec 2012, at 15:47, Jose Valle wrote: > > > Hi > > > > am ever had to restart apache to it realize changes on .htaccess under > cpanel. > > > > If we are talking for a certain domain name the nature of cpanel makes > no sense. Imagine have to restart apache each time an user changes anything > with hundreds or thousands of accounts in a server managed by cpanel. > > > > Maybe something its wrong, check apache log and If you think is not > taking care of changes, replace .htaccess for a simple one and make simple > tests. > > > > Good luck > > Jose > > > > El 28/12/2012, a las 16:17, Keith Clarke escribi?: > > > >> Hi folks, > >> Sorry to post here as well as the On-Rev forum but I'm not sure about > the traffic levels over there for this new post > http://forums.on-rev.com/viewtopic.php?f=4&t=466 > >> > >> I'm looking to restart the Apache server on my On-Rev account, to > recognise a .htaccess file I've added to enforce https:// URLs but I see > no system or server management options in CPanel. I'm more used to Plesk / > Virtuozzo than CPanel, so may be missing something obvious. > >> Best, > >> Keith.. > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Dec 28 14:21:56 2012 From: shawnlivecode at gmail.com (Shawn Blc) Date: Fri, 28 Dec 2012 13:21:56 -0600 Subject: Any On-Rev users know how to restart Apache server on CPanel? In-Reply-To: References: <699969DC-1910-4461-B1D2-8822FF66F725@clarkeandclarke.co.uk> Message-ID: Also make sure you're permissions are correct on your .htaccess file. In most cases you shouldn't have to restart Apache. On Fri, Dec 28, 2012 at 1:19 PM, Shawn Blc wrote: > You can only restart Apache and other services using the WebHost Manager > (admin panel) in Cpanel. > > > Regards, > > Shawn > > > > On Fri, Dec 28, 2012 at 10:03 AM, Keith Clarke < > keith.clarke at clarkeandclarke.co.uk> wrote: > >> Thanks for the response Jose - good to know that .htaccess changes should >> be available in a CPanel environment without any server-side Apache restart. >> >> (On my Plesk-based VPS, I have full control over my instances of >> server-based services - and have to restart Apache for these things to >> work.) >> >> It turned out to be a browser caching issue - well, that and my SSL >> certificate having expired because RunRev didn't auto-update it when it was >> renewed last month! :-( >> Best, >> Keith.. >> >> On 28 Dec 2012, at 15:47, Jose Valle wrote: >> >> > Hi >> > >> > am ever had to restart apache to it realize changes on .htaccess under >> cpanel. >> > >> > If we are talking for a certain domain name the nature of cpanel makes >> no sense. Imagine have to restart apache each time an user changes anything >> with hundreds or thousands of accounts in a server managed by cpanel. >> > >> > Maybe something its wrong, check apache log and If you think is not >> taking care of changes, replace .htaccess for a simple one and make simple >> tests. >> > >> > Good luck >> > Jose >> > >> > El 28/12/2012, a las 16:17, Keith Clarke escribi?: >> > >> >> Hi folks, >> >> Sorry to post here as well as the On-Rev forum but I'm not sure about >> the traffic levels over there for this new post >> http://forums.on-rev.com/viewtopic.php?f=4&t=466 >> >> >> >> I'm looking to restart the Apache server on my On-Rev account, to >> recognise a .htaccess file I've added to enforce https:// URLs but I see >> no system or server management options in CPanel. I'm more used to Plesk / >> Virtuozzo than CPanel, so may be missing something obvious. >> >> Best, >> >> Keith.. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 Fri Dec 28 14:22:17 2012 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 28 Dec 2012 14:22:17 -0500 Subject: Find vs. Offset In-Reply-To: References: <50CFA3EC.000003.04788@CALS_BIG_PC> <8CFAAC7B743574D-1A8-20015@webmail-m169.sysops.aol.com> <96AC2B8A-4E87-4FDE-B6F8-C5DFC672BACB@me.com> <96C9D3F1-D18F-4F12-A938-B3A4ECD57578@gmail.com> Message-ID: Thank you kindly. Mind you, it didn't start off clean. But that's the nice thing about LC, it's so easy to clean things up after the basic problem is solved. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Dec 28, 2012, at 1:18 PM, Geoff Canyon wrote: > I'm a big advocate of clean functions, and I just want to point out that > this is really nicely done: clear, compact, efficient, documented, and the > function name itself perfectly describes what it does. > > Really nice! > > On Wed, Dec 19, 2012 at 4:33 PM, Peter M. Brigham wrote: > >> function offsets str,container,includeOverlaps >> -- returns a comma-delimited list of all the offsets of str in container >> -- third param is optional: >> -- offsets("xx","xxxxxx") returns "1,3,5" not "1,2,3,4,5" >> -- ie, by default, overlapping offsets are not counted >> -- if you want overlapping offsets then pass "true" in 3rd param >> -- returns 0 if str is not in container >> if str is not in container then return 0 >> if includeOverlaps = empty then put false into includeOverlaps >> put empty into offsetList >> put 0 into startPoint >> repeat >> put offset(str,container,startPoint) into thisOffset >> if thisOffset = 0 then exit repeat >> add thisOffset to startPoint >> put startPoint & comma after offsetList >> if not includeOverlaps then >> add length(str)-1 to startPoint >> end if >> end repeat >> return item 1 to -1 of offsetList -- delete trailing comma >> end offsets >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Dec 28 14:25:08 2012 From: simplsol at aol.com (Paul Looney) Date: Fri, 28 Dec 2012 11:25:08 -0800 Subject: Scrolling field question from Ton In-Reply-To: <50DDDB37.2090601@hyperactivesw.com> References: <50DDDB37.2090601@hyperactivesw.com> Message-ID: <4CB9340B-1A5E-4358-981B-1629BE18550F@aol.com> Jacque, I do not have an answer but I have seen this behavior. The field scrolls as if the pointer was inside it but the pointer is outside the field - possibly even outside the stack window. The behavior is intermittent. Have not noticed it for a long time now. Paul Looney On Dec 28, 2012, at 9:47 AM, J. Landman Gay wrote: > Ton Cardona is unable to post to the list for some reason, so I said I'd do it for him. I have never heard of or seen this problem, maybe someone else knows: > > "I have two scrolling fields in a stack. While the first works as it should, field 2 scrolls whenever the cursor is outside and above or beneath it." > > He has no mousemove handlers. Ideas? > > -- > 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 Fri Dec 28 14:32:19 2012 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 28 Dec 2012 14:32:19 -0500 Subject: Learning LiveCode In-Reply-To: <429C2CC1-2698-4467-90CE-F3F85F262C8D@me.com> References: <3FB3EAC4-422F-4CF2-BAB4-59B20E9675C5@me.com> <74E5AABD-7BEC-47B2-84E9-DDC6F9AC1CBB@gmail.com> <50DCD8EF.6090408@hyperactivesw.com> <188120950468.20121227180635@ahsoftware.net> <50DD0EC1.8060107@hyperactivesw.com> <50DD15AF.3020300@hyperactivesw.com> <91168054-4F00-4D11-902A-01F74D9DF1CF@clarkeandclarke.co.uk> <50DD7C21.8070503@gmail.com> <429C2CC1-2698-4467-90CE-F3F85F262C8D@me.com> Message-ID: <13BF2331-9FF3-4B17-A62E-79E69B953DAC@gmail.com> From OxfordDictionaries.com: **** How many words are there in the English language? There is no single sensible answer to this question. It's impossible to count the number of words in a language, because it's so hard to decide what actually counts as a word. Is dog one word, or two (a noun meaning 'a kind of animal', and a verb meaning 'to follow persistently')? If we count it as two, then do we count inflections separately too (e.g. dogs = plural noun, dogs = present tense of the verb). Is dog-tired a word, or just two other words joined together? Is hot dog really two words, since it might also be written as hot-dog or even hotdog? It's also difficult to decide what counts as 'English'. What about medical and scientific terms? Latin words used in law, French words used in cooking, German words used in academic writing, Japanese words used in martial arts? Do you count Scots dialect? Teenage slang? Abbreviations? The Second Edition of the 20-volume Oxford English Dictionary contains full entries for 171,476 words in current use, and 47,156 obsolete words. To this may be added around 9,500 derivative words included as subentries. Over half of these words are nouns, about a quarter adjectives, and about a seventh verbs; the rest is made up of exclamations, conjunctions, prepositions, suffixes, etc. And these figures don't take account of entries with senses for different word classes (such as noun and adjective). This suggests that there are, at the very least, a quarter of a million distinct English words, excluding inflections, and words from technical and regional vocabulary not covered by the OED, or words not yet added to the published dictionary, of which perhaps 20 per cent are no longer in current use. If distinct senses were counted, the total would probably approach three quarters of a million. **** How many valid LC words (defined terms) are there? Easier to pin down, presumably?. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Dec 28, 2012, at 1:59 PM, Robert Sneidar wrote: > I thought English was somewhere around the order of 38,000, not counting technicial terms? I wonder how many of the 500,000 words are actually variations or tenses of another? And then there is this: Published in 1604, Robert Cawdrey's A Table Alphabeticall contained roughly 2,500 words, each matched with a synonym or brief definition. See: The Earliest English Dictionaries. > > Bob > > > On Dec 28, 2012, at 3:01 AM, Richmond wrote: > >> This reminds me of some "prawn" who told me, when I was working near Ashkelon about 32 years ago, that Hebrew was incapable >> of expressing subtle nuances because it had a core vocabulary of only some 10,000 words; while English, on the other hand, having >> a lexicon of somewhere around 500,000 words, was far more sophisticated. While the figures about the vocab lists are reasonably accurate, >> the other statement is complete tosh. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at clarkeandclarke.co.uk Fri Dec 28 14:33:17 2012 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 28 Dec 2012 19:33:17 +0000 Subject: Any On-Rev users know how to restart Apache server on CPanel? In-Reply-To: References: <699969DC-1910-4461-B1D2-8822FF66F725@clarkeandclarke.co.uk> Message-ID: <4B20C3C2-F73C-4C4D-A75E-5AC231432A1F@clarkeandclarke.co.uk> Thanks Shawn, though it seems that RunRev have disabled WHM and terminal/SSH access on On-Rev. Best, Keith.. On 28 Dec 2012, at 19:21, Shawn Blc wrote: > Also make sure you're permissions are correct on your .htaccess file. In > most cases you shouldn't have to restart Apache. > > On Fri, Dec 28, 2012 at 1:19 PM, Shawn Blc wrote: > >> You can only restart Apache and other services using the WebHost Manager >> (admin panel) in Cpanel. >> >> Regards, >> >> Shawn >> >> On Fri, Dec 28, 2012 at 10:03 AM, Keith Clarke < >> keith.clarke at clarkeandclarke.co.uk> wrote: >> >>> Thanks for the response Jose - good to know that .htaccess changes should >>> be available in a CPanel environment without any server-side Apache restart. >>> >>> (On my Plesk-based VPS, I have full control over my instances of >>> server-based services - and have to restart Apache for these things to >>> work.) >>> >>> It turned out to be a browser caching issue - well, that and my SSL >>> certificate having expired because RunRev didn't auto-update it when it was >>> renewed last month! :-( >>> Best, >>> Keith.. >>> >>> On 28 Dec 2012, at 15:47, Jose Valle wrote: >>> >>>> Hi >>>> >>>> am ever had to restart apache to it realize changes on .htaccess under >>> cpanel. >>>> >>>> If we are talking for a certain domain name the nature of cpanel makes >>> no sense. Imagine have to restart apache each time an user changes anything >>> with hundreds or thousands of accounts in a server managed by cpanel. >>>> >>>> Maybe something its wrong, check apache log and If you think is not >>> taking care of changes, replace .htaccess for a simple one and make simple >>> tests. >>>> >>>> Good luck >>>> Jose >>>> >>>> El 28/12/2012, a las 16:17, Keith Clarke escribi?: >>>> >>>>> Hi folks, >>>>> Sorry to post here as well as the On-Rev forum but I'm not sure about >>> the traffic levels over there for this new post >>> http://forums.on-rev.com/viewtopic.php?f=4&t=466 >>>>> >>>>> I'm looking to restart the Apache server on my On-Rev account, to >>> recognise a .htaccess file I've added to enforce https:// URLs but I see >>> no system or server management options in CPanel. I'm more used to Plesk / >>> Virtuozzo than CPanel, so may be missing something obvious. >>>>> Best, >>>>> Keith.. > From pmbrig at gmail.com Fri Dec 28 14:36:03 2012 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 28 Dec 2012 14:36:03 -0500 Subject: Switch, Case and wild-cards? In-Reply-To: References: <50DCCAFF.40703@gmail.com> <111121215468.20121227181100@ahsoftware.net> <131136118031.20121227221923@ahsoftware.net> Message-ID: On Dec 28, 2012, at 2:05 PM, Peter Haworth wrote: > Im guessing that regular expressions are how > items, lines, and words are implemented deep down inside LC. I seem to remember from previous postings on this list that regex expressions are actually much slower than the LC-native offset functions when munching on large text files. Somebody correct me if I'm wrong, but if this is true, I doubt that the engine uses them at all. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From bonnmike at gmail.com Fri Dec 28 16:07:51 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 28 Dec 2012 14:07:51 -0700 Subject: Any On-Rev users know how to restart Apache server on CPanel? In-Reply-To: <4B20C3C2-F73C-4C4D-A75E-5AC231432A1F@clarkeandclarke.co.uk> References: <699969DC-1910-4461-B1D2-8822FF66F725@clarkeandclarke.co.uk> <4B20C3C2-F73C-4C4D-A75E-5AC231432A1F@clarkeandclarke.co.uk> Message-ID: Permissions can be checked/changed in the file manager, but are most likely umasked to the correct permissions by default. On Fri, Dec 28, 2012 at 12:33 PM, Keith Clarke < keith.clarke at clarkeandclarke.co.uk> wrote: > Thanks Shawn, though it seems that RunRev have disabled WHM and > terminal/SSH access on On-Rev. > Best, > Keith.. > > On 28 Dec 2012, at 19:21, Shawn Blc wrote: > > > Also make sure you're permissions are correct on your .htaccess file. In > > most cases you shouldn't have to restart Apache. > > > > On Fri, Dec 28, 2012 at 1:19 PM, Shawn Blc > wrote: > > > >> You can only restart Apache and other services using the WebHost Manager > >> (admin panel) in Cpanel. > >> > >> Regards, > >> > >> Shawn > >> > >> On Fri, Dec 28, 2012 at 10:03 AM, Keith Clarke < > >> keith.clarke at clarkeandclarke.co.uk> wrote: > >> > >>> Thanks for the response Jose - good to know that .htaccess changes > should > >>> be available in a CPanel environment without any server-side Apache > restart. > >>> > >>> (On my Plesk-based VPS, I have full control over my instances of > >>> server-based services - and have to restart Apache for these things to > >>> work.) > >>> > >>> It turned out to be a browser caching issue - well, that and my SSL > >>> certificate having expired because RunRev didn't auto-update it when > it was > >>> renewed last month! :-( > >>> Best, > >>> Keith.. > >>> > >>> On 28 Dec 2012, at 15:47, Jose Valle wrote: > >>> > >>>> Hi > >>>> > >>>> am ever had to restart apache to it realize changes on .htaccess under > >>> cpanel. > >>>> > >>>> If we are talking for a certain domain name the nature of cpanel makes > >>> no sense. Imagine have to restart apache each time an user changes > anything > >>> with hundreds or thousands of accounts in a server managed by cpanel. > >>>> > >>>> Maybe something its wrong, check apache log and If you think is not > >>> taking care of changes, replace .htaccess for a simple one and make > simple > >>> tests. > >>>> > >>>> Good luck > >>>> Jose > >>>> > >>>> El 28/12/2012, a las 16:17, Keith Clarke escribi?: > >>>> > >>>>> Hi folks, > >>>>> Sorry to post here as well as the On-Rev forum but I'm not sure about > >>> the traffic levels over there for this new post > >>> http://forums.on-rev.com/viewtopic.php?f=4&t=466 > >>>>> > >>>>> I'm looking to restart the Apache server on my On-Rev account, to > >>> recognise a .htaccess file I've added to enforce https:// URLs but I > see > >>> no system or server management options in CPanel. I'm more used to > Plesk / > >>> Virtuozzo than CPanel, so may be missing something obvious. > >>>>> Best, > >>>>> Keith.. > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Dec 28 16:47:48 2012 From: th.douez at gmail.com (Thierry Douez) Date: Fri, 28 Dec 2012 22:47:48 +0100 Subject: Switch, Case and wild-cards? In-Reply-To: References: <50DCCAFF.40703@gmail.com> <111121215468.20121227181100@ahsoftware.net> <131136118031.20121227221923@ahsoftware.net> Message-ID: Hi Richmond, In between the End of the World and the End of the Year and in memories about you seeing stars with Georges and David in our pint of beer in a late evening at Edinburgh.... Here are your 1420 cases statements ready to be put in any containers.... I've done this for fun in 15 minutes with regex :) ps: can't post the whole stuff , is all about 100Kb, 15kb is accepted here :( Drop me an email if you are interested. Happy new year, Thierry 1 2339 2325 2 2339 2326 3 2339 2327 4 2339 2328 5 2339 2329 6 2339 2330 7 2339 2331 8 2339 2332 9 2339 2333 10 2339 2334 11 2339 2335 .... 739 2328 2344 740 2327 2344 2357 741 2330 2331 2354 ..... 748 2325 2359 2339 2351 749 2325 2359 2350 750 2325 2359 2350 2351 751 2325 2359 2351 ..... 884 2329 2327 2342 2351 885 2329 2326 2351 886 2329 2327 2342 2357 887 2330 888 2330 2352 889 2330 2330 890 2330 2334 891 2330 2334 2351 892 2330 2330 2351 893 2330 2331 894 2330 2331 2352 895 2330 2331 2350 896 2330 2331 2351 897 2330 2331 2357 .... 1082 2342 2342 2357 2351 1083 2342 2343 ... 1417 2361 2357 2351 1418 2355 1419 2355 2352 1420 2355 2344 From james at thehales.id.au Fri Dec 28 17:07:27 2012 From: james at thehales.id.au (James Hale) Date: Sat, 29 Dec 2012 09:07:27 +1100 Subject: Help with Regex (was Re: Switch, Case and wild-cards?) Message-ID: <376EE793-C74A-4450-8DBA-14628893FACA@thehales.id.au> Pete asked: "Does anyone have any references to using regular expressions, preferable with lots of examples?" If you are using a Mac i suggest getting yourself a copy of BBedit or its free sibling "TextWrangler". I have never been much for using terminal commands and the like as I always preferred the Mac GUI so when it came to text manipulation I sought out easier tools. Nisus was my first taste of using regex with its token substitutions but when it when in to abeyance for a while I turned to BBedit. It allows the use of grep ( a command line regex tool) in its find and replace dialog and also does find and replace across multiple files. It's manual provides a good introduction to what you can do with regex, it is blindingly fast and a really easily way to try out different expressions. I found it invaluable when I wrote a web-scrapping app to provide a back end to my DVD collection many years ago. I still have times when I need to do a lot of text manipulation and will inevitably turn to BBedit's regex prowess to do the heavy lifting. As for references, there are lots on the web and O'Reilly have a couple of good books. But BBEDIT (or TextWrangler) will provide an easily accessible interface into using regex and trying out different things. James From richmondmathewson at gmail.com Fri Dec 28 17:24:28 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 29 Dec 2012 00:24:28 +0200 Subject: Switch, Case and wild-cards? In-Reply-To: References: <50DCCAFF.40703@gmail.com> <111121215468.20121227181100@ahsoftware.net> <131136118031.20121227221923@ahsoftware.net> Message-ID: <50DE1C1C.7020608@gmail.com> Hey, happy campers; you may think my 1420 case statements are a bit extreme; and when you refelct that variants on them are reduplicated across some 500 objects my phrase about "seeing purple bananas" may seem more reasonable :) HOWEVER, right now I have a problem that has been stumping me for a bit and I don't really quite know why. It goes like this: I have a string of characters in a language that go something like this: ZaXbbdsfZvfghXaasn now I have to "translate" those into a different type of representation; and the 3 "rubs" are these: 1. everytime I encounter a Z it must be moved after the next symbol's representation in the translation, 2. everytime I encounter an X it must be moved before the preceding symbol's representation in the translation, 3. some of the symbols represented in the original string are represented in translation by a single symbol, some by double symbols, and a few by triple symbols. I started by nipping off the first char in the starting string . . . and have spent a long and fruitless day. I would be extremely grateful with something that I feel is probably quite easy if I could just get my brains unknotted. Richmond. From bonnmike at gmail.com Fri Dec 28 17:48:21 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 28 Dec 2012 15:48:21 -0700 Subject: Help with Regex (was Re: Switch, Case and wild-cards?) In-Reply-To: <376EE793-C74A-4450-8DBA-14628893FACA@thehales.id.au> References: <376EE793-C74A-4450-8DBA-14628893FACA@thehales.id.au> Message-ID: The regex builder plugin in LC is pretty handy too and can help you work things out in lc itself. You can also be pretty sure of it works in the builder, it will work in LC (though in all things, YMMV) On Fri, Dec 28, 2012 at 3:07 PM, James Hale wrote: > Pete asked: > "Does anyone have any references to using regular expressions, preferable > with lots of examples?" > > If you are using a Mac i suggest getting yourself a copy of BBedit or its > free sibling "TextWrangler". > I have never been much for using terminal commands and the like as I > always preferred the Mac GUI so when it came to text manipulation I sought > out easier tools. Nisus was my first taste of using regex with its token > substitutions but when it when in to abeyance for a while I turned to > BBedit. > It allows the use of grep ( a command line regex tool) in its find and > replace dialog and also does find and replace across multiple files. It's > manual provides a good introduction to what you can do with regex, it is > blindingly fast and a really easily way to try out different expressions. > I found it invaluable when I wrote a web-scrapping app to provide a back > end to my DVD collection many years ago. I still have times when I need to > do a lot of text manipulation and will inevitably turn to BBedit's regex > prowess to do the heavy lifting. > As for references, there are lots on the web and O'Reilly have a couple of > good books. > But BBEDIT (or TextWrangler) will provide an easily accessible interface > into using regex and trying out different things. > > James > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 28 18:54:29 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 28 Dec 2012 15:54:29 -0800 Subject: Help with Regex (was Re: Switch, Case and wild-cards?) In-Reply-To: References: <376EE793-C74A-4450-8DBA-14628893FACA@thehales.id.au> Message-ID: Thanks James and Mike. I am on a Mac and I think have TextWrangler installed somewhere so I can take a look at that. The plugin is RegEx Builder, right Mike? The video tutorials I mentioned are really good since they are very interactive and use lots of examples. I already know how to validate an email address and an ip address... not that I need to do either of those things but the examples that show how to do it and explain it are really useful. Pete lcSQL Software On Fri, Dec 28, 2012 at 2:48 PM, Mike Bonner wrote: > The regex builder plugin in LC is pretty handy too and can help you work > things out in lc itself. You can also be pretty sure of it works in the > builder, it will work in LC (though in all things, YMMV) > > > On Fri, Dec 28, 2012 at 3:07 PM, James Hale wrote: > > > Pete asked: > > "Does anyone have any references to using regular expressions, preferable > > with lots of examples?" > > > > If you are using a Mac i suggest getting yourself a copy of BBedit or its > > free sibling "TextWrangler". > > I have never been much for using terminal commands and the like as I > > always preferred the Mac GUI so when it came to text manipulation I > sought > > out easier tools. Nisus was my first taste of using regex with its token > > substitutions but when it when in to abeyance for a while I turned to > > BBedit. > > It allows the use of grep ( a command line regex tool) in its find and > > replace dialog and also does find and replace across multiple files. It's > > manual provides a good introduction to what you can do with regex, it is > > blindingly fast and a really easily way to try out different expressions. > > I found it invaluable when I wrote a web-scrapping app to provide a back > > end to my DVD collection many years ago. I still have times when I need > to > > do a lot of text manipulation and will inevitably turn to BBedit's regex > > prowess to do the heavy lifting. > > As for references, there are lots on the web and O'Reilly have a couple > of > > good books. > > But BBEDIT (or TextWrangler) will provide an easily accessible interface > > into using regex and trying out different things. > > > > James > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 28 18:58:22 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 28 Dec 2012 16:58:22 -0700 Subject: Help with Regex (was Re: Switch, Case and wild-cards?) In-Reply-To: References: <376EE793-C74A-4450-8DBA-14628893FACA@thehales.id.au> Message-ID: Yeah, its RegEx builder. Feed it some text, and start typing in the regex and you get live feedback. It can be quirky but handy. From pete at lcsql.com Fri Dec 28 20:46:31 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 28 Dec 2012 17:46:31 -0800 Subject: threeDBox? Message-ID: The dictionary lists "threeDBox" as a valid option for the textStyle property of a line in a field but I get a runtime error that is isn;t a valid textStyle property. I don;t know if care but would be nice to know what a threeDbox looks like. Pete lcSQL Software From mwieder at ahsoftware.net Fri Dec 28 21:25:15 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 28 Dec 2012 18:25:15 -0800 Subject: threeDBox? In-Reply-To: References: Message-ID: <46208469718.20121228182515@ahsoftware.net> Pete- Friday, December 28, 2012, 5:46:31 PM, you wrote: > would be nice to know what a threeDbox looks like. -- -Mark Wieder mwieder at ahsoftware.net From pete at lcsql.com Fri Dec 28 21:36:00 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 28 Dec 2012 18:36:00 -0800 Subject: threeDBox? In-Reply-To: <46208469718.20121228182515@ahsoftware.net> References: <46208469718.20121228182515@ahsoftware.net> Message-ID: My mother used to bake Menger sponge cakes but she always sliced them vertically. Pete lcSQL Software On Fri, Dec 28, 2012 at 6:25 PM, Mark Wieder wrote: > Pete- > > Friday, December 28, 2012, 5:46:31 PM, you wrote: > > > would be nice to know what a threeDbox looks like. > > < > https://simonsfoundation.org/multimedia/mathematical-impressions-the-surprising-menger-sponge-slice/ > > > > -- > -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 Fri Dec 28 21:40:39 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 28 Dec 2012 18:40:39 -0800 Subject: Switch, Case and wild-cards? In-Reply-To: <50DE1C1C.7020608@gmail.com> References: <50DCCAFF.40703@gmail.com> <111121215468.20121227181100@ahsoftware.net> <131136118031.20121227221923@ahsoftware.net> <50DE1C1C.7020608@gmail.com> Message-ID: <149209394156.20121228184039@ahsoftware.net> Richmond- Friday, December 28, 2012, 2:24:28 PM, you wrote: > I have a string of characters in a language that go something like this: > ZaXbbdsfZvfghXaasn > now I have to "translate" those into a different type of representation; and > the 3 "rubs" are these: > 1. everytime I encounter a Z it must be moved after the next symbol's > representation in the translation, > 2. everytime I encounter an X it must be moved before the preceding > symbol's representation in the translation, > 3. some of the symbols represented in the original string are > represented in translation by a single symbol, > some by double symbols, and a few by triple symbols. I don't think that's going to work. Or there's information missing or something. By those rules, the first Z moves to after the a. Then the X no longer follows the a. Is that what's desired? Are rules 1,2, and 3 in order of precendence? Are these the *only* three rules? Rule number 3 needs more fleshing out before anything can be done with it. If the second Z moves after the v in vfgh and the second X moves before the h in vfgh, does that break up a possible decryption of vfgh or does it create a new fg phrase to be decrypted? I really hate to go in this direction, but my guess is that you need more rules. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri Dec 28 22:59:14 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 28 Dec 2012 19:59:14 -0800 Subject: Switch, Case and wild-cards? In-Reply-To: References: <50DCCAFF.40703@gmail.com> <111121215468.20121227181100@ahsoftware.net> <131136118031.20121227221923@ahsoftware.net> Message-ID: <12214108968.20121228195914@ahsoftware.net> Pete- Friday, December 28, 2012, 9:26:29 AM, you wrote: > Seriously though, I have this feeling that matchText and matchChunk are > potentially very useful tools if only I could understand the syntax of > regular expressions. I've been to both web references mentioned in > the dictionary and have a really hard time understanding them. I usually think of regex as a write-only programming language. It's quite powerful, especially when you start dealing with things like lazy vs greedy processing, but it's really painful to try to read a regex string later. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Fri Dec 28 23:49:21 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 28 Dec 2012 22:49:21 -0600 Subject: threeDBox? In-Reply-To: References: Message-ID: <50DE7651.8070700@hyperactivesw.com> On 12/28/12 7:46 PM, Peter Haworth wrote: > The dictionary lists "threeDBox" as a valid option for the textStyle > property of a line in a field but I get a runtime error that is isn;t a > valid textStyle property. > > I don;t know if care but would be nice to know what a threeDbox looks like. Works here: set the textstyle of line 1 of fld 1 to "threedbox" The effect is easier to see if the field has a backcolor. But personally I thought Mark's video was better looking. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Sat Dec 29 05:03:18 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 29 Dec 2012 12:03:18 +0200 Subject: Switch, Case and wild-cards? In-Reply-To: <149209394156.20121228184039@ahsoftware.net> References: <50DCCAFF.40703@gmail.com> <111121215468.20121227181100@ahsoftware.net> <131136118031.20121227221923@ahsoftware.net> <50DE1C1C.7020608@gmail.com> <149209394156.20121228184039@ahsoftware.net> Message-ID: <50DEBFE6.8040500@gmail.com> On 12/29/2012 04:40 AM, Mark Wieder wrote: > Richmond- > > Friday, December 28, 2012, 2:24:28 PM, you wrote: > >> I have a string of characters in a language that go something like this: >> ZaXbbdsfZvfghXaasn >> now I have to "translate" those into a different type of representation; and >> the 3 "rubs" are these: >> 1. everytime I encounter a Z it must be moved after the next symbol's >> representation in the translation, >> 2. everytime I encounter an X it must be moved before the preceding >> symbol's representation in the translation, >> 3. some of the symbols represented in the original string are >> represented in translation by a single symbol, >> some by double symbols, and a few by triple symbols. > I don't think that's going to work. Or there's information missing or > something. By those rules, the first Z moves to after the a. Then the > X no longer follows the a. Is that what's desired? Are rules 1,2, and > 3 in order of precendence? Are these the *only* three rules? Rule > number 3 needs more fleshing out before anything can be done with it. > If the second Z moves after the v in vfgh and the second X moves > before the h in vfgh, does that break up a possible decryption of vfgh > or does it create a new fg phrase to be decrypted? I really hate to go > in this direction, but my guess is that you need more rules. > Right . . . starting with ZaX; we should get something like this: XaZ, where, because if rule #3 'a' expands from a single char to a string of unicode chars: I have a feeling that should happen after the reordering of Z and X. in the case of Zv we should end up with vZ, where, again, 'v' could expand to a string of unicode chars. in the case if hX we should end up with Xh, and, again . . . So; as far as I see things there need to be 2 distinct operations: 1. to move Z and X. 2. to (possibly) expand what are represented by lower-case letters into unicode strings. From richmondmathewson at gmail.com Sat Dec 29 07:32:22 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 29 Dec 2012 14:32:22 +0200 Subject: Switch, Case and wild-cards? In-Reply-To: <149209394156.20121228184039@ahsoftware.net> References: <50DCCAFF.40703@gmail.com> <111121215468.20121227181100@ahsoftware.net> <131136118031.20121227221923@ahsoftware.net> <50DE1C1C.7020608@gmail.com> <149209394156.20121228184039@ahsoftware.net> Message-ID: <50DEE2D6.1040804@gmail.com> On 12/29/2012 04:40 AM, Mark Wieder wrote: > Richmond- > > Friday, December 28, 2012, 2:24:28 PM, you wrote: > >> I have a string of characters in a language that go something like this: >> ZaXbbdsfZvfghXaasn >> now I have to "translate" those into a different type of representation; and >> the 3 "rubs" are these: >> 1. everytime I encounter a Z it must be moved after the next symbol's >> representation in the translation, >> 2. everytime I encounter an X it must be moved before the preceding >> symbol's representation in the translation, >> 3. some of the symbols represented in the original string are >> represented in translation by a single symbol, >> some by double symbols, and a few by triple symbols. > I don't think that's going to work. Or there's information missing or > something. By those rules, the first Z moves to after the a. Then the > X no longer follows the a. Is that what's desired? Are rules 1,2, and > 3 in order of precendence? Are these the *only* three rules? Rule > number 3 needs more fleshing out before anything can be done with it. > If the second Z moves after the v in vfgh and the second X moves > before the h in vfgh, does that break up a possible decryption of vfgh > or does it create a new fg phrase to be decrypted? I really hate to go > in this direction, but my guess is that you need more rules. > Keyboard transliteration of this sort of stuff can be implemented relatively easily . . . However if one is going to allow the inputter to delete, insert and edit text this is not an acceptable solution. Batch transliteration is "where it's at", and is also where I am stuck. From nigels at amglighthouse.co.za Sat Dec 29 08:06:38 2012 From: nigels at amglighthouse.co.za (Nigel Soden) Date: Sat, 29 Dec 2012 15:06:38 +0200 Subject: Learning LiveCode Message-ID: To my fellow LiceCode citizens :) My first posting was on the subject of learning LiveCode. I've in the last couple of days been struggling with what I conceder a small piece of additional code to get a date picker to work. Hence my first e-mail on the subject matter of learning LiveCode as you will gather as you read further on. After doing some "Google.ing" around I found CalendarPane and a few others but choose to try CalendarPane as it fitted my requirements for a simple process. For me it turned into a nightmare trying to get it to work the way I expected it too. I'm not wanting to nitpick but the instructions on how to use the library left me rather confused has it's written to those who are familiar with LiveCode but never the less I pressed on and even posted on the RunRev forum were a brave soul assisted me. That was 3 days ago and that's all I've been doing. Today I'm still no further. D-Day 14:38 hrs 29th Dec 2012 I've scrapped using CalendarPane, not because it don't think it works, cause I'm sure it does, but because I just cant to get to grips with the way it's suppose to be used. I've avoided buying a library as currently I'm trying to save cost while developing this application. And the only reason why is because of the conversion rate is not in my favour. A 49 dollar product equates to a weeks worth of groceries. Seeing this product that I'm currently developing has an 80 percent chance of been sold and I will only know in 2/3 months time I thought I would try out flcDataPicker and seeing it had a 30day trail period I have nothing to lose if it don't work. Within having it downloaded and installed as per the instructions I had a working process in less than 10 minutes. So what was the difference. The manual. That's all. It's written with the assumption that the user is not familiar and is a complete doof (South African word meaning idiot) with LiveCode. It's also supplied with a Utility that'll even generate code to help you along. Also the Instructions have numerous examples. I've been in this game since the 80's and without having to repeat my background has I have already placed that in ink in my first post. This is the level of assistance I would expect from purchasing or even from free ware products. The lesson for me thou is my own product once finished must also come to the same level of documented examples and explanation. Anyway, the rant is over and it cost me 49 dollars. Cracker's for the next week. Nigel From richmondmathewson at gmail.com Sat Dec 29 09:16:40 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 29 Dec 2012 16:16:40 +0200 Subject: RevOnline Message-ID: <50DEFB48.1030804@gmail.com> Is RevOnline totally defunct? Richmond. From richmondmathewson at gmail.com Sat Dec 29 09:35:51 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 29 Dec 2012 16:35:51 +0200 Subject: Search, Replace and Unicode Message-ID: <50DEFFC7.8030907@gmail.com> 'Tis very easy to do this: on mouseUp replace "ZaX" with "XaZ" in fld "TEKST" end mouseUp and "ZaXbbdsfZvfghXaasn" will magically become: "XaZbbdsfZvfghXaasn". So, clutching at straws, I tried this: on mouseUp set the useUnicode to true replace (numToChar(2367)) with (numToChar(105)) end mouseUp and, kaboom-diddy-boom-diddy-boom . . . it replaced all the instances of Unicode char 2367 with an 'i' (whacko!!!!), BUT . . . it also did something "awful" with the rest of the text in the fld; as far as I can see it 'deUnicoded' it. tried the same sort of thing like this: on mouseUp set the useUnicode to true replace (numToChar(2367)) with (numToChar(2311)) end mouseUp and got a "right whoreson's". So . . . the next 'trick' is how to preserve the unicodeText as unicodeText,. Cripes! Richmond. From richmondmathewson at gmail.com Sat Dec 29 09:56:08 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 29 Dec 2012 16:56:08 +0200 Subject: Learning LiveCode In-Reply-To: <0A5ECB48-8D38-4AAA-B7DA-6EC185F5751E@amglighthouse.co.za> References: <0A5ECB48-8D38-4AAA-B7DA-6EC185F5751E@amglighthouse.co.za> Message-ID: <50DF0488.8070108@gmail.com> Dear Nigel Soden, I see that you have got yourself "all hot and sweaty"; possibly rather too soon :) Have you had a look here? http://lessons.runrev.com/s/lessons sincerely, Richmond. From ambassador at fourthworld.com Sat Dec 29 10:08:20 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 29 Dec 2012 07:08:20 -0800 Subject: RevOnline In-Reply-To: <50DEFB48.1030804@gmail.com> References: <50DEFB48.1030804@gmail.com> Message-ID: <50DF0764.8000804@fourthworld.com> Richmond wrote: > Is RevOnline totally defunct? Seems to work well here in v5.5.3. What's not working for you? -- 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 Dec 29 10:14:26 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 29 Dec 2012 17:14:26 +0200 Subject: Search, Replace and Unicode In-Reply-To: <50DEFFC7.8030907@gmail.com> References: <50DEFFC7.8030907@gmail.com> Message-ID: <50DF08D2.7090404@gmail.com> On 12/29/2012 04:35 PM, Richmond wrote: > 'Tis very easy to do this: > > on mouseUp > replace "ZaX" with "XaZ" in fld "TEKST" > end mouseUp > > and "ZaXbbdsfZvfghXaasn" > > will magically become: > > "XaZbbdsfZvfghXaasn". > > So, clutching at straws, I tried this: > > on mouseUp > set the useUnicode to true > replace (numToChar(2367)) with (numToChar(105)) > end mouseUp > > and, kaboom-diddy-boom-diddy-boom . . . > > it replaced all the instances of Unicode char 2367 with an 'i' > (whacko!!!!), > > BUT . . . Richmond has a short memory; searching on the internet he turned up a message HE posted about 2 years ago, which contained this: on mouseUp set the useUnicode to true if the unicodeText of fld "FIRST" contains (numToChar(57888) & numToChar(57999)) then get the unicodeText of fld "FIRST" replace (numToChar(57888) & numToChar(57999)) with (numToChar(57999) & numToChar(57888)) in it set the unicodeText of fld "FIRST" to it end if end mouseUp which works completely. So Richmond is a bit of a 'twat', but a happy one at least. Richmond. From richmondmathewson at gmail.com Sat Dec 29 10:48:10 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 29 Dec 2012 17:48:10 +0200 Subject: Search, Replace and Unicode In-Reply-To: <50DF08D2.7090404@gmail.com> References: <50DEFFC7.8030907@gmail.com> <50DF08D2.7090404@gmail.com> Message-ID: <50DF10BA.9030101@gmail.com> Now, of course, the real fun starts when one wants to play around with wild-cards so that one can, say, swap Z and X around in a unicodeText field that contains stuff like this: ZaXddZfXabcdeZoX as I am unclear how to do that with a non-unicodeText field, the next step seems a bit problematic, and, quite frankly, churning through 'ZaX',ZbX', 'ZcX', etc. (and I'm working with an abugida that features about 4000 glyphs . . . joy) seems tedious in the extreme. I thought about churning through a list of unicode addresses like this; on mouseUp put 2200 into CLICKER repeat until CLICKER = 50000 set the useUnicode to true if the unicodeText of fld "FIRST" contains (numToChar(57888) & numToChar(CLICKER) & numToChar(57999)) then get the unicodeText of fld "FIRST" replace (numToChar(57888) & numToChar(CLICKER) & numToChar(57999))) with (numToChar(105) & numToChar(CLICKER) & numToChar(105)) in it set the unicodeText of fld "FIRST" to it end if add 1 to CLICKER end mouseUp and, theoretically, it works. the only thing that slightly fusses me about that is what happens if a unicode address is empty and/or I land up against a control character? From richmondmathewson at gmail.com Sat Dec 29 11:15:36 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 29 Dec 2012 18:15:36 +0200 Subject: RevOnline In-Reply-To: <50DF0764.8000804@fourthworld.com> References: <50DEFB48.1030804@gmail.com> <50DF0764.8000804@fourthworld.com> Message-ID: <50DF1728.3000705@gmail.com> On 12/29/2012 05:08 PM, Richard Gaskin wrote: > Richmond wrote: > > Is RevOnline totally defunct? > > Seems to work well here in v5.5.3. > > What's not working for you? > LC 4.5 Linux, machine number 1 (UbuntuStudio 12.10) : "Connection failure" Linux, machine number 2 (UbuntuStudio 12.10) : works. Mac: Works (and that is inside vmware). LC (RR) 4.0 Linux, machine number 2 : works. All a bit erratic. From richmondmathewson at gmail.com Sat Dec 29 11:18:58 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 29 Dec 2012 18:18:58 +0200 Subject: Search, Replace and Unicode In-Reply-To: <50DF10BA.9030101@gmail.com> References: <50DEFFC7.8030907@gmail.com> <50DF08D2.7090404@gmail.com> <50DF10BA.9030101@gmail.com> Message-ID: <50DF17F2.3090406@gmail.com> On 12/29/2012 05:48 PM, Richmond wrote: > Now, of course, the real fun starts when one wants to play around with > wild-cards so that one can, say, > > swap Z and X around in a unicodeText field that contains stuff like this: > > ZaXddZfXabcdeZoX > > as I am unclear how to do that with a non-unicodeText field, the next > step seems a bit problematic, > and, quite frankly, churning through 'ZaX',ZbX', 'ZcX', etc. (and I'm > working with an abugida that features > about 4000 glyphs . . . joy) seems tedious in the extreme. > > I thought about churning through a list of unicode addresses like this; > > on mouseUp > put 2200 into CLICKER > repeat until CLICKER = 50000 > set the useUnicode to true > if the unicodeText of fld "FIRST" contains (numToChar(57888) & > numToChar(CLICKER) & numToChar(57999)) then > get the unicodeText of fld "FIRST" > replace (numToChar(57888) & numToChar(CLICKER) & > numToChar(57999))) with > (numToChar(105) & numToChar(CLICKER) & numToChar(105)) in it > set the unicodeText of fld "FIRST" to it > end if > add 1 to CLICKER > end mouseUp > > and, theoretically, it works. > > the only thing that slightly fusses me about that is what happens if a > unicode address is empty and/or I land > up against a control character? This works: doesn't seem to fuss the think whether there is a glyph present or not, and no problems with any reserved chars that may be lying around somewhere within that range. ran it through unicode addresses from 2325 to 62738, which took about 90 seconds, which is rather too long, so will cut that down to run through several ranges of unicode addresses rather than the whole shebang. From pete at lcsql.com Sat Dec 29 13:16:25 2012 From: pete at lcsql.com (Peter Haworth) Date: Sat, 29 Dec 2012 10:16:25 -0800 Subject: threeDBox? In-Reply-To: <50DE7651.8070700@hyperactivesw.com> References: <50DE7651.8070700@hyperactivesw.com> Message-ID: OK, seems to be working now, must have been a typo I guess. As you say, the threedbox effect looks pretty bad unless you have a background that makes it stand out. I'm using the box textstyle now and that looks better. Only surprise was that the box stops after the last character of text in the line. I was hoping it would extend across the whole line, kinda like the selected line color. Pete lcSQL Software On Fri, Dec 28, 2012 at 8:49 PM, J. Landman Gay wrote: > On 12/28/12 7:46 PM, Peter Haworth wrote: > >> The dictionary lists "threeDBox" as a valid option for the textStyle >> property of a line in a field but I get a runtime error that is isn;t a >> valid textStyle property. >> >> I don;t know if care but would be nice to know what a threeDbox looks >> like. >> > > Works here: > > set the textstyle of line 1 of fld 1 to "threedbox" > > The effect is easier to see if the field has a backcolor. But personally I > thought Mark's video was better looking. > > -- > 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 lvhdgc7 at gmail.com Sat Dec 29 13:50:15 2012 From: lvhdgc7 at gmail.com (tbodine) Date: Sat, 29 Dec 2012 10:50:15 -0800 (PST) Subject: Avoiding font substitution, cross-platform Message-ID: <1356807015613-4658452.post@n4.nabble.com> Hi, all. How do you avoid font substitution of static text fields in your standalones that are destined for different systems and platforms? (In Director, we had three methods: embedding fonts, converting text blocks to bitmaps and adding a fontmap file with cross-platform font substitutions specified. The bitmap conversion was the most reliable.) Thanks in advance. Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Avoiding-font-substitution-cross-platform-tp4658452.html Sent from the Revolution - User mailing list archive at Nabble.com. From userev at canelasoftware.com Sat Dec 29 14:10:14 2012 From: userev at canelasoftware.com (Mark Talluto) Date: Sat, 29 Dec 2012 11:10:14 -0800 Subject: Avoiding font substitution, cross-platform In-Reply-To: <1356807015613-4658452.post@n4.nabble.com> References: <1356807015613-4658452.post@n4.nabble.com> Message-ID: <433C34BC-8BA6-4877-854D-87531C256066@canelasoftware.com> On Dec 29, 2012, at 10:50 AM, tbodine wrote: > Hi, all. > > How do you avoid font substitution of static text fields in your standalones > that are destined for different systems and platforms? > > (In Director, we had three methods: embedding fonts, converting text blocks > to bitmaps and adding a fontmap file with cross-platform font substitutions > specified. The bitmap conversion was the most reliable.) > > Thanks in advance. > Tom Bodine Hi Tom, You can do all three in LC as well. Embedding Fonts: Look into revFontLoad and revFontUnload in the dictionary Converting blocks to bitmaps: Look into export snapshot and import snapshot in the dictionary Fontmap: Store a table that allows you to do a lookup per platform. This table can be saved to a file, stored in a custom property, or stored in a field as three examples. Best regards, Mark Talluto http://www.canelasoftware.com From revdev at pdslabs.net Sat Dec 29 14:38:23 2012 From: revdev at pdslabs.net (Phil Davis) Date: Sat, 29 Dec 2012 11:38:23 -0800 Subject: Search, Replace and Unicode In-Reply-To: <50DF17F2.3090406@gmail.com> References: <50DEFFC7.8030907@gmail.com> <50DF08D2.7090404@gmail.com> <50DF10BA.9030101@gmail.com> <50DF17F2.3090406@gmail.com> Message-ID: <50DF46AF.5020406@pdslabs.net> Hi Richmond, Just curious - does setting the lockMessages & lockScreen to true speed it up any? Or hiding the field? (Sorry if these have already been answered; I'm not following the thread too closely) On 12/29/12 8:18 AM, Richmond wrote: > ran it through unicode addresses from 2325 to 62738, which took about > 90 seconds, which is rather too long, so > will cut that down to run through several ranges of unicode addresses > rather than the whole shebang. -- Phil Davis From richmondmathewson at gmail.com Sat Dec 29 14:41:20 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 29 Dec 2012 21:41:20 +0200 Subject: Avoiding font substitution, cross-platform In-Reply-To: <1356807015613-4658452.post@n4.nabble.com> References: <1356807015613-4658452.post@n4.nabble.com> Message-ID: <50DF4760.2020300@gmail.com> On 12/29/2012 08:50 PM, tbodine wrote: > Hi, all. > > How do you avoid font substitution of static text fields in your standalones > that are destined for different systems and platforms? > > (In Director, we had three methods: embedding fonts, converting text blocks > to bitmaps and adding a fontmap file with cross-platform font substitutions > specified. The bitmap conversion was the most reliable.) > > Thanks in advance. > Tom Bodine > > Well, as a fairly crude chap . . . and by "crude" I mean that when I learnt to drive I wanted to be able to drive a 2 gear 1930 Fordson tractor as well as the latest HumVee . . . and knowing that every single blasted computer "out there" is running a differently constituted version of a variety of operating systems . . . I just export any STATIC text in the font that I want as an image and import it back into my stack as an image. No need for any embedded fonts, bitmap nonsense, or anything else. Richmond. From richmondmathewson at gmail.com Sat Dec 29 14:52:58 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 29 Dec 2012 21:52:58 +0200 Subject: Search, Replace and Unicode In-Reply-To: <50DF46AF.5020406@pdslabs.net> References: <50DEFFC7.8030907@gmail.com> <50DF08D2.7090404@gmail.com> <50DF10BA.9030101@gmail.com> <50DF17F2.3090406@gmail.com> <50DF46AF.5020406@pdslabs.net> Message-ID: <50DF4A1A.30302@gmail.com> On 12/29/2012 09:38 PM, Phil Davis wrote: > Hi Richmond, > > Just curious - does setting the lockMessages & lockScreen to true > speed it up any? Or hiding the field? (Sorry if these have already > been answered; I'm not following the thread too closely) I really don't know as I am so "thick" those possibilities had not occurred to me. However, I cracked open my monster Sanskrit font and looked at it FontForge and realised that I was being fairly bl**dy silly crunching through thousands of irrelevant unicode addresses, so chopped things up into 3 REPEAT UNTIL loops for the unicode ranges that were relevant to my work: 2325 - 2431 57354 - 58498 61952 - 62738 giving a saving of some 58371 interations!!!! and boiling the whole thing down to about 5 seconds . . . that is on the same sample text I previously used. HOWEVER . . . now I will play around with setting lockMessages and lockScreen as per your suggestions to see if there is any appreciable gain. Phil; you state that you are "not following the thread too closely"; is that because it is not something that interests you, or do you have a stake in Unicode text manipulation but have been busy elsewhere. I sometimes get the feeling (err . . . paranoid) that I am the only person using RR Livecode who is doing 'serious sh*t' with unicodeText; but, hey, why should I worry?; in 1985, at the University of Durham, I was the only student trying to process text with PASCAL 5 while all the Physics students were crunching numbers. > > > On 12/29/12 8:18 AM, Richmond wrote: >> ran it through unicode addresses from 2325 to 62738, which took about >> 90 seconds, which is rather too long, so >> will cut that down to run through several ranges of unicode addresses >> rather than the whole shebang. > From palcibiades-first at yahoo.co.uk Sat Dec 29 15:14:41 2012 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sat, 29 Dec 2012 12:14:41 -0800 (PST) Subject: Help with Regex (was Re: Switch, Case and wild-cards?) In-Reply-To: <376EE793-C74A-4450-8DBA-14628893FACA@thehales.id.au> References: <376EE793-C74A-4450-8DBA-14628893FACA@thehales.id.au> Message-ID: <1356812081764-4658457.post@n4.nabble.com> Firefox plugin is decent. A tutorial, very basic to start, but excellent and getting more sophisticated as it goes along, here: http://regex.learncodethehardway.org/book/ Recommended, even though it does start out assuming minimal knowledge. Peter -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Help-with-Regex-was-Re-Switch-Case-and-wild-cards-tp4658429p4658457.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Sat Dec 29 15:14:52 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 29 Dec 2012 14:14:52 -0600 Subject: Learning LiveCode In-Reply-To: References: Message-ID: <50DF4F3C.8090105@hyperactivesw.com> On 12/29/12 7:06 AM, Nigel Soden wrote: > Anyway, the rant is over and it cost me 49 dollars. Cracker's for the next week. There are almost always free options for the most common things, including calendars. While you are still learning, I'd hate to see your groceries suffer unnecessarily. The problem with our LiveCode resources is that they are scattered all over the place on many private web sites, so next time ask please ask us about anything you need. Someone will point you to it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Sat Dec 29 15:15:24 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 29 Dec 2012 22:15:24 +0200 Subject: Search, Replace and Unicode In-Reply-To: <50DF46AF.5020406@pdslabs.net> References: <50DEFFC7.8030907@gmail.com> <50DF08D2.7090404@gmail.com> <50DF10BA.9030101@gmail.com> <50DF17F2.3090406@gmail.com> <50DF46AF.5020406@pdslabs.net> Message-ID: <50DF4F5C.4090208@gmail.com> On 12/29/2012 09:38 PM, Phil Davis wrote: > Hi Richmond, > > Just curious - does setting the lockMessages & lockScreen to true > speed it up any? Or hiding the field? (Sorry if these have already > been answered; I'm not following the thread too closely) I ran unicode replace script that took 8 seconds, with set the lockMessages to true in line 1 of the script and set the lockMessages to false in the last line the script took 7 seconds ------------------------ using lockScreen the script took 2 seconds (Wow!) ----------------------- using lockScreen & lockMessages the script still took 2 seconds ----------------------- obviously lockScreen is "a good thing" Thank you very much for your suggestion! Richmond. From revdev at pdslabs.net Sat Dec 29 15:17:28 2012 From: revdev at pdslabs.net (Phil Davis) Date: Sat, 29 Dec 2012 12:17:28 -0800 Subject: Search, Replace and Unicode In-Reply-To: <50DF4A1A.30302@gmail.com> References: <50DEFFC7.8030907@gmail.com> <50DF08D2.7090404@gmail.com> <50DF10BA.9030101@gmail.com> <50DF17F2.3090406@gmail.com> <50DF46AF.5020406@pdslabs.net> <50DF4A1A.30302@gmail.com> Message-ID: <50DF4FD8.6080301@pdslabs.net> On 12/29/12 11:52 AM, Richmond wrote: > On 12/29/2012 09:38 PM, Phil Davis wrote: >> Hi Richmond, >> >> Just curious - does setting the lockMessages & lockScreen to true >> speed it up any? Or hiding the field? (Sorry if these have already >> been answered; I'm not following the thread too closely) > > I really don't know as I am so "thick" those possibilities had not > occurred to me. > > However, I cracked open my monster Sanskrit font and looked at it > FontForge and realised that I was being fairly bl**dy silly crunching > through > thousands of irrelevant unicode addresses, so chopped things up into 3 > REPEAT UNTIL loops for the unicode ranges that were relevant to my work: > > 2325 - 2431 > 57354 - 58498 > 61952 - 62738 > > giving a saving of some 58371 interations!!!! and boiling the whole > thing down to about 5 seconds . . . that is on the same sample text I > previously used. Wow! Nice gain. > > HOWEVER . . . now I will play around with setting lockMessages and > lockScreen as per your suggestions to see if there is any appreciable > gain. > > Phil; you state that you are "not following the thread too closely"; > is that because it is not something that interests you, or do you have > a stake in Unicode text manipulation but have been busy elsewhere. I am being dragged toward Unicode, kicking and screaming. It looms large in my future, as one client has asked me to add support for Arabic in his training system soon. But I don't have much experience with it. I'm hoping the improvements in LC 5.5 and beyond will make for a little smoother landing in UnicodeLand. > > I sometimes get the feeling (err . . . paranoid) that I am the only > person using RR Livecode who is doing 'serious sh*t' with unicodeText; > > but, hey, why should I worry?; in 1985, at the University of Durham, I > was the only student trying to process text with PASCAL 5 while all the > Physics students were crunching numbers. > >> >> >> On 12/29/12 8:18 AM, Richmond wrote: >>> ran it through unicode addresses from 2325 to 62738, which took >>> about 90 seconds, which is rather too long, so >>> will cut that down to run through several ranges of unicode >>> addresses rather than the whole shebang. >> > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 pete at lcsql.com Sat Dec 29 15:47:21 2012 From: pete at lcsql.com (Peter Haworth) Date: Sat, 29 Dec 2012 12:47:21 -0800 Subject: Help with Regex (was Re: Switch, Case and wild-cards?) In-Reply-To: <1356812081764-4658457.post@n4.nabble.com> References: <376EE793-C74A-4450-8DBA-14628893FACA@thehales.id.au> <1356812081764-4658457.post@n4.nabble.com> Message-ID: Thanks Peter, another weapon to add to my learning arsenal. Pete lcSQL Software On Sat, Dec 29, 2012 at 12:14 PM, Peter Alcibiades < palcibiades-first at yahoo.co.uk> wrote: > Firefox plugin is decent. > > A tutorial, very basic to start, but excellent and getting more > sophisticated as it goes along, here: > > http://regex.learncodethehardway.org/book/ > > Recommended, even though it does start out assuming minimal knowledge. > > Peter > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Help-with-Regex-was-Re-Switch-Case-and-wild-cards-tp4658429p4658457.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 lvhdgc7 at gmail.com Sat Dec 29 15:51:40 2012 From: lvhdgc7 at gmail.com (tbodine) Date: Sat, 29 Dec 2012 12:51:40 -0800 (PST) Subject: Avoiding font substitution, cross-platform In-Reply-To: <50DF4760.2020300@gmail.com> References: <1356807015613-4658452.post@n4.nabble.com> <50DF4760.2020300@gmail.com> Message-ID: <1356814300219-4658462.post@n4.nabble.com> Thanks, gents, and happy new year to you. I'm going old school with the image export/import! -- Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Avoiding-font-substitution-cross-platform-tp4658452p4658462.html Sent from the Revolution - User mailing list archive at Nabble.com. From revdev at pdslabs.net Sat Dec 29 15:55:05 2012 From: revdev at pdslabs.net (Phil Davis) Date: Sat, 29 Dec 2012 12:55:05 -0800 Subject: Avoiding font substitution, cross-platform In-Reply-To: <1356814300219-4658462.post@n4.nabble.com> References: <1356807015613-4658452.post@n4.nabble.com> <50DF4760.2020300@gmail.com> <1356814300219-4658462.post@n4.nabble.com> Message-ID: <50DF58A9.6070903@pdslabs.net> On 12/29/12 12:51 PM, tbodine wrote: > Thanks, gents, and happy new year to you. I'm going old school with the image > export/import! > -- Tom Bodine Hi Tom, That is a great way to avoid special configuration requirements on the machines where your apps will run. Best - Phil Davis > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Avoiding-font-substitution-cross-platform-tp4658452p4658462.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 > -- Phil Davis From dochawk at gmail.com Sat Dec 29 16:37:46 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 29 Dec 2012 13:37:46 -0800 Subject: Learning LiveCode In-Reply-To: References: <3FB3EAC4-422F-4CF2-BAB4-59B20E9675C5@me.com> <74E5AABD-7BEC-47B2-84E9-DDC6F9AC1CBB@gmail.com> <50DCD8EF.6090408@hyperactivesw.com> <188120950468.20121227180635@ahsoftware.net> <50DD0EC1.8060107@hyperactivesw.com> Message-ID: On Thursday, December 27, 2012, Peter Haworth wrote: > Nah, it's left to right Harumph. all variants on two-dimensional thinking . . . -- Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Sat Dec 29 16:39:05 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 29 Dec 2012 13:39:05 -0800 Subject: Learning LiveCode In-Reply-To: <50DD15AF.3020300@hyperactivesw.com> References: <3FB3EAC4-422F-4CF2-BAB4-59B20E9675C5@me.com> <74E5AABD-7BEC-47B2-84E9-DDC6F9AC1CBB@gmail.com> <50DCD8EF.6090408@hyperactivesw.com> <188120950468.20121227180635@ahsoftware.net> <50DD0EC1.8060107@hyperactivesw.com> <50DD15AF.3020300@hyperactivesw.com> Message-ID: On Thursday, December 27, 2012, J. Landman Gay wrote: > On 12/27/12 9:38 PM, Peter Haworth wrote: > >> Nah, it's left to right. >> > > Heretic. > Now wait a minut . . . There's no reason to accuse him of using emacs . . . :) -- Richard E. Hawkins, Esq. (702) 508-8462 From paul.foraker at gmail.com Sat Dec 29 16:44:00 2012 From: paul.foraker at gmail.com (Paul Foraker) Date: Sat, 29 Dec 2012 13:44:00 -0800 Subject: Checkbox with dash? Message-ID: The Mac interface guidelines indicate that a checkbox has two states, checked and unchecked. Except when it has a third state, dashed, indicating that not all the conditions are met for checking or unchecking. I have a field "states" containing a list of the states of the U.S. and a set of checkboxes for the regions: Northeast, East, West, etc. If the user clicks Northeast, the checkbox gets checked, and the associated states get hilited in the field. If the user then clicks in the "states" field to unhilite New York, the state of the Northeast checkbox should change to "dashed". I tried converting the checkboxes to a list in a field and setting char 1 of each line to an image of a checkbox checked, unchecked, or dashed. That doesn't work because the baseline of the name of the region appears at the baseline of the image; that is, too low. The label (Northeast) needs to appear at the midline of the image. I don't see a way to move the image down on the line. Another approach would be to put a transparent field containing a dash over the checkbox, in its unchecked state. Handling the location and multiple ways the state can change started to get awkward and unwieldy. Is there a better way to do this? Thanks -- Paul From m.schonewille at economy-x-talk.com Sat Dec 29 17:07:55 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 29 Dec 2012 23:07:55 +0100 Subject: Checkbox with dash? In-Reply-To: References: Message-ID: Paul, If the image is too low, add 2 rows of transparent pixels at the bottom of the image. -- 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 29 dec 2012, at 22:44, Paul Foraker wrote: > The Mac interface guidelines indicate that a checkbox has two states, > checked and unchecked. Except when it has a third state, dashed, indicating > that not all the conditions are met for checking or unchecking. > > I have a field "states" containing a list of the states of the U.S. and a > set of checkboxes for the regions: Northeast, East, West, etc. If the user > clicks Northeast, the checkbox gets checked, and the associated states get > hilited in the field. If the user then clicks in the "states" field to > unhilite New York, the state of the Northeast checkbox should change to > "dashed". > > I tried converting the checkboxes to a list in a field and setting char 1 > of each line to an image of a checkbox checked, unchecked, or dashed. That > doesn't work because the baseline of the name of the region appears at the > baseline of the image; that is, too low. The label (Northeast) needs to > appear at the midline of the image. I don't see a way to move the image > down on the line. > > Another approach would be to put a transparent field containing a dash over > the checkbox, in its unchecked state. Handling the location and multiple > ways the state can change started to get awkward and unwieldy. > > Is there a better way to do this? > From pete at lcsql.com Sat Dec 29 17:13:06 2012 From: pete at lcsql.com (Peter Haworth) Date: Sat, 29 Dec 2012 14:13:06 -0800 Subject: What's On The Menu? Message-ID: It seems that you cannot have cascading items in an option menu. The secondary items appear as first level items with a tab before them. As far I can tell, I have to use a pulldown menu to be able to use cascading menu items. However, no matter which item you choose on a pulldown menu, when the choice has been processed, the pulldown menu shows its first item not the one that was selected. The menuHistory of the pulldown menu is correct but I have to set its label to get the chosen item to show. So, no cascading items on option menus and menuHistory has no effect on pulldown menus. Is that all expected behavior? Pete lcSQL Software From pete at lcsql.com Sat Dec 29 17:19:23 2012 From: pete at lcsql.com (Peter Haworth) Date: Sat, 29 Dec 2012 14:19:23 -0800 Subject: Checkbox with dash? In-Reply-To: References: Message-ID: Hi Paul, I assume you are setting the imageSOurce of char whatever of your field to display the checkbox? Try using the textShift property of the character containing the checkbox image. A negative number moves the image up and a positive number moves it down relative to the text in the line (or maybe the other way round, don't remember). Pete lcSQL Software On Sat, Dec 29, 2012 at 1:44 PM, Paul Foraker wrote: > I tried converting the checkboxes to a list in a field and setting char 1 > of each line to an image of a checkbox checked, unchecked, or dashed. That > doesn't work because the baseline of the name of the region appears at the > baseline of the image; that is, too low. The label (Northeast) needs to > appear at the midline of the image. I don't see a way to move the image > down on the line. > From mwieder at ahsoftware.net Sat Dec 29 18:17:27 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 29 Dec 2012 15:17:27 -0800 Subject: What's On The Menu? In-Reply-To: References: Message-ID: <0283602640.20121229151727@ahsoftware.net> Pete- Saturday, December 29, 2012, 2:13:06 PM, you wrote: > It seems that you cannot have cascading items in an option menu. The > secondary items appear as first level items with a tab before them. > As far I can tell, I have to use a pulldown menu to be able to use > cascading menu items. However, no matter which item you choose on a > pulldown menu, when the choice has been processed, the pulldown menu shows > its first item not the one that was selected. The menuHistory of the > pulldown menu is correct but I have to set its label to get the chosen item > to show. > So, no cascading items on option menus and menuHistory has no effect on > pulldown menus. Is that all expected behavior? I'm not sure I've ever seen (or wanted) a cascading option menu on any application. Is there an advantage to using an option menu for this? Can you point me to any application that's got one? -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sat Dec 29 18:35:04 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 29 Dec 2012 15:35:04 -0800 Subject: Checkbox with dash? In-Reply-To: References: Message-ID: <55284659234.20121229153504@ahsoftware.net> Paul- Saturday, December 29, 2012, 1:44:00 PM, you wrote: > I tried converting the checkboxes to a list in a field and setting char 1 > of each line to an image of a checkbox checked, unchecked, or dashed. That > doesn't work because the baseline of the name of the region appears at the > baseline of the image; that is, too low. The label (Northeast) needs to > appear at the midline of the image. I don't see a way to move the image > down on the line. Did you try changing the textshift of char 1 of the line after setting the imagesource? That should move it up or down as desired. -- -Mark Wieder mwieder at ahsoftware.net From pete at lcsql.com Sat Dec 29 19:47:37 2012 From: pete at lcsql.com (Peter Haworth) Date: Sat, 29 Dec 2012 16:47:37 -0800 Subject: What's On The Menu? In-Reply-To: <0283602640.20121229151727@ahsoftware.net> References: <0283602640.20121229151727@ahsoftware.net> Message-ID: I'll use LC as an example. Lets say you have an application that needs to provide the ability to pick a card from any of the open stacks. The option menu would list the stacks with subitems for the cards in each stack. Same sort of thing for perhaps CDs in a music collection. The first level items are the CD names and the second level would be the tracks on the CD. You could even imagine a three level hierarchy in that instance - Artists, CDs, tracks. I'm happy to use a pulldown menu but its behavior just seems odd in terms of the menuHistory not being reflected in what's displayed in the menu. Pete lcSQL Software On Sat, Dec 29, 2012 at 3:17 PM, Mark Wieder wrote: > Pete- > > Saturday, December 29, 2012, 2:13:06 PM, you wrote: > > > It seems that you cannot have cascading items in an option menu. The > > secondary items appear as first level items with a tab before them. > > > As far I can tell, I have to use a pulldown menu to be able to use > > cascading menu items. However, no matter which item you choose on a > > pulldown menu, when the choice has been processed, the pulldown menu > shows > > its first item not the one that was selected. The menuHistory of the > > pulldown menu is correct but I have to set its label to get the chosen > item > > to show. > > > So, no cascading items on option menus and menuHistory has no effect on > > pulldown menus. Is that all expected behavior? > > I'm not sure I've ever seen (or wanted) a cascading option menu on any > application. Is there an advantage to using an option menu for this? > Can you point me to any application that's got one? > > -- > -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 Sat Dec 29 19:54:12 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 29 Dec 2012 16:54:12 -0800 Subject: What's On The Menu? In-Reply-To: References: <0283602640.20121229151727@ahsoftware.net> Message-ID: <182289407500.20121229165412@ahsoftware.net> Pete- I see why you would want cascading menus, but I don't see what an option menu buys you over a pulldown menu, aside from the one-liner of having to set the label yourself. -- -Mark Wieder mwieder at ahsoftware.net From slylabs13 at me.com Sat Dec 29 20:02:24 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Sat, 29 Dec 2012 17:02:24 -0800 Subject: Switch, Case and wild-cards? In-Reply-To: <50DEE2D6.1040804@gmail.com> References: <50DCCAFF.40703@gmail.com> <111121215468.20121227181100@ahsoftware.net> <131136118031.20121227221923@ahsoftware.net> <50DE1C1C.7020608@gmail.com> <149209394156.20121228184039@ahsoftware.net> <50DEE2D6.1040804@gmail.com> Message-ID: <8518CDB4-F0C2-4DBE-A50E-94C8F67DF13E@me.com> Are Z and X the only characters that appear out of place? They also seem to be the only uppercase letters, unless that is just a coincidence of your example. If not a coincidence, why not make two passes, moving the uppercase letters first? I am not sure what you mean in the third rule. Are you saying that you need to move the X and Z sometimes after the next, sometimes after the next two, and sometimes after the next 3? If so, how do you tell when? Bob On Dec 29, 2012, at 4:32 AM, Richmond wrote: > On 12/29/2012 04:40 AM, Mark Wieder wrote: >> Richmond- >> >> Friday, December 28, 2012, 2:24:28 PM, you wrote: >> >>> I have a string of characters in a language that go something like this: >>> ZaXbbdsfZvfghXaasn >>> now I have to "translate" those into a different type of representation; and >>> the 3 "rubs" are these: >>> 1. everytime I encounter a Z it must be moved after the next symbol's >>> representation in the translation, >>> 2. everytime I encounter an X it must be moved before the preceding >>> symbol's representation in the translation, >>> 3. some of the symbols represented in the original string are >>> represented in translation by a single symbol, >>> some by double symbols, and a few by triple symbols. >> I don't think that's going to work. Or there's information missing or >> something. By those rules, the first Z moves to after the a. Then the >> X no longer follows the a. Is that what's desired? Are rules 1,2, and >> 3 in order of precendence? Are these the *only* three rules? Rule >> number 3 needs more fleshing out before anything can be done with it. >> If the second Z moves after the v in vfgh and the second X moves >> before the h in vfgh, does that break up a possible decryption of vfgh >> or does it create a new fg phrase to be decrypted? I really hate to go >> in this direction, but my guess is that you need more rules. >> > > Keyboard transliteration of this sort of stuff can be implemented relatively easily . . . > > However if one is going to allow the inputter to delete, insert and edit text this > is not an acceptable solution. > > Batch transliteration is "where it's at", and is also where I am stuck. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From slylabs13 at me.com Sat Dec 29 20:07:00 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Sat, 29 Dec 2012 17:07:00 -0800 Subject: threeDBox? In-Reply-To: References: <50DE7651.8070700@hyperactivesw.com> Message-ID: Yeah I fail to see the point to using that property. Even with a backColor it looks pretty cheesy. Bob On Dec 29, 2012, at 10:16 AM, Peter Haworth wrote: > OK, seems to be working now, must have been a typo I guess. As you say, > the threedbox effect looks pretty bad unless you have a background that > makes it stand out. > > I'm using the box textstyle now and that looks better. Only surprise was > that the box stops after the last character of text in the line. I was > hoping it would extend across the whole line, kinda like the selected line > color. > > Pete > lcSQL Software > > > On Fri, Dec 28, 2012 at 8:49 PM, J. Landman Gay wrote: > >> On 12/28/12 7:46 PM, Peter Haworth wrote: >> >>> The dictionary lists "threeDBox" as a valid option for the textStyle >>> property of a line in a field but I get a runtime error that is isn;t a >>> valid textStyle property. >>> >>> I don;t know if care but would be nice to know what a threeDbox looks >>> like. >>> >> >> Works here: >> >> set the textstyle of line 1 of fld 1 to "threedbox" >> >> The effect is easier to see if the field has a backcolor. But personally I >> thought Mark's video was better looking. >> >> -- >> 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 mfstuart at cox.net Sat Dec 29 20:48:43 2012 From: mfstuart at cox.net (mfstuart at cox.net) Date: Sat, 29 Dec 2012 20:48:43 -0500 Subject: Dockable Panes Message-ID: <20121229204843.6YAVE.503081.imail@fed1rmwml205> Hey all, I'm interested in building an LC desktop application interface that has dockable panes/panels in it. What are dockable panes? For example: think of a window that has a vertical and a horizontal line, to form 4 panes in the window. In this example: Top left pane is #1 Top right pane is #2 Bottom left pane is #3 Bottom right pane is #4 Here are some of the characteristics of dockable panes: - a pane would be resizeable by dragging the line/frame that separates each pane - a pane could be removed, and later reinstated - a pane could be moved/dragged to another panes position, which would be added and appear as a tab. The 2 panes become tabs in that panes position example: if the bottom left pane (#3) was dragged into the top left position (#1), panes 1 and 3 take up the space of 1 and 3, and are "presented" as a tab control. Panes 2 and 4 remain as they were. - if a pane appears as a tab, the tab (which is the pane) can be dragged and moved to another position - a panes movable property is a logical, therefore a pane with false in its movable property, could not be dragged to another position - each pane becomes a container for any other control type that can be placed on a stack/card - a panes contents would always remain with it - a pane would have a "header" to it, which displays a title and buttons to the far top right of the pane. That's the basics of it, and there can be all sorts of things that can be done. But I'll start with that. I've started this thing, but I'm already mind blocked on it. I've also spent some time searching the use-list and forum, using some key words: dockable pane, pane, panels, drag me, container Does anyone have something to help me get started, or maybe an example? Regards, Mark Stuart From pete at lcsql.com Sat Dec 29 20:52:20 2012 From: pete at lcsql.com (Peter Haworth) Date: Sat, 29 Dec 2012 17:52:20 -0800 Subject: What's On The Menu? In-Reply-To: <182289407500.20121229165412@ahsoftware.net> References: <0283602640.20121229151727@ahsoftware.net> <182289407500.20121229165412@ahsoftware.net> Message-ID: When you click on an option menu, the last choice you made from it appears under the cursor and is highlighted. That doesn't happen with pulldown menus and so far I haven't found a way to make it happen. Jujst a convenience and it doesn't really matter in my case since there's a fairly short list of items in the menu but it's very convenient to have that happen in a long list of menu items. Pete lcSQL Software On Sat, Dec 29, 2012 at 4:54 PM, Mark Wieder wrote: > Pete- > > I see why you would want cascading menus, but I don't see what an > option menu buys you over a pulldown menu, aside from the one-liner of > having to set the label yourself. > > -- > -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 ambassador at fourthworld.com Sat Dec 29 22:15:59 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 29 Dec 2012 19:15:59 -0800 Subject: What's On The Menu? In-Reply-To: References: Message-ID: <50DFB1EF.6060603@fourthworld.com> Would it be practical in your layout to consider using two option controls, in which the first one sets the range of values for the second? -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mark.laffoon at gmail.com Sat Dec 29 22:47:03 2012 From: mark.laffoon at gmail.com (Mark Laffoon) Date: Sat, 29 Dec 2012 18:47:03 -0900 Subject: Help with Regex (was Re: Switch, Case and wild-cards?) In-Reply-To: References: <376EE793-C74A-4450-8DBA-14628893FACA@thehales.id.au> <1356812081764-4658457.post@n4.nabble.com> Message-ID: I've always found RegExhibit from http://roger-jolly.nl/software/#regexhibithelpful. Also, for reference material, http://www.regular-expressions.info/ has been of great help. Just my 2 cents. Mark -- I am CDO. This is a lot like OCD, except the letters are in alphabetical order... as they should be. From slylabs13 at me.com Sat Dec 29 22:46:26 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Sat, 29 Dec 2012 19:46:26 -0800 Subject: Dockable Panes In-Reply-To: <20121229204843.6YAVE.503081.imail@fed1rmwml205> References: <20121229204843.6YAVE.503081.imail@fed1rmwml205> Message-ID: Is the area the panes display in fixed? Are the pane sizes fixed? I think you need to investigate drag and drop commands and functions. If the panes are a fixed size and their positions are fixed, it's pretty simple to determine the next open space (if that's what you want) and see if anything is displayed there. You can keep a property updated for the card to tell you when a pane "slot" is occupied or not by having an array with however many slots you want as it's key. The name of the pane object goes into the array element for that slot. If nothing is there put empty into the array element. To position them simply set the top of one pane to the bottom of the upper pane, and set the left to be equal. If you are dragging and want to "snap" then in your dragMove handler loop to check for proximity to another pane, and if for example the top of the pane you are dragging is within lets say 10 or 15 pixels of the bottom of the upper pane, then call your positioning routine. To "unsnap" it keep track of the mouse position once snapped and if the mouse moves more than the 10 or 15 pixels away from the center of the pane (the loc of the pane) then set the loc of the pane to the mouseLoc. That is rather vague pseudocode, but if you are looking for a technique, that may help. Without knowing more about the interface you envision, I don't think I can say more. Bob On Dec 29, 2012, at 5:48 PM, mfstuart at cox.net wrote: > Hey all, > I'm interested in building an LC desktop application interface that has dockable panes/panels in it. > What are dockable panes? For example: think of a window that has a vertical and a horizontal line, to form 4 panes in the window. > > In this example: > Top left pane is #1 > Top right pane is #2 > Bottom left pane is #3 > Bottom right pane is #4 > > Here are some of the characteristics of dockable panes: > - a pane would be resizeable by dragging the line/frame that separates each pane > - a pane could be removed, and later reinstated > - a pane could be moved/dragged to another panes position, which would be added and appear as a tab. The 2 panes become tabs in that panes position > example: if the bottom left pane (#3) was dragged into the top left position (#1), panes 1 and 3 take up the space of 1 and 3, and are "presented" as a tab control. Panes 2 and 4 remain as they were. > - if a pane appears as a tab, the tab (which is the pane) can be dragged and moved to another position > - a panes movable property is a logical, therefore a pane with false in its movable property, could not be dragged to another position > - each pane becomes a container for any other control type that can be placed on a stack/card > - a panes contents would always remain with it > - a pane would have a "header" to it, which displays a title and buttons to the far top right of the pane. > > That's the basics of it, and there can be all sorts of things that can be done. But I'll start with that. > > I've started this thing, but I'm already mind blocked on it. > I've also spent some time searching the use-list and forum, using some key words: > dockable pane, pane, panels, drag me, container > > Does anyone have something to help me get started, or maybe an example? > > Regards, > Mark Stuart > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From slylabs13 at me.com Sat Dec 29 22:53:03 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Sat, 29 Dec 2012 19:53:03 -0800 Subject: What's On The Menu? In-Reply-To: References: <0283602640.20121229151727@ahsoftware.net> <182289407500.20121229165412@ahsoftware.net> Message-ID: Just to weigh in here, cascading menus works fine for a limited number of choices, but if there are many choices, and the menus need to scroll to see them all, cascading menus become a REAL irritation, especially if the user "misses" while trying to move the mouse to the right to get to the next level. Ever go through 2 or 3 levels in a cascading menu in Windows, only to "miss" and have the whole mess reset? VERY frustrating. The Start Menu in Windows XP is the perfect example of how NOT to employ cascading menus. Windows 7 does a better job by making the user click or hover for a time before the next menu level pops. I have a Field Dropper tool I use to create fields on a card based on columns in a SQL table. I use separate menus and have the user make each selection, first the table, then the column, then the kind of control etc, discretely. Trying to build a cascading menu on the fly and then have the user interact with it, specially for a large database with tables having lots of columns would be problematic at best. Bob On Dec 29, 2012, at 5:52 PM, Peter Haworth wrote: > When you click on an option menu, the last choice you made from it appears > under the cursor and is highlighted. That doesn't happen with pulldown > menus and so far I haven't found a way to make it happen. Jujst a > convenience and it doesn't really matter in my case since there's a fairly > short list of items in the menu but it's very convenient to have that > happen in a long list of menu items. > Pete > lcSQL Software > > > On Sat, Dec 29, 2012 at 4:54 PM, Mark Wieder wrote: > >> Pete- >> >> I see why you would want cascading menus, but I don't see what an >> option menu buys you over a pulldown menu, aside from the one-liner of >> having to set the label yourself. >> >> -- >> -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 dick.kriesel at mail.com Sat Dec 29 23:41:56 2012 From: dick.kriesel at mail.com (Dick Kriesel) Date: Sat, 29 Dec 2012 20:41:56 -0800 Subject: Dockable Panes In-Reply-To: <20121229204843.6YAVE.503081.imail@fed1rmwml205> References: <20121229204843.6YAVE.503081.imail@fed1rmwml205> Message-ID: On Dec 29, 2012, at 5:48 PM, wrote: > example: if the bottom left pane (#3) was dragged into the top left position (#1), panes 1 and 3 take up the space of 1 and 3, and are "presented" as a tab control. Panes 2 and 4 remain as they were. Hi, Mark. What happens when we drag an untabbed pane diagonally? -- Dick From lc at pbh.on-rev.com Sat Dec 29 23:53:29 2012 From: lc at pbh.on-rev.com (Paul Hibbert) Date: Sat, 29 Dec 2012 20:53:29 -0800 Subject: What's On The Menu? In-Reply-To: References: <0283602640.20121229151727@ahsoftware.net> <182289407500.20121229165412@ahsoftware.net> Message-ID: <8954EB56-609A-48F5-B844-01629F29A5D4@pbh.on-rev.com> On 2012-12-29, at 5:52 PM, Peter Haworth wrote: > When you click on an option menu, the last choice you made from it appears > under the cursor and is highlighted. That doesn't happen with pulldown > menus and so far I haven't found a way to make it happen. Jujst a > convenience and it doesn't really matter in my case since there's a fairly > short list of items in the menu but it's very convenient to have that > happen in a long list of menu items. > Pete > lcSQL Software Pete, AFAIK you can't auto highlight the previous menu choice for a pulldown menu (although I may be wrong), but you can add a checkmark to the current choice. If its any use to you, try this slightly modified script from the LC Resources? on menuPick pItemName ## Add a checkmark to the current choice put the menuHistory of me into tChoice put the uCheckedLine of me into tChecked replace "!c" with empty in line tChecked of me put "!c" before line tChoice of me set the uCheckedLine of me to tChoice ## Do something with the current choice? answer "You chose" && quote & pItemName & quote & "." end menuPick Paul From mfstuart at cox.net Sun Dec 30 00:32:26 2012 From: mfstuart at cox.net (Mark Stuart) Date: Sat, 29 Dec 2012 21:32:26 -0800 (PST) Subject: Dockable Panes In-Reply-To: References: <20121229204843.6YAVE.503081.imail@fed1rmwml205> Message-ID: <1356845546335-4658484.post@n4.nabble.com> Hi Dick and Bob, The idea is that any pane can be dropped onto the position of any other pane. So if all 4 panes were in their original position, pane #3 could be dragged and dropped onto pane #4 position. Likewise, pane #2 could be dropped onto pane #3 position. All this is just my idea from what I've seen with other dockable pane software. Bob - to answer your question with a question. Were you thinking of Windows 8 tiles? One that I've played around with in VB is Codejock - www.codejock.com Its behavior and features are quite elaborate. I'd like to be able to mimic its concept in LC. Regards, Mark Stuart -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Dockable-Panes-tp4658476p4658484.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at lcsql.com Sun Dec 30 01:50:27 2012 From: pete at lcsql.com (Peter Haworth) Date: Sat, 29 Dec 2012 22:50:27 -0800 Subject: What's On The Menu? In-Reply-To: <50DFB1EF.6060603@fourthworld.com> References: <50DFB1EF.6060603@fourthworld.com> Message-ID: Hi Richard, Thanks for the suggestion. I do use that technique but in this case, a cascading menu feels more appropriate. There are 6 first level items and two of them have second level items which are dynamically loaded but probably not more than two or three of them. The pulldown menu works fine, just wonder why the menuHistory part of it doesn't work the same as an option menu. Pete lcSQL Software On Sat, Dec 29, 2012 at 7:15 PM, Richard Gaskin wrote: > Would it be practical in your layout to consider using two option > controls, in which the first one sets the range of values for the second? > > -- > 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 pete at lcsql.com Sun Dec 30 01:51:25 2012 From: pete at lcsql.com (Peter Haworth) Date: Sat, 29 Dec 2012 22:51:25 -0800 Subject: What's On The Menu? In-Reply-To: <8954EB56-609A-48F5-B844-01629F29A5D4@pbh.on-rev.com> References: <0283602640.20121229151727@ahsoftware.net> <182289407500.20121229165412@ahsoftware.net> <8954EB56-609A-48F5-B844-01629F29A5D4@pbh.on-rev.com> Message-ID: Thanks Paul, I'll give that a whirl. Pete lcSQL Software On Sat, Dec 29, 2012 at 8:53 PM, Paul Hibbert wrote: > AFAIK you can't auto highlight the previous menu choice for a pulldown > menu (although I may be wrong), but you can add a checkmark to the current > choice. > > If its any use to you, try this slightly modified script from the LC > Resources? > > on menuPick pItemName > > ## Add a checkmark to the current choice > put the menuHistory of me into tChoice > put the uCheckedLine of me into tChecked > replace "!c" with empty in line tChecked of me > put "!c" before line tChoice of me > set the uCheckedLine of me to tChoice > > ## Do something with the current choice? > answer "You chose" && quote & pItemName & quote & "." > > end menuPick > From pete at lcsql.com Sun Dec 30 02:02:33 2012 From: pete at lcsql.com (Peter Haworth) Date: Sat, 29 Dec 2012 23:02:33 -0800 Subject: Help with Regex (was Re: Switch, Case and wild-cards?) In-Reply-To: References: <376EE793-C74A-4450-8DBA-14628893FACA@thehales.id.au> <1356812081764-4658457.post@n4.nabble.com> Message-ID: Thanks Mark, more good resources. A question in the back of my mind now that I know enough about regexp to be dangerous. Is parsing a language something that can be done with regular expressions? I have a program in which I jumped though all sorts of hoops to parse SQL statements. It works quite well but maintaining it is a pain. It feels like I could use regexps to separate the various "clauses" of a command, followed by other regexps to parse those clauses depending on type. Pete lcSQL Software On Sat, Dec 29, 2012 at 7:47 PM, Mark Laffoon wrote: > I've always found RegExhibit from > http://roger-jolly.nl/software/#regexhibithelpful. > Also, for reference material, http://www.regular-expressions.info/ has > been of great help. > > Just my 2 cents. > Mark > > > -- > I am CDO. This is a lot like OCD, except the letters are in alphabetical > order... as they should be. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dick.kriesel at mail.com Sun Dec 30 02:20:21 2012 From: dick.kriesel at mail.com (Dick Kriesel) Date: Sat, 29 Dec 2012 23:20:21 -0800 Subject: Dockable Panes In-Reply-To: <1356845546335-4658484.post@n4.nabble.com> References: <20121229204843.6YAVE.503081.imail@fed1rmwml205> <1356845546335-4658484.post@n4.nabble.com> Message-ID: On Dec 29, 2012, at 9:32 PM, Mark Stuart wrote: > Likewise, pane #2 could be dropped onto pane #3 position. Then, what appears where pane #2 was? From palcibiades-first at yahoo.co.uk Sun Dec 30 02:25:09 2012 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sat, 29 Dec 2012 23:25:09 -0800 (PST) Subject: Help with Regex (was Re: Switch, Case and wild-cards?) In-Reply-To: References: <376EE793-C74A-4450-8DBA-14628893FACA@thehales.id.au> <1356812081764-4658457.post@n4.nabble.com> Message-ID: <1356852309788-4658489.post@n4.nabble.com> I don't know, but this is what the author of the 'learn regex the hard way' book has to say:- /The key to using regular expressions correctly is to know where their usefulness ends and when you need to bust out a lexer. You also need to know where a lexer falls down and when a parser is the right tool. When you use regular expressions to simplify creating lexers that feed into simple parsers you then have a set of tools for cleaning and accurately parsing text without going insane. In this book I'm going to subversively teach you parsing, but I'm going to be very practical and straight forward about it. No NFA to DFA conversion. No crazy explanations of push down finite state automata. Just practical code that gets you introduced to the basics of parsing, understanding the core theory, and then actually using them to get work done./ Peter Haworth wrote > ....A question in the back of my mind now that I know enough about regexp > to be > dangerous. Is parsing a language something that can be done with regular > expressions? I have a program in which I jumped though all sorts of hoops > to parse SQL statements. It works quite well but maintaining it is a > pain. > It feels like I could use regexps to separate the various "clauses" of a > command, followed by other regexps to parse those clauses depending on > type.... -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Help-with-Regex-was-Re-Switch-Case-and-wild-cards-tp4658429p4658489.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Sun Dec 30 05:23:02 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 30 Dec 2012 12:23:02 +0200 Subject: Help with Regex (was Re: Switch, Case and wild-cards?) In-Reply-To: <1356852309788-4658489.post@n4.nabble.com> References: <376EE793-C74A-4450-8DBA-14628893FACA@thehales.id.au> <1356812081764-4658457.post@n4.nabble.com> <1356852309788-4658489.post@n4.nabble.com> Message-ID: <50E01606.2030403@gmail.com> Those of you who don't want to feel faintly queasy had better tune out now. Theoretical / Pedagogical rant follows. ---------------------------------------------------------------------------------------------------- Maybe I'm missing something (nothing particularly unusual there), but . . . I don't really "get" REGEX. And,frankly, why on earth would I, or anyone else for that matter, want to read through some awfully long, wordy and obscure load of b*mf about it? -------------------------- And the Wikipedia article: http://en.wikipedia.org/wiki/Regex starts off by describing the blindingly obvious, and then tries to dress the whole thing up in a load of jargon so some fancy academic can draw a fat salary for understanding the blindingly obvious, and/or being capable of thinking in a straight line . . . but, hey, that seems to be a universal problem. -------------------------- What I do understand is that one needs a script(s) that looks for patterns in a string and replaces them with other patterns, and that there needs to be a hierarchy of patterns. Consider "my problem" (apart from all the other ones, that is): I have a line of text in "some funny language" that goes like this; 1aQngh1swnpQavh now there are the following considerations I have to deal with: 1. Every time I encounter a '1' it has to be shunted after the char it precedes. 2. Every time I encounter a 'Q' it has to be shunted before a char it comes after. 3. 1aQ (this is what is known as "the squirrel in the wood-pile" (and I'm sorry if I have offended any squirrels). Now a hierarchy of pattern recognition means I have to trap '1aQ' before I trap '1' and 'Q', because if I do things the other way round everything is going to be "stewed squirrel" to coin a phrase. Obviously there is the possibility that one might have to trap for '1*Q', where '*' may be anything, and that adds a certain frisson to the whole thing. Now, where I come from, that is not called REGEX, that is called either 'logic' or 'getting things done in the right order'. ---------------------------------------------------------------------- So, I sat down at my kitchen table with a pile of chess pieces (I have about 5 identical sets lying around) and lined them up in an order rather like '1aQngh1swnpQavh' and then, with some more as 'my second text field' tried switching the things around - and after about 10 minutes everything made reasonably good sense. And, as most programming seems to consist of getting things in the right order (or, as a friend of mine once remarked "getting things in the right ordure") that is about all there is to things. ---------------------------------------------------------------------- Now you might be quite accurate in describing me as: 1. Child-like. 2. Not very good at abstract thought. But when one considers that about 95% of people are pretty much like that, then maybe chess pieces on the kitchen table, and/or plastic cups with beans, are not a bad way to go. -------------------------------------------------------------------- Richmond. From richmondmathewson at gmail.com Sun Dec 30 05:51:19 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 30 Dec 2012 12:51:19 +0200 Subject: Further Unicode ... Message-ID: <50E01CA7.7050005@gmail.com> And now for my next trick :( Suppose I have a fld called "fCOOKED" that contains 'numToChar(104)', and a second fld called "fT" and a button with this script: on mouseUp set the useUnicode to true put fld "fCOOKED" into COOKED set the unicodeText of fld "fT" to COOKED end mouseUp why doesn't fld 'fT" end up with an 'h' in it instead of a large number of goobledegook numbers? Richmond. From m.schonewille at economy-x-talk.com Sun Dec 30 06:09:38 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 30 Dec 2012 12:09:38 +0100 Subject: Further Unicode ... In-Reply-To: <50E01CA7.7050005@gmail.com> References: <50E01CA7.7050005@gmail.com> Message-ID: <6EE0A1A9-A278-4371-80A4-3BFFF21784FB@economy-x-talk.com> Hi Richmond, The useUnicode property has nothing to to with transferring unicodeText from one field to another. The useUnicode property affects the charToNum and numToChar function *only* and as you have already noticed it doesn't do a very good job on higher-level unicode values. That's why I rarely use useUnicode and use binaryEncode/binaryDecode in a repeat loop most of the time. To transfer the unicodeText, you need to do this: on mouseUp put the unicodeText of fld "fCOOKED" into COOKED set the unicodeText of fld "fT" to COOKED end mouseUp This is pretty obvious, as the useUnicode property doesn't magically convert the value of COOKED from plain text to unicodeText. Changing data in a variable always takes at least another line, e.g. put uniEncode(COOKED) into COOKED, but that's taken care of by using the unicodeText property directly. -- 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 30 dec 2012, at 11:51, Richmond wrote: > And now for my next trick :( > > Suppose I have a fld called "fCOOKED" that contains 'numToChar(104)', > > and a second fld called "fT" > > and a button with this script: > > on mouseUp > set the useUnicode to true > put fld "fCOOKED" into COOKED > set the unicodeText of fld "fT" to COOKED > end mouseUp > > why doesn't fld 'fT" end up with an 'h' in it instead > of a large number of goobledegook numbers? > > Richmond. From richmondmathewson at gmail.com Sun Dec 30 07:02:23 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 30 Dec 2012 14:02:23 +0200 Subject: Further Unicode ... In-Reply-To: <6EE0A1A9-A278-4371-80A4-3BFFF21784FB@economy-x-talk.com> References: <50E01CA7.7050005@gmail.com> <6EE0A1A9-A278-4371-80A4-3BFFF21784FB@economy-x-talk.com> Message-ID: <50E02D4F.8010402@gmail.com> On 12/30/2012 01:09 PM, Mark Schonewille wrote: > Hi Richmond, > > The useUnicode property has nothing to to with transferring unicodeText from one field to another. The useUnicode property affects the charToNum and numToChar function *only* and as you have already noticed it doesn't do a very good job on higher-level unicode values. That's why I rarely use useUnicode and use binaryEncode/binaryDecode in a repeat loop most of the time. > > To transfer the unicodeText, you need to do this: > > on mouseUp > put the unicodeText of fld "fCOOKED" into COOKED > set the unicodeText of fld "fT" to COOKED > end mouseUp > > This is pretty obvious, as the useUnicode property doesn't magically convert the value of COOKED from plain text to unicodeText. Changing data in a variable always takes at least another line, e.g. put uniEncode(COOKED) into COOKED, but that's taken care of by using the unicodeText property directly. > > -- > Best regards, > > Mark Schonewille > > Yes, I know, and I have only one REAL problem: my "gut reaction" whenever I get stuck is to whack a message off to the Use-List BEFORE rather than AFTER going for a walk round the flat, having a cuddle with the cat, playing with toys on the kitchen table, or whatever is necessary to get my head round something. Richmond. From nm at studionm.pl Sun Dec 30 08:27:01 2012 From: nm at studionm.pl (Marek Niesiobedzki) Date: Sun, 30 Dec 2012 14:27:01 +0100 Subject: Further Unicode ... Message-ID: <6BA0C4F5-90CC-4E8A-9DAA-EC4CFB88B7E6@studionm.pl> Try one of this: on mouseUp set unicodeText of fld "fT" to unicodeText of fld "fCOOKED" end mouseUp or on mouseUp put unicodeText of fld "fCOOKED" into COOKED put unicode COOKED into fld "fT" end mouseUp on mouseUp put unicodeText of fld "fCOOKED" into COOKED set unicodeText of fld "fT" to COOKED end mouseUp For me any of above is working with ACII single letters as well with Unicode strings. Marek From ambassador at fourthworld.com Sun Dec 30 11:33:00 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 30 Dec 2012 08:33:00 -0800 Subject: Help with Regex (was Re: Switch, Case and wild-cards?) In-Reply-To: <50E01606.2030403@gmail.com> References: <50E01606.2030403@gmail.com> Message-ID: <50E06CBC.90007@fourthworld.com> Richmond wrote: > Maybe I'm missing something (nothing particularly unusual there), but . . . > > I don't really "get" REGEX. > > And,frankly, why on earth would I, or anyone else for that matter, want > to read through some awfully long, wordy and obscure load of b*mf about it? There's nothing regular about "regular expressions", and like so many things in computing they seem to have come about through a series of evolutionary steps which may well be characterized as accidents. But it's the cryptic nature of regex that makes it so useful, providing a uniquely compact way of handling a vast range of text parsing in ways that would take many dozens of lines of code to do by any other means. So whether we like regex or not, it's here to stay, useful and ubiquitous enough to be worth the learning curve. That said, being a very generalized subsystem it's often not the fastest in execution speed in spite of being fast to type. In many cases, writing a pull-parser or other offset-based function for a specific need will yield a much faster result than using regex. The downside of not using regex, though, is the time required to write such functions every time you need 'em. For performance-critical operations it's often well worth it, but for less critical routines regex may be the more productive option. -- 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 Dec 30 11:35:12 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 30 Dec 2012 08:35:12 -0800 Subject: What's On The Menu? In-Reply-To: References: Message-ID: <50E06D40.2090308@fourthworld.com> Peter Haworth wrote: > The pulldown menu works fine, just wonder why the menuHistory part of it > doesn't work the same as an option menu. This is probably related to their different purposes: with an option menu it's important to have the current selection centered over the control, so the menuHistory provides the means to accomplish that. Pull-down menus are fixed, with their items always appearing below the control, so menuHistory has no logical corollary in that context. -- 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 Dec 30 11:42:13 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 30 Dec 2012 08:42:13 -0800 Subject: Help with Regex (was Re: Switch, Case and wild-cards?) In-Reply-To: <50E01606.2030403@gmail.com> References: <376EE793-C74A-4450-8DBA-14628893FACA@thehales.id.au> <1356812081764-4658457.post@n4.nabble.com> <1356852309788-4658489.post@n4.nabble.com> <50E01606.2030403@gmail.com> Message-ID: On Sunday, December 30, 2012, Richmond wrote: > > > starts off by describing the blindingly obvious, and then tries to dress > the whole thing up in a load of jargon so > some fancy academic can draw a fat salary for understanding the blindingly > obvious, and/or > being capable of thinking in a straight line . . . but, hey, that seems to > be a universal problem. > if academics drew fat salaries, I would still be one. I'm practicing law again for the simple reason I need to make enough to send my own kids to school . . . but anyway . . . > I have a line of text in "some funny language" that goes like this; > > 1aQngh1swnpQavh > > now there are the following considerations I have to deal with: > > 1. Every time I encounter a '1' it has to be shunted after the char it > precedes. > 2. Every time I encounter a 'Q' it has to be shunted before a char it > comes after. > 3. 1aQ (this is what is known as "the squirrel in the wood-pile" (and I'm > sorry if I have offended any squirrels). > > Now a hierarchy of pattern recognition means I have to trap '1aQ' > before I trap '1' and 'Q', because if I do things the other way round > everything is going to be "stewed squirrel" to coin a phrase. s/1\(.\)Q/magic_string_2\1magic_sting_1/g s/1\(.\)/\11/g s/\(.\)Q/1Q/g s/magic_string_1/1/g s/magic_string_2/Q/g There's probably a syntax error or three in that (I don't need them very often any more), and I suspect it can do it in one line, but I don't remember conditionals. The magic strings are just any string that would never occur; I usually use ZZZ and GGG. > > -- Richard E. Hawkins, Esq. (702) 508-8462 From ambassador at fourthworld.com Sun Dec 30 11:50:18 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 30 Dec 2012 08:50:18 -0800 Subject: Dockable Panes In-Reply-To: <20121229204843.6YAVE.503081.imail@fed1rmwml205> References: <20121229204843.6YAVE.503081.imail@fed1rmwml205> Message-ID: <50E070CA.8040107@fourthworld.com> Dockable panes are a deep subject. I have a need for them in an upgrade on the horizon for one of the projects I manage, and thus far my explorations have been challenging at best. One of those challenges is deciding how to handle the empty space left over from a removed pane. Should it be split equally among neighboring panes, or is one of those panes more important so that it should fill that space? In the app I'm working one there are some circumstances where each option may be best, but for usability I should probably pick one and use it consistently. Another challenge is providing feedback to the user during the drag. In some systems the panes update in real time during the drag, but with a good many complex groups this can be too intensive to do in LiveCode. So at the moment I'm exploring proxies, outlines to indicate how the panes will be resized as the drag happens. But even that is not without its challenges, since outlines alone don't always adequately communicate which pane is being indicated. Then there's the question of how a given pane should be split when another is dropped into it. Near the edges the decision is usually clear, but if you drop toward the center it's not always straightforward to decide whether to split horizontally or vertically. At the moment I'm considering abandoning truly dockable panes altogether in favor of a set of preset pane layouts the user can select from a gallery. This is MUCH easier to code, and simpler for the user to be able to anticipate how it works. I'll probably get back to experimenting with dockable panes later on, and the whole thing is interesting enough to me that I wouldn't mind if you want to continue this discussion via email or phone. Drop me a note if you do. Who knows, we may be able to come up with an affordable method for this which lends itself to a generalized framework that can be used in a wide range of apps. PS: If you haven't seen Pencil it's quite inspiring for dockable panes: That app has one advantage mine doesn't, though: it maintains one main pane in the center, so the docking decisions are limited to what happens at the edges. Still, it's one of the smoothest configurable pane implementations I've seen, very enjoyable to play with. -- 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 mwieder at ahsoftware.net Sun Dec 30 14:13:21 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 30 Dec 2012 11:13:21 -0800 Subject: What's On The Menu? In-Reply-To: References: <0283602640.20121229151727@ahsoftware.net> <182289407500.20121229165412@ahsoftware.net> Message-ID: <119355360375.20121230111321@ahsoftware.net> Bob- Yes, I was trying to make other suggestions rather than get into this argument, but I agree completely. I think it's time for a new control paradigm in place of cascading menus, or maybe in place of menus altogether, but I'm having trouble visualizing what that might be. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sun Dec 30 14:22:23 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 30 Dec 2012 11:22:23 -0800 Subject: Help with Regex (was Re: Switch, Case and wild-cards?) In-Reply-To: <1356852309788-4658489.post@n4.nabble.com> References: <376EE793-C74A-4450-8DBA-14628893FACA@thehales.id.au> <1356812081764-4658457.post@n4.nabble.com> <1356852309788-4658489.post@n4.nabble.com> Message-ID: <20355901656.20121230112223@ahsoftware.net> Peter- Saturday, December 29, 2012, 11:25:09 PM, you wrote: > In this book I'm going to subversively teach you parsing, but I'm going to > be very practical and straight forward about it. No NFA to DFA conversion. Actually, I think NFA/DFA conversion is where regex gets really interesting, but it's seriously arcane and mind-bogglingly difficult to unravel. -- -Mark Wieder mwieder at ahsoftware.net From slylabs13 at me.com Sun Dec 30 15:08:02 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Sun, 30 Dec 2012 12:08:02 -0800 Subject: Help with Regex (was Re: Switch, Case and wild-cards?) In-Reply-To: <50E01606.2030403@gmail.com> References: <376EE793-C74A-4450-8DBA-14628893FACA@thehales.id.au> <1356812081764-4658457.post@n4.nabble.com> <1356852309788-4658489.post@n4.nabble.com> <50E01606.2030403@gmail.com> Message-ID: <1461473A-98F3-4C9B-94CA-54854A60900C@me.com> I ran into a similar problem doing search and replace in word to clean up text from some data system destined for excel. My solution was often to replace a character or string I wanted to preserve with a placeholder, replace or remove what remains, then restore my placeholders with the original values. In situations like this, work with bigger strings first, and sometimes you need to work it end to beginning, especially if you are using a word or character counter to keep track of where you are. Bob Sneidar IT Manager Calvary Chapel CM Sent from iPhone On Dec 30, 2012, at 2:23, Richmond wrote: > Those of you who don't want to feel faintly queasy had better tune out now. > > Theoretical / Pedagogical rant follows. > > ---------------------------------------------------------------------------------------------------- > > Maybe I'm missing something (nothing particularly unusual there), but . . . > > I don't really "get" REGEX. > > And,frankly, why on earth would I, or anyone else for that matter, want to read through > some awfully long, wordy and obscure load of b*mf about it? > > -------------------------- > > And the Wikipedia article: http://en.wikipedia.org/wiki/Regex > > starts off by describing the blindingly obvious, and then tries to dress the whole thing up in a load of jargon so > some fancy academic can draw a fat salary for understanding the blindingly obvious, and/or > being capable of thinking in a straight line . . . but, hey, that seems to be a universal problem. > > -------------------------- > > What I do understand is that one needs a script(s) that looks for patterns in a string and replaces > them with other patterns, and that there needs to be a hierarchy of patterns. > > Consider "my problem" (apart from all the other ones, that is): > > I have a line of text in "some funny language" that goes like this; > > 1aQngh1swnpQavh > > now there are the following considerations I have to deal with: > > 1. Every time I encounter a '1' it has to be shunted after the char it precedes. > > 2. Every time I encounter a 'Q' it has to be shunted before a char it comes after. > > 3. 1aQ (this is what is known as "the squirrel in the wood-pile" (and I'm sorry if I have offended any squirrels). > > Now a hierarchy of pattern recognition means I have to trap '1aQ' > before I trap '1' and 'Q', because if I do things the other way round > everything is going to be "stewed squirrel" to coin a phrase. > > Obviously there is the possibility that one might have to trap for '1*Q', where '*' may be anything, and that adds > a certain frisson to the whole thing. > > Now, where I come from, that is not called REGEX, that is called either 'logic' or 'getting things done in the right order'. > > ---------------------------------------------------------------------- > > So, I sat down at my kitchen table with a pile of chess pieces (I have about 5 identical sets lying around) > and lined them up in an order rather like '1aQngh1swnpQavh' and then, with some more as 'my second text field' > tried switching the things around - and after about 10 minutes everything made reasonably good sense. > > And, as most programming seems to consist of getting things in the right order (or, as a friend of mine once remarked > "getting things in the right ordure") that is about all there is to things. > > ---------------------------------------------------------------------- > > Now you might be quite accurate in describing me as: > > 1. Child-like. > > 2. Not very good at abstract thought. > > But when one considers that about 95% of people are pretty much like that, then > maybe chess pieces on the kitchen table, and/or plastic cups with beans, are not > a bad way to go. > > -------------------------------------------------------------------- > > 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 richmondmathewson at gmail.com Sun Dec 30 15:31:01 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 30 Dec 2012 22:31:01 +0200 Subject: Help with Regex (was Re: Switch, Case and wild-cards?) In-Reply-To: <1461473A-98F3-4C9B-94CA-54854A60900C@me.com> References: <376EE793-C74A-4450-8DBA-14628893FACA@thehales.id.au> <1356812081764-4658457.post@n4.nabble.com> <1356852309788-4658489.post@n4.nabble.com> <50E01606.2030403@gmail.com> <1461473A-98F3-4C9B-94CA-54854A60900C@me.com> Message-ID: <50E0A485.8070803@gmail.com> On 12/30/2012 10:08 PM, Robert Sneidar wrote: > I ran into a similar problem doing search and replace in word to clean up text from some data system destined for excel. My solution was often to replace a character or string I wanted to preserve with a placeholder, replace or remove what remains, then restore my placeholders with the original values. In situations like this, work with bigger strings first, and sometimes you need to work it end to beginning, especially if you are using a word or character counter to keep track of where you are. > > Bob Sneidar > IT Manager > Calvary Chapel CM > Sent from iPhone > > Well, I am doing perfectly alright with the pattern searching routine I worked out with Unicode; as long as one works out which pattern to search for first, second and so forth everything is comparatively straightforward. This does not involve placeholders, nor anything else as bizarre. Here's a text: | abcdGfEhijGkElmnopGqrstuEvwxfyz | and I know that I have to move 'E' forwards to before the letter that precedes it, I know that I have to move 'G' to after the letter it follows, and, I know that I have to replace 'f' with '&&&'. Now as 'G' and 'E' sometimes occur as 'doublets', vis 'GkE' I know that they have to swap before worrying about single instances of either 'G' or 'E', and that, as 'f' sometimes occurs in relation to either 'G' or 'E', or both of them, I have to replace 'f' with '&&&' after the other operations, otherwise they won't work. So: 1. swap 'G' and 'E' when they surround one character. 2. move 'E' forwards by 1 when it occurs in isolation, and make sure that precludes those 'E' chars that have already been swapped by rule #1. 3. Ditto for 'G'. 4. replace every instance of 'a' by '&&&'. One of the ways of avoiding falling over the results of rule #1 while implementing #2 and #3 is to encode 'G' and 'E' in rule #1 as different symbols, say '%' and '@' after processing so that rules #2 and #3 don't pick them up (one can always have some rules #5 and #6 to replace '%' and '@' with 'G' and 'E' after running through rules #2, #3 and #4). Now the "fun" of the whole thing is that I have to do that sort of thing with texts that contain about 20 patterns of the "swap X with Y" type. -------------------------------- Having worked out a way to do this in 2010 (and then being fairly stupid and forgetting the whole thing) with Unicode putting the whole thing into practise has nothing at all to do with the strengths or short-comings of Livecode, but the limitations of the human mind to get itself wrapped around the underlying logic needed to work out the correct sequence of transformations. Richmond. From mfstuart at cox.net Sun Dec 30 15:41:40 2012 From: mfstuart at cox.net (Mark Stuart) Date: Sun, 30 Dec 2012 12:41:40 -0800 (PST) Subject: Dockable Panes In-Reply-To: References: <20121229204843.6YAVE.503081.imail@fed1rmwml205> <1356845546335-4658484.post@n4.nabble.com> Message-ID: <1356900100564-4658505.post@n4.nabble.com> Dick, Take a look at Codejocks ActiveX control: http://www.codejock.com/products/dockingpane/tour_3.asp?platform=com This web page shows an animation of the panes being moved and relocated into another position. This is what I'm talking about when a pane is moved. Notice the "handle" icons that are made visible when dragging begins. It's a placement icon to show where the pane can be dropped, and it previews the place of the pane with a transparent pane when the mouse moves over it. Dick - answering your question, pane #4 would occupy pane #2 and #4 area. Again, you can see this in the Codejock web page referenced above. Richard - I read your reply and looked at the pencil-animation web site (cool software). Each pane can be represented as a toolbox or contain information such as record detail, for example. Each pane has a header, which contains a title and buttons. Buttons can be to close/remove the pane, or have a drop-down menu for actions. The header is the dragging object. I will continue to prototype in LC until I have something to show. If I'm successful at uploading to RevOnline, I'll place it there for y'll to take a look at. ----- Regards, Mark Stuart -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Dockable-Panes-tp4658476p4658505.html Sent from the Revolution - User mailing list archive at Nabble.com. From slylabs13 at me.com Sun Dec 30 15:44:52 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Sun, 30 Dec 2012 12:44:52 -0800 Subject: Help with Regex (was Re: Switch, Case and wild-cards?) In-Reply-To: <50E0A485.8070803@gmail.com> References: <376EE793-C74A-4450-8DBA-14628893FACA@thehales.id.au> <1356812081764-4658457.post@n4.nabble.com> <1356852309788-4658489.post@n4.nabble.com> <50E01606.2030403@gmail.com> <1461473A-98F3-4C9B-94CA-54854A60900C@me.com> <50E0A485.8070803@gmail.com> Message-ID: <61509653-5D23-4F74-A89B-B29672A08259@me.com> That is what I meant by placeholders. So long as you are 99.998% sure your placeholders cannot naturally occur in the source string, you're good. Bob Sneidar IT Manager Calvary Chapel CM Sent from iPhone On Dec 30, 2012, at 12:31, Richmond wrote: > One of the ways of avoiding falling over the results of rule #1 while implementing > #2 and #3 is to encode 'G' and 'E' in rule #1 as different symbols, say '%' and '@' > after processing so that rules #2 and #3 don't pick them up (one can always have > some rules #5 and #6 to replace '%' and '@' with 'G' and 'E' after running through > rules #2, #3 and #4). From richmondmathewson at gmail.com Sun Dec 30 15:51:07 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 30 Dec 2012 22:51:07 +0200 Subject: Help with Regex (was Re: Switch, Case and wild-cards?) In-Reply-To: <61509653-5D23-4F74-A89B-B29672A08259@me.com> References: <376EE793-C74A-4450-8DBA-14628893FACA@thehales.id.au> <1356812081764-4658457.post@n4.nabble.com> <1356852309788-4658489.post@n4.nabble.com> <50E01606.2030403@gmail.com> <1461473A-98F3-4C9B-94CA-54854A60900C@me.com> <50E0A485.8070803@gmail.com> <61509653-5D23-4F74-A89B-B29672A08259@me.com> Message-ID: <50E0A93B.1060205@gmail.com> On 12/30/2012 10:44 PM, Robert Sneidar wrote: > That is what I meant by placeholders. Aha; well we of little brain need a more explicit explanation :) > So long as you are 99.998% sure your placeholders cannot naturally occur in the source string, you're good. > > Bob Sneidar > IT Manager > Calvary Chapel CM > Sent from iPhone > > On Dec 30, 2012, at 12:31, Richmond wrote: > >> One of the ways of avoiding falling over the results of rule #1 while implementing >> #2 and #3 is to encode 'G' and 'E' in rule #1 as different symbols, say '%' and '@' >> after processing so that rules #2 and #3 don't pick them up (one can always have >> some rules #5 and #6 to replace '%' and '@' with 'G' and 'E' after running through >> rules #2, #3 and #4). > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 30 16:18:12 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 30 Dec 2012 13:18:12 -0800 Subject: Help with Regex (was Re: Switch, Case and wild-cards?) In-Reply-To: <1461473A-98F3-4C9B-94CA-54854A60900C@me.com> References: <376EE793-C74A-4450-8DBA-14628893FACA@thehales.id.au> <1356812081764-4658457.post@n4.nabble.com> <1356852309788-4658489.post@n4.nabble.com> <50E01606.2030403@gmail.com> <1461473A-98F3-4C9B-94CA-54854A60900C@me.com> Message-ID: On Sun, Dec 30, 2012 at 12:08 PM, Robert Sneidar wrote: > I ran into a similar problem doing search and replace in word to clean up text from >some data system destined for excel. Also, when you need to do this, open in OpenOffice, which has most of regexp search/replace. -- Richard E. Hawkins, Esq. (702) 508-8462 From simon at asato-media.com Sun Dec 30 18:28:07 2012 From: simon at asato-media.com (As_Simon) Date: Sun, 30 Dec 2012 15:28:07 -0800 (PST) Subject: Dockable Panes In-Reply-To: <1356900100564-4658505.post@n4.nabble.com> References: <20121229204843.6YAVE.503081.imail@fed1rmwml205> <1356845546335-4658484.post@n4.nabble.com> <1356900100564-4658505.post@n4.nabble.com> Message-ID: <1356910087772-4658510.post@n4.nabble.com> There is a start at revOnline: http://revonline2.runrev.com/stack/595/Resizing-Pane-Example Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Dockable-Panes-tp4658476p4658510.html Sent from the Revolution - User mailing list archive at Nabble.com. From todd at geistinteractive.com Sun Dec 30 19:42:22 2012 From: todd at geistinteractive.com (Todd Geist) Date: Sun, 30 Dec 2012 16:42:22 -0800 Subject: File Properties Message-ID: <50E0DF6E.6090903@geistinteractive.com> Hello, I am looking for a way to get the modification time stamp of a file on disk. I see how I could get this info from the defaultFolder using "the detailed files" but I only have the path to the file. Seems like this should be easy. So I figure I am missing something. What could it be? Thanks & Happy New Year! Todd From m.schonewille at economy-x-talk.com Sun Dec 30 19:50:31 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 31 Dec 2012 01:50:31 +0100 Subject: File Properties In-Reply-To: <50E0DF6E.6090903@geistinteractive.com> References: <50E0DF6E.6090903@geistinteractive.com> Message-ID: <628F4CE0-FBE4-4750-AFEE-C310CC590180@economy-x-talk.com> Hi Todd, set the itemDel to slash set the defaultFolder to item 1 to -2 of myFilePath put the detailed files into myFiles -- etc -- 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 31 dec 2012, at 01:42, Todd Geist wrote: > Hello, > > I am looking for a way to get the modification time stamp of a file on disk. I see how I could get this info from the defaultFolder using "the detailed files" but I only have the path to the file. Seems like this should be easy. So I figure I am missing something. What could it be? > > Thanks & Happy New Year! > > Todd From mfstuart at cox.net Mon Dec 31 01:27:19 2012 From: mfstuart at cox.net (Mark Stuart) Date: Sun, 30 Dec 2012 22:27:19 -0800 (PST) Subject: Dockable Panes In-Reply-To: <1356910087772-4658510.post@n4.nabble.com> References: <20121229204843.6YAVE.503081.imail@fed1rmwml205> <1356845546335-4658484.post@n4.nabble.com> <1356900100564-4658505.post@n4.nabble.com> <1356910087772-4658510.post@n4.nabble.com> Message-ID: <1356935239909-4658513.post@n4.nabble.com> Hi As_Simon, I took a look at the web page of the link you gave. It shows how to resize controls with the concept of a "splitter". What I'm talking about is docking panes. Have a look at the link I supplied to Codejock. A whole different matter. But thanks for that. Those who read this topic will then see the difference. ----- Regards, Mark Stuart -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Dockable-Panes-tp4658476p4658513.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Mon Dec 31 05:55:29 2012 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 31 Dec 2012 12:55:29 +0200 Subject: REGEX and Livecode Message-ID: <50E16F21.9060008@gmail.com> Sorry chaps to start a new thread on this, but, somehow lost track of the last one :( Having 'swallowed my pride' and accepted that there MIGHT be more to REGEX than pattern matching, as I outlined in earlier postings, I had a look at the URLs various people on the Use-List provided: Finding this one fairly thought provoking: http://www.regular-expressions.info/quickstart.html My thoughts were provoked in 2 ways: 1. REGEX seems useful. 2. How does one use REGEX within Livecode (and, my inevitable rider; cross-platform) ? Because REGEX expressions do NOT seem to be written in whatever name the RR/LC language is going by at the moment (HyperTalk, MetaTalk, RevTalk, Transcript, Revolution. Livecode ???). Now, as a mono-maniac for Livecode (i.e. I don't use any other programming languages on a regular basis) I am only going to go to the bother (and there does seem to be quite a bit of that) to learn REGEX if: 1. It can be, somehow, integrated into Livecode. 2. It will serve me better than the way I am doing things at the moment (pace earlier postings). Call me "an awkward sausage" if you will; but, I suspect that those thoughts may, in part at least, reflect the thoughts of a lot of the "silent masses" who would like to do all sorts of jolly data sorting and/or modification with Livecode. Further to this, I would like to point out this: http://lessons.runrev.com/s/lessons/m/4603/l/44092-working-with-text [ admittedly it does not, directly, refer to unicodeText fields; but that, as I have already found out, can be dealt with comparatively easily ] which makes me wonder why one needs to go and "bang one's head against the wall" of REGEX. Richmond. From richmondmathewson at gmail.com Mon Dec 31 07:16:59 2012 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 31 Dec 2012 14:16:59 +0200 Subject: Readability testing Message-ID: <50E1823B.7030400@gmail.com> Here's a whole new can of worms: http://www.editcentral.com/gwt1/EditCentral.html "wordCount is the number of words in the text. sentenceCount is the number of sentences in the text. syllableCount is the number of syllables in the text. letterNumberCount is the number of letters and numbers in the text. complexCount is the number of words of three or more syllables in the text." the necessary formula for all the different readibility methods are given, in Java, on the webpage, but they presuppose wordCount, snetenceCount and so on. Now, while one can effect a wordCount with no problem at all in Livecode, and one can effect a sentenceCount by looking at strings ending in . ! ? and one can effect letterCount. I am completely unsure how one would manage a syllableCount. Something to chew over as we go into the New Year! Richmond. From richmondmathewson at gmail.com Mon Dec 31 07:25:23 2012 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 31 Dec 2012 14:25:23 +0200 Subject: [OT] Open Sankore Message-ID: <50E18433.2040305@gmail.com> http://open-sankore.org/en worth a look. From davidocoker at gmail.com Mon Dec 31 08:40:49 2012 From: davidocoker at gmail.com (David C.) Date: Mon, 31 Dec 2012 07:40:49 -0600 Subject: REGEX and Livecode In-Reply-To: <50E16F21.9060008@gmail.com> References: <50E16F21.9060008@gmail.com> Message-ID: On Mon, Dec 31, 2012 at 4:55 AM, Richmond wrote: > Sorry chaps to start a new thread on this, but, somehow lost track of the > last one :( > > Having 'swallowed my pride' and accepted that there MIGHT be more to REGEX > than > pattern matching, as I outlined in earlier postings, I had a look at the > URLs various people on the > Use-List provided: > > Finding this one fairly thought provoking: > http://www.regular-expressions.info/quickstart.html > > My thoughts were provoked in 2 ways: > > 1. REGEX seems useful. > > 2. How does one use REGEX within Livecode (and, my inevitable rider; > cross-platform) ? > > Because REGEX expressions do NOT seem to be written in whatever name > the RR/LC language is going by at the moment (HyperTalk, MetaTalk, RevTalk, > Transcript, > Revolution. Livecode ???). > > Now, as a mono-maniac for Livecode (i.e. I don't use any other programming > languages > on a regular basis) I am only going to go to the bother (and there does seem > to be quite a bit of that) > to learn REGEX if: > > 1. It can be, somehow, integrated into Livecode. > > 2. It will serve me better than the way I am doing things at the moment > (pace earlier postings). > > Call me "an awkward sausage" if you will; but, I suspect that those thoughts > may, in part at least, > reflect the thoughts of a lot of the "silent masses" who would like to do > all sorts of jolly data > sorting and/or modification with Livecode. > > Further to this, I would like to point out this: > > http://lessons.runrev.com/s/lessons/m/4603/l/44092-working-with-text > > [ admittedly it does not, directly, refer to unicodeText fields; but that, > as I have already found out, > can be dealt with comparatively easily ] > > which makes me wonder why one needs to go and "bang one's head against the > wall" of REGEX. Hi Richmond, RegEx has been incorporated directly into LiveCode since at least the version 2.5 days which is where I came aboard. There is a very brief "guide" starting on page 181 of the current Userguide which shows the usage in LC without any depth for learning RegEx itself. As to the "why" of RegEx... I can say that in other languages where it has been incorporated, I've seen some wildly complex, almost mind boggling text processing done with one single line of RegEx code. With all of that said, I still personally enjoy (and prefer) the more often used text processing capabilities of LC, far more than anything else I've ever tried. Regards, David C. From bonnmike at gmail.com Mon Dec 31 08:51:56 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 31 Dec 2012 06:51:56 -0700 Subject: Readability testing In-Reply-To: <50E1823B.7030400@gmail.com> References: <50E1823B.7030400@gmail.com> Message-ID: http://www.howmanysyllables.com/howtocountsyllables.html A starting point for syllable counting perhaps. On Mon, Dec 31, 2012 at 5:16 AM, Richmond wrote: > Here's a whole new can of worms: > > http://www.editcentral.com/**gwt1/EditCentral.html > > "wordCount is the number of words in the text. > sentenceCount is the number of sentences in the text. > syllableCount is the number of syllables in the text. > letterNumberCount is the number of letters and numbers in the text. > complexCount is the number of words of three or more syllables in the > text." > > the necessary formula for all the different readibility methods are given, > in Java, on the webpage, > but they presuppose wordCount, snetenceCount and so on. > > Now, while one can effect a wordCount with no problem at all in Livecode, > > and one can effect a sentenceCount by looking at strings ending in . ! ? > > and one can effect letterCount. > > I am completely unsure how one would manage a syllableCount. > > Something to chew over as we go into the New Year! > > 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 richmondmathewson at gmail.com Mon Dec 31 10:07:26 2012 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 31 Dec 2012 17:07:26 +0200 Subject: REGEX and Livecode In-Reply-To: References: <50E16F21.9060008@gmail.com> Message-ID: <50E1AA2E.7060909@gmail.com> On 12/31/2012 03:40 PM, David C. wrote: > On Mon, Dec 31, 2012 at 4:55 AM, Richmond wrote: >> Sorry chaps to start a new thread on this, but, somehow lost track of the >> last one :( >> >> Having 'swallowed my pride' and accepted that there MIGHT be more to REGEX >> than >> pattern matching, as I outlined in earlier postings, I had a look at the >> URLs various people on the >> Use-List provided: >> >> Finding this one fairly thought provoking: >> http://www.regular-expressions.info/quickstart.html >> >> My thoughts were provoked in 2 ways: >> >> 1. REGEX seems useful. >> >> 2. How does one use REGEX within Livecode (and, my inevitable rider; >> cross-platform) ? >> >> Because REGEX expressions do NOT seem to be written in whatever name >> the RR/LC language is going by at the moment (HyperTalk, MetaTalk, RevTalk, >> Transcript, >> Revolution. Livecode ???). >> >> Now, as a mono-maniac for Livecode (i.e. I don't use any other programming >> languages >> on a regular basis) I am only going to go to the bother (and there does seem >> to be quite a bit of that) >> to learn REGEX if: >> >> 1. It can be, somehow, integrated into Livecode. >> >> 2. It will serve me better than the way I am doing things at the moment >> (pace earlier postings). >> >> Call me "an awkward sausage" if you will; but, I suspect that those thoughts >> may, in part at least, >> reflect the thoughts of a lot of the "silent masses" who would like to do >> all sorts of jolly data >> sorting and/or modification with Livecode. >> >> Further to this, I would like to point out this: >> >> http://lessons.runrev.com/s/lessons/m/4603/l/44092-working-with-text >> >> [ admittedly it does not, directly, refer to unicodeText fields; but that, >> as I have already found out, >> can be dealt with comparatively easily ] >> >> which makes me wonder why one needs to go and "bang one's head against the >> wall" of REGEX. > Hi Richmond, > RegEx has been incorporated directly into LiveCode since at least the > version 2.5 days which is where I came aboard. Hey! I missed something, again! Well, well, well :) > There is a very brief > "guide" starting on page 181 of the current Userguide which shows the > usage in LC without any depth for learning RegEx itself. > > As to the "why" of RegEx... I can say that in other languages where it > has been incorporated, I've seen some wildly complex, almost mind > boggling text processing done with one single line of RegEx code. > > With all of that said, I still personally enjoy (and prefer) the more > often used text processing capabilities of LC, far more than anything > else I've ever tried. Having looked briefly at REGEX I am inclined to agree, and would only use it if I couldn't work out another way round something. Wishing you (and everybody else on the Use-List) a Happy New Year untroubled with the niceties of stuff like REGEX! Richmond. > > Regards, > David C. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 31 10:16:17 2012 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 31 Dec 2012 17:16:17 +0200 Subject: Readability testing In-Reply-To: References: <50E1823B.7030400@gmail.com> Message-ID: <50E1AC41.3010808@gmail.com> On 12/31/2012 03:51 PM, Mike Bonner wrote: > http://www.howmanysyllables.com/howtocountsyllables.html A starting point > for syllable counting perhaps. Certainly a start . . . But how a computer would: "Usually divide before a single consonant. o/pen, i/tem, e/vil, re/port. The only exceptions are those times when the first syllable has an obvious short sound, as in "cab/in"." be able to work out when a vowel is pronounced as "an obvious short sound" or not escapes me. The "problem" about all languages is that they are never written phonetically (with the possible exception of language written in the IPA, which bravely attempts to represent each sound with a single symbol - of course once one gets into supra-segmentalism one is in a hell only enjoyed by really 'kinky' linguists) and, as such, a computer cannot do that sort of thing as it is incapable of making a subjective judgement call . . . . . . arguably what will always prevent computers being able to imitate human reasoning completely is just that; a computer cannot ascribe subjective value (good, bad) to something. It would be interesting to know how the Java mages worked out how to count syllables, and how accurate that is. > > > On Mon, Dec 31, 2012 at 5:16 AM, Richmond wrote: > >> Here's a whole new can of worms: >> >> http://www.editcentral.com/**gwt1/EditCentral.html >> >> "wordCount is the number of words in the text. >> sentenceCount is the number of sentences in the text. >> syllableCount is the number of syllables in the text. >> letterNumberCount is the number of letters and numbers in the text. >> complexCount is the number of words of three or more syllables in the >> text." >> >> the necessary formula for all the different readibility methods are given, >> in Java, on the webpage, >> but they presuppose wordCount, snetenceCount and so on. >> >> Now, while one can effect a wordCount with no problem at all in Livecode, >> >> and one can effect a sentenceCount by looking at strings ending in . ! ? >> >> and one can effect letterCount. >> >> I am completely unsure how one would manage a syllableCount. >> >> Something to chew over as we go into the New Year! >> >> 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 bonnmike at gmail.com Mon Dec 31 10:23:01 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 31 Dec 2012 08:23:01 -0700 Subject: Readability testing In-Reply-To: <50E1AC41.3010808@gmail.com> References: <50E1823B.7030400@gmail.com> <50E1AC41.3010808@gmail.com> Message-ID: Interestingly enough, I just looked a few words up in the dictionary on my mac (the built in dict) and it has syllable breaks indicated in all but 1 case so far. Also was curious and did some googling. A good answer would probably be to find a dictionary that has most words done, snip the info, and build a lookup table. On Mon, Dec 31, 2012 at 8:16 AM, Richmond wrote: > On 12/31/2012 03:51 PM, Mike Bonner wrote: > >> http://www.howmanysyllables.**com/howtocountsyllables.html A starting point >> for syllable counting perhaps. >> > > Certainly a start . . . > > But how a computer would: > > "Usually divide before a single consonant. > o/pen, i/tem, e/vil, re/port. > The only exceptions are those times when the first syllable has an obvious > short sound, as in "cab/in"." > > be able to work out when a vowel is pronounced as "an obvious short sound" > or not escapes me. > > The "problem" about all languages is that they are never written > phonetically (with the possible exception of > language written in the IPA, which bravely attempts to represent each > sound with a single symbol - of course > once one gets into supra-segmentalism one is in a hell only enjoyed by > really 'kinky' linguists) and, as such, > a computer cannot do that sort of thing as it is incapable of making a > subjective judgement call . . . > > . . . arguably what will always prevent computers being able to imitate > human reasoning completely is > just that; a computer cannot ascribe subjective value (good, bad) to > something. > > It would be interesting to know how the Java mages worked out how to count > syllables, and how accurate that is. > > >> >> On Mon, Dec 31, 2012 at 5:16 AM, Richmond ** >> wrote: >> >> Here's a whole new can of worms: >>> >>> http://www.editcentral.com/****gwt1/EditCentral.html >>> >>> > >>> >>> "wordCount is the number of words in the text. >>> sentenceCount is the number of sentences in the text. >>> syllableCount is the number of syllables in the text. >>> letterNumberCount is the number of letters and numbers in the text. >>> complexCount is the number of words of three or more syllables in the >>> text." >>> >>> the necessary formula for all the different readibility methods are >>> given, >>> in Java, on the webpage, >>> but they presuppose wordCount, snetenceCount and so on. >>> >>> Now, while one can effect a wordCount with no problem at all in Livecode, >>> >>> and one can effect a sentenceCount by looking at strings ending in . ! ? >>> >>> and one can effect letterCount. >>> >>> I am completely unsure how one would manage a syllableCount. >>> >>> Something to chew over as we go into the New Year! >>> >>> 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 >>> <**http://lists.runrev.com/**mailman/listinfo/use-livecode >>> > >>> >>> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at 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 Dec 31 10:25:26 2012 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 31 Dec 2012 17:25:26 +0200 Subject: Readability testing In-Reply-To: References: <50E1823B.7030400@gmail.com> <50E1AC41.3010808@gmail.com> Message-ID: <50E1AE66.2060605@gmail.com> On 12/31/2012 05:23 PM, Mike Bonner wrote: > Interestingly enough, I just looked a few words up in the dictionary on my > mac (the built in dict) and it has syllable breaks indicated in all but 1 > case so far. Also was curious and did some googling. A good answer would > probably be to find a dictionary that has most words done, snip the info, > and build a lookup table. Well said that man! > > > On Mon, Dec 31, 2012 at 8:16 AM, Richmond wrote: > >> On 12/31/2012 03:51 PM, Mike Bonner wrote: >> >>> http://www.howmanysyllables.**com/howtocountsyllables.html A starting point >>> for syllable counting perhaps. >>> >> Certainly a start . . . >> >> But how a computer would: >> >> "Usually divide before a single consonant. >> o/pen, i/tem, e/vil, re/port. >> The only exceptions are those times when the first syllable has an obvious >> short sound, as in "cab/in"." >> >> be able to work out when a vowel is pronounced as "an obvious short sound" >> or not escapes me. >> >> The "problem" about all languages is that they are never written >> phonetically (with the possible exception of >> language written in the IPA, which bravely attempts to represent each >> sound with a single symbol - of course >> once one gets into supra-segmentalism one is in a hell only enjoyed by >> really 'kinky' linguists) and, as such, >> a computer cannot do that sort of thing as it is incapable of making a >> subjective judgement call . . . >> >> . . . arguably what will always prevent computers being able to imitate >> human reasoning completely is >> just that; a computer cannot ascribe subjective value (good, bad) to >> something. >> >> It would be interesting to know how the Java mages worked out how to count >> syllables, and how accurate that is. >> >> >>> On Mon, Dec 31, 2012 at 5:16 AM, Richmond ** >>> wrote: >>> >>> Here's a whole new can of worms: >>>> http://www.editcentral.com/****gwt1/EditCentral.html >>>> >>>> "wordCount is the number of words in the text. >>>> sentenceCount is the number of sentences in the text. >>>> syllableCount is the number of syllables in the text. >>>> letterNumberCount is the number of letters and numbers in the text. >>>> complexCount is the number of words of three or more syllables in the >>>> text." >>>> >>>> the necessary formula for all the different readibility methods are >>>> given, >>>> in Java, on the webpage, >>>> but they presuppose wordCount, snetenceCount and so on. >>>> >>>> Now, while one can effect a wordCount with no problem at all in Livecode, >>>> >>>> and one can effect a sentenceCount by looking at strings ending in . ! ? >>>> >>>> and one can effect letterCount. >>>> >>>> I am completely unsure how one would manage a syllableCount. >>>> >>>> Something to chew over as we go into the New Year! >>>> >>>> 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 >>>> <**http://lists.runrev.com/**mailman/listinfo/use-livecode >>>> ______________________________**_________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/**mailman/listinfo/use-livecode >>> >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 31 10:46:02 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 31 Dec 2012 07:46:02 -0800 Subject: Readability testing In-Reply-To: <50E1823B.7030400@gmail.com> References: <50E1823B.7030400@gmail.com> Message-ID: On Monday, December 31, 2012, Richmond wrote:, > > > and one can effect a sentenceCount by looking at strings ending in . ! ? > Did Dr. Hawkins and Mr. Hawkins arrive at 11 A.M., or 4 P.M.? -- Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Mon Dec 31 11:04:19 2012 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 31 Dec 2012 18:04:19 +0200 Subject: Readability testing In-Reply-To: References: <50E1823B.7030400@gmail.com> Message-ID: <50E1B783.4090204@gmail.com> On 12/31/2012 05:46 PM, Dr. Hawkins wrote: > On Monday, December 31, 2012, Richmond wrote:, >> >> and one can effect a sentenceCount by looking at strings ending in . ! ? >> > Did Dr. Hawkins and Mr. Hawkins arrive at 11 A.M., or 4 P.M.? > That is a valid point that really puts the cat amongst the pigeons. So, having bust up that one . . . . . . how do those 'happy people' on the website use Java to count sentences? or, perhaps they don't and the whole thing is a fudge. Richmond. From richmondmathewson at gmail.com Mon Dec 31 12:07:51 2012 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 31 Dec 2012 19:07:51 +0200 Subject: Fwd: Re: [OT] Open Sankore In-Reply-To: <50E1C593.3030300@gmail.com> References: <50E1C593.3030300@gmail.com> Message-ID: <50E1C667.40206@gmail.com> A reply to a valid question Kee Nethery asked of me. I am not sure why he addressed it to me alone as I feel my answer is important enough for public exposure. [and, Mark Weider, before you make the obvious comment about "Richmond indulging in public exposure" I've done it already LOL]. -------- Original Message -------- Subject: Re: [OT] Open Sankore Date: Mon, 31 Dec 2012 19:04:19 +0200 From: Richmond To: kee nethery On 12/31/2012 06:09 PM, kee nethery wrote: > Maybe explain why so we can determine whether your recommendation applies to us? > Thanks, Kee At least one of the developers on the Livecode Use-List is a teacher, and may leverage Livecode for educational purposes . . . It may well be: 1. Open Sankore contains some features that are worth copying by LC developers. 2. Open Sankore may do some things slightly better than LC (shock, horror, heretical suggestion). Just as I keep an eye on this website: http://tigabyte.com/ (HyperNext), not necessarily because I would ever choose to deploy something made with it on a large scale, but because looking at how things are done 'on the other side of the fence' can be inspiring so, when I encounter something like Open Sankore I have a look at it for similar reasons. --------------------------- I believe that regularly checking on what competition or potential competition to Livecode has to offer is a healthy activity for anyone who uses Livecode to do on a regular basis, much in the same way as, while using Mac and UbuntuStudio Linux, I have a 'spare' machine or two that I use for "outings" with varieties of Windows, Unix, Haiku, other types of Linux and so on from time to time. Systems, of whatever form, do need competition (this is why totalitarian systems, however beneficial and benign they may appear at first, always go 'stale' in due course. China, though it would deny it, is surviving by modifying itself constantly.), this is as true for Livecode as anything else. As we saw in Libya, and are currently seeing in Syria, change comes about when people start walking and/or criticising en masse; those people in those countries did what they did based on information they gathered from elsewhere. Now I am definitely not trying to equate Livecode with Syria in some funny way (for starters, Kevin looks nicer than Assad!); but if one looks at the "also rans" and what happened with Tilestack one may draw some similar conclusions. ------------------------------------- Rant over. Go out and play for the New Year instead of being hunched over a computer!!!! Richmond. > > > On Dec 31, 2012, at 4:25 AM, Richmond wrote: > >> http://open-sankore.org/en >> >> worth a look. >> >> _______________________________________________ >> From pete at lcsql.com Mon Dec 31 13:02:29 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 31 Dec 2012 10:02:29 -0800 Subject: What's On The Menu? In-Reply-To: <50E06D40.2090308@fourthworld.com> References: <50E06D40.2090308@fourthworld.com> Message-ID: Thank you Richard. I think your post finally made me understand what's going on. I had failed to realize that pulldown menus are intended for us in menubars, not as freestanding controls. This may be the first time I've thought about putting a menubar in a window on a Mac, be interesting to see how it works. I still feel though that there is a place for cascading menu items in an option menu, similar to contextual/popup menus. Pete lcSQL Software On Sun, Dec 30, 2012 at 8:35 AM, Richard Gaskin wrote: > Peter Haworth wrote: > >> The pulldown menu works fine, just wonder why the menuHistory part of it >> doesn't work the same as an option menu. >> > > This is probably related to their different purposes: with an option menu > it's important to have the current selection centered over the control, so > the menuHistory provides the means to accomplish that. Pull-down menus are > fixed, with their items always appearing below the control, so menuHistory > has no logical corollary in that context. > > > -- > 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 slylabs13 at me.com Mon Dec 31 13:04:47 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Mon, 31 Dec 2012 10:04:47 -0800 Subject: Help with Regex (was Re: Switch, Case and wild-cards?) In-Reply-To: References: <376EE793-C74A-4450-8DBA-14628893FACA@thehales.id.au> <1356812081764-4658457.post@n4.nabble.com> Message-ID: <3596AD28-75A8-4974-811C-1CB1399E84E2@me.com> Depends on the language. I tried making a Foxpro to Livecode parser once. I encountered situations where there was no good way to accomplish the translation. Also there are commands and functions in each language that have no equivalent in the other, and only another custom or function could accomplish the task. I gave up on it as either impossible, or else impractical. SQL is something that is quite parseable in simpler forms. Parsing complex joins would require a genius far beyond my paltry skills. If you have a good SQL parser that might be something you could make into a plugin. Bob On Dec 29, 2012, at 11:02 PM, Peter Haworth wrote: > Thanks Mark, more good resources. > > A question in the back of my mind now that I know enough about regexp to be > dangerous. Is parsing a language something that can be done with regular > expressions? I have a program in which I jumped though all sorts of hoops > to parse SQL statements. It works quite well but maintaining it is a pain. > It feels like I could use regexps to separate the various "clauses" of a > command, followed by other regexps to parse those clauses depending on type. > > Pete > lcSQL Software > > > On Sat, Dec 29, 2012 at 7:47 PM, Mark Laffoon wrote: > >> I've always found RegExhibit from >> http://roger-jolly.nl/software/#regexhibithelpful. >> Also, for reference material, http://www.regular-expressions.info/ has >> been of great help. >> >> Just my 2 cents. >> Mark >> >> >> -- >> I am CDO. This is a lot like OCD, except the letters are in alphabetical >> order... as they should be. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 31 13:10:58 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 31 Dec 2012 10:10:58 -0800 Subject: Readability testing In-Reply-To: <50E1B783.4090204@gmail.com> References: <50E1823B.7030400@gmail.com> <50E1B783.4090204@gmail.com> Message-ID: Maybe they use regular expressions :-) Pete lcSQL Software On Mon, Dec 31, 2012 at 8:04 AM, Richmond wrote: > On 12/31/2012 05:46 PM, Dr. Hawkins wrote: > >> On Monday, December 31, 2012, Richmond wrote:, >> >>> >>> and one can effect a sentenceCount by looking at strings ending in . ! ? >>> >>> Did Dr. Hawkins and Mr. Hawkins arrive at 11 A.M., or 4 P.M.? >> >> > That is a valid point that really puts the cat amongst the pigeons. > > So, having bust up that one . . . > > . . . how do those 'happy people' on the website use Java to count > sentences? > > or, perhaps they don't and the whole thing is a fudge. > > 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 slylabs13 at me.com Mon Dec 31 13:12:19 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Mon, 31 Dec 2012 10:12:19 -0800 Subject: REGEX and Livecode In-Reply-To: <50E16F21.9060008@gmail.com> References: <50E16F21.9060008@gmail.com> Message-ID: <3DF1A427-4552-4F64-9391-795D065A5E32@me.com> One of the reasons Regex is useful is a lot of SQL implementations support it. I suppose in theory at least, anything you can do with Regex, you can write a function to do in Livecode, but I am not so sure you could say the opposite. It really comes down to this. There are simple one liner Regex commands that are not too difficult, that would take conditional statements inside a loop in livecode to accomplish. Someone already familiar with Regex would probably prefer Regex in that case. > Because REGEX expressions do NOT seem to be written in whatever name > the RR/LC language is going by at the moment (HyperTalk, MetaTalk, RevTalk, Transcript, > Revolution. Livecode ???). We should just start calling it RadScript and be done with it. That might get the attention of the younger crowd. Bob On Dec 31, 2012, at 2:55 AM, Richmond wrote: > Sorry chaps to start a new thread on this, but, somehow lost track of the last one :( > > Having 'swallowed my pride' and accepted that there MIGHT be more to REGEX than > pattern matching, as I outlined in earlier postings, I had a look at the URLs various people on the > Use-List provided: > > Finding this one fairly thought provoking: http://www.regular-expressions.info/quickstart.html > > My thoughts were provoked in 2 ways: > > 1. REGEX seems useful. > > 2. How does one use REGEX within Livecode (and, my inevitable rider; cross-platform) ? > > > Now, as a mono-maniac for Livecode (i.e. I don't use any other programming languages > on a regular basis) I am only going to go to the bother (and there does seem to be quite a bit of that) > to learn REGEX if: > > 1. It can be, somehow, integrated into Livecode. > > 2. It will serve me better than the way I am doing things at the moment (pace earlier postings). > > Call me "an awkward sausage" if you will; but, I suspect that those thoughts may, in part at least, > reflect the thoughts of a lot of the "silent masses" who would like to do all sorts of jolly data > sorting and/or modification with Livecode. > > Further to this, I would like to point out this: > > http://lessons.runrev.com/s/lessons/m/4603/l/44092-working-with-text > > [ admittedly it does not, directly, refer to unicodeText fields; but that, as I have already found out, > can be dealt with comparatively easily ] > > which makes me wonder why one needs to go and "bang one's head against the wall" of REGEX. > > 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 slylabs13 at me.com Mon Dec 31 13:14:37 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Mon, 31 Dec 2012 10:14:37 -0800 Subject: [OT] Open Sankore In-Reply-To: <50E18433.2040305@gmail.com> References: <50E18433.2040305@gmail.com> Message-ID: <0C78AF5F-031D-49A2-8DA8-524833883EF7@me.com> Is that something like Wikipedia for learning? On Dec 31, 2012, at 4:25 AM, Richmond wrote: > http://open-sankore.org/en > > worth a look. From slylabs13 at me.com Mon Dec 31 13:18:47 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Mon, 31 Dec 2012 10:18:47 -0800 Subject: What's On The Menu? In-Reply-To: References: <50E06D40.2090308@fourthworld.com> Message-ID: Perhaps there is. It probably has more to do with User Interface Guidelines than anything else. LC has to stick to the guidelines for their own native objects because they advertise OS compatibility as one of their features. Nothing is stopping anyone from making their own object though, or trying to make a native object behave differently. Bob On Dec 31, 2012, at 10:02 AM, Peter Haworth wrote: > I still feel though that there is a place for cascading menu items in an > option menu, similar to contextual/popup menus. > > Pete > lcSQL Software From slylabs13 at me.com Mon Dec 31 13:23:23 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Mon, 31 Dec 2012 10:23:23 -0800 Subject: Readability testing In-Reply-To: <50E1AC41.3010808@gmail.com> References: <50E1823B.7030400@gmail.com> <50E1AC41.3010808@gmail.com> Message-ID: <3930C944-F27A-4D6F-B909-4171FE96CBCA@me.com> Computers can make the "judgement" the same way people do. By using a lookup table. We are told, "I before E except after C." Great got it. It's a rule much like a computer algorithm. "Oh, and in a list of exceptions as long as your arm." Whoa, now I need to memorize the exceptions if I want to pass that spelling bee! Time for a lookup table stored in the memory of my mind. Bob On Dec 31, 2012, at 7:16 AM, Richmond wrote: > On 12/31/2012 03:51 PM, Mike Bonner wrote: >> http://www.howmanysyllables.com/howtocountsyllables.html A starting point >> for syllable counting perhaps. > > Certainly a start . . . > > But how a computer would: > > "Usually divide before a single consonant. > o/pen, i/tem, e/vil, re/port. > The only exceptions are those times when the first syllable has an obvious short sound, as in "cab/in"." > > be able to work out when a vowel is pronounced as "an obvious short sound" or not escapes me. > > The "problem" about all languages is that they are never written phonetically (with the possible exception of > language written in the IPA, which bravely attempts to represent each sound with a single symbol - of course > once one gets into supra-segmentalism one is in a hell only enjoyed by really 'kinky' linguists) and, as such, > a computer cannot do that sort of thing as it is incapable of making a subjective judgement call . . . > > . . . arguably what will always prevent computers being able to imitate human reasoning completely is > just that; a computer cannot ascribe subjective value (good, bad) to something. > > It would be interesting to know how the Java mages worked out how to count syllables, and how accurate that is. > >> >> >> On Mon, Dec 31, 2012 at 5:16 AM, Richmond wrote: >> >>> Here's a whole new can of worms: >>> >>> http://www.editcentral.com/**gwt1/EditCentral.html >>> >>> "wordCount is the number of words in the text. >>> sentenceCount is the number of sentences in the text. >>> syllableCount is the number of syllables in the text. >>> letterNumberCount is the number of letters and numbers in the text. >>> complexCount is the number of words of three or more syllables in the >>> text." >>> >>> the necessary formula for all the different readibility methods are given, >>> in Java, on the webpage, >>> but they presuppose wordCount, snetenceCount and so on. >>> >>> Now, while one can effect a wordCount with no problem at all in Livecode, >>> >>> and one can effect a sentenceCount by looking at strings ending in . ! ? >>> >>> and one can effect letterCount. >>> >>> I am completely unsure how one would manage a syllableCount. >>> >>> Something to chew over as we go into the New Year! >>> >>> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From slylabs13 at me.com Mon Dec 31 13:26:42 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Mon, 31 Dec 2012 10:26:42 -0800 Subject: Readability testing In-Reply-To: References: <50E1823B.7030400@gmail.com> <50E1B783.4090204@gmail.com> Message-ID: <4A01BF52-0727-4105-936C-3C161A519DEF@me.com> Now I know what has been bothering me about Regular Expressions all this time! There is nothing regular about them! But I suppose it sounds better and more inviting than "Confounding Expressions", or "Cryptic Expressions". Bob On Dec 31, 2012, at 10:10 AM, Peter Haworth wrote: > Maybe they use regular expressions :-) > Pete > lcSQL Software From littlejamesw at mac.com Mon Dec 31 14:13:12 2012 From: littlejamesw at mac.com (Jim Little) Date: Mon, 31 Dec 2012 11:13:12 -0800 Subject: (ANN) SmoothieRx Message-ID: Hi All, We are pleased to announce the release of our 2nd iOS app, SmoothieRx. It's been months in development. Todd, my son, and I had lots to learn about sqlite databases. We are grateful for support through this list and the forums. Other Livecode related tools that we used were Pete Haworth's SQLiteAdmin and Monte Goulding's excellent MergExt suite of externals (mergeAES, mergeReader, mergeSettings, mergeSocial). It's on sale for one week on the App Store for 0.99 as an introductory offer. Price goes up to 1.99 next week. The underlying assumption is that most people don't get adequate amounts of basic nutrients. Getting a fruit-vegetable smoothie one per day (e.g. lunch), can help assure that you're getting those nutrients, yet watching your calories. Data for all 19 nutrients is presented as percent daily need (based on gender and age), rather than absolule weights. The vertical bar charts are hand coded. They work well on iPad but are not ideal on iPhone, with reduced digital real estate. Regards, Jim & Todd Little TheGrubbery.com From pete at lcsql.com Mon Dec 31 14:50:35 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 31 Dec 2012 11:50:35 -0800 Subject: What's On The Menu? In-Reply-To: References: <50E06D40.2090308@fourthworld.com> Message-ID: You're right, LC is great for doing stuff like that, so I did. Put a popup menu on top of an option menu. Make the popup menu the same size as the option menu and set its layer so it's in front of the option menu. Put all your menu items and scripts into the popup menu. Looks like an option menu, allows cascading menu items. Still doesn't behave exactly like an option menu - menuHistory not observed, the menu items appear at the point where you click the mouse - but it gives me cascading menu items that look a lot better than the pulldown menu. Pete lcSQL Software On Mon, Dec 31, 2012 at 10:18 AM, Robert Sneidar wrote: > Nothing is stopping anyone from making their own object though, or trying > to make a native object behave differently. > From slylabs13 at me.com Mon Dec 31 14:59:01 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Mon, 31 Dec 2012 11:59:01 -0800 Subject: What's On The Menu? In-Reply-To: References: <50E06D40.2090308@fourthworld.com> Message-ID: I would probably have tried to hand craft one from scratch, gotten frustrated, and given up. :-) By the way, what would the menuhistory look like for a cascading menu? Since menuhistory is a single number, how would you indicate that the third item of the second item on the second level of the fifth item on the first was chosen? Bob On Dec 31, 2012, at 11:50 AM, Peter Haworth wrote: > You're right, LC is great for doing stuff like that, so I did. > > Put a popup menu on top of an option menu. Make the popup menu the same > size as the option menu and set its layer so it's in front of the option > menu. Put all your menu items and scripts into the popup menu. > > Looks like an option menu, allows cascading menu items. Still doesn't > behave exactly like an option menu - menuHistory not observed, the menu > items appear at the point where you click the mouse - but it gives me > cascading menu items that look a lot better than the pulldown menu. > Pete > lcSQL Software > > > On Mon, Dec 31, 2012 at 10:18 AM, Robert Sneidar wrote: > >> Nothing is stopping anyone from making their own object though, or trying >> to make a native object behave differently. >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 31 16:31:53 2012 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 31 Dec 2012 23:31:53 +0200 Subject: Blocking screenshots? Message-ID: <50E20449.1070908@gmail.com> Having made a demo that won't export export anything, and having blocked copying, I realised that "crafty types" can simply take a screenshot of whatever merry piece of Sanskrit they have typed and use the image however and wherever they like. Now I know that Apple's Quicktime dose not allow screenshots of movies it is playing . . . . . . is anybody aware of how one could block screenshots of all or part of a Livecode standalone? Richmond. From m.schonewille at economy-x-talk.com Mon Dec 31 16:43:47 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 31 Dec 2012 22:43:47 +0100 Subject: Blocking screenshots? In-Reply-To: <50E20449.1070908@gmail.com> References: <50E20449.1070908@gmail.com> Message-ID: <0E3E9477-D46B-463D-B07D-5A210DC52DA2@economy-x-talk.com> Hi Richmond, You could even make a photo of the screen and improve that photo with high-end graphics tools. The best way to protect graphics is by using a watermark, but even then people could simply erase your watermark. -- 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 31 dec 2012, at 22:31, Richmond wrote: > Having made a demo that won't export export anything, and > having blocked copying, I realised that "crafty types" can simply > take a screenshot of whatever merry piece of Sanskrit they > have typed and use the image however and wherever they like. > > Now I know that Apple's Quicktime dose not allow screenshots > of movies it is playing . . . > > . . . is anybody aware of how one could block screenshots of all > or part of a Livecode standalone? > > Richmond. From ambassador at fourthworld.com Mon Dec 31 16:43:53 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 31 Dec 2012 13:43:53 -0800 Subject: Blocking screenshots? In-Reply-To: <50E20449.1070908@gmail.com> References: <50E20449.1070908@gmail.com> Message-ID: <50E20719.3040102@fourthworld.com> Richmond wrote: > . . . is anybody aware of how one could block screenshots of all > or part of a Livecode standalone? All DRM is ultimately illusory. Anything that can be displayed on a computer can be copied. -- 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 Mon Dec 31 16:45:07 2012 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 31 Dec 2012 23:45:07 +0200 Subject: Blocking screenshots? In-Reply-To: <0E3E9477-D46B-463D-B07D-5A210DC52DA2@economy-x-talk.com> References: <50E20449.1070908@gmail.com> <0E3E9477-D46B-463D-B07D-5A210DC52DA2@economy-x-talk.com> Message-ID: <50E20763.4040502@gmail.com> On 12/31/2012 11:43 PM, Mark Schonewille wrote: > Hi Richmond, > > You could even make a photo of the screen and improve that photo with high-end graphics tools. The best way to protect graphics is by using a watermark, but even then people could simply erase your watermark. And, on that cheery note; roll on 2013! > > -- > 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 31 dec 2012, at 22:31, Richmond wrote: > >> Having made a demo that won't export export anything, and >> having blocked copying, I realised that "crafty types" can simply >> take a screenshot of whatever merry piece of Sanskrit they >> have typed and use the image however and wherever they like. >> >> Now I know that Apple's Quicktime dose not allow screenshots >> of movies it is playing . . . >> >> . . . is anybody aware of how one could block screenshots of all >> or part of a Livecode standalone? >> >> 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 richmondmathewson at gmail.com Mon Dec 31 16:46:18 2012 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 31 Dec 2012 23:46:18 +0200 Subject: Blocking screenshots? In-Reply-To: <50E20719.3040102@fourthworld.com> References: <50E20449.1070908@gmail.com> <50E20719.3040102@fourthworld.com> Message-ID: <50E207AA.90506@gmail.com> On 12/31/2012 11:43 PM, Richard Gaskin wrote: > Richmond wrote: >> . . . is anybody aware of how one could block screenshots of all >> or part of a Livecode standalone? > > All DRM is ultimately illusory. Anything that can be displayed on a > computer can be copied. Yes, I know that; but it would be "rather fun" if I could make it reasonably difficult and more time-consuming for my Demo users. > > -- > 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 slylabs13 at me.com Mon Dec 31 16:55:23 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Mon, 31 Dec 2012 13:55:23 -0800 Subject: Blocking screenshots? In-Reply-To: <50E20449.1070908@gmail.com> References: <50E20449.1070908@gmail.com> Message-ID: Try taking a screen shot of Livecode running a revbrowser and see if the browser content is copied. My guess is that it won't be. If so, then you can display all your content in a browser object. Not sure how other utilities work, they may have a workaround for that. Bob On Dec 31, 2012, at 1:31 PM, Richmond wrote: > Having made a demo that won't export export anything, and > having blocked copying, I realised that "crafty types" can simply > take a screenshot of whatever merry piece of Sanskrit they > have typed and use the image however and wherever they like. > > Now I know that Apple's Quicktime dose not allow screenshots > of movies it is playing . . . > > . . . is anybody aware of how one could block screenshots of all > or part of a Livecode standalone? > > 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 lfredricks at proactive-intl.com Mon Dec 31 17:00:15 2012 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Mon, 31 Dec 2012 14:00:15 -0800 Subject: Free Guy Kawasaki Book Message-ID: <640959553F6B4B92B577F4DC20F0D24A@GATEWAY> http://www.yousendit.com/download/WUJZZUNndWNlaFRMYnRVag Guy Kawasaki is giving away a bunch of books for New Year's. Got the link above by way of Facebook, the link which may be shared far and wide. Best regards, Lynn Fredricks Mirye Software Publishing http://www.mirye.com From roger.e.eller at sealedair.com Mon Dec 31 17:00:44 2012 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 31 Dec 2012 17:00:44 -0500 Subject: Blocking screenshots? In-Reply-To: <50E207AA.90506@gmail.com> References: <50E20449.1070908@gmail.com> <50E20719.3040102@fourthworld.com> <50E207AA.90506@gmail.com> Message-ID: For your demo, maybe make everything very pale (20% of normal luminance), but have partial regions of text shown normally as a preview of the full version. ~Roger On Mon, Dec 31, 2012 at 4:46 PM, Richmond wrote: > Yes, I know that; but it would be "rather fun" if I could make it > reasonably difficult and more > time-consuming for my Demo users. From slylabs13 at me.com Mon Dec 31 17:09:48 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Mon, 31 Dec 2012 14:09:48 -0800 Subject: Blocking screenshots? In-Reply-To: References: <50E20449.1070908@gmail.com> <50E20719.3040102@fourthworld.com> <50E207AA.90506@gmail.com> Message-ID: Hey good idea Rooger. Make OCR nearly impossible. Bob On Dec 31, 2012, at 2:00 PM, Roger Eller wrote: > For your demo, maybe make everything very pale (20% of normal luminance), > but have partial regions of text shown normally as a preview of the full > version. > > ~Roger > > On Mon, Dec 31, 2012 at 4:46 PM, Richmond wrote: > >> Yes, I know that; but it would be "rather fun" if I could make it >> reasonably difficult and more >> time-consuming for my Demo users. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lc at pbh.on-rev.com Mon Dec 31 17:13:04 2012 From: lc at pbh.on-rev.com (Paul Hibbert) Date: Mon, 31 Dec 2012 14:13:04 -0800 Subject: Blocking screenshots? In-Reply-To: <50E207AA.90506@gmail.com> References: <50E20449.1070908@gmail.com> <50E20719.3040102@fourthworld.com> <50E207AA.90506@gmail.com> Message-ID: <84D0A800-B5CF-4059-B345-4D05BD00D95D@pbh.on-rev.com> Just thinking out loud? Trap raw key combinations for triggering a screen-grab within your app, different for Mac & Win obviously, but probably not too difficult. Trap the "Suspend" message then dim or hide the appropriate parts so users can't just put your app into the background then take a screen-grab. And the more difficult part - block screen recording software so users can't record what they are doing and just take a screen-grab from the recording. But ultimately I think Richard and Mark are right, if someone really wants to copy something, they'll find a way. Paul P.S. You can make a screen-grab from revBrowser. On 2012-12-31, at 1:46 PM, Richmond wrote: > On 12/31/2012 11:43 PM, Richard Gaskin wrote: >> Richmond wrote: >>> . . . is anybody aware of how one could block screenshots of all >>> or part of a Livecode standalone? >> >> All DRM is ultimately illusory. Anything that can be displayed on a computer can be copied. > > Yes, I know that; but it would be "rather fun" if I could make it reasonably difficult and more > time-consuming for my Demo users. > >> >> -- >> 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 slylabs13 at me.com Mon Dec 31 17:21:01 2012 From: slylabs13 at me.com (Robert Sneidar) Date: Mon, 31 Dec 2012 14:21:01 -0800 Subject: Blocking screenshots? In-Reply-To: <50E20449.1070908@gmail.com> References: <50E20449.1070908@gmail.com> Message-ID: <2AB19DA4-3D8B-48F7-B75D-2A8EDA67F21D@me.com> Never mind Richard. It works a peach when taking a shot of just the window, the browser object is not included, but when drawing a rectangle for the screen shot image, it does in fact include the browser. It was a nice try though. Bob > Try taking a screen shot of Livecode running a revbrowser and see if the browser content is copied. My guess is that it won't be. If so, then you can display all your content in a browser object. Not sure how other utilities work, they may have a workaround for that. > > Bob > > > On Dec 31, 2012, at 1:31 PM, Richmond wrote: >> Having made a demo that won't export export anything, and >> having blocked copying, I realised that "crafty types" can simply >> take a screenshot of whatever merry piece of Sanskrit they >> have typed and use the image however and wherever they like. >> >> Now I know that Apple's Quicktime dose not allow screenshots >> of movies it is playing . . . >> >> . . . is anybody aware of how one could block screenshots of all >> or part of a Livecode standalone? >> >> Richmond. > From richmondmathewson at gmail.com Mon Dec 31 17:51:53 2012 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 01 Jan 2013 00:51:53 +0200 Subject: Free Guy Kawasaki Book In-Reply-To: <640959553F6B4B92B577F4DC20F0D24A@GATEWAY> References: <640959553F6B4B92B577F4DC20F0D24A@GATEWAY> Message-ID: <50E21709.1020204@gmail.com> On 01/01/2013 12:00 AM, Lynn Fredricks wrote: > http://www.yousendit.com/download/WUJZZUNndWNlaFRMYnRVag > > Guy Kawasaki is giving away a bunch of books for New Year's. Got the link > above by way of Facebook, the link which may be shared far and wide. > > Best regards, > > Lynn Fredricks > Mirye Software Publishing > http://www.mirye.com Thanks a bunch; downloaded the lot directly; lotsa reading tomorrow :) > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 31 17:55:16 2012 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 01 Jan 2013 00:55:16 +0200 Subject: Blocking screenshots? In-Reply-To: <84D0A800-B5CF-4059-B345-4D05BD00D95D@pbh.on-rev.com> References: <50E20449.1070908@gmail.com> <50E20719.3040102@fourthworld.com> <50E207AA.90506@gmail.com> <84D0A800-B5CF-4059-B345-4D05BD00D95D@pbh.on-rev.com> Message-ID: <50E217D4.9040203@gmail.com> On 01/01/2013 12:13 AM, Paul Hibbert wrote: > Just thinking out loud? > > Trap raw key combinations for triggering a screen-grab within your app, different for Mac & Win obviously, but probably not too difficult. > > Trap the "Suspend" message then dim or hide the appropriate parts so users can't just put your app into the background then take a screen-grab. > > And the more difficult part - block screen recording software so users can't record what they are doing and just take a screen-grab from the recording. > > But ultimately I think Richard and Mark are right, if someone really wants to copy something, they'll find a way. > > Paul > > P.S. You can make a screen-grab from revBrowser. > > Um; sounds good until you consider certain possibilities: My Devawriter Pro is, currently, available for Mac and Windows . . . I am developing the thing in Vmware Player running Mac OS 10.6 inside a PC running Xubuntu 12.10. Now, whenever I want a screenshot of anything inside the Vmware "thing" I use Screensnap from Linux; anybody else could do that . . . From andre at andregarzia.com Mon Dec 31 18:40:55 2012 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 31 Dec 2012 21:40:55 -0200 Subject: Happy new year Message-ID: Hey Folks and Folkettes, Happy new year from Brazil! We?re starting our parties in here and we wish all a wonderful new year full of joy! :-) Sent from my ASUS Transformer http://andregarzia.com :: Desktop, Mobile and Web programming From jhj at jhj.com Mon Dec 31 18:51:00 2012 From: jhj at jhj.com (Jerry Jensen) Date: Mon, 31 Dec 2012 15:51:00 -0800 Subject: Happy new year In-Reply-To: References: Message-ID: On Dec 31, 2012, at 3:40 PM, Andre Garzia wrote: > Hey Folks and Folkettes, > > Happy new year from Brazil! We?re starting our parties in here and we wish > all a wonderful new year full of joy! > > :-) Ah that Andre - always a step ahead of the rest of us! Happy New Year! From coiin at verizon.net Mon Dec 31 19:04:23 2012 From: coiin at verizon.net (Colin Holgate) Date: Tue, 01 Jan 2013 00:04:23 +0000 Subject: Happy new year In-Reply-To: References: Message-ID: I've been in England over Christmas, and it's 2013 here already. From mwieder at ahsoftware.net Mon Dec 31 19:11:41 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 31 Dec 2012 16:11:41 -0800 Subject: Happy new year In-Reply-To: References: Message-ID: <4459660281.20121231161141@ahsoftware.net> Colin- Monday, December 31, 2012, 4:04:23 PM, you wrote: > I've been in England over Christmas, and it's 2013 here already. Over here it's still last year. -- -Mark Wieder mwieder at ahsoftware.net From monte at sweattechnologies.com Mon Dec 31 19:24:39 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 1 Jan 2013 10:54:39 +1030 Subject: Happy new year In-Reply-To: References: Message-ID: <77DDBF36-9BA2-48CE-A28F-AF8863CFF829@sweattechnologies.com> 11am on the first here in Aus. So birthday over and new year begun with a headache yet again. Have a great year folks and don't forget there's still a couple of days of holiday discounts at mergExt.com ;-) -- M E R Goulding Software development services mergExt - There's an external for that! On 01/01/2013, at 10:34 AM, Colin Holgate wrote: > I've been in England over Christmas, and it's 2013 here already. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 31 21:33:14 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 31 Dec 2012 18:33:14 -0800 Subject: Readability testing In-Reply-To: <4A01BF52-0727-4105-936C-3C161A519DEF@me.com> References: <50E1823B.7030400@gmail.com> <50E1B783.4090204@gmail.com> <4A01BF52-0727-4105-936C-3C161A519DEF@me.com> Message-ID: On Mon, Dec 31, 2012 at 10:26 AM, Robert Sneidar wrote: > Now I know what has been bothering me about Regular Expressions all this time! >There is nothing regular about them! But I suppose it sounds better and more inviting >than "Confounding Expressions", or "Cryptic Expressions". You will not understand the unix mindset until you agree that the very name of "mkdir" is a bug, as no command that important should be only two letters. Dennis Ritchie has assured me that someone (Ken Thomas, I believe) agreed with me. Unix implemented a multi-user system in 64k of memory, which was actually 32k of 16 bit words. Every character counted. Thus, highly compact commands such as regexp. -- Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Mon Dec 31 21:41:06 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 31 Dec 2012 18:41:06 -0800 Subject: Blocking screenshots? In-Reply-To: <50E207AA.90506@gmail.com> References: <50E20449.1070908@gmail.com> <50E20719.3040102@fourthworld.com> <50E207AA.90506@gmail.com> Message-ID: On Mon, Dec 31, 2012 at 1:46 PM, Richmond wrote: > Yes, I know that; but it would be "rather fun" if I could make it reasonably > difficult and more > time-consuming for my Demo users. shift-command-3 and -4 have taken screen/window shots in mac since 1984 . . . (and shift-cmd-1 & -2 still eject!) -- Richard E. Hawkins, Esq. (702) 508-8462