From gcanyon at gmail.com Tue Apr 1 00:10:09 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Mon, 31 Mar 2014 23:10:09 -0500 Subject: points vs rect of a graphic Message-ID: I have a graphic that doesn't want to be visible. Its visible is true. Its backColor is black. It is the topmost object. Its lineSize is 1. I've tried everything I can think of, and it still doesn't show up. Here's the weird part: put the rect of grc id 1557 of stack "revnavigator 1" & cr & the points of grc id 1557 of stack "revnavigator 1" That's putting this: 8,192,235,199 0,73 3,75 222,75 225,73 225,78 222,76 3,76 0,78 0,73 Is it possible for the rect and the points to be in disagreement like that? The lockLoc is false. And now for the solution: set the points of grc id 1557 of stack "revnavigator 1" to the points of grc id 1557 of stack "revnavigator 1" That made it pop into view. Any ideas? LC 6.5.2 on a Mac. From scott at tactilemedia.com Tue Apr 1 00:27:06 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 31 Mar 2014 21:27:06 -0700 Subject: points vs rect of a graphic In-Reply-To: References: Message-ID: Geoff: If your point list really has spaces in it like below, you've essentially got a bunch of disconnected points. If you set the linesize to a higher number, you'd see the points come into view. I seem to recall back in the day you were the one who discovered the spaces-in-a-list-of-points aspect about (at the time) Revolution. In one sense, the behavior is weird, but there are some useful ways to take advantage of the feature. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 3/31/14 9:10 PM, "Geoff Canyon" wrote: >I have a graphic that doesn't want to be visible. Its visible is true. Its >backColor is black. It is the topmost object. Its lineSize is 1. I've >tried >everything I can think of, and it still doesn't show up. Here's the weird >part: > >put the rect of grc id 1557 of stack "revnavigator 1" & cr & the points of >grc id 1557 of stack "revnavigator 1" > >That's putting this: > >8,192,235,199 > >0,73 > >3,75 > >222,75 > >225,73 > >225,78 > >222,76 > >3,76 > >0,78 > >0,73 > > >Is it possible for the rect and the points to be in disagreement like >that? >The lockLoc is false. > > >And now for the solution: > > >set the points of grc id 1557 of stack "revnavigator 1" to the points of >grc id 1557 of stack "revnavigator 1" > > >That made it pop into view. Any ideas? LC 6.5.2 on a Mac. >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From Nakia.Brewer at westrac.com.au Tue Apr 1 00:27:11 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Tue, 1 Apr 2014 04:27:11 +0000 Subject: HTTPS Proxy and PAC files In-Reply-To: <67116DB20798A94285EEE12A67079A284CAD1070@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A284CACEAEC@MHSEXC02.westrac.com.au> <67116DB20798A94285EEE12A67079A284CACFD4C@MHSEXC02.westrac.com.au> <9F206EA9-3158-472E-A0FA-AE7CFF0F6157@m-r-d.de> <67116DB20798A94285EEE12A67079A284CACFE18@MHSEXC02.westrac.com.au> <53337985.80001@hyperactivesw.com> <67116DB20798A94285EEE12A67079A284CAD1070@MHSEXC02.westrac.com.au> Message-ID: <67116DB20798A94285EEE12A67079A284CAD69CF@MHSEXC02.westrac.com.au> For what it's worth, I have also noticed today that LiveCode is unable to complete an Activation automatically through my work network...Have to do a manual activation. Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au ? ACN 009 342 572 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Nakia Brewer Sent: Friday, 28 March 2014 8:47 AM To: How to use LiveCode Subject: RE: HTTPS Proxy and PAC files No I haven't listed a bug yet as I am kind of in the same situation as Jacque. They will ask for details relating to the network and PAC file which I can't provide as I am operating from a work network. Disclosing any of the details Will likely land me in trouble. This really needs to someone better than me to lodge a descriptive bug... Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au ? ACN 009 342 572 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Trevor DeVore Sent: Thursday, 27 March 2014 11:34 PM To: How to use LiveCode Subject: Re: HTTPS Proxy and PAC files On Wed, Mar 26, 2014 at 9:06 PM, J. Landman Gay wrote: > > Nakia, did you report this yet? I don't see it in the bug database. I > started to do it myself but realized I just don't have enough information. > > Or Trevor, maybe you could? You seem to know what's wrong. I need this > fixed but I'm not sure what to say. I don't have things set up to properly to file a bug report on this. I just know what might be going on under the hood as I previously added support for PAC and WPAD detection to the GLX Ap Framework version of libURL. Based on what Nakia describes it sounds like LiveCode is not picking up the system assigned PAC file. Based on the 6.6 release notes it should so I would report a bug: "LibURL has been updated to add support for proxy auto configuration files (PAC). If no global proxy server has been set using the HTTPProxy property, when fetching a URL, LibURL will attempt to parse the systems .pac file in order to extract the proxy server (if any) to use for the given URL." -- Trevor DeVore Blue Mango Learning Systems www.screensteps.com - www.clarify-it.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 COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From gcanyon at gmail.com Tue Apr 1 01:09:30 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 1 Apr 2014 00:09:30 -0500 Subject: points vs rect of a graphic In-Reply-To: References: Message-ID: > On Mar 31, 2014, at 11:27 PM, Scott Rossi wrote: > > If your point list really has spaces in it like below, you've essentially > got a bunch of disconnected points. No extra returns, that's just gmail borking the formatting. :-/ I should also mention this is in a palette. In a regular stack it works fine. Btw, it's your drag and drop code for lists, and the graphic in question is the drag pointer. I'm finally replacing the old, broken DaD code in Navigator. From scott at tactilemedia.com Tue Apr 1 02:07:17 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 31 Mar 2014 23:07:17 -0700 Subject: points vs rect of a graphic In-Reply-To: References: Message-ID: Heh, I thought that graphic looked familiar. :-) Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 3/31/14 10:09 PM, "Geoff Canyon" wrote: > >> On Mar 31, 2014, at 11:27 PM, Scott Rossi >>wrote: >> >> If your point list really has spaces in it like below, you've >>essentially >> got a bunch of disconnected points. > >No extra returns, that's just gmail borking the formatting. :-/ > >I should also mention this is in a palette. In a regular stack it works >fine. Btw, it's your drag and drop code for lists, and the graphic in >question is the drag pointer. I'm finally replacing the old, broken DaD >code in Navigator. >_______________________________________________ >use-livecode mailing list >use-livecode at 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 Apr 1 02:49:36 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 01 Apr 2014 09:49:36 +0300 Subject: LiveCode 6.6.1 RC1 In-Reply-To: <1293FBCD-2E62-46D3-9858-847F0ACF6DD8@btinternet.com> References: <7D26223D-D064-4224-A6BA-3BC26D8D7F1C@me.com> <0A29FF9F-BA29-4A0A-8608-396DE561BF2D@byu.edu> <1293FBCD-2E62-46D3-9858-847F0ACF6DD8@btinternet.com> Message-ID: <533A6180.1010802@gmail.com> On 31/03/14 23:00, Terence Heaford wrote: > Forgive my scepticism. I have just followed your link and noted the following under the Cocoa stretch goal. Despite this we are NOT getting native Cocoa controls. > > "Upgrade our Mac OS X platform support to fully use Cocoa. This will ensure seamless support of all the latest Mac OS X features. Create beautiful OS X apps that get all little user interface details spot on." > > > All the best > > Terry > > 'Stretch' is as stretch does. The word implies all sorts of things: 1. Attaining those goals can be stretched for quite some time. 2. 'Stretching the truth' is a nifty phrase. 3. Remember those Physics lessons and Hooke's law? ALSO: If you go back and look at the Kickstarter goals ('goals' as in 'goals', let alone 'stretch goals') you will see that there is quite some time to go before those have all been implemented. One of the most interesting (and the most contentious as far as I am concerned) is a new GUI . . . although I notice nothing has been said about that subsequently: whether quietly dropped or shelved indefinitely, who knows. In fact, if I am really honest I would be very happy if RunRev could give us some sort of GANTT chart-like thing with all those Kickstarter goals and stretch goals so we could have some idea as to when (relatively speaking) we could expect some of them to be implemented. ------------------------- I would hope that your scepticism is caused by the lack of complete openness in RunRev's part re attaining those goals, rather than their having dropped and/or adjusted some of them post the Kickstarter campaign without telling the investors why. Richmond. From richmondmathewson at gmail.com Tue Apr 1 02:51:08 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 01 Apr 2014 09:51:08 +0300 Subject: very, very slow on Mac Mini In-Reply-To: References: Message-ID: <533A61DC.1090104@gmail.com> On 01/04/14 03:12, Dr. Hawkins wrote: > My application performs snappily on my iMac and powerbook, both with 16gb. > > On the mini, though, it turns to molasses. As in taking several seconds to > turn a from one fairly simple card to the next, which is instantaneous in > either the IDE or a standalone on the other two. It's a slower machine, > but not *that* much slower. > > And this was the only loaded application. > What kind of Mac Mini is that? A PPC one or an INTEL one? Richmond. From stephenREVOLUTION2 at barncard.com Tue Apr 1 03:00:22 2014 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 1 Apr 2014 00:00:22 -0700 Subject: how to sort lines with a $ amount In-Reply-To: References: <1D9E181CF7CA4156B405C43681A6F14B@userd204a4d61c> <1A3F746D-1A68-4A03-93FB-7D323D90E83A@jhj.com> <4A3892C7020C45BD87049C0D8E0F2E77@userd204a4d61c> <95B654B567364149869E1B124744A31B@userd204a4d61c> Message-ID: my solution was very dumb. Sorry to muddy the waters. cleverness abounds on this list. *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* On Mon, Mar 31, 2014 at 8:50 PM, Jerry Jensen wrote: > I also learned from Jacqui that to scramble the lines of a field: > sort lines of field "stuffToScramble" by random(999999999) > Neat trick, that. > > On Mar 31, 2014, at 8:41 PM, wrote: > > > Yes, but you pointed me in the right direction. Jacqui's is good and I'm > sure I'll use something like that one day. > > Yours was 1 line of code and very adequate for my current needs! Thanks > again! > > (plus with yours I learned about being able to sort by char and word > within the same line of code.) > > > > ----- Original Message ----- From: "Jerry Jensen" > > To: "How to use LiveCode" > > Sent: Monday, March 31, 2014 9:37 PM > > Subject: Re: how to sort lines with a $ amount > > > > > >> Oops. So much for not testing. I like Jacqui's the best. Passing each > to a function opens a lot of doors. > >> .Jerry > >> > >> On Mar 31, 2014, at 8:28 PM, larry at significantplanet.org wrote: > >> > >>> Jerry, > >>> Yours was the simplest solution. Thanks very much! FYI, I had to > leave out "the" to make it work. > >>> So my script is: > >>> sort lines of field "myStuff" numeric by char 2 to -1 of word 4 of each > >>> Larry > >>> > >>> ----- Original Message ----- From: "Jerry Jensen" > >>> To: "How to use LiveCode" > >>> Sent: Monday, March 31, 2014 8:48 PM > >>> Subject: Re: how to sort lines with a $ amount > >>> > >>> > >>> If you can really really count on the $ always being present, you > could do: > >>> sort the lines of field "myStuff" numeric by char 2 to -1 of word 4 of > each > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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.bisseret at wanadoo.fr Tue Apr 1 03:29:24 2014 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Tue, 1 Apr 2014 09:29:24 +0200 Subject: Sorting issue in a datagrid In-Reply-To: <1C0846D1-AD13-4890-BBD6-6812333EA70F@studionm.pl> References: <1C0846D1-AD13-4890-BBD6-6812333EA70F@studionm.pl> Message-ID: Le 31 mars 2014 ? 21:31, Marek Niesiobedzki a ?crit : > What is the kind of data and kind of sort for this column? > > Marek Words or short phrases (titles of recipes) with "international" as sort type (it is in french). Thanks for your attention 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 andre.bisseret at wanadoo.fr Tue Apr 1 03:34:45 2014 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Tue, 1 Apr 2014 09:34:45 +0200 Subject: Sorting issue in a datagrid In-Reply-To: <1396295962686-4677742.post@n4.nabble.com> References: <40D11FC8-45D4-469C-BCC8-68468F188467@wanadoo.fr> <1C0846D1-AD13-4890-BBD6-6812333EA70F@studionm.pl> <1396295962686-4677742.post@n4.nabble.com> Message-ID: <193BE373-D73F-4475-9228-EC436FE33A5D@wanadoo.fr> Le 31 mars 2014 ? 21:59, Dave Kilroy a ?crit : > Yes I'm with Marek in wondering about the data you have in column 2 - As I answered to him, french words or phrases > also - > could there be anything in name of column 2 which might confuse the engine? the name of column 2 is "Titre" (means "title") I don't think it is confusing (?) > And one last thing, do you have any other data grids in your app? If so what > are they (and their columns) called and do they also exhibit any strange > behaviour? No other data grid in my app Thank you for your attention Andr? > From dave at applicationinsight.com Tue Apr 1 04:45:02 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Tue, 1 Apr 2014 01:45:02 -0700 (PDT) Subject: Sorting issue in a datagrid In-Reply-To: <193BE373-D73F-4475-9228-EC436FE33A5D@wanadoo.fr> References: <40D11FC8-45D4-469C-BCC8-68468F188467@wanadoo.fr> <1C0846D1-AD13-4890-BBD6-6812333EA70F@studionm.pl> <1396295962686-4677742.post@n4.nabble.com> <193BE373-D73F-4475-9228-EC436FE33A5D@wanadoo.fr> Message-ID: <1396341902288-4677771.post@n4.nabble.com> "Titre" seems fine to me - I'm starting to grasp at straws here... If your dg sort fails after row 8, what data is in row 9? Could there be an invisible character that is causing the problem? Have at look at the text in BBEdit or similar? ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Sorting-issue-in-a-datagrid-tp4677730p4677771.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Tue Apr 1 07:32:58 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 01 Apr 2014 14:32:58 +0300 Subject: [OT] VMware and Ubuntu TT Message-ID: <533AA3EA.8010308@gmail.com> Are there any other people out there who just cannot control themselves? Anyway . . . I cannot . . . and upgraded my UbuntuStudio 13.10 to 14.04 "Troublesome Toothache LTS (Let me Tell you Something)" . . . and, inevitably, found that VMware didn't want to play ball. After trying 12 different recipes on the internet I eventually found one that worked: http://blog.endurancetrails.com/2014/03/vmware-1001-patch-for-linux-313.html The above is NOT an April fool, but I feel fairly foolish having spent the better part of 2 hours hunting that down. Richmond. From alex at tweedly.net Tue Apr 1 07:40:36 2014 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 01 Apr 2014 12:40:36 +0100 Subject: Not sure how to enter this bug report in QCC Message-ID: <533AA5B4.5050205@tweedly.net> I was very glad to see the new version available at http://livecode.com/livecode-rtl/ However, it fails to properly update the price when I chose "Ambidextrous". Should I bug report this in QCC (and if so, which product code do I use), or should I simply email Heather to let her know? Thanks -- Alex. From richmondmathewson at gmail.com Tue Apr 1 07:44:36 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 01 Apr 2014 14:44:36 +0300 Subject: Not sure how to enter this bug report in QCC In-Reply-To: <533AA5B4.5050205@tweedly.net> References: <533AA5B4.5050205@tweedly.net> Message-ID: <533AA6A4.8000005@gmail.com> On 1.04.2014 14:40, Alex Tweedly wrote: > I was very glad to see the new version available at > http://livecode.com/livecode-rtl/ > > However, it fails to properly update the price when I chose > "Ambidextrous". > Should I bug report this in QCC (and if so, which product code do I > use), or should I simply email Heather to let her know? > > Thanks > -- Alex. > Hmmm . . . 1st of April. Richmond. From richmondmathewson at gmail.com Tue Apr 1 07:52:17 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 01 Apr 2014 14:52:17 +0300 Subject: Not sure how to enter this bug report in QCC In-Reply-To: <533AA5B4.5050205@tweedly.net> References: <533AA5B4.5050205@tweedly.net> Message-ID: <533AA871.5040709@gmail.com> On 1.04.2014 14:40, Alex Tweedly wrote: > I was very glad to see the new version available at > http://livecode.com/livecode-rtl/ > > However, it fails to properly update the price when I chose > "Ambidextrous". > Should I bug report this in QCC (and if so, which product code do I > use), or should I simply email Heather to let her know? > > Thanks > -- Alex. > I am quite seriously considering taking Runtime Revolution to court for discrimination. As a person who regularly programs with their feet I feel that offering Livecode Commercial in variants only to Right-Handed, Left-Handed and Ambidextrous individuals is blatant discrimination against pedal programmers. I shall demand nothing less that a set of straps for my repetitive ankle syndrome brought on by having to use one of the manual versions of Livecode. Richmond. From andre.bisseret at wanadoo.fr Tue Apr 1 08:57:09 2014 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Tue, 1 Apr 2014 14:57:09 +0200 Subject: Sorting issue in a datagrid In-Reply-To: <1396341902288-4677771.post@n4.nabble.com> References: <40D11FC8-45D4-469C-BCC8-68468F188467@wanadoo.fr> <1C0846D1-AD13-4890-BBD6-6812333EA70F@studionm.pl> <1396295962686-4677742.post@n4.nabble.com> <193BE373-D73F-4475-9228-EC436FE33A5D@wanadoo.fr> <1396341902288-4677771.post@n4.nabble.com> Message-ID: Le 1 avr. 2014 ? 10:45, Dave Kilroy a ?crit : > "Titre" seems fine to me - I'm starting to grasp at straws here... > > If your dg sort fails after row 8, what data is in row 9? Could there be an > invisible character that is causing the problem? Have at look at the text in > BBEdit or similar? I tried to test this hypothesis with a normal field (say fldTest) : I put the dgText of the data grid in a field ; then setting the itemDelimiter to tab sort lines of fld "fldTest" international by item 2 of each : works fine! so my feeling is that it would not be a problem of invisible character (??) Thanks a lot Dave for your attention to my problem Andr? From MikeKerner at roadrunner.com Tue Apr 1 09:23:37 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 1 Apr 2014 09:23:37 -0400 Subject: very, very slow on Mac Mini In-Reply-To: <533A61DC.1090104@gmail.com> References: <533A61DC.1090104@gmail.com> Message-ID: And you didn't mention how much RAM you have in the mini. On Tue, Apr 1, 2014 at 2:51 AM, Richmond wrote: > On 01/04/14 03:12, Dr. Hawkins wrote: > >> My application performs snappily on my iMac and powerbook, both with 16gb. >> >> On the mini, though, it turns to molasses. As in taking several seconds >> to >> turn a from one fairly simple card to the next, which is instantaneous in >> either the IDE or a standalone on the other two. It's a slower machine, >> but not *that* much slower. >> >> And this was the only loaded application. >> >> > What kind of Mac Mini is that? > > A PPC one or an INTEL one? > > Richmond. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Tue Apr 1 09:35:03 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 1 Apr 2014 09:35:03 -0400 Subject: very, very slow on Mac Mini In-Reply-To: References: <533A61DC.1090104@gmail.com> Message-ID: Anyway, we have several minis and no issues. On Tue, Apr 1, 2014 at 9:23 AM, Mike Kerner wrote: > And you didn't mention how much RAM you have in the mini. > > > On Tue, Apr 1, 2014 at 2:51 AM, Richmond wrote: > >> On 01/04/14 03:12, Dr. Hawkins wrote: >> >>> My application performs snappily on my iMac and powerbook, both with >>> 16gb. >>> >>> On the mini, though, it turns to molasses. As in taking several seconds >>> to >>> turn a from one fairly simple card to the next, which is instantaneous in >>> either the IDE or a standalone on the other two. It's a slower machine, >>> but not *that* much slower. >>> >>> And this was the only loaded application. >>> >>> >> What kind of Mac Mini is that? >> >> A PPC one or an INTEL one? >> >> Richmond. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- 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 bonnmike at gmail.com Tue Apr 1 10:19:47 2014 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 1 Apr 2014 08:19:47 -0600 Subject: Advice of cheap/free online server In-Reply-To: References: <5031150B-4425-44A6-8D4B-088C6C1CC4BC@westrac.com.au> <4A88E909-7260-42DB-9FB8-03D1F669B555@earthednet.org> <352E8FC6-462C-4B3E-8626-04B83FD5CDCB@westrac.com.au> <813F21E1-E465-40CF-BF9E-4FE35ECDF117@earthednet.org> <86520E76-6C21-433F-9BEA-6AB3ED43FC1F@westrac.com.au> <53385E78.7030102@pdslabs.net> <67116DB20798A94285EEE12A67079A284CAD382E@MHSEXC02.westrac.com.au> Message-ID: If you're behind a nat you'll also have to open some ports so that outside hits are directed towards your server, or you could just designate your server as dmz so that all outside hits no matter what port are sent to your server. I'd probably do the first not the second so that your security risk is reduced. WOuld be a good idea to turn off any services that you don't need too. On Mon, Mar 31, 2014 at 4:23 PM, Mark Wieder wrote: > Nakia Brewer writes: > > > Yes, eventually I will need to make it accessible over the internet. > > With this method am I true in assuming I will be able to connect to the > MySQL Database on my server over the internet? > > > > Sorry if this is a dumb question. I just haven't done anything with > non-local databases. > > Just catching up on this thread. > > You have to go out of your way to connect to a database over a network. > Normally the database is limited to connections from the same computer the > database is running on. This is by design. It's a security risk over a > local > network, and even more so over the internet. In order to change this you > need to change the database configuration, and doing that depends on the > type of database you'll be using. > > A better solution, especially since you're going to be installing LC > server, > is to let the server connect to the database, and then you talk to the > server from a remote connection. > > -- > Mark Wieder > ahsoftware at gmail.com > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Tue Apr 1 10:52:52 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 01 Apr 2014 09:52:52 -0500 Subject: how to sort lines with a $ amount In-Reply-To: References: <1D9E181CF7CA4156B405C43681A6F14B@userd204a4d61c> <533A2C42.9070302@hyperactivesw.com> Message-ID: Yeah, I know. I sent one of my spy parrots over to see what you were working on. If it was math related I was doomed but she said it wasn't so I posted really quick. On March 31, 2014 10:06:32 PM CDT, Geoff Canyon wrote: >No fair, Jacque, I *just* finished testing: > >function dollarsAsNumber D > if char 1 of D is "$" then return char 2 to -1 of D else return D >end dollarsAsNumber > >gc -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From devin_asay at byu.edu Tue Apr 1 11:53:34 2014 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 1 Apr 2014 15:53:34 +0000 Subject: Amazing new feature in LiveCode 6.7DP-1.4.14 Message-ID: Hi folks, Thanks to the engine refactoring project made possible by last year's Kickstarter campaign the good folks at RunRev have finally been able to implement a feature that I have wanted for years. You know how you're always yelling at your computer to do what you mean, not what you actually coded? Well, that's a thing of the past with the new guessProgrammerIntent stack property. Try this in the stack script: on openStack set the guessProgrammerIntent of me to true end openStack Suddenly everything I really want my stack to do "just works!" So I can do things like this: sort field "mydata" in a way that makes sense And Boom! the text in the field looks exactly like I want it to look, whatever that is. It even works with Strict Compilation Mode turn on! I think what happens is that if you forget to declare a variable, LiveCode just assumes you meant to and carries on as if you had declared it. I have tried this with both the LTR and the new RTL versions of LiveCode. I have yet tested it in Ambidextrous mode because I can't afford it right now. Looking forward to hearing of other developers' successes with the new guessProgrammerIntent property. Cheers, Devin Devin Asay Office of Digital Humanities Brigham Young University From matthias_livecode_150811 at m-r-d.de Tue Apr 1 12:01:51 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Tue, 1 Apr 2014 18:01:51 +0200 Subject: Amazing new feature in LiveCode 6.7DP-1.4.14 In-Reply-To: References: Message-ID: <96D3E0D8-16D9-4404-94B5-B8DD91664079@m-r-d.de> It?s really amazing what is possible with LiveCode,especially today. Unfortunately i need this feature tomorrow. But i am afraid, it is not available anymore tomorrow. ;) Matthias Am 01.04.2014 um 17:53 schrieb Devin Asay : > Hi folks, > > Thanks to the engine refactoring project made possible by last year's Kickstarter campaign the good folks at RunRev have finally been able to implement a feature that I have wanted for years. You know how you're always yelling at your computer to do what you mean, not what you actually coded? Well, that's a thing of the past with the new guessProgrammerIntent stack property. Try this in the stack script: > > on openStack > set the guessProgrammerIntent of me to true > end openStack > > Suddenly everything I really want my stack to do "just works!" > > So I can do things like this: > > sort field "mydata" in a way that makes sense > > And Boom! the text in the field looks exactly like I want it to look, whatever that is. > > It even works with Strict Compilation Mode turn on! I think what happens is that if you forget to declare a variable, LiveCode just assumes you meant to and carries on as if you had declared it. > > I have tried this with both the LTR and the new RTL versions of LiveCode. I have yet tested it in Ambidextrous mode because I can't afford it right now. > > Looking forward to hearing of other developers' successes with the new guessProgrammerIntent property. > > Cheers, > > Devin > > > 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 coiin at verizon.net Tue Apr 1 12:02:56 2014 From: coiin at verizon.net (Colin Holgate) Date: Tue, 01 Apr 2014 12:02:56 -0400 Subject: Amazing new feature in LiveCode 6.7DP-1.4.14 In-Reply-To: References: Message-ID: <87184989-ADDE-4BEF-ADD9-A1C0FB343BCF@verizon.net> There is a shorter version: sort It then sorts the field that you were thinking of at the time. On Apr 1, 2014, at 11:53 AM, Devin Asay wrote: > > So I can do things like this: > > sort field "mydata" in a way that makes sense > > And Boom! the text in the field looks exactly like I want it to look, whatever that is. From dunbarx at aol.com Tue Apr 1 12:03:55 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 1 Apr 2014 12:03:55 -0400 (EDT) Subject: Amazing new feature in LiveCode 6.7DP-1.4.14 In-Reply-To: References: Message-ID: <8D11BDB1DA61A51-116C-13439@webmail-m281.sysops.aol.com> Devin. Why waste your time with that, when you can simply use the new "doItAll" and "makeUI" commands: on mouseUp makeUI doItAll end mouseUp So much faster. No errors. I personally do not have time to make a button and put that script into it. I wish they would automate that as well. Craig -----Original Message----- From: Devin Asay To: How to use LiveCode Sent: Tue, Apr 1, 2014 11:54 am Subject: Amazing new feature in LiveCode 6.7DP-1.4.14 Hi folks, Thanks to the engine refactoring project made possible by last year's Kickstarter campaign the good folks at RunRev have finally been able to implement a feature that I have wanted for years. You know how you're always yelling at your computer to do what you mean, not what you actually coded? Well, that's a thing of the past with the new guessProgrammerIntent stack property. Try this in the stack script: on openStack set the guessProgrammerIntent of me to true end openStack Suddenly everything I really want my stack to do "just works!" So I can do things like this: sort field "mydata" in a way that makes sense And Boom! the text in the field looks exactly like I want it to look, whatever that is. It even works with Strict Compilation Mode turn on! I think what happens is that if you forget to declare a variable, LiveCode just assumes you meant to and carries on as if you had declared it. I have tried this with both the LTR and the new RTL versions of LiveCode. I have yet tested it in Ambidextrous mode because I can't afford it right now. Looking forward to hearing of other developers' successes with the new guessProgrammerIntent property. Cheers, Devin 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 richmondmathewson at gmail.com Tue Apr 1 12:07:16 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 01 Apr 2014 19:07:16 +0300 Subject: Amazing new feature in LiveCode 6.7DP-1.4.14 In-Reply-To: References: Message-ID: <533AE434.6030008@gmail.com> On 01/04/14 18:53, Devin Asay wrote: > Hi folks, > > Thanks to the engine refactoring project made possible by last year's Kickstarter campaign the good folks at RunRev have finally been able to implement a feature that I have wanted for years. You know how you're always yelling at your computer to do what you mean, not what you actually coded? Well, that's a thing of the past with the new guessProgrammerIntent stack property. Try this in the stack script: > > on openStack > set the guessProgrammerIntent of me to true > end openStack > > Suddenly everything I really want my stack to do "just works!" > > So I can do things like this: > > sort field "mydata" in a way that makes sense > > And Boom! the text in the field looks exactly like I want it to look, whatever that is. > > It even works with Strict Compilation Mode turn on! I think what happens is that if you forget to declare a variable, LiveCode just assumes you meant to and carries on as if you had declared it. > > I have tried this with both the LTR and the new RTL versions of LiveCode. I have yet tested it in Ambidextrous mode because I can't afford it right now. Until Livecode release a version for people who program with their feet all I'm going to say is "See you in court" . . . That's the European Court of Human Lefts of course (right across the canal, in Den Haag, from the European Court of Human Rights). Richmond. > > Looking forward to hearing of other developers' successes with the new guessProgrammerIntent property. > > Cheers, > > Devin > > > 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 fraser.gordon at runrev.com Tue Apr 1 12:09:16 2014 From: fraser.gordon at runrev.com (Fraser Gordon) Date: Tue, 1 Apr 2014 17:09:16 +0100 Subject: Amazing new feature in LiveCode 6.7DP-1.4.14 In-Reply-To: References: Message-ID: On 1 Apr 2014, at 16:53, Devin Asay wrote: > Thanks to the engine refactoring project made possible by last year's Kickstarter campaign the good folks at RunRev have finally been able to implement a feature that I have wanted for years. You know how you're always yelling at your computer to do what you mean, not what you actually coded? Well, that's a thing of the past with the new guessProgrammerIntent stack property. Try this in the stack script: > > on openStack > set the guessProgrammerIntent of me to true > end openStack > > Suddenly everything I really want my stack to do "just works!" > The thanks should really go to the designers of the CPUs that run LiveCode - this property is implemented using the "DWIM" opcode that all major processor vendors have adopted. The entire LiveCode engine is has been reduced to: while (i_want_it_to_run) { asm("DWIM"); } Quite understandably, this has made adding new features to the engine trivial as all we need to do is imagine it sufficiently well. If you are interested in using this opcode in your own software development, please see the latest Intel, AMD or ARM reference manuals under the section "DWIM - Do What I Mean" Regards, Fraser From larry at significantplanet.org Tue Apr 1 12:09:20 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Tue, 1 Apr 2014 10:09:20 -0600 Subject: Amazing new feature in LiveCode 6.7DP-1.4.14 References: <8D11BDB1DA61A51-116C-13439@webmail-m281.sysops.aol.com> Message-ID: <27CC29F55B5B461CB25A3844471E8E26@userd204a4d61c> Lame, lame, lame! Please feel free to use the function I just wrote: function magicApp makeApp sellApp put money into my account end magicApp ----- Original Message ----- From: To: Sent: Tuesday, April 01, 2014 10:03 AM Subject: Re: Amazing new feature in LiveCode 6.7DP-1.4.14 > Devin. > > > Why waste your time with that, when you can simply use the new "doItAll" > and "makeUI" commands: > > > > on mouseUp > > makeUI > doItAll > > > end mouseUp > > > So much faster. No errors. I personally do not have time to make a button > and put that script into it. I wish they would automate that as well. > > > Craig > > > > > -----Original Message----- > From: Devin Asay > To: How to use LiveCode > Sent: Tue, Apr 1, 2014 11:54 am > Subject: Amazing new feature in LiveCode 6.7DP-1.4.14 > > > Hi folks, > > Thanks to the engine refactoring project made possible by last year's > Kickstarter campaign the good folks at RunRev have finally been able to > implement a feature that I have wanted for years. You know how you're > always > yelling at your computer to do what you mean, not what you actually coded? > Well, > that's a thing of the past with the new guessProgrammerIntent stack > property. > Try this in the stack script: > > on openStack > set the guessProgrammerIntent of me to true > end openStack > > Suddenly everything I really want my stack to do "just works!" > > So I can do things like this: > > sort field "mydata" in a way that makes sense > > And Boom! the text in the field looks exactly like I want it to look, > whatever > that is. > > It even works with Strict Compilation Mode turn on! I think what happens > is that > if you forget to declare a variable, LiveCode just assumes you meant to > and > carries on as if you had declared it. > > I have tried this with both the LTR and the new RTL versions of LiveCode. > I have > yet tested it in Ambidextrous mode because I can't afford it right now. > > Looking forward to hearing of other developers' successes with the new > guessProgrammerIntent property. > > Cheers, > > Devin > > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Apr 1 12:19:30 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 1 Apr 2014 12:19:30 -0400 (EDT) Subject: Amazing new feature in LiveCode 6.7DP-1.4.14 In-Reply-To: <27CC29F55B5B461CB25A3844471E8E26@userd204a4d61c> References: <8D11BDB1DA61A51-116C-13439@webmail-m281.sysops.aol.com> <27CC29F55B5B461CB25A3844471E8E26@userd204a4d61c> Message-ID: <8D11BDD4B992F96-116C-135CD@webmail-m281.sysops.aol.com> Larry. You have an error in the third line. "my" is not a token that LC understands. Read the dictionary. Sheesh. Change to: put money into "*:citibank:craig" -----Original Message----- From: larry To: How to use LiveCode Sent: Tue, Apr 1, 2014 12:10 pm Subject: Re: Amazing new feature in LiveCode 6.7DP-1.4.14 Lame, lame, lame! Please feel free to use the function I just wrote: function magicApp makeApp sellApp put money into my account end magicApp ----- Original Message ----- From: To: Sent: Tuesday, April 01, 2014 10:03 AM Subject: Re: Amazing new feature in LiveCode 6.7DP-1.4.14 > Devin. > > > Why waste your time with that, when you can simply use the new "doItAll" > and "makeUI" commands: > > > > on mouseUp > > makeUI > doItAll > > > end mouseUp > > > So much faster. No errors. I personally do not have time to make a button > and put that script into it. I wish they would automate that as well. > > > Craig > > > > > -----Original Message----- > From: Devin Asay > To: How to use LiveCode > Sent: Tue, Apr 1, 2014 11:54 am > Subject: Amazing new feature in LiveCode 6.7DP-1.4.14 > > > Hi folks, > > Thanks to the engine refactoring project made possible by last year's > Kickstarter campaign the good folks at RunRev have finally been able to > implement a feature that I have wanted for years. You know how you're > always > yelling at your computer to do what you mean, not what you actually coded? > Well, > that's a thing of the past with the new guessProgrammerIntent stack > property. > Try this in the stack script: > > on openStack > set the guessProgrammerIntent of me to true > end openStack > > Suddenly everything I really want my stack to do "just works!" > > So I can do things like this: > > sort field "mydata" in a way that makes sense > > And Boom! the text in the field looks exactly like I want it to look, > whatever > that is. > > It even works with Strict Compilation Mode turn on! I think what happens > is that > if you forget to declare a variable, LiveCode just assumes you meant to > and > carries on as if you had declared it. > > I have tried this with both the LTR and the new RTL versions of LiveCode. > I have > yet tested it in Ambidextrous mode because I can't afford it right now. > > Looking forward to hearing of other developers' successes with the new > guessProgrammerIntent property. > > Cheers, > > Devin > > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Tue Apr 1 12:34:04 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 1 Apr 2014 12:34:04 -0400 Subject: Amazing new feature in LiveCode 6.7DP-1.4.14 In-Reply-To: <8D11BDD4B992F96-116C-135CD@webmail-m281.sysops.aol.com> References: <8D11BDB1DA61A51-116C-13439@webmail-m281.sysops.aol.com> <27CC29F55B5B461CB25A3844471E8E26@userd204a4d61c> <8D11BDD4B992F96-116C-135CD@webmail-m281.sysops.aol.com> Message-ID: messing with the newbies on April 1 is not nice. On Tue, Apr 1, 2014 at 12:19 PM, wrote: > Larry. > > > You have an error in the third line. "my" is not a token that LC > understands. Read the dictionary. Sheesh. > > > > Change to: > > > > put money into "*:citibank:craig" > > > > > -----Original Message----- > From: larry > To: How to use LiveCode > Sent: Tue, Apr 1, 2014 12:10 pm > Subject: Re: Amazing new feature in LiveCode 6.7DP-1.4.14 > > > Lame, lame, lame! > Please feel free to use the function I just wrote: > > function magicApp > makeApp > sellApp > put money into my account > end magicApp > > ----- Original Message ----- > From: > To: > Sent: Tuesday, April 01, 2014 10:03 AM > Subject: Re: Amazing new feature in LiveCode 6.7DP-1.4.14 > > > > Devin. > > > > > > Why waste your time with that, when you can simply use the new "doItAll" > > and "makeUI" commands: > > > > > > > > on mouseUp > > > > makeUI > > doItAll > > > > > > end mouseUp > > > > > > So much faster. No errors. I personally do not have time to make a button > > and put that script into it. I wish they would automate that as well. > > > > > > Craig > > > > > > > > > > -----Original Message----- > > From: Devin Asay > > To: How to use LiveCode > > Sent: Tue, Apr 1, 2014 11:54 am > > Subject: Amazing new feature in LiveCode 6.7DP-1.4.14 > > > > > > Hi folks, > > > > Thanks to the engine refactoring project made possible by last year's > > Kickstarter campaign the good folks at RunRev have finally been able to > > implement a feature that I have wanted for years. You know how you're > > always > > yelling at your computer to do what you mean, not what you actually > coded? > > Well, > > that's a thing of the past with the new guessProgrammerIntent stack > > property. > > Try this in the stack script: > > > > on openStack > > set the guessProgrammerIntent of me to true > > end openStack > > > > Suddenly everything I really want my stack to do "just works!" > > > > So I can do things like this: > > > > sort field "mydata" in a way that makes sense > > > > And Boom! the text in the field looks exactly like I want it to look, > > whatever > > that is. > > > > It even works with Strict Compilation Mode turn on! I think what happens > > is that > > if you forget to declare a variable, LiveCode just assumes you meant to > > and > > carries on as if you had declared it. > > > > I have tried this with both the LTR and the new RTL versions of LiveCode. > > I have > > yet tested it in Ambidextrous mode because I can't afford it right now. > > > > Looking forward to hearing of other developers' successes with the new > > guessProgrammerIntent property. > > > > Cheers, > > > > Devin > > > > > > 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 > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 larry at significantplanet.org Tue Apr 1 12:42:39 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Tue, 1 Apr 2014 10:42:39 -0600 Subject: Amazing new feature in LiveCode 6.7DP-1.4.14 References: <8D11BDB1DA61A51-116C-13439@webmail-m281.sysops.aol.com><27CC29F55B5B461CB25A3844471E8E26@userd204a4d61c> <8D11BDD4B992F96-116C-135CD@webmail-m281.sysops.aol.com> Message-ID: <25437BCC5DFD435D91874BDD68C8FEC1@userd204a4d61c> thanks for the correction Craig! I don't know what I was thinking... ----- Original Message ----- From: To: Sent: Tuesday, April 01, 2014 10:19 AM Subject: Re: Amazing new feature in LiveCode 6.7DP-1.4.14 > Larry. > > > You have an error in the third line. "my" is not a token that LC > understands. Read the dictionary. Sheesh. > > > > Change to: > > > > put money into "*:citibank:craig" > > > > > -----Original Message----- > From: larry > To: How to use LiveCode > Sent: Tue, Apr 1, 2014 12:10 pm > Subject: Re: Amazing new feature in LiveCode 6.7DP-1.4.14 > > > Lame, lame, lame! > Please feel free to use the function I just wrote: > > function magicApp > makeApp > sellApp > put money into my account > end magicApp > > ----- Original Message ----- > From: > To: > Sent: Tuesday, April 01, 2014 10:03 AM > Subject: Re: Amazing new feature in LiveCode 6.7DP-1.4.14 > > >> Devin. >> >> >> Why waste your time with that, when you can simply use the new "doItAll" >> and "makeUI" commands: >> >> >> >> on mouseUp >> >> makeUI >> doItAll >> >> >> end mouseUp >> >> >> So much faster. No errors. I personally do not have time to make a button >> and put that script into it. I wish they would automate that as well. >> >> >> Craig >> >> >> >> >> -----Original Message----- >> From: Devin Asay >> To: How to use LiveCode >> Sent: Tue, Apr 1, 2014 11:54 am >> Subject: Amazing new feature in LiveCode 6.7DP-1.4.14 >> >> >> Hi folks, >> >> Thanks to the engine refactoring project made possible by last year's >> Kickstarter campaign the good folks at RunRev have finally been able to >> implement a feature that I have wanted for years. You know how you're >> always >> yelling at your computer to do what you mean, not what you actually >> coded? >> Well, >> that's a thing of the past with the new guessProgrammerIntent stack >> property. >> Try this in the stack script: >> >> on openStack >> set the guessProgrammerIntent of me to true >> end openStack >> >> Suddenly everything I really want my stack to do "just works!" >> >> So I can do things like this: >> >> sort field "mydata" in a way that makes sense >> >> And Boom! the text in the field looks exactly like I want it to look, >> whatever >> that is. >> >> It even works with Strict Compilation Mode turn on! I think what happens >> is that >> if you forget to declare a variable, LiveCode just assumes you meant to >> and >> carries on as if you had declared it. >> >> I have tried this with both the LTR and the new RTL versions of LiveCode. >> I have >> yet tested it in Ambidextrous mode because I can't afford it right now. >> >> Looking forward to hearing of other developers' successes with the new >> guessProgrammerIntent property. >> >> Cheers, >> >> Devin >> >> >> 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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 1 12:46:19 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Tue, 1 Apr 2014 18:46:19 +0200 Subject: Amazing new feature in LiveCode 6.7DP-1.4.14 In-Reply-To: <25437BCC5DFD435D91874BDD68C8FEC1@userd204a4d61c> References: <8D11BDB1DA61A51-116C-13439@webmail-m281.sysops.aol.com><27CC29F55B5B461CB25A3844471E8E26@userd204a4d61c> <8D11BDD4B992F96-116C-135CD@webmail-m281.sysops.aol.com> <25437BCC5DFD435D91874BDD68C8FEC1@userd204a4d61c> Message-ID: <9760195A-0D91-4EF4-AD6F-DE17D4EDF372@m-r-d.de> Am 01.04.2014 um 18:42 schrieb : > thanks for the correction Craig! > I don't know what I was thinking? You do not have to think, LiveCode is doing that now for you. > > ----- Original Message ----- From: > To: > Sent: Tuesday, April 01, 2014 10:19 AM > Subject: Re: Amazing new feature in LiveCode 6.7DP-1.4.14 > > >> Larry. >> >> >> You have an error in the third line. "my" is not a token that LC understands. Read the dictionary. Sheesh. >> >> >> >> Change to: >> >> >> >> put money into "*:citibank:craig" >> >> >> >> >> -----Original Message----- >> From: larry >> To: How to use LiveCode >> Sent: Tue, Apr 1, 2014 12:10 pm >> Subject: Re: Amazing new feature in LiveCode 6.7DP-1.4.14 >> >> >> Lame, lame, lame! >> Please feel free to use the function I just wrote: >> >> function magicApp >> makeApp >> sellApp >> put money into my account >> end magicApp >> >> ----- Original Message ----- From: >> To: >> Sent: Tuesday, April 01, 2014 10:03 AM >> Subject: Re: Amazing new feature in LiveCode 6.7DP-1.4.14 >> >> >>> Devin. >>> >>> >>> Why waste your time with that, when you can simply use the new "doItAll" >>> and "makeUI" commands: >>> >>> >>> >>> on mouseUp >>> >>> makeUI >>> doItAll >>> >>> >>> end mouseUp >>> >>> >>> So much faster. No errors. I personally do not have time to make a button >>> and put that script into it. I wish they would automate that as well. >>> >>> >>> Craig >>> >>> >>> >>> >>> -----Original Message----- >>> From: Devin Asay >>> To: How to use LiveCode >>> Sent: Tue, Apr 1, 2014 11:54 am >>> Subject: Amazing new feature in LiveCode 6.7DP-1.4.14 >>> >>> >>> Hi folks, >>> >>> Thanks to the engine refactoring project made possible by last year's >>> Kickstarter campaign the good folks at RunRev have finally been able to >>> implement a feature that I have wanted for years. You know how you're >>> always >>> yelling at your computer to do what you mean, not what you actually coded? >>> Well, >>> that's a thing of the past with the new guessProgrammerIntent stack >>> property. >>> Try this in the stack script: >>> >>> on openStack >>> set the guessProgrammerIntent of me to true >>> end openStack >>> >>> Suddenly everything I really want my stack to do "just works!" >>> >>> So I can do things like this: >>> >>> sort field "mydata" in a way that makes sense >>> >>> And Boom! the text in the field looks exactly like I want it to look, >>> whatever >>> that is. >>> >>> It even works with Strict Compilation Mode turn on! I think what happens >>> is that >>> if you forget to declare a variable, LiveCode just assumes you meant to >>> and >>> carries on as if you had declared it. >>> >>> I have tried this with both the LTR and the new RTL versions of LiveCode. >>> I have >>> yet tested it in Ambidextrous mode because I can't afford it right now. >>> >>> Looking forward to hearing of other developers' successes with the new >>> guessProgrammerIntent property. >>> >>> Cheers, >>> >>> Devin >>> >>> >>> 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 >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 1 12:58:37 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 1 Apr 2014 16:58:37 +0000 (UTC) Subject: Not sure how to enter this bug report in QCC References: <533AA5B4.5050205@tweedly.net> <533AA6A4.8000005@gmail.com> Message-ID: Richmond writes: > Hmmm . . . 1st of April. Bah! Here in San Francisco we pay proper homage to the patron saint of parking meters and civilizations: http://www.saintstupid.com/event.html -- Mark Wieder ahsoftware at gmail.com From dave at applicationinsight.com Tue Apr 1 13:05:49 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Tue, 1 Apr 2014 10:05:49 -0700 (PDT) Subject: occasional runaway control - anyone else seeing this? Message-ID: <1396371949260-4677795.post@n4.nabble.com> Quite a few times recently whilst developing on Windows (windows 7 x64) and using various incarnations of LiveCode (LC 6.6, 6.6.1(rc1), LC 6.7 (dp1) I'm getting an occasional 'runaway' behaviour. Occasionally, on one particular stack (holding quite a few controls to make up it's GUI) if I'm editing a group with the inspector open on the 'Size & Position' tab - if I click the up or down arrows on the left, top, right, or bottom scrolling list fields, followed within a second or so by another click on the same arrow - I get a 'runaway' of the control continuing to move in the same direction at about 1 pixel/point per second. I'm not seeing it on LC 6.5 or 6.5.1 (or on OSX) I don't really want to file a bug about this because I can't reproduce it - is anyone else seeing this? Kind regards Dave ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/occasional-runaway-control-anyone-else-seeing-this-tp4677795.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Tue Apr 1 13:06:39 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 01 Apr 2014 20:06:39 +0300 Subject: Not sure how to enter this bug report in QCC In-Reply-To: References: <533AA5B4.5050205@tweedly.net> <533AA6A4.8000005@gmail.com> Message-ID: <533AF21F.9020309@gmail.com> On 01/04/14 19:58, Mark Wieder wrote: > Richmond writes: > >> Hmmm . . . 1st of April. > Bah! Here in San Francisco we pay proper homage to the patron saint of > parking meters and civilizations: > > http://www.saintstupid.com/event.html > That looks like a lot of fun! Richmond. From bobsneidar at iotecdigital.com Tue Apr 1 13:21:59 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 1 Apr 2014 17:21:59 +0000 Subject: Amazing new feature in LiveCode 6.7DP-1.4.14 In-Reply-To: <27CC29F55B5B461CB25A3844471E8E26@userd204a4d61c> References: <8D11BDB1DA61A51-116C-13439@webmail-m281.sysops.aol.com> <27CC29F55B5B461CB25A3844471E8E26@userd204a4d61c> Message-ID: I have a significant improvement to this code: function magicApp makeApp sellApp addZeros(1) ? don?t add too many zeros it may not compile!!! put money into my account end magicApp On Apr 1, 2014, at 09:09 , larry at significantplanet.org wrote: > Lame, lame, lame! > Please feel free to use the function I just wrote: > > function magicApp > makeApp > sellApp > put money into my account > end magicApp > > ----- Original Message ----- From: > To: > Sent: Tuesday, April 01, 2014 10:03 AM > Subject: Re: Amazing new feature in LiveCode 6.7DP-1.4.14 > > >> Devin. >> >> >> Why waste your time with that, when you can simply use the new "doItAll" and "makeUI" commands: >> >> >> >> on mouseUp >> >> makeUI >> doItAll >> >> >> end mouseUp >> >> >> So much faster. No errors. I personally do not have time to make a button and put that script into it. I wish they would automate that as well. >> >> >> Craig >> >> >> >> >> -----Original Message----- >> From: Devin Asay >> To: How to use LiveCode >> Sent: Tue, Apr 1, 2014 11:54 am >> Subject: Amazing new feature in LiveCode 6.7DP-1.4.14 >> >> >> Hi folks, >> >> Thanks to the engine refactoring project made possible by last year's >> Kickstarter campaign the good folks at RunRev have finally been able to >> implement a feature that I have wanted for years. You know how you're always >> yelling at your computer to do what you mean, not what you actually coded? Well, >> that's a thing of the past with the new guessProgrammerIntent stack property. >> Try this in the stack script: >> >> on openStack >> set the guessProgrammerIntent of me to true >> end openStack >> >> Suddenly everything I really want my stack to do "just works!" >> >> So I can do things like this: >> >> sort field "mydata" in a way that makes sense >> >> And Boom! the text in the field looks exactly like I want it to look, whatever >> that is. >> >> It even works with Strict Compilation Mode turn on! I think what happens is that >> if you forget to declare a variable, LiveCode just assumes you meant to and >> carries on as if you had declared it. >> >> I have tried this with both the LTR and the new RTL versions of LiveCode. I have >> yet tested it in Ambidextrous mode because I can't afford it right now. >> >> Looking forward to hearing of other developers' successes with the new >> guessProgrammerIntent property. >> >> Cheers, >> >> Devin >> >> >> 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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 1 13:45:45 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 01 Apr 2014 12:45:45 -0500 Subject: Not sure how to enter this bug report in QCC In-Reply-To: <533AA871.5040709@gmail.com> References: <533AA5B4.5050205@tweedly.net> <533AA871.5040709@gmail.com> Message-ID: <533AFB49.5070305@hyperactivesw.com> On 4/1/14, 6:52 AM, Richmond wrote: > As a person who regularly programs with their feet Ah. That would explain some of your coding. ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Apr 1 13:49:24 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 01 Apr 2014 12:49:24 -0500 Subject: Amazing new feature in LiveCode 6.7DP-1.4.14 In-Reply-To: References: Message-ID: <533AFC24.70906@hyperactivesw.com> On 4/1/14, 11:09 AM, Fraser Gordon wrote: > Quite understandably, this has made adding new features to the engine > trivial as all we need to do is imagine it sufficiently well. Damn you, now I have a pink elephant in my office. What ever happened to backward compatibility??? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Tue Apr 1 13:58:35 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 01 Apr 2014 20:58:35 +0300 Subject: Not sure how to enter this bug report in QCC In-Reply-To: <533AFB49.5070305@hyperactivesw.com> References: <533AA5B4.5050205@tweedly.net> <533AA871.5040709@gmail.com> <533AFB49.5070305@hyperactivesw.com> Message-ID: <533AFE4B.4050302@gmail.com> On 01/04/14 20:45, J. Landman Gay wrote: > On 4/1/14, 6:52 AM, Richmond wrote: >> As a person who regularly programs with their feet > > Ah. That would explain some of your coding. ;) > Well; which is better? Gay coding or Pedestrian coding? Possibly the boot is now on the other foot. Richmond. From roger.e.eller at sealedair.com Tue Apr 1 14:00:11 2014 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 1 Apr 2014 14:00:11 -0400 Subject: Amazing new feature in LiveCode 6.7DP-1.4.14 In-Reply-To: References: <8D11BDB1DA61A51-116C-13439@webmail-m281.sysops.aol.com> <27CC29F55B5B461CB25A3844471E8E26@userd204a4d61c> Message-ID: And also thanks for the new RWS2PFE ("Real World Song to Particle Physics Engine") LiveCode interprets song lyrics and make it real. Here's an example: if transfer$(1 million, "*citibank:craig", "*citibank:roger") had a million dollars then buy me a monkey end if And BAM! There sits the cutest lil spider monkey you ever did see. This tech is soooo long over due, imho. ~Roger On Tue, Apr 1, 2014 at 1:21 PM, Bob Sneidar wrote: > I have a significant improvement to this code: > > function magicApp > makeApp > sellApp > addZeros(1) -- don't add too many zeros it may not compile!!! > put money into my account > end magicApp > > On Apr 1, 2014, at 09:09 , larry at significantplanet.org wrote: > > > Lame, lame, lame! > > Please feel free to use the function I just wrote: > > > > function magicApp > > makeApp > > sellApp > > put money into my account > > end magicApp > > > From dochawk at gmail.com Tue Apr 1 14:06:59 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 1 Apr 2014 11:06:59 -0700 Subject: very, very slow on Mac Mini In-Reply-To: References: <533A61DC.1090104@gmail.com> Message-ID: On Tue, Apr 1, 2014 at 6:23 AM, Mike Kerner wrote: > And you didn't mention how much RAM you have in the mini. > > 4gb, I think. It's used on a daily bases, powered around the clock--but the day I saw this, it had been brought home. > > A PPC one or an INTEL one? > > > I missed the entire PPC period; I went from a powerbook 180 to an 08 macbook . . . The mini is two or three years old. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Tue Apr 1 14:10:29 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 1 Apr 2014 11:10:29 -0700 Subject: Amazing new feature in LiveCode 6.7DP-1.4.14 In-Reply-To: References: <8D11BDB1DA61A51-116C-13439@webmail-m281.sysops.aol.com> <27CC29F55B5B461CB25A3844471E8E26@userd204a4d61c> Message-ID: I'm afraid that none of these will ever make it into the shipping version. All are in conflict with my patent on the DWIM key, so my attorney will be in touch . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Tue Apr 1 14:10:30 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 01 Apr 2014 21:10:30 +0300 Subject: very, very slow on Mac Mini In-Reply-To: References: <533A61DC.1090104@gmail.com> Message-ID: <533B0116.5080108@gmail.com> On 01/04/14 21:06, Dr. Hawkins wrote: > On Tue, Apr 1, 2014 at 6:23 AM, Mike Kerner wrote: > >> And you didn't mention how much RAM you have in the mini. >> >> > 4gb, I think. > > It's used on a daily bases, powered around the clock--but the day I saw > this, it had been brought home. > > >>> A PPC one or an INTEL one? >> >> I missed the entire PPC period; I went from a powerbook 180 to an 08 > macbook . . . That is a socking great leap. > > The mini is two or three years old. > > I am inclined to think that something is sneakily working in the background and sucking up the RAM like nobody's business. Better have a look at all the active processes via the thing that I think is called 'System Monitor' in the 'Utilities' folder [nicked from Linux]. If there is something racheting up the RAM there you can Force quit the thing and see if that makes any difference. Good Luck. Richmond. From rjb at robelko.com Tue Apr 1 14:13:33 2014 From: rjb at robelko.com (Robert Brenstein) Date: Tue, 1 Apr 2014 20:13:33 +0200 Subject: Amazing new feature in LiveCode 6.7DP-1.4.14 In-Reply-To: <533AFC24.70906@hyperactivesw.com> References: <533AFC24.70906@hyperactivesw.com> Message-ID: On 01.04.2014 at 12:49 Uhr -0500 J. Landman Gay apparently wrote: >On 4/1/14, 11:09 AM, Fraser Gordon wrote: >>Quite understandably, this has made adding new features to the engine >>trivial as all we need to do is imagine it sufficiently well. > >Damn you, now I have a pink elephant in my office. > >What ever happened to backward compatibility??? Oh, the pink elephant! Those were the days. RObert From dave at applicationinsight.com Tue Apr 1 14:32:44 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Tue, 1 Apr 2014 11:32:44 -0700 (PDT) Subject: Amazing new feature in LiveCode 6.7DP-1.4.14 In-Reply-To: References: <533AFC24.70906@hyperactivesw.com> Message-ID: <1396377164260-4677807.post@n4.nabble.com> Pink Elephants etc - a whole new way of thinking about WYSIWYG ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Amazing-new-feature-in-LiveCode-6-7DP-1-4-14-tp4677783p4677807.html Sent from the Revolution - User mailing list archive at Nabble.com. From dochawk at gmail.com Tue Apr 1 14:38:27 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 1 Apr 2014 11:38:27 -0700 Subject: very, very slow on Mac Mini In-Reply-To: <533B0116.5080108@gmail.com> References: <533A61DC.1090104@gmail.com> <533B0116.5080108@gmail.com> Message-ID: On Tue, Apr 1, 2014 at 11:10 AM, Richmond wrote: > On 01/04/14 21:06, Dr. Hawkins wrote: > >> > I missed the entire PPC period; I went from a powerbook 180 to an 08 >>> >> macbook . . . >> > That is a socking great leap. Yes :) I switched to unix over LyX and writing equations as a grad student. Then 3 or 4 years ago, a clearance macbook jumped me at Frys. I figured I could always put freebsd on it if I couldn't get along. And I was about to do exactly that, until I used spotlight a couple of times. I thought it would be focus-follows-mouse that would be hardest to give up, but it turned out to be cut & paste in X . . . And I still used them as primarily unix boxen, but with great searching . . . and better power management/battery life than I could manage under FreeBSD or Linux. > The mini is two or three years old. > > > I am inclined to think that something is sneakily working in the background > and sucking up the RAM like nobody's business. > > Better have a look at all the active processes via the thing that I think > is called 'System Monitor' in the 'Utilities' folder > [nicked from Linux]. If there is something racheting up the RAM there you > can Force quit the thing and see if that makes any difference. > > We had to dump a prior account on this machine that got bog-slow with nothing I could find. ANy login or switch-user to that account killed things. I'll have it back in a couple of days and can try again . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jacque at hyperactivesw.com Tue Apr 1 14:43:35 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 01 Apr 2014 13:43:35 -0500 Subject: Not sure how to enter this bug report in QCC In-Reply-To: <533AFE4B.4050302@gmail.com> References: <533AA5B4.5050205@tweedly.net> <533AA871.5040709@gmail.com> <533AFB49.5070305@hyperactivesw.com> <533AFE4B.4050302@gmail.com> Message-ID: <533B08D7.3030702@hyperactivesw.com> On 4/1/14, 12:58 PM, Richmond wrote: > Well; which is better? Gay coding or Pedestrian coding? Definitely Gay coding. We're close to having equal rights-to-left. I've quoted him before, but my husband says, "I don't know what the big deal is. Gay marriage has been in our family for generations." -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Apr 1 14:45:03 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 01 Apr 2014 13:45:03 -0500 Subject: Amazing new feature in LiveCode 6.7DP-1.4.14 In-Reply-To: References: <8D11BDB1DA61A51-116C-13439@webmail-m281.sysops.aol.com> <27CC29F55B5B461CB25A3844471E8E26@userd204a4d61c> Message-ID: <533B092F.6000407@hyperactivesw.com> On 4/1/14, 1:10 PM, Dr. Hawkins wrote: > I'm afraid that none of these will ever make it into the shipping version. > > All are in conflict with my patent on the DWIM key, so my attorney will be > in touch . . . > Yeah, well, until you patent Richmond's pedal, good luck. :P -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Apr 1 14:47:54 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 01 Apr 2014 13:47:54 -0500 Subject: Amazing new feature in LiveCode 6.7DP-1.4.14 In-Reply-To: References: <533AFC24.70906@hyperactivesw.com> Message-ID: <533B09DA.8090006@hyperactivesw.com> On 4/1/14, 1:13 PM, Robert Brenstein wrote: > On 01.04.2014 at 12:49 Uhr -0500 J. Landman Gay apparently wrote: >> On 4/1/14, 11:09 AM, Fraser Gordon wrote: >>> Quite understandably, this has made adding new features to the engine >>> trivial as all we need to do is imagine it sufficiently well. >> >> Damn you, now I have a pink elephant in my office. >> >> What ever happened to backward compatibility??? > > Oh, the pink elephant! Those were the days. They can shtil be. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bonnmike at gmail.com Tue Apr 1 15:47:15 2014 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 1 Apr 2014 13:47:15 -0600 Subject: very, very slow on Mac Mini In-Reply-To: References: <533A61DC.1090104@gmail.com> <533B0116.5080108@gmail.com> Message-ID: Just a quick not very likely thing to check.. If you have an external drive hooked up (or more than 1) temporarily remove them and try again. On Tue, Apr 1, 2014 at 12:38 PM, Dr. Hawkins wrote: > On Tue, Apr 1, 2014 at 11:10 AM, Richmond >wrote: > > > On 01/04/14 21:06, Dr. Hawkins wrote: > > > >> > > > > I missed the entire PPC period; I went from a powerbook 180 to an 08 > >>> > >> macbook . . . > >> > > That is a socking great leap. > > > Yes :) > > I switched to unix over LyX and writing equations as a grad student. Then > 3 or 4 years ago, a clearance macbook jumped me at Frys. I figured I could > always put freebsd on it if I couldn't get along. And I was about to do > exactly that, until I used spotlight a couple of times. I thought it would > be focus-follows-mouse that would be hardest to give up, but it turned out > to be cut & paste in X . . . > > And I still used them as primarily unix boxen, but with great searching . . > . and better power management/battery life than I could manage under > FreeBSD or Linux. > > > > The mini is two or three years old. > > > > > > > I am inclined to think that something is sneakily working in the background > > and sucking up the RAM like nobody's business. > > > > Better have a look at all the active processes via the thing that I think > > is called 'System Monitor' in the 'Utilities' folder > > [nicked from Linux]. If there is something racheting up the RAM there you > > can Force quit the thing and see if that makes any difference. > > > > > We had to dump a prior account on this machine that got bog-slow with > nothing I could find. ANy login or switch-user to that account killed > things. > > > I'll have it back in a couple of days and can try again . . . > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ms1 at soas.ac.uk Tue Apr 1 18:10:34 2014 From: ms1 at soas.ac.uk (Muaadh Salih) Date: Tue, 1 Apr 2014 23:10:34 +0100 Subject: Fiels as containers Message-ID: In a simple stack of five crads I put a field "aaa" to store the number of last card students were in last time to retruen to it when reopining the stack next. I put in card script on closestack put the number of this card into card field "aaa" of card 1 end closestack and in the stack script on Openstack go to card ( card field "aaa" of card 1) end Openstack This works fine as long as (I) do not quit livecode . if I colse ,quit and then click on the saved stack it goes to card one ! always ( livecode 6.6, 6.7, 7 and run rev 4.5) What went wrong please ?! -- All the best ?Muaadh Salih From dan at clearvisiontech.com Tue Apr 1 19:48:05 2014 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 1 Apr 2014 16:48:05 -0700 Subject: Export as PNG In-Reply-To: References: Message-ID: I can't seem to get a clean export of a resized PNG. If you set an image's fileName to a png with transparency, then resize the image, then export that image as PNG, it comes out with strange black parts in the background. Anyone know how to resolve this? Using LC 6.1.3 Thanks! -Dan From bobsneidar at iotecdigital.com Tue Apr 1 20:14:16 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 2 Apr 2014 00:14:16 +0000 Subject: Kill a handler - Found word(s) list error in the Text body In-Reply-To: <0c0b006f-173a-4415-b9ac-35ee331a3051@lists.runrev.com> References: <0c0b006f-173a-4415-b9ac-35ee331a3051@lists.runrev.com> Message-ID: <11A5CD0E-2CC3-478D-998E-414BC21DC21E@iotecdigital.com> command period. Bob On Mar 29, 2014, at 02:43 , Nakia Brewer wrote: > Hi, > > Is there a way u can kill a handler that is currently running (has long loops on it so runs a while). > > I am building a desktop version of the mobileActivity indicator and want to add a cancel button so it can cancel any current operation within the program... > > > > Sent from my iPhone > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Apr 1 20:27:39 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 2 Apr 2014 00:27:39 +0000 Subject: Sending mail (invisibly) from inside a Mac LC app In-Reply-To: <5335EC73.5030700@together.net> References: <006901cf4aca$18790fb0$496b2f10$@FlexibleLearning.com> <5335EC73.5030700@together.net> Message-ID: To play the Devil?s advocate so to speak, we had people downloading and installing wares and peer to peer software, and then sharing illegal copies of movies with others out of our high speed corporate network. We told them not to. Over and over again. They kept doing it anyway. This got found out, of course, since there are bots looking for people doing this very thing. Now the producers of said pirated copyrighted material did not approach the people doing it. They did not approach the company I was working for. They approached the ISP and DEMANDED that the ISP block all outbound and inbound traffic from us! Thankfully, the ISP was more sensible than that, and alerted us that we had to find and resolve the issue, prove we had done so, then submit our findings, after which they would alert the concerned party. All that to say this: Users have absolutely NO COMPUNCTION WHATSOEVER about jeopardizing the corporate network using the companies own equipment. Therefore, it remains the companies responsibility and obligation to protect itself by monitoring what is going into and out of computers that belong to the company. Period. We did after all, have each employee sign an Acceptable Use policy telling them that any and all information stored on the companies computers was subject to viewing by authorized personnel. Not only that, but our content management software would log attempts to access blacklisted websites, so let?s not pretend this is not happening ALL THE TIME. Data is being collected on all of us everywhere, not just by the companies we work for, but by our ISP?s, our mail providers, our search engines and our frigging location services on our cell phones for crying out loud. And that is our PERSONAL computers! I think being upset about this is much ado about nothing. Bob On Mar 28, 2014, at 14:41 , Richard Miller wrote: > Fascinating responses here. Quite a spin folks are putting on my message without even asking first. > > The program is looking for signs of system failure on the Mac, before drives crash or other problems get out of hand. > > Nothing to do with the user. > > > > On 3/28/14 5:23 PM, stephen barncard wrote: >> secret collection is the devil. >> >> sqb >> >> *--* >> *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* >> >> >> On Fri, Mar 28, 2014 at 2:17 PM, John Dixon wrote: >> >>> Not nice...:-( >>> >>> >>>> Richard Miller wrote: >>>> >>>> I have a Mac-only LC program that runs invisibly in the background. This >>> is >>>> used in a corporate environment, so the actual user of the Mac computer >>> will >>>> not likely even know it is running. It is designed to collect certain >>> data >>>> and send it to management. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Apr 1 20:31:23 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 2 Apr 2014 00:31:23 +0000 Subject: Sending mail (invisibly) from inside a Mac LC app In-Reply-To: <53362116.6070404@together.net> References: <006901cf4aca$18790fb0$496b2f10$@FlexibleLearning.com> <5335E6F2.5000803@together.net> <53362116.6070404@together.net> Message-ID: <07D1BF7E-2F15-494F-81D4-7C6FEDFED073@iotecdigital.com> Why use email? Why not mySQL or a simple SMB share? Something like that? Bob On Mar 28, 2014, at 18:25 , Richard Miller wrote: > If I understand what you are saying, you are suggesting that my LC app send out the results of its search to a central server, which then handles the emailing. This is what I wanted to do originally, and how I first developed this app. > > What I have since been told by one client (who has about 100 Mac's) is that at their level of corporate business, they don't want any information leaving their network. Everything needs to be kept contained within their business. They have told me that this will generally be the case for many corporate clients of their size and larger. > > The ideal way seems to be to have the app generate the email itself, using the SMTP parameters from the corporate mail server. Or by taking advantage of something like the sendemail command. > > Thanks for your suggestion Mark. Did I misunderstand what you suggested? > > > Richard > > > > On 3/28/14 6:07 PM, Mark Talluto wrote: >> Richard, >> >> I understand the need to develop this type of application. You are going to want to run a php script on your server and have your mac app call the php script and send the needed parameters. This will keep things quite so the individual working on that system is not bothered by applications loading and interrupting their work flow. >> >> I tried pasting working code to solve this problem here, but it seem to be upsetting some server somewhere. It thinks I am doing something bad. Sound familiar? Oh well. I will put the code on in a text file on my server and make it available that way. This link will get you some fully tested, working code. If you have any questions, please let me know. >> >> http://www.canelasoftware.com/pub/rev/mailCode.txt >> >> >> Best regards, >> >> Mark Talluto >> 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 >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Apr 1 20:33:35 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 2 Apr 2014 00:33:35 +0000 Subject: Sending mail (invisibly) from inside a Mac LC app In-Reply-To: <53363108.3070503@together.net> References: <006901cf4aca$18790fb0$496b2f10$@FlexibleLearning.com> <5335E6F2.5000803@together.net> <53362116.6070404@together.net> <53363108.3070503@together.net> Message-ID: <19B1F25C-FD37-44B9-8510-3BC478AC98D7@iotecdigital.com> Is that really invisible? If they are in Apple Mail, don?t they see the mail being created and sent? Also, it will be in their sent mail. Not my idea of invisible. Further, this will only work if an email account with working SMTP has been already created, and if the SMTP server ever becomes unavailable and your app attempts to send something, it will pop an error. Bob On Mar 28, 2014, at 19:33 , Richard Miller wrote: > This solution looks promising. Used the following as an applescript. Worked perfectly. Just requires that each Mac have a working version of Mail installed. > > --------------------- > > set recipientName to "Richard" > set recipientAddress to "rdmiller at together.net" > set theSubject to "Type your subject here!" > set theContent to "Type your message content here!" > > tell application "Mail" > > ##Create the message > set theMessage to make new outgoing message with properties {subject:theSubject, content:theContent, visible:true} > > ##Set a recipient > tell theMessage > make new to recipient with properties {name:recipientName, address:recipientAddress} > > ##Send the Message > send > > end tell > end tell > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Tue Apr 1 21:02:32 2014 From: prothero at earthednet.org (Earthednet-wp) Date: Tue, 1 Apr 2014 18:02:32 -0700 Subject: Sending mail (invisibly) from inside a Mac LC app In-Reply-To: References: <006901cf4aca$18790fb0$496b2f10$@FlexibleLearning.com> <5335EC73.5030700@together.net> Message-ID: In 100% agreement. Bill William Prothero http://es.earthednet.org > On Apr 1, 2014, at 5:27 PM, Bob Sneidar wrote: > > To play the Devil?s advocate so to speak, we had people downloading and installing wares and peer to peer software, and then sharing illegal copies of movies with others out of our high speed corporate network. We told them not to. Over and over again. They kept doing it anyway. This got found out, of course, since there are bots looking for people doing this very thing. > > Now the producers of said pirated copyrighted material did not approach the people doing it. They did not approach the company I was working for. They approached the ISP and DEMANDED that the ISP block all outbound and inbound traffic from us! Thankfully, the ISP was more sensible than that, and alerted us that we had to find and resolve the issue, prove we had done so, then submit our findings, after which they would alert the concerned party. > > All that to say this: Users have absolutely NO COMPUNCTION WHATSOEVER about jeopardizing the corporate network using the companies own equipment. Therefore, it remains the companies responsibility and obligation to protect itself by monitoring what is going into and out of computers that belong to the company. Period. > > We did after all, have each employee sign an Acceptable Use policy telling them that any and all information stored on the companies computers was subject to viewing by authorized personnel. Not only that, but our content management software would log attempts to access blacklisted websites, so let?s not pretend this is not happening ALL THE TIME. Data is being collected on all of us everywhere, not just by the companies we work for, but by our ISP?s, our mail providers, our search engines and our frigging location services on our cell phones for crying out loud. And that is our PERSONAL computers! > > I think being upset about this is much ado about nothing. > > Bob > > >> On Mar 28, 2014, at 14:41 , Richard Miller wrote: >> >> Fascinating responses here. Quite a spin folks are putting on my message without even asking first. >> >> The program is looking for signs of system failure on the Mac, before drives crash or other problems get out of hand. >> >> Nothing to do with the user. >> >> >> >>> On 3/28/14 5:23 PM, stephen barncard wrote: >>> secret collection is the devil. >>> >>> sqb >>> >>> *--* >>> *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* >>> >>> >>>> On Fri, Mar 28, 2014 at 2:17 PM, John Dixon wrote: >>>> >>>> Not nice...:-( >>>> >>>> >>>>> Richard Miller wrote: >>>>> >>>>> I have a Mac-only LC program that runs invisibly in the background. This >>>> is >>>>> used in a corporate environment, so the actual user of the Mac computer >>>> will >>>>> not likely even know it is running. It is designed to collect certain >>>> data >>>>> and send it to management. >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 1 21:44:28 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 1 Apr 2014 18:44:28 -0700 Subject: occasional runaway control - anyone else seeing this? In-Reply-To: <1396371949260-4677795.post@n4.nabble.com> References: <1396371949260-4677795.post@n4.nabble.com> Message-ID: <15673692123.20140401184428@ahsoftware.net> Dave- Tuesday, April 1, 2014, 10:05:49 AM, you wrote: > I don't really want to file a bug about this because I can't reproduce it - > is anyone else seeing this? Occassionally. Nothing reproducible, of course. But I would see this on earlier LC incarnations as well. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From jacque at hyperactivesw.com Tue Apr 1 22:43:10 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 01 Apr 2014 21:43:10 -0500 Subject: New browser Message-ID: <533B793E.8040305@hyperactivesw.com> Has anyone tried the JavaScript interaction with the new browser yet? Someone has asked me if it works. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Apr 1 22:47:13 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 01 Apr 2014 21:47:13 -0500 Subject: Fiels as containers In-Reply-To: References: Message-ID: <533B7A31.8060609@hyperactivesw.com> On 4/1/14, 5:10 PM, Muaadh Salih wrote: > In a simple stack of five crads I put a field "aaa" to store the number of > last card students were in last time to retruen to it when reopining the > stack next. > I put in card script > on closestack > put the number of this card into card field "aaa" of card 1 > end closestack > > and in the stack script > on Openstack > go to card ( card field "aaa" of card 1) > end Openstack > > This works fine as long as (I) do not quit livecode . > if I colse ,quit and then click on the saved stack it goes to card one ! > always ( livecode 6.6, 6.7, 7 and run rev 4.5) > What went wrong please ?! > Try changing the openStack handler to a preOpenCard handler on card 1. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sims at ezpzapps.com Wed Apr 2 01:07:55 2014 From: sims at ezpzapps.com (Jim sims) Date: Wed, 2 Apr 2014 07:07:55 +0200 Subject: That Blinking Cursor Message-ID: Am using iOS 7 and the field's blinking cursor (insertion point) is barely visible. Is there any way to change it? The color of the fields is a light color - don't really want to change the color of the fields to black just to be able to see the cursor. Ideas? sims From revdev at pdslabs.net Wed Apr 2 01:09:16 2014 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 01 Apr 2014 22:09:16 -0700 Subject: Export as PNG In-Reply-To: References: Message-ID: <533B9B7C.7090608@pdslabs.net> Hi Dan, This is a wild guess... Have you tried setting the imageData of the img to the imageData of the img before exporting? I know, it sounds weird. But would the outcome be worse than your current one? Only time (and experimentation) will tell! I don't know if you have to do anything to the maskData. I've only done the above with JPGs. Phil Davis On 4/1/14, 4:48 PM, Dan Friedman wrote: > I can't seem to get a clean export of a resized PNG. > > If you set an image's fileName to a png with transparency, then resize the image, then export that image as PNG, it comes out with strange black parts in the background. Anyone know how to resolve this? > > Using LC 6.1.3 > > Thanks! > -Dan > _______________________________________________ > use-livecode mailing list > use-livecode 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 larry at significantplanet.org Wed Apr 2 01:32:06 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Tue, 1 Apr 2014 23:32:06 -0600 Subject: more trouble... Message-ID: <52CE3730A0084110B2C5078DBA2A2230@userd204a4d61c> I have the following code in my app: repeat for each line thisLine in myTrainingLines if the length of thisLine > 5 then put thisLine & return after field myTrainingOps end if end repeat -- filter field myTrainingOps without empty -- WHY IN THE HECK DOESN'T THIS LINE WORK???? delete line 11 of field myTrainingOps -- SO I HAVE TO USE THIS LINE; BUT I KNOW THERE ARE ONLY SUPPOSED TO BE 10 LINES. WHAT IF I HAVE A VARYING NUMBER OF LINES??? Again, thanks in advance for the help! From revdev at pdslabs.net Wed Apr 2 02:14:44 2014 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 01 Apr 2014 23:14:44 -0700 Subject: more trouble... In-Reply-To: <52CE3730A0084110B2C5078DBA2A2230@userd204a4d61c> References: <52CE3730A0084110B2C5078DBA2A2230@userd204a4d61c> Message-ID: <533BAAD4.3090104@pdslabs.net> Do this: repeat for each line thisLine in myTrainingLines if the length of thisLine > 5 then put thisLine & return after myList end repeat delete last char of myList put myList into field myTrainingOps Phil Davis On 4/1/14, 10:32 PM, larry at significantplanet.org wrote: > I have the following code in my app: > > repeat for each line thisLine in myTrainingLines > if the length of thisLine > 5 then > put thisLine & return after field myTrainingOps > end if > end repeat > -- filter field myTrainingOps without empty -- WHY IN THE HECK DOESN'T THIS LINE WORK???? > delete line 11 of field myTrainingOps -- SO I HAVE TO USE THIS LINE; BUT I KNOW THERE ARE ONLY SUPPOSED TO BE 10 LINES. WHAT IF I HAVE A VARYING NUMBER OF LINES??? > > > Again, thanks in advance for the help! > _______________________________________________ > use-livecode mailing list > use-livecode 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 larry at significantplanet.org Wed Apr 2 03:37:49 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Wed, 2 Apr 2014 01:37:49 -0600 Subject: more trouble... References: <52CE3730A0084110B2C5078DBA2A2230@userd204a4d61c> <533BAAD4.3090104@pdslabs.net> Message-ID: <0C66A1ABEB97428B9682B2074C0D981B@userd204a4d61c> Thanks Phil! ----- Original Message ----- From: "Phil Davis" To: "How to use LiveCode" Sent: Wednesday, April 02, 2014 12:14 AM Subject: Re: more trouble... > Do this: > > repeat for each line thisLine in myTrainingLines > if the length of thisLine > 5 then put thisLine & return after myList > end repeat > delete last char of myList > put myList into field myTrainingOps > > Phil Davis > > > > On 4/1/14, 10:32 PM, larry at significantplanet.org wrote: >> I have the following code in my app: >> >> repeat for each line thisLine in myTrainingLines >> if the length of thisLine > 5 then >> put thisLine & return after field myTrainingOps >> end if >> end repeat >> -- filter field myTrainingOps without empty -- WHY IN THE HECK DOESN'T >> THIS LINE WORK???? >> delete line 11 of field myTrainingOps -- SO I HAVE TO USE THIS LINE; BUT >> I KNOW THERE ARE ONLY SUPPOSED TO BE 10 LINES. WHAT IF I HAVE A VARYING >> NUMBER OF LINES??? >> >> >> Again, thanks in advance for the help! >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 larry at significantplanet.org Wed Apr 2 03:41:35 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Wed, 2 Apr 2014 01:41:35 -0600 Subject: extremely weird and frustrating... Message-ID: <68FBCB3013F14EC89F9C7D8BAC4F8899@userd204a4d61c> Here is my script line: sort field myTimes descending dateTime And here is the result: 16:33 15:56 12:16 11:35 9:14 7:47 2:08 1:22 25:34 34:55 Here is my other script line: sort field myTimes ascending dateTime And here is the result for that: 25:34 34:55 1:22 2:08 7:47 9:14 11:35 12:16 15:56 16:33 Seriously? From dave at applicationinsight.com Wed Apr 2 03:45:27 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Wed, 2 Apr 2014 00:45:27 -0700 (PDT) Subject: occasional runaway control - anyone else seeing this? In-Reply-To: <15673692123.20140401184428@ahsoftware.net> References: <1396371949260-4677795.post@n4.nabble.com> <15673692123.20140401184428@ahsoftware.net> Message-ID: <1396424727643-4677831.post@n4.nabble.com> hmm - in that case it must be something I've recently been doing more of that is encouraging runaway conditions. Have been seeing it more often on my local Win7 machine as well as a remote Windows server I remote into... ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/occasional-runaway-control-anyone-else-seeing-this-tp4677795p4677831.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Wed Apr 2 03:49:49 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 02 Apr 2014 09:49:49 +0200 Subject: extremely weird and frustrating... In-Reply-To: <68FBCB3013F14EC89F9C7D8BAC4F8899@userd204a4d61c> References: <68FBCB3013F14EC89F9C7D8BAC4F8899@userd204a4d61c> Message-ID: <533BC11D.6040308@economy-x-talk.com> Larry, that should be sort lines of field myTimes descending dateTime I assume that myTimes is a variable, but if it isn't, then your lines should be sort lines of field "myTimes" descending dateTime -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 4/2/2014 09:41, larry at significantplanet.org wrote: > Here is my script line: > sort field myTimes descending dateTime > > > And here is the result: > 16:33 > > 15:56 > > 12:16 > > 11:35 > > 9:14 > > 7:47 > > 2:08 > > 1:22 > > 25:34 > > 34:55 > > > > Here is my other script line: > > sort field myTimes ascending dateTime > > And here is the result for that: > > 25:34 > > 34:55 > > 1:22 > > 2:08 > > 7:47 > > 9:14 > > 11:35 > > 12:16 > > 15:56 > > 16:33 > > > > Seriously? From m.schonewille at economy-x-talk.com Wed Apr 2 03:57:03 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 02 Apr 2014 09:57:03 +0200 Subject: occasional runaway control - anyone else seeing this? In-Reply-To: <1396371949260-4677795.post@n4.nabble.com> References: <1396371949260-4677795.post@n4.nabble.com> Message-ID: <533BC2CF.9060606@economy-x-talk.com> Hi Dave, One reason why this may happen is the Geometry manager. Another reason is the margins of the group. If the margins are set to 0 and you're using the GM or have a resizing script somewhere, the controls often tend to "walk". Also, if you're using rect, top, left, bottom, right and other location properties in your script, these properties may change, triggering a resizing handler again, which eventually makes the control walk. You can avoid this by putting all location properties into variables before setting any position, e.g. put the topleft of grp "This Group" into myTL set the topleft of btn 1 to (item 1 of myTL + 5),(item 2 of myTL + 5) -- etc. If you give a little more info about what you're doing exactly, we might solve this problem. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 4/1/2014 19:05, Dave Kilroy wrote: > Quite a few times recently whilst developing on Windows (windows 7 x64) and > using various incarnations of LiveCode (LC 6.6, 6.6.1(rc1), LC 6.7 (dp1) I'm > getting an occasional 'runaway' behaviour. > > Occasionally, on one particular stack (holding quite a few controls to make > up it's GUI) if I'm editing a group with the inspector open on the 'Size & > Position' tab - if I click the up or down arrows on the left, top, right, or > bottom scrolling list fields, followed within a second or so by another > click on the same arrow - I get a 'runaway' of the control continuing to > move in the same direction at about 1 pixel/point per second. > > I'm not seeing it on LC 6.5 or 6.5.1 (or on OSX) > > I don't really want to file a bug about this because I can't reproduce it - > is anyone else seeing this? > > Kind regards > > Dave > > > From dave at applicationinsight.com Wed Apr 2 03:57:09 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Wed, 2 Apr 2014 00:57:09 -0700 (PDT) Subject: more trouble... In-Reply-To: <0C66A1ABEB97428B9682B2074C0D981B@userd204a4d61c> References: <52CE3730A0084110B2C5078DBA2A2230@userd204a4d61c> <533BAAD4.3090104@pdslabs.net> <0C66A1ABEB97428B9682B2074C0D981B@userd204a4d61c> Message-ID: <1396425429803-4677833.post@n4.nabble.com> Quick aside: I'm assuming that use of 'char' (as in "delete the last char of tVar") in the new world of Unicode will still work to get rid of a cr/return/tab - is that others' understanding too? ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/more-trouble-tp4677825p4677833.html Sent from the Revolution - User mailing list archive at Nabble.com. From alex at tweedly.net Wed Apr 2 03:59:46 2014 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 02 Apr 2014 08:59:46 +0100 Subject: extremely weird and frustrating... In-Reply-To: <68FBCB3013F14EC89F9C7D8BAC4F8899@userd204a4d61c> References: <68FBCB3013F14EC89F9C7D8BAC4F8899@userd204a4d61c> Message-ID: <533BC372.20006@tweedly.net> 25:34 and 34:55 are not valid dateTimes, so where those lines get sorted to is not well undefined; it looks as though LC simply decides to give them a '0:00'. Apart from those two lines, it looks (to me) like the result is correct. Isn't it ? -- Alex. On 02/04/2014 08:41, larry at significantplanet.org wrote: > Here is my script line: > sort field myTimes descending dateTime > > > And here is the result: > 16:33 > > 15:56 > > 12:16 > > 11:35 > > 9:14 > > 7:47 > > 2:08 > > 1:22 > > 25:34 > > 34:55 > > > > Here is my other script line: > > sort field myTimes ascending dateTime > > And here is the result for that: > > 25:34 > > 34:55 > > 1:22 > > 2:08 > > 7:47 > > 9:14 > > 11:35 > > 12:16 > > 15:56 > > 16:33 > > > > Seriously? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From larry at significantplanet.org Wed Apr 2 04:00:28 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Wed, 2 Apr 2014 02:00:28 -0600 Subject: more trouble... References: <52CE3730A0084110B2C5078DBA2A2230@userd204a4d61c><533BAAD4.3090104@pdslabs.net><0C66A1ABEB97428B9682B2074C0D981B@userd204a4d61c> <1396425429803-4677833.post@n4.nabble.com> Message-ID: <736F72CB5B784B958684A38E91EC5CF7@userd204a4d61c> Dave, I don't know anything about Unicode, but "delete the last char of field myField" worked just fine in LC ----- Original Message ----- From: "Dave Kilroy" To: Sent: Wednesday, April 02, 2014 1:57 AM Subject: Re: more trouble... > Quick aside: I'm assuming that use of 'char' (as in "delete the last char > of > tVar") in the new world of Unicode will still work to get rid of a > cr/return/tab - is that others' understanding too? > > > > ----- > "Some are born coders, some achieve coding, and some have coding thrust > upon them." - William Shakespeare & Hugh Senior > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/more-trouble-tp4677825p4677833.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 larry at significantplanet.org Wed Apr 2 04:02:03 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Wed, 2 Apr 2014 02:02:03 -0600 Subject: extremely weird and frustrating... References: <68FBCB3013F14EC89F9C7D8BAC4F8899@userd204a4d61c> <533BC372.20006@tweedly.net> Message-ID: <86BE5141ACA34E2A8963288040F747C6@userd204a4d61c> Sorry Alex, I do not understand. 16:33 is sixteen minutes and 33 seconds. So why is 25:34 not twenty-five minutes and 34 seconds? Last time I checked, there are 60 minutes in an hour. ----- Original Message ----- From: "Alex Tweedly" To: Sent: Wednesday, April 02, 2014 1:59 AM Subject: Re: extremely weird and frustrating... > 25:34 and 34:55 are not valid dateTimes, so where those lines get sorted > to is not well undefined; it looks as though LC simply decides to give > them a '0:00'. > > Apart from those two lines, it looks (to me) like the result is correct. > Isn't it ? > > -- Alex. > > > On 02/04/2014 08:41, larry at significantplanet.org wrote: >> Here is my script line: >> sort field myTimes descending dateTime >> >> >> And here is the result: >> 16:33 >> >> 15:56 >> >> 12:16 >> >> 11:35 >> >> 9:14 >> >> 7:47 >> >> 2:08 >> >> 1:22 >> >> 25:34 >> >> 34:55 >> >> >> >> Here is my other script line: >> >> sort field myTimes ascending dateTime >> >> And here is the result for that: >> >> 25:34 >> >> 34:55 >> >> 1:22 >> >> 2:08 >> >> 7:47 >> >> 9:14 >> >> 11:35 >> >> 12:16 >> >> 15:56 >> >> 16:33 >> >> >> >> Seriously? >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dave at applicationinsight.com Wed Apr 2 04:06:46 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Wed, 2 Apr 2014 01:06:46 -0700 (PDT) Subject: occasional runaway control - anyone else seeing this? In-Reply-To: <533BC2CF.9060606@economy-x-talk.com> References: <1396371949260-4677795.post@n4.nabble.com> <533BC2CF.9060606@economy-x-talk.com> Message-ID: <1396426006740-4677838.post@n4.nabble.com> Hi Mark Well in one of the stacks the relevant controls (fields and graphics) are contained in a group with margins set to 0, which is itself contained in a group with margins set to 0 - but in the other stack the controls are not grouped. I never mess the geometry manager and resize controls either in the GUI, message box or in code Your idea about triggering resizing handlers (even in edit mode) is a good one and I think I'll try suppressing messages next time and see if this makes a difference - thanks :) ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/occasional-runaway-control-anyone-else-seeing-this-tp4677795p4677838.html Sent from the Revolution - User mailing list archive at Nabble.com. From dixonja at hotmail.co.uk Wed Apr 2 04:15:31 2014 From: dixonja at hotmail.co.uk (John Dixon) Date: Wed, 2 Apr 2014 09:15:31 +0100 Subject: extremely weird and frustrating... In-Reply-To: <86BE5141ACA34E2A8963288040F747C6@userd204a4d61c> References: <68FBCB3013F14EC89F9C7D8BAC4F8899@userd204a4d61c>, <533BC372.20006@tweedly.net>, <86BE5141ACA34E2A8963288040F747C6@userd204a4d61c> Message-ID: Another way to do this would be to put a 0 in front of the 'hours & minutes' before you sort them... Alex, it trying to help you... no need to be cheeky !... on mouseUp set itemdel to ":" repeat with count = 1 to the number of lines of fld 1 if the number of chars of item 1 of line count of fld 1 = 1 then put 0 & line count of fld 1 into line count of fld 1 end if end repeat sort lines of fld 1 end mouseUp would give : 01:22 02:08 07:47 09:14 11:35 12:16 15:56 16:33 25:34 34:55 > From: larry at significantplanet.org > Sorry Alex, I do not understand. > > 16:33 is sixteen minutes and 33 seconds. > So why is 25:34 not twenty-five minutes and 34 seconds? > Last time I checked, there are 60 minutes in an hour. > > 25:34 and 34:55 are not valid dateTimes, so where those lines get sorted > > to is not well undefined; it looks as though LC simply decides to give > > them a '0:00'. > > > > Apart from those two lines, it looks (to me) like the result is correct. > > Isn't it ? > > > > -- Alex. > > > > > > On 02/04/2014 08:41, larry at significantplanet.org wrote: > >> Here is my script line: > >> sort field myTimes descending dateTime > >> 16:33 > >> 15:56 > >> 12:16 > >> 11:35 > >> 9:14 > >> 7:47 > >> 2:08 > >> 1:22 > >> 25:34 > >> 34:55 > >> > >> Here is my other script line: > >> 25:34 > >> 34:55 > >> 1:22 > >> 2:08 > >> 7:47 > >> 9:14 > >> 11:35 > >> 12:16 > >> 15:56 > >> 16:33 > >> > >> Seriously? From larry at significantplanet.org Wed Apr 2 04:25:18 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Wed, 2 Apr 2014 02:25:18 -0600 Subject: extremely weird and frustrating... References: <68FBCB3013F14EC89F9C7D8BAC4F8899@userd204a4d61c>, <533BC372.20006@tweedly.net>, <86BE5141ACA34E2A8963288040F747C6@userd204a4d61c> Message-ID: Thanks John, I'm not trying to be "cheeky" but I am frustrated. Sorry Alex. John, what you propose may work - haven't tried it yet. However, that still does not explain why WITHOUT the 0 in front of it, 9:14 was listed before 11:35 in my ascending sort. And just FYI, those are minutes and seconds I'm using and not hours and minutes. My point is that it seems to me that the dateTime sort does not work properly. What you proposed is a workaround because dateTime does NOT work properly, right? ----- Original Message ----- From: "John Dixon" To: "How to use LiveCode" Sent: Wednesday, April 02, 2014 2:15 AM Subject: RE: extremely weird and frustrating... > Another way to do this would be to put a 0 in front of the 'hours & > minutes' before you sort them... > Alex, it trying to help you... no need to be cheeky !... > > on mouseUp > set itemdel to ":" > repeat with count = 1 to the number of lines of fld 1 > if the number of chars of item 1 of line count of fld 1 = 1 then > put 0 & line count of fld 1 into line count of fld 1 > end if > end repeat > sort lines of fld 1 > end mouseUp > > would give : > > 01:22 > 02:08 > 07:47 > 09:14 > 11:35 > 12:16 > 15:56 > 16:33 > 25:34 > 34:55 > >> From: larry at significantplanet.org > >> Sorry Alex, I do not understand. >> >> 16:33 is sixteen minutes and 33 seconds. >> So why is 25:34 not twenty-five minutes and 34 seconds? >> Last time I checked, there are 60 minutes in an hour. > >> > 25:34 and 34:55 are not valid dateTimes, so where those lines get >> > sorted >> > to is not well undefined; it looks as though LC simply decides to give >> > them a '0:00'. >> > >> > Apart from those two lines, it looks (to me) like the result is >> > correct. >> > Isn't it ? >> > >> > -- Alex. >> > >> > >> > On 02/04/2014 08:41, larry at significantplanet.org wrote: >> >> Here is my script line: >> >> sort field myTimes descending dateTime > >> >> 16:33 >> >> 15:56 >> >> 12:16 >> >> 11:35 >> >> 9:14 >> >> 7:47 >> >> 2:08 >> >> 1:22 >> >> 25:34 >> >> 34:55 >> >> > >> >> Here is my other script line: > >> >> 25:34 >> >> 34:55 >> >> 1:22 >> >> 2:08 >> >> 7:47 >> >> 9:14 >> >> 11:35 >> >> 12:16 >> >> 15:56 >> >> 16:33 >> >> >> >> Seriously? > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From neil at runrev.com Wed Apr 2 04:47:09 2014 From: neil at runrev.com (Neil Roger) Date: Wed, 02 Apr 2014 09:47:09 +0100 Subject: New browser In-Reply-To: <533B793E.8040305@hyperactivesw.com> References: <533B793E.8040305@hyperactivesw.com> Message-ID: <533BCE8D.1090905@runrev.com> Hi Jacque, I have tried executing javascript on the new browser control and it works as expected. The following is what I tested with and the javscript is used to fill in a web form and then submit the data- / put "document.getElementById('user_email').value='test at test.com'; document.getElementById('user_password').value='testpassword';document.forms[0].submit();" into tScript/ / get revBrowserExecuteScript( tID, tScript) / Kind Regards, Neil Roger -- RunRev Support Team ~ http://www.runrev.com LiveCode -- Realize fast, compile-free coding -- On 02/04/2014 03:43, J. Landman Gay wrote: > Has anyone tried the JavaScript interaction with the new browser yet? > Someone has asked me if it works. > From m.schonewille at economy-x-talk.com Wed Apr 2 04:52:55 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 02 Apr 2014 10:52:55 +0200 Subject: extremely weird and frustrating... In-Reply-To: References: <68FBCB3013F14EC89F9C7D8BAC4F8899@userd204a4d61c>, <533BC372.20006@tweedly.net>, <86BE5141ACA34E2A8963288040F747C6@userd204a4d61c> Message-ID: <533BCFE7.2000007@economy-x-talk.com> John, There's no need to use a repeat loop: on mouseUp put fld 1 into myList set the itemDel to colon sort lines of myList numeric by item 2 of each sort lines of myList numeric by item 1 of each put myList into fld 2 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 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 4/2/2014 10:25, larry at significantplanet.org wrote: > Thanks John, > I'm not trying to be "cheeky" but I am frustrated. Sorry Alex. > > John, what you propose may work - haven't tried it yet. > However, that still does not explain why WITHOUT the 0 in front of it, > 9:14 was listed before 11:35 in my ascending sort. And just FYI, those > are minutes and seconds I'm using and not hours and minutes. > > My point is that it seems to me that the dateTime sort does not work > properly. What you proposed is a workaround because dateTime does NOT > work properly, right? > > ----- Original Message ----- From: "John Dixon" > To: "How to use LiveCode" > Sent: Wednesday, April 02, 2014 2:15 AM > Subject: RE: extremely weird and frustrating... > From m.schonewille at economy-x-talk.com Wed Apr 2 04:55:30 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 02 Apr 2014 10:55:30 +0200 Subject: extremely weird and frustrating... In-Reply-To: <68FBCB3013F14EC89F9C7D8BAC4F8899@userd204a4d61c> References: <68FBCB3013F14EC89F9C7D8BAC4F8899@userd204a4d61c> Message-ID: <533BD082.8050902@economy-x-talk.com> Larry, I looked at this again. If I use the following script on mouseUp set the twelveHourTime to true put fld 1 into myList set the itemDel to colon sort lines of myList descending numeric dateTime put myList into fld 2 end mouseUp I get this result: 16:33 15:56 12:16 11:35 9:14 7:47 2:08 1:22 25:34 34:55 which indicates that invalid times are simply not sorted. There are only 24 hours in a day and 24 and higher are invalid numbers for hours. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 4/2/2014 09:41, larry at significantplanet.org wrote: > Here is my script line: > sort field myTimes descending dateTime > > > And here is the result: > 16:33 > > 15:56 > > 12:16 > > 11:35 > > 9:14 > > 7:47 > > 2:08 > > 1:22 > > 25:34 > > 34:55 > > > > Here is my other script line: > > sort field myTimes ascending dateTime > > And here is the result for that: > > 25:34 > > 34:55 > > 1:22 > > 2:08 > > 7:47 > > 9:14 > > 11:35 > > 12:16 > > 15:56 > > 16:33 > > > > Seriously? From larry at significantplanet.org Wed Apr 2 05:10:21 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Wed, 2 Apr 2014 03:10:21 -0600 Subject: extremely weird and frustrating... References: <68FBCB3013F14EC89F9C7D8BAC4F8899@userd204a4d61c>, <533BC372.20006@tweedly.net>, <86BE5141ACA34E2A8963288040F747C6@userd204a4d61c> <533BCFE7.2000007@economy-x-talk.com> Message-ID: <2C400847602244D7B06C0F9E58BDE7FC@userd204a4d61c> Well Mark, I guess I do not know how to state minutes and seconds in the proper syntax for a correct dateTime sort. However, your piece of code below works perfectly. Thanks very much! Larry > on mouseUp > put fld 1 into myList > set the itemDel to colon > sort lines of myList numeric by item 2 of each > sort lines of myList numeric by item 1 of each > put myList into fld 2 > end mouseUp From benr_mc at cogapp.com Wed Apr 2 05:17:25 2014 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed, 02 Apr 2014 10:17:25 +0100 Subject: extremely weird and frustrating... In-Reply-To: References: <68FBCB3013F14EC89F9C7D8BAC4F8899@userd204a4d61c>, <533BC372.20006@tweedly.net>, <86BE5141ACA34E2A8963288040F747C6@userd204a4d61c> Message-ID: <533BD5A5.7050109@cogapp.com> I think the point is that (since the new "guessProgrammerIntent" feature that Devin spotted yesterday is no longer available today) the code for interpreting as "dateTime" has to make assumptions when the data isn't explicit. Not unreasonably, asked to interpret dd:dd as a datetime value, the code guesses that it is HH:MM rather than guessing that it is MM:SS. Whereas asked to interpret dd:dd:dd it will definitely interpret that as HH:MM:SS. So I wouldn't agree that > What you proposed is a workaround because dateTime does NOT work > properly, right? At worst you could say that the implementer, forced to make a decision about how to interpret an ambiguous input, made the wrong call (interpret it as HH:MM rather than as MM:SS) - but I think it's a judgement call, neither would really be wrong or right, just which is likely to be most useful in most cases. (Of course it's also worth noting that the way sort works is to apply the sorting function to pairs of input. The dateTime evaluation is applied to each piece of data in turn - there's no overall evaluation. An intelligent human operator, asked to sort a dozen items, might start interpreting them as HH:MM, then come across an instance which couldn't validly be interpreted as HH:MM but could be as MM:SS, and therefore decide to start over, now treating everything as MM:SS. But what we have is a machine, implementing a relatively efficient and flexible mechanism - which rightly precludes behaviour like that.) Ben On 02/04/2014 09:25, larry at significantplanet.org wrote: > Thanks John, > I'm not trying to be "cheeky" but I am frustrated. Sorry Alex. > > John, what you propose may work - haven't tried it yet. > However, that still does not explain why WITHOUT the 0 in front of it, 9:14 > was listed before 11:35 in my ascending sort. And just FYI, those are minutes > and seconds I'm using and not hours and minutes. > > My point is that it seems to me that the dateTime sort does not work > properly. What you proposed is a workaround because dateTime does NOT work > properly, right? > > ----- Original Message ----- From: "John Dixon" > To: "How to use LiveCode" > Sent: Wednesday, April 02, 2014 2:15 AM > Subject: RE: extremely weird and frustrating... > > >> Another way to do this would be to put a 0 in front of the 'hours & minutes' >> before you sort them... >> Alex, it trying to help you... no need to be cheeky !... >> >> on mouseUp >> set itemdel to ":" >> repeat with count = 1 to the number of lines of fld 1 >> if the number of chars of item 1 of line count of fld 1 = 1 then >> put 0 & line count of fld 1 into line count of fld 1 >> end if >> end repeat >> sort lines of fld 1 >> end mouseUp >> >> would give : >> >> 01:22 >> 02:08 >> 07:47 >> 09:14 >> 11:35 >> 12:16 >> 15:56 >> 16:33 >> 25:34 >> 34:55 >> >>> From: larry at significantplanet.org >> >>> Sorry Alex, I do not understand. >>> >>> 16:33 is sixteen minutes and 33 seconds. >>> So why is 25:34 not twenty-five minutes and 34 seconds? >>> Last time I checked, there are 60 minutes in an hour. >> >>> > 25:34 and 34:55 are not valid dateTimes, so where those lines get > sorted >>> > to is not well undefined; it looks as though LC simply decides to give >>> > them a '0:00'. >>> > >>> > Apart from those two lines, it looks (to me) like the result is > correct. >>> > Isn't it ? >>> > >>> > -- Alex. >>> > >>> > >>> > On 02/04/2014 08:41, larry at significantplanet.org wrote: >>> >> Here is my script line: >>> >> sort field myTimes descending dateTime >> >>> >> 16:33 >>> >> 15:56 >>> >> 12:16 >>> >> 11:35 >>> >> 9:14 >>> >> 7:47 >>> >> 2:08 >>> >> 1:22 >>> >> 25:34 >>> >> 34:55 >>> >> >> >>> >> Here is my other script line: >> >>> >> 25:34 >>> >> 34:55 >>> >> 1:22 >>> >> 2:08 >>> >> 7:47 >>> >> 9:14 >>> >> 11:35 >>> >> 12:16 >>> >> 15:56 >>> >> 16:33 >>> >> >>> >> Seriously? >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From dave at applicationinsight.com Wed Apr 2 05:32:14 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Wed, 2 Apr 2014 02:32:14 -0700 (PDT) Subject: more trouble... In-Reply-To: <736F72CB5B784B958684A38E91EC5CF7@userd204a4d61c> References: <52CE3730A0084110B2C5078DBA2A2230@userd204a4d61c> <533BAAD4.3090104@pdslabs.net> <0C66A1ABEB97428B9682B2074C0D981B@userd204a4d61c> <1396425429803-4677833.post@n4.nabble.com> <736F72CB5B784B958684A38E91EC5CF7@userd204a4d61c> Message-ID: <1396431134409-4677849.post@n4.nabble.com> Hi Larry Yep I use 'delete the last char of tVar' currently - the thing is can we use in the future? (I'm assuming so) - see this blog for info on LiveCode's upcoming Unicodification http://livecode.com/blog/2014/03/31/examining-unicode-part-i-the-dissection/ ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/more-trouble-tp4677825p4677849.html Sent from the Revolution - User mailing list archive at Nabble.com. From ms1 at soas.ac.uk Wed Apr 2 05:44:24 2014 From: ms1 at soas.ac.uk (Muaadh Salih) Date: Wed, 2 Apr 2014 10:44:24 +0100 Subject: Firels as containers Message-ID: ? ---------- Forwarded message ---------- From: "J. Landman Gay" To: How to use LiveCode Cc: Date: Tue, 01 Apr 2014 21:47:13 -0500 Subject: Re: Fiels as containers On 4/1/14, 5:10 PM, Muaadh Salih wrote: > In a simple stack of five crads I put a field "aaa" to store the number of > last card students were in last time to retruen to it when reopining the > stack next. > I put in card script > on closestack > put the number of this card into card field "aaa" of card 1 > end closestack > > and in the stack script > on Openstack > go to card ( card field "aaa" of card 1) > end Openstack > > This works fine as long as (I) do not quit livecode . > if I colse ,quit and then click on the saved stack it goes to card one ! > always ( livecode 6.6, 6.7, 7 and run rev 4.5) > What went wrong please ?! > > Try changing the openStack handler to a preOpenCard handler on card 1. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ---- Thanks Jacqueline . It Does not work either . What I can not undrstand is why it DOES work when : 1- save the stack scripte 2- close 3- open stack (from file menu without quiting LC ) while it DOES NOT ( always goes to card one) when: 1- Save the stack scripte 2- Cose 3- Quit LC 4-Double click on stack stack (from file menu without quiting live code ) ? -- All the best M.Salih Principal Teaching Fellow Arabic Project Coordinator Fellow of the Teaching & Learning Academy in Higher Education Department of the Languages and Cultures of the Near and Middle East Faculty of Languages and Cultures School of Oriental and African Studies (SOAS) Tel : +442078984354 From larry at significantplanet.org Wed Apr 2 05:47:56 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Wed, 2 Apr 2014 03:47:56 -0600 Subject: extremely weird and frustrating... References: <68FBCB3013F14EC89F9C7D8BAC4F8899@userd204a4d61c>, <533BC372.20006@tweedly.net>, <86BE5141ACA34E2A8963288040F747C6@userd204a4d61c> <533BD5A5.7050109@cogapp.com> Message-ID: <3D580B506B264C6F9D103DF859E7C5A8@userd204a4d61c> Thank you Ben. I agree with what you say and just hadn't thought of that - because my mind was locked in on MM:SS. So Mark gave me a piece of code that works perfectly in sorting the field how I want. And now I recognize that Mark's code is NOT a workaround, but just taking into account what you just said. So the good news is: I'm no longer frustrated. I guess the bad news is: I'm still weird! Thanks for the lesson! Larry ----- Original Message ----- From: "Ben Rubinstein" To: "How to use LiveCode" Sent: Wednesday, April 02, 2014 3:17 AM Subject: Re: extremely weird and frustrating... >I think the point is that (since the new "guessProgrammerIntent" feature >that Devin spotted yesterday is no longer available today) the code for >interpreting as "dateTime" has to make assumptions when the data isn't >explicit. > > Not unreasonably, asked to interpret dd:dd as a datetime value, the code > guesses that it is HH:MM rather than guessing that it is MM:SS. Whereas > asked to interpret dd:dd:dd it will definitely interpret that as HH:MM:SS. > > So I wouldn't agree that > > What you proposed is a workaround because dateTime does NOT work > > properly, right? > > At worst you could say that the implementer, forced to make a decision > about how to interpret an ambiguous input, made the wrong call (interpret > it as HH:MM rather than as MM:SS) - but I think it's a judgement call, > neither would really be wrong or right, just which is likely to be most > useful in most cases. > > (Of course it's also worth noting that the way sort works is to apply the > sorting function to pairs of input. The dateTime evaluation is applied to > each piece of data in turn - there's no overall evaluation. An > intelligent human operator, asked to sort a dozen items, might start > interpreting them as HH:MM, then come across an instance which couldn't > validly be interpreted as HH:MM but could be as MM:SS, and therefore > decide to start over, now treating everything as MM:SS. But what we have > is a machine, implementing a relatively efficient and flexible mechanism - > which rightly precludes behaviour like that.) > > Ben > > > On 02/04/2014 09:25, larry at significantplanet.org wrote: >> Thanks John, >> I'm not trying to be "cheeky" but I am frustrated. Sorry Alex. >> >> John, what you propose may work - haven't tried it yet. >> However, that still does not explain why WITHOUT the 0 in front of it, >> 9:14 >> was listed before 11:35 in my ascending sort. And just FYI, those are >> minutes >> and seconds I'm using and not hours and minutes. >> >> My point is that it seems to me that the dateTime sort does not work >> properly. What you proposed is a workaround because dateTime does NOT >> work >> properly, right? >> >> ----- Original Message ----- From: "John Dixon" >> To: "How to use LiveCode" >> Sent: Wednesday, April 02, 2014 2:15 AM >> Subject: RE: extremely weird and frustrating... >> >> >>> Another way to do this would be to put a 0 in front of the 'hours & >>> minutes' >>> before you sort them... >>> Alex, it trying to help you... no need to be cheeky !... >>> >>> on mouseUp >>> set itemdel to ":" >>> repeat with count = 1 to the number of lines of fld 1 >>> if the number of chars of item 1 of line count of fld 1 = 1 then >>> put 0 & line count of fld 1 into line count of fld 1 >>> end if >>> end repeat >>> sort lines of fld 1 >>> end mouseUp >>> >>> would give : >>> >>> 01:22 >>> 02:08 >>> 07:47 >>> 09:14 >>> 11:35 >>> 12:16 >>> 15:56 >>> 16:33 >>> 25:34 >>> 34:55 >>> >>>> From: larry at significantplanet.org >>> >>>> Sorry Alex, I do not understand. >>>> >>>> 16:33 is sixteen minutes and 33 seconds. >>>> So why is 25:34 not twenty-five minutes and 34 seconds? >>>> Last time I checked, there are 60 minutes in an hour. >>> >>>> > 25:34 and 34:55 are not valid dateTimes, so where those lines get > >>>> > sorted >>>> > to is not well undefined; it looks as though LC simply decides to >>>> > give >>>> > them a '0:00'. >>>> > >>>> > Apart from those two lines, it looks (to me) like the result is > >>>> > correct. >>>> > Isn't it ? >>>> > >>>> > -- Alex. >>>> > >>>> > >>>> > On 02/04/2014 08:41, larry at significantplanet.org wrote: >>>> >> Here is my script line: >>>> >> sort field myTimes descending dateTime >>> >>>> >> 16:33 >>>> >> 15:56 >>>> >> 12:16 >>>> >> 11:35 >>>> >> 9:14 >>>> >> 7:47 >>>> >> 2:08 >>>> >> 1:22 >>>> >> 25:34 >>>> >> 34:55 >>>> >> >>> >>>> >> Here is my other script line: >>> >>>> >> 25:34 >>>> >> 34:55 >>>> >> 1:22 >>>> >> 2:08 >>>> >> 7:47 >>>> >> 9:14 >>>> >> 11:35 >>>> >> 12:16 >>>> >> 15:56 >>>> >> 16:33 >>>> >> >>>> >> Seriously? >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription >>> preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 2 07:04:40 2014 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 02 Apr 2014 12:04:40 +0100 Subject: extremely weird and frustrating... In-Reply-To: <86BE5141ACA34E2A8963288040F747C6@userd204a4d61c> References: <68FBCB3013F14EC89F9C7D8BAC4F8899@userd204a4d61c> <533BC372.20006@tweedly.net> <86BE5141ACA34E2A8963288040F747C6@userd204a4d61c> Message-ID: <533BEEC8.9080003@tweedly.net> I think of 16:33 as sixteen hours and 33 minutes - LC won't interpret it as minutes and seconds, and thus anything above 23:59 is invalid - and therefore apparently interpreted as "0:00" Unfortunately I can't find a definitive list of valid formats in the docs, but nothing in the dictionary entry for 'convert' includes mins:secs - it's always either hours:mins or hours:mins:secs, so I'm fairly sure that's what's happening. (You could use a sort by custom function to convert them all to hours:min:secs , e.g. sort field myTimes descending dateTime by hoursMinsSecs(each) function hoursMinsSecs pTime -- change a time in mins:secs to hours:mins:secs set the itemDel to ":" if the number of items in pTime = 2 then return "0:" & pTime end if return pTime -- already is hours:mins:secs end hoursMinsSecs -- Alex. On 02/04/2014 09:02, larry at significantplanet.org wrote: > Sorry Alex, I do not understand. > > 16:33 is sixteen minutes and 33 seconds. > So why is 25:34 not twenty-five minutes and 34 seconds? > Last time I checked, there are 60 minutes in an hour. > > ----- Original Message ----- From: "Alex Tweedly" > To: > Sent: Wednesday, April 02, 2014 1:59 AM > Subject: Re: extremely weird and frustrating... > > >> 25:34 and 34:55 are not valid dateTimes, so where those lines get >> sorted to is not well undefined; it looks as though LC simply decides >> to give them a '0:00'. >> >> Apart from those two lines, it looks (to me) like the result is >> correct. Isn't it ? >> >> -- Alex. >> >> >> On 02/04/2014 08:41, larry at significantplanet.org wrote: >>> Here is my script line: >>> sort field myTimes descending dateTime >>> >>> >>> And here is the result: >>> 16:33 >>> >>> 15:56 >>> >>> 12:16 >>> >>> 11:35 >>> >>> 9:14 >>> >>> 7:47 >>> >>> 2:08 >>> >>> 1:22 >>> >>> 25:34 >>> >>> 34:55 >>> >>> >>> >>> Here is my other script line: >>> >>> sort field myTimes ascending dateTime >>> >>> And here is the result for that: >>> >>> 25:34 >>> >>> 34:55 >>> >>> 1:22 >>> >>> 2:08 >>> >>> 7:47 >>> >>> 9:14 >>> >>> 11:35 >>> >>> 12:16 >>> >>> 15:56 >>> >>> 16:33 >>> >>> >>> >>> Seriously? >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Apr 2 07:24:37 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 02 Apr 2014 14:24:37 +0300 Subject: 7.0 dp 1 Dictionary Message-ID: <533BF375.7010801@gmail.com> I have just been reading Fraser's seminal article here: http://livecode.com/blog/2014/04/02/examining-unicode-part-ii-digesting-text/ and got all excited about "codepointProperty", but did not quite understand "Diacritic", so I cracked open 7 dp 1 [UbuntuStudio 14.04 final beta] and found that I could not enter a search term into the search field in the dictionary. --------------------------- The problem does not occur in 6.7 dp 1; but, then "codepointProprty" is not in the dictionary (obviously). --------------------------- Camembert. Richmond. From fraser.gordon at runrev.com Wed Apr 2 07:30:53 2014 From: fraser.gordon at runrev.com (Fraser Gordon) Date: Wed, 2 Apr 2014 12:30:53 +0100 Subject: 7.0 dp 1 Dictionary In-Reply-To: <533BF375.7010801@gmail.com> References: <533BF375.7010801@gmail.com> Message-ID: On 2 Apr 2014, at 12:24, Richmond wrote: > I have just been reading Fraser's seminal article here: > > http://livecode.com/blog/2014/04/02/examining-unicode-part-ii-digesting-text/ > > and got all excited about "codepointProperty", but did not quite understand "Diacritic", > Diacritics are the technical term for the accents and other bits that get attached to letters. In terms of the codepointProperty function, the "Diacritic" property returns true for diacritical characters and false otherwise. > so I cracked open 7 dp 1 [UbuntuStudio 14.04 final beta] and found that I could not > enter a search term into the search field in the dictionary. That is unfortunate. Has anyone else seen something like this? It's one of those things that happens to work on the Linux virtual machines I have... > Camembert. Edam? Regards, Fraser From wow at together.net Wed Apr 2 07:33:44 2014 From: wow at together.net (Richard Miller) Date: Wed, 02 Apr 2014 07:33:44 -0400 Subject: Sending mail (invisibly) from inside a Mac LC app In-Reply-To: <19B1F25C-FD37-44B9-8510-3BC478AC98D7@iotecdigital.com> References: <006901cf4aca$18790fb0$496b2f10$@FlexibleLearning.com> <5335E6F2.5000803@together.net> <53362116.6070404@together.net> <53363108.3070503@together.net> <19B1F25C-FD37-44B9-8510-3BC478AC98D7@iotecdigital.com> Message-ID: <533BF598.2060900@together.net> The challenge with this issue (of automatically sending an email from a given computer) is that I need to offer the easiest, most compatible, and the safest method to the user. The users of this app can range from a single computer home user to a large corporation with many Macs installed. To work for home users, the solution needs to be dead simple. Mail is installed on every Mac. Almost every user can configure mail to send an outgoing message. Using AppleScript to trigger an email runs so quickly that the user will rarely see it happening. Yes, there will be a record of the email in their sent box. But my app only sends an email when it identifies a problem with the users hard drive or OS... so not worried about hiding anything. I am still looking into the PHP script option for corporate users. One alternative solution is to have my app pop up a notification on the users desktop alerting them to the problem. This avoids the need to send an email altogether. But I have been told that this solution is probably not acceptable in a corporate environment. Richard On 4/1/14 8:33 PM, Bob Sneidar wrote: > Is that really invisible? If they are in Apple Mail, don?t they see the mail being created and sent? Also, it will be in their sent mail. Not my idea of invisible. Further, this will only work if an email account with working SMTP has been already created, and if the SMTP server ever becomes unavailable and your app attempts to send something, it will pop an error. > > Bob > > > On Mar 28, 2014, at 19:33 , Richard Miller wrote: > >> This solution looks promising. Used the following as an applescript. Worked perfectly. Just requires that each Mac have a working version of Mail installed. >> >> --------------------- >> >> set recipientName to "Richard" >> set recipientAddress to "rdmiller at together.net" >> set theSubject to "Type your subject here!" >> set theContent to "Type your message content here!" >> >> tell application "Mail" >> >> ##Create the message >> set theMessage to make new outgoing message with properties {subject:theSubject, content:theContent, visible:true} >> >> ##Set a recipient >> tell theMessage >> make new to recipient with properties {name:recipientName, address:recipientAddress} >> >> ##Send the Message >> send >> >> end tell >> end tell >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From fraser.gordon at runrev.com Wed Apr 2 07:41:02 2014 From: fraser.gordon at runrev.com (Fraser Gordon) Date: Wed, 2 Apr 2014 12:41:02 +0100 Subject: 7.0 dp 1 Dictionary In-Reply-To: References: <533BF375.7010801@gmail.com> Message-ID: <4AA3FF9E-713B-478F-AD9C-F1B577A96A82@runrev.com> On 2 Apr 2014, at 12:30, Fraser Gordon wrote: > > On 2 Apr 2014, at 12:24, Richmond wrote: > >> I have just been reading Fraser's seminal article here: >> >> http://livecode.com/blog/2014/04/02/examining-unicode-part-ii-digesting-text/ >> >> and got all excited about "codepointProperty", but did not quite understand "Diacritic", >> > > Diacritics are the technical term for the accents and other bits that get attached to letters. In terms of the codepointProperty function, the "Diacritic" property returns true for diacritical characters and false otherwise. Just noticed your post on the blog entry itself so sorry if I misunderstood what you were asking about diacritics - the short answer is that the engine looks up the information in the Unicode Character Database (which libICU provides a nice interface to). It is this that has caused the expansion in the size of the standalones in the DP (temporarily, we hope). Regards, Fraser From benr_mc at cogapp.com Wed Apr 2 07:47:45 2014 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed, 02 Apr 2014 12:47:45 +0100 Subject: Sending mail (invisibly) from inside a Mac LC app In-Reply-To: <533BF598.2060900@together.net> References: <006901cf4aca$18790fb0$496b2f10$@FlexibleLearning.com> <5335E6F2.5000803@together.net> <53362116.6070404@together.net> <53363108.3070503@together.net> <19B1F25C-FD37-44B9-8510-3BC478AC98D7@iotecdigital.com> <533BF598.2060900@together.net> Message-ID: <533BF8E1.4070906@cogapp.com> I'm still surprised that your original approach of doing SMTP directly from inside LC wasn't sucessful. I have an app that does data transformation jobs on a regularly scheduled basis, and sends reports via email. I coded it many years ago, basing this part on Shao Shen's libSMTP; with simple configuration options for SMTP server, port, auth type, username and password; and since then it's been deployed by a number of different clients, and we've always been able to configure it successfully to work with the mail server in their environment. For home users, maybe you could use AppleScript to extract the configuration from their Mail app at startup, and if necessary ask them to confirm the details (you probably have to ask them to confirm the password even in the best case); for corporate users getting the details of their mail server may have to be part of the (one time for the organisation) configuration. But once you have the configuration, taking this approach feels more robust, since it doesn't require using AppleScript to work with a third-party piece of software which may change outside your control (Apple are rubbish at implementing their own technology, including AppleScript, consistently) and may not always be installed. (On my own Mac for example, Mail is always there, because it's not worth the trouble to deinstall it; but I've never used it in all the years since moving to OS X. (I used to be an Outlook/Entourage user, then I switched to Thunderbird). So your software would launch Mail, which would then appear and ask me to configure it, I'd decline.... etc.) My $0.02 Ben From richmondmathewson at gmail.com Wed Apr 2 08:15:44 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 02 Apr 2014 15:15:44 +0300 Subject: 7.0 dp 1 Dictionary In-Reply-To: <4AA3FF9E-713B-478F-AD9C-F1B577A96A82@runrev.com> References: <533BF375.7010801@gmail.com> <4AA3FF9E-713B-478F-AD9C-F1B577A96A82@runrev.com> Message-ID: <533BFF70.6020105@gmail.com> On 02/04/14 14:41, Fraser Gordon wrote: > On 2 Apr 2014, at 12:30, Fraser Gordon wrote: > >> On 2 Apr 2014, at 12:24, Richmond wrote: >> >>> I have just been reading Fraser's seminal article here: >>> >>> http://livecode.com/blog/2014/04/02/examining-unicode-part-ii-digesting-text/ >>> >>> and got all excited about "codepointProperty", but did not quite understand "Diacritic", >>> >> Diacritics are the technical term for the accents and other bits that get attached to letters. In terms of the codepointProperty function, the "Diacritic" property returns true for diacritical characters and false otherwise. > Just noticed your post on the blog entry itself so sorry if I misunderstood what you were asking about diacritics - the short answer is that the engine looks up the information in the Unicode Character Database (which libICU provides a nice interface to). It is this that has caused the expansion in the size of the standalones in the DP (temporarily, we hope). > > Regards, > Fraser > > Thanks for that. Re: Diacritics. While you are a real computer programmer (which I am most definitely not), I have an M.A. in Linguistics. However, my problem was not with "Diacritic" as such, but the syntax of codepointProperty, and, wanting to "play around with it" to see how it worked, my 'natural' first stop was to have a look in 7.0's dictionary (mind you, it may not be up-to-date). Richmond. From alex at tweedly.net Wed Apr 2 08:27:32 2014 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 02 Apr 2014 13:27:32 +0100 Subject: extremely weird and frustrating... In-Reply-To: <533BEEC8.9080003@tweedly.net> References: <68FBCB3013F14EC89F9C7D8BAC4F8899@userd204a4d61c> <533BC372.20006@tweedly.net> <86BE5141ACA34E2A8963288040F747C6@userd204a4d61c> <533BEEC8.9080003@tweedly.net> Message-ID: <533C0234.5010005@tweedly.net> (answering my own responses again :-) It depends what your file contains if the time is more than one hour. If the time was, say, sixty-five-and-a-half minutes, would the file entry be 65:30 or 1:05:30 If it's the former, then Mark's two-step sort is the right answer. If it's the latter, then my custom function sort given earlier will work. If it could be either - then you'd need to extend the custom function; this will work for either 65:30 or 1:05:30 function hoursMinsSecs pTime -- change a time in mins:secs to hours:mins:secs set the itemDel to ":" if the number of items in pTime = 2 then put item 1 of pTime into tMins put tMins div 60 into tHours put tMins mod 60 into tMins return tHours & ":" & tMins & ":" & item 2 of pTime end if return pTime -- already is hours:mins:secs end hoursMinsSecs And if minutes can be negative, then .... that's left as an exercise :-) -- Alex. On 02/04/2014 12:04, Alex Tweedly wrote: > > I think of 16:33 as sixteen hours and 33 minutes - LC won't interpret > it as minutes and seconds, and thus anything above 23:59 is invalid - > and therefore apparently interpreted as "0:00" > > Unfortunately I can't find a definitive list of valid formats in the > docs, but nothing in the dictionary entry for 'convert' includes > mins:secs - it's always either hours:mins or hours:mins:secs, so I'm > fairly sure that's what's happening. > > > (You could use a sort by custom function to convert them all to > hours:min:secs , e.g. > > sort field myTimes descending dateTime by hoursMinsSecs(each) > > function hoursMinsSecs pTime > -- change a time in mins:secs to hours:mins:secs > set the itemDel to ":" > if the number of items in pTime = 2 then > return "0:" & pTime > end if > return pTime -- already is hours:mins:secs > end hoursMinsSecs > > -- Alex. > > > On 02/04/2014 09:02, larry at significantplanet.org wrote: >> Sorry Alex, I do not understand. >> >> 16:33 is sixteen minutes and 33 seconds. >> So why is 25:34 not twenty-five minutes and 34 seconds? >> Last time I checked, there are 60 minutes in an hour. >> >> ----- Original Message ----- From: "Alex Tweedly" >> To: >> Sent: Wednesday, April 02, 2014 1:59 AM >> Subject: Re: extremely weird and frustrating... >> >> >>> 25:34 and 34:55 are not valid dateTimes, so where those lines get >>> sorted to is not well undefined; it looks as though LC simply >>> decides to give them a '0:00'. >>> >>> Apart from those two lines, it looks (to me) like the result is >>> correct. Isn't it ? >>> >>> -- Alex. >>> >>> >>> On 02/04/2014 08:41, larry at significantplanet.org wrote: >>>> Here is my script line: >>>> sort field myTimes descending dateTime >>>> >>>> >>>> And here is the result: >>>> 16:33 >>>> >>>> 15:56 >>>> >>>> 12:16 >>>> >>>> 11:35 >>>> >>>> 9:14 >>>> >>>> 7:47 >>>> >>>> 2:08 >>>> >>>> 1:22 >>>> >>>> 25:34 >>>> >>>> 34:55 >>>> >>>> >>>> >>>> Here is my other script line: >>>> >>>> sort field myTimes ascending dateTime >>>> >>>> And here is the result for that: >>>> >>>> 25:34 >>>> >>>> 34:55 >>>> >>>> 1:22 >>>> >>>> 2:08 >>>> >>>> 7:47 >>>> >>>> 9:14 >>>> >>>> 11:35 >>>> >>>> 12:16 >>>> >>>> 15:56 >>>> >>>> 16:33 >>>> >>>> >>>> >>>> Seriously? >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From fraser.gordon at runrev.com Wed Apr 2 08:39:27 2014 From: fraser.gordon at runrev.com (Fraser Gordon) Date: Wed, 2 Apr 2014 13:39:27 +0100 Subject: 7.0 dp 1 Dictionary In-Reply-To: <533BFF70.6020105@gmail.com> References: <533BF375.7010801@gmail.com> <4AA3FF9E-713B-478F-AD9C-F1B577A96A82@runrev.com> <533BFF70.6020105@gmail.com> Message-ID: <1F1477FE-4E1C-432E-ADE6-46A8BE1321D5@runrev.com> On 2 Apr 2014, at 13:15, Richmond wrote: > Re: Diacritics. While you are a real computer programmer (which I am most definitely not), I have an M.A. in Linguistics. > I remembered your interest in linguistics shortly after sending the email and felt rather silly for providing egg-sucking instructions! I'm also not necessarily a real computer programmer (I just play one on TV) - my qualifications are in physics and electronic engineering? nobody seems to have noticed yet, thankfully ;) > However, my problem was not with "Diacritic" as such, but the syntax of codepointProperty, and, wanting to > "play around with it" to see how it worked, my 'natural' first stop was to have a look in 7.0's dictionary > (mind you, it may not be up-to-date). There should be an entry for it (at least there is in my copy). If you want to get an idea of what properties are provided, go to http://www.unicode.org/reports/tr44/ and scroll down to section 5 "Properties". Not all the properties in that table work but most of them do. Regards, Fraser From dave at applicationinsight.com Wed Apr 2 09:06:59 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Wed, 2 Apr 2014 06:06:59 -0700 (PDT) Subject: more trouble... In-Reply-To: <1396431134409-4677849.post@n4.nabble.com> References: <52CE3730A0084110B2C5078DBA2A2230@userd204a4d61c> <533BAAD4.3090104@pdslabs.net> <0C66A1ABEB97428B9682B2074C0D981B@userd204a4d61c> <1396425429803-4677833.post@n4.nabble.com> <736F72CB5B784B958684A38E91EC5CF7@userd204a4d61c> <1396431134409-4677849.post@n4.nabble.com> Message-ID: <1396444019332-4677861.post@n4.nabble.com> Just to confirm - it looks like we are safe to continue using the "delete the last char of tList" structure (Fraser just confirmed it in a reply to my question over at http://livecode.com/blog/2014/04/02/examining-unicode-part-ii-digesting-text/ ) I can relax now without that niggling little question buzzing around my head... ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/more-trouble-tp4677825p4677861.html Sent from the Revolution - User mailing list archive at Nabble.com. From wow at together.net Wed Apr 2 09:15:08 2014 From: wow at together.net (Richard Miller) Date: Wed, 02 Apr 2014 09:15:08 -0400 Subject: Sending mail (invisibly) from inside a Mac LC app In-Reply-To: <533BF8E1.4070906@cogapp.com> References: <006901cf4aca$18790fb0$496b2f10$@FlexibleLearning.com> <5335E6F2.5000803@together.net> <53362116.6070404@together.net> <53363108.3070503@together.net> <19B1F25C-FD37-44B9-8510-3BC478AC98D7@iotecdigital.com> <533BF598.2060900@together.net> <533BF8E1.4070906@cogapp.com> Message-ID: <533C0D5C.4090201@together.net> Yes, Ben... I agree with you. The frustration is that, in testing both Shao's library and Sarah's with one client in particular (120 Mac's), we couldn't get either to work with their mail settings (and we tried numerous settings). It works fine using my GoDaddy settings, so I know the implementation is correct. If there was even a little technical help available, perhaps one of these could be made to work. But no luck so far. Richard On 4/2/14 7:47 AM, Ben Rubinstein wrote: > I'm still surprised that your original approach of doing SMTP directly > from inside LC wasn't sucessful. > > I have an app that does data transformation jobs on a regularly > scheduled basis, and sends reports via email. I coded it many years > ago, basing this part on Shao Shen's libSMTP; with simple > configuration options for SMTP server, port, auth type, username and > password; and since then it's been deployed by a number of different > clients, and we've always been able to configure it successfully to > work with the mail server in their environment. > > For home users, maybe you could use AppleScript to extract the > configuration from their Mail app at startup, and if necessary ask > them to confirm the details (you probably have to ask them to confirm > the password even in the best case); for corporate users getting the > details of their mail server may have to be part of the (one time for > the organisation) configuration. But once you have the configuration, > taking this approach feels more robust, since it doesn't require using > AppleScript to work with a third-party piece of software which may > change outside your control (Apple are rubbish at implementing their > own technology, including AppleScript, consistently) and may not > always be installed. > > (On my own Mac for example, Mail is always there, because it's not > worth the trouble to deinstall it; but I've never used it in all the > years since moving to OS X. (I used to be an Outlook/Entourage user, > then I switched to Thunderbird). So your software would launch Mail, > which would then appear and ask me to configure it, I'd decline.... etc.) > > My $0.02 > > Ben > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Wed Apr 2 09:50:15 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 02 Apr 2014 16:50:15 +0300 Subject: 7.0 dp 1 Dictionary In-Reply-To: <1F1477FE-4E1C-432E-ADE6-46A8BE1321D5@runrev.com> References: <533BF375.7010801@gmail.com> <4AA3FF9E-713B-478F-AD9C-F1B577A96A82@runrev.com> <533BFF70.6020105@gmail.com> <1F1477FE-4E1C-432E-ADE6-46A8BE1321D5@runrev.com> Message-ID: <533C1597.2020801@gmail.com> On 02/04/14 15:39, Fraser Gordon wrote: > On 2 Apr 2014, at 13:15, Richmond wrote: > >> Re: Diacritics. While you are a real computer programmer (which I am most definitely not), I have an M.A. in Linguistics. >> > I remembered your interest in linguistics shortly after sending the email and felt rather silly for providing egg-sucking instructions! I'm also not necessarily a real computer programmer (I just play one on TV) - my qualifications are in physics and electronic engineering? nobody seems to have noticed yet, thankfully ;) > >> However, my problem was not with "Diacritic" as such, but the syntax of codepointProperty, and, wanting to >> "play around with it" to see how it worked, my 'natural' first stop was to have a look in 7.0's dictionary >> (mind you, it may not be up-to-date). > There should be an entry for it (at least there is in my copy). If you want to get an idea of what properties are provided, go to http://www.unicode.org/reports/tr44/ and scroll down to section 5 "Properties". Not all the properties in that table work but most of them do. Thanks. That's great. > > Regards, > Fraser > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Apr 2 10:04:58 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 02 Apr 2014 17:04:58 +0300 Subject: 7.0 dp 1 Dictionary In-Reply-To: <1F1477FE-4E1C-432E-ADE6-46A8BE1321D5@runrev.com> References: <533BF375.7010801@gmail.com> <4AA3FF9E-713B-478F-AD9C-F1B577A96A82@runrev.com> <533BFF70.6020105@gmail.com> <1F1477FE-4E1C-432E-ADE6-46A8BE1321D5@runrev.com> Message-ID: <533C190A.80901@gmail.com> On 02/04/14 15:39, Fraser Gordon wrote: > There should be an entry for it (at least there is in my copy). If you want to get an idea of what properties are provided, go to http://www.unicode.org/reports/tr44/ and scroll down to section 5 "Properties". Not all the properties in that table work but most of them do. > > and so to: http://www.unicode.org/reports/tr44/#Decomposition_Type "PropList.txt" would I be correct in thinking that in scripting phrases that are of this sort;| codepointProperty(c, "Diacritic") where you have "Diacritic" one could have any one of the PropList.txt terms? Richmond. | From prothero at earthednet.org Wed Apr 2 10:38:57 2014 From: prothero at earthednet.org (Earthednet-wp) Date: Wed, 2 Apr 2014 07:38:57 -0700 Subject: Using google maps In-Reply-To: <1396424727643-4677831.post@n4.nabble.com> References: <1396371949260-4677795.post@n4.nabble.com> <15673692123.20140401184428@ahsoftware.net> <1396424727643-4677831.post@n4.nabble.com> Message-ID: Has anybody implemented Google Maps or Google Earth? I notice the mergeMK external looks like it has some nice features. I'd be interested in anybody's experience and particularly if the mergeMK external is expected to work with livecode 7. Best, Bill William Prothero http://es.earthednet.org > On Apr 2, 2014, at 12:45 AM, Dave Kilroy wrote: > > hmm - in that case it must be something I've recently been doing more of that > is encouraging runaway conditions. Have been seeing it more often on my > local Win7 machine as well as a remote Windows server I remote into... > > > > ----- > "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/occasional-runaway-control-anyone-else-seeing-this-tp4677795p4677831.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 fraser.gordon at runrev.com Wed Apr 2 10:39:04 2014 From: fraser.gordon at runrev.com (Fraser Gordon) Date: Wed, 2 Apr 2014 15:39:04 +0100 Subject: 7.0 dp 1 Dictionary In-Reply-To: <533C190A.80901@gmail.com> References: <533BF375.7010801@gmail.com> <4AA3FF9E-713B-478F-AD9C-F1B577A96A82@runrev.com> <533BFF70.6020105@gmail.com> <1F1477FE-4E1C-432E-ADE6-46A8BE1321D5@runrev.com> <533C190A.80901@gmail.com> Message-ID: On 2 Apr 2014, at 15:04, Richmond wrote: > and so to: http://www.unicode.org/reports/tr44/#Decomposition_Type "PropList.txt" > > would I be correct in thinking that in scripting phrases that are of this sort;| > > codepointProperty(c, "Diacritic") > > where you have "Diacritic" one could have any one of the PropList.txt terms? That's the idea. Terms are case-insensitive and underscores and spaces are considered to be equivalent. So you could say codepointProperty("?", "Decomposition_Type") -- E-Acute, if something eats the Unicode text and the result (in this case) would be "Canonical". Some property types might not be implemented and will give you a "bad property name" error - some of the listed properties don't seem to be provided by ICU (mostly deprecated properties). Regards, Fraser From ambassador at fourthworld.com Wed Apr 2 10:45:03 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 02 Apr 2014 07:45:03 -0700 Subject: more trouble... In-Reply-To: <1396444019332-4677861.post@n4.nabble.com> References: <1396444019332-4677861.post@n4.nabble.com> Message-ID: <533C226F.8080705@fourthworld.com> Dave Kilroy wrote: > Just to confirm - it looks like we are safe to continue using the > "delete the last char of tList" structure (Fraser just confirmed > it in a reply to my question over at ) > > I can relax now without that niggling little question buzzing around > my head... You should sleep better than ever because now that syntax should work with all languages, whereas in the past it would have returned only the last byte of a multi-byte character, giving you linguistic nonsense. -- 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 bobsneidar at iotecdigital.com Wed Apr 2 11:09:44 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 2 Apr 2014 15:09:44 +0000 Subject: extremely weird and frustrating... - Domain does not exist In-Reply-To: References: <68FBCB3013F14EC89F9C7D8BAC4F8899@userd204a4d61c>, <533BC372.20006@tweedly.net>, <86BE5141ACA34E2A8963288040F747C6@userd204a4d61c> Message-ID: <95A6CA3E-B3EB-4264-BC88-05D1935E23E2@iotecdigital.com> I think if you set the numberFormat to ?00? and itemDelimiter to ?:? you can add 0 to each item. Bob On Apr 2, 2014, at 01:15 , John Dixon wrote: > Another way to do this would be to put a 0 in front of the 'hours & minutes' before you sort them... > Alex, it trying to help you... no need to be cheeky !... > > on mouseUp > set itemdel to ":" > repeat with count = 1 to the number of lines of fld 1 > if the number of chars of item 1 of line count of fld 1 = 1 then > put 0 & line count of fld 1 into line count of fld 1 > end if > end repeat > sort lines of fld 1 > end mouseUp > > would give : > > 01:22 > 02:08 > 07:47 > 09:14 > 11:35 > 12:16 > 15:56 > 16:33 > 25:34 > 34:55 > >> From: larry at significantplanet.org > >> Sorry Alex, I do not understand. >> >> 16:33 is sixteen minutes and 33 seconds. >> So why is 25:34 not twenty-five minutes and 34 seconds? >> Last time I checked, there are 60 minutes in an hour. > >>> 25:34 and 34:55 are not valid dateTimes, so where those lines get sorted >>> to is not well undefined; it looks as though LC simply decides to give >>> them a '0:00'. >>> >>> Apart from those two lines, it looks (to me) like the result is correct. >>> Isn't it ? >>> >>> -- Alex. >>> >>> >>> On 02/04/2014 08:41, larry at significantplanet.org wrote: >>>> Here is my script line: >>>> sort field myTimes descending dateTime > >>>> 16:33 >>>> 15:56 >>>> 12:16 >>>> 11:35 >>>> 9:14 >>>> 7:47 >>>> 2:08 >>>> 1:22 >>>> 25:34 >>>> 34:55 >>>> > >>>> Here is my other script line: > >>>> 25:34 >>>> 34:55 >>>> 1:22 >>>> 2:08 >>>> 7:47 >>>> 9:14 >>>> 11:35 >>>> 12:16 >>>> 15:56 >>>> 16:33 >>>> >>>> Seriously? > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 2 11:11:38 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 02 Apr 2014 08:11:38 -0700 Subject: Sending mail (invisibly) from inside a Mac LC app In-Reply-To: <533BF598.2060900@together.net> References: <533BF598.2060900@together.net> Message-ID: <533C28AA.90101@fourthworld.com> Richard Miller wrote: > I am still looking into the PHP script option for corporate users. > > One alternative solution is to have my app pop up a notification on > the users desktop alerting them to the problem. This avoids the need > to send an email altogether. But I have been told that this solution > is probably not acceptable in a corporate environment. It seems the simplest, most flexible, and most efficient option. Email clients will vary, but every computer with Web access will be able to POST via HTTP. Every business has a Web site, and a script to log incoming reports could be written in LC in a few minutes, and be simple enough to take only a few milliseconds of server time. If the company's Web server is off-limits (as is often a good idea; I like to reserve public server clock cycles for the public), you could easily set up any spare machine in the office as an intranet server to handle this. Intranets can be useful for all sorts of services - once you get this logging going you'll no doubt think of dozens of other ways pulling an old PC out of retirement for this can provide strong value to the company. While it takes less than an hour to install Ubuntu Server and Apache and set it up as you like, if that seems daunting you could get started with a simple LC-based server like mchttpd. But given the wide range of useful free tools for intranets, using Apache is a more flexible option. You could still use LC as needed via LiveCode Server, but would also have OwnCloud and anything else your company could find useful available to them. Even if you had to build a custom machine for this, the ROI is strong. Private servers don't need a lot of horsepower (it's mostly just reading files and parsing text) - you may be pleasantly surprised by how easy it is to assemble a cheap kit like this, and how well it performs as a light-duty server: That one totals US$228, and if you shop around there are even cheaper options available. Small machines like that are also pretty green - most of the recent Atom CPUs have a TDP of just 10 watts, costing pennies a month to have available as an always-on resource. Set the BIOS to automatically reboot on power failure, plug it into your network, and forget about it - it's like a network appliance, always there for any services you put on it. The oldest one I have in my office uses the Atom 230, one of the first and least powerful Atoms Intel ever made. Yet it handles Apache, OwnCloud, LC Server, and a custom server built on mchttp very well. Besides, most corporations already have intranet servers - why not use them effectively by hosting new services as needed? If an intranet isn't managed flexibly enough to respond to the ever-changing needs of an organization, the problem isn't a technical one, but an opportunity for personnel review. ;) A good IT team will be able to deploy secure separated spaces for new services easily. After all, every successful business understands that the only constant is change. -- 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 bobsneidar at iotecdigital.com Wed Apr 2 11:11:40 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 2 Apr 2014 15:11:40 +0000 Subject: extremely weird and frustrating... In-Reply-To: References: <68FBCB3013F14EC89F9C7D8BAC4F8899@userd204a4d61c>, <533BC372.20006@tweedly.net>, <86BE5141ACA34E2A8963288040F747C6@userd204a4d61c> Message-ID: <57AE54F1-EF77-4F5D-9838-CC7AA90D4DD9@iotecdigital.com> I think he is saying that 9:14 and 11:35 is not a valid dateTime so the engine reverts to a text sort. There is no date in the dateTime. Bob On Apr 2, 2014, at 01:25 , wrote: > Thanks John, > I'm not trying to be "cheeky" but I am frustrated. Sorry Alex. > > John, what you propose may work - haven't tried it yet. > However, that still does not explain why WITHOUT the 0 in front of it, 9:14 was listed before 11:35 in my ascending sort. And just FYI, those are minutes and seconds I'm using and not hours and minutes. > > My point is that it seems to me that the dateTime sort does not work properly. What you proposed is a workaround because dateTime does NOT work properly, right? > > ----- Original Message ----- From: "John Dixon" > To: "How to use LiveCode" > Sent: Wednesday, April 02, 2014 2:15 AM > Subject: RE: extremely weird and frustrating... > > >> Another way to do this would be to put a 0 in front of the 'hours & minutes' before you sort them... >> Alex, it trying to help you... no need to be cheeky !... >> >> on mouseUp >> set itemdel to ":" >> repeat with count = 1 to the number of lines of fld 1 >> if the number of chars of item 1 of line count of fld 1 = 1 then >> put 0 & line count of fld 1 into line count of fld 1 >> end if >> end repeat >> sort lines of fld 1 >> end mouseUp >> >> would give : >> >> 01:22 >> 02:08 >> 07:47 >> 09:14 >> 11:35 >> 12:16 >> 15:56 >> 16:33 >> 25:34 >> 34:55 >> >>> From: larry at significantplanet.org >> >>> Sorry Alex, I do not understand. >>> >>> 16:33 is sixteen minutes and 33 seconds. >>> So why is 25:34 not twenty-five minutes and 34 seconds? >>> Last time I checked, there are 60 minutes in an hour. >> >>> > 25:34 and 34:55 are not valid dateTimes, so where those lines get > sorted >>> > to is not well undefined; it looks as though LC simply decides to give >>> > them a '0:00'. >>> > >>> > Apart from those two lines, it looks (to me) like the result is > correct. >>> > Isn't it ? >>> > >>> > -- Alex. >>> > >>> > >>> > On 02/04/2014 08:41, larry at significantplanet.org wrote: >>> >> Here is my script line: >>> >> sort field myTimes descending dateTime >> >>> >> 16:33 >>> >> 15:56 >>> >> 12:16 >>> >> 11:35 >>> >> 9:14 >>> >> 7:47 >>> >> 2:08 >>> >> 1:22 >>> >> 25:34 >>> >> 34:55 >>> >> >> >>> >> Here is my other script line: >> >>> >> 25:34 >>> >> 34:55 >>> >> 1:22 >>> >> 2:08 >>> >> 7:47 >>> >> 9:14 >>> >> 11:35 >>> >> 12:16 >>> >> 15:56 >>> >> 16:33 >>> >> >>> >> Seriously? >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Apr 2 11:14:27 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 02 Apr 2014 18:14:27 +0300 Subject: 7.0 dp 1 Dictionary In-Reply-To: References: <533BF375.7010801@gmail.com> <4AA3FF9E-713B-478F-AD9C-F1B577A96A82@runrev.com> <533BFF70.6020105@gmail.com> <1F1477FE-4E1C-432E-ADE6-46A8BE1321D5@runrev.com> <533C190A.80901@gmail.com> Message-ID: <533C2953.6030701@gmail.com> On 02/04/14 17:39, Fraser Gordon wrote: > On 2 Apr 2014, at 15:04, Richmond wrote: > >> and so to: http://www.unicode.org/reports/tr44/#Decomposition_Type "PropList.txt" >> >> would I be correct in thinking that in scripting phrases that are of this sort;| >> >> codepointProperty(c, "Diacritic") >> >> where you have "Diacritic" one could have any one of the PropList.txt terms? > That's the idea. Terms are case-insensitive and underscores and spaces are considered to be equivalent. So you could say > > codepointProperty("?", "Decomposition_Type") -- E-Acute, if something eats the Unicode text > > and the result (in this case) would be "Canonical". > > Some property types might not be implemented and will give you a "bad property name" error - some of the listed properties don't seem to be provided by ICU (mostly deprecated properties). > > Regards, > Fraser > > > OK . . . now what about this? codepointProperty((numToChar(2347)), "Diacritic") This is slightly silly, I know, because one can just download the Unicode tables as PDF documents (and I do, frequently) to see what the glyphs are. However, it might be useful to determine what category a glyph falls into, or, for that matter, a range of glyphs: put 2347 into KOUNT set the useUnicode to true repeat until count = 2447 if codepointProperty((numToChar(KOUNT)), "Diacritic") is true then put KOUNT && "=" && "Yup!" into line (KOUNT - 2346) of fld "Wazzat" else put KOUNT && "=" && "Nope!" into line (KOUNT - 2346) of fld "Wazzat" end if put KOUNT + 1 into KOUNT end repeat ------------------------------- However; having just attempted to run that script in a button in 7.0.dp 1 I got a "happy" 'bad codepoint' message at which point I discovered a GENERAL FIELD PROBLEM with 7.0.dp 1 under UbuntuStudio 14.04 beta: I pasted my code into the scriptEditor, but, on attempting to change the script to something like this: put 2347 into KOUNT set the useUnicode to true repeat until count = 2447 if codepointProperty( quote & (numToChar(KOUNT)) & quote, "Diacritic") is true then put KOUNT && "=" && "Yup!" into line (KOUNT - 2346) of fld "Wazzat" else put KOUNT && "=" && "Nope!" into line (KOUNT - 2346) of fld "Wazzat" end if put KOUNT + 1 into KOUNT end repeat I could not insert the cursor, so could not type the changes. Select, Delete and so forth just don't work right now in the script editor. Not, frankly that it mattered, because when I fiddled around and managed to paste that second script I got this: "codepointProperty: bad codepoint" Something that I am missing, obviously. Richmond. Richmond. From bobsneidar at iotecdigital.com Wed Apr 2 11:18:39 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 2 Apr 2014 15:18:39 +0000 Subject: Sending mail (invisibly) from inside a Mac LC app In-Reply-To: <533BF8E1.4070906@cogapp.com> References: <006901cf4aca$18790fb0$496b2f10$@FlexibleLearning.com> <5335E6F2.5000803@together.net> <53362116.6070404@together.net> <53363108.3070503@together.net> <19B1F25C-FD37-44B9-8510-3BC478AC98D7@iotecdigital.com> <533BF598.2060900@together.net> <533BF8E1.4070906@cogapp.com> Message-ID: This will produce a flurry of support calls, as home users in my experience never remember their own email passwords unless they use webmail and have to enter it each time, in which case that users email would be useless to you. I install copiers for a living now, and by far the biggest snag, even in corporate environments is determining how to communicate with the company?s email server correctly. Any number of things can go wrong, from Exchange Connectors not being configured for that particular device, to ISP?s blocking access to foreign SMTP servers. As ?simple? as Simple Mail Transfer Protocol was supposed to be, it is ANYTHING but simple in this day and age. Bob On Apr 2, 2014, at 04:47 , Ben Rubinstein > wrote: For home users, maybe you could use AppleScript to extract the configuration from their Mail app at startup, and if necessary ask them to confirm the details (you probably have to ask them to confirm the password even in the best case); From dixonja at hotmail.co.uk Wed Apr 2 11:26:51 2014 From: dixonja at hotmail.co.uk (John Dixon) Date: Wed, 2 Apr 2014 16:26:51 +0100 Subject: Using google maps In-Reply-To: References: <1396371949260-4677795.post@n4.nabble.com>, <15673692123.20140401184428@ahsoftware.net>, <1396424727643-4677831.post@n4.nabble.com>, Message-ID: Google maps work with liveCode 7 on the desktop and on mobile... Monte Goulding's mergMK works on mobile. > Has anybody implemented Google Maps or Google Earth? I notice the mergeMK external looks like it has some nice features. I'd be interested in anybody's experience and particularly if the mergeMK external is expected to work with livecode 7. > Best, > Bill > > William Prothero From userev at canelasoftware.com Wed Apr 2 12:10:46 2014 From: userev at canelasoftware.com (Mark Talluto) Date: Wed, 2 Apr 2014 09:10:46 -0700 Subject: Sending mail (invisibly) from inside a Mac LC app In-Reply-To: <533BF598.2060900@together.net> References: <006901cf4aca$18790fb0$496b2f10$@FlexibleLearning.com> <5335E6F2.5000803@together.net> <53362116.6070404@together.net> <53363108.3070503@together.net> <19B1F25C-FD37-44B9-8510-3BC478AC98D7@iotecdigital.com> <533BF598.2060900@together.net> Message-ID: On Apr 2, 2014, at 4:33 AM, Richard Miller wrote: > I am still looking into the PHP script option for corporate users. The PHP/LiveCode solution is completely silent, will work on both the internet and intranet, require no mail config on the client side. The only requirement of the client is that they need to be connected to the internet. You could add to the code to cache the data to be emailed and send it when it comes back on. Best regards, Mark Talluto canelasoftware.com From livfoss at mac.com Wed Apr 2 12:55:24 2014 From: livfoss at mac.com (Graham Samuel) Date: Wed, 02 Apr 2014 18:55:24 +0200 Subject: Inactive Menu Bar? Message-ID: <7EEA237C-57CC-44D7-A89B-84FFF33D8C5F@mac.com> This is an odd one. I'm developing a desktop app with a menu bar (Mac) all set up and fully working in early development cycles. When running under the IDE, one click on the mainstack which owns the menu replaces the IDE's own menu with mine, as expected, and that menu works as normal. Then I pick one of my menu options, a script gets run and something goes wrong - the IDE menu no longer gets replaced and my own menu doesn't show. The menu still exists, and I can send "menuPick" messages from the Message Box and get them to work, but I just can't see the menu bar. Mostly I'm using LC 6.5.2 for this, but the same problem shows on 6.6.1 rc1. I made a standalone, and the menu bar appears, with nothing dimmed, and the dropdowns animate, but none of the menu items do anything, i.e. no "menuPick" messages are being sent. Other bits of the program are working and respond to mouse events etc. Of course it's a bug of my own making, but what's going on? What the heck did I do wrong? TIA for any suggestions Graham From richmondmathewson at gmail.com Wed Apr 2 13:18:59 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 02 Apr 2014 20:18:59 +0300 Subject: RETURN & ENTER in Unicode Message-ID: <533C4683.3070305@gmail.com> So; here I am bu**ering around in my Devawriter Pro [ http://andregarzia.on-rev.com/richmond/dwriterpro.html ] which is in what I, slightly pompously, call its 3rd System Development Life-Cycle . . . Anyway . . . Inside a socking great rawKeyDown Case statement one of the possibilities runs a bit like this: case 65293 set the useUnicode to true set the unicodeText of the selectedText to (numToChar(13) & numToChar(10)) select after the selectedText break now 65293 is the raw key code for the 'Return' key [ the one above the right-hand SHIFT key ], so, in theory, when an end-user hits that key they should end up with a carriage return in the text field: BUT they don't. Just to really confuse the issue, when an end-user hits the 'Enter' key [ over on the right, on those keyboards that have a number pad ] they get a carriage return: this seems to make no sense at all considering that the raw key code for the 'Enter' key is 65421. So; just "for a laugh" I threw this into the soup: case 65421 set the useUnicode to true set the unicodeText of the selectedText to (numToChar(13) & numToChar(10)) select after the selectedText break and that blocked the 'Enter' key as well. This tells me that my rawKeyDown for those keys is doing "sweet FA", and merely serving to block them. Of course the easy thing to do is just to remove the case 65293 code so that the default pass rawKeyDown at the end of the switch statement just lets the OS strut its funky stuff with the 'Return' key rather than attempting to over-ride it in the app. ------------------------------------------------------------------------- BUT; this is not entirely satisfying, and I wonder if anyone can tell me what I should have in my case 65293 code instead of (numToChar(13) & numToChar(10)) to get a carriage return? -------------------------------- LiveCode 4.5 Commercial in Mac OS 10.6.7 ------------------------------- Richmond. From jacque at hyperactivesw.com Wed Apr 2 13:31:17 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 02 Apr 2014 12:31:17 -0500 Subject: New browser In-Reply-To: <533BCE8D.1090905@runrev.com> References: <533B793E.8040305@hyperactivesw.com> <533BCE8D.1090905@runrev.com> Message-ID: <533C4965.1070903@hyperactivesw.com> On 4/2/14, 3:47 AM, Neil Roger wrote: > Hi Jacque, > > I have tried executing javascript on the new browser control and it > works as expected. Thanks Neil, very helpful, especially the script. I'm no Javascript programmer. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Apr 2 13:38:23 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 02 Apr 2014 12:38:23 -0500 Subject: Firels as containers In-Reply-To: References: Message-ID: <533C4B0F.2060401@hyperactivesw.com> On 4/2/14, 4:44 AM, Muaadh Salih wrote: > What I can not undrstand is why it DOES work when : > 1- save the stack scripte > 2- close > 3- open stack (from file menu without quiting LC ) > > while it DOES NOT ( always goes to card one) when: > 1- Save the stack scripte > 2- Cose > 3- Quit LC > 4-Double click on stack stack (from file menu without quiting live code ) The destroystack property of the stack is probably set to false, which is LiveCode's default setting. That means when the stack closes it is kept in RAM. When you re-open it, it will open in its previous state. When you quit LiveCode and re-open the stack, it opens in the state it was last saved in. It sounds like the stack is not saved to disk before you quit LiveCode. When you open the stack after launching LiveCode, what is in field "aaa"? Is it the correct card number? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From devin_asay at byu.edu Wed Apr 2 13:49:34 2014 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 2 Apr 2014 17:49:34 +0000 Subject: RETURN & ENTER in Unicode In-Reply-To: <533C4683.3070305@gmail.com> References: <533C4683.3070305@gmail.com> Message-ID: <5650D085-5A64-4166-8941-5BE58CD5CE82@byu.edu> On Apr 2, 2014, at 11:18 AM, Richmond wrote: > So; here I am bu**ering around in my Devawriter Pro > > [ http://andregarzia.on-rev.com/richmond/dwriterpro.html ] > > which is in what I, slightly pompously, call its 3rd System Development > Life-Cycle . . . > > Anyway . . . > > Inside a socking great rawKeyDown Case statement one of the possibilities runs a bit like this: > > case 65293 > set the useUnicode to true > set the unicodeText of the selectedText to (numToChar(13) & numToChar(10)) > select after the selectedText > break > > now 65293 is the raw key code for the 'Return' key [ the one above the right-hand SHIFT key ], > so, in theory, when an end-user hits that key they should end up with a carriage return in the > text field: BUT they don't. > > Just to really confuse the issue, when an end-user hits the 'Enter' key [ over on the right, on > those keyboards that have a number pad ] they get a carriage return: this seems to make > no sense at all considering that the raw key code for the 'Enter' key is 65421. > > So; just "for a laugh" I threw this into the soup: > > case 65421 > set the useUnicode to true > set the unicodeText of the selectedText to (numToChar(13) & numToChar(10)) > select after the selectedText > break > > and that blocked the 'Enter' key as well. > > This tells me that my rawKeyDown for those keys is doing "sweet FA", and merely serving to block > them. > > Of course the easy thing to do is just to remove the case 65293 code so that the > > default > pass rawKeyDown > > at the end of the switch statement just lets the OS strut its funky stuff with the 'Return' key > rather than attempting to over-ride it in the app. > ------------------------------------------------------------------------- > > BUT; this is not entirely satisfying, and I wonder if anyone can tell me what I should > have in my case 65293 code instead of > > (numToChar(13) & numToChar(10)) > > to get a carriage return? Richmond, LiveCode uses ASCII 10 internally for the end-of-line delimiter. 13+10 is the Windows line delimiter, but you should not have to bother with that, unless you're saving the text in your field to an external file using put into URL "binfile:?" If you use URL "file:?" the line-ending conversion happens automatically. But I suspect that since you're dealing with unicode text you're using bilefile: Regards, Devin Devin Asay Learn to code with LiveCode University http://university.livecode.com From pete at lcsql.com Wed Apr 2 14:30:25 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 2 Apr 2014 11:30:25 -0700 Subject: Inactive Menu Bar? In-Reply-To: <7EEA237C-57CC-44D7-A89B-84FFF33D8C5F@mac.com> References: <7EEA237C-57CC-44D7-A89B-84FFF33D8C5F@mac.com> Message-ID: Where are your menPick handlers? As I recall they have to be in the menubar group not on each button that represents a menu. Doesn't fit your problem exactly but maybe contributing. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Wed, Apr 2, 2014 at 9:55 AM, Graham Samuel wrote: > This is an odd one. I'm developing a desktop app with a menu bar (Mac) all > set up and fully working in early development cycles. When running under > the IDE, one click on the mainstack which owns the menu replaces the IDE's > own menu with mine, as expected, and that menu works as normal. Then I pick > one of my menu options, a script gets run and something goes wrong - the > IDE menu no longer gets replaced and my own menu doesn't show. The menu > still exists, and I can send "menuPick" messages from the Message Box and > get them to work, but I just can't see the menu bar. Mostly I'm using LC > 6.5.2 for this, but the same problem shows on 6.6.1 rc1. > > I made a standalone, and the menu bar appears, with nothing dimmed, and > the dropdowns animate, but none of the menu items do anything, i.e. no > "menuPick" messages are being sent. Other bits of the program are working > and respond to mouse events etc. > > Of course it's a bug of my own making, but what's going on? What the heck > did I do wrong? > > TIA for any suggestions > > Graham > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Wed Apr 2 14:41:46 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 02 Apr 2014 21:41:46 +0300 Subject: RETURN & ENTER in Unicode In-Reply-To: <5650D085-5A64-4166-8941-5BE58CD5CE82@byu.edu> References: <533C4683.3070305@gmail.com> <5650D085-5A64-4166-8941-5BE58CD5CE82@byu.edu> Message-ID: <533C59EA.3060702@gmail.com> On 02/04/14 20:49, Devin Asay wrote: > On Apr 2, 2014, at 11:18 AM, Richmond wrote: > >> So; here I am bu**ering around in my Devawriter Pro >> >> [ http://andregarzia.on-rev.com/richmond/dwriterpro.html ] >> >> which is in what I, slightly pompously, call its 3rd System Development >> Life-Cycle . . . >> >> Anyway . . . >> >> Inside a socking great rawKeyDown Case statement one of the possibilities runs a bit like this: >> >> case 65293 >> set the useUnicode to true >> set the unicodeText of the selectedText to (numToChar(13) & numToChar(10)) >> select after the selectedText >> break >> >> now 65293 is the raw key code for the 'Return' key [ the one above the right-hand SHIFT key ], >> so, in theory, when an end-user hits that key they should end up with a carriage return in the >> text field: BUT they don't. >> >> Just to really confuse the issue, when an end-user hits the 'Enter' key [ over on the right, on >> those keyboards that have a number pad ] they get a carriage return: this seems to make >> no sense at all considering that the raw key code for the 'Enter' key is 65421. >> >> So; just "for a laugh" I threw this into the soup: >> >> case 65421 >> set the useUnicode to true >> set the unicodeText of the selectedText to (numToChar(13) & numToChar(10)) >> select after the selectedText >> break >> >> and that blocked the 'Enter' key as well. >> >> This tells me that my rawKeyDown for those keys is doing "sweet FA", and merely serving to block >> them. >> >> Of course the easy thing to do is just to remove the case 65293 code so that the >> >> default >> pass rawKeyDown >> >> at the end of the switch statement just lets the OS strut its funky stuff with the 'Return' key >> rather than attempting to over-ride it in the app. >> ------------------------------------------------------------------------- >> >> BUT; this is not entirely satisfying, and I wonder if anyone can tell me what I should >> have in my case 65293 code instead of >> >> (numToChar(13) & numToChar(10)) >> >> to get a carriage return? > Richmond, > > LiveCode uses ASCII 10 internally for the end-of-line delimiter. 13+10 is the Windows line delimiter, but you should not have to bother with that, unless you're saving the text in your field to an external file using put into URL "binfile:?" If you use URL "file:?" the line-ending conversion happens automatically. But I suspect that since you're dealing with unicode text you're using bilefile: > > Regards, > > Devin > > Thank you, Devin, I just removed the rawKeyDown Case statements to trap the RETURN key, as this is the simplest way to do things. My Devawriter Preo exports to RTF and HTML; and I have yet to test what the output looks like. Richmond. From prothero at earthednet.org Wed Apr 2 15:18:38 2014 From: prothero at earthednet.org (Earthednet-wp) Date: Wed, 2 Apr 2014 12:18:38 -0700 Subject: Using google maps In-Reply-To: References: <1396371949260-4677795.post@n4.nabble.com> <15673692123.20140401184428@ahsoftware.net> <1396424727643-4677831.post@n4.nabble.com> Message-ID: <640C54D1-3F50-4544-AE10-6D969F12D3D8@earthednet.org> John, It looks like I can run Google Earth in a browser window using JavaScript. Is that the best way to access it? I would prefer a solution that works on both mobile and desktop. Bill Bill William Prothero http://es.earthednet.org > On Apr 2, 2014, at 8:26 AM, John Dixon wrote: > > Google maps work with liveCode 7 on the desktop and on mobile... Monte Goulding's mergMK works on mobile. > >> Has anybody implemented Google Maps or Google Earth? I notice the mergeMK external looks like it has some nice features. I'd be interested in anybody's experience and particularly if the mergeMK external is expected to work with livecode 7. >> Best, >> Bill >> >> William Prothero > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Wed Apr 2 15:58:39 2014 From: harrison at all-auctions.com (Rick Harrison) Date: Wed, 2 Apr 2014 15:58:39 -0400 Subject: LiveCode 6.6.1 (rc-1) very slow on iOS! In-Reply-To: References: <4EB38895-A07B-4C30-BE32-0E3B7AE23930@id.uzh.ch> Message-ID: <00088169-675B-4654-B47C-CBC9904F954D@all-auctions.com> Hi there, Boy did I ever make a mistake trying to upgrade from LC 6.5.2 to 6.6.0! After the upgrade, I discovered that 6.6.0 wouldn?t see the iOS SDKs. Then I discovered in the notes that the fix was in LC 6.6.1 (rc-1). So I started up 6.6.1 (rc-1) and discovered that my app which used to run my animations smoothly now shows incredibly slow stuttering animations! Now as I understand it from reading about this problem, is that the move to retina has created this issue. I tried to go back to using LC 6.5.2 and now that won?t find my SDKs. I apparently can?t repoint to any of them either! I suggest that a performance switch be installed so that at least we have a choice as to how quickly we would like to have things rendered here. I was just about ready to get my app out the door when this upgrade has quashed my schedule! What was I thinking? *@$&#^!&*#(@)! Suggestions and any help are greatly appreciated! Thanks, Rick From jacque at hyperactivesw.com Wed Apr 2 16:25:12 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 02 Apr 2014 15:25:12 -0500 Subject: Screengamma Message-ID: <533C7228.5060705@hyperactivesw.com> Has anyone noticed a difference in screengamma in the last couple of releases? I've got some images here that look darker on Mac than they did a while back (not sure when it changed, but it's only a few weeks.) Setting the screengamma in the message box to 2.2 fixes it, but the default 1.7 used to be okay. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From littlejamesw at mac.com Wed Apr 2 16:39:18 2014 From: littlejamesw at mac.com (James Little) Date: Wed, 02 Apr 2014 13:39:18 -0700 Subject: I can't deliver app to AppStore ("This bundle is invalid.") References: <1707D5E0-6117-4D7F-946E-C3A225D910EA@me.com> Message-ID: > I keep getting errors about splash screens not being the right format. I tried changing that and it's not working. I'm using Livecode 6.6 and Xcode 5.1. > > These are the errors from Application Loader: > "Apple's web service operation was not successful > Unable to authenticate the package: 588503985.itmsp > ERROR ITMS-9000: "This bundle is invalid. The icon file Smoothie.app/Default-Landscape.png must be in .png format." at SoftwareAssets/SoftwareAsset (MZItmspSoftwareAssetPackage) > ERROR ITMS-9000: "This bundle is invalid. The icon file Smoothie.app/Default-Landscape at 2x.png must be in .png format." at SoftwareAssets/SoftwareAsset (MZItmspSoftwareAssetPackage) > Could not start delivery: all transports failed diagnostics" > > Any ideas? From rdimola at evergreeninfo.net Wed Apr 2 16:43:57 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 2 Apr 2014 16:43:57 -0400 Subject: LiveCode 6.6.1 (rc-1) very slow on iOS! In-Reply-To: <00088169-675B-4654-B47C-CBC9904F954D@all-auctions.com> References: <4EB38895-A07B-4C30-BE32-0E3B7AE23930@id.uzh.ch> <00088169-675B-4654-B47C-CBC9904F954D@all-auctions.com> Message-ID: <00b501cf4eb4$4513a970$cf3afc50$@net> iOS SDK 5.1 is not recognized in 6.5.2. You must use pre 5.1 SDK. 5.0.2 will work and get the green box back. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Rick Harrison Sent: Wednesday, April 02, 2014 3:59 PM To: How to use LiveCode Subject: Re: LiveCode 6.6.1 (rc-1) very slow on iOS! Hi there, Boy did I ever make a mistake trying to upgrade from LC 6.5.2 to 6.6.0! After the upgrade, I discovered that 6.6.0 wouldn't see the iOS SDKs. Then I discovered in the notes that the fix was in LC 6.6.1 (rc-1). So I started up 6.6.1 (rc-1) and discovered that my app which used to run my animations smoothly now shows incredibly slow stuttering animations! Now as I understand it from reading about this problem, is that the move to retina has created this issue. I tried to go back to using LC 6.5.2 and now that won't find my SDKs. I apparently can't repoint to any of them either! I suggest that a performance switch be installed so that at least we have a choice as to how quickly we would like to have things rendered here. I was just about ready to get my app out the door when this upgrade has quashed my schedule! What was I thinking? *@$&#^!&*#(@)! Suggestions and any help are greatly appreciated! Thanks, Rick _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Wed Apr 2 16:44:48 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 2 Apr 2014 16:44:48 -0400 Subject: I can't deliver app to AppStore ("This bundle is invalid.") In-Reply-To: References: <1707D5E0-6117-4D7F-946E-C3A225D910EA@me.com> Message-ID: <00b601cf4eb4$637733f0$2a659bd0$@net> Make sure you are running the application loader in the 5.1 app bundle. 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 James Little Sent: Wednesday, April 02, 2014 4:39 PM To: use-livecode at lists.runrev.com Subject: I can't deliver app to AppStore ("This bundle is invalid.") > I keep getting errors about splash screens not being the right format. I tried changing that and it's not working. I'm using Livecode 6.6 and Xcode 5.1. > > These are the errors from Application Loader: > "Apple's web service operation was not successful Unable to > authenticate the package: 588503985.itmsp ERROR ITMS-9000: "This > bundle is invalid. The icon file Smoothie.app/Default-Landscape.png > must be in .png format." at SoftwareAssets/SoftwareAsset > (MZItmspSoftwareAssetPackage) ERROR ITMS-9000: "This bundle is invalid. The icon file Smoothie.app/Default-Landscape at 2x.png must be in .png format." at SoftwareAssets/SoftwareAsset (MZItmspSoftwareAssetPackage) Could not start delivery: all transports failed diagnostics" > > Any ideas? _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From littlejamesw at mac.com Wed Apr 2 17:12:03 2014 From: littlejamesw at mac.com (James Little) Date: Wed, 02 Apr 2014 14:12:03 -0700 Subject: I can't deliver app to AppStore ("This bundle is invalid.") In-Reply-To: <00b601cf4eb4$637733f0$2a659bd0$@net> References: <1707D5E0-6117-4D7F-946E-C3A225D910EA@me.com> <00b601cf4eb4$637733f0$2a659bd0$@net> Message-ID: Not sure what you mean by ?running the application loader in the 5.1 app bundle." I?m using Application Loader version 2.9.1 (441) if that helps. On Apr 2, 2014, at 1:44 PM, Ralph DiMola wrote: > Make sure you are running the application loader in the 5.1 app bundle. > > 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 James Little > Sent: Wednesday, April 02, 2014 4:39 PM > To: use-livecode at lists.runrev.com > Subject: I can't deliver app to AppStore ("This bundle is invalid.") > > >> I keep getting errors about splash screens not being the right format. I > tried changing that and it's not working. I'm using Livecode 6.6 and Xcode > 5.1. >> >> These are the errors from Application Loader: >> "Apple's web service operation was not successful Unable to >> authenticate the package: 588503985.itmsp ERROR ITMS-9000: "This >> bundle is invalid. The icon file Smoothie.app/Default-Landscape.png >> must be in .png format." at SoftwareAssets/SoftwareAsset >> (MZItmspSoftwareAssetPackage) ERROR ITMS-9000: "This bundle is invalid. > The icon file Smoothie.app/Default-Landscape at 2x.png must be in .png format." > at SoftwareAssets/SoftwareAsset (MZItmspSoftwareAssetPackage) Could not > start delivery: all transports failed diagnostics" >> >> Any ideas? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Wed Apr 2 17:24:48 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 2 Apr 2014 17:24:48 -0400 Subject: I can't deliver app to AppStore ("This bundle is invalid.") In-Reply-To: References: <1707D5E0-6117-4D7F-946E-C3A225D910EA@me.com> <00b601cf4eb4$637733f0$2a659bd0$@net> Message-ID: <00c001cf4eb9$fa35cd60$eea16820$@net> That is the most recent version from the 5.1 SDK. Hmmmm. Is the icon REALLY in png format not a png in name only? 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 James Little Sent: Wednesday, April 02, 2014 5:12 PM To: How to use LiveCode Subject: Re: I can't deliver app to AppStore ("This bundle is invalid.") Not sure what you mean by "running the application loader in the 5.1 app bundle." I'm using Application Loader version 2.9.1 (441) if that helps. On Apr 2, 2014, at 1:44 PM, Ralph DiMola wrote: > Make sure you are running the application loader in the 5.1 app bundle. > > 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 James Little > Sent: Wednesday, April 02, 2014 4:39 PM > To: use-livecode at lists.runrev.com > Subject: I can't deliver app to AppStore ("This bundle is invalid.") > > >> I keep getting errors about splash screens not being the right >> format. I > tried changing that and it's not working. I'm using Livecode 6.6 and > Xcode 5.1. >> >> These are the errors from Application Loader: >> "Apple's web service operation was not successful Unable to >> authenticate the package: 588503985.itmsp ERROR ITMS-9000: "This >> bundle is invalid. The icon file Smoothie.app/Default-Landscape.png >> must be in .png format." at SoftwareAssets/SoftwareAsset >> (MZItmspSoftwareAssetPackage) ERROR ITMS-9000: "This bundle is invalid. > The icon file Smoothie.app/Default-Landscape at 2x.png must be in .png format." > at SoftwareAssets/SoftwareAsset (MZItmspSoftwareAssetPackage) Could > not start delivery: all transports failed diagnostics" >> >> Any ideas? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Wed Apr 2 17:25:32 2014 From: brahma at hindu.org (Brahmanathswami) Date: Wed, 02 Apr 2014 11:25:32 -1000 Subject: Layout tools for LiveCode Message-ID: <533C804C.2010101@hindu.org> Doing quality GUI is not easy Livecode... But I won't rant on too much about how easy it would be to ramp up the existing IDE to help "creatives" (graphic design types) build beautiful UI without so much pain... without having to do anything to the engine... Is there a layout grid tool that we can use? Typical applications have guides you can drag out and then snap objects to those guides. I'm mentoring a young man (13 years old) who is eating up LiveCode like it was granola, but he is used to better tools for the eye candy layer and asked me if there was a grid tool.. (not data grid) Swasti Astu, Be Well! Brahmanathaswami Kauai's Hindu Monastery www.HimalayanAcademy.com From dave at applicationinsight.com Wed Apr 2 17:28:16 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Wed, 2 Apr 2014 14:28:16 -0700 (PDT) Subject: occasional runaway control - anyone else seeing this? In-Reply-To: <1396463471451-4677882.post@n4.nabble.com> References: <1396371949260-4677795.post@n4.nabble.com> <1396463471451-4677882.post@n4.nabble.com> Message-ID: <1396474096435-4677894.post@n4.nabble.com> Hi Tom Yes now that you mention it I also have seen your 'runaway selecting' in the script editor - I've learnt to use the pageup and pagedown keys if I have a lot to select - but it would be nice if I didn't have to ... ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/occasional-runaway-control-anyone-else-seeing-this-tp4677795p4677894.html Sent from the Revolution - User mailing list archive at Nabble.com. From coiin at verizon.net Wed Apr 2 17:33:07 2014 From: coiin at verizon.net (Colin Holgate) Date: Wed, 02 Apr 2014 17:33:07 -0400 Subject: I can't deliver app to AppStore ("This bundle is invalid.") In-Reply-To: <00c001cf4eb9$fa35cd60$eea16820$@net> References: <1707D5E0-6117-4D7F-946E-C3A225D910EA@me.com> <00b601cf4eb4$637733f0$2a659bd0$@net> <00c001cf4eb9$fa35cd60$eea16820$@net> Message-ID: <067E16F3-A283-4002-863A-75650A5C4DEE@verizon.net> The files being complained about are the splash screens. But your question still holds true, maybe they are JPEGs. Or perhaps the splash screen has been placed in the icon path? On Apr 2, 2014, at 5:24 PM, Ralph DiMola wrote: > >That is the most recent version from the 5.1 SDK. Hmmmm. Is the icon REALLY > in png format not a png in name only? From littlejamesw at mac.com Wed Apr 2 17:36:42 2014 From: littlejamesw at mac.com (James Little) Date: Wed, 02 Apr 2014 14:36:42 -0700 Subject: I can't deliver app to AppStore ("This bundle is invalid.") In-Reply-To: <067E16F3-A283-4002-863A-75650A5C4DEE@verizon.net> References: <1707D5E0-6117-4D7F-946E-C3A225D910EA@me.com> <00b601cf4eb4$637733f0$2a659bd0$@net> <00c001cf4eb9$fa35cd60$eea16820$@net> <067E16F3-A283-4002-863A-75650A5C4DEE@verizon.net> Message-ID: Ralph and Colin: I will try saving the splash screens again as PNGs and see if that helps. On Apr 2, 2014, at 2:33 PM, Colin Holgate wrote: > The files being complained about are the splash screens. But your question still holds true, maybe they are JPEGs. > > Or perhaps the splash screen has been placed in the icon path? > > > On Apr 2, 2014, at 5:24 PM, Ralph DiMola wrote: > >>> That is the most recent version from the 5.1 SDK. Hmmmm. Is the icon REALLY >> in png format not a png in name only? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Apr 2 17:36:47 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 02 Apr 2014 16:36:47 -0500 Subject: I can't deliver app to AppStore ("This bundle is invalid.") In-Reply-To: References: <1707D5E0-6117-4D7F-946E-C3A225D910EA@me.com> Message-ID: <533C82EF.4010401@hyperactivesw.com> On 4/2/14, 3:39 PM, James Little wrote: > > I keep getting errors about splash screens not being the right > format. I tried changing that and it's not working. I'm using > Livecode 6.6 and Xcode 5.1. I got that once. This may not be what's happening to you, but in my case I had saved the images in jpg format by accident but they were still named with a .png extension. So, check your images. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From cmsheffield at icloud.com Wed Apr 2 17:38:08 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Wed, 02 Apr 2014 15:38:08 -0600 Subject: Layout tools for LiveCode In-Reply-To: <533C804C.2010101@hindu.org> References: <533C804C.2010101@hindu.org> Message-ID: <62122AE2-9B44-40DD-862E-EF4BF7ACC089@icloud.com> There are ?rulers? you can turn on (View menu -> Rulers) that can help you position objects. As far as a grid or guides that objects can snap to, not sure about that. If such a thing exists, I?d like to know myself. :-) Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com On Apr 2, 2014, at 3:25 PM, Brahmanathswami wrote: > Doing quality GUI is not easy Livecode... But I won't rant on too much about how easy it would be to ramp up the existing IDE to help "creatives" (graphic design types) build beautiful UI without so much pain... without having to do anything to the engine... > > Is there a layout grid tool that we can use? Typical applications have guides you can drag out and then snap objects to those guides. > > I'm mentoring a young man (13 years old) who is eating up LiveCode like it was granola, but he is used to better tools for the eye candy layer and asked me if there was a grid tool.. (not data grid) > > Swasti Astu, Be Well! > Brahmanathaswami > > Kauai's Hindu Monastery > www.HimalayanAcademy.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 dave at applicationinsight.com Wed Apr 2 17:39:17 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Wed, 2 Apr 2014 14:39:17 -0700 (PDT) Subject: more trouble... In-Reply-To: <533C226F.8080705@fourthworld.com> References: <52CE3730A0084110B2C5078DBA2A2230@userd204a4d61c> <533BAAD4.3090104@pdslabs.net> <0C66A1ABEB97428B9682B2074C0D981B@userd204a4d61c> <1396425429803-4677833.post@n4.nabble.com> <736F72CB5B784B958684A38E91EC5CF7@userd204a4d61c> <1396431134409-4677849.post@n4.nabble.com> <1396444019332-4677861.post@n4.nabble.com> <533C226F.8080705@fourthworld.com> Message-ID: <1396474757100-4677899.post@n4.nabble.com> So now if I cant sleep, instead of counting sheep I'll be counting bytes, codeunits, codepoints, trueWords, segments, sentences and paragraphs :) ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/more-trouble-tp4677825p4677899.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Wed Apr 2 17:40:18 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 02 Apr 2014 16:40:18 -0500 Subject: more trouble... In-Reply-To: <52CE3730A0084110B2C5078DBA2A2230@userd204a4d61c> References: <52CE3730A0084110B2C5078DBA2A2230@userd204a4d61c> Message-ID: <533C83C2.9070300@hyperactivesw.com> On 4/2/14, 12:32 AM, larry at significantplanet.org wrote: > repeat for each line thisLine in myTrainingLines > if the length of thisLine > 5 then > put thisLine & return after field myTrainingOps > end if > end repeat > -- filter field myTrainingOps without empty -- WHY IN THE HECK DOESN'T THIS LINE WORK???? > delete line 11 of field myTrainingOps -- SO I HAVE TO USE THIS LINE; BUT I KNOW THERE ARE ONLY SUPPOSED TO BE 10 LINES. WHAT IF I HAVE A VARYING NUMBER OF LINES??? The filter command works. If line "11" appears empty, it's probably due to the carriage return at the end of line 10 that is pushing the cursor down. To be sure, put this into the message box when you think you see 11 lines: put the number of lines in fld "myTrainingOps" (Note the quotes around the field name. Always quote all literals.) Do you get 10 or 11? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Wed Apr 2 17:41:29 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 02 Apr 2014 14:41:29 -0700 Subject: Layout tools for LiveCode In-Reply-To: <533C804C.2010101@hindu.org> References: <533C804C.2010101@hindu.org> Message-ID: <533C8409.1010505@fourthworld.com> Brahmanathswami wrote: > I'm mentoring a young man (13 years old) who is eating up LiveCode like > it was granola, but he is used to better tools for the eye candy layer > and asked me if there was a grid tool.. (not data grid) A few such tools have floated around the forums I think, but they're inherently problematic because unless written as externals that blit to the screen they require dynamically adding and removing objects. Far less sexy but nearly as helpful is to just turn on the Grid settings in Prefs (see the Appearance section). I keep mine set to 4px, which gives me plenty of freedom of movement for nearly every layout, yet snaps things into place easily enough that I can align without really trying. -- 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 jacque at hyperactivesw.com Wed Apr 2 17:43:34 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 02 Apr 2014 16:43:34 -0500 Subject: Layout tools for LiveCode In-Reply-To: <533C804C.2010101@hindu.org> References: <533C804C.2010101@hindu.org> Message-ID: <533C8486.3070801@hyperactivesw.com> On 4/2/14, 4:25 PM, Brahmanathswami wrote: > I'm mentoring a young man (13 years old) who is eating up LiveCode like > it was granola, but he is used to better tools for the eye candy layer > and asked me if there was a grid tool.. (not data grid) It's built-in but invisible. In preferences, go to the Appearance pane and set the grid spacing to whatever you want. In the View menu, be sure Grid is selected. After that, dragging an object will snap it to the nearest gridline. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mikedoub at gmail.com Wed Apr 2 17:44:54 2014 From: mikedoub at gmail.com (Michael Doub) Date: Wed, 2 Apr 2014 17:44:54 -0400 Subject: Formatted text in a field. Message-ID: <44BE373A-0015-43A3-8528-7B9AC2111755@gmail.com> I am trying to understand how to manage formatted text in fields and I am missing something. I have field ?in? that contains a long page of formatted text that ultimately will be hidden. I have another field ?out? where I am trying to page the data from field ?in? like pages of a book (no scrolling) I thought I would loop thru the lines of field ?in? from a starting_line and increase the ending_line until the formattedheight of lines stating_line to ending_line of field ?in? > the height of field ?out?. Then back off the ending_line by 1. I thought this would work, but it seems that I am not comparing the right things. The height of field ?out? seems to be less than what can actually be seen in field ?in?. The algorithm tells me that I can only fit 14 lines of data into field out, where i really can fit 24. So, what am I missing? I must not be comparing the correct things. BTW, I have the fixed line height turned off for both fields. Seperate from my comparison issue, Is there a better technique to accomplish this paging operation? Ultimately, I need to page both forward and backwards. I appreciate any guidance that you all can provide. Regards, Mike on loadpage put current_line + 1 into startline put startline into endline put the number of lines in fld "in" into lastline put the height of fld "out" into max_height repeat until endline > lastline put the formattedheight of line startline to endline of fld "in" into new_height if new_height >= max_height then put endline - 1 into endline put endline - 1 into lastline else add 1 to endline end if end repeat set the htmlText of fld "out" to the HtmlText of line startline to endline of fld "in" put endline into currentline end loadpage From cmsheffield at icloud.com Wed Apr 2 17:50:14 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Wed, 02 Apr 2014 15:50:14 -0600 Subject: Layout tools for LiveCode In-Reply-To: <533C8486.3070801@hyperactivesw.com> References: <533C804C.2010101@hindu.org> <533C8486.3070801@hyperactivesw.com> Message-ID: Well, I learned something new today. Cool! Thanks Jacque and Richard. On Apr 2, 2014, at 3:43 PM, J. Landman Gay wrote: > On 4/2/14, 4:25 PM, Brahmanathswami wrote: > >> I'm mentoring a young man (13 years old) who is eating up LiveCode like >> it was granola, but he is used to better tools for the eye candy layer >> and asked me if there was a grid tool.. (not data grid) > > It's built-in but invisible. In preferences, go to the Appearance pane and set the grid spacing to whatever you want. In the View menu, be sure Grid is selected. After that, dragging an object will snap it to the nearest gridline. > > -- > 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 bernd.niggemann at uni-wh.de Wed Apr 2 18:10:35 2014 From: bernd.niggemann at uni-wh.de (BNig) Date: Wed, 2 Apr 2014 15:10:35 -0700 (PDT) Subject: Layout tools for LiveCode In-Reply-To: <533C804C.2010101@hindu.org> References: <533C804C.2010101@hindu.org> Message-ID: <1396476635242-4677905.post@n4.nabble.com> Hi, you might want to have a look at http://livecodeshare.runrev.com/stack/757/GridDrawer It tries not to be intrusive, you drag group from a plug-in onto the card you are just editing. When done just delete the group. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Layout-tools-for-LiveCode-tp4677893p4677905.html Sent from the Revolution - User mailing list archive at Nabble.com. From scott at tactilemedia.com Wed Apr 2 18:13:21 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 02 Apr 2014 15:13:21 -0700 Subject: Screengamma In-Reply-To: <533C7228.5060705@hyperactivesw.com> References: <533C7228.5060705@hyperactivesw.com> Message-ID: This doesn't help you, but just to commiserate, PNGs have always been dark for me, even when pasting from other apps. Not sure if they're darker than usual in the recent versions. It would be nice to know after all these years what the "expected" method is for dealing with this. AFAIK, there's never been an official word from RunRev. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 4/2/14 1:25 PM, "J. Landman Gay" wrote: >Has anyone noticed a difference in screengamma in the last couple of >releases? I've got some images here that look darker on Mac than they >did a while back (not sure when it changed, but it's only a few weeks.) >Setting the screengamma in the message box to 2.2 fixes it, but the >default 1.7 used to be okay. > >-- >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 gcanyon at gmail.com Wed Apr 2 18:17:37 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 2 Apr 2014 17:17:37 -0500 Subject: A weird bug/occurrence In-Reply-To: References: <532B1E3B.1080408@braguglia.ch> Message-ID: Just experienced this again -- downloaded LC 6.6, opened the stack, half the controls on the page were missing. This time I was prepared. I opened navigator, selected the arrow tool, and started clicking lines in navigator. Again, no group, no properties being changed -- navigator just changes the selected controls. But as I changed the selection, objects started popping into view as they were selected. No idea what's going on, submitting a bug. ...and they disappeared again. On Fri, Mar 21, 2014 at 9:10 AM, Geoff Canyon wrote: > > On Thu, Mar 20, 2014 at 12:58 PM, Guglielmo Braguglia < > guglielmo at braguglia.ch> wrote: > >> have you a "fusion" drive on your Mac ? > > > I don't think so -- macbook pro w/retina display, straight SSD. > From jacque at hyperactivesw.com Wed Apr 2 18:45:36 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 02 Apr 2014 17:45:36 -0500 Subject: Screengamma In-Reply-To: References: <533C7228.5060705@hyperactivesw.com> Message-ID: <533C9310.1020106@hyperactivesw.com> On 4/2/14, 5:13 PM, Scott Rossi wrote: > This doesn't help you, but just to commiserate, PNGs have always been dark > for me, even when pasting from other apps. Not sure if they're darker > than usual in the recent versions. I didn't notice it much but my client did. They swear it didn't used to be that way until a couple of weeks ago (but they're fuzzy on the exact time.) I haven't noticed any big difference over the last couple of releases, but I wonder if something changed in image processing lately. But apparently you haven't seen any relative difference among the recent LiveCode versions, right? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Wed Apr 2 18:50:33 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 02 Apr 2014 15:50:33 -0700 Subject: Layout tools for LiveCode In-Reply-To: <533C8486.3070801@hyperactivesw.com> References: <533C804C.2010101@hindu.org> <533C8486.3070801@hyperactivesw.com> Message-ID: If you're some who (like me) is visual, you can apply an image as the backPattern of a card to get a visible grid overlaid on your card. The backPattern property was changed (I believe) around version 6 to support the transparency of bitmap images, so you can make make whatever pattern you want. If you don't mind having an object on your card to act as the visible grid, you can do something like the following: - create a new polygon graphic on your card - set the graphic to be the first layer of your card - set the lineSize of the graphic to 1 - set the graphic's foreColor to 0,204,255 - set the graphic's disabled to true - set the graphic's cantSelect to true Place the following in your card or stack script: local gridIntensity = 2 on resizeStack put long id of grc "myGrid" into theGrid put 0,0 into TL put TL into thePoints set topLeft of theGrid to TL repeat with Y = 1 to (height of this cd div gridSize) + 1 repeat with X = 1 to (width of this cd div gridSize) + 1 add gridSize to item 1 of TL put return & return & TL after thePoints end repeat put 0 into item 1 of TL add gridSize to item 2 of TL put return & return & TL after thePoints end repeat set points of theGrid to thePoints set lineSize of theGrid to gridIntensity end resizeStack Any time you resize the stack, the grid will fill the card accordingly, and since it's disabled and can't be selected, you can drag-select any objects on the card without interacting with the grid. You can change the gridIntensity integer to be higher or lower if you want the grid dots to be "thicker" or "thinner". A combination of a gridSize of 20 and gridIntensity of 2 works pretty well. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 4/2/14 2:43 PM, "J. Landman Gay" wrote: >On 4/2/14, 4:25 PM, Brahmanathswami wrote: > >> I'm mentoring a young man (13 years old) who is eating up LiveCode like >> it was granola, but he is used to better tools for the eye candy layer >> and asked me if there was a grid tool.. (not data grid) > >It's built-in but invisible. In preferences, go to the Appearance pane >and set the grid spacing to whatever you want. In the View menu, be sure >Grid is selected. After that, dragging an object will snap it to the >nearest gridline. > >-- >Jacqueline Landman Gay | jacque at hyperactivesw.com >HyperActive Software | http://www.hyperactivesw.com > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Wed Apr 2 19:12:12 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 02 Apr 2014 16:12:12 -0700 Subject: Screengamma In-Reply-To: <533C9310.1020106@hyperactivesw.com> References: <533C7228.5060705@hyperactivesw.com> <533C9310.1020106@hyperactivesw.com> Message-ID: On 4/2/14 3:45 PM, "J. Landman Gay" wrote: >On 4/2/14, 5:13 PM, Scott Rossi wrote: >> This doesn't help you, but just to commiserate, PNGs have always been >>dark >> for me, even when pasting from other apps. Not sure if they're darker >> than usual in the recent versions. > >I didn't notice it much but my client did. They swear it didn't used to >be that way until a couple of weeks ago (but they're fuzzy on the exact >time.) I haven't noticed any big difference over the last couple of >releases, but I wonder if something changed in image processing lately. > >But apparently you haven't seen any relative difference among the recent >LiveCode versions, right? Honestly, I haven't been comparing. The color shift is mostly noticeable if you're dealing with larger photographic images, or combining PNGs and solid colored graphics. I've tried a dozen tools to find some way of tweaking PNGs before importing, but haven't found anything reliable. Sorry. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From james at thehales.id.au Wed Apr 2 20:29:26 2014 From: james at thehales.id.au (James Hale) Date: Thu, 3 Apr 2014 11:29:26 +1100 Subject: Formatted text in a field. Message-ID: Regarding paging of text. I too have wanted to do this and have been flummoxed by the nature of text fields and their visual appearance capabilities. Unfair I know but still annoying. I borrowed a solution from a stack on Livecodeshare (the name of which escapes me, not being at my desk.) Firstly you will need to set the text height as fixed for the fields to get any consistency in the results. Unless there is a large difference in text heights within the field I have found it safe to set a value that accommodates the largest and leave it at that. Sure the visual line spacing is increased, but not so as to make one concerned. Secondly use two fields, one for each page, side by side, grouped with their tops at the same level. The group's height is set to the height of the virtual page that you want, and both field's heights are set to the formatted height of the content of field 1. (At this stage, this is the same for both fields). Now scrolling the group will scroll both fields in sync. To get different page chunks on each page ( and allow for a blank page at the end of the second field) I simply added Characters to the end of the second field. The number being equal to the group's height divided by the textheight setting of the fields. (Hence the requirement for fixed text height.) Lastly I set the vscroll of the second field to the height of the group. (Remember its height was equal to the formatted height of field 1 but now has extra content and so can be scrolled.) Now the second field (page 2) seems to start where the first field ends. To page, just have a button that increases or decreases the vscroll of the group by the height of the group. It works surprisingly well. James From mwieder at ahsoftware.net Wed Apr 2 21:26:17 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 2 Apr 2014 18:26:17 -0700 Subject: Firels as containers In-Reply-To: <533C4B0F.2060401@hyperactivesw.com> References: <533C4B0F.2060401@hyperactivesw.com> Message-ID: <112158999474.20140402182617@ahsoftware.net> > On 4/2/14, 4:44 AM, Muaadh Salih wrote: >> What I can not undrstand is why it DOES work when : >> 1- save the stack scripte >> 2- close >> 3- open stack (from file menu without quiting LC ) >> >> while it DOES NOT ( always goes to card one) when: >> 1- Save the stack scripte >> 2- Cose >> 3- Quit LC >> 4-Double click on stack stack (from file menu without quiting live code ) > The destroystack property of the stack is probably set to false, which > is LiveCode's default setting. That means when the stack closes it is > kept in RAM. When you re-open it, it will open in its previous state. In addition to Jacque's explanation above, I think at the openStack stage the field exists but has not yet been populated with data. Moving the command to go to the desired card into the openCard handler may provide better results. If not, you can try something like on openStack send "gotoCard" to me in 1 second end openStack on gotoCard go to card (field "aaa" of card 1) end gotoCard -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From harrison at all-auctions.com Wed Apr 2 21:34:09 2014 From: harrison at all-auctions.com (Rick Harrison) Date: Wed, 2 Apr 2014 21:34:09 -0400 Subject: LiveCode 6.6.1 (rc-1) very slow on iOS! In-Reply-To: <00b501cf4eb4$4513a970$cf3afc50$@net> References: <4EB38895-A07B-4C30-BE32-0E3B7AE23930@id.uzh.ch> <00088169-675B-4654-B47C-CBC9904F954D@all-auctions.com> <00b501cf4eb4$4513a970$cf3afc50$@net> Message-ID: Hi Ralph, Thanks for the tip. I felt things were so bad that it was just best for me to roll back my entire computer to my Time Machine Backup from early this morning before I started messing with things. I?m happy with my older environment where everything worked quickly. I think LC 6.6.0 and LC 6.6.1(rc-1) were released too soon. The retina speed issue really needs to be properly addressed, and it wasn?t for these releases. Thanks again, Rick On Apr 2, 2014, at 4:43 PM, Ralph DiMola wrote: > iOS SDK 5.1 is not recognized in 6.5.2. You must use pre 5.1 SDK. 5.0.2 will > work and get the green box back. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of Rick Harrison > Sent: Wednesday, April 02, 2014 3:59 PM > To: How to use LiveCode > Subject: Re: LiveCode 6.6.1 (rc-1) very slow on iOS! > > Hi there, > > Boy did I ever make a mistake trying to upgrade from LC 6.5.2 to 6.6.0! > > After the upgrade, I discovered that 6.6.0 wouldn't see the iOS SDKs. > Then I discovered in the notes that the fix was in LC 6.6.1 (rc-1). > > So I started up 6.6.1 (rc-1) and discovered that my app which used to run my > animations smoothly now shows incredibly slow stuttering animations! > > Now as I understand it from reading about this problem, is that the move to > retina has created this issue. > > I tried to go back to using LC 6.5.2 and now that won't find my SDKs. > I apparently can't repoint to any of them either! > > I suggest that a performance switch be installed so that at least we have a > choice as to how quickly we would like to have things rendered here. I was > just about ready to get my app out the door when this upgrade has quashed my > schedule! What was I thinking? *@$&#^!&*#(@)! > > Suggestions and any help are greatly appreciated! > > Thanks, > > Rick > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 2 21:56:03 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 02 Apr 2014 18:56:03 -0700 Subject: LiveCode 6.6.1 (rc-1) very slow on iOS! In-Reply-To: References: Message-ID: <533CBFB3.6030307@fourthworld.com> Rick Harrison wrote: > I think LC 6.6.0 and LC 6.6.1(rc-1) were released > too soon. The retina speed issue really needs to > be properly addressed, and it wasn?t for these > releases. Any build labeled "RC" is for testing. I appreciate your help testing that build and filing bug reports on any repeatable issues you find, so the final release will be as solid as this community's testing can make 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 pete at lcsql.com Thu Apr 3 00:44:06 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 2 Apr 2014 21:44:06 -0700 Subject: Formatted text in a field. In-Reply-To: References: Message-ID: Not sure if this helps but as of 6.1 there is a property named pageheights which lists, one per line, the height in pixels of each page of a field. Check the dictionary for more details. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Wed, Apr 2, 2014 at 5:29 PM, James Hale wrote: > Regarding paging of text. > > I too have wanted to do this and have been flummoxed by the nature of text > fields and their visual appearance capabilities. Unfair I know but still > annoying. > I borrowed a solution from a stack on Livecodeshare (the name of which > escapes me, not being at my desk.) > Firstly you will need to set the text height as fixed for the fields to > get any consistency in the results. > Unless there is a large difference in text heights within the field I have > found it safe to set a value that accommodates the largest and leave it at > that. Sure the visual line spacing is increased, but not so as to make one > concerned. > Secondly use two fields, one for each page, side by side, grouped with > their tops at the same level. > The group's height is set to the height of the virtual page that you want, > and both field's heights are set to the formatted height of the content of > field 1. (At this stage, this is the same for both fields). > Now scrolling the group will scroll both fields in sync. > To get different page chunks on each page ( and allow for a blank page at > the end of the second field) I simply added Characters to the end > of the second field. The number being equal to the group's height divided > by the textheight setting of the fields. (Hence the requirement for fixed > text height.) > Lastly I set the vscroll of the second field to the height of the group. > (Remember its height was equal to the formatted height of field 1 but now > has extra content and so can be scrolled.) > Now the second field (page 2) seems to start where the first field ends. > To page, just have a button that increases or decreases the vscroll of the > group by the height of the group. > It works surprisingly well. > > 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 gerry.orkin at gmail.com Thu Apr 3 01:59:47 2014 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Thu, 3 Apr 2014 16:59:47 +1100 Subject: Updated app on the iOS store Message-ID: Comrades An old app I've had on the iOS app store for a couple of years was just updated for iOS 7. Check it out :) : https://itunes.apple.com/au/app/the-george-hrapp/id447729252?mt=8 Cheers Gerry From james at thehales.id.au Thu Apr 3 02:06:31 2014 From: james at thehales.id.au (jameshale) Date: Wed, 2 Apr 2014 23:06:31 -0700 (PDT) Subject: Formatted text in a field. In-Reply-To: References: <44BE373A-0015-43A3-8528-7B9AC2111755@gmail.com> Message-ID: <1396505191532-4677917.post@n4.nabble.com> Yes Peter is right. If all you are looking to do is display the two pages then this might be the go. If you place a field "f1" on a page and set it up the way you want (size, text characteristics etc) and then make two copies, field fa" and field "fb". Then make "f1" invisible. make a button to load the pages like: --intialize script-- global pn global pr on mouseUp set the htmltext of field "f1" to YOUR_STYLED_TEXT_VARIABLE put 1 into pn put the pageranges of field "f1" into pr put line pn of pr into pr1 put line pn+1 of pr into pr2 set the htmltext of field "fa" to the htmltext of char (item 1 of pr1) to (item 2 of pr1) of field "f1" set the htmltext of field "fb" to the htmltext of char (item 1 of pr2) to (item 2 of pr2) of field "f1" add 2 to pn end mouseUp ---end initialise--- Then a next page button script is simply... ---next page--- global pn global pr on mouseUp put the pageranges of field "f1" into pr put line pn of pr into pr1 put line pn+1 of pr into pr2 set the htmltext of field "fa" to the htmltext of char (item 1 of pr1) to (item 2 of pr1) of field "f1" set the htmltext of field "fb" to the htmltext of char (item 1 of pr2) to (item 2 of pr2) of field "f1" add 2 to pn end mouseUp ---end next page--- Works a charm. It just depends on what your intention is. If this is only for display or printing (the inspiration for the property) then this is the neatest way to go. But if you want greater user interaction, then maybe not. In my application of this idea I am using the first method I mentioned (group scroll). I want my users to be able to select text over more than one page and to view what may be just overleaf (say at the end of page 2 and the beginning of page 3) without having to jump back and forth. James -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Formatted-text-in-a-field-tp4677903p4677917.html Sent from the Revolution - User mailing list archive at Nabble.com. From scott at elementarysoftware.com Thu Apr 3 02:33:23 2014 From: scott at elementarysoftware.com (Scott Morrow) Date: Wed, 2 Apr 2014 23:33:23 -0700 Subject: =?windows-1252?Q?transparent_=93multiline=94_UITextField?= Message-ID: <233DB792-CEA7-48B1-92ED-514400397773@elementarysoftware.com> I?m trying to make a transparent ?multiline? UITextField in iOS. Unfortunately, it remains opaque both in the simulator and on an actual device. If I switch the style of the UITextField to ?input? then it becomes transparent. I?m doing something along the lines of: mobileControlCreate "multiline", pFieldName mobileControlSet pFieldName, "rect", tRect mobileControlSet pFieldName, "opaque", "false" mobileControlSet pFieldName, "visible", ?true" I?m suspicious that it may be operator error since I can?t get it working under the last several previous LC versions and I didn?t notice a bug report. Suggestions? (tested with LC 6.1.3, 6.5.2, 6.6, 6.7dp1 and 6.6.1rc1 Commercial) ? Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com office 1-800-615-0867 ------------------------------------------------------ From andre.bisseret at wanadoo.fr Thu Apr 3 05:59:52 2014 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Thu, 3 Apr 2014 11:59:52 +0200 Subject: Sorting issue in a datagrid In-Reply-To: <1396341902288-4677771.post@n4.nabble.com> References: <40D11FC8-45D4-469C-BCC8-68468F188467@wanadoo.fr> <1C0846D1-AD13-4890-BBD6-6812333EA70F@studionm.pl> <1396295962686-4677742.post@n4.nabble.com> <193BE373-D73F-4475-9228-EC436FE33A5D@wanadoo.fr> <1396341902288-4677771.post@n4.nabble.com> Message-ID: Le 1 avr. 2014 ? 10:45, Dave Kilroy a ?crit : > "Titre" seems fine to me - I'm starting to grasp at straws here... > > If your dg sort fails after row 8, what data is in row 9? Could there be an > invisible character that is causing the problem? Have at look at the text in > BBEdit or similar? Dave, You were right ! Zryip TheSlug had a look at my datagrid, and saw that there were invisible characters after some of the phrases to be sorted( NULL character : ascii 0). Seems that such a character don't disturb the sort process in a field (but in a data grit it does). So my problem is solve ;-)) (if charToNum(last char of line li = 0 then delete last char...) Thank you much Andr? From dave at applicationinsight.com Thu Apr 3 06:17:54 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Thu, 3 Apr 2014 03:17:54 -0700 (PDT) Subject: Sorting issue in a datagrid In-Reply-To: References: <40D11FC8-45D4-469C-BCC8-68468F188467@wanadoo.fr> <1C0846D1-AD13-4890-BBD6-6812333EA70F@studionm.pl> <1396295962686-4677742.post@n4.nabble.com> <193BE373-D73F-4475-9228-EC436FE33A5D@wanadoo.fr> <1396341902288-4677771.post@n4.nabble.com> Message-ID: <1396520274602-4677920.post@n4.nabble.com> Good old Zyrip - the best coding slug/man combination in the known universe! ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Sorting-issue-in-a-datagrid-tp4677730p4677920.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Thu Apr 3 06:28:53 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 03 Apr 2014 12:28:53 +0200 Subject: Firels as containers In-Reply-To: <533C4B0F.2060401@hyperactivesw.com> References: <533C4B0F.2060401@hyperactivesw.com> Message-ID: <533D37E5.1010604@economy-x-talk.com> Hi, Indeed, the destroyStack property being set to false was the reason why the stack appeared to be saved while it wasn't. Also, because the global variable gRevStackStatus[stackName] isn't updated if a script changes the value of the field, the Save prompt wasn't triggered when Muaadh chose Exit from the File menu. While this is a little confusing if you only use the IDE and usually don't make standalones, I don't think this is a big issue, because the project would eventually run as a standalone and would need its own saving routines. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 4/2/2014 19:38, J. Landman Gay wrote: > On 4/2/14, 4:44 AM, Muaadh Salih wrote: >> What I can not undrstand is why it DOES work when : >> 1- save the stack scripte >> 2- close >> 3- open stack (from file menu without quiting LC ) >> >> while it DOES NOT ( always goes to card one) when: >> 1- Save the stack scripte >> 2- Cose >> 3- Quit LC >> 4-Double click on stack stack (from file menu without quiting live >> code ) > > The destroystack property of the stack is probably set to false, which > is LiveCode's default setting. That means when the stack closes it is > kept in RAM. When you re-open it, it will open in its previous state. > > When you quit LiveCode and re-open the stack, it opens in the state it > was last saved in. It sounds like the stack is not saved to disk before > you quit LiveCode. > > When you open the stack after launching LiveCode, what is in field > "aaa"? Is it the correct card number? > From mikedoub at gmail.com Thu Apr 3 08:37:04 2014 From: mikedoub at gmail.com (Michael Doub) Date: Thu, 3 Apr 2014 08:37:04 -0400 Subject: Formatted text in a field. In-Reply-To: <1396505191532-4677917.post@n4.nabble.com> References: <44BE373A-0015-43A3-8528-7B9AC2111755@gmail.com> <1396505191532-4677917.post@n4.nabble.com> Message-ID: Thank you! Using the pageranges is pretty clever. So clearly the engine knows how to do these calculations, so I have to believe that all of the properties must be available to us to do the same calculation. The one that I think I am not understanding correctly is the property for the number of pixels in the visible part of the field. I thought that would have been the height of a field - boarder - margin. Thanks again, Mike On Apr 3, 2014, at 2:06 AM, jameshale wrote: > Yes Peter is right. > If all you are looking to do is display the two pages then this might be the > go. > > If you place a field "f1" on a page and set it up the way you want (size, > text characteristics etc) and then make two copies, field fa" and field > "fb". > Then make "f1" invisible. > > make a button to load the pages like: > > --intialize script-- > > global pn > global pr > on mouseUp > set the htmltext of field "f1" to YOUR_STYLED_TEXT_VARIABLE > put 1 into pn > put the pageranges of field "f1" into pr > put line pn of pr into pr1 > put line pn+1 of pr into pr2 > set the htmltext of field "fa" to the htmltext of char (item 1 of pr1) > to (item 2 of pr1) of field "f1" > set the htmltext of field "fb" to the htmltext of char (item 1 of pr2) > to (item 2 of pr2) of field "f1" > add 2 to pn > end mouseUp > > ---end initialise--- > > Then a next page button script is simply... > > ---next page--- > global pn > global pr > on mouseUp > put the pageranges of field "f1" into pr > put line pn of pr into pr1 > put line pn+1 of pr into pr2 > set the htmltext of field "fa" to the htmltext of char (item 1 of pr1) > to (item 2 of pr1) of field "f1" > set the htmltext of field "fb" to the htmltext of char (item 1 of pr2) > to (item 2 of pr2) of field "f1" > add 2 to pn > end mouseUp > ---end next page--- > > Works a charm. > > It just depends on what your intention is. > If this is only for display or printing (the inspiration for the property) > then this is the neatest way to go. > But if you want greater user interaction, then maybe not. > > In my application of this idea I am using the first method I mentioned > (group scroll). I want my users to be able to select text over more than one > page and to view what may be just overleaf (say at the end of page 2 and the > beginning of page 3) without having to jump back and forth. > > James > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Formatted-text-in-a-field-tp4677903p4677917.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 mikedoub at gmail.com Thu Apr 3 08:37:04 2014 From: mikedoub at gmail.com (Michael Doub) Date: Thu, 3 Apr 2014 08:37:04 -0400 Subject: Formatted text in a field. In-Reply-To: <1396505191532-4677917.post@n4.nabble.com> References: <44BE373A-0015-43A3-8528-7B9AC2111755@gmail.com> <1396505191532-4677917.post@n4.nabble.com> Message-ID: Thank you! Using the pageranges is pretty clever. So clearly the engine knows how to do these calculations, so I have to believe that all of the properties must be available to us to do the same calculation. The one that I think I am not understanding correctly is the property for the number of pixels in the visible part of the field. I thought that would have been the height of a field - boarder - margin. Thanks again, Mike On Apr 3, 2014, at 2:06 AM, jameshale wrote: > Yes Peter is right. > If all you are looking to do is display the two pages then this might be the > go. > > If you place a field "f1" on a page and set it up the way you want (size, > text characteristics etc) and then make two copies, field fa" and field > "fb". > Then make "f1" invisible. > > make a button to load the pages like: > > --intialize script-- > > global pn > global pr > on mouseUp > set the htmltext of field "f1" to YOUR_STYLED_TEXT_VARIABLE > put 1 into pn > put the pageranges of field "f1" into pr > put line pn of pr into pr1 > put line pn+1 of pr into pr2 > set the htmltext of field "fa" to the htmltext of char (item 1 of pr1) > to (item 2 of pr1) of field "f1" > set the htmltext of field "fb" to the htmltext of char (item 1 of pr2) > to (item 2 of pr2) of field "f1" > add 2 to pn > end mouseUp > > ---end initialise--- > > Then a next page button script is simply... > > ---next page--- > global pn > global pr > on mouseUp > put the pageranges of field "f1" into pr > put line pn of pr into pr1 > put line pn+1 of pr into pr2 > set the htmltext of field "fa" to the htmltext of char (item 1 of pr1) > to (item 2 of pr1) of field "f1" > set the htmltext of field "fb" to the htmltext of char (item 1 of pr2) > to (item 2 of pr2) of field "f1" > add 2 to pn > end mouseUp > ---end next page--- > > Works a charm. > > It just depends on what your intention is. > If this is only for display or printing (the inspiration for the property) > then this is the neatest way to go. > But if you want greater user interaction, then maybe not. > > In my application of this idea I am using the first method I mentioned > (group scroll). I want my users to be able to select text over more than one > page and to view what may be just overleaf (say at the end of page 2 and the > beginning of page 3) without having to jump back and forth. > > James > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Formatted-text-in-a-field-tp4677903p4677917.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 prothero at earthednet.org Thu Apr 3 09:50:46 2014 From: prothero at earthednet.org (Earthednet-wp) Date: Thu, 3 Apr 2014 06:50:46 -0700 Subject: Updated app on the iOS store In-Reply-To: References: Message-ID: <6D11DE00-4E6B-4957-BFA4-E9292F9A2682@earthednet.org> Gary, I'm on an iPad 2 with iOS 7. I get the opening screen and clock and top left menu, but it is frozen there. Nothing I touch makes anything happen. Bill William Prothero http://es.earthednet.org > On Apr 2, 2014, at 10:59 PM, Gerry Orkin wrote: > > Comrades > > An old app I've had on the iOS app store for a couple of years was just updated for iOS 7. Check it out :) : > > https://itunes.apple.com/au/app/the-george-hrapp/id447729252?mt=8 > > Cheers > > 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 From dave at applicationinsight.com Thu Apr 3 11:02:37 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Thu, 3 Apr 2014 08:02:37 -0700 (PDT) Subject: occasional runaway control - anyone else seeing this? In-Reply-To: <533BC2CF.9060606@economy-x-talk.com> References: <1396371949260-4677795.post@n4.nabble.com> <533BC2CF.9060606@economy-x-talk.com> Message-ID: <1396537357815-4677923.post@n4.nabble.com> What a great mailing list :) Just to report back that following on from Mark's suggestion I've tried again but this time with messages suppressed, and so far I've seen no runaways - thanks everyone! Mark Schonewille-3 wrote > Also, if you're using rect, top, left, bottom, right and other location > properties in your script, these properties may change, triggering a > resizing handler again, which eventually makes the control walk. ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/occasional-runaway-control-anyone-else-seeing-this-tp4677795p4677923.html Sent from the Revolution - User mailing list archive at Nabble.com. From devin_asay at byu.edu Thu Apr 3 11:13:08 2014 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 3 Apr 2014 15:13:08 +0000 Subject: =?Windows-1252?Q?Re:_transparent_=93multiline=94_UITextField?= In-Reply-To: <233DB792-CEA7-48B1-92ED-514400397773@elementarysoftware.com> References: <233DB792-CEA7-48B1-92ED-514400397773@elementarysoftware.com> Message-ID: On Apr 3, 2014, at 12:33 AM, Scott Morrow wrote: > I?m trying to make a transparent ?multiline? UITextField in iOS. Unfortunately, it remains opaque both in the simulator and on an actual device. If I switch the style of the UITextField to ?input? then it becomes transparent. I?m doing something along the lines of: > > mobileControlCreate "multiline", pFieldName > mobileControlSet pFieldName, "rect", tRect > mobileControlSet pFieldName, "opaque", "false" > mobileControlSet pFieldName, "visible", ?true" > > I?m suspicious that it may be operator error since I can?t get it working under the last several previous LC versions and I didn?t notice a bug report. Suggestions? > (tested with LC 6.1.3, 6.5.2, 6.6, 6.7dp1 and 6.6.1rc1 Commercial) Scott, I had puzzled over this before, too. It turns out, a little confusingly, that you have to set the alpha channel on the backgroundColor rather than the opaque property: mobileControlSet pFieldName, "backgroundColor", "255,255,255,0" mobileControlSet pFieldName, "opaque", false I tried it with the opaque property set to both true and false; it didn't seem to make any difference. In fact, it worked fine without setting the opaque property. The old iOS release notes (and the current dictionary entry for mobileControlSet) give a confusing description of the opaque property of mobile native controls: "Set to false if the control should be rendered with transparency. In particular, set this control to true if you set a backgroundColor that is not fully opaque." Months ago I had printed out the release notes for closer study. Next to that paragraph I penciled in the comment "?". Indeed. Can anyone explain what that means? Regards, Devin Devin Asay Office of Digital Humanities Brigham Young University From jacque at hyperactivesw.com Thu Apr 3 12:08:46 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 03 Apr 2014 11:08:46 -0500 Subject: Formatted text in a field. In-Reply-To: References: <44BE373A-0015-43A3-8528-7B9AC2111755@gmail.com> <1396505191532-4677917.post@n4.nabble.com> Message-ID: <533D878E.8080506@hyperactivesw.com> On 4/3/14, 7:37 AM, Michael Doub wrote: > So clearly the engine knows how to do these calculations, so I have > to believe that all of the properties must be available to us to do > the same calculation. The one that I think I am not understanding > correctly is the property for the number of pixels in the visible > part of the field. I thought that would have been the height of a > field - boarder - margin. I'd be tempted to try letting the engine do it and use only a single field. Just turn off the scrollbars (make the field a regular non-scrolling field.) You can still set the scroll of the field whether the scrollbars are there or not. On each "page turn" the script could set the scroll of fld 1 to (the effective textheight of fld 1 )* 12 + the scroll of fld 1 If fixedLineHeight is true you will already know the number of lines displayed. In my example, there are 12 visible lines (including wrap.) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rabit at revigniter.com Thu Apr 3 13:22:07 2014 From: rabit at revigniter.com (Ralf Bitter) Date: Thu, 3 Apr 2014 19:22:07 +0200 Subject: New browser In-Reply-To: <533B793E.8040305@hyperactivesw.com> References: <533B793E.8040305@hyperactivesw.com> Message-ID: <1E185237-46AD-4769-AA4E-567B967F0FE1@revigniter.com> Hi Jacqueline, in case you mean the ability to call a LiveCode handler from within the browser using the new "revBrowserAddJavaScriptHandler" command and not the other way round (like using "revBrowserExecuteScript") my finding is that this works as expected. As an aside I noticed that on Mac the performance of JavaScript animations, which are pretty smooth using the current revBrowser external, is extremely bad. Hope this will change. Apart from that I am really happy with the move to a modern browser component. Ralf On 02.04.2014, at 04:43, J. Landman Gay wrote: > Has anyone tried the JavaScript interaction with the new browser yet? Someone has asked me if it works. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Apr 3 13:25:23 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 03 Apr 2014 12:25:23 -0500 Subject: App code signing for outside Mac App Store Message-ID: <533D9983.1080108@hyperactivesw.com> I need to code sign a Mac app for distribution outside the Mac App Store. If I have a Developer ID Application Certificate, can I just use that to build the standalone and it will work? Or do I need to post-process the standalone in some way? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Apr 3 13:48:06 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 03 Apr 2014 12:48:06 -0500 Subject: New browser In-Reply-To: <1E185237-46AD-4769-AA4E-567B967F0FE1@revigniter.com> References: <533B793E.8040305@hyperactivesw.com> <1E185237-46AD-4769-AA4E-567B967F0FE1@revigniter.com> Message-ID: <533D9ED6.8000805@hyperactivesw.com> On 4/3/14, 12:22 PM, Ralf Bitter wrote: > in case you mean the ability to call a LiveCode > handler from within the browser using the new > "revBrowserAddJavaScriptHandler" command and > not the other way round (like using "revBrowserExecuteScript") > my finding is that this works as expected. Thanks Ralf. That's what I needed. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From larry at significantplanet.org Thu Apr 3 13:53:31 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Thu, 3 Apr 2014 11:53:31 -0600 Subject: Problem with building standalone Message-ID: <2C43B2AEBC6246F4B0E0777D517B45A8@userd204a4d61c> Approximately 20-40% of the time when I go to build a standalone, the LC IDE just quits - without building. I have to restart LC and try again. Usually, this is what happens: I again ask to build the standalone. LC asks if I want to save my stack, even though I had just saved it before attempting to build the standalone. If I say "don't save" then LC usually just quits again. If I save it again, then LC usually (but not always) will go ahead and build the standalone. I'm using Community 6.1.1 (rc 4) on XP Service Pack 3 Thanks for any advice! From martyknappster at gmail.com Thu Apr 3 14:00:19 2014 From: martyknappster at gmail.com (Marty Knapp) Date: Thu, 03 Apr 2014 11:00:19 -0700 Subject: App code signing for outside Mac App Store In-Reply-To: <533D9983.1080108@hyperactivesw.com> References: <533D9983.1080108@hyperactivesw.com> Message-ID: <533DA1B3.5000705@gmail.com> You will need to post-process or implement a routine when the standalone builds. You might check out Trevor's GLX Application Packager - it has the ability to sign apps, though I'm not sure where things are at with Mavericks as there were some changes. I've been using App Wrapper by Ohana Software (http://www.ohanaware.com) on Mavericks with success. Please note that I don't have any apps in the app store so can't attest to App Wrappers abilities there. I just code sign for distribution on my own. Marty Knapp > I need to code sign a Mac app for distribution outside the Mac App > Store. If I have a Developer ID Application Certificate, can I just > use that to build the standalone and it will work? Or do I need to > post-process the standalone in some way? > From lists at mangomultimedia.com Thu Apr 3 14:55:05 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 3 Apr 2014 14:55:05 -0400 Subject: App code signing for outside Mac App Store In-Reply-To: <533DA1B3.5000705@gmail.com> References: <533D9983.1080108@hyperactivesw.com> <533DA1B3.5000705@gmail.com> Message-ID: On Thu, Apr 3, 2014 at 2:00 PM, Marty Knapp wrote: > You will need to post-process or implement a routine when the standalone > builds. You might check out Trevor's GLX Application Packager - it has the > ability to sign apps, though I'm not sure where things are at with > Mavericks as there were some changes. > I posted an updated GLX App Packager to the google group that has support for Mavericks. I have successfully signed two different of apps on Mavericks using it. -- Trevor DeVore Blue Mango Learning Systems www.screensteps.com - www.clarify-it.com From gerry.orkin at gmail.com Thu Apr 3 15:09:11 2014 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Fri, 4 Apr 2014 06:09:11 +1100 Subject: Updated app on the iOS store In-Reply-To: <6D11DE00-4E6B-4957-BFA4-E9292F9A2682@earthednet.org> References: <6D11DE00-4E6B-4957-BFA4-E9292F9A2682@earthednet.org> Message-ID: Bill, thanks. Amazing that it worked for me on 2 devices, and for Apple, but some devices seem to be having problems with the database! I've uploaded a fix (hopefully). It'll be on the Store whenever Apple decides :) Gerry On 4 Apr 2014, at 12:50 am, Earthednet-wp wrote: > I'm on an iPad 2 with iOS 7. I get the opening screen and clock and top left menu, but it is frozen there. Nothing I touch makes anything happen. > Bill From larry at significantplanet.org Thu Apr 3 15:26:32 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Thu, 3 Apr 2014 13:26:32 -0600 Subject: please help! Message-ID: I've tried 20 different ways of syntax for a filter and still cannot make it work. I'm trying to filter the lines of a field that contains a specific string, say "d14" somewhere within the field. Here is the latest that did NOT work: on mouseUp filter field column3 with "* "d14" *" end mouseUp From jacque at hyperactivesw.com Thu Apr 3 15:39:24 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 03 Apr 2014 14:39:24 -0500 Subject: App code signing for outside Mac App Store In-Reply-To: <533DA1B3.5000705@gmail.com> References: <533D9983.1080108@hyperactivesw.com> <533DA1B3.5000705@gmail.com> Message-ID: <533DB8EC.9020705@hyperactivesw.com> On 4/3/14, 1:00 PM, Marty Knapp wrote: > You will need to post-process or implement a routine when the standalone > builds. You might check out Trevor's GLX Application Packager - it has > the ability to sign apps, though I'm not sure where things are at with > Mavericks as there were some changes. I've been using App Wrapper by > Ohana Software (http://www.ohanaware.com) on Mavericks with success. > Please note that I don't have any apps in the app store so can't attest > to App Wrappers abilities there. I just code sign for distribution on my > own. Thanks. We're building for third-party distribution too so that's all I need. I've used AppWrapper before, I didn't know they'd now fixed it for Mavericks. That's good news. Also, when building in LiveCode, do you build with the Developer ID certificate? And if so, why do we need to post-process? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Thu Apr 3 15:41:59 2014 From: klaus at major-k.de (Klaus major-k) Date: Thu, 3 Apr 2014 21:41:59 +0200 Subject: please help! In-Reply-To: References: Message-ID: <2DC2F570-C45F-40AA-8270-528C7031F179@major-k.de> Hi Larry, Am 03.04.2014 um 21:26 schrieb larry at significantplanet.org: > I've tried 20 different ways of syntax for a filter and still cannot make it work. > > I'm trying to filter the lines of a field that contains a specific string, say "d14" somewhere within the field. > > Here is the latest that did NOT work: > > on mouseUp > ##filter field column3 with "* "d14" *" filter field "column3" with "*d14*" > end mouseUp :-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From m.schonewille at economy-x-talk.com Thu Apr 3 15:42:11 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 03 Apr 2014 21:42:11 +0200 Subject: please help! In-Reply-To: References: Message-ID: <533DB993.3050309@economy-x-talk.com> Hi Larry, First of all, when you write "it didn't work", you should really write exactly why it didn't work and what you got instead of the expected result. E.g. did nothing happen, did you get an error message --if you got an error message, then what was the exact text of the error message--, or did the script run and was the result different from what you wanted? The follow should "work", i.e. it should remove all lines except those containing the string "d14": on mouseUp filter fld "Column3" with "*d14* end mouseUp I'm assuming that this script is in a button and that you click on the button to run the script. If this doesn't help, can you give a more specific description of the problem? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 4/3/2014 21:26, larry at significantplanet.org wrote: > I've tried 20 different ways of syntax for a filter and still cannot make it work. > > I'm trying to filter the lines of a field that contains a specific string, say "d14" somewhere within the field. > > Here is the latest that did NOT work: > > on mouseUp > > filter field column3 with "* "d14" *" > > 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 dunbarx at aol.com Thu Apr 3 15:42:37 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 3 Apr 2014 15:42:37 -0400 (EDT) Subject: please help! In-Reply-To: References: Message-ID: <8D11D8C007212AE-1148-2049F@webmail-vm032.sysops.aol.com> Hi. "filter" and "matchtext" take a bit of practice. It seems you have more stuff in your filterPattern than you need, but I could be mistaken, As a test, make a field with the following in it: aa bb cc dd Now in a button: on mouseUp get fld 1 filter it without "bb" --also try "filter with..." end mouseUp Does this do what you intended? Craig Newman -----Original Message----- From: larry To: use-livecode Sent: Thu, Apr 3, 2014 3:27 pm Subject: please help! I've tried 20 different ways of syntax for a filter and still cannot make it work. I'm trying to filter the lines of a field that contains a specific string, say "d14" somewhere within the field. Here is the latest that did NOT work: on mouseUp filter field column3 with "* "d14" *" 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 jacque at hyperactivesw.com Thu Apr 3 15:47:23 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 03 Apr 2014 14:47:23 -0500 Subject: App code signing for outside Mac App Store In-Reply-To: References: <533D9983.1080108@hyperactivesw.com> <533DA1B3.5000705@gmail.com> Message-ID: <533DBACB.6010705@hyperactivesw.com> On 4/3/14, 1:55 PM, Trevor DeVore wrote: > I posted an updated GLX App Packager to the google group that has support > for Mavericks. I have successfully signed two different of apps on > Mavericks using it. > Excellent, thank you. I'm still not sure what certificate to use when building the standalone, or if it matters. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From martyknappster at gmail.com Thu Apr 3 15:55:17 2014 From: martyknappster at gmail.com (Marty Knapp) Date: Thu, 03 Apr 2014 12:55:17 -0700 Subject: App code signing for outside Mac App Store In-Reply-To: <533DB8EC.9020705@hyperactivesw.com> References: <533D9983.1080108@hyperactivesw.com> <533DA1B3.5000705@gmail.com> <533DB8EC.9020705@hyperactivesw.com> Message-ID: <533DBCA5.5070109@gmail.com> Yes, just your Developer ID certificate. The GLX Application Packager can make this a part of the build process, so you could maybe just pull out the code that's doing that. I guess it's now updated to work with Mavericks. As it previously didn't, I've been using App Wrapper. In both cases you need to input your Developer ID. Marty K >> You will need to post-process or implement a routine when the standalone >> builds. You might check out Trevor's GLX Application Packager - it has >> the ability to sign apps, though I'm not sure where things are at with >> Mavericks as there were some changes. I've been using App Wrapper by >> Ohana Software (http://www.ohanaware.com) on Mavericks with success. >> Please note that I don't have any apps in the app store so can't attest >> to App Wrappers abilities there. I just code sign for distribution on my >> own. > > Thanks. We're building for third-party distribution too so that's all > I need. I've used AppWrapper before, I didn't know they'd now fixed it > for Mavericks. That's good news. > > Also, when building in LiveCode, do you build with the Developer ID > certificate? And if so, why do we need to post-process? > From jacque at hyperactivesw.com Thu Apr 3 16:08:19 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 03 Apr 2014 15:08:19 -0500 Subject: App code signing for outside Mac App Store In-Reply-To: <533DBCA5.5070109@gmail.com> References: <533D9983.1080108@hyperactivesw.com> <533DA1B3.5000705@gmail.com> <533DB8EC.9020705@hyperactivesw.com> <533DBCA5.5070109@gmail.com> Message-ID: <533DBFB3.9090400@hyperactivesw.com> On 4/3/14, 2:55 PM, Marty Knapp wrote: > Yes, just your Developer ID certificate. The GLX Application Packager > can make this a part of the build process, so you could maybe just pull > out the code that's doing that. I guess it's now updated to work with > Mavericks. As it previously didn't, I've been using App Wrapper. In both > cases you need to input your Developer ID. Okay, that helps. Thanks. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From brahma at hindu.org Thu Apr 3 16:47:05 2014 From: brahma at hindu.org (Brahmanathswami) Date: Thu, 03 Apr 2014 10:47:05 -1000 Subject: Layout tools for LiveCode In-Reply-To: <533C8486.3070801@hyperactivesw.com> References: <533C804C.2010101@hindu.org> <533C8486.3070801@hyperactivesw.com> Message-ID: <533DC8C9.6060900@hindu.org> "Oh my Mangoes!" Sheesh, after all these years I did not know this? ha.... Thank you! hhhm me thinks a feature request is in order... a new IDE prop "show grid" as a default, locked layer 1 object behind everything else, that still functions the way the invisible one does. J. Landman Gay wrote: >> > > It's built-in but invisible. In preferences, go to the Appearance pane > and set the grid spacing to whatever you want. In the View menu, be > sure Grid is selected. After that, dragging an object will snap it to > the nearest gridline. From scott at elementarysoftware.com Thu Apr 3 17:45:04 2014 From: scott at elementarysoftware.com (Scott Morrow) Date: Thu, 3 Apr 2014 14:45:04 -0700 Subject: =?windows-1252?Q?Re=3A_transparent_=93multiline=94_UITextField?= In-Reply-To: References: <233DB792-CEA7-48B1-92ED-514400397773@elementarysoftware.com> Message-ID: <25F430FD-D4C7-4D07-889C-EB7CB66D9690@elementarysoftware.com> Brilliant! Thank you, Devin. ? Scott On Apr 3, 2014, at 8:13 AM, Devin Asay wrote: > > On Apr 3, 2014, at 12:33 AM, Scott Morrow > wrote: > >> I?m trying to make a transparent ?multiline? UITextField in iOS. Unfortunately, it remains opaque both in the simulator and on an actual device. If I switch the style of the UITextField to ?input? then it becomes transparent. I?m doing something along the lines of: >> >> mobileControlCreate "multiline", pFieldName >> mobileControlSet pFieldName, "rect", tRect >> mobileControlSet pFieldName, "opaque", "false" >> mobileControlSet pFieldName, "visible", ?true" >> >> I?m suspicious that it may be operator error since I can?t get it working under the last several previous LC versions and I didn?t notice a bug report. Suggestions? >> (tested with LC 6.1.3, 6.5.2, 6.6, 6.7dp1 and 6.6.1rc1 Commercial) > > Scott, > > I had puzzled over this before, too. It turns out, a little confusingly, that you have to set the alpha channel on the backgroundColor rather than the opaque property: > > mobileControlSet pFieldName, "backgroundColor", "255,255,255,0" > mobileControlSet pFieldName, "opaque", false > > I tried it with the opaque property set to both true and false; it didn't seem to make any difference. In fact, it worked fine without setting the opaque property. > > The old iOS release notes (and the current dictionary entry for mobileControlSet) give a confusing description of the opaque property of mobile native controls: > > "Set to false if the control should be rendered with transparency. In particular, set this control to true if you set a backgroundColor that is not fully opaque." > > Months ago I had printed out the release notes for closer study. Next to that paragraph I penciled in the comment "?". Indeed. > > Can anyone explain what that means? > > Regards, > > Devin > > > > > 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 Nakia.Brewer at westrac.com.au Thu Apr 3 19:15:34 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Thu, 3 Apr 2014 23:15:34 +0000 Subject: Layout tools for LiveCode In-Reply-To: <533DC8C9.6060900@hindu.org> References: <533C804C.2010101@hindu.org> <533C8486.3070801@hyperactivesw.com> <533DC8C9.6060900@hindu.org> Message-ID: <67116DB20798A94285EEE12A67079A284CADA16A@MHSEXC02.westrac.com.au> Finally someone said it.. Didn't even know that was there.. Who knows what other goodies exist.... Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au ? ACN 009 342 572 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Brahmanathswami Sent: Friday, 4 April 2014 7:47 AM To: How to use LiveCode Subject: Re: Layout tools for LiveCode "Oh my Mangoes!" Sheesh, after all these years I did not know this? ha.... Thank you! hhhm me thinks a feature request is in order... a new IDE prop "show grid" as a default, locked layer 1 object behind everything else, that still functions the way the invisible one does. J. Landman Gay wrote: >> > > It's built-in but invisible. In preferences, go to the Appearance pane > and set the grid spacing to whatever you want. In the View menu, be > sure Grid is selected. After that, dragging an object will snap it to > the nearest gridline. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From pete at lcsql.com Thu Apr 3 19:50:15 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 3 Apr 2014 16:50:15 -0700 Subject: [OT] MacHeist Bundle Message-ID: These guys put some pretty amazing deals out there but their latest one is the best I've seen. $20 for almost $1800 of software, 8 Apple Design Award winners, including Xojo Desktop. I'll probably never use a couple of them but still great value. Check it out at www.macheist.com Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From vclement at gmail.com Thu Apr 3 20:03:27 2014 From: vclement at gmail.com (Vaughn Clement) Date: Thu, 3 Apr 2014 17:03:27 -0700 Subject: [OT] MacHeist Bundle In-Reply-To: References: Message-ID: Hi Peter Check out this site as well: https://mail.google.com/mail/u/0/?shva=1#inbox/1452830d18570671 They offer all kinds of app bundels. Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclement at gmail.com LogMeIn also avaialble Call on "ooVoo" at address: vaughnclement or 9282549062 Ph. 928-254-9062 On Thu, Apr 3, 2014 at 4:50 PM, Peter Haworth wrote: > These guys put some pretty amazing deals out there but their latest one is > the best I've seen. $20 for almost $1800 of software, 8 Apple Design Award > winners, including Xojo Desktop. I'll probably never use a couple of them > but still great value. Check it out at www.macheist.com > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Apr 3 20:27:02 2014 From: shawnlivecode at gmail.com (Shawn Blc) Date: Thu, 3 Apr 2014 19:27:02 -0500 Subject: Sending mail (invisibly) from inside a Mac LC app In-Reply-To: References: <006901cf4aca$18790fb0$496b2f10$@FlexibleLearning.com> <5335E6F2.5000803@together.net> <53362116.6070404@together.net> <53363108.3070503@together.net> <19B1F25C-FD37-44B9-8510-3BC478AC98D7@iotecdigital.com> <533BF598.2060900@together.net> Message-ID: Using PHP and LiveCode together on your own server (even a shared hosting account), you could also setup a cron job to run at certain times and have the data automatically sent. On Wed, Apr 2, 2014 at 11:10 AM, Mark Talluto wrote: > On Apr 2, 2014, at 4:33 AM, Richard Miller wrote: > > > I am still looking into the PHP script option for corporate users. > > The PHP/LiveCode solution is completely silent, will work on both the > internet and intranet, require no mail config on the client side. The only > requirement of the client is that they need to be connected to the > internet. You could add to the code to cache the data to be emailed and > send it when it comes back on. > > > Best regards, > > Mark Talluto > 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 bobsneidar at iotecdigital.com Thu Apr 3 20:33:09 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 4 Apr 2014 00:33:09 +0000 Subject: Change to the label property in 6.7 In-Reply-To: <53376390.7080507@fourthworld.com> References: <53376390.7080507@fourthworld.com> Message-ID: <42EC5771-8398-4FD0-9C78-F482B5DE7A88@iotecdigital.com> Heh heh. I like that. I put it another way: ?People will never change until it hurts not to.? Bob On Mar 29, 2014, at 17:21 , Richard Gaskin > wrote: In all human affairs, change happens when the pain of changing is exceeded by the pain of not changing. :) From bobsneidar at iotecdigital.com Thu Apr 3 20:37:06 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 4 Apr 2014 00:37:06 +0000 Subject: Kill a handler In-Reply-To: References: <9706A9FC-7601-46C9-914B-62F70E47F947@westrac.com.au> <8D1197BCCE4C74C-239C-5BD7@webmail-vm013.sysops.aol.com> <5336EA47.6010702@economy-x-talk.com> <8D1197E392DF8C1-239C-5C8E@webmail-vm013.sysops.aol.com> <53372BE5.1050206@economy-x-talk.com> Message-ID: <6709F974-DD00-49F9-A216-583B5AA610C4@iotecdigital.com> GOD BLESS YOU SIR! How many a frustrated night I?ve spent with an unresponsive SQL server, waiting for it to time out so I can get on with my work! Bob On Mar 30, 2014, at 06:58 , Kevin Miller > wrote: There is an alternative to command-. on Mac which will often, though not always rescue you when you?re deep in handler stack you can?t break out of. Get the process ID from Activity Monitor. Then run: kill -sighup processID E.g. if LC has PID 9382: kill -sighup 9382 Kind regards, Kevin From bobsneidar at iotecdigital.com Thu Apr 3 20:39:23 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 4 Apr 2014 00:39:23 +0000 Subject: Dialog freezes app on Windows after sleep In-Reply-To: References: Message-ID: <4E3AA796-9FCB-4A67-A67E-034BF090D0EA@iotecdigital.com> It also gives you a way back from the brink of bug hell by allowing you to simply use the older version in case something goes horribly awry with your project. Bob On Mar 30, 2014, at 14:11 , Richard Gaskin > wrote: Larry wrote: I think it is very weird that when I install a newer version of LC, it keeps all of the old versions on my computer. But maybe that is by design for some reason I don't know about? It's for precisely the reason we're discussing: it keeps each version separate so you can test and deploy with any specific version with ease and confidence. Ideally this would help encourage testing of new versions as well. Richard Gaskin From bobsneidar at iotecdigital.com Thu Apr 3 20:43:39 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 4 Apr 2014 00:43:39 +0000 Subject: Dialog freezes app on Windows after sleep In-Reply-To: <53363FE7.7090408@hyperactivesw.com> References: <53363B37.6090302@hyperactivesw.com> <53363FE7.7090408@hyperactivesw.com> Message-ID: <2B67ABEB-F229-40E7-A70C-C2CC88A0D69F@iotecdigital.com> It could be the modal nature of the dialogs. I?ve had a similar thing happen when going to a stack as modal. If I switch to another app and then back again, the controls in the modal stack are unresponsive, which made me avoid that technique like the plague. Bob On Mar 28, 2014, at 20:37 , J. Landman Gay > wrote: It's just the built-in LiveCode "ask password" dialog. We've only tested on one machine running Windows 8, but the client says it has happened many times on that computer. I could put up a separate stack instead but it's easier to just use the dialog. I don't have Windows 8 here to try it on but if anyone else wants to test, I'd love to hear what happens. Just type "ask password hello" in the message box and walk away until the computer sleeps. Then see what happens. We're using LiveCode 6.6, btw. Hm...just happened to think, there was that freeze on Windows in 6.6 that got fixed in 6.7. I wonder if that's it. -- Jacqueline Landman Gay From bobsneidar at iotecdigital.com Thu Apr 3 20:50:50 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 4 Apr 2014 00:50:50 +0000 Subject: multi-line constants? (for RSA keys) In-Reply-To: <5339A7BC.6070900@hyperactivesw.com> References: <532E2C69.50309@tweedly.net> <052FF935-A63C-401C-BB49-B27CDEBAC34C@iotecdigital.com> <53363516.6000001@hyperactivesw.com> <96E409D1-9E71-4C0B-8628-F49E546DC719@iotecdigital.com> <5339A7BC.6070900@hyperactivesw.com> Message-ID: Thanks, I think I remember what the issue was now. If you want your stacks to be writable, they cannot be part of the app. Is that correct? So if the application has the need to save things like persistent properties and such, you HAVE to separate the substacks, thereby making them runnable in the IDE. So the only real solution it seems to me is to password protect all the substacks before compiling, and then write code into the stacks to prevent them from running if they are the topStack of themselves. Bob On Mar 31, 2014, at 10:37 , J. Landman Gay wrote: > On 3/31/14, 10:10 AM, Bob Sneidar wrote: >> It was my impression that the mainstack gets*glued* together with >> the runtime engine and is not accessible in the same way the >> substacks are, which are merely included in a subfolder or in the >> case of OS X, in the package. Is this no longer the case? Or have I >> simply misunderstood all this time? > > If the substacks are true substacks, they are "glued" to the engine the same way the mainstack is. This is the standard way substacks work. All stacks in a standalone are part of the same file on disk and received the same protection. > > However, there is a checkbox in standalone settings that allows you to save out substacks as separate files during the build. If you choose to do that, then they are no longer substacks, they are removed from the file and turned into individual document stacks. Those are the same as any other stack you'd use during development and as such, they are no longer part of your app. They're just loose in the folder (or in the bundle on Macs) and can be opened by anyone with a copy of LiveCode, no tricks required. The scripts will be obscured if the stack is password protected but everything else, including properties, will be accessible because it's just a plain old stack now. > > So if you want the same protection you'd get in the mainstack, just make sure you don't have that checkbox selected. > > -- > 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 alain_farmer at yahoo.com Thu Apr 3 20:51:48 2014 From: alain_farmer at yahoo.com (Alain Farmer) Date: Thu, 3 Apr 2014 17:51:48 -0700 (PDT) Subject: Home stack Message-ID: <1396572708.35596.YahooMailNeo@web126101.mail.ne1.yahoo.com> Hello, Is there still a Home stack in LiveCode ? Are following expressions still supported ? * go home * edit the script of home Anyone using revXML ? Any gotchas that I should be aware-of ? Are you still working with Jabber/XMPP, David Bovill ? Thanks, Alain Farmer From bobsneidar at iotecdigital.com Thu Apr 3 20:52:59 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 4 Apr 2014 00:52:59 +0000 Subject: how to sort lines with a $ amount In-Reply-To: <533A2C42.9070302@hyperactivesw.com> References: <1D9E181CF7CA4156B405C43681A6F14B@userd204a4d61c> <533A2C42.9070302@hyperactivesw.com> Message-ID: <43A83388-F6F6-4703-967F-CEBC0169F0AE@iotecdigital.com> Oh that is clever! Bob On Mar 31, 2014, at 20:02 , J. Landman Gay > wrote: function moneySort pItem if char 1 of pItem = "$" then delete char 1 of pItem return pItem end moneySort From bobsneidar at iotecdigital.com Thu Apr 3 20:57:11 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 4 Apr 2014 00:57:11 +0000 Subject: very, very slow on Mac Mini In-Reply-To: References: Message-ID: <2036285E-D04D-4A06-A193-0E4D192F9329@iotecdigital.com> One thing that can cause really bad performance (but you would see this happen globally for all apps) is that if there are bad sectors on the hard drive, writes to the bad sector(s) will cause the OS to attempt to move the data to another and lock out the bad. This is a super high priority event, even higher than mouse and keyboard events, and if the procedure fails, the next time a write to that sector is attempted, the same thing can happen. I?d backup and then do some disk checking. Bob On Mar 31, 2014, at 17:12 , Dr. Hawkins wrote: > My application performs snappily on my iMac and powerbook, both with 16gb. > > On the mini, though, it turns to molasses. As in taking several seconds to > turn a from one fairly simple card to the next, which is instantaneous in > either the IDE or a standalone on the other two. It's a slower machine, > but not *that* much slower. > > And this was the only loaded application. > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Apr 3 21:02:27 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 4 Apr 2014 01:02:27 +0000 Subject: Amazing new feature in LiveCode 6.7DP-1.4.14 In-Reply-To: References: <533AFC24.70906@hyperactivesw.com> Message-ID: I?ve had my pink elephant so long it?s almost gray again. Bob On Apr 1, 2014, at 11:13 , Robert Brenstein wrote: > On 01.04.2014 at 12:49 Uhr -0500 J. Landman Gay apparently wrote: >> On 4/1/14, 11:09 AM, Fraser Gordon wrote: >>> Quite understandably, this has made adding new features to the engine >>> trivial as all we need to do is imagine it sufficiently well. >> >> Damn you, now I have a pink elephant in my office. >> >> What ever happened to backward compatibility??? > > Oh, the pink elephant! Those were the days. > > RObert > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Apr 3 21:06:35 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 4 Apr 2014 01:06:35 +0000 Subject: Fiels as containers In-Reply-To: References: Message-ID: <9AE54D1B-083E-4FCD-95AD-4CD6B6330C33@iotecdigital.com> on closeStack set the lastCard of this stack to the long id of this card save this stack pass closeStack end closeStack on openStack put the lastCard of this stack into theLastCard if theLastCard is not empty then go theLastCard set the lastCard of this stack to empty end if pass openStack end openStack DISCLAIMER: Not tested, use at your own risk. Bob On Apr 1, 2014, at 15:10 , Muaadh Salih wrote: > In a simple stack of five crads I put a field "aaa" to store the number of > last card students were in last time to retruen to it when reopining the > stack next. > I put in card script > on closestack > put the number of this card into card field "aaa" of card 1 > end closestack > > and in the stack script > on Openstack > go to card ( card field "aaa" of card 1) > end Openstack > > This works fine as long as (I) do not quit livecode . > if I colse ,quit and then click on the saved stack it goes to card one ! > always ( livecode 6.6, 6.7, 7 and run rev 4.5) > What went wrong please ?! > > -- > > All the best > > ?Muaadh Salih > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Apr 3 21:26:46 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 4 Apr 2014 01:26:46 +0000 Subject: A weird bug/occurrence In-Reply-To: References: <532B1E3B.1080408@braguglia.ch> Message-ID: <679AFB9D-4AE4-4033-A9E6-E2CD9DF2B8E0@iotecdigital.com> Sounds like you are getting some kind of screen redraw bug. That being said, one thing that can cause controls to not be seen is if they are in a locked group, and having Select Grouped set to select individual controls, if you drag the items in a group outside the locked boundaries of that group they become invisible. Try setting Select Grouped Controls the copy all the controls on the card to a new card in a new stack. See if your redraw issue occurs then. If not, it?s something in the card or stack that is causing this. If so, then begin deleting one control at a time until the problem goes away. Bob On Apr 2, 2014, at 15:17 , Geoff Canyon wrote: > Just experienced this again -- downloaded LC 6.6, opened the stack, half > the controls on the page were missing. This time I was prepared. I opened > navigator, selected the arrow tool, and started clicking lines in > navigator. Again, no group, no properties being changed -- navigator just > changes the selected controls. But as I changed the selection, objects > started popping into view as they were selected. No idea what's going on, > submitting a bug. > > ...and they disappeared again. > > > On Fri, Mar 21, 2014 at 9:10 AM, Geoff Canyon wrote: > >> >> On Thu, Mar 20, 2014 at 12:58 PM, Guglielmo Braguglia < >> guglielmo at braguglia.ch> wrote: >> >>> have you a "fusion" drive on your Mac ? >> >> >> I don't think so -- macbook pro w/retina display, straight SSD. >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Thu Apr 3 21:29:12 2014 From: prothero at earthednet.org (Earthednet-wp) Date: Thu, 3 Apr 2014 18:29:12 -0700 Subject: Kill a handler In-Reply-To: <6709F974-DD00-49F9-A216-583B5AA610C4@iotecdigital.com> References: <9706A9FC-7601-46C9-914B-62F70E47F947@westrac.com.au> <8D1197BCCE4C74C-239C-5BD7@webmail-vm013.sysops.aol.com> <5336EA47.6010702@economy-x-talk.com> <8D1197E392DF8C1-239C-5C8E@webmail-vm013.sysops.aol.com> <53372BE5.1050206@economy-x-talk.com> <6709F974-DD00-49F9-A216-583B5AA610C4@iotecdigital.com> Message-ID: <053E6D88-BE6B-4096-A530-5C2F457BDF99@earthednet.org> Actually, you can kill the process right on the activity monitor. Bill William Prothero http://es.earthednet.org > On Apr 3, 2014, at 5:37 PM, Bob Sneidar wrote: > > GOD BLESS YOU SIR! How many a frustrated night I?ve spent with an unresponsive SQL server, waiting for it to time out so I can get on with my work! > > Bob > > > On Mar 30, 2014, at 06:58 , Kevin Miller > wrote: > > There is an alternative to command-. on Mac which will often, though not > always rescue you when you?re deep in handler stack you can?t break out of. > > Get the process ID from Activity Monitor. Then run: > > kill -sighup processID > > > E.g. if LC has PID 9382: > > kill -sighup 9382 > > > Kind regards, > > Kevin > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Apr 3 21:29:36 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 4 Apr 2014 01:29:36 +0000 Subject: Screengamma In-Reply-To: <533C7228.5060705@hyperactivesw.com> References: <533C7228.5060705@hyperactivesw.com> Message-ID: <6B00BE60-285F-45AA-87C9-81AD7F81C082@iotecdigital.com> I wonder if they are taking advantage of color profiling now? This happened a whay back when Adobe introduced color correction to it?s line of products. Colors that looked and printed JUST FINE before, were now so incredibly off that old projects became unusable without major reworking. It may be that the images have embedded profiles that were being ignored before, but are now being taken into account. Bob On Apr 2, 2014, at 13:25 , J. Landman Gay wrote: > Has anyone noticed a difference in screengamma in the last couple of releases? I've got some images here that look darker on Mac than they did a while back (not sure when it changed, but it's only a few weeks.) Setting the screengamma in the message box to 2.2 fixes it, but the default 1.7 used to be okay. > > -- > 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 bobsneidar at iotecdigital.com Thu Apr 3 21:33:13 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 4 Apr 2014 01:33:13 +0000 Subject: occasional runaway control - anyone else seeing this? In-Reply-To: <1396371949260-4677795.post@n4.nabble.com> References: <1396371949260-4677795.post@n4.nabble.com> Message-ID: Curious, why are all of Dave Kilroy?s emails threaded together, and everyone else?s replies to his posts in a completely separate thread? What are you using to post to the list Dave? Just curious. Bob On Apr 1, 2014, at 10:05 , Dave Kilroy wrote: > Quite a few times recently whilst developing on Windows (windows 7 x64) and > using various incarnations of LiveCode (LC 6.6, 6.6.1(rc1), LC 6.7 (dp1) I'm > getting an occasional 'runaway' behaviour. > > Occasionally, on one particular stack (holding quite a few controls to make > up it's GUI) if I'm editing a group with the inspector open on the 'Size & > Position' tab - if I click the up or down arrows on the left, top, right, or > bottom scrolling list fields, followed within a second or so by another > click on the same arrow - I get a 'runaway' of the control continuing to > move in the same direction at about 1 pixel/point per second. > > I'm not seeing it on LC 6.5 or 6.5.1 (or on OSX) > > I don't really want to file a bug about this because I can't reproduce it - > is anyone else seeing this? > > Kind regards > > Dave > > > > > ----- > "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/occasional-runaway-control-anyone-else-seeing-this-tp4677795.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 bobsneidar at iotecdigital.com Thu Apr 3 21:38:58 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 4 Apr 2014 01:38:58 +0000 Subject: Problem with building standalone In-Reply-To: <2C43B2AEBC6246F4B0E0777D517B45A8@userd204a4d61c> References: <2C43B2AEBC6246F4B0E0777D517B45A8@userd204a4d61c> Message-ID: First thing that comes to my mind is, don?t use a release candidate in production. Did you keep your last gold version? Bob On Apr 3, 2014, at 10:53 , larry at significantplanet.org wrote: > Approximately 20-40% of the time when I go to build a standalone, the LC IDE just quits - without building. I have to restart LC and try again. Usually, this is what happens: I again ask to build the standalone. LC asks if I want to save my stack, even though I had just saved it before attempting to build the standalone. If I say "don't save" then LC usually just quits again. If I save it again, then LC usually (but not always) will go ahead and build the standalone. > > I'm using Community 6.1.1 (rc 4) on XP Service Pack 3 > > Thanks for any advice! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Apr 3 21:39:58 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 4 Apr 2014 01:39:58 +0000 Subject: ][ANN] SoCal LiveCode User Group Meeting: April 3 In-Reply-To: <53344078.1080108@fourthworld.com> References: <52F10BB9.2030509@fourthworld.com> <53344078.1080108@fourthworld.com> Message-ID: <05B66F79-560A-412E-BC9B-A616876C6B8D@iotecdigital.com> dam working overtime tonite. Bob On Mar 27, 2014, at 08:15 , Richard Gaskin wrote: > The next meeting of the SoCal LiveCode User Group is coming up next Thursday, April 3, in Pasadena. > > Details in the forum: > > At each of our meetings we like to ask that folks bring something, even if it's just a question. > > If you're bringing a presentation of any kind, it may be good to note it in the Forum thread for the meeting so others can look forward to it. > > My contribution will be a brief tutorial on setting up shared SSH keys between your client and server systems so you can securely copy files and use other shell commands within LiveCode. > > -- > 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 pete at lcsql.com Thu Apr 3 22:08:59 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 3 Apr 2014 19:08:59 -0700 Subject: multi-line constants? (for RSA keys) In-Reply-To: References: <532E2C69.50309@tweedly.net> <052FF935-A63C-401C-BB49-B27CDEBAC34C@iotecdigital.com> <53363516.6000001@hyperactivesw.com> <96E409D1-9E71-4C0B-8628-F49E546DC719@iotecdigital.com> <5339A7BC.6070900@hyperactivesw.com> Message-ID: I think the real solution is to store persistent values in a file or a database. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Thu, Apr 3, 2014 at 5:50 PM, Bob Sneidar wrote: > Thanks, I think I remember what the issue was now. If you want your stacks > to be writable, they cannot be part of the app. Is that correct? So if the > application has the need to save things like persistent properties and > such, you HAVE to separate the substacks, thereby making them runnable in > the IDE. > > So the only real solution it seems to me is to password protect all the > substacks before compiling, and then write code into the stacks to prevent > them from running if they are the topStack of themselves. > > Bob > > > On Mar 31, 2014, at 10:37 , J. Landman Gay > wrote: > > > On 3/31/14, 10:10 AM, Bob Sneidar wrote: > >> It was my impression that the mainstack gets*glued* together with > >> the runtime engine and is not accessible in the same way the > >> substacks are, which are merely included in a subfolder or in the > >> case of OS X, in the package. Is this no longer the case? Or have I > >> simply misunderstood all this time? > > > > If the substacks are true substacks, they are "glued" to the engine the > same way the mainstack is. This is the standard way substacks work. All > stacks in a standalone are part of the same file on disk and received the > same protection. > > > > However, there is a checkbox in standalone settings that allows you to > save out substacks as separate files during the build. If you choose to do > that, then they are no longer substacks, they are removed from the file and > turned into individual document stacks. Those are the same as any other > stack you'd use during development and as such, they are no longer part of > your app. They're just loose in the folder (or in the bundle on Macs) and > can be opened by anyone with a copy of LiveCode, no tricks required. The > scripts will be obscured if the stack is password protected but everything > else, including properties, will be accessible because it's just a plain > old stack now. > > > > So if you want the same protection you'd get in the mainstack, just make > sure you don't have that checkbox selected. > > > > -- > > Jacqueline Landman Gay | jacque at hyperactivesw.com > > HyperActive Software | http://www.hyperactivesw.com > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Thu Apr 3 22:35:35 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 3 Apr 2014 19:35:35 -0700 Subject: Problem with building standalone In-Reply-To: References: <2C43B2AEBC6246F4B0E0777D517B45A8@userd204a4d61c> Message-ID: <82249555363.20140403193535@ahsoftware.net> Bob- Thursday, April 3, 2014, 6:38:58 PM, you wrote: > First thing that comes to my mind is, don?t use a release > candidate in production. That's the second and third thing that comes to my mind as well. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From jacque at hyperactivesw.com Fri Apr 4 00:18:58 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 03 Apr 2014 23:18:58 -0500 Subject: multi-line constants? (for RSA keys) In-Reply-To: References: <532E2C69.50309@tweedly.net> <052FF935-A63C-401C-BB49-B27CDEBAC34C@iotecdigital.com> <53363516.6000001@hyperactivesw.com> <96E409D1-9E71-4C0B-8628-F49E546DC719@iotecdigital.com> <5339A7BC.6070900@hyperactivesw.com> Message-ID: <533E32B2.1060003@hyperactivesw.com> On 4/3/14, 7:50 PM, Bob Sneidar wrote: > Thanks, I think I remember what the issue was now. If you want your > stacks to be writable, they cannot be part of the app. Is that > correct? So if the application has the need to save things like > persistent properties and such, you HAVE to separate the substacks, > thereby making them runnable in the IDE. > > So the only real solution it seems to me is to password protect all > the substacks before compiling, and then write code into the stacks > to prevent them from running if they are the topStack of themselves. I think you mean "mainstack". But Pete had it right. Store user data outside the stack somewhere. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Apr 4 00:24:25 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 03 Apr 2014 23:24:25 -0500 Subject: Home stack In-Reply-To: <1396572708.35596.YahooMailNeo@web126101.mail.ne1.yahoo.com> References: <1396572708.35596.YahooMailNeo@web126101.mail.ne1.yahoo.com> Message-ID: <533E33F9.9050407@hyperactivesw.com> On 4/3/14, 7:51 PM, Alain Farmer wrote: > Hello, > > Is there still a Home stack in LiveCode ? > Are following expressions still supported ? > * go home > * edit the script of home There's a home stack but it isn't useful to us, there's nothing much in there. It stores the licensing check in the commercial version, so you won't be able to edit the script if you're running that. I'm not sure how it acts in the community version, I've never looked, but I wouldn't be surprised if it were empty. If you are looking for a way to keep a library of your own handlers, use a plugin stack that opens as a library on launch. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Apr 4 00:29:11 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 03 Apr 2014 23:29:11 -0500 Subject: Kill a handler In-Reply-To: <053E6D88-BE6B-4096-A530-5C2F457BDF99@earthednet.org> References: <9706A9FC-7601-46C9-914B-62F70E47F947@westrac.com.au> <8D1197BCCE4C74C-239C-5BD7@webmail-vm013.sysops.aol.com> <5336EA47.6010702@economy-x-talk.com> <8D1197E392DF8C1-239C-5C8E@webmail-vm013.sysops.aol.com> <53372BE5.1050206@economy-x-talk.com> <6709F974-DD00-49F9-A216-583B5AA610C4@iotecdigital.com> <053E6D88-BE6B-4096-A530-5C2F457BDF99@earthednet.org> Message-ID: <533E3517.8080303@hyperactivesw.com> On 4/3/14, 8:29 PM, Earthednet-wp wrote: > Actually, you can kill the process right on the activity monitor. The difference in Kevin's suggestion is that it doesn't actually kill the app, the command just resets everything (when it works.) I want to say that I can't wait to try it, but that's not exactly what I mean. (You can also kill an app from the Dock by right-clicking with the option key held down.) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alain_farmer at yahoo.com Fri Apr 4 01:25:12 2014 From: alain_farmer at yahoo.com (Alain Farmer) Date: Thu, 3 Apr 2014 22:25:12 -0700 (PDT) Subject: Home stack In-Reply-To: <533E33F9.9050407@hyperactivesw.com> References: <1396572708.35596.YahooMailNeo@web126101.mail.ne1.yahoo.com> <533E33F9.9050407@hyperactivesw.com> Message-ID: <1396589112.59524.YahooMailNeo@web126103.mail.ne1.yahoo.com> Thanks Jacque. :-) On Friday, April 4, 2014 12:24:52 AM, J. Landman Gay wrote: On 4/3/14, 7:51 PM, Alain Farmer wrote: > Hello, > > Is there still a Home stack in LiveCode ? > Are following expressions still supported ? > * go home > * edit the script of home There's a home stack but it isn't useful to us, there's nothing much in there. It stores the licensing check in the commercial version, so you won't be able to edit the script if you're running that. I'm not sure how it acts in the community version, I've never looked, but I wouldn't be surprised if it were empty. If you are looking for a way to keep a library of your own handlers, use a plugin stack that opens as a library on launch. -- 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 james at thehales.id.au Fri Apr 4 02:30:53 2014 From: james at thehales.id.au (James Hale) Date: Fri, 4 Apr 2014 17:30:53 +1100 Subject: Formatted text in a field. Message-ID: <584A34C9-EEFA-458D-BE13-F182CCB0E4F8@thehales.id.au> Mike asked, > So clearly the engine knows how to do these calculations, so I have to believe that all of the properties must be available to us to do the same calculation. The one that I think I am not understanding correctly is the property for the number of pixels in the visible part of the field. I thought that would have been the height of a field - boarder - margin. If you use the suggested properties you do not need to concern yourself with this sort of calculation. Take a look at the dictionary. The formattedheight of a field is the number of pixels required to show all its contents. The height of a field is the number of pixels you are choosing to view the content. If the content doesn't fill the field then the height of the field will be greater than the formattedheight. If you field content is more than can be seen in the field you place on the card, then the formattedheight will be the greater. The formattedheight takes in to account line breaks etc. in other words it is the height as displayed of formatted text. The vscroll is the number of pixels from the top of the field CONTENT to the top of the field's window or as the dictionary says, the number of pixels required to scroll down, from the top of its content to where you are. So for example, setting the vscroll of a field to the (formattedheight of line 1 to 100) + (the height of field "mytextfield") Will scroll line 100 of the field's text to the top of the field. The pageheights property does this and more. It even breaks lines on word breaks. Very clever. Check out the "engine contributions" forum for the "pageranges" discussion. It is a user contribution from LC's open source initiative by Jan Schenkel. Anyway,the gist of all this it that you do not need to worry too much about calculating things. The properties do as the do. James From m.schonewille at economy-x-talk.com Fri Apr 4 02:53:30 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 04 Apr 2014 08:53:30 +0200 Subject: Home stack In-Reply-To: <533E33F9.9050407@hyperactivesw.com> References: <1396572708.35596.YahooMailNeo@web126101.mail.ne1.yahoo.com> <533E33F9.9050407@hyperactivesw.com> Message-ID: <533E56EA.1090708@economy-x-talk.com> Hi, The Home stack contains a bunch of functions and commands for setting up the IDE when LiveCode starts. Some of these commands and functions are also useful to other parts of the IDE. I don't think the Home stack handles licensing; that should be the engine now. You should be able to edit the Home stack in the commercial version too. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 4/4/2014 06:24, J. Landman Gay wrote: > On 4/3/14, 7:51 PM, Alain Farmer wrote: >> Hello, >> >> Is there still a Home stack in LiveCode ? >> Are following expressions still supported ? >> * go home >> * edit the script of home > > There's a home stack but it isn't useful to us, there's nothing much in > there. It stores the licensing check in the commercial version, so you > won't be able to edit the script if you're running that. I'm not sure > how it acts in the community version, I've never looked, but I wouldn't > be surprised if it were empty. > > If you are looking for a way to keep a library of your own handlers, use > a plugin stack that opens as a library on launch. > From larry at significantplanet.org Fri Apr 4 02:59:07 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Fri, 4 Apr 2014 00:59:07 -0600 Subject: another newbie question Message-ID: <62152B210FAE4BBAB4D5EC64744444CF@userd204a4d61c> If I make a change to my stack script (I only have 1 stack) is there a way to test the code in the script without having to close the IDE and then restart LC to see if my stack script is running properly - such as something within the openStack command? Thank you From alain_farmer at yahoo.com Fri Apr 4 03:15:46 2014 From: alain_farmer at yahoo.com (Alain Farmer) Date: Fri, 4 Apr 2014 00:15:46 -0700 (PDT) Subject: Home stack In-Reply-To: <533E56EA.1090708@economy-x-talk.com> References: <1396572708.35596.YahooMailNeo@web126101.mail.ne1.yahoo.com> <533E33F9.9050407@hyperactivesw.com> <533E56EA.1090708@economy-x-talk.com> Message-ID: <1396595746.18632.YahooMailNeo@web126106.mail.ne1.yahoo.com> Hello Mark, Long time no 'see'. Yes, but where is the Home stack ? What is its name ? How come the commands mentionned didn't work ? Can I edit the script of home ? Thanks, Alain F. On Friday, April 4, 2014 2:53:30 AM, Mark Schonewille wrote: Hi, The Home stack contains a bunch of functions and commands for setting up the IDE when LiveCode starts. Some of these commands and functions are also useful to other parts of the IDE. I don't think the Home stack handles licensing; that should be the engine now. You should be able to edit the Home stack in the commercial version too. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 4/4/2014 06:24, J. Landman Gay wrote: > On 4/3/14, 7:51 PM, Alain Farmer wrote: >> Hello, >> >> Is there still a Home stack in LiveCode ? >> Are following expressions still supported ? >> * go home >> * edit the script of home > > There's a home stack but it isn't useful to us, there's nothing much in > there. It stores the licensing check in the commercial version, so you > won't be able to edit the script if you're running that. I'm not sure > how it acts in the community version, I've never looked, but I wouldn't > be surprised if it were empty. > > If you are looking for a way to keep a library of your own handlers, use > a plugin stack that opens as a library on launch. > _______________________________________________ use-livecode mailing list use-livecode at 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 Apr 4 03:21:36 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 04 Apr 2014 09:21:36 +0200 Subject: another newbie question In-Reply-To: <62152B210FAE4BBAB4D5EC64744444CF@userd204a4d61c> References: <62152B210FAE4BBAB4D5EC64744444CF@userd204a4d61c> Message-ID: <533E5D80.1070407@economy-x-talk.com> Hi Larry, There are several ways to do this. You can click on the green arrow at the top of the script editor window and choose the handler to run, after which you click on OK. In most cases, you can also type the handler name in the message box and press return. Another way is to right-click on the stack while pressing control-shift or shift-control-command, and choosing the message from the popup menu that appears (the list of messages is in the Messages, Card Messages or Stack Messages submenu). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 4/4/2014 08:59, larry at significantplanet.org wrote: > If I make a change to my stack script (I only have 1 stack) is there a way to test the code in the script without having to close the IDE and then restart LC to see if my stack script is running properly - such as something within the openStack command? > > Thank you From bvg at mac.com Fri Apr 4 04:56:31 2014 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 04 Apr 2014 10:56:31 +0200 Subject: Home stack In-Reply-To: <1396595746.18632.YahooMailNeo@web126106.mail.ne1.yahoo.com> References: <1396572708.35596.YahooMailNeo@web126101.mail.ne1.yahoo.com> <533E33F9.9050407@hyperactivesw.com> <533E56EA.1090708@economy-x-talk.com> <1396595746.18632.YahooMailNeo@web126106.mail.ne1.yahoo.com> Message-ID: <0B468E55-6564-4223-93F0-07667559C5B5@mac.com> The home stack's name is "home". But it is not your stack, it belongs to the IDE, and does IDE stuff. If you make a standalone, there won't be a home stack in it, unless you make one. There is no need to manipulate or interact with the home stack, unless you write your own IDE, where it servers a purpose as the first stack that is automatically loaded before anything else. This is not HyperCard ;-) For example, "go home" is not really meaningful, even if it'd work, because you can have many stacks, from many different files, all open at the same time. It'd only be a synonym for "go to the stack that is named "home"", a rather redundant feature. So if you want the "boss" of your own project, you probably want "the mainStack of this stack", or "the topStack" or possibly "the defaultStack". You never want the home stack, ever. On 04.04.2014, at 09:15, Alain Farmer wrote: > Hello Mark, > Long time no 'see'. > Yes, but where is the Home stack ? What is its name ? > How come the commands mentionned didn't work ? > > Can I edit the script of home ? > Thanks, > Alain F. > > On Friday, April 4, 2014 2:53:30 AM, Mark Schonewille wrote: > > Hi, > > The Home stack contains a bunch of functions and commands for setting up > the IDE when LiveCode starts. Some of these commands and functions are > also useful to other parts of the IDE. I don't think the Home stack > handles licensing; that should be the engine now. You should be able to > edit the Home stack in the commercial version too. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Installer Maker for LiveCode: > http://qery.us/468 > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > LiveCode on Facebook: > https://www.facebook.com/groups/runrev/ > > On 4/4/2014 06:24, J. Landman Gay wrote: >> On 4/3/14, 7:51 PM, Alain Farmer wrote: >>> Hello, >>> >>> Is there still a Home stack in LiveCode ? >>> Are following expressions still supported ? >>> * go home >>> * edit the script of home >> >> There's a home stack but it isn't useful to us, there's nothing much in >> there. It stores the licensing check in the commercial version, so you >> won't be able to edit the script if you're running that. I'm not sure >> how it acts in the community version, I've never looked, but I wouldn't >> be surprised if it were empty. >> >> If you are looking for a way to keep a library of your own handlers, use >> a plugin stack that opens as a library on launch. >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From dave at applicationinsight.com Fri Apr 4 08:20:01 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Fri, 4 Apr 2014 05:20:01 -0700 (PDT) Subject: occasional runaway control - anyone else seeing this? In-Reply-To: References: <1396371949260-4677795.post@n4.nabble.com> Message-ID: <1396614000648-4677979.post@n4.nabble.com> Bob I usually post to the list from nabble rather than my email client Bob Sneidar-2 wrote > Curious, why are all of Dave Kilroy?s emails threaded together, and > everyone else?s replies to his posts in a completely separate thread? What > are you using to post to the list Dave? Just curious. ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/occasional-runaway-control-anyone-else-seeing-this-tp4677795p4677979.html Sent from the Revolution - User mailing list archive at Nabble.com. From dunbarx at aol.com Fri Apr 4 09:04:38 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 4 Apr 2014 09:04:38 -0400 (EDT) Subject: another newbie question In-Reply-To: <62152B210FAE4BBAB4D5EC64744444CF@userd204a4d61c> References: <62152B210FAE4BBAB4D5EC64744444CF@userd204a4d61c> Message-ID: <8D11E1D91DA8702-1148-23DAB@webmail-vm032.sysops.aol.com> Larry. if I understand you correctly, is it that you might simply invoke a handler from a button or via the message box? In other words, if you have an "openstack" handler in the stack script, you can just write, in a button: on mouseUp openstack end mouseUp Or do this from msg. If you have a different handler, the same method applies. You can also: send "openstack" to this stack -- or even from somewhere else: send "openstack" to stack yourStackOfInterest from any convenient source. Or do I have this all wrong? Craig Newman -----Original Message----- From: larry To: use-livecode Sent: Fri, Apr 4, 2014 2:59 am Subject: another newbie question If I make a change to my stack script (I only have 1 stack) is there a way to test the code in the script without having to close the IDE and then restart LC to see if my stack script is running properly - such as something within the openStack command? Thank you _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri Apr 4 11:12:52 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 4 Apr 2014 15:12:52 +0000 Subject: multi-line constants? (for RSA keys) In-Reply-To: References: <532E2C69.50309@tweedly.net> <052FF935-A63C-401C-BB49-B27CDEBAC34C@iotecdigital.com> <53363516.6000001@hyperactivesw.com> <96E409D1-9E71-4C0B-8628-F49E546DC719@iotecdigital.com> <5339A7BC.6070900@hyperactivesw.com> Message-ID: <4EA298D4-18D6-4B72-AE34-36926A377B44@iotecdigital.com> I suppose, but the elegance of working in the IDE leads me to develop accordingly. If then when I compile an app for the first time I discover my methods will not work, I am tempted rather to find a way to make it work, and eschew changing the way I develop. But one leg is both the same I suppose. Password protecting substacks and saving them out of the application will work for me. It?s not like I am developing for the NSA anyway. Bob On Apr 3, 2014, at 19:08 , Peter Haworth > wrote: I think the real solution is to store persistent values in a file or a database. Pete From bobsneidar at iotecdigital.com Fri Apr 4 11:16:51 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 4 Apr 2014 15:16:51 +0000 Subject: occasional runaway control - anyone else seeing this? In-Reply-To: <1396614000648-4677979.post@n4.nabble.com> References: <1396371949260-4677795.post@n4.nabble.com> <1396614000648-4677979.post@n4.nabble.com> Message-ID: <3357D25C-5501-4EB5-A9AA-922A7BAA31F4@iotecdigital.com> I suspect that is what is doing this then. It?s invisible from your perspective, but I get a thread of all your replies and none of what others have posted. It?s like you are talking to your make believe friends! Very disconcerting. But then, have we any proof that these supposed ?friends? of yours really do exist? Hmmm? food for thought? ;-) Bob On Apr 4, 2014, at 05:20 , Dave Kilroy wrote: > Bob I usually post to the list from nabble rather than my email client > > > Bob Sneidar-2 wrote >> Curious, why are all of Dave Kilroy?s emails threaded together, and >> everyone else?s replies to his posts in a completely separate thread? What >> are you using to post to the list Dave? Just curious. > > > > > > ----- > "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/occasional-runaway-control-anyone-else-seeing-this-tp4677795p4677979.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 bobsneidar at iotecdigital.com Fri Apr 4 11:18:56 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 4 Apr 2014 15:18:56 +0000 Subject: another newbie question In-Reply-To: <533E5D80.1070407@economy-x-talk.com> References: <62152B210FAE4BBAB4D5EC64744444CF@userd204a4d61c> <533E5D80.1070407@economy-x-talk.com> Message-ID: <915ED4EA-1266-479D-A797-47EF3F2801E3@iotecdigital.com> Yet another is to have a test button on your card. This way you have the opportunity of setting up the environment before calling your handler. Bob On Apr 4, 2014, at 24:21 , Mark Schonewille wrote: > Hi Larry, > > There are several ways to do this. You can click on the green arrow at the top of the script editor window and choose the handler to run, after which you click on OK. In most cases, you can also type the handler name in the message box and press return. > > Another way is to right-click on the stack while pressing control-shift or shift-control-command, and choosing the message from the popup menu that appears (the list of messages is in the Messages, Card Messages or Stack Messages submenu). > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Installer Maker for LiveCode: > http://qery.us/468 > > Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi > > LiveCode on Facebook: > https://www.facebook.com/groups/runrev/ > > On 4/4/2014 08:59, larry at significantplanet.org wrote: >> If I make a change to my stack script (I only have 1 stack) is there a way to test the code in the script without having to close the IDE and then restart LC to see if my stack script is running properly - such as something within the openStack command? >> >> Thank you > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kevin at runrev.com Fri Apr 4 11:28:00 2014 From: kevin at runrev.com (Kevin Miller) Date: Fri, 04 Apr 2014 16:28:00 +0100 Subject: Announcement: New Community Manager Message-ID: Hi folks, I am delighted to announce the appointment of our new Community Manager, Richard Gaskin. Read all about it in on the blog here: http://livecode.com/blog/2014/04/04/announcement-livecode-community-manager/ Richard has also contributed this newsletter article: http://newsletters.livecode.com/april/issue169/newsletter1.html Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.livecode.com/ LiveCode: Everyone can code From walter.h.brown at gmail.com Fri Apr 4 11:53:48 2014 From: walter.h.brown at gmail.com (Walt Brown) Date: Fri, 4 Apr 2014 11:53:48 -0400 Subject: Announcement: New Community Manager In-Reply-To: References: Message-ID: Great! Good luck, Richard! On Fri, Apr 4, 2014 at 11:28 AM, Kevin Miller wrote: > Hi folks, > > I am delighted to announce the appointment of our new Community Manager, > Richard Gaskin. > > Read all about it in on the blog here: > > http://livecode.com/blog/2014/04/04/announcement-livecode-community-manager/ > > Richard has also contributed this newsletter article: > http://newsletters.livecode.com/april/issue169/newsletter1.html > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at runrev.com ~ http://www.livecode.com/ > LiveCode: Everyone can 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 pete at lcsql.com Fri Apr 4 12:04:07 2014 From: pete at lcsql.com (Peter Haworth) Date: Fri, 4 Apr 2014 09:04:07 -0700 Subject: another newbie question In-Reply-To: <62152B210FAE4BBAB4D5EC64744444CF@userd204a4d61c> References: <62152B210FAE4BBAB4D5EC64744444CF@userd204a4d61c> Message-ID: Hi Larry, Right click on the stack window, not on a control, and you'll see two options, "Send Card Message" and "Send Stack Message". They both expand to show a list of the handlers in the card and stack respectively and clicking on a handler sends a message to it. Incidentally, I don;t think you need to quite LC, just close and re-open your stack. However, it's still somewhat of a pain to do that so hopefully the above will help. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Thu, Apr 3, 2014 at 11:59 PM, wrote: > If I make a change to my stack script (I only have 1 stack) is there a way > to test the code in the script without having to close the IDE and then > restart LC to see if my stack script is running properly - such as > something within the openStack command? > > Thank you > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Fri Apr 4 12:05:42 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 4 Apr 2014 16:05:42 +0000 Subject: Announcement: New Community Manager In-Reply-To: References: Message-ID: <8F1D9ACA-145A-4C33-83C1-F2481ED98BEF@iotecdigital.com> Ahhh, the voice of calm and reason amidst the chaos of confusion! :-) Bob On Apr 4, 2014, at 08:28 , Kevin Miller > wrote: Hi folks, I am delighted to announce the appointment of our new Community Manager, Richard Gaskin. Read all about it in on the blog here: http://livecode.com/blog/2014/04/04/announcement-livecode-community-manager/ Richard has also contributed this newsletter article: http://newsletters.livecode.com/april/issue169/newsletter1.html Kind regards, Kevin Kevin Miller From jacque at hyperactivesw.com Fri Apr 4 12:08:55 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 04 Apr 2014 11:08:55 -0500 Subject: Home stack In-Reply-To: <1396595746.18632.YahooMailNeo@web126106.mail.ne1.yahoo.com> References: <1396572708.35596.YahooMailNeo@web126101.mail.ne1.yahoo.com> <533E33F9.9050407@hyperactivesw.com> <533E56EA.1090708@economy-x-talk.com> <1396595746.18632.YahooMailNeo@web126106.mail.ne1.yahoo.com> Message-ID: <533ED917.9000300@hyperactivesw.com> On 4/4/14, 2:15 AM, Alain Farmer wrote: > Can I edit the script of home ? As it turns out, you can, but you need to quote the stack name "home". Like you, I was using "edit script of stack home" and it doesn't resolve. Once you see what's in there, you won't want to edit it. Nor should you. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Apr 4 12:09:58 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 04 Apr 2014 11:09:58 -0500 Subject: Announcement: New Community Manager In-Reply-To: References: Message-ID: <533ED956.9050202@hyperactivesw.com> On 4/4/14, 10:28 AM, Kevin Miller wrote: > I am delighted to announce the appointment of our new Community Manager, > Richard Gaskin. That's great! No one is better qualified. Congrats, Richard. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From martyknappster at gmail.com Fri Apr 4 12:19:30 2014 From: martyknappster at gmail.com (Marty Knapp) Date: Fri, 04 Apr 2014 09:19:30 -0700 Subject: Announcement: New Community Manager In-Reply-To: References: Message-ID: <533EDB92.7080706@gmail.com> Congratulations to Richard and RunRev! Marty Knapp > Hi folks, > > I am delighted to announce the appointment of our new Community Manager, > Richard Gaskin. > > Read all about it in on the blog here: > http://livecode.com/blog/2014/04/04/announcement-livecode-community-manager/ > > Richard has also contributed this newsletter article: > http://newsletters.livecode.com/april/issue169/newsletter1.html > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at runrev.com ~ http://www.livecode.com/ From richmondmathewson at gmail.com Fri Apr 4 12:56:32 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 04 Apr 2014 19:56:32 +0300 Subject: Announcement: New Community Manager In-Reply-To: References: Message-ID: <533EE440.3090603@gmail.com> On 04/04/2014 18:28, Kevin Miller wrote: > Hi folks, > > I am delighted to announce the appointment of our new Community Manager, > Richard Gaskin. > > Read all about it in on the blog here: > http://livecode.com/blog/2014/04/04/announcement-livecode-community-manager/ > > Richard has also contributed this newsletter article: > http://newsletters.livecode.com/april/issue169/newsletter1.html > > Kind regards, > > Kevin > > Super. You couldn't have got a better man! Richmond. From richmondmathewson at gmail.com Fri Apr 4 13:30:03 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 04 Apr 2014 20:30:03 +0300 Subject: codepointProperty In-Reply-To: <533C2953.6030701@gmail.com> References: <533BF375.7010801@gmail.com> <4AA3FF9E-713B-478F-AD9C-F1B577A96A82@runrev.com> <533BFF70.6020105@gmail.com> <1F1477FE-4E1C-432E-ADE6-46A8BE1321D5@runrev.com> <533C190A.80901@gmail.com> <533C2953.6030701@gmail.com> Message-ID: <533EEC1B.9070107@gmail.com> > > at which point I discovered a GENERAL FIELD PROBLEM with 7.0.dp 1 > under UbuntuStudio 14.04 beta: > > Nipped over to Mac OS 10.6.7 [I love VMware, I love VMware, I love VMware] I found that the problem I mentioned with 7.0. dp 1 on Ub-Linux is NOT a problem in Mac 10.6.7 So, checking out "codepointProperty" in the Dictionary [AND, I am very happy to say, the Dictionary seems more up-to-date than it has been for years] I read this: "This function is not intended for general-purpose use; please use functions such as toUpper or the is operators instead." Apart from the fact that a bit of bold text might not have been a bad idea both for 'toUpper' and even more for 'is'; I wonder why 'codepointProperty' is not for general-purpose use (it is stated without any explanation) as it looks an extremely useful tool . . . For the sake of argument . . . Here I am fooling around in the Old Cyrillic combining characters (as one does on a regular basis), Unicode range HEX 2DE0 - 2DFF, DEC 11744 - 11775. Now these are, quite frankly, totally whacked-out characters used in texts such as Paisii Hilendarski's /Istoriya Slavyanobolgarskaya /as jazzy super-textual characters riding above the normal text, rather like the way similar characters were used in Madiaeval English court hand. Now I want to see what 'class' the Unicode Bunch (err, Consortium) have dumped these combining characters into, as this may be useful when one considers how various Operating system level key layouts may handle them on, say, Windows and/or Macintosh. However, as I found out a few days ago [blast, Richmond has a week's holiday], at the moment one seems unable to do this sort of thing: put the codepointProperty( quote & (numToChar(11746) & quote, "Diacritic") even though, the scriptEditor passes that, on attempted execution one gets this: button "Button": execution error at line 2 (codepointProperty: bad codepoint), char 1 while this works on Mac OS 10.6.7: put codepointProperty(numToChar(11746), "Diacritic") and this works: on mouseUp put 11744 into XXXXX repeat until XXXXX = 11776 put codepointProperty(numToChar(11746), "Diacritic") into line (XXXXX - 11743) of fld "fRESULTS" put XXXXX + 1 into XXXXX end repeat end mouseUp as soon as one tries to be both clever and useful with something like this: on mouseUp put 11744 into XXXXX repeat until XXXXX = 11776 set the useUnicode to true put numToChar(XXXXX) && codepointProperty(numToChar(11746), "Diacritic") into line (XXXXX - 11743) of fld "fRESULTS" put XXXXX + 1 into XXXXX end repeat end mouseUp we get this: button "Button": execution error at line 5 (codepointProperty: bad codepoint), char 1 So not entirely satisfactory. Richmond. From mikedoub at gmail.com Fri Apr 4 13:40:25 2014 From: mikedoub at gmail.com (Michael Doub) Date: Fri, 4 Apr 2014 13:40:25 -0400 Subject: Formatted text in a field. In-Reply-To: <584A34C9-EEFA-458D-BE13-F182CCB0E4F8@thehales.id.au> References: <584A34C9-EEFA-458D-BE13-F182CCB0E4F8@thehales.id.au> Message-ID: <2E29476C-5A4B-4FBA-95D4-CE0A2C6BF5E1@gmail.com> Thank you James, This was quite helpful. I am trying to use the pageranges technique but the ranges I am getting are larger than what is visibly being displayed within my field. The character 722 is actually not visible. What properties are being used in the pageranges calculation to determine the size of a page? It does not appear to be the field height. The pageHeights seem to be working as I expected. Height: 502 FormattedHeight: 14309 PageRanges: 1,722 723,1823 1824,3513 ? PageHeights: 487 496 496 492 ?. On Apr 4, 2014, at 2:30 AM, James Hale wrote: > engine contributions" forum From th.douez at gmail.com Fri Apr 4 13:45:29 2014 From: th.douez at gmail.com (Thierry Douez) Date: Fri, 4 Apr 2014 19:45:29 +0200 Subject: Howto get the name of current Livecode process Message-ID: Hello all, I need to know the current running Livecode IDE (process name or application name). i.e: LiveCode 6.5.2 or LiveCode Community 6.6 Do we have a property/function for that in LC? By the way, it's for Mac/Desktop only! (applescript client/server) Regards, Thierry ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage - sunnYpdf From revdev at pdslabs.net Fri Apr 4 13:48:53 2014 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 04 Apr 2014 10:48:53 -0700 Subject: Announcement: New Community Manager In-Reply-To: <533ED956.9050202@hyperactivesw.com> References: <533ED956.9050202@hyperactivesw.com> Message-ID: <533EF085.2060305@pdslabs.net> My sentiments exactly. Congratulations! Phil On 4/4/14, 9:09 AM, J. Landman Gay wrote: > On 4/4/14, 10:28 AM, Kevin Miller wrote: >> I am delighted to announce the appointment of our new Community Manager, >> Richard Gaskin. > > That's great! No one is better qualified. Congrats, Richard. > -- Phil Davis From richmondmathewson at gmail.com Fri Apr 4 13:47:43 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 04 Apr 2014 20:47:43 +0300 Subject: codepointProperty In-Reply-To: <533EEC1B.9070107@gmail.com> References: <533BF375.7010801@gmail.com> <4AA3FF9E-713B-478F-AD9C-F1B577A96A82@runrev.com> <533BFF70.6020105@gmail.com> <1F1477FE-4E1C-432E-ADE6-46A8BE1321D5@runrev.com> <533C190A.80901@gmail.com> <533C2953.6030701@gmail.com> <533EEC1B.9070107@gmail.com> Message-ID: <533EF03F.70904@gmail.com> On 04/04/2014 20:30, Richmond wrote: > >> >> at which point I discovered a GENERAL FIELD PROBLEM with 7.0.dp 1 >> under UbuntuStudio 14.04 beta: >> >> > > Nipped over to Mac OS 10.6.7 [I love VMware, I love VMware, I love > VMware] I found that > the problem I mentioned with 7.0. dp 1 on Ub-Linux is NOT a problem in > Mac 10.6.7 > > So, checking out "codepointProperty" in the Dictionary [AND, I am very > happy to say, the > Dictionary seems more up-to-date than it has been for years] I read this: > > "This function is not intended for general-purpose use; please use > functions such as toUpper or > the is operators instead." > > Apart from the fact that a bit of bold text might not have been a bad > idea both for 'toUpper' and > even more for 'is'; I wonder why 'codepointProperty' is not for > general-purpose use (it is stated without > any explanation) as it looks an extremely useful tool . . . > > For the sake of argument . . . > > Here I am fooling around in the Old Cyrillic combining characters (as > one does on a regular basis), > Unicode range HEX 2DE0 - 2DFF, DEC 11744 - 11775. Now these are, quite > frankly, totally whacked-out characters used in texts such as Paisii > Hilendarski's /Istoriya Slavyanobolgarskaya /as jazzy super-textual > characters riding above the normal text, rather like the way similar > characters were used in Madiaeval English court hand. > > Now I want to see what 'class' the Unicode Bunch (err, Consortium) > have dumped these combining characters into, as this may be useful > when one considers how various Operating system level key layouts may > handle them > on, say, Windows and/or Macintosh. > > However, as I found out a few days ago [blast, Richmond has a week's > holiday], at the moment one seems unable to do this sort of thing: > > put the codepointProperty( quote & (numToChar(11746) & quote, "Diacritic") > > even though, the scriptEditor passes that, on attempted execution one > gets this: > > button "Button": execution error at line 2 (codepointProperty: bad > codepoint), char 1 > > while this works on Mac OS 10.6.7: > > put codepointProperty(numToChar(11746), "Diacritic") > > and this works: > > on mouseUp > put 11744 into XXXXX > repeat until XXXXX = 11776 > put codepointProperty(numToChar(11746), "Diacritic") into line > (XXXXX - 11743) of fld "fRESULTS" > put XXXXX + 1 into XXXXX > end repeat > end mouseUp > > as soon as one tries to be both clever and useful with something like > this: > > on mouseUp > put 11744 into XXXXX > repeat until XXXXX = 11776 > set the useUnicode to true > put numToChar(XXXXX) && codepointProperty(numToChar(11746), > "Diacritic") into line (XXXXX - 11743) of fld "fRESULTS" > put XXXXX + 1 into XXXXX > end repeat > end mouseUp > > we get this: > > button "Button": execution error at line 5 (codepointProperty: bad > codepoint), char 1 > > So not entirely satisfactory. > > Richmond. > > And, here we go again; eating my own tail, a.k.a. replying to my own posting. This works: on mouseUp put 11744 into XXXXX repeat until XXXXX = 11776 set the useUnicode to true put numToCodepoint(XXXXX) && "/" && XXXXX && "/" && codepointProperty(numToCodepoint(11746), "Diacritic") into line (XXXXX - 11743) of fld "fRESULTS" put XXXXX + 1 into XXXXX end repeat end mouseUp BUT this did NOT: on mouseUp put 11744 into XXXXX repeat until XXXXX = 11776 set the useUnicode to true put numToChar(XXXXX) && "/" && XXXXX into line (XXXXX - 11743) of fld "fRESULTS" put XXXXX + 1 into XXXXX end repeat end mouseUp "numToChar" produced ASCII chars. Does this mean that "numToChar" has gone west? Richmond. From revdev at pdslabs.net Fri Apr 4 14:16:29 2014 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 04 Apr 2014 11:16:29 -0700 Subject: Howto get the name of current Livecode process In-Reply-To: References: Message-ID: <533EF6FD.9080604@pdslabs.net> on mouseUp put way1() & CR & way2() into fld 1 end mouseUp function way1 set the itemDel to slash return "/" & item 2 to -1 of last line of shell("ps" && the processID) end way1 function way2 set the itemDel to colon return item 2 to -1 of the address end way2 :-) Phil Davis On 4/4/14, 10:45 AM, Thierry Douez wrote: > Hello all, > > I need to know the current running Livecode IDE > (process name or application name). > > i.e: LiveCode 6.5.2 or LiveCode Community 6.6 > > Do we have a property/function for that in LC? > > By the way, it's for Mac/Desktop only! (applescript client/server) > > Regards, > > Thierry > > ------------------------------------------------ > Thierry Douez - http://sunny-tdz.com > Maker of sunnYperl - sunnYmidi - sunnYmage - sunnYpdf > > _______________________________________________ > use-livecode mailing list > use-livecode 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 th.douez at gmail.com Fri Apr 4 14:20:51 2014 From: th.douez at gmail.com (Thierry Douez) Date: Fri, 4 Apr 2014 20:20:51 +0200 Subject: Howto get the name of current Livecode process In-Reply-To: <533EF6FD.9080604@pdslabs.net> References: <533EF6FD.9080604@pdslabs.net> Message-ID: Thanks Phil, the address property was what I was looking for :) Thierry 2014-04-04 20:16 GMT+02:00 Phil Davis : > function way1 > set the itemDel to slash > return "/" & item 2 to -1 of last line of shell("ps" && the processID) > end way1 > > function way2 > set the itemDel to colon > return item 2 to -1 of the address > end way2 From jhj at jhj.com Fri Apr 4 14:21:12 2014 From: jhj at jhj.com (Jerry Jensen) Date: Fri, 4 Apr 2014 11:21:12 -0700 Subject: Announcement: New Community Manager In-Reply-To: References: Message-ID: <9B9747BD-59AB-4700-AA28-57FF36CB4C5A@jhj.com> On Apr 4, 2014, at 8:28 AM, Kevin Miller wrote: > Hi folks, > > I am delighted to announce the appointment of our new Community Manager, > Richard Gaskin. Congratulations and massive thanks to Richard. Lets all remember this is a volunteer position. Thats a credit to Richard's character. We all know he's got the chops. .Jerry From revdev at pdslabs.net Fri Apr 4 14:27:38 2014 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 04 Apr 2014 11:27:38 -0700 Subject: Howto get the name of current Livecode process In-Reply-To: <533EF6FD.9080604@pdslabs.net> References: <533EF6FD.9080604@pdslabs.net> Message-ID: <533EF99A.9030503@pdslabs.net> Actually I re-read your email and it's easier than my first solutions. put the version & CR & revLicenseType() into fld 1 Phil On 4/4/14, 11:16 AM, Phil Davis wrote: > on mouseUp > put way1() & CR & way2() into fld 1 > end mouseUp > > > function way1 > set the itemDel to slash > return "/" & item 2 to -1 of last line of shell("ps" && the > processID) > end way1 > > > function way2 > set the itemDel to colon > return item 2 to -1 of the address > end way2 > > :-) > Phil Davis > > > > On 4/4/14, 10:45 AM, Thierry Douez wrote: >> Hello all, >> >> I need to know the current running Livecode IDE >> (process name or application name). >> >> i.e: LiveCode 6.5.2 or LiveCode Community 6.6 >> >> Do we have a property/function for that in LC? >> >> By the way, it's for Mac/Desktop only! (applescript client/server) >> >> Regards, >> >> Thierry >> >> ------------------------------------------------ >> Thierry Douez - http://sunny-tdz.com >> Maker of sunnYperl - sunnYmidi - sunnYmage - sunnYpdf >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 ambassador at fourthworld.com Fri Apr 4 14:28:29 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 04 Apr 2014 11:28:29 -0700 Subject: Announcement: New Community Manager In-Reply-To: <533EF085.2060305@pdslabs.net> References: <533EF085.2060305@pdslabs.net> Message-ID: <533EF9CD.2020503@fourthworld.com> Thank you Phil, and everyone else, for your generous words. I think Kevin's sigline says it all: LiveCode: Everyone can code With the new Community Edition, the vision so many of us have had of a world full of happy LiveCoders is now a more tangible possibility than ever before. In fact, last night's user group meeting was a modest good example: we had three new members show up, with an interest in bringing even more to next month's meeting. As the community continues to grow, the scope of things that can be done in partnership between RunRev and the community is big. All the best open source projects get this, and I've been impressed with Kevin's earnest commitment to open source process. His willingness to commit resources to working with someone in a position of community advocacy is a good step forward for the project. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com > Announcement: New Community Manager > Phil Davis revdev at pdslabs.net > Fri Apr 4 19:48:53 CEST 2014 > > Previous message: Announcement: New Community Manager > Next message: Announcement: New Community Manager > Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] > > My sentiments exactly. Congratulations! > > Phil > > > On 4/4/14, 9:09 AM, J. Landman Gay wrote: >> On 4/4/14, 10:28 AM, Kevin Miller wrote: >>> I am delighted to announce the appointment of our new Community Manager, >>> Richard Gaskin. >> >> That's great! No one is better qualified. Congrats, Richard. >> > > -- > Phil Davis > > From brahma at hindu.org Fri Apr 4 14:33:08 2014 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 4 Apr 2014 08:33:08 -1000 Subject: Announcement: New Community Manager In-Reply-To: <9B9747BD-59AB-4700-AA28-57FF36CB4C5A@jhj.com> References: <9B9747BD-59AB-4700-AA28-57FF36CB4C5A@jhj.com> Message-ID: <5536476663819327513@unknownmsgid> Thanks Richard for taking on this selfless service. It is a much needed role and will no doubt take Livecode forward big time Swasti Astu, Be Well! Brahmanathaswami > On Apr 4, 2014, at 8:21 AM, Jerry Jensen wrote: > >> On Apr 4, 2014, at 8:28 AM, Kevin Miller wrote: >> >> Hi folks, >> >> I am delighted to announce the appointment of our new Community Manager, >> Richard Gaskin. > > Congratulations and massive thanks to Richard. Lets all remember this is a volunteer position. Thats a credit to Richard's character. We all know he's got the chops. > .Jerry > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 4 14:36:11 2014 From: th.douez at gmail.com (Thierry Douez) Date: Fri, 4 Apr 2014 20:36:11 +0200 Subject: Howto get the name of current Livecode process In-Reply-To: <533EF99A.9030503@pdslabs.net> References: <533EF6FD.9080604@pdslabs.net> <533EF99A.9030503@pdslabs.net> Message-ID: > Actually I re-read your email and it's easier than my first solutions. > > put the version & CR & revLicenseType() into fld 1 > > Phil almost.. returns: 6.6.0 community Well, this is the one which does exactly what I need: function way3 get matchText( the address, "/([^/]+?)\.app/", processName) return processName end way3 returns: "LiveCode Community 6.6" Merci et bon week-end, Thierry > On 4/4/14, 11:16 AM, Phil Davis wrote: >> >> on mouseUp >> put way1() & CR & way2() into fld 1 >> end mouseUp >> >> >> function way1 >> set the itemDel to slash >> return "/" & item 2 to -1 of last line of shell("ps" && the processID) >> end way1 >> >> >> function way2 >> set the itemDel to colon >> return item 2 to -1 of the address >> end way2 >> From rdimola at evergreeninfo.net Fri Apr 4 14:36:39 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 4 Apr 2014 14:36:39 -0400 Subject: Announcement: New Community Manager In-Reply-To: References: Message-ID: <007801cf5034$d128fec0$737afc40$@net> Richard, Thanks for taking this responsibility!!!! This will no doubt help expand the LC universe. Good Luck 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 Kevin Miller Sent: Friday, April 04, 2014 11:28 AM To: How to use LiveCode; LiveCode Developer List Subject: Announcement: New Community Manager Hi folks, I am delighted to announce the appointment of our new Community Manager, Richard Gaskin. Read all about it in on the blog here: http://livecode.com/blog/2014/04/04/announcement-livecode-community-manager/ Richard has also contributed this newsletter article: http://newsletters.livecode.com/april/issue169/newsletter1.html Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.livecode.com/ LiveCode: Everyone can 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 dave at applicationinsight.com Fri Apr 4 14:52:57 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Fri, 4 Apr 2014 11:52:57 -0700 (PDT) Subject: Announcement: New Community Manager In-Reply-To: <533EF9CD.2020503@fourthworld.com> References: <533ED956.9050202@hyperactivesw.com> <533EF085.2060305@pdslabs.net> <533EF9CD.2020503@fourthworld.com> Message-ID: <1396637577630-4678005.post@n4.nabble.com> Congratulations Richard, the LiveCode community is lucky to get you, I hope you enjoy what will undoubtedly be a lot of hard work - best of luck! Kind regards Dave ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Announcement-New-Community-Manager-tp4677984p4678005.html Sent from the Revolution - User mailing list archive at Nabble.com. From fraser.gordon at runrev.com Fri Apr 4 15:02:04 2014 From: fraser.gordon at runrev.com (Fraser Gordon) Date: Fri, 04 Apr 2014 20:02:04 +0100 Subject: codepointProperty In-Reply-To: <533EF03F.70904@gmail.com> References: <533BF375.7010801@gmail.com> <4AA3FF9E-713B-478F-AD9C-F1B577A96A82@runrev.com> <533BFF70.6020105@gmail.com> <1F1477FE-4E1C-432E-ADE6-46A8BE1321D5@runrev.com> <533C190A.80901@gmail.com> <533C2953.6030701@gmail.com> <533EEC1B.9070107@gmail.com> <533EF03F.70904@gmail.com> Message-ID: <533F01AC.8040409@runrev.com> On 04/04/2014 18:47, Richmond wrote: >> So, checking out "codepointProperty" in the Dictionary [AND, I am >> very happy to say, the >> Dictionary seems more up-to-date than it has been for years] I read >> this: >> >> "This function is not intended for general-purpose use; please use >> functions such as toUpper or >> the is operators instead." >> >> Apart from the fact that a bit of bold text might not have been a bad >> idea both for 'toUpper' and >> even more for 'is'; I wonder why 'codepointProperty' is not for >> general-purpose use (it is stated without >> any explanation) as it looks an extremely useful tool . . . >> That note was really just to encourage people to look elsewhere in case they stumble across the entry when searching for "uppercase" or similar. Trying to uppercase a string using codepointProperty is likely to be significantly slower than using the built-in functions. For persons like yourself, however, feel free to ignore the warning - I think it is fair to say that your use is not "general purpose". > "numToChar" produced ASCII chars. > > Does this mean that "numToChar" has gone west? NumToChar only returns ASCII characters (by interpreting the number given as modulo 256 - backwards compatibility strikes again). For Unicode codepoints, you should instead use numToCodepoint. It is worth noting that codepointProperty only accepts single codepoints, i.e you shouldn't put quotation marks or similar around the codepoint. Basically, the expression passed to the function should either be the output of numToCodepoint or an expression of the form "codepoint x of ..." - as you saw, it will get snooty if you pass a string to it (though a string of length 1, which is what a codepoint is really, also works). Regards, Fraser From mwieder at ahsoftware.net Fri Apr 4 15:10:21 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 4 Apr 2014 19:10:21 +0000 (UTC) Subject: Announcement: New Community Manager References: <533ED956.9050202@hyperactivesw.com> Message-ID: J. Landman Gay writes: > That's great! No one is better qualified. Congrats, Richard. I think Richard is much better qualified than No one. Seriously, this is the next logical step in the FOSS process after the Kickstarter open-source drive. Richard has been spearheading the effort to get a community manager in place for some time now, and I think he is the ideal person for this position. I remain convinced that the future of the LiveCode platform is in good hands. -- Mark Wieder ahsoftware at gmail.com From richmondmathewson at gmail.com Fri Apr 4 15:13:41 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 04 Apr 2014 22:13:41 +0300 Subject: codepointProperty In-Reply-To: <533F01AC.8040409@runrev.com> References: <533BF375.7010801@gmail.com> <4AA3FF9E-713B-478F-AD9C-F1B577A96A82@runrev.com> <533BFF70.6020105@gmail.com> <1F1477FE-4E1C-432E-ADE6-46A8BE1321D5@runrev.com> <533C190A.80901@gmail.com> <533C2953.6030701@gmail.com> <533EEC1B.9070107@gmail.com> <533EF03F.70904@gmail.com> <533F01AC.8040409@runrev.com> Message-ID: <533F0465.40108@gmail.com> On 04/04/14 22:02, Fraser Gordon wrote: > > That note was really just to encourage people to look elsewhere in case > they stumble across the entry when searching for "uppercase" or similar. > Trying to uppercase a string using codepointProperty is likely to be > significantly slower than using the built-in functions. For persons like > yourself, however, feel free to ignore the warning - I think it is fair > to say that your use is not "general purpose". > >> "numToChar" produced ASCII chars. >> >> Does this mean that "numToChar" has gone west? > NumToChar only returns ASCII characters (by interpreting the number > given as modulo 256 - backwards compatibility strikes again). For > Unicode codepoints, you should instead use numToCodepoint. That 's going to put the kibosh if I ever decide to up date my commercial version from 4.5. My "Devawriter Pro", "PISMO" and up-coming "Grendel" all depend on scripts like this: on rawKeyDown ROARK if ROARK = 42 then set the useUnicode to true set the unicodeText of the selectedText to numToChar(4567) select after the selextedText else pass rawKeyDown end if end rawKeyDown in the light of what you have just written I would have to change every "numToChar" statement to "numToCodepoint" . . . another reason why . . . err, never mind. This needs to be adequately documented as quite an important change. > > It is worth noting that codepointProperty only accepts single > codepoints, i.e you shouldn't put quotation marks or similar around the > codepoint. Basically, the expression passed to the function should > either be the output of numToCodepoint or an expression of the form > "codepoint x of ..." - as you saw, it will get snooty if you pass a > string to it (though a string of length 1, which is what a codepoint is > really, also works). > > Regards, > Fraser > > Best, Richmond. From richmondmathewson at gmail.com Fri Apr 4 15:14:14 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 04 Apr 2014 22:14:14 +0300 Subject: Announcement: New Community Manager In-Reply-To: References: <533ED956.9050202@hyperactivesw.com> Message-ID: <533F0486.6090807@gmail.com> On 04/04/14 22:10, Mark Wieder wrote: > J. Landman Gay writes: > >> That's great! No one is better qualified. Congrats, Richard. > I think Richard is much better qualified than No one. > > Seriously, this is the next logical step in the FOSS process after the > Kickstarter open-source drive. Richard has been spearheading the effort to > get a community manager in place for some time now, and I think he is the > ideal person for this position. I remain convinced that the future of the > LiveCode platform is in good hands. > Especially if he gets a kilt. Richmond. From bvg at mac.com Fri Apr 4 17:38:21 2014 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 04 Apr 2014 23:38:21 +0200 Subject: codepointProperty In-Reply-To: <533EEC1B.9070107@gmail.com> References: <533BF375.7010801@gmail.com> <4AA3FF9E-713B-478F-AD9C-F1B577A96A82@runrev.com> <533BFF70.6020105@gmail.com> <1F1477FE-4E1C-432E-ADE6-46A8BE1321D5@runrev.com> <533C190A.80901@gmail.com> <533C2953.6030701@gmail.com> <533EEC1B.9070107@gmail.com> Message-ID: <81AD65E5-35C4-41E0-A418-8B8036F0AC5C@mac.com> On 04.04.2014, at 19:30, Richmond wrote: > I wonder why 'codepointProperty' is not for general-purpose use (it is stated without > any explanation) as it looks an extremely useful tool . . . Richmond, your usage and expertise of unicode is way beyond "general-purpose". Therefore you're hereby granted a certificate to use whatever you please, offered to you by the BvG heritage institute of "you should already have known this". Go ahead and do whatever you want :-P have fun Bj?rnke -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From dave at applicationinsight.com Fri Apr 4 17:47:57 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Fri, 4 Apr 2014 14:47:57 -0700 (PDT) Subject: occasional runaway control - anyone else seeing this? In-Reply-To: <3357D25C-5501-4EB5-A9AA-922A7BAA31F4@iotecdigital.com> References: <1396371949260-4677795.post@n4.nabble.com> <1396614000648-4677979.post@n4.nabble.com> <3357D25C-5501-4EB5-A9AA-922A7BAA31F4@iotecdigital.com> Message-ID: <1396648077313-4678011.post@n4.nabble.com> Well of course from my point of view all of you only exist in my head and the falling tree makes no sound if I'm not there :) Bob Sneidar-2 wrote > I suspect that is what is doing this then. It?s invisible from your > perspective, but I get a thread of all your replies and none of what > others have posted. It?s like you are talking to your make believe > friends! Very disconcerting. But then, have we any proof that these > supposed ?friends? of yours really do exist? Hmmm? food for thought? ;-) > > Bob ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/occasional-runaway-control-anyone-else-seeing-this-tp4677795p4678011.html Sent from the Revolution - User mailing list archive at Nabble.com. From dixonja at hotmail.co.uk Fri Apr 4 17:52:39 2014 From: dixonja at hotmail.co.uk (John Dixon) Date: Fri, 4 Apr 2014 22:52:39 +0100 Subject: occasional runaway control - anyone else seeing this? In-Reply-To: <1396648077313-4678011.post@n4.nabble.com> References: <1396371949260-4677795.post@n4.nabble.com>, , <1396614000648-4677979.post@n4.nabble.com>, <3357D25C-5501-4EB5-A9AA-922A7BAA31F4@iotecdigital.com>, <1396648077313-4678011.post@n4.nabble.com> Message-ID: LOL... 'It's the voices... the voices in my head that made me do it'...:-) > Date: Fri, 4 Apr 2014 14:47:57 -0700 > From: dave at applicationinsight.com > To: use-revolution at lists.runrev.com > Subject: Re: occasional runaway control - anyone else seeing this? > > Well of course from my point of view all of you only exist in my head and the > falling tree makes no sound if I'm not there :) From alain_farmer at yahoo.com Fri Apr 4 18:09:11 2014 From: alain_farmer at yahoo.com (Alain Farmer) Date: Fri, 4 Apr 2014 15:09:11 -0700 (PDT) Subject: Announcement: New Community Manager In-Reply-To: <533EF9CD.2020503@fourthworld.com> References: <533EF085.2060305@pdslabs.net> <533EF9CD.2020503@fourthworld.com> Message-ID: <1396649351.69516.YahooMailNeo@web126103.mail.ne1.yahoo.com> Hello y'all, Congratulations Richard. Good move, Kevin. :-) I would like to share hundreds of handlers I have developed over time (years). I will also want to share stacks I'm crafting to master certain features; revXML at this time. What is the best way to do this ? Btw, I may be asking some newbie/hypercard-centric questions as I refactor my old code. Let's rock! Alain On Friday, April 4, 2014 5:10:01 PM, Richard Gaskin wrote: Thank you Phil, and everyone else, for your generous words. I think Kevin's sigline says it all: ? ? LiveCode: Everyone can code With the new Community Edition, the vision so many of us have had of a world full of happy LiveCoders is now a more tangible possibility than ever before. In fact, last night's user group meeting was a modest good example:? we had three new members show up, with an interest in bringing even more to next month's meeting. As the community continues to grow, the scope of things that can be done in partnership between RunRev and the community is big. All the best open source projects get this, and I've been impressed with Kevin's earnest commitment to open source process.? His willingness to commit resources to working with someone in a position of community advocacy is a good step forward for the project. -- ? Richard Gaskin ? Fourth World Systems ? Software Design and Development for the Desktop, Mobile, and the Web ? ____________________________________________________________________ ? Ambassador at FourthWorld.com? ? ? ? ? ? ? ? http://www.FourthWorld.com > Announcement: New Community Manager > Phil Davis revdev at pdslabs.net > Fri Apr 4 19:48:53 CEST 2014 > >? ? Previous message: Announcement: New Community Manager >? ? Next message: Announcement: New Community Manager >? ? Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] > > My sentiments exactly. Congratulations! > > Phil > > > On 4/4/14, 9:09 AM, J. Landman Gay wrote: >> On 4/4/14, 10:28 AM, Kevin Miller wrote: >>> I am delighted to announce the appointment of our new Community Manager, >>> Richard Gaskin. >> >> That's great! No one is better qualified. Congrats, Richard. >> > > -- > 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 dave at applicationinsight.com Fri Apr 4 18:14:29 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Fri, 4 Apr 2014 15:14:29 -0700 (PDT) Subject: occasional runaway control - anyone else seeing this? In-Reply-To: References: <1396371949260-4677795.post@n4.nabble.com> <1396614000648-4677979.post@n4.nabble.com> <3357D25C-5501-4EB5-A9AA-922A7BAA31F4@iotecdigital.com> <1396648077313-4678011.post@n4.nabble.com> Message-ID: <1396649669581-4678014.post@n4.nabble.com> "We are such stuff / As dreams are made on, and our little life / Is rounded with a sleep." John Dixon wrote > LOL... 'It's the voices... the voices in my head that made me do it'...:-) ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/occasional-runaway-control-anyone-else-seeing-this-tp4677795p4678014.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Fri Apr 4 18:20:46 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 04 Apr 2014 15:20:46 -0700 Subject: Announcement: New Community Manager In-Reply-To: <1396649351.69516.YahooMailNeo@web126103.mail.ne1.yahoo.com> References: <1396649351.69516.YahooMailNeo@web126103.mail.ne1.yahoo.com> Message-ID: <533F303E.7000603@fourthworld.com> Alain Farmer wrote: > Hello y'all, > Congratulations Richard. Good move, Kevin. :-) Thanks, Alain. > I would like to share hundreds of handlers I have developed over time (years). > I will also want to share stacks I'm crafting to master certain features; revXML at this time. > > What is the best way to do this ? At the moment the best place to do that is RevOnline (in the IDE toolbar see "User Samples"). -- 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 Fri Apr 4 19:22:30 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 4 Apr 2014 23:22:30 +0000 (UTC) Subject: Announcement: New Community Manager References: <533ED956.9050202@hyperactivesw.com> Message-ID: I want to add that this announcement comes on the auspicious 20th anniversary of Fourth World's founding. So even more congratulations on 4/4/14. -- Mark Wieder ahsoftware at gmail.com From ambassador at fourthworld.com Fri Apr 4 20:01:21 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 04 Apr 2014 17:01:21 -0700 Subject: Announcement: New Community Manager In-Reply-To: References: Message-ID: <533F47D1.2050401@fourthworld.com> Mark Wieder wrote: > I want to add that this announcement comes on the auspicious 20th > anniversary of Fourth World's founding. So even more congratulations on 4/4/14. Thank you, Mark. It did work out rather nicely with the timing. While Fourth World's 20th anniversary isn't quite as big a deal as, say, Apple's, it's been a good ride here, and very satisfying to have been able to most of my work all this time in xTalk. -- 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 james at thehales.id.au Fri Apr 4 21:23:35 2014 From: james at thehales.id.au (James Hale) Date: Sat, 5 Apr 2014 12:23:35 +1100 Subject: Formatted text in a field. Message-ID: Hi Mike, > I am trying to use the pageranges technique but the ranges I am getting are larger than what is visibly being displayed within my field. The character 722 is actually not visible. Every word or line break character is "invisible" in a field. So I suspect that char 722 is either a word or line break. It makes sense to have this as the last character or the range rather than the first, yes? > What properties are being used in the pageranges calculation to determine the size of a page? It does not appear to be the field height. The pageHeights seem to be working as I expected. You should speak to Jan (the person who introduced this property) to get these details or dive in to the source code yourself if you really need to know. I am at a loss though to understand why you would. Visually are you not getting what you expect? In moving from one page range to the next is content being missed? > Height: 502 > FormattedHeight: 14309 > PageRanges: > 1,722 > 723,1823 > 1824,3513 Re your first question, the page ranges given account for ALL the characters making up your field content. This is what I would expect else I would need to do extra calculations to say locate a selection from the "page" and relate it back to the source content. And yes, the calculations behind the properties do seem to take margins into account. Cool, huh? Jaesm From Nakia.Brewer at westrac.com.au Fri Apr 4 21:57:26 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Sat, 5 Apr 2014 01:57:26 +0000 Subject: HTML & CSS Message-ID: <67116DB20798A94285EEE12A67079A284CADB33A@MHSEXC02.westrac.com.au> Hi All, Just wondering if there are any HTML /CSS oracle's among us? COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From coiin at verizon.net Fri Apr 4 22:03:21 2014 From: coiin at verizon.net (Colin Holgate) Date: Fri, 04 Apr 2014 22:03:21 -0400 Subject: HTML & CSS In-Reply-To: <67116DB20798A94285EEE12A67079A284CADB33A@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A284CADB33A@MHSEXC02.westrac.com.au> Message-ID: <9AE25EFA-2DA3-42C4-9412-E9A1C495D916@verizon.net> Did you mean HTML5/CSS3? Not sure that currently applies to LiveCod currently, but I?ve been looking into it with other tools. On Apr 4, 2014, at 9:57 PM, Nakia Brewer wrote: > > >Just wondering if there are any HTML /CSS oracle's among us? From Nakia.Brewer at westrac.com.au Fri Apr 4 22:13:53 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Sat, 5 Apr 2014 02:13:53 +0000 Subject: HTML & CSS In-Reply-To: <9AE25EFA-2DA3-42C4-9412-E9A1C495D916@verizon.net> References: <67116DB20798A94285EEE12A67079A284CADB33A@MHSEXC02.westrac.com.au>, <9AE25EFA-2DA3-42C4-9412-E9A1C495D916@verizon.net> Message-ID: Yep understand it's non livecode. Just looking for someone who might be willing help me with a little Nav bar I need to build in HTML... Got it mostly working but just hit a hurdle I can't seem to overcome.. Sent from my iPhone > On 5 Apr 2014, at 1:03 pm, "Colin Holgate" wrote: > > Did you mean HTML5/CSS3? Not sure that currently applies to LiveCod currently, but I?ve been looking into it with other tools. > > >> On Apr 4, 2014, at 9:57 PM, Nakia Brewer wrote: >> >> >>> Just wondering if there are any HTML /CSS oracle's among us? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From coiin at verizon.net Fri Apr 4 22:19:14 2014 From: coiin at verizon.net (Colin Holgate) Date: Fri, 04 Apr 2014 22:19:14 -0400 Subject: HTML & CSS In-Reply-To: References: <67116DB20798A94285EEE12A67079A284CADB33A@MHSEXC02.westrac.com.au>, <9AE25EFA-2DA3-42C4-9412-E9A1C495D916@verizon.net> Message-ID: Wasn?t too worried about it being non-LC, just whether it?s ordinary HTML or HTML5. Lots of people here know HTML, hopefully someone can help. On Apr 4, 2014, at 10:13 PM, Nakia Brewer wrote: > > Just looking for someone who might be willing help me with a little Nav bar I need to build in HTML... Got it mostly working but just hit a hurdle I can't seem to overcome.. > From Nakia.Brewer at westrac.com.au Fri Apr 4 22:25:26 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Sat, 5 Apr 2014 02:25:26 +0000 Subject: HTML & CSS In-Reply-To: References: <67116DB20798A94285EEE12A67079A284CADB33A@MHSEXC02.westrac.com.au>, <9AE25EFA-2DA3-42C4-9412-E9A1C495D916@verizon.net> , Message-ID: <3D07DA2B-652C-44C7-A803-05EF65559578@westrac.com.au> Ordinary HTML. I will post it up when I get home to the computer... Probably an easy one for someone who knows HTML and CSS Sent from my iPhone > On 5 Apr 2014, at 1:19 pm, "Colin Holgate" wrote: > > Wasn?t too worried about it being non-LC, just whether it?s ordinary HTML or HTML5. Lots of people here know HTML, hopefully someone can help. > > >> On Apr 4, 2014, at 10:13 PM, Nakia Brewer wrote: >> >> >> Just looking for someone who might be willing help me with a little Nav bar I need to build in HTML... Got it mostly working but just hit a hurdle I can't seem to overcome.. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From mwieder at ahsoftware.net Fri Apr 4 22:32:57 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 4 Apr 2014 19:32:57 -0700 Subject: codepointProperty In-Reply-To: <81AD65E5-35C4-41E0-A418-8B8036F0AC5C@mac.com> References: <533BF375.7010801@gmail.com> <4AA3FF9E-713B-478F-AD9C-F1B577A96A82@runrev.com> <533BFF70.6020105@gmail.com> <1F1477FE-4E1C-432E-ADE6-46A8BE1321D5@runrev.com> <533C190A.80901@gmail.com> <533C2953.6030701@gmail.com> <533EEC1B.9070107@gmail.com> <81AD65E5-35C4-41E0-A418-8B8036F0AC5C@mac.com> Message-ID: <41335796587.20140404193257@ahsoftware.net> Bj?rnke- Friday, April 4, 2014, 2:38:21 PM, you wrote: > Richmond, your usage and expertise of unicode is way beyond > "general-purpose". Therefore you're hereby granted a certificate to > use whatever you please, offered to you by the BvG heritage > institute of "you should already have known this". Actually, I'm fairly sure that warning was intended for me, since I have only the vaguest idea what a codepointProperty is, and even that bit is probably wrong. If I ever venture down that road I'll be sure to look elsewhere. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From stephenREVOLUTION2 at barncard.com Fri Apr 4 23:39:30 2014 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 4 Apr 2014 20:39:30 -0700 Subject: HTML & CSS In-Reply-To: <67116DB20798A94285EEE12A67079A284CADB33A@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A284CADB33A@MHSEXC02.westrac.com.au> Message-ID: On Fri, Apr 4, 2014 at 6:57 PM, Nakia Brewer wrote: > Just wondering if there are any HTML /CSS oracle's among us? > > you don't need one. read this recent blog post. Bootstrap may be your answer. http://livecode.com/blog/2014/03/19/better-faster-stronger/ *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From Nakia.Brewer at westrac.com.au Sat Apr 5 02:09:55 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Sat, 5 Apr 2014 06:09:55 +0000 Subject: HTML & CSS In-Reply-To: References: <67116DB20798A94285EEE12A67079A284CADB33A@MHSEXC02.westrac.com.au>, Message-ID: Of only it was a website I was working on... It's actually for an online form service. They allow me to do customer page content in HTML which is where I am building the Nav bar.. Should make sense when I send it through.. Sent from my iPhone > On 5 Apr 2014, at 2:39 pm, "stephen barncard" wrote: > > On Fri, Apr 4, 2014 at 6:57 PM, Nakia Brewer wrote: > >> Just wondering if there are any HTML /CSS oracle's among us? > you don't need one. > > read this recent blog post. Bootstrap may be your answer. > > http://livecode.com/blog/2014/03/19/better-faster-stronger/ > > *--* > *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From Nakia.Brewer at westrac.com.au Sat Apr 5 02:33:10 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Sat, 5 Apr 2014 06:33:10 +0000 Subject: HTML & CSS In-Reply-To: References: <67116DB20798A94285EEE12A67079A284CADB33A@MHSEXC02.westrac.com.au>, Message-ID: <67116DB20798A94285EEE12A67079A284CADB520@MHSEXC02.westrac.com.au> So here is what I am trying to do.. Notes : I know next to nothing about HTML and CSS The form service where I am trying to embed this HTML code only allows me to embed the content as HTML. I cant reference files etc. So here is where I am up to. I have been able to create the Navbar in HTML and CSS and it works. I am now trying to add the ability for it to be able to detect if the current URL contains The content of one of its link and if so set an active class on that link so I can apply the hilite styling.. Man, I hope that makes sense.. Here is my attempt.. Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au ? ACN 009 342 572 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Nakia Brewer Sent: Saturday, 5 April 2014 5:10 PM To: How to use LiveCode Cc: How to use LiveCode Subject: Re: HTML & CSS Of only it was a website I was working on... It's actually for an online form service. They allow me to do customer page content in HTML which is where I am building the Nav bar.. Should make sense when I send it through.. Sent from my iPhone > On 5 Apr 2014, at 2:39 pm, "stephen barncard" wrote: > > On Fri, Apr 4, 2014 at 6:57 PM, Nakia Brewer wrote: > >> Just wondering if there are any HTML /CSS oracle's among us? > you don't need one. > > read this recent blog post. Bootstrap may be your answer. > > http://livecode.com/blog/2014/03/19/better-faster-stronger/ > > *--* > *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From Nakia.Brewer at westrac.com.au Sat Apr 5 02:47:51 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Sat, 5 Apr 2014 06:47:51 +0000 Subject: HTML & CSS In-Reply-To: <67116DB20798A94285EEE12A67079A284CADB520@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A284CADB33A@MHSEXC02.westrac.com.au>, <67116DB20798A94285EEE12A67079A284CADB520@MHSEXC02.westrac.com.au> Message-ID: <67116DB20798A94285EEE12A67079A284CADB559@MHSEXC02.westrac.com.au> I am trying to replicate the method here http://css-tricks.com/snippets/jquery/add-active-navigation-class-based-on-url/ Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au ? ACN 009 342 572 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Nakia Brewer Sent: Saturday, 5 April 2014 5:33 PM To: How to use LiveCode Subject: RE: HTML & CSS So here is what I am trying to do.. Notes : I know next to nothing about HTML and CSS The form service where I am trying to embed this HTML code only allows me to embed the content as HTML. I cant reference files etc. So here is where I am up to. I have been able to create the Navbar in HTML and CSS and it works. I am now trying to add the ability for it to be able to detect if the current URL contains The content of one of its link and if so set an active class on that link so I can apply the hilite styling.. Man, I hope that makes sense.. Here is my attempt.. Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au ? ACN 009 342 572 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Nakia Brewer Sent: Saturday, 5 April 2014 5:10 PM To: How to use LiveCode Cc: How to use LiveCode Subject: Re: HTML & CSS Of only it was a website I was working on... It's actually for an online form service. They allow me to do customer page content in HTML which is where I am building the Nav bar.. Should make sense when I send it through.. Sent from my iPhone > On 5 Apr 2014, at 2:39 pm, "stephen barncard" wrote: > > On Fri, Apr 4, 2014 at 6:57 PM, Nakia Brewer wrote: > >> Just wondering if there are any HTML /CSS oracle's among us? > you don't need one. > > read this recent blog post. Bootstrap may be your answer. > > http://livecode.com/blog/2014/03/19/better-faster-stronger/ > > *--* > *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From scott at elementarysoftware.com Sat Apr 5 02:57:47 2014 From: scott at elementarysoftware.com (Scott Morrow) Date: Fri, 4 Apr 2014 23:57:47 -0700 Subject: Announcement: New Community Manager In-Reply-To: References: Message-ID: <3887F12B-468B-4E13-89CE-988D74F26DC6@elementarysoftware.com> Awesome news! ? Scott Morrow On Apr 4, 2014, at 8:28 AM, Kevin Miller wrote: > Hi folks, > > I am delighted to announce the appointment of our new Community Manager, > Richard Gaskin. > > Read all about it in on the blog here: > http://livecode.com/blog/2014/04/04/announcement-livecode-community-manager/ > > Richard has also contributed this newsletter article: > http://newsletters.livecode.com/april/issue169/newsletter1.html > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at runrev.com ~ http://www.livecode.com/ > LiveCode: Everyone can 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 larry at significantplanet.org Sat Apr 5 03:41:09 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sat, 5 Apr 2014 01:41:09 -0600 Subject: scrollbar question Message-ID: <0E832D102FA0435DADC96226FE51D84D@userd204a4d61c> I'm using a scrollbar to allow the user to set a value, but I am writing the value to a text file for later use and don't want to constantly update the file as the user drags. Is there a way to capture the final scrollbar value and then update the file when the user is finished dragging? I tried "on mouseLeave" but couldn't get that to work. Thank you in advance! Larry From Nakia.Brewer at westrac.com.au Sat Apr 5 03:47:22 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Sat, 5 Apr 2014 07:47:22 +0000 Subject: scrollbar question In-Reply-To: <0E832D102FA0435DADC96226FE51D84D@userd204a4d61c> References: <0E832D102FA0435DADC96226FE51D84D@userd204a4d61c> Message-ID: <0AA58291-469F-435F-B345-34F60706D4E2@westrac.com.au> Maybe just update a global variable and only write out the text file on app closure... Sent from my iPhone > On 5 Apr 2014, at 6:41 pm, "larry at significantplanet.org" wrote: > > I'm using a scrollbar to allow the user to set a value, but I am writing the value to a text file for later use and don't want to constantly update the file as the user drags. > > Is there a way to capture the final scrollbar value and then update the file when the user is finished dragging? I tried "on mouseLeave" but couldn't get that to work. > > Thank you in advance! > > Larry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From bvg at mac.com Sat Apr 5 04:05:57 2014 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 05 Apr 2014 10:05:57 +0200 Subject: scrollbar question In-Reply-To: <0E832D102FA0435DADC96226FE51D84D@userd204a4d61c> References: <0E832D102FA0435DADC96226FE51D84D@userd204a4d61c> Message-ID: <24E8DAEA-D5CD-46FB-B6F6-7920F4BF7C6F@mac.com> on mouseUp put the thumbposition of me end mouseUp On 05.04.2014, at 09:41, larry at significantplanet.org wrote: > I'm using a scrollbar to allow the user to set a value, but I am writing the value to a text file for later use and don't want to constantly update the file as the user drags. > > Is there a way to capture the final scrollbar value and then update the file when the user is finished dragging? I tried "on mouseLeave" but couldn't get that to work. > > Thank you in advance! > > Larry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From rjb at robelko.com Sat Apr 5 06:26:28 2014 From: rjb at robelko.com (Robert Brenstein) Date: Sat, 5 Apr 2014 12:26:28 +0200 Subject: Announcement: New Community Manager In-Reply-To: <3887F12B-468B-4E13-89CE-988D74F26DC6@elementarysoftware.com> References: <3887F12B-468B-4E13-89CE-988D74F26DC6@elementarysoftware.com> Message-ID: Congrats, Richard! I believe you are the right man for the job. Good luck! RObert On Apr 4, 2014, at 8:28 AM, Kevin Miller wrote: > Hi folks, > > I am delighted to announce the appointment of our new Community Manager, > Richard Gaskin. > From larry at significantplanet.org Sat Apr 5 07:03:48 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sat, 5 Apr 2014 05:03:48 -0600 Subject: scrollbar question References: <0E832D102FA0435DADC96226FE51D84D@userd204a4d61c> <24E8DAEA-D5CD-46FB-B6F6-7920F4BF7C6F@mac.com> Message-ID: <35EC7742AEC7482BAE960F0A137A29D9@userd204a4d61c> Thank you Bjornke, exactly what I needed. Larry ----- Original Message ----- From: "Bj?rnke von Gierke" To: "How to use LiveCode" Sent: Saturday, April 05, 2014 2:05 AM Subject: Re: scrollbar question > on mouseUp > put the thumbposition of me > end mouseUp > > On 05.04.2014, at 09:41, larry at significantplanet.org wrote: > >> I'm using a scrollbar to allow the user to set a value, but I am writing >> the value to a text file for later use and don't want to constantly >> update the file as the user drags. >> >> Is there a way to capture the final scrollbar value and then update the >> file when the user is finished dragging? I tried "on mouseLeave" but >> couldn't get that to work. >> >> Thank you in advance! >> >> Larry >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > -- > > Use an alternative Dictionary viewer: > http://bjoernke.com/bvgdocu/ > > Chat with other RunRev developers: > http://bjoernke.com/chatrev/ > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Sat Apr 5 09:37:23 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sat, 5 Apr 2014 09:37:23 -0400 (EDT) Subject: scrollbar question In-Reply-To: <35EC7742AEC7482BAE960F0A137A29D9@userd204a4d61c> References: <0E832D102FA0435DADC96226FE51D84D@userd204a4d61c> <24E8DAEA-D5CD-46FB-B6F6-7920F4BF7C6F@mac.com> <35EC7742AEC7482BAE960F0A137A29D9@userd204a4d61c> Message-ID: <8D11EEB4F2EE0EE-2A80-2C22C@webmail-m223.sysops.aol.com> How about the "scrollerEndDrag" message? Craig Newman -----Original Message----- From: larry To: How to use LiveCode Sent: Sat, Apr 5, 2014 7:04 am Subject: Re: scrollbar question Thank you Bjornke, exactly what I needed. Larry ----- Original Message ----- From: "Bj?rnke von Gierke" To: "How to use LiveCode" Sent: Saturday, April 05, 2014 2:05 AM Subject: Re: scrollbar question > on mouseUp > put the thumbposition of me > end mouseUp > > On 05.04.2014, at 09:41, larry at significantplanet.org wrote: > >> I'm using a scrollbar to allow the user to set a value, but I am writing >> the value to a text file for later use and don't want to constantly >> update the file as the user drags. >> >> Is there a way to capture the final scrollbar value and then update the >> file when the user is finished dragging? I tried "on mouseLeave" but >> couldn't get that to work. >> >> Thank you in advance! >> >> Larry >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > -- > > Use an alternative Dictionary viewer: > http://bjoernke.com/bvgdocu/ > > Chat with other RunRev developers: > http://bjoernke.com/chatrev/ > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Sat Apr 5 09:42:37 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sat, 5 Apr 2014 09:42:37 -0400 (EDT) Subject: scrollbar question In-Reply-To: <8D11EEB4F2EE0EE-2A80-2C22C@webmail-m223.sysops.aol.com> References: <0E832D102FA0435DADC96226FE51D84D@userd204a4d61c> <24E8DAEA-D5CD-46FB-B6F6-7920F4BF7C6F@mac.com> <35EC7742AEC7482BAE960F0A137A29D9@userd204a4d61c> <8D11EEB4F2EE0EE-2A80-2C22C@webmail-m223.sysops.aol.com> Message-ID: <8D11EEC0A43F1EE-2A80-2C26E@webmail-m223.sysops.aol.com> Oops. This may have not been helpful. Craig -----Original Message----- From: dunbarx To: use-livecode Sent: Sat, Apr 5, 2014 9:38 am Subject: Re: scrollbar question How about the "scrollerEndDrag" message? Craig Newman -----Original Message----- From: larry To: How to use LiveCode Sent: Sat, Apr 5, 2014 7:04 am Subject: Re: scrollbar question Thank you Bjornke, exactly what I needed. Larry ----- Original Message ----- From: "Bj?rnke von Gierke" To: "How to use LiveCode" Sent: Saturday, April 05, 2014 2:05 AM Subject: Re: scrollbar question > on mouseUp > put the thumbposition of me > end mouseUp > > On 05.04.2014, at 09:41, larry at significantplanet.org wrote: > >> I'm using a scrollbar to allow the user to set a value, but I am writing >> the value to a text file for later use and don't want to constantly >> update the file as the user drags. >> >> Is there a way to capture the final scrollbar value and then update the >> file when the user is finished dragging? I tried "on mouseLeave" but >> couldn't get that to work. >> >> Thank you in advance! >> >> Larry >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > -- > > Use an alternative Dictionary viewer: > http://bjoernke.com/bvgdocu/ > > Chat with other RunRev developers: > http://bjoernke.com/chatrev/ > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Sat Apr 5 12:51:39 2014 From: sc at sahores-conseil.com (Pierre Sahores) Date: Sat, 5 Apr 2014 18:51:39 +0200 Subject: Announcement: New Community Manager In-Reply-To: <533EF085.2060305@pdslabs.net> References: <533ED956.9050202@hyperactivesw.com> <533EF085.2060305@pdslabs.net> Message-ID: Congratulations, Richard ! What?s a deal ! Congratulations, Kevin :D > My sentiments exactly. Congratulations! > > Phil > > > On 4/4/14, 9:09 AM, J. Landman Gay wrote: >> On 4/4/14, 10:28 AM, Kevin Miller wrote: >>> I am delighted to announce the appointment of our new Community Manager, >>> Richard Gaskin. >> >> That's great! No one is better qualified. Congrats, Richard. >> > > -- > 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 -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From richmondmathewson at gmail.com Sat Apr 5 14:01:54 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 05 Apr 2014 21:01:54 +0300 Subject: Look what I found Message-ID: <53404512.6070509@gmail.com> https://archive.org/stream/The_Complete_HyperCard_Handbook/The_Complete_HyperCard_Handbook_djvu.txt Richmond. From richmondmathewson at gmail.com Sat Apr 5 14:05:04 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 05 Apr 2014 21:05:04 +0300 Subject: Look what I found In-Reply-To: <53404512.6070509@gmail.com> References: <53404512.6070509@gmail.com> Message-ID: <534045D0.9040901@gmail.com> On 05/04/14 21:01, Richmond wrote: > https://archive.org/stream/The_Complete_HyperCard_Handbook/The_Complete_HyperCard_Handbook_djvu.txt > > > Richmond. https://ia601204.us.archive.org/21/items/JohnCayleyHypercardLiteratureCollection/ From mpetrides at earthlink.net Sat Apr 5 14:25:49 2014 From: mpetrides at earthlink.net (Marian Petrides MD) Date: Sat, 5 Apr 2014 13:25:49 -0500 Subject: Look what I found In-Reply-To: <534045D0.9040901@gmail.com> References: <53404512.6070509@gmail.com> <534045D0.9040901@gmail.com> Message-ID: Thanks, Richmond! There are even ePub (works w iBooks) and Mobi (works with Kindle) versions. On Apr 5, 2014, at 1:05 PM, Richmond wrote: > On 05/04/14 21:01, Richmond wrote: >> https://archive.org/stream/The_Complete_HyperCard_Handbook/The_Complete_HyperCard_Handbook_djvu.txt >> >> Richmond. > > https://ia601204.us.archive.org/21/items/JohnCayleyHypercardLiteratureCollection/ > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 5 14:35:02 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 05 Apr 2014 11:35:02 -0700 Subject: Look what I found In-Reply-To: <53404512.6070509@gmail.com> References: <53404512.6070509@gmail.com> Message-ID: <53404CD6.7070708@fourthworld.com> Richmond wrote: > That was very generous of Bantam Publishing to make the book available publicly, but I couldn't find the license they transferred rights under. Where on that site can I find 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 richmondmathewson at gmail.com Sat Apr 5 14:58:43 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 05 Apr 2014 21:58:43 +0300 Subject: Look what I found In-Reply-To: <534045D0.9040901@gmail.com> References: <53404512.6070509@gmail.com> <534045D0.9040901@gmail.com> Message-ID: <53405263.9090707@gmail.com> On 05/04/14 21:05, Richmond wrote: > On 05/04/14 21:01, Richmond wrote: >> https://archive.org/stream/The_Complete_HyperCard_Handbook/The_Complete_HyperCard_Handbook_djvu.txt >> >> >> Richmond. > > https://ia601204.us.archive.org/21/items/JohnCayleyHypercardLiteratureCollection/ > http://macgui.net/downloads/ From mwieder at ahsoftware.net Sat Apr 5 15:04:54 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 5 Apr 2014 12:04:54 -0700 Subject: Dogcow! Message-ID: <1395312357.20140405120454@ahsoftware.net> Susan Kare, with a cameo by Clarus: http://priceonomics.com/the-woman-behind-apples-first-icons/ -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From richmondmathewson at gmail.com Sat Apr 5 15:16:40 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 05 Apr 2014 22:16:40 +0300 Subject: Dogcow! In-Reply-To: <1395312357.20140405120454@ahsoftware.net> References: <1395312357.20140405120454@ahsoftware.net> Message-ID: <53405698.4070607@gmail.com> On 05/04/14 22:04, Mark Wieder wrote: > Susan Kare, with a cameo by Clarus: > > http://priceonomics.com/the-woman-behind-apples-first-icons/ > She has had an amazing long-term affect on our iconized lives. Richmond. From kee at kagi.com Sat Apr 5 16:18:43 2014 From: kee at kagi.com (kee nethery) Date: Sat, 5 Apr 2014 13:18:43 -0700 Subject: Dogcow! In-Reply-To: <1395312357.20140405120454@ahsoftware.net> References: <1395312357.20140405120454@ahsoftware.net> Message-ID: <6BC10C37-390A-4DE5-882D-957F1C4870AF@kagi.com> I am proud to have a Claris the dogcow button on my Apple blue jean jacket. On Apr 5, 2014, at 12:04 PM, Mark Wieder wrote: > Susan Kare, with a cameo by Clarus: > > http://priceonomics.com/the-woman-behind-apples-first-icons/ From mwieder at ahsoftware.net Sat Apr 5 21:06:53 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 5 Apr 2014 18:06:53 -0700 Subject: Dogcow! In-Reply-To: <1395312357.20140405120454@ahsoftware.net> References: <1395312357.20140405120454@ahsoftware.net> Message-ID: <113417031137.20140405180653@ahsoftware.net> Dogcow, part X: http://www.interealm.com/clarusx/ ...I don't suppose anyone would have a Moof! mp3?... -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From pmbrig at gmail.com Sat Apr 5 22:29:41 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sat, 5 Apr 2014 22:29:41 -0400 Subject: Look what I found In-Reply-To: <53404512.6070509@gmail.com> References: <53404512.6070509@gmail.com> Message-ID: Wow, does that bring back memories. I discovered this book when I was fascinated by what I was hearing about the Mac GUI, having used several DOS machines at various hospitals and being thoroughly unimpressed with how cumbersome they were. Even before I could afford a computer (recently married, paying off medical school loans, working on a resident's salary) I was devouring anything I could find out about the Mac, which seemed to be designed for actual human beings to use. I actually bought and read through Danny Goodman's book before I got my first computer, didn't understand much of it, but it was enough to seal my decision to get my hands on the machine that could run this intriguing Hypercard thing. When I finally got my first Mac, an SE, I think, I started putting together my first stacks and never looked back. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Apr 5, 2014, at 2:01 PM, Richmond wrote: > https://archive.org/stream/The_Complete_HyperCard_Handbook/The_Complete_HyperCard_Handbook_djvu.txt > > 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 Sat Apr 5 23:56:54 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 05 Apr 2014 22:56:54 -0500 Subject: Dogcow! In-Reply-To: <113417031137.20140405180653@ahsoftware.net> References: <1395312357.20140405120454@ahsoftware.net> <113417031137.20140405180653@ahsoftware.net> Message-ID: <5340D086.8090902@hyperactivesw.com> On 4/5/14, 8:06 PM, Mark Wieder wrote: > Dogcow, part X: > > http://www.interealm.com/clarusx/ > > ...I don't suppose anyone would have a Moof! mp3?... > No, but I have it in aif, au, and wav. Which would you like? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From Nakia.Brewer at westrac.com.au Sun Apr 6 00:58:19 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Sun, 6 Apr 2014 04:58:19 +0000 Subject: Server Message-ID: <6BDDD7C0-4EBD-482C-A759-44843C05973D@westrac.com.au> Hi, Anyone got an easy way to install drivers on a dedicated Ubuntu server that currently has no internet access ? Sent from my iPhone COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From Nakia.Brewer at westrac.com.au Sun Apr 6 01:12:57 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Sun, 6 Apr 2014 05:12:57 +0000 Subject: Server In-Reply-To: <6BDDD7C0-4EBD-482C-A759-44843C05973D@westrac.com.au> References: <6BDDD7C0-4EBD-482C-A759-44843C05973D@westrac.com.au> Message-ID: <90D980D0-E7E6-4D09-B6DA-874CB8E2B8B4@westrac.com.au> Ignore this... Sent from my iPhone > On 6 Apr 2014, at 2:58 pm, "Nakia Brewer" wrote: > > Hi, > Anyone got an easy way to install drivers on a dedicated Ubuntu server that currently has no internet access ? > > > > Sent from my iPhone > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From matthias_livecode_150811 at m-r-d.de Sun Apr 6 03:14:15 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Sun, 6 Apr 2014 09:14:15 +0200 Subject: Dogcow! In-Reply-To: <113417031137.20140405180653@ahsoftware.net> References: <1395312357.20140405120454@ahsoftware.net> <113417031137.20140405180653@ahsoftware.net> Message-ID: <4231779D-4999-49D5-899D-F67B46A234FB@m-r-d.de> Moof Museum http://clarus.chez-alice.fr/c_applemultimedia.php Regards, Matthias Am 06.04.2014 um 03:06 schrieb Mark Wieder : > Dogcow, part X: > > http://www.interealm.com/clarusx/ > > ...I don't suppose anyone would have a Moof! mp3?... > > -- > -Mark Wieder > ahsoftware at gmail.com > > This communication may be unlawfully collected and stored by the National > Security Agency (NSA) in secret. The parties to this email do not > consent to the retrieving or storing of this communication and any > related metadata, as well as printing, copying, re-transmitting, > disseminating, or otherwise using it. If you believe you have received > this communication in error, please delete it immediately. > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 6 03:25:45 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 06 Apr 2014 10:25:45 +0300 Subject: [OT] Another HC clone? Message-ID: <53410179.9040104@gmail.com> http://www.cinsimp.net/ certainly better than some . . . It might, at least, be useful for opening old Hypercard stacks to suck out useful code on Mac OS 10.8 + Richmond. From smaclean at madmansoft.com Sun Apr 6 03:27:58 2014 From: smaclean at madmansoft.com (Stephen MacLean) Date: Sun, 6 Apr 2014 03:27:58 -0400 Subject: MobilePlaySound / Play Sound issue in 6.6? Message-ID: <7B3BADDA-1B4E-49CA-AB14-A2CE71B0EF46@madmansoft.com> Hi All, I just noticed something really strange... now, in 6.6.1 RC1, using both mobilePlaySoundOnChannel and the Play command on my iPhone, the sounds are coming out of the ear speaker and not the speakers at the bottom! Not what was happening before. Has anyone else noticed this? I thought the speakers on my phone went kaput! I'll do some more digging after some sleep, lol;) Best, Steve MacLean From njd at njerd.us Sun Apr 6 09:04:59 2014 From: njd at njerd.us (njerd) Date: Sun, 6 Apr 2014 08:04:59 -0500 Subject: [OT] Another HC clone? In-Reply-To: <53410179.9040104@gmail.com> References: <53410179.9040104@gmail.com> Message-ID: <20F870D4-7A12-4680-8F38-9A3561EBA18A@njerd.us> Doesn?t seem to open HyperCard files. Uses SQLite for data storage. Joel Gerdeen On Apr 6, 2014, at 2:25 AM, Richmond wrote: > http://www.cinsimp.net/ > > certainly better than some . . . > > It might, at least, be useful for opening old Hypercard stacks to suck out useful code > on Mac OS 10.8 + > > 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 Apr 6 10:41:42 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 06 Apr 2014 17:41:42 +0300 Subject: [OT] Another HC clone? In-Reply-To: <20F870D4-7A12-4680-8F38-9A3561EBA18A@njerd.us> References: <53410179.9040104@gmail.com> <20F870D4-7A12-4680-8F38-9A3561EBA18A@njerd.us> Message-ID: <534167A6.7010102@gmail.com> On 06/04/14 16:04, njerd wrote: > Doesn?t seem to open HyperCard files. Uses SQLite for data storage. > Joel Gerdeen > > Blast. It is Open Source, but I cannot see it being anything more than all the other "also rans" that seem to crop up from time to time [Baycard et al] and then fade away again fairly quickly. Certainly, it might stand a better chance of surviving if it could open Hypercard files; after all, unless [like me] you happen to have a G3 iMac running Mac OS 9, all that rigmarole with Sheep Shaver is probably not worth the bother just to open the odd HC stack from time to time. What is also interesting is to find out how close its language is to HyperTalk. Richmond. From matthias_livecode_150811 at m-r-d.de Sun Apr 6 11:03:57 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Sun, 6 Apr 2014 17:03:57 +0200 Subject: Anyone using "Zygodact" registration system with Kagi.com? Message-ID: Hi, is anymone using Jacques ?Zygodact? with Kagi.com? I remember a post in the list, but cannot find it anymore, that it should be possible to provide one?s own ?license genetration? stack to the kagi system instead of using it on one?s own server. But maybe i am wrong. So is anyone of the list doing it that way? Regards, Matthias From mwieder at ahsoftware.net Sun Apr 6 12:22:39 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 6 Apr 2014 09:22:39 -0700 Subject: Dogcow! In-Reply-To: <4231779D-4999-49D5-899D-F67B46A234FB@m-r-d.de> References: <1395312357.20140405120454@ahsoftware.net> <113417031137.20140405180653@ahsoftware.net> <4231779D-4999-49D5-899D-F67B46A234FB@m-r-d.de> Message-ID: <125471975435.20140406092239@ahsoftware.net> Matthias- Sunday, April 6, 2014, 12:14:15 AM, you wrote: > Moof Museum > http://clarus.chez-alice.fr/c_applemultimedia.php Thanks. I had completely forgotten about Phil and Dave's CD. I pulled it out (being a packrat pays off sometimes) and wallowed through memories until I found "ZZ's Moof! Sound". But of course the wav content is a resource fork in the file. So I just downloaded the wav file from the museum and I'm happy. Meanwhile there's lots of HC stuff on the CD - I had forgotten that we distributed technical docs as HC stacks back in the day. ...and for those who don't have the 1989 CD (HFS/ProDOS Compatible) from Dogcow Productions in their archives... The Phil & Dave Memorial Fund So there you have it. A quick overview of the prerelease version of Phil & Dave's Excellent CD. It's rough around the edges (about as rough as a CD-ROM disk could be) but that's okay because it gives you the flavor ("Phil, Dave's putting that darn silver thingamajig in his mouth again!") of what we hope to accomplish in future releases. Besides, there is only so much we can do in a short time without sleep and not much caffeine. We're sure you understand: you say you're shipping when? But who are Phil and Dave? Why did we name your CD-ROM disc after them? And what is the Phil & Dave Memorial Fund? Well, to be perfectly honest, Phil and Dave don't exist, or they almost didn't after their bosses saw the "built-in-a-garage" attitude behind this project - the same attitude that got this product from concept to reality in little more than a month. Seriously, though, Phil (Williams) and Dave (Szetela) are two key managers within the Developer Services organization of the Apple Developer Group. Phil manages the Developer Technical Support group, which includes both Apple II and Macintosh DTS (and you can imagine what kind of job that must be) while David leads the entire Developer Services organization, which includes DTS, Developer Programs, Developer University, Developer Press, and Developer Events. This CD-ROM disc is named after them because they care about developers enough to have given us a lot of freedom in creatint it for you, and they're going to be putting even more resources behind it in the future to make sure it's something that can be used with pride. (Actually, we couldn't come up with a name, so we decided to put their pictures on the cover to let you see what we have to look at every day. Fortunately - for you - our Creative Services department came up with the nice cover you see from our design, so you don't have to look at them every day like we do.) We are establishing the Phil & Dave Memorial Fund as a relief effort to support these two guys in case we've been lost in the weeds with this whole comcept and upper management tells Phil and Dave to go graze off of a cliff like many a dogcow before them. Unfortunately, we cannot take cash, checks, or money orders, so you'll have to send your donations via AppleLink to DTS Feedback. So what are you waiting for? Hook up an Apple CD SC drive and let us know what you think, good or bad. Oh, and one more thing - if you like the concept of Phil & Dave's Excellent CD (as opposed to something sterile and very "suit-like") please let us know, or Phil and Dave may be out of jobs and management may make us clean up our act in the next release. Thank you for your support. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From richmondmathewson at gmail.com Sun Apr 6 14:28:32 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 06 Apr 2014 21:28:32 +0300 Subject: Page Curl Message-ID: <53419CD0.7090403@gmail.com> Very nearly, but the wrong way round: http://forums.runrev.com/viewtopic.php?f=5&t=19771&start=15 advice and help welcome. Richmond. From smaclean at madmansoft.com Sun Apr 6 15:45:28 2014 From: smaclean at madmansoft.com (Stephen MacLean) Date: Sun, 6 Apr 2014 15:45:28 -0400 Subject: MobilePlaySound / Play Sound issue in 6.6? In-Reply-To: <7B3BADDA-1B4E-49CA-AB14-A2CE71B0EF46@madmansoft.com> References: <7B3BADDA-1B4E-49CA-AB14-A2CE71B0EF46@madmansoft.com> Message-ID: <17206064-245F-4D62-9283-C767B4B6B4C2@madmansoft.com> Ok, I traced to adding mergMicrophone-1.04... remove it and sound plays out of the speakers again. Put it back in and back to the ear speaker. Don't even have to use it, just include it with "Copy Files"... sigh. I'll file a ticket with Monte. Anyone know of another way to access the mic on iOS? Thanks, Steve On Apr 6, 2014, at 3:27 AM, Stephen MacLean wrote: > Hi All, > > I just noticed something really strange... now, in 6.6.1 RC1, using both mobilePlaySoundOnChannel and the Play command on my iPhone, the sounds are coming out of the ear speaker and not the speakers at the bottom! Not what was happening before. > > Has anyone else noticed this? I thought the speakers on my phone went kaput! > > I'll do some more digging after some sleep, lol;) > > Best, > > Steve MacLean > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Sun Apr 6 20:17:50 2014 From: livfoss at mac.com (Graham Samuel) Date: Mon, 07 Apr 2014 02:17:50 +0200 Subject: Typing Unicode In-Reply-To: <6BC10C37-390A-4DE5-882D-957F1C4870AF@kagi.com> References: <1395312357.20140405120454@ahsoftware.net> <6BC10C37-390A-4DE5-882D-957F1C4870AF@kagi.com> Message-ID: <1E324913-15D2-40EF-825C-2C9204D73B6C@mac.com> I'm not sure if this is OT or not. I'm about to offer users of a desktop app (Mac and Windows) the ability to input some mathematical symbols, along with ordinary alphanumeric text. Clearly these symbols will be processed by the program as Unicode characters, since soon we will have "Unicode just works" for real. But my users are going to want to type these characters easily, using a conventional keyboard, which has very few such symbols, or - what? A soft keyboard, as on a touchscreen device (I'm using one to write this message on my iPad)? Or a dropdown list? Or some kind of multikey processing routine? Or something else? And how cross-platform is it possible to get? Has anyone else worked on this problem and if so, what was the most ergonomic solution? TIA Graham From bobsneidar at iotecdigital.com Mon Apr 7 12:36:58 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 7 Apr 2014 16:36:58 +0000 Subject: Dogcow! - Found word(s) list error in the Text body In-Reply-To: <25e48b58-9f9b-438f-abf6-bdb139d32810@lists.runrev.com> References: <25e48b58-9f9b-438f-abf6-bdb139d32810@lists.runrev.com> Message-ID: <72666B76-927E-49DC-958E-D4647B9263E1@iotecdigital.com> She was a looker too back then. Bob On Apr 5, 2014, at 12:04 , Mark Wieder > wrote: Susan Kare, with a cameo by Clarus: http://priceonomics.com/the-woman-behind-apples-first-icons/ -- -Mark Wieder From kee at kagi.com Mon Apr 7 13:22:18 2014 From: kee at kagi.com (kee nethery) Date: Mon, 7 Apr 2014 10:22:18 -0700 Subject: Anyone using "Zygodact" registration system with Kagi.com? In-Reply-To: References: Message-ID: Not sure what Jacques Zygodact is but yes we still support a LiveCode registratin code generation system. Essentially it is a stack with fields that simulate the data your algorithm will receive. And it is fields that your algorithm will populate. You write the connector code and then send the stack back to us. We push your code into our systems and from then on, your products can get unlock codes based upon your algorithms. Happy to send the stack to anyone you wants it. Kee Nethery From jacque at hyperactivesw.com Mon Apr 7 13:44:19 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 07 Apr 2014 12:44:19 -0500 Subject: Anyone using "Zygodact" registration system with Kagi.com? In-Reply-To: References: Message-ID: <5342E3F3.7050802@hyperactivesw.com> Zygodact is my LiveCode registration product, here: It's also available from the RR store. It uses a key generator stack which sounds like it would work with Kagi with a little tweaking. Could you send me the stack you use? I'll see what I can do. On 4/7/14, 12:22 PM, kee nethery wrote: > Not sure what Jacques Zygodact is but yes we still support a LiveCode > registratin code generation system. > > Essentially it is a stack with fields that simulate the data your > algorithm will receive. And it is fields that your algorithm will > populate. You write the connector code and then send the stack back > to us. We push your code into our systems and from then on, your > products can get unlock codes based upon your algorithms. > > Happy to send the stack to anyone you wants it. > > 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 > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From matthias_livecode_150811 at m-r-d.de Mon Apr 7 14:53:12 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Mon, 7 Apr 2014 20:53:12 +0200 Subject: Anyone using "Zygodact" registration system with Kagi.com? In-Reply-To: References: Message-ID: <023E2880-AD22-4F0D-ACB9-9AD817E2D052@m-r-d.de> Hi Kee, in the meantime i found your posting from 2011 and contacted your support team about the livecode stack integration. But anyway. Could you please send this stack to me at matthias (at) m-r-d.de. Thanks in advance. Regards, Matthias Am 07.04.2014 um 19:22 schrieb kee nethery : > Not sure what Jacques Zygodact is but yes we still support a LiveCode registratin code generation system. > > Essentially it is a stack with fields that simulate the data your algorithm will receive. And it is fields that your algorithm will populate. You write the connector code and then send the stack back to us. We push your code into our systems and from then on, your products can get unlock codes based upon your algorithms. > > Happy to send the stack to anyone you wants it. > > 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 larry at significantplanet.org Mon Apr 7 14:53:17 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Mon, 7 Apr 2014 12:53:17 -0600 Subject: going crazy Message-ID: <664023E1CCA9490A98B9D2DF9EA375A3@userd204a4d61c> I reported before that when I go to compile, LC just quits. I have to restart LC and try a 2nd time. I never saw a reply to that. Since yesterday, LC now will quit 10 or more times in a row without building. I have to restart my computer and that is still no guarantee it will build the standalone. This is really making me crazy. Any ideas? Larry From bobsneidar at iotecdigital.com Mon Apr 7 14:59:00 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 7 Apr 2014 18:59:00 +0000 Subject: going crazy In-Reply-To: <664023E1CCA9490A98B9D2DF9EA375A3@userd204a4d61c> References: <664023E1CCA9490A98B9D2DF9EA375A3@userd204a4d61c> Message-ID: <949045B0-91F2-4A07-AC41-C9CB637D5A2A@iotecdigital.com> There were two replies. I replied that you should not use a release candidate in production. Try the previous version that compilation worked under. Bob On Apr 7, 2014, at 11:53 , larry at significantplanet.org wrote: > I reported before that when I go to compile, LC just quits. I have to restart LC and try a 2nd time. I never saw a reply to that. > > Since yesterday, LC now will quit 10 or more times in a row without building. I have to restart my computer and that is still no guarantee it will build the standalone. > > This is really making me crazy. Any ideas? > > Larry > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 7 15:00:22 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Mon, 7 Apr 2014 21:00:22 +0200 Subject: Anyone using "Zygodact" registration system with Kagi.com? In-Reply-To: <5342E3F3.7050802@hyperactivesw.com> References: <5342E3F3.7050802@hyperactivesw.com> Message-ID: Jacques, that would be awesome if you would adjust Zygodact for using it with Kagi. Regards, Matthias Am 07.04.2014 um 19:44 schrieb J. Landman Gay : > Zygodact is my LiveCode registration product, here: > > > It's also available from the RR store. It uses a key generator stack which sounds like it would work with Kagi with a little tweaking. Could you send me the stack you use? I'll see what I can do. > > > On 4/7/14, 12:22 PM, kee nethery wrote: >> Not sure what Jacques Zygodact is but yes we still support a LiveCode >> registratin code generation system. >> >> Essentially it is a stack with fields that simulate the data your >> algorithm will receive. And it is fields that your algorithm will >> populate. You write the connector code and then send the stack back >> to us. We push your code into our systems and from then on, your >> products can get unlock codes based upon your algorithms. >> >> Happy to send the stack to anyone you wants it. >> >> 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 >> > > > -- > 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 Mon Apr 7 15:18:35 2014 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 07 Apr 2014 22:18:35 +0300 Subject: going crazy In-Reply-To: <664023E1CCA9490A98B9D2DF9EA375A3@userd204a4d61c> References: <664023E1CCA9490A98B9D2DF9EA375A3@userd204a4d61c> Message-ID: <5342FA0B.6000104@gmail.com> On 07/04/14 21:53, larry at significantplanet.org wrote: > I reported before that when I go to compile, LC just quits. I have to restart LC and try a 2nd time. I never saw a reply to that. > > Since yesterday, LC now will quit 10 or more times in a row without building. I have to restart my computer and that is still no guarantee it will build the standalone. > > This is really making me crazy. Any ideas? > > Larry > _______________________________________________ > Which Operating system are you using? I don't know which version of Livecode you are using; but, I note that version 6.6.0 is the most recent one to have a STABLE release, so I certainly wouldn't want to do anything mission critical on any later version. Quite apart from your personal worries, it is important to know which version is causing you this problem to see if it can be duplicated and reported back to the mother ship. For the sake of argument, I have chances to test Livecode on Linux 32 bit, Windows XP, Windows 7, Mac OS 106 and Mac OS 10.9. Yesterday I was working on something using 6.7 dp1 and it suddenly quit several times; until I got fed up and went back to 6.6 stable [this on Linux]; luckily I saved the stack every 30 seconds or so as I am not all that keen on doing significant work and then losing it. Richmond. From jacque at hyperactivesw.com Mon Apr 7 15:39:04 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 07 Apr 2014 14:39:04 -0500 Subject: going crazy In-Reply-To: <664023E1CCA9490A98B9D2DF9EA375A3@userd204a4d61c> References: <664023E1CCA9490A98B9D2DF9EA375A3@userd204a4d61c> Message-ID: <5342FED8.3030802@hyperactivesw.com> On 4/7/14, 1:53 PM, larry at significantplanet.org wrote: > I reported before that when I go to compile, LC just quits. I have > to restart LC and try a 2nd time. I never saw a reply to that. > > Since yesterday, LC now will quit 10 or more times in a row without > building. I have to restart my computer and that is still no > guarantee it will build the standalone. > > This is really making me crazy. Any ideas? Usually if you get no responses, it means no one else has had the problem and they don't know the answer. In that case it's likely the problem is specific to your stack, but more info would help. What version of LiveCode? How big is the stack on disk? Does it have a lot of images? Does the stack include a savingStandalone or standaloneSaved handler? Anything else of note that might make your stack different? Also, search your scripts for a "quit" command. It may be triggering. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Apr 7 15:41:17 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 07 Apr 2014 14:41:17 -0500 Subject: Anyone using "Zygodact" registration system with Kagi.com? In-Reply-To: References: <5342E3F3.7050802@hyperactivesw.com> Message-ID: <5342FF5D.8020300@hyperactivesw.com> On 4/7/14, 2:00 PM, Matthias Rebbe | M-R-D wrote: > that would be awesome if you would adjust Zygodact for using it with Kagi. Kee sent me the template stack and as it is now, I don't think integration is possible. But I've written to Kee privately to see what he says. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From skip at magicgate.com Mon Apr 7 16:34:09 2014 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Mon, 7 Apr 2014 16:34:09 -0400 Subject: AWS S3 Content Delivery Message-ID: Good afternoon, I am in the process of trying to utilize my AWS S3 account in a LiveCode project. I have done a little bit of research and found references to libAWS and libS3. I have tried both with no success. Has anybody out there successfully implemented AWS S3? If so, can you guide me in the right direction? Thank you! From skip at magicgate.com Mon Apr 7 17:03:27 2014 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Mon, 7 Apr 2014 17:03:27 -0400 Subject: AWS S3 Content Delivery In-Reply-To: References: Message-ID: In addition... It needs to be a solution that works for Windows Desktop and iOS. On Mon, Apr 7, 2014 at 4:34 PM, Magicgate Software - Skip Kimpel < skip at magicgate.com> wrote: > Good afternoon, > > I am in the process of trying to utilize my AWS S3 account in a LiveCode > project. I have done a little bit of research and found references to > libAWS and libS3. I have tried both with no success. > > Has anybody out there successfully implemented AWS S3? If so, can you > guide me in the right direction? > > Thank you! > From matthias_livecode_150811 at m-r-d.de Mon Apr 7 18:31:18 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Mon, 07 Apr 2014 22:31:18 -0000 Subject: Anyone using "Zygodact" registration system with Kagi.com? In-Reply-To: <5342FF5D.8020300@hyperactivesw.com> References: <5342E3F3.7050802@hyperactivesw.com> <5342FF5D.8020300@hyperactivesw.com> Message-ID: <6CACFFBD-F563-495D-B377-536F47A22CD5@m-r-d.de> Would you mind to send the template stack to me? I asked Kee, but for whatever reason i did not get it yet. Regards, Matthias Am 07.04.2014 um 21:41 schrieb J. Landman Gay : > On 4/7/14, 2:00 PM, Matthias Rebbe | M-R-D wrote: >> that would be awesome if you would adjust Zygodact for using it with Kagi. > > Kee sent me the template stack and as it is now, I don't think integration is possible. But I've written to Kee privately to see what he says. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Mon Apr 7 19:37:31 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 08 Apr 2014 01:37:31 +0200 Subject: [ANN] Installer Maker Plugin 1.8.5 Message-ID: <534336BB.6010800@economy-x-talk.com> Hello, A new version of the Installer Maker Plug-in for LiveCode has been released. Installer Maker 1.8.5 introduces more flexibility with regard to language settings. From now on, you have two options: either set a fixed language and hide the language option menu in the installer or display the option menu in the installer to allow the user to change the language. Read more about this new release at http://qery.us/48h or download the plug-in at http://qery.us/48i -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ From lan.kc.macmail at gmail.com Mon Apr 7 20:27:52 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 8 Apr 2014 08:27:52 +0800 Subject: going crazy In-Reply-To: <664023E1CCA9490A98B9D2DF9EA375A3@userd204a4d61c> References: <664023E1CCA9490A98B9D2DF9EA375A3@userd204a4d61c> Message-ID: On Tue, Apr 8, 2014 at 2:53 AM, wrote: > Any ideas? > > As Bob and Mark said yesterday, don't use an rc version. Also, since 6.1.1 there has been stable releases of 6.1.2, 6.1.3, 6.5.0, 6.5.1, 6.5.2 and as Richmond mentiond 6.6.0; all of which are available as a community edition so only cost the time it takes to download and install. http://downloads.livecode.com/livecode/ Also, your previous subject heading was more likely to get a response, 'going crazy' looks completely OT to me so don't be surprised if you don't get as many responses as you hope for. Lastly, whether you wish to persist with 6.1.1 rc 4 or upgrade, then after restarting LC, create a new main stack with 1 btn and 1 fld. in the btn: on mouseUp put "I like wensleydale" into fld 1 end mouseUp Then build a standalone. If it works, and you have images or groups or a datagrid in your project stack, then add one at a time in your test stack and build a standalone again. If LC crashes with your test stack, then maybe it was whatever you added last to the stack. If after 15 builds LC doesn't crash it would seem to suggest that the problem resides in your project stack in which case, as Jacque mentioned, we'd need to know much more detail about the stack; does it use XML, browser, SSL or any other libraries and have all the correct boxes been ticked. Does it have libraries from 3rd parties, objects that may have been made by 3rd parties, is this a desktop stack or is it for iOS, etc etc. Have you tried building for another platform? HTH From pete at lcsql.com Mon Apr 7 21:41:36 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 7 Apr 2014 18:41:36 -0700 Subject: iTunes Library Message-ID: I'm looking to get information out of iTunes and store it into an SQL database. There's an export function in iTunes that creates XML but it create one XML block for each track (the tracks have a unique ID), but no separate XML blocks for the Artists and CDs I guess I could write some sort of script to parse the XML and create unique entries but thought I would check if anyone has a stack that would help with this. Thanks, Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From pystcat at gmail.com Mon Apr 7 22:06:38 2014 From: pystcat at gmail.com (PystCat) Date: Mon, 7 Apr 2014 22:06:38 -0400 Subject: iTunes Library In-Reply-To: References: Message-ID: <8F99F9BD-2F33-42B6-8AFF-BB13CBD3A754@gmail.com> Hey Pete, Check out Thomas McGrath's excellent work with iTunes in the user area... Sorry... Not near a computer where I can look up the URL. I'm not sure if you can access it through LiveCode's user area anymore... I think that quietly died. Send a note if you can't find it... When I get back I'll look it up. Have a good one Paul > On Apr 7, 2014, at 9:41 PM, Peter Haworth wrote: > > I'm looking to get information out of iTunes and store it into an SQL > database. There's an export function in iTunes that creates XML but it > create one XML block for each track (the tracks have a unique ID), but no > separate XML blocks for the Artists and CDs > > I guess I could write some sort of script to parse the XML and create > unique entries but thought I would check if anyone has a stack that would > help with this. > > Thanks, > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 7 22:25:57 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 8 Apr 2014 10:25:57 +0800 Subject: iTunes Library In-Reply-To: References: Message-ID: On Tue, Apr 8, 2014 at 9:41 AM, Peter Haworth wrote: > There's an export function in iTunes that creates XML but it > create one XML block for each track (the tracks have a unique ID), but no > separate XML blocks for the Artists and CDs > > That would be the Export Library option. Have you had a look at Export Playlist option, this creates a tab separated flat file. By setting up your playlist to include everything, and every column selected to view, you can export the entire library, but if you just want specific information, i.e. just music without movies or podcasts, and you don't care how many times the track has been played or what the Beats Per Minute are, then deselect these from the View Options, then sort by whatever column is appropriate. You can have as much or as little info as you need. Using LC to parse through the flat file is lightning fast. HTH From ambassador at fourthworld.com Mon Apr 7 22:30:19 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 07 Apr 2014 19:30:19 -0700 Subject: iTunes Library In-Reply-To: References: Message-ID: <53435F3B.4070007@fourthworld.com> Isn't iTunes in SQLite format? -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From selander at tkf.att.ne.jp Tue Apr 8 04:00:43 2014 From: selander at tkf.att.ne.jp (Tim Selander) Date: Tue, 08 Apr 2014 17:00:43 +0900 Subject: [OT] MacHeist Bundle In-Reply-To: References: Message-ID: <5343ACAB.3080002@tkf.att.ne.jp> Bought it -- thanks for the headsup! If you do any kind of video/streaming work, BoinxTV is pretty cool stuff. Tim Selander Tokyo, Japan On 14/04/04 8:50, Peter Haworth wrote: > These guys put some pretty amazing deals out there but their latest one is > the best I've seen. $20 for almost $1800 of software, 8 Apple Design Award > winners, including Xojo Desktop. I'll probably never use a couple of them > but still great value. Check it out at www.macheist.com > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 8 07:58:34 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Tue, 08 Apr 2014 11:58:34 -0000 Subject: Anyone using "Zygodact" registration system with Kagi.com? In-Reply-To: <5342FF5D.8020300@hyperactivesw.com> References: <5342E3F3.7050802@hyperactivesw.com> <5342FF5D.8020300@hyperactivesw.com> Message-ID: <559EED62-252C-444F-AD0E-C55F409448F8@m-r-d.de> Hi Jacques, i do not know if this is accepted by Kagi, but i was able to integrate the CGI stack (as substack) into the template. I am using the following lines to generate the key: global gName, gSerial on mouseup . . . put theUserEmail into gName start using stack "CGI KeyGen? set the unicodeText of field "regnumberUTF16" to uniencode(gSerial,"utf8") set the unicodeText of field "usernameUTF16" to uniencode(gName,"utf8") end mouseup This works so far, but i am not sure if i am allowed to include a substack into the template. At least this would work. Regards, Matthias Am 07.04.2014 um 21:41 schrieb J. Landman Gay : > On 4/7/14, 2:00 PM, Matthias Rebbe | M-R-D wrote: >> that would be awesome if you would adjust Zygodact for using it with Kagi. > > Kee sent me the template stack and as it is now, I don't think integration is possible. But I've written to Kee privately to see what he says. > > -- > 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 hechris at ziggo.nl Tue Apr 8 08:29:26 2014 From: hechris at ziggo.nl (chris heidecker) Date: Tue, 8 Apr 2014 14:29:26 +0200 Subject: HTML & CSS In-Reply-To: <67116DB20798A94285EEE12A67079A284CADB559@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A284CADB33A@MHSEXC02.westrac.com.au>, <67116DB20798A94285EEE12A67079A284CADB520@MHSEXC02.westrac.com.au> <67116DB20798A94285EEE12A67079A284CADB559@MHSEXC02.westrac.com.au> Message-ID: <3864D25E-A6ED-4937-BD17-647C9041F411@ziggo.nl> Hi, I'm not sure what you're goal is, so I'll provide 2 options for inspiration. I didn't use the method you tried, moved the bg-color to the listitem and used a first-child/last-child for the corners. The first one, shows or hides a
on the same page depending on the currentTab The second one leaves out any javascript. If you've got just 3 pages, you can hard-code the currentTab. Not really tested or elelegant. regards, Chris ----- -- show the the corresponding div of the selected tab -----
  • another list
  • without style

layer 1

layer 2

layer 3

----- -- add a class currentTab to the currently showing page ----- Op 5 apr. 2014, om 08:47 heeft Nakia Brewer het volgende geschreven: > I am trying to replicate the method here > > http://css-tricks.com/snippets/jquery/add-active-navigation-class-based-on-url/ > > > > Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions > t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au > > > ACN 009 342 572 > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Nakia Brewer > Sent: Saturday, 5 April 2014 5:33 PM > To: How to use LiveCode > Subject: RE: HTML & CSS > > So here is what I am trying to do.. > Notes : I know next to nothing about HTML and CSS > The form service where I am trying to embed this HTML code only allows me to embed the content as HTML. I cant reference files etc. > > So here is where I am up to. > I have been able to create the Navbar in HTML and CSS and it works. I am now trying to add the ability for it to be able to detect if the current URL contains The content of one of its link and if so set an active class on that link so I can apply the hilite styling.. > > Man, I hope that makes sense.. > > Here is my attempt.. > > > > > > > > Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions > t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au > > > ACN 009 342 572 > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Nakia Brewer > Sent: Saturday, 5 April 2014 5:10 PM > To: How to use LiveCode > Cc: How to use LiveCode > Subject: Re: HTML & CSS > > Of only it was a website I was working on... > > It's actually for an online form service. They allow me to do customer page content in HTML which is where I am building the Nav bar.. > > Should make sense when I send it through.. > > Sent from my iPhone > >> On 5 Apr 2014, at 2:39 pm, "stephen barncard" wrote: >> >> On Fri, Apr 4, 2014 at 6:57 PM, Nakia Brewer wrote: >> >>> Just wondering if there are any HTML /CSS oracle's among us? >> you don't need one. >> >> read this recent blog post. Bootstrap may be your answer. >> >> http://livecode.com/blog/2014/03/19/better-faster-stronger/ >> >> *--* >> *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 8 10:50:07 2014 From: pete at lcsql.com (Peter Haworth) Date: Tue, 8 Apr 2014 07:50:07 -0700 Subject: iTunes Library In-Reply-To: <53435F3B.4070007@fourthworld.com> References: <53435F3B.4070007@fourthworld.com> Message-ID: I've heard that but haven't been able to locate the file. Judging by what's in the xml file, I have a feeling it won't be very normalized. Pete lcSQL Software On Apr 7, 2014 7:30 PM, "Richard Gaskin" wrote: > Isn't iTunes in SQLite format? > > -- > 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 Tue Apr 8 10:50:54 2014 From: pete at lcsql.com (Peter Haworth) Date: Tue, 8 Apr 2014 07:50:54 -0700 Subject: iTunes Library In-Reply-To: References: Message-ID: Thanks, I'll check that out. Pete lcSQL Software On Apr 7, 2014 7:25 PM, "Kay C Lan" wrote: > On Tue, Apr 8, 2014 at 9:41 AM, Peter Haworth wrote: > > > There's an export function in iTunes that creates XML but it > > create one XML block for each track (the tracks have a unique ID), but no > > separate XML blocks for the Artists and CDs > > > > That would be the Export Library option. Have you had a look at Export > Playlist option, this creates a tab separated flat file. By setting up your > playlist to include everything, and every column selected to view, you can > export the entire library, but if you just want specific information, i.e. > just music without movies or podcasts, and you don't care how many times > the track has been played or what the Beats Per Minute are, then deselect > these from the View Options, then sort by whatever column is appropriate. > You can have as much or as little info as you need. > > Using LC to parse through the flat file is lightning fast. > > HTH > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 8 10:51:48 2014 From: pete at lcsql.com (Peter Haworth) Date: Tue, 8 Apr 2014 07:51:48 -0700 Subject: iTunes Library In-Reply-To: <8F99F9BD-2F33-42B6-8AFF-BB13CBD3A754@gmail.com> References: <8F99F9BD-2F33-42B6-8AFF-BB13CBD3A754@gmail.com> Message-ID: Thanks, I'll see if I can find it. Pete lcSQL Software On Apr 7, 2014 7:06 PM, "PystCat" wrote: > Hey Pete, > > Check out Thomas McGrath's excellent work with iTunes in the user area... > Sorry... Not near a computer where I can look up the URL. I'm not sure if > you can access it through LiveCode's user area anymore... I think that > quietly died. > > Send a note if you can't find it... When I get back I'll look it up. > Have a good one > Paul > > > On Apr 7, 2014, at 9:41 PM, Peter Haworth wrote: > > > > I'm looking to get information out of iTunes and store it into an SQL > > database. There's an export function in iTunes that creates XML but it > > create one XML block for each track (the tracks have a unique ID), but no > > separate XML blocks for the Artists and CDs > > > > I guess I could write some sort of script to parse the XML and create > > unique entries but thought I would check if anyone has a stack that would > > help with this. > > > > Thanks, > > > > Pete > > lcSQL Software > > Home of lcStackBrowser and > > SQLiteAdmin > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 8 10:54:03 2014 From: pete at lcsql.com (Peter Haworth) Date: Tue, 8 Apr 2014 07:54:03 -0700 Subject: [OT] MacHeist Bundle In-Reply-To: <5343ACAB.3080002@tkf.att.ne.jp> References: <5343ACAB.3080002@tkf.att.ne.jp> Message-ID: They just added ScreenFlow if they get to 20000 sales. Pete lcSQL Software On Apr 8, 2014 1:00 AM, "Tim Selander" wrote: > Bought it -- thanks for the headsup! If you do any kind of video/streaming > work, BoinxTV is pretty cool stuff. > > Tim Selander > Tokyo, Japan > > > On 14/04/04 8:50, Peter Haworth wrote: > >> These guys put some pretty amazing deals out there but their latest one is >> the best I've seen. $20 for almost $1800 of software, 8 Apple Design >> Award >> winners, including Xojo Desktop. I'll probably never use a couple of them >> but still great value. Check it out at www.macheist.com >> Pete >> lcSQL Software >> Home of lcStackBrowser and >> SQLiteAdmin >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ben at runrev.com Tue Apr 8 11:33:33 2014 From: ben at runrev.com (Benjamin Beaumont) Date: Tue, 8 Apr 2014 16:33:33 +0100 Subject: RELEASE: LiveCode 6.6.1 Message-ID: Dear LiveCode users. LiveCode 6.6.1 is now available. This is a stable release. *Notable fixes* The issues on Windows with the IDE and applications freezing or not redrawing correctly have been fixed. *Release Contents* - 4 bug fixes: - 12010 - Windows engine hangs after multiple stack redraws. - 12006 - HTTP (HTML) URLs encoded with anything other than a native character set are returned incorrectly - 11975 - "import snapshot from rect ..." only imports part of the screen on Windows - 11708 - Android apps only partially drawn after rotating device during lock screen *Getting this release* To upgrade to this release please select "check for updates" from the help menu in LiveCode or download the installers directly at: http://downloads.livecode.com/livecode/ Warm regards, The LiveCode team. From martyknappster at gmail.com Tue Apr 8 12:17:39 2014 From: martyknappster at gmail.com (Marty Knapp) Date: Tue, 08 Apr 2014 09:17:39 -0700 Subject: resizeControl broken Message-ID: <53442123.2090602@gmail.com> I have a stack that relies on the resizeControl message. But it appears that it's broken for images on all iterations of LC 6. Everything else sends the message - buttons, fields, graphics. And it works in all the 5.x versions I tried. I did file a bug report in January (11689) and it's confirmed, but I'm assuming it's a low priority. In the mean time is there some kind of work-around so I can tell when a user has resized an image? Thanks, Marty K From jacque at hyperactivesw.com Tue Apr 8 14:06:59 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 08 Apr 2014 13:06:59 -0500 Subject: Anyone using "Zygodact" registration system with Kagi.com? In-Reply-To: <559EED62-252C-444F-AD0E-C55F409448F8@m-r-d.de> References: <5342E3F3.7050802@hyperactivesw.com> <5342FF5D.8020300@hyperactivesw.com> <559EED62-252C-444F-AD0E-C55F409448F8@m-r-d.de> Message-ID: <53443AC3.7090107@hyperactivesw.com> On 4/8/14, 6:58 AM, Matthias Rebbe | M-R-D wrote: > This works so far, but i am not sure if i am allowed to include a > substack into the template. I just talked to Kee and he has some ideas. You may be in luck. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From irog at mac.com Tue Apr 8 14:36:38 2014 From: irog at mac.com (Roger Guay) Date: Tue, 08 Apr 2014 11:36:38 -0700 Subject: Updating Plugins In-Reply-To: <73C04785-CFAA-40FC-860D-2DFD99B9E30C@sbcglobal.net> References: <73C04785-CFAA-40FC-860D-2DFD99B9E30C@sbcglobal.net> Message-ID: <3B0EDBBE-2873-40B8-BE59-CFD6CFC0AE02@mac.com> Does anyone have a convenient/clever/cool way to copy favorite personal plugins from previous to new releases of LC? Thanks, Roger From m.schonewille at economy-x-talk.com Tue Apr 8 15:23:19 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 08 Apr 2014 21:23:19 +0200 Subject: Updating Plugins In-Reply-To: <3B0EDBBE-2873-40B8-BE59-CFD6CFC0AE02@mac.com> References: <73C04785-CFAA-40FC-860D-2DFD99B9E30C@sbcglobal.net> <3B0EDBBE-2873-40B8-BE59-CFD6CFC0AE02@mac.com> Message-ID: <53444CA7.6080401@economy-x-talk.com> Hi Roger, I have a folder "My Revolution Enterprise" in my documents folder. Inside this folder is a "Plugins" folder, containing all plug-ins for LiveCode. In the preferences windows of every LiveCode version, I can point LiveCode to my "My Revolution Enterprise" folder and it automatically loads the plug-ins, if they are in a compatible format. The name of the folder isn't too important. Just choose a folder in the preferences window. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 4/8/2014 20:36, Roger Guay wrote: > Does anyone have a convenient/clever/cool way to copy favorite personal plugins from previous to new releases of LC? > > Thanks, > > Roger From scott at tactilemedia.com Tue Apr 8 15:56:32 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 8 Apr 2014 12:56:32 -0700 Subject: Updating Plugins In-Reply-To: <3B0EDBBE-2873-40B8-BE59-CFD6CFC0AE02@mac.com> References: <73C04785-CFAA-40FC-860D-2DFD99B9E30C@sbcglobal.net> <3B0EDBBE-2873-40B8-BE59-CFD6CFC0AE02@mac.com> Message-ID: If you run LiveCode on multiple systems, one "clever" technique to is to place your plugins in a DropBox folder. Then your plugins are available to all your LiveCode installations across multiple machines from a single folder. Regards, Scott Rossi Creative Director Tactile Media, UX Design > On Apr 8, 2014, at 11:36 AM, Roger Guay wrote: > > Does anyone have a convenient/clever/cool way to copy favorite personal plugins from previous to new releases of LC? > > Thanks, > > 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 Tue Apr 8 17:39:24 2014 From: irog at mac.com (Roger Guay) Date: Tue, 08 Apr 2014 14:39:24 -0700 Subject: Updating Plugins In-Reply-To: References: <73C04785-CFAA-40FC-860D-2DFD99B9E30C@sbcglobal.net> <3B0EDBBE-2873-40B8-BE59-CFD6CFC0AE02@mac.com> Message-ID: Thank you Mark and Scott. I guess part of my question is how do you manage the possible updates to individual plugins? e.g. Let?s say GoRevNet was updated in the latest LC release. Or, a new plugin was introduced with the latest release. How would I combine the latest release plugins with my private or personal ones, thus easily maintaining my ?universal? Plugins folder? Thanks, Roger On Apr 8, 2014, at 12:56 PM, Scott Rossi wrote: > If you run LiveCode on multiple systems, one "clever" technique to is to place your plugins in a DropBox folder. Then your plugins are available to all your LiveCode installations across multiple machines from a single folder. From irog at mac.com Tue Apr 8 17:57:06 2014 From: irog at mac.com (Roger Guay) Date: Tue, 08 Apr 2014 14:57:06 -0700 Subject: Updating Plugins - Solved. In-Reply-To: References: <73C04785-CFAA-40FC-860D-2DFD99B9E30C@sbcglobal.net> <3B0EDBBE-2873-40B8-BE59-CFD6CFC0AE02@mac.com> Message-ID: <2CDB41F6-2D86-44CA-B90C-D9F2CFC3601E@mac.com> Never mind . . . I see that the universal plugins folder is automatically combined with the packaged plugins of LC. Problem solved!! Thanks again Mark and Scott. Roger On Apr 8, 2014, at 2:39 PM, Roger Guay wrote: > Thank you Mark and Scott. I guess part of my question is how do you manage the possible updates to individual plugins? e.g. Let?s say GoRevNet was updated in the latest LC release. Or, a new plugin was introduced with the latest release. How would I combine the latest release plugins with my private or personal ones, thus easily maintaining my ?universal? Plugins folder? From Nakia.Brewer at westrac.com.au Tue Apr 8 18:29:55 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Tue, 8 Apr 2014 22:29:55 +0000 Subject: HTML & CSS In-Reply-To: <3864D25E-A6ED-4937-BD17-647C9041F411@ziggo.nl> References: <67116DB20798A94285EEE12A67079A284CADB33A@MHSEXC02.westrac.com.au>, <67116DB20798A94285EEE12A67079A284CADB520@MHSEXC02.westrac.com.au> <67116DB20798A94285EEE12A67079A284CADB559@MHSEXC02.westrac.com.au> <3864D25E-A6ED-4937-BD17-647C9041F411@ziggo.nl> Message-ID: <67116DB20798A94285EEE12A67079A284CADEA23@MHSEXC02.westrac.com.au> Thanks for this. I will have an attempt at using this and see how I go. I eventually need to use this over around 20 pages so I was mainly looking for a way to automatically hilite the current tab based upon the value of the URL of the page (Looking for tab name in URL) Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au ? ACN 009 342 572 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of chris heidecker Sent: Tuesday, 8 April 2014 10:29 PM To: How to use LiveCode Subject: Re: HTML & CSS Hi, I'm not sure what you're goal is, so I'll provide 2 options for inspiration. I didn't use the method you tried, moved the bg-color to the listitem and used a first-child/last-child for the corners. The first one, shows or hides a
on the same page depending on the currentTab The second one leaves out any javascript. If you've got just 3 pages, you can hard-code the currentTab. Not really tested or elelegant. regards, Chris ----- -- show the the corresponding div of the selected tab -----
  • another list
  • without style

layer 1

layer 2

layer 3

----- -- add a class currentTab to the currently showing page ----- Op 5 apr. 2014, om 08:47 heeft Nakia Brewer het volgende geschreven: > I am trying to replicate the method here > > http://css-tricks.com/snippets/jquery/add-active-navigation-class-base > d-on-url/ > > > > Nakia Brewer | Technology & Solutions Manager | Equipment Management > Solutions > t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au > > > ACN 009 342 572 > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf Of Nakia Brewer > Sent: Saturday, 5 April 2014 5:33 PM > To: How to use LiveCode > Subject: RE: HTML & CSS > > So here is what I am trying to do.. > Notes : I know next to nothing about HTML and CSS > The form service where I am trying to embed this HTML code only allows me to embed the content as HTML. I cant reference files etc. > > So here is where I am up to. > I have been able to create the Navbar in HTML and CSS and it works. I am now trying to add the ability for it to be able to detect if the current URL contains The content of one of its link and if so set an active class on that link so I can apply the hilite styling.. > > Man, I hope that makes sense.. > > Here is my attempt.. > > > > > > > > Nakia Brewer | Technology & Solutions Manager | Equipment Management > Solutions > t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au > > > ACN 009 342 572 > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf Of Nakia Brewer > Sent: Saturday, 5 April 2014 5:10 PM > To: How to use LiveCode > Cc: How to use LiveCode > Subject: Re: HTML & CSS > > Of only it was a website I was working on... > > It's actually for an online form service. They allow me to do customer page content in HTML which is where I am building the Nav bar.. > > Should make sense when I send it through.. > > Sent from my iPhone > >> On 5 Apr 2014, at 2:39 pm, "stephen barncard" wrote: >> >> On Fri, Apr 4, 2014 at 6:57 PM, Nakia Brewer wrote: >> >>> Just wondering if there are any HTML /CSS oracle's among us? >> you don't need one. >> >> read this recent blog post. Bootstrap may be your answer. >> >> http://livecode.com/blog/2014/03/19/better-faster-stronger/ >> >> *--* >> *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From pete at lcsql.com Tue Apr 8 19:07:37 2014 From: pete at lcsql.com (Peter Haworth) Date: Tue, 8 Apr 2014 16:07:37 -0700 Subject: iTunes Library In-Reply-To: References: Message-ID: Thanks for that Kay, I went with that approach and it took perhaps an hour to write the import script. I am however, whether I like it or not, having to get into the weird world of Unicode (I think). Some of the artist names and CD names in my iTunes library have accented characters which end up in the tab delimited file as . The corrupted characters then end up in my database. I don't have any control over how iTunes exports the data so is it possible for me to ensure that what ends up in my sqlite database is correct? The default text encoding for sqlite db's is UTF-8 but it can be changed to UTF-16, UTF-16le, or UTF-16be. Assuming that can be done, how do I make sure the artists names and album names are correctly displayed in my fields/option menus/datagrids? Let's assume for now that I will not be using LC7 for this. And finally, whatever happened to Esperanto? Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Mon, Apr 7, 2014 at 7:25 PM, Kay C Lan wrote: > On Tue, Apr 8, 2014 at 9:41 AM, Peter Haworth wrote: > > > There's an export function in iTunes that creates XML but it > > create one XML block for each track (the tracks have a unique ID), but no > > separate XML blocks for the Artists and CDs > > > > That would be the Export Library option. Have you had a look at Export > Playlist option, this creates a tab separated flat file. By setting up your > playlist to include everything, and every column selected to view, you can > export the entire library, but if you just want specific information, i.e. > just music without movies or podcasts, and you don't care how many times > the track has been played or what the Beats Per Minute are, then deselect > these from the View Options, then sort by whatever column is appropriate. > You can have as much or as little info as you need. > > Using LC to parse through the flat file is lightning fast. > > HTH > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 8 19:19:26 2014 From: johnpatten at me.com (JOHN PATTEN) Date: Tue, 08 Apr 2014 16:19:26 -0700 Subject: Enterprise iOS License Distribution... Message-ID: Hi All? Thought I?d ask just in case somebody else has experienced this situation. We have a new Apple Enterprise iOS license for distributing iOS apps built with LiveCode. I have configured the our workstation with the proper profiles, first creating a development profile and making sure that we could test apps out on a iPad. Everything in that department works fine. I then installed our distribution profile and created the same app with the Enterprise distribution profile. In our school district we are using Profile Manager (part of OS X Mavs Server) to manage apps we purchase and, eventually, apps we create. Profile Manager works fine and we can easily push out apps we puchase over the air. However, when trying to add an app we developed with our Enterprise profile, it spits back: Filetype Not Supported. The file you selected is not supported. Please choose a different file. Anybody have any experience with this specific situation? Thanks in advance! John Patten SUSD From capellan2000 at gmail.com Tue Apr 8 19:50:55 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 8 Apr 2014 19:50:55 -0400 Subject: Dramatic slowdown while resizing images by script Message-ID: Hi All, Please, review this new bug report: http://quality.runrev.com/show_bug.cgi?id=12148 Add your comments and demonstration stacks to this report. Created attachment 4113 [details] Infinite Zoom 2014.livecode (Stack with images that zoom in or zoom out on mousedown) 1. Download the zipped sample stack 2. Open the stack in LiveCode 6.6 3. The stack opens in full screen. Using the keys alt-tab bring to front the LiveCode menu 4. Check the card script, before running. 5. To run the infinite zoom effect, click and hold down the mouse pointer near the left side of the card (zoom in) or near the right side of the card (zoom out) 6. Notice how the effect of resizing the images is slow and moves step by step. 7. Notice the faint line in the border of every image, barely visible. This border effectively breaks the illusion of a single continuous and infinite image. 8. Follow the previous steps using LiveCode 6.5.2 The stack runs perfectly. There is no trace of these faint lines in image borders. 9. These marked differences in image processing speed was noticed by Kenji Kojima in this message: http://lists.runrev.com/pipermail/use-livecode/2014-March/199672.html Have a nice day! Al From index at kenjikojima.com Tue Apr 8 20:35:56 2014 From: index at kenjikojima.com (Kenji Kojima) Date: Tue, 8 Apr 2014 20:35:56 -0400 Subject: Dramatic slowdown while resizing images by script In-Reply-To: References: Message-ID: <40DC0650-6C7B-49C6-B1A5-87B39BB71556@kenjikojima.com> > Hi All, > > Please, review this new bug report: > http://quality.runrev.com/show_bug.cgi?id=12148 > Add your comments and demonstration stacks to > this report. > > 9. These marked differences in image processing speed was noticed > by Kenji Kojima in this message: > http://lists.runrev.com/pipermail/use-livecode/2014-March/199672.html Thanks Alejandro This is a technical note I have developed. http://kenjikojima.com/splitMerge/techNote1.html The project ?Split/Merge AudioVisual? is here. http://kenjikojima.com/splitMerge/ If I cannot use the old image filter, I have to give up. -- Kenji Kojima / ???? http://www.kenjikojima.com/ On Apr 8, 2014, at 7:50 PM, Alejandro Tejada wrote: From lan.kc.macmail at gmail.com Tue Apr 8 20:46:23 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 9 Apr 2014 08:46:23 +0800 Subject: SQLite, Unicode & LC Message-ID: Peter, Glad I could get you over the first hurdle. Seems though we might be hitting the 2nd hurdle at the same time. I'm reading a file into LC and it contains this word: Caba?esas --the 5th char being numToChar(150) on Mac it ends up in a variable exactly the same. I then feed it into a SQLite database and if I view it with Valentina Studio or Navicat it appears just the same. But if I then use LC to query the db the variable contains: Caba??esas --5th & 6th char are numToChar(195) & (177) on Mac The orginal file is UTF-8, SQLite is UTF-8 I'm not so sure that this is a unicode problem as the numbers are so low, but above 125, so maybe some other text encoding problem which I'm trying to nut out right now. Any insights would be much appreciated. On Wed, Apr 9, 2014 at 7:07 AM, Peter Haworth wrote: > Thanks for that Kay, I went with that approach and it took perhaps an hour > to write the import script. > > I am however, whether I like it or not, having to get into the weird world > of Unicode (I think). Some of the artist names and CD names in my iTunes > library have accented characters which end up in the tab delimited file as > . The corrupted characters then end up > in my database. > > I don't have any control over how iTunes exports the data so is it possible > for me to ensure that what ends up in my sqlite database is correct? The > default text encoding for sqlite db's is UTF-8 but it can be changed to > UTF-16, UTF-16le, or UTF-16be. > > Assuming that can be done, how do I make sure the artists names and album > names are correctly displayed in my fields/option menus/datagrids? Let's > assume for now that I will not be using LC7 for this From lan.kc.macmail at gmail.com Tue Apr 8 20:53:35 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 9 Apr 2014 08:53:35 +0800 Subject: Dramatic slowdown while resizing images by script In-Reply-To: References: Message-ID: Is this in relation to a Mac with Retina display. If so see the List post "LiveCode 6.6 very slow on Retina MacBookPro" The Rev blog entry: http://livecode.com/blog/2014/03/18/hi-speed-hidpi/ and Neil Roger's workaround to use QuickRes to manually set your screen resolution: http://techsupport.on-rev.com/QuickRes.app.zip Works like a charm. On Wed, Apr 9, 2014 at 7:50 AM, Alejandro Tejada wrote: > Hi All, > > Please, review this new bug report: > http://quality.runrev.com/show_bug.cgi?id=12148 > Add your comments and demonstration stacks to > this report. > > Created attachment 4113 [details] > Infinite Zoom 2014.livecode > (Stack with images that zoom in or zoom out on mousedown) > > 1. Download the zipped sample stack > > 2. Open the stack in LiveCode 6.6 > > 3. The stack opens in full screen. Using the keys alt-tab bring to front > the > LiveCode menu > > 4. Check the card script, before running. > > 5. To run the infinite zoom effect, click and hold down the mouse pointer > near the left side of the card (zoom in) or > near the right side of the card (zoom out) > > 6. Notice how the effect of resizing the images is slow and moves > step by step. > > 7. Notice the faint line in the border of every image, barely visible. > This border effectively breaks the illusion of a single continuous > and infinite image. > > 8. Follow the previous steps using LiveCode 6.5.2 > The stack runs perfectly. There is no trace of these > faint lines in image borders. > > 9. These marked differences in image processing speed was noticed > by Kenji Kojima in this message: > http://lists.runrev.com/pipermail/use-livecode/2014-March/199672.html > > Have a nice day! > > Al > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From lan.kc.macmail at gmail.com Tue Apr 8 21:58:13 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 9 Apr 2014 09:58:13 +0800 Subject: SQLite, Unicode & LC In-Reply-To: References: Message-ID: On Wed, Apr 9, 2014 at 7:07 AM, Peter Haworth wrote: I am however, whether I like it or not, having to get into the weird world > of Unicode (I think). Some of the artist names and CD names in my iTunes > library have accented characters which end up in the tab delimited file as > . The corrupted characters then end up > in my database. > > I don't have any control over how iTunes exports the data so is it possible > for me to ensure that what ends up in my sqlite database is correct? The > default text encoding for sqlite db's is UTF-8 but it can be changed to > UTF-16, UTF-16le, or UTF-16be. I've just done a quick test and inserted my problem name into iTunes (appended it to the end of an album name) and I can Export the Playlist and it comes back fine. Are you seeing EVERY ascented character corrupted, or are some correct? As a workaround, with the appropriate playlist selected, select a track, then Select All, Copy and Paste into your favourite Text Editor. Does that come out correctly? From revolution at derbrill.de Wed Apr 9 02:16:31 2014 From: revolution at derbrill.de (Malte Brill) Date: Wed, 9 Apr 2014 08:16:31 +0200 Subject: A weird bug/occurrence In-Reply-To: References: Message-ID: Hi Geoff, I happen to see disappearing controls in a standalone from time to time. The funny thing is that a white rectangle seems to be drawn in the space where the control should be. Did you happen to report this as a bug already? All the best, Malte From rene.micout at numericable.com Wed Apr 9 03:09:08 2014 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Wed, 9 Apr 2014 09:09:08 +0200 Subject: iTunes Library In-Reply-To: References: Message-ID: <1F5CE38E-F606-48FC-990C-E8A68899250E@numericable.com> Hello Peter, I have do that (I think it is not complete) : replace "??" with "?" in vlListeAlbums replace "??" with "?" in vlListeAlbums replace "??" with "?" in vlListeAlbums replace "??" with "?" in vlListeAlbums replace "??" with "?" in vlListeAlbums replace "??" with "?" in vlListeAlbums replace "??" with "?" in vlListeAlbums replace "??" with "?" in vlListeAlbums replace "??" with "?" in vlListeAlbums replace "??" with "?" in vlListeAlbums replace "??" with "?" in vlListeAlbums replace "??" with "?" in vlListeAlbums replace "??" with "?" in vlListeAlbums replace "??" with "?" in vlListeAlbums replace "??" with "?" in vlListeAlbums replace "??" with "?" in vlListeAlbums replace "??" with "?" in vlListeAlbums replace "??" with "?" in vlListeAlbums replace "??" with "?" in vlListeAlbums replace "??" with "?" in vlListeAlbums replace "??" with "?" in vlListeAlbums replace "??" with "?" in vlListeAlbums replace "??" with "?" in vlListeAlbums replace "??" with "?" in vlListeAlbums replace "??" with "?" in vlListeAlbums Bon souvenir de Paris Ren? Le 9 avr. 2014 ? 01:07, Peter Haworth a ?crit : > I don't have any control over how iTunes exports the data so is it possible > for me to ensure that what ends up in my sqlite database is correct? The > default text encoding for sqlite db's is UTF-8 but it can be changed to > UTF-16, UTF-16le, or UTF-16be. > > Assuming that can be done, how do I make sure the artists names and album > names are correctly displayed in my fields/option menus/datagrids? Let's > assume for now that I will not be using LC7 for this. From ben at runrev.com Wed Apr 9 05:47:17 2014 From: ben at runrev.com (Benjamin Beaumont) Date: Wed, 9 Apr 2014 10:47:17 +0100 Subject: RELEASE: LiveCode 6.6.1 In-Reply-To: References: Message-ID: Dear LiveCode Users, It has come to our attention that some users posted on the forums that 6.6.1 RC1 was still crashing on Windows systems despite our attempts to fix it. With 6.6.1 now released to the public we are looking to resolve any remaining crashing issues on Windows in LiveCode 6.6.2. We would hugely value the support of Windows users in helping us reproduce this issue. Internal testing of LiveCode 6.6.1 on various version of Windows seemed to indicate that the rendering glitches, disappearing windows and crashes had been resolved so at the moment we have not seen any crashes with LiveCode 6.6.1 GM1. The issues on Windows 6.6 were related to a small GDI resource leak which was plugged in 6.6.1. It caused the Windows operating system rendering engine to get confused, stop drawing portions of or whole windows and ultimately causing LiveCode to lockup and crashes. Could we ask Windows users to test LiveCode 6.6.1 once again and feedback if they experience a crash. Please report the circumstances, a crash log (if one was generated) and if possible, a set of steps to recreate the crash. Thank you for your help. Warm regards, Ben On 8 April 2014 16:33, Benjamin Beaumont wrote: > Dear LiveCode users. > > LiveCode 6.6.1 is now available. This is a stable release. > > *Notable fixes* > The issues on Windows with the IDE and applications freezing or not > redrawing correctly have been fixed. > > *Release Contents* > > - 4 bug fixes: > - 12010 - Windows engine hangs after multiple stack redraws. > - 12006 - HTTP (HTML) URLs encoded with anything other than a > native character set are returned incorrectly > - 11975 - "import snapshot from rect ..." only imports part of the > screen on Windows > - 11708 - Android apps only partially drawn after rotating device > during lock screen > > *Getting this release* > To upgrade to this release please select "check for updates" from the help > menu in LiveCode or download the installers directly at: > http://downloads.livecode.com/livecode/ > > Warm regards, > > The LiveCode team. > -- _____________________________________________ Benjamin Beaumont . RunRev Ltd LiveCode Product Manager mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW email : ben at runrev.com company : +44(0) 845 219 89 23 fax : +44(0) 845 458 8487 web : www.runrev.com LiveCode - Programming made simple From livfoss at mac.com Wed Apr 9 08:27:34 2014 From: livfoss at mac.com (Graham Samuel) Date: Wed, 09 Apr 2014 14:27:34 +0200 Subject: Typing Unicode In-Reply-To: <6BC10C37-390A-4DE5-882D-957F1C4870AF@kagi.com> References: <1395312357.20140405120454@ahsoftware.net> <6BC10C37-390A-4DE5-882D-957F1C4870AF@kagi.com> Message-ID: <44507C0F-80B7-4DD3-BA23-5574D14590DF@mac.com> Hi all I'm not surprised that I didn't get a reply to my question below, apart from maybe Richmond: after all, if he has people typing Sanskrit, they must have some kind of keyboard or other interface device to do it. Tell us, what is it? At the moment, since my own required set of Unicode-only (non-normal keyboard) characters is quite limited, I'm going for a little window (stack) with a grid of characters that can be picked by the mouse (or if there is a mobile version, your finger). This is fine I reckon up to a grid of say 4 x 4 characters, which is in fact more than I currently need, and which would be entirely cross-platform since the glyphs can be represented as images and don't have to be capable of being displayed natively. Pretty much like a simplified colour picker. But it wouldn't do for a complete alphabet in a foreign language - I guess that just has to be a soft keyboard, no? Incidentally, if Unicode 'just works', what actually is the capability of say Mavericks and Windows 8 of displaying 'specialised' glyphs (like maths and logic symbols) or for that matter, Sanskrit? Anyone know? Graham > I'm not sure if this is OT or not. I'm about to offer users of a desktop app (Mac and Windows) the ability to input some mathematical symbols, along with ordinary alphanumeric text. Clearly these symbols will be processed by the program as Unicode characters, since soon we will have "Unicode just works" for real. But my users are going to want to type these characters easily, using a conventional keyboard, which has very few such symbols, or - what? A soft keyboard, as on a touchscreen device (I'm using one to write this message on my iPad)? Or a dropdown list? Or some kind of multikey processing routine? Or something else? And how cross-platform is it possible to get? > > Has anyone else worked on this problem and if so, what was the most ergonomic solution? > > TIA > > Graham From fraser.gordon at runrev.com Wed Apr 9 08:36:24 2014 From: fraser.gordon at runrev.com (Fraser Gordon) Date: Wed, 9 Apr 2014 13:36:24 +0100 Subject: Typing Unicode In-Reply-To: <44507C0F-80B7-4DD3-BA23-5574D14590DF@mac.com> References: <1395312357.20140405120454@ahsoftware.net> <6BC10C37-390A-4DE5-882D-957F1C4870AF@kagi.com> <44507C0F-80B7-4DD3-BA23-5574D14590DF@mac.com> Message-ID: <57F20B11-A7BD-4478-B4BF-2E2F55A8CBC7@runrev.com> On 9 Apr 2014, at 13:27, Graham Samuel wrote: > > At the moment, since my own required set of Unicode-only (non-normal keyboard) characters is quite limited, I'm going for a little window (stack) with a grid of characters that can be picked by the mouse (or if there is a mobile version, your finger). This is fine I reckon up to a grid of say 4 x 4 characters, which is in fact more than I currently need, and which would be entirely cross-platform since the glyphs can be represented as images and don't have to be capable of being displayed natively. Pretty much like a simplified colour picker. But it wouldn't do for a complete alphabet in a foreign language - I guess that just has to be a soft keyboard, no? Most platforms offer the ability to switch keyboard layouts and can make use of on-screen keyboards and other input method editors (IMEs). As a matter of personal preference, I think a palette works quite well for mathematical symbols that aren't likely to be found on keyboards (most equation editors I've used take this route). Saying that, I do also like the convenience of LaTeX-style \commands when entering long equations ;) > Incidentally, if Unicode 'just works', what actually is the capability of say Mavericks and Windows 8 of displaying 'specialised' glyphs (like maths and logic symbols) or for that matter, Sanskrit? Anyone know? It all depends on the font. I believe most common fonts have fairly complete support for the "mathematical symbols" part of Unicode. Fallback fonts mean that they should continue to display even if an incomplete font is selected. There are also some free fonts available that have the goal of covering the entire Unicode repertoire but their quality is variable. Regards, Fraser From mikedoub at gmail.com Wed Apr 9 10:24:08 2014 From: mikedoub at gmail.com (Michael Doub) Date: Wed, 9 Apr 2014 10:24:08 -0400 Subject: field advice Message-ID: Folks I am looking for some advice. I am trying to create a field that contains text that is dynamically filled simulating the turning of pages. Within that field I was planning to use the link style for internal navigation within the book but I also need a mechanism for the user to click on something else to control other functions. I had hoped to use links of different colors for different functions but I have learned that links apply to the entire stack and are all the same color. What other options might be available to me? Is it possible to detect that an imagesource character has be clicked? Thanks in advance, Mike From rdimola at evergreeninfo.net Wed Apr 9 10:48:00 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 9 Apr 2014 10:48:00 -0400 Subject: field advice In-Reply-To: References: Message-ID: <003a01cf5402$b47e2f30$1d7a8d90$@net> Mike, That is the default color. After setting the link one can then change the color. like this... set the textstyle of word x to y of line z of control "myfield " to "link" set the textcolor of word x to y of line z of control "myfield" to "red" The link still works. 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 Michael Doub Sent: Wednesday, April 09, 2014 10:24 AM To: How To use LiveCode use LiveCode Subject: field advice Folks I am looking for some advice. I am trying to create a field that contains text that is dynamically filled simulating the turning of pages. Within that field I was planning to use the link style for internal navigation within the book but I also need a mechanism for the user to click on something else to control other functions. I had hoped to use links of different colors for different functions but I have learned that links apply to the entire stack and are all the same color. What other options might be available to me? Is it possible to detect that an imagesource character has be clicked? Thanks in advance, Mike _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Wed Apr 9 11:23:53 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 9 Apr 2014 15:23:53 +0000 Subject: SQLite, Unicode & LC In-Reply-To: References: Message-ID: Just talking out my derrier here, but can?t you simply uniencode all your data that contains odd characters, then store them as a blob in your database? Unidecode them when your read them out of the database? Bob On Apr 8, 2014, at 18:58 , Kay C Lan wrote: > On Wed, Apr 9, 2014 at 7:07 AM, Peter Haworth wrote: > > I am however, whether I like it or not, having to get into the weird world >> of Unicode (I think). Some of the artist names and CD names in my iTunes >> library have accented characters which end up in the tab delimited file as >> . The corrupted characters then end up >> in my database. >> >> I don't have any control over how iTunes exports the data so is it possible >> for me to ensure that what ends up in my sqlite database is correct? The >> default text encoding for sqlite db's is UTF-8 but it can be changed to >> UTF-16, UTF-16le, or UTF-16be. > > > I've just done a quick test and inserted my problem name into iTunes > (appended it to the end of an album name) and I can Export the Playlist and > it comes back fine. Are you seeing EVERY ascented character corrupted, or > are some correct? > > As a workaround, with the appropriate playlist selected, select a track, > then Select All, Copy and Paste into your favourite Text Editor. Does that > come out correctly? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Wed Apr 9 11:24:49 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 9 Apr 2014 15:24:49 +0000 Subject: iTunes Library In-Reply-To: References: Message-ID: If it?s just for Apple, use Applescript to get the data out. Bob On Apr 7, 2014, at 18:41 , Peter Haworth wrote: > I'm looking to get information out of iTunes and store it into an SQL > database. There's an export function in iTunes that creates XML but it > create one XML block for each track (the tracks have a unique ID), but no > separate XML blocks for the Artists and CDs > > I guess I could write some sort of script to parse the XML and create > unique entries but thought I would check if anyone has a stack that would > help with this. > > Thanks, > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From eric.sciolli at sunrise.ch Wed Apr 9 11:27:02 2014 From: eric.sciolli at sunrise.ch (Eric Sciolli) Date: Wed, 9 Apr 2014 17:27:02 +0200 Subject: print datas Message-ID: Hello LiveCode Users, I need to print some datas organized in a complex table (cells union, different styles,...) which will occupy more than a page. What is the best way to do this? I thought about something like output datas and table format as html. Maybe someone can give me another idea? Thank you for attention Eric Sciolli From pete at lcsql.com Wed Apr 9 11:43:03 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 9 Apr 2014 08:43:03 -0700 Subject: iTunes Library In-Reply-To: <1F5CE38E-F606-48FC-990C-E8A68899250E@numericable.com> References: <1F5CE38E-F606-48FC-990C-E8A68899250E@numericable.com> Message-ID: Thanks Rene, that looks like it covers all the strange characters I'm seeing. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Wed, Apr 9, 2014 at 12:09 AM, Ren? Micout wrote: > Hello Peter, I have do that (I think it is not complete) : > replace "??" with "?" in vlListeAlbums > replace "??" with "?" in vlListeAlbums > replace "??" with "?" in vlListeAlbums > replace "??" with "?" in vlListeAlbums > replace "??" with "?" in vlListeAlbums > replace "??" with "?" in vlListeAlbums > replace "??" with "?" in vlListeAlbums > replace "??" with "?" in vlListeAlbums > replace "??" with "?" in vlListeAlbums > replace "??" with "?" in vlListeAlbums > replace "??" with "?" in vlListeAlbums > replace "??" with "?" in vlListeAlbums > replace "??" with "?" in vlListeAlbums > replace "??" with "?" in vlListeAlbums > replace "??" with "?" in vlListeAlbums > replace "??" with "?" in vlListeAlbums > replace "??" with "?" in vlListeAlbums > replace "??" with "?" in vlListeAlbums > replace "??" with "?" in vlListeAlbums > replace "??" with "?" in vlListeAlbums > replace "??" with "?" in vlListeAlbums > replace "??" with "?" in vlListeAlbums > replace "??" with "?" in vlListeAlbums > replace "??" with "?" in vlListeAlbums > replace "??" with "?" in vlListeAlbums > Bon souvenir de Paris > Ren? > > Le 9 avr. 2014 ? 01:07, Peter Haworth a ?crit : > > > I don't have any control over how iTunes exports the data so is it > possible > > for me to ensure that what ends up in my sqlite database is correct? The > > default text encoding for sqlite db's is UTF-8 but it can be changed to > > UTF-16, UTF-16le, or UTF-16be. > > > > Assuming that can be done, how do I make sure the artists names and album > > names are correctly displayed in my fields/option menus/datagrids? Let's > > assume for now that I will not be using LC7 for 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 bobsneidar at iotecdigital.com Wed Apr 9 11:50:39 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 9 Apr 2014 15:50:39 +0000 Subject: print datas In-Reply-To: References: Message-ID: <9987D91E-477B-404D-9AEC-DDABD070F15E@iotecdigital.com> Crystal Reports should do it. If the data is stored in a database (and even methinks in a spreadsheet or text file) Crystal Reports should be able to access it so that you can design your report and output it. Doing this in LC is simply a matter of writing code to populate a card with the data in the right places, then print the card. You *could* I suppose, have one great big field on a card the size of the page you want, then build your HTML programmatically, and then set the htmlText of the field to the result. I don?t see why that would not work as well. Bob On Apr 9, 2014, at 08:27 , Eric Sciolli wrote: > Hello LiveCode Users, > I need to print some datas organized in a complex table (cells union, > different styles,...) which will occupy more than a page. What is the best > way to do this? I thought about something like output datas and table > format as html. Maybe someone can give me another idea? > Thank you for attention > > Eric Sciolli > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 9 12:14:10 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 9 Apr 2014 09:14:10 -0700 Subject: SQLite, Unicode & LC In-Reply-To: References: Message-ID: Hi Kay, I think I have got this working. Looking at the dictionary entry for uniencode, there's a user note with the following recommendation: put unidecode(uniencode(tData,"UTF8)) into tData Tried that and it fixed the problem, database looks fine now. The user note credits Devin Assay and Dave Cragg for the solution so thanks to those folks. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Tue, Apr 8, 2014 at 6:58 PM, Kay C Lan wrote: > On Wed, Apr 9, 2014 at 7:07 AM, Peter Haworth wrote: > > I am however, whether I like it or not, having to get into the weird world > > of Unicode (I think). Some of the artist names and CD names in my iTunes > > library have accented characters which end up in the tab delimited file > as > > . The corrupted characters then end > up > > in my database. > > > > I don't have any control over how iTunes exports the data so is it > possible > > for me to ensure that what ends up in my sqlite database is correct? The > > default text encoding for sqlite db's is UTF-8 but it can be changed to > > UTF-16, UTF-16le, or UTF-16be. > > > I've just done a quick test and inserted my problem name into iTunes > (appended it to the end of an album name) and I can Export the Playlist and > it comes back fine. Are you seeing EVERY ascented character corrupted, or > are some correct? > > As a workaround, with the appropriate playlist selected, select a track, > then Select All, Copy and Paste into your favourite Text Editor. Does that > come out correctly? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ray at linkit.com Wed Apr 9 12:30:45 2014 From: ray at linkit.com (Ray) Date: Wed, 09 Apr 2014 12:30:45 -0400 Subject: Can't associate stacks with 6.6.1 In-Reply-To: References: Message-ID: <534575B5.5060807@LinkIt.Com> I've just installed 6.6.1 but I'm unable to open stacks I create with it by double-clicking them on the desktop although I can open them from within the program under the file menu. Any ideas anybody? From hechris at ziggo.nl Wed Apr 9 12:42:57 2014 From: hechris at ziggo.nl (chris heidecker) Date: Wed, 9 Apr 2014 18:42:57 +0200 Subject: HTML & CSS In-Reply-To: <67116DB20798A94285EEE12A67079A284CADEA23@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A284CADB33A@MHSEXC02.westrac.com.au>, <67116DB20798A94285EEE12A67079A284CADB520@MHSEXC02.westrac.com.au> <67116DB20798A94285EEE12A67079A284CADB559@MHSEXC02.westrac.com.au> <3864D25E-A6ED-4937-BD17-647C9041F411@ziggo.nl> <67116DB20798A94285EEE12A67079A284CADEA23@MHSEXC02.westrac.com.au> Message-ID: <84D9A903-344B-49FC-9DC0-CE4C2837DDE6@ziggo.nl> The method you mentioned, is using jQuery. So you will have to reference a file to use it. In the comments you?ll find a pure javascript method. You could use it with something like this:
  • the page can be in a nested directory
  • within the link directory
Op 9 apr. 2014, om 00:29 heeft Nakia Brewer het volgende geschreven: > Thanks for this. > > I will have an attempt at using this and see how I go. > > I eventually need to use this over around 20 pages so I was mainly looking for a way to automatically hilite the current tab based upon the value of the URL of the page > (Looking for tab name in URL) > > > > Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions > t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au > > > ACN 009 342 572 > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of chris heidecker > Sent: Tuesday, 8 April 2014 10:29 PM > To: How to use LiveCode > Subject: Re: HTML & CSS > > Hi, > > I'm not sure what you're goal is, so I'll provide 2 options for inspiration. > I didn't use the method you tried, moved the bg-color to the listitem and used a first-child/last-child for the corners. > > The first one, shows or hides a
on the same page depending on the currentTab The second one leaves out any javascript. If you've got just 3 pages, you can hard-code the currentTab. > Not really tested or elelegant. > > regards, Chris > > ----- > -- show the the corresponding div of the selected tab > ----- > > > > > > > >
    >
  • another list
  • >
  • without style
  • >
>
>

layer 1

layer 2

layer 3

> > > ----- > -- add a class currentTab to the currently showing page > ----- > > > > > > > > Op 5 apr. 2014, om 08:47 heeft Nakia Brewer het volgende geschreven: > >> I am trying to replicate the method here >> >> http://css-tricks.com/snippets/jquery/add-active-navigation-class-base >> d-on-url/ >> >> >> >> Nakia Brewer | Technology & Solutions Manager | Equipment Management >> Solutions >> t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au >> >> >> ACN 009 342 572 >> >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >> Behalf Of Nakia Brewer >> Sent: Saturday, 5 April 2014 5:33 PM >> To: How to use LiveCode >> Subject: RE: HTML & CSS >> >> So here is what I am trying to do.. >> Notes : I know next to nothing about HTML and CSS >> The form service where I am trying to embed this HTML code only allows me to embed the content as HTML. I cant reference files etc. >> >> So here is where I am up to. >> I have been able to create the Navbar in HTML and CSS and it works. I am now trying to add the ability for it to be able to detect if the current URL contains The content of one of its link and if so set an active class on that link so I can apply the hilite styling.. >> >> Man, I hope that makes sense.. >> >> Here is my attempt.. >> >> >> >> >> >> >> >> Nakia Brewer | Technology & Solutions Manager | Equipment Management >> Solutions >> t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au >> >> >> ACN 009 342 572 >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >> Behalf Of Nakia Brewer >> Sent: Saturday, 5 April 2014 5:10 PM >> To: How to use LiveCode >> Cc: How to use LiveCode >> Subject: Re: HTML & CSS >> >> Of only it was a website I was working on... >> >> It's actually for an online form service. They allow me to do customer page content in HTML which is where I am building the Nav bar.. >> >> Should make sense when I send it through.. >> >> Sent from my iPhone >> >>> On 5 Apr 2014, at 2:39 pm, "stephen barncard" wrote: >>> >>> On Fri, Apr 4, 2014 at 6:57 PM, Nakia Brewer wrote: >>> >>>> Just wondering if there are any HTML /CSS oracle's among us? >>> you don't need one. >>> >>> read this recent blog post. Bootstrap may be your answer. >>> >>> http://livecode.com/blog/2014/03/19/better-faster-stronger/ >>> >>> *--* >>> *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From devin_asay at byu.edu Wed Apr 9 13:05:43 2014 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 9 Apr 2014 17:05:43 +0000 Subject: SQLite, Unicode & LC In-Reply-To: References: Message-ID: <4CB44AF4-FA47-417A-BBE0-0876A91C1FD4@byu.edu> Kay and Pete, On Apr 9, 2014, at 10:14 AM, Peter Haworth wrote: > Hi Kay, > I think I have got this working. Looking at the dictionary entry for > uniencode, there's a user note with the following recommendation: > > put unidecode(uniencode(tData,"UTF8)) into tData > > Tried that and it fixed the problem, database looks fine now. > > The user note credits Devin Assay and Dave Cragg for the solution so thanks > to those folks. Yep, that's the way to do it for now. Once LC 7 hits the streets it will be slightly different (and simpler.) Devin Devin Asay Learn to code with LiveCode University http://university.livecode.com From richmondmathewson at gmail.com Wed Apr 9 13:32:43 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 09 Apr 2014 20:32:43 +0300 Subject: Typing Unicode In-Reply-To: <44507C0F-80B7-4DD3-BA23-5574D14590DF@mac.com> References: <1395312357.20140405120454@ahsoftware.net> <6BC10C37-390A-4DE5-882D-957F1C4870AF@kagi.com> <44507C0F-80B7-4DD3-BA23-5574D14590DF@mac.com> Message-ID: <5345843B.2050803@gmail.com> On 9.04.2014 15:27, Graham Samuel wrote: > Hi all > > I'm not surprised that I didn't get a reply to my question below, apart from maybe Richmond: after all, if he has people typing Sanskrit, they must have some kind of keyboard or other interface device to do it. Tell us, what is it? > > Talk about trailing your coat . . . There is a simple reason I did not reply to your posting: As far as I understood your posting I thought you were wanting to make an on-screen keyboard is Livecode that would allow you to type into other applications [rather than type into a field in a Livecode stack], and the simple fact is that I don't know how to do that. Both my Devawriter and my PISMO feature on-screen keyboard that enter text (Devawriter via all sorts of jazzy post-processing, and PISMO directly] into a field in the same card: I have, subsequently experimented with a palette keyboard that will type in the desired writing system into whichever field and whatever stack that is selected. About 2 or 3 weeks ago, when I was playing with a paletted keyboard I posted a question about how to use that to type into a textEditor on this Use-List; and it fell flat on its face. If you want a virtual keyboard inwith your app, I'm yer man; if you want something to type into other apps, I'm (at least currently) completely useless. Richmond. From richmondmathewson at gmail.com Wed Apr 9 13:41:07 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 09 Apr 2014 20:41:07 +0300 Subject: Login to Forums Message-ID: <53458633.9080800@gmail.com> not working. Richmond. From capellan2000 at gmail.com Wed Apr 9 13:55:20 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 9 Apr 2014 10:55:20 -0700 (PDT) Subject: Dramatic slowdown while resizing images by script In-Reply-To: <40DC0650-6C7B-49C6-B1A5-87B39BB71556@kenjikojima.com> References: <40DC0650-6C7B-49C6-B1A5-87B39BB71556@kenjikojima.com> Message-ID: <1397066120016-4678121.post@n4.nabble.com> Kenji Kojima wrote > Thanks Alejandro > This is a technical note I have developed. > http://kenjikojima.com/splitMerge/techNote1.html > > The project ?Split/Merge AudioVisual? is here. > http://kenjikojima.com/splitMerge/ > > If I cannot use the old image filter, I have to give up. Your audiovisual project is wonderful. A real mind opening experience. After converting successfully images in sounds, Have you tried converting sounds in images? I hope that you find the way to compile this application for Linux and Windows, too. Just for curiosity, Have you tried to recreate Mozart Dice Game in LiveCode? http://www.pianonoise.com/Article.dice.htm http://scratch.mit.edu/projects/1516316/ (This Flash movie is 5 megabytes, so it takes a while to load) I am sure that RunRev will solve this slowdown. Keep Up your groundbreaking work! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Dramatic-slowdown-while-resizing-images-by-script-tp4678098p4678121.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Wed Apr 9 13:56:44 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 09 Apr 2014 10:56:44 -0700 Subject: Login to Forums In-Reply-To: <53458633.9080800@gmail.com> References: <53458633.9080800@gmail.com> Message-ID: <534589DC.9080706@fourthworld.com> Richmond wrote: > not working. They seem to be working from here. Anyone else seeing this? -- 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 dixonja at hotmail.co.uk Wed Apr 9 14:04:51 2014 From: dixonja at hotmail.co.uk (John Dixon) Date: Wed, 9 Apr 2014 19:04:51 +0100 Subject: Login to Forums In-Reply-To: <534589DC.9080706@fourthworld.com> References: <53458633.9080800@gmail.com>,<534589DC.9080706@fourthworld.com> Message-ID: Working from here too... > Date: Wed, 9 Apr 2014 10:56:44 -0700 > From: ambassador at fourthworld.com > To: use-livecode at lists.runrev.com > Subject: Re: Login to Forums > > Richmond wrote: > > > not working. > > They seem to be working from here. > > Anyone else seeing this? > > -- > Richard Gaskin From pete at lcsql.com Wed Apr 9 14:07:13 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 9 Apr 2014 11:07:13 -0700 Subject: SQLite, Unicode & LC In-Reply-To: <4CB44AF4-FA47-417A-BBE0-0876A91C1FD4@byu.edu> References: <4CB44AF4-FA47-417A-BBE0-0876A91C1FD4@byu.edu> Message-ID: Thanks Devin, I was wondering about that. Will the above method still work in 7? Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Wed, Apr 9, 2014 at 10:05 AM, Devin Asay wrote: > Kay and Pete, > > > On Apr 9, 2014, at 10:14 AM, Peter Haworth wrote: > > > Hi Kay, > > I think I have got this working. Looking at the dictionary entry for > > uniencode, there's a user note with the following recommendation: > > > > put unidecode(uniencode(tData,"UTF8)) into tData > > > > Tried that and it fixed the problem, database looks fine now. > > > > The user note credits Devin Assay and Dave Cragg for the solution so > thanks > > to those folks. > > Yep, that's the way to do it for now. Once LC 7 hits the streets it will > be slightly different (and simpler.) > > Devin > > > Devin Asay > Learn to code with LiveCode University > http://university.livecode.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 devin_asay at byu.edu Wed Apr 9 14:21:02 2014 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 9 Apr 2014 18:21:02 +0000 Subject: SQLite, Unicode & LC In-Reply-To: References: <4CB44AF4-FA47-417A-BBE0-0876A91C1FD4@byu.edu> Message-ID: On Apr 9, 2014, at 12:07 PM, Peter Haworth wrote: > Thanks Devin, I was wondering about that. Will the above method still work > in 7? I believe it will still work, but will be deprecated. > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > > > On Wed, Apr 9, 2014 at 10:05 AM, Devin Asay wrote: > >> Kay and Pete, >> >> >> On Apr 9, 2014, at 10:14 AM, Peter Haworth wrote: >> >>> Hi Kay, >>> I think I have got this working. Looking at the dictionary entry for >>> uniencode, there's a user note with the following recommendation: >>> >>> put unidecode(uniencode(tData,"UTF8)) into tData >>> >>> Tried that and it fixed the problem, database looks fine now. >>> >>> The user note credits Devin Assay and Dave Cragg for the solution so >> thanks >>> to those folks. >> >> Yep, that's the way to do it for now. Once LC 7 hits the streets it will >> be slightly different (and simpler.) >> Devin Asay Office of Digital Humanities Brigham Young University From jacque at hyperactivesw.com Wed Apr 9 14:59:12 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 09 Apr 2014 13:59:12 -0500 Subject: Enterprise iOS License Distribution... In-Reply-To: References: Message-ID: <53459880.5040404@hyperactivesw.com> I don't know anything about Profile Manager, so take this with a grain of salt. But my guess is that it only recognizes Mac apps, and a iOS app is a different beast entirely and requires a different kind of installation. Also, as far as I know, Apple prohibits remote installation on iOS devices, so I doubt a bulk install is possible. It's a walled garden. There are a few utilities that allow you to create ad-hoc installations where the files are stored on a web site or server. My AirLaunch is one, Monte has mergTestApp which integrates with the TestFlight web site, and there are other web sites out there too. To install an iOS app you need an html file that points to a special manifest file, which in turn initiates the download of the actual app to the device. On 4/8/14, 6:19 PM, JOHN PATTEN wrote: > Thought I?d ask just in case somebody else has experienced this > situation. We have a new Apple Enterprise iOS license for > distributing iOS apps built with LiveCode. I have configured the our > workstation with the proper profiles, first creating a development > profile and making sure that we could test apps out on a iPad. > Everything in that department works fine. > > I then installed our distribution profile and created the same app > with the Enterprise distribution profile. In our school district we > are using Profile Manager (part of OS X Mavs Server) to manage apps > we purchase and, eventually, apps we create. Profile Manager works > fine and we can easily push out apps we puchase over the air. > > However, when trying to add an app we developed with our Enterprise > profile, it spits back: Filetype Not Supported. The file you > selected is not supported. Please choose a different file. > > Anybody have any experience with this specific situation? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Wed Apr 9 15:07:08 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 9 Apr 2014 12:07:08 -0700 Subject: SQLite, Unicode & LC In-Reply-To: References: <4CB44AF4-FA47-417A-BBE0-0876A91C1FD4@byu.edu> Message-ID: On Wed, Apr 9, 2014 at 11:21 AM, Devin Asay wrote: > > Thanks Devin, I was wondering about that. Will the above method still > work > > in 7? > > I believe it will still work, but will be deprecated. > Hi Devin, Yes, just saw that in the 7.0 release notes. I also see that there is a new form of the open file/process/socket commands to deal with different encodings but I didn't see anything equivalent when using the get/put URL commands to read a file. I use those commands a lot to read files so wondering if they will be able to handle different encodings? Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From index at kenjikojima.com Wed Apr 9 15:09:19 2014 From: index at kenjikojima.com (Kenji Kojima) Date: Wed, 9 Apr 2014 15:09:19 -0400 Subject: Dramatic slowdown while resizing images by script In-Reply-To: <1397066120016-4678121.post@n4.nabble.com> References: <40DC0650-6C7B-49C6-B1A5-87B39BB71556@kenjikojima.com> <1397066120016-4678121.post@n4.nabble.com> Message-ID: <81835AEC-318B-49AD-9286-6A0763E0B75F@kenjikojima.com> Alejandro, > After converting successfully images in sounds, > Have you tried converting sounds in images? This is two sounds into an image. https://vimeo.com/89101333 > > I hope that you find the way to compile this application > for Linux and Windows, too. I tried Windows & MacOS. But I could not make a cross platform files. Because for Gamma. Probably there are some ways I can adjust them. I will see what "Mozart Dice Game? is later. -- Kenji Kojima / ???? http://www.kenjikojima.com/ From devin_asay at byu.edu Wed Apr 9 15:30:20 2014 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 9 Apr 2014 19:30:20 +0000 Subject: SQLite, Unicode & LC In-Reply-To: References: <4CB44AF4-FA47-417A-BBE0-0876A91C1FD4@byu.edu> Message-ID: <14AC6E7F-5856-417B-9936-AA7254ED1EEE@byu.edu> On Apr 9, 2014, at 1:07 PM, Peter Haworth wrote: > On Wed, Apr 9, 2014 at 11:21 AM, Devin Asay wrote: > >>> Thanks Devin, I was wondering about that. Will the above method still >> work >>> in 7? >> >> I believe it will still work, but will be deprecated. >> > > Hi Devin, > Yes, just saw that in the 7.0 release notes. > > I also see that there is a new form of the open file/process/socket > commands to deal with different encodings but I didn't see anything > equivalent when using the get/put URL commands to read a file. I use those > commands a lot to read files so wondering if they will be able to handle > different encodings? Saving: on mouseUp ask file "Save to file.." if it is empty then exit to top put textEncode(fld "nonlatin","utf8") into url ("file:" & it) put the result end mouseUp Reading in: on mouseUp answer file "Open file.." if it is empty then exit to top put url ("file:" & it) into tText put textDecode(tText,"utf8") into fld "nonlatin" put the result end mouseUp You have to know the format of the file you're reading in, but it works well. Devin Devin Asay Office of Digital Humanities Brigham Young University From devin_asay at byu.edu Wed Apr 9 15:49:52 2014 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 9 Apr 2014 19:49:52 +0000 Subject: Can't associate stacks with 6.6.1 In-Reply-To: <534575B5.5060807@LinkIt.Com> References: <534575B5.5060807@LinkIt.Com> Message-ID: <130B0239-C6DD-4A78-BC94-8707D5022972@byu.edu> On Apr 9, 2014, at 10:30 AM, Ray wrote: > I've just installed 6.6.1 but I'm unable to open stacks I create with it by double-clicking them on the desktop although I can open them from within the program under the file menu. > > Any ideas anybody? What happens now when you double click a LC file? What OS are you on? Devin Devin Asay Learn to code with LiveCode University http://university.livecode.com From ray at linkit.com Wed Apr 9 15:59:10 2014 From: ray at linkit.com (Ray) Date: Wed, 09 Apr 2014 15:59:10 -0400 Subject: Can't associate stacks with 6.6.1 In-Reply-To: <130B0239-C6DD-4A78-BC94-8707D5022972@byu.edu> References: <534575B5.5060807@LinkIt.Com> <130B0239-C6DD-4A78-BC94-8707D5022972@byu.edu> Message-ID: <5345A68E.2070905@LinkIt.Com> Devin - thanks for your interest. I'm on Windows 8.1. When I double-click an LC file I'm prompted to choose the default app. My new version of LC is never listed so I have to scroll to the bottom and choose "More Options", find it and select it. That's when my system hangs, trying to associate LC files with the new version. My thinking is a solution will involve removing something in the registry. I just don't know what it is. On 4/9/2014 3:49 PM, Devin Asay wrote: > On Apr 9, 2014, at 10:30 AM, Ray wrote: > >> I've just installed 6.6.1 but I'm unable to open stacks I create with it by double-clicking them on the desktop although I can open them from within the program under the file menu. >> >> Any ideas anybody? > What happens now when you double click a LC file? What OS are you on? > > Devin > > > Devin Asay > Learn to code with LiveCode University > http://university.livecode.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 devin_asay at byu.edu Wed Apr 9 16:05:28 2014 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 9 Apr 2014 20:05:28 +0000 Subject: Can't associate stacks with 6.6.1 In-Reply-To: <5345A68E.2070905@LinkIt.Com> References: <534575B5.5060807@LinkIt.Com> <130B0239-C6DD-4A78-BC94-8707D5022972@byu.edu> <5345A68E.2070905@LinkIt.Com> Message-ID: <16430D77-406A-44CA-BF14-3F9227E9C994@byu.edu> On Apr 9, 2014, at 1:59 PM, Ray wrote: > Devin - thanks for your interest. I'm on Windows 8.1. When I double-click an LC file I'm prompted to choose the default app. My new version of LC is never listed so I have to scroll to the bottom and choose "More Options", find it and select it. That's when my system hangs, trying to associate LC files with the new version. > > My thinking is a solution will involve removing something in the registry. I just don't know what it is. You've about reached the limits of my Windows 8 expertise. I was going to suggest right-clicking on the LC file then choosing a default application to open all LC stack files. But you're right, it sounds like you need to do some registry plumbing. Devin Devin Asay Office of Digital Humanities Brigham Young University From capellan2000 at gmail.com Wed Apr 9 16:07:17 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 9 Apr 2014 13:07:17 -0700 (PDT) Subject: The Revenge of Buffer Overflows Message-ID: <1397074037708-4678133.post@n4.nabble.com> A single line of code: memcpy(bp, pl, payload); produced a data breach of unexpected consequences... http://gizmodo.com/how-heartbleed-works-the-code-behind-the-internets-se-1561341209/all -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/The-Revenge-of-Buffer-Overflows-tp4678133.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Wed Apr 9 16:24:58 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 09 Apr 2014 13:24:58 -0700 Subject: The Revenge of Buffer Overflows In-Reply-To: <1397074037708-4678133.post@n4.nabble.com> References: <1397074037708-4678133.post@n4.nabble.com> Message-ID: <5345AC9A.7030808@fourthworld.com> Alejandro Tejada wrote: > A single line of code: > > memcpy(bp, pl, payload); > > produced a data breach of > unexpected consequences... > > http://gizmodo.com/how-heartbleed-works-the-code-behind-the-internets-se-1561341209/all Scott Raney's opinion on buffer overflows: :) -- 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 andrew at ctech.me Wed Apr 9 16:35:31 2014 From: andrew at ctech.me (Andrew Kluthe) Date: Wed, 9 Apr 2014 15:35:31 -0500 Subject: print datas In-Reply-To: References: Message-ID: I really like outputting HTML files that are styled specifically for printing. I was using a modified version of twitter bootstrap that I tweaked for printing and using things like js charting tools to compliment this. This made for some pretty reports that could also be rendered nicely on mobile and desktop devices. The new browser object that is coming up might take that approach to the next level depending on how it renders printing. On Apr 9, 2014 10:27 AM, "Eric Sciolli" wrote: > Hello LiveCode Users, > I need to print some datas organized in a complex table (cells union, > different styles,...) which will occupy more than a page. What is the best > way to do this? I thought about something like output datas and table > format as html. Maybe someone can give me another idea? > Thank you for attention > > Eric Sciolli > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ray at linkit.com Wed Apr 9 17:19:28 2014 From: ray at linkit.com (Ray) Date: Wed, 09 Apr 2014 17:19:28 -0400 Subject: Can't associate stacks with 6.6.1 In-Reply-To: <16430D77-406A-44CA-BF14-3F9227E9C994@byu.edu> References: <534575B5.5060807@LinkIt.Com> <130B0239-C6DD-4A78-BC94-8707D5022972@byu.edu> <5345A68E.2070905@LinkIt.Com> <16430D77-406A-44CA-BF14-3F9227E9C994@byu.edu> Message-ID: <5345B960.2000102@LinkIt.Com> Devin - thanks anyway. Maybe somebody else will have an idea or two. On 4/9/2014 4:05 PM, Devin Asay wrote: > On Apr 9, 2014, at 1:59 PM, Ray > wrote: > >> Devin - thanks for your interest. I'm on Windows 8.1. When I double-click an LC file I'm prompted to choose the default app. My new version of LC is never listed so I have to scroll to the bottom and choose "More Options", find it and select it. That's when my system hangs, trying to associate LC files with the new version. >> >> My thinking is a solution will involve removing something in the registry. I just don't know what it is. > You've about reached the limits of my Windows 8 expertise. I was going to suggest right-clicking on the LC file then choosing a default application to open all LC stack files. But you're right, it sounds like you need to do some registry plumbing. > > Devin > > > 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 capellan2000 at gmail.com Wed Apr 9 17:58:47 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 9 Apr 2014 14:58:47 -0700 (PDT) Subject: The Revenge of Buffer Overflows In-Reply-To: <5345AC9A.7030808@fourthworld.com> References: <1397074037708-4678133.post@n4.nabble.com> <5345AC9A.7030808@fourthworld.com> Message-ID: <1397080727891-4678137.post@n4.nabble.com> Richard Gaskin wrote > Scott Raney's opinion on buffer overflows: > <https://www.mail-archive.com/ > metacard at .runrev > /msg02659.html> Many thanks for posting this message from Scott Raney. >From this message, I found the Top 25 software errors: http://www.sans.org/top25-software-errors/ And Buffer Overflows is at the top in his category: Risky Resource Management http://cwe.mitre.org/top25/index.html#CWE-120 This incident just generates more questions: Who made this specific change in the OpenSSL code? Did he actually knew the consequences of the changes that he committed? Why nobody else noticed, until now? Who knows what evil lurks in the source of trusted software? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/The-Revenge-of-Buffer-Overflows-tp4678133p4678137.html Sent from the Revolution - User mailing list archive at Nabble.com. From Nakia.Brewer at westrac.com.au Wed Apr 9 18:36:59 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Wed, 9 Apr 2014 22:36:59 +0000 Subject: HTML & CSS In-Reply-To: <84D9A903-344B-49FC-9DC0-CE4C2837DDE6@ziggo.nl> References: <67116DB20798A94285EEE12A67079A284CADB33A@MHSEXC02.westrac.com.au>, <67116DB20798A94285EEE12A67079A284CADB520@MHSEXC02.westrac.com.au> <67116DB20798A94285EEE12A67079A284CADB559@MHSEXC02.westrac.com.au> <3864D25E-A6ED-4937-BD17-647C9041F411@ziggo.nl> <67116DB20798A94285EEE12A67079A284CADEA23@MHSEXC02.westrac.com.au> <84D9A903-344B-49FC-9DC0-CE4C2837DDE6@ziggo.nl> Message-ID: <67116DB20798A94285EEE12A67079A284CADF8F0@MHSEXC02.westrac.com.au> Ah okay, Being very new to HTML and CSS I didn't see this fact. Guess I will just have to hard code the hilited tab for each page I drop it into..... Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au ? ACN 009 342 572 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of chris heidecker Sent: Thursday, 10 April 2014 2:43 AM To: How to use LiveCode Subject: Re: HTML & CSS The method you mentioned, is using jQuery. So you will have to reference a file to use it. In the comments you'll find a pure javascript method. You could use it with something like this:
  • the page can be in a nested directory
  • within the link directory
Op 9 apr. 2014, om 00:29 heeft Nakia Brewer het volgende geschreven: > Thanks for this. > > I will have an attempt at using this and see how I go. > > I eventually need to use this over around 20 pages so I was mainly > looking for a way to automatically hilite the current tab based upon > the value of the URL of the page (Looking for tab name in URL) > > > > Nakia Brewer | Technology & Solutions Manager | Equipment Management > Solutions > t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au > > > ACN 009 342 572 > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf Of chris heidecker > Sent: Tuesday, 8 April 2014 10:29 PM > To: How to use LiveCode > Subject: Re: HTML & CSS > > Hi, > > I'm not sure what you're goal is, so I'll provide 2 options for inspiration. > I didn't use the method you tried, moved the bg-color to the listitem and used a first-child/last-child for the corners. > > The first one, shows or hides a
on the same page depending on the currentTab The second one leaves out any javascript. If you've got just 3 pages, you can hard-code the currentTab. > Not really tested or elelegant. > > regards, Chris > > ----- > -- show the the corresponding div of the selected tab > ----- > > > > > > > >
    >
  • another list
  • >
  • without style
  • >
>
>

layer 1

id="tab2-content" class="tab">

layer 2

id="tab3-content" class="tab">

layer 3

> > > > ----- > -- add a class currentTab to the currently showing page > ----- > > > > > > > > Op 5 apr. 2014, om 08:47 heeft Nakia Brewer het volgende geschreven: > >> I am trying to replicate the method here >> >> http://css-tricks.com/snippets/jquery/add-active-navigation-class-bas >> e >> d-on-url/ >> >> >> >> Nakia Brewer | Technology & Solutions Manager | Equipment Management >> Solutions >> t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au >> >> >> ACN 009 342 572 >> >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >> Behalf Of Nakia Brewer >> Sent: Saturday, 5 April 2014 5:33 PM >> To: How to use LiveCode >> Subject: RE: HTML & CSS >> >> So here is what I am trying to do.. >> Notes : I know next to nothing about HTML and CSS >> The form service where I am trying to embed this HTML code only allows me to embed the content as HTML. I cant reference files etc. >> >> So here is where I am up to. >> I have been able to create the Navbar in HTML and CSS and it works. I am now trying to add the ability for it to be able to detect if the current URL contains The content of one of its link and if so set an active class on that link so I can apply the hilite styling.. >> >> Man, I hope that makes sense.. >> >> Here is my attempt.. >> >> >> >> >> >> >> >> Nakia Brewer | Technology & Solutions Manager | Equipment Management >> Solutions >> t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au >> >> >> ACN 009 342 572 >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >> Behalf Of Nakia Brewer >> Sent: Saturday, 5 April 2014 5:10 PM >> To: How to use LiveCode >> Cc: How to use LiveCode >> Subject: Re: HTML & CSS >> >> Of only it was a website I was working on... >> >> It's actually for an online form service. They allow me to do customer page content in HTML which is where I am building the Nav bar.. >> >> Should make sense when I send it through.. >> >> Sent from my iPhone >> >>> On 5 Apr 2014, at 2:39 pm, "stephen barncard" wrote: >>> >>> On Fri, Apr 4, 2014 at 6:57 PM, Nakia Brewer wrote: >>> >>>> Just wondering if there are any HTML /CSS oracle's among us? >>> you don't need one. >>> >>> read this recent blog post. Bootstrap may be your answer. >>> >>> http://livecode.com/blog/2014/03/19/better-faster-stronger/ >>> >>> *--* >>> *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From livfoss at mac.com Wed Apr 9 18:54:11 2014 From: livfoss at mac.com (Graham Samuel) Date: Thu, 10 Apr 2014 00:54:11 +0200 Subject: Typing Unicode In-Reply-To: <5345843B.2050803@gmail.com> References: <1395312357.20140405120454@ahsoftware.net> <6BC10C37-390A-4DE5-882D-957F1C4870AF@kagi.com> <44507C0F-80B7-4DD3-BA23-5574D14590DF@mac.com> <5345843B.2050803@gmail.com> Message-ID: <428A9DB6-9D05-4F7B-9DC2-36A6199F5AFF@mac.com> Thanks Richmond, thought I'd get your interest! My need is only for something within my LC-scripted app. I think the palette keyboard would probably be the way to go. My current requirements are so modest that a very simple picking list will do for now (a palette with the required glyphs shown as images within little squares, so the user just clicks on the relevant square). But later, I may have to develop a whole keyboard. So, I'm interested in your keyboard and post-processing approach, but perhaps I shouldn't waste more of your time just yet, as my priorities seem to have suddenly swung in another direction. Thanks again. Graham On 9 Apr 2014, at 19:32, Richmond wrote: > > On 9.04.2014 15:27, Graham Samuel wrote: >> Hi all >> >> I'm not surprised that I didn't get a reply to my question below, apart from maybe Richmond: after all, if he has people typing Sanskrit, they must have some kind of keyboard or other interface device to do it. Tell us, what is it? >> >> > > Talk about trailing your coat . . . > > There is a simple reason I did not reply to your posting: > > As far as I understood your posting I thought you were wanting to make an on-screen keyboard > is Livecode that would allow you to type into other applications [rather than type into a field > in a Livecode stack], and the simple fact is that I don't know how to do that. > > Both my Devawriter and my PISMO feature on-screen keyboard that enter text (Devawriter via > all sorts of jazzy post-processing, and PISMO directly] into a field in the same card: I have, subsequently > experimented with a palette keyboard that will type in the desired writing system into whichever field > and whatever stack that is selected. > > About 2 or 3 weeks ago, when I was playing with a paletted keyboard I posted a question about > how to use that to type into a textEditor on this Use-List; and it fell flat on its face. > > If you want a virtual keyboard inwith your app, I'm yer man; if you want something to type into > other apps, I'm (at least currently) completely useless. > > 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 kevin at stallibrass.com Wed Apr 9 20:30:32 2014 From: kevin at stallibrass.com (Kevin) Date: Thu, 10 Apr 2014 01:30:32 +0100 Subject: Possible to escape openStack? Message-ID: <83722748-672F-4F44-B204-6B8F8789DC7B@stallibrass.com> Oops! I've managed to create a loop in my openStack script which pops up an answer dialogue then, on OK, quits the stack every time I open it. Is it possible to get at the stack script to alter it or do I just have to bite the bullet and go back to my previous version and start again? It's an iOS app and I'd forgotten to put in a line to escape if the platform was not mobile Regards Kevin Sent from my iPad From ambassador at fourthworld.com Wed Apr 9 20:39:45 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 09 Apr 2014 17:39:45 -0700 Subject: Possible to escape openStack? In-Reply-To: <83722748-672F-4F44-B204-6B8F8789DC7B@stallibrass.com> References: <83722748-672F-4F44-B204-6B8F8789DC7B@stallibrass.com> Message-ID: <5345E851.50001@fourthworld.com> Kevin wrote: > Oops! I've managed to create a loop in my openStack script which pops > up an answer dialogue then, on OK, quits the stack every time I open > it. Is it possible to get at the stack script to alter it or do I > just have to bite the bullet and go back to my previous version and > start again? Run this in the Message Box: lock messages; answer file "Select the problem stack:"; open stack 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 revdev at pdslabs.net Wed Apr 9 20:51:01 2014 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 09 Apr 2014 17:51:01 -0700 Subject: posting to one web site from another Message-ID: <5345EAF5.7020003@pdslabs.net> Hi folks, Here's my problem: My LC server code needs to post some items to certain page of another web site and actually go to that page in the process. I find that I can post to that page just fine, but then the urlResponse contains the rendered page (as you would expect). If I 'put' it, the page is displayed correctly in the browser but under the URL of my site. Not what I wanted! I want my data to be posted to the offsite page, and in response I want that page to show up in the user's browser under that page's correct URL. I assume there's something I need to do with HTTP headers, but I don't quite know what. Or maybe not. However, I bet someone within the reach of this email often solves this kind of problem before breakfast, the way some people do puzzles or read the paper (do people still do that?). Any direction you can offer will be received with much gratitude. -- Phil Davis From rdimola at evergreeninfo.net Wed Apr 9 21:09:53 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 9 Apr 2014 21:09:53 -0400 Subject: Possible to escape openStack? In-Reply-To: <83722748-672F-4F44-B204-6B8F8789DC7B@stallibrass.com> References: <83722748-672F-4F44-B204-6B8F8789DC7B@stallibrass.com> Message-ID: <006b01cf5459$94faa330$beefe990$@net> Option 2: Open LC and turn messages off on the tool bar (envelope icon) before you open the stack. Then open the stack and none of the code in your stack will run. Fix the loop and turn back on messages. 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 Kevin Sent: Wednesday, April 09, 2014 8:31 PM To: use-livecode at lists.runrev.com Subject: Possible to escape openStack? Oops! I've managed to create a loop in my openStack script which pops up an answer dialogue then, on OK, quits the stack every time I open it. Is it possible to get at the stack script to alter it or do I just have to bite the bullet and go back to my previous version and start again? It's an iOS app and I'd forgotten to put in a line to escape if the platform was not mobile Regards Kevin Sent from my iPad _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Wed Apr 9 21:37:02 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 9 Apr 2014 21:37:02 -0400 (EDT) Subject: Possible to escape openStack? In-Reply-To: <006b01cf5459$94faa330$beefe990$@net> References: <83722748-672F-4F44-B204-6B8F8789DC7B@stallibrass.com> <006b01cf5459$94faa330$beefe990$@net> Message-ID: <8D122748231C8B8-12EC-436A2@webmail-va048.sysops.aol.com> Option 3: Open another stack, and: edit the script of stack "yourLoopyStack". Cut out the offending line. Craig Newman -----Original Message----- From: Ralph DiMola To: 'How to use LiveCode' Sent: Wed, Apr 9, 2014 9:10 pm Subject: RE: Possible to escape openStack? Option 2: Open LC and turn messages off on the tool bar (envelope icon) before you open the stack. Then open the stack and none of the code in your stack will run. Fix the loop and turn back on messages. 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 Kevin Sent: Wednesday, April 09, 2014 8:31 PM To: use-livecode at lists.runrev.com Subject: Possible to escape openStack? Oops! I've managed to create a loop in my openStack script which pops up an answer dialogue then, on OK, quits the stack every time I open it. Is it possible to get at the stack script to alter it or do I just have to bite the bullet and go back to my previous version and start again? It's an iOS app and I'd forgotten to put in a line to escape if the platform was not mobile Regards Kevin Sent from my iPad _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From gcanyon at gmail.com Wed Apr 9 21:38:01 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 9 Apr 2014 20:38:01 -0500 Subject: A weird bug/occurrence In-Reply-To: References: Message-ID: <0DBDF615-A45E-4515-8C36-DDEE2ECC5DF5@gmail.com> http://quality.runrev.com/show_bug.cgi?id=12111 Sent from my iPad > On Apr 9, 2014, at 1:16 AM, Malte Brill wrote: > > Hi Geoff, > > I happen to see disappearing controls in a standalone from time to time. The funny thing is that a white rectangle seems to be drawn in the space where the control should be. Did you happen to report this as a bug already? > > All the best, > > Malte > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Wed Apr 9 23:21:07 2014 From: coiin at verizon.net (Colin Holgate) Date: Wed, 09 Apr 2014 23:21:07 -0400 Subject: [OT] Xojo Message-ID: Took a look at Xojo this evening. It has quite a few interesting ideas in it, RunRev should check it out and steal some ideas from it!. The way that you choose controls and align them is especially neat. It also separates out scripts based on the interaction, rather than having all handlers in one script. I have reason to believe that the tool was written in RealBasic. If it was it?s a good example application for RealBasic too. From lan.kc.macmail at gmail.com Wed Apr 9 23:28:29 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 10 Apr 2014 11:28:29 +0800 Subject: SQLite, Unicode & LC In-Reply-To: <4CB44AF4-FA47-417A-BBE0-0876A91C1FD4@byu.edu> References: <4CB44AF4-FA47-417A-BBE0-0876A91C1FD4@byu.edu> Message-ID: On Thu, Apr 10, 2014 at 1:05 AM, Devin Asay wrote: > > Yep, that's the way to do it for now. > > OK, well that solved my current problem but isn't a solution. Pete said: 1) Exports from iTunes and gets a word like e?j?z?i?o? [hope it displays with all the accents] with all the accented chars as garbage. 2) I don't know how those displayed for him in a LC variable or field. 3) He imports that data into SQLite and gets those same carbage chars. 4) He used unidecode(uniencode()) to convert the garbage and display correctly in SQLite Management software In my case, when I orginally wrote my script (6.1.x) I never used any uniencode or unidecode: 1) Exported a file and a word like e?j?z?i?o? appeared exactly like that in a BBEdit text file that reported it as UTF8 and Unix CRs. 2) Put it in a LC variable and field and it looked exactly the same. 3) Imported into SQLite UTF8 db and the word looked exactly the same. 4) When I SELECTED the record and displayed it a LC field it looked exactly the same. NOW, since updating to LC 6.6.1GM (which has updated SQLite) 1) In SQLite original records with accented words look correct. 2) When I SELECT I have to use the mentioned unidecode(uniencode()) to display correctly. BUT NOW in 6.6.1GM if I 1) Take a BBEdit UTF8 Unix CRs text file with the word e?j?z?i?o? 2) Put it in an LC variable or field it still looks correct 3) Import it into SQLite without any uniencode and/or unidecode it looks like this e j z i o --blank where accented chars should be 4) When I SELECT the record and display it in an LC variable or field without using uniencode and/or decode it displays correctly. 5) So the only problem here is it doesn't display correctly in SQLite 6) On the other hand if I employ unidecode(uniencode()) I get this in the db: ejzio 7) When I SELECT the record and display it in LC I get ejzio with or without using unidecode(uniencode()) or worse if I use any combination of uniencode or unidecode. So Pete reported accents incorrectly displaying in his text file, and he can correct those by employing unidecode(uniencode()) to look fine in SQLite. I on the other hand have correctly displayed accents in text files, but can't get those to appear in SQLite correctly using your suggested solution. In the long term, unless LC 7.x stuffs things up further, for me the simplest solution seems to be to ignore unicode all together, just import it into SQLite, and not look at it using an SQLite Manager software, if I need to look at it I'll simply extract the data using LC or I notice that if I Export the data to a UTF8 Text file all the accents appear correctly. The problem to me seems to revolve around what happened when LC 6.6.x upgraded SQLite, which now seems to prevent my SQLite Management software (tried 3) from correctly displaying accents when it obviously still can. I'm on OS X 10.9.2, LC 6.6.1GM From dglass at graymattercomputing.com Wed Apr 9 23:37:34 2014 From: dglass at graymattercomputing.com (David Glass) Date: Wed, 09 Apr 2014 20:37:34 -0700 Subject: [OT] Xojo In-Reply-To: References: Message-ID: <534611FE.6030006@graymattercomputing.com> Xojo/Real Studio is written in Xojo/Real Studio/RealBASIC, yes. With the current MacHeist ADA promo there's very little reason it can't be in everybody's toolkit. On 04/09/2014, 8:21 PM, Colin Holgate wrote: > Took a look at Xojo this evening. It has quite a few interesting ideas in it, RunRev should check it out and steal some ideas from it!. The way that you choose controls and align them is especially neat. It also separates out scripts based on the interaction, rather than having all handlers in one script. > > I have reason to believe that the tool was written in RealBasic. If it was it?s a good example application for RealBasic too. > > > -- David Glass - Gray Matter Computing graymattercomputing.com Central Valley: 559-303-4915 East Bay: 925-335-8486 From richmondmathewson at gmail.com Thu Apr 10 01:02:21 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 10 Apr 2014 08:02:21 +0300 Subject: Typing Unicode In-Reply-To: <428A9DB6-9D05-4F7B-9DC2-36A6199F5AFF@mac.com> References: <1395312357.20140405120454@ahsoftware.net> <6BC10C37-390A-4DE5-882D-957F1C4870AF@kagi.com> <44507C0F-80B7-4DD3-BA23-5574D14590DF@mac.com> <5345843B.2050803@gmail.com> <428A9DB6-9D05-4F7B-9DC2-36A6199F5AFF@mac.com> Message-ID: <534625DD.3020606@gmail.com> On 10.04.2014 01:54, Graham Samuel wrote: > Thanks Richmond, thought I'd get your interest! My need is only for something within my LC-scripted app. I think the palette keyboard would probably be the way to go. My current requirements are so modest that a very simple picking list will do for now (a palette with the required glyphs shown as images within little squares, so the user just clicks on the relevant square). But later, I may have to develop a whole keyboard. So, I'm interested in your keyboard and post-processing approach, but perhaps I shouldn't waste more of your time just yet, as my priorities seem to have suddenly swung in another direction. > > Thanks again. > > Graham > > Sitting here with one of my pupils waiting for the teaching day to begin; this evening I will send you "the horrible truth" :) Best, Richmond. From richmondmathewson at gmail.com Thu Apr 10 02:47:15 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 10 Apr 2014 09:47:15 +0300 Subject: [OT] Xojo In-Reply-To: References: Message-ID: <53463E73.2060907@gmail.com> On 10.04.2014 06:21, Colin Holgate wrote: > Took a look at Xojo this evening. It has quite a few interesting ideas in it, RunRev should check it out and steal some ideas from it!. The way that you choose controls and align them is especially neat. It also separates out scripts based on the interaction, rather than having all handlers in one script. > > I have reason to believe that the tool was written in RealBasic. If it was it?s a good example application for RealBasic too. > > Xojo is Real BASIC; they've just given it what they obviously feels is a jazzy name, but makes it difficult to work out what it really is. Richmond. From hechris at ziggo.nl Thu Apr 10 06:26:05 2014 From: hechris at ziggo.nl (chris heidecker) Date: Thu, 10 Apr 2014 12:26:05 +0200 Subject: HTML & CSS In-Reply-To: <67116DB20798A94285EEE12A67079A284CADF8F0@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A284CADB33A@MHSEXC02.westrac.com.au>, <67116DB20798A94285EEE12A67079A284CADB520@MHSEXC02.westrac.com.au> <67116DB20798A94285EEE12A67079A284CADB559@MHSEXC02.westrac.com.au> <3864D25E-A6ED-4937-BD17-647C9041F411@ziggo.nl> <67116DB20798A94285EEE12A67079A284CADEA23@MHSEXC02.westrac.com.au> <84D9A903-344B-49FC-9DC0-CE4C2837DDE6@ziggo.nl> <67116DB20798A94285EEE12A67079A284CADF8F0@MHSEXC02.westrac.com.au> Message-ID: <241376B9-3C25-4DF1-A7E1-ADA9E4EA3E7A@ziggo.nl> If you are not allowed to reference files, you can't use the jQuery javascript library. If you are allowed to use inline (pure) javascript then you could use the code in my previous post. It works without any references to files or libraries. If you're only allowed to upload the body-part of the html-page, you could put the style-part at the start and the script-part at the end. Putting the style like this into the body of the html-page is not officially supported but looks like this:

The rest of your HTML-body-code

If you have to declare the styles inline, I think you can't use css:hover but you can use javascript onmouseover Again with the script at the end like this: regards Chris > Ah okay, > > Being very new to HTML and CSS I didn't see this fact. > > Guess I will just have to hard code the hilited tab for each page I drop it into..... > > Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions > t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au > > > ACN 009 342 572 > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of chris heidecker > Sent: Thursday, 10 April 2014 2:43 AM > To: How to use LiveCode > Subject: Re: HTML & CSS > > The method you mentioned, is using jQuery. > So you will have to reference a file to use it. > In the comments you'll find a pure javascript method. > > You could use it with something like this: > > > > > > > > > >
    >
  • the page can be in a nested directory
  • within the link directory
> > Op 9 apr. 2014, om 00:29 heeft Nakia Brewer het volgende geschreven: > >> Thanks for this. >> >> I will have an attempt at using this and see how I go. >> >> I eventually need to use this over around 20 pages so I was mainly >> looking for a way to automatically hilite the current tab based upon >> the value of the URL of the page (Looking for tab name in URL) >> >> >> >> Nakia Brewer | Technology & Solutions Manager | Equipment Management >> Solutions >> t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au >> >> >> ACN 009 342 572 >> >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >> Behalf Of chris heidecker >> Sent: Tuesday, 8 April 2014 10:29 PM >> To: How to use LiveCode >> Subject: Re: HTML & CSS >> >> Hi, >> >> I'm not sure what you're goal is, so I'll provide 2 options for inspiration. >> I didn't use the method you tried, moved the bg-color to the listitem and used a first-child/last-child for the corners. >> >> The first one, shows or hides a
on the same page depending on the currentTab The second one leaves out any javascript. If you've got just 3 pages, you can hard-code the currentTab. >> Not really tested or elelegant. >> >> regards, Chris >> >> ----- >> -- show the the corresponding div of the selected tab >> ----- >> >> >> >> >> >> >> >>
    >>
  • another list
  • >>
  • without style
  • >>
>>
>>

layer 1

> id="tab2-content" class="tab">

layer 2

> id="tab3-content" class="tab">

layer 3

>> >> >> >> ----- >> -- add a class currentTab to the currently showing page >> ----- >> >> >> >> >> >> >> >> Op 5 apr. 2014, om 08:47 heeft Nakia Brewer het volgende geschreven: >> >>> I am trying to replicate the method here >>> >>> http://css-tricks.com/snippets/jquery/add-active-navigation-class-bas >>> e >>> d-on-url/ >>> >>> >>> >>> Nakia Brewer | Technology & Solutions Manager | Equipment Management >>> Solutions >>> t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au >>> >>> >>> ACN 009 342 572 >>> >>> >>> -----Original Message----- >>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >>> Behalf Of Nakia Brewer >>> Sent: Saturday, 5 April 2014 5:33 PM >>> To: How to use LiveCode >>> Subject: RE: HTML & CSS >>> >>> So here is what I am trying to do.. >>> Notes : I know next to nothing about HTML and CSS >>> The form service where I am trying to embed this HTML code only allows me to embed the content as HTML. I cant reference files etc. >>> >>> So here is where I am up to. >>> I have been able to create the Navbar in HTML and CSS and it works. I am now trying to add the ability for it to be able to detect if the current URL contains The content of one of its link and if so set an active class on that link so I can apply the hilite styling.. >>> >>> Man, I hope that makes sense.. >>> >>> Here is my attempt.. >>> >>> >>> >>> >>> >>> >>> >>> Nakia Brewer | Technology & Solutions Manager | Equipment Management >>> Solutions >>> t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au >>> >>> >>> ACN 009 342 572 >>> >>> -----Original Message----- >>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >>> Behalf Of Nakia Brewer >>> Sent: Saturday, 5 April 2014 5:10 PM >>> To: How to use LiveCode >>> Cc: How to use LiveCode >>> Subject: Re: HTML & CSS >>> >>> Of only it was a website I was working on... >>> >>> It's actually for an online form service. They allow me to do customer page content in HTML which is where I am building the Nav bar.. >>> >>> Should make sense when I send it through.. >>> >>> Sent from my iPhone >>> >>>> On 5 Apr 2014, at 2:39 pm, "stephen barncard" wrote: >>>> >>>> On Fri, Apr 4, 2014 at 6:57 PM, Nakia Brewer wrote: >>>> >>>>> Just wondering if there are any HTML /CSS oracle's among us? >>>> you don't need one. >>>> >>>> read this recent blog post. Bootstrap may be your answer. >>>> >>>> http://livecode.com/blog/2014/03/19/better-faster-stronger/ >>>> >>>> *--* >>>> *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> From m_p_wilcox at yahoo.co.uk Thu Apr 10 08:07:16 2014 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Thu, 10 Apr 2014 13:07:16 +0100 Subject: Enterprise iOS License Distribution... Message-ID: <369235.67090.bm@smtp103.mail.ir2.yahoo.com> Profile Manager includes Mobile Device Management for iOS devices. It's definitely the right way to be doing this. No idea why it's not recognising the file but I thought I'd add that an app signed for enterprise distribution can be installed directly on ANY iOS device, not just through MDM. So check your .ipa file installs locally before trying to upload to Profile Manager, there might be something wrong with it. Mark On 9 Apr 2014 19:59, "J. Landman Gay" wrote: > > I don't know anything about Profile Manager, so take this with a grain > of salt. But my guess is that it only recognizes Mac apps, and a iOS app > is a different beast entirely and requires a different kind of > installation. Also, as far as I know, Apple prohibits remote > installation on iOS devices, so I doubt a bulk install is possible. It's > a walled garden. > > There are a few utilities that allow you to create ad-hoc installations > where the files are stored on a web site or server. My AirLaunch is one, > Monte has mergTestApp which integrates with the TestFlight web site, and > there are other web sites out there too. > > To install an iOS app you need an html file that points to a special > manifest file, which in turn initiates the download of the actual app to > the device. > > > On 4/8/14, 6:19 PM, JOHN PATTEN wrote: > > Thought I?d ask just in case somebody else has experienced this > > situation. We have a new Apple Enterprise iOS license for > > distributing iOS apps built with LiveCode.? I have configured the our > > workstation with the proper profiles, first creating a development > > profile and making sure that we could test apps out on a iPad. > > Everything in that department works fine. > > > > I then installed our distribution profile and created the same app > > with the Enterprise distribution profile. In our school district we > > are using Profile Manager (part of OS X Mavs Server) to manage apps > > we purchase and, eventually, apps we create. Profile Manager works > > fine and we can easily push out apps we puchase over the air. > > > > However, when trying to add an app we developed with our Enterprise > > profile,? it spits back: Filetype Not Supported. The file you > > selected is not supported. Please choose a different file. > > > > Anybody have any experience with this specific situation? > > > -- > 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 coiin at verizon.net Thu Apr 10 08:12:40 2014 From: coiin at verizon.net (Colin Holgate) Date: Thu, 10 Apr 2014 08:12:40 -0400 Subject: [OT] Xojo In-Reply-To: <53463E73.2060907@gmail.com> References: <53463E73.2060907@gmail.com> Message-ID: Not like changing from Revolution to LiveCode! In any case, the name change is working for them. It?s being looked at like it?s a brand new tool. On Apr 10, 2014, at 2:47 AM, Richmond wrote: > >Xojo is Real BASIC; they've just given it what they obviously feels is a jazzy name, > but makes it difficult to work out what it really is. From sritcp at gmail.com Thu Apr 10 09:33:01 2014 From: sritcp at gmail.com (Sri) Date: Thu, 10 Apr 2014 06:33:01 -0700 (PDT) Subject: [OT] Xojo In-Reply-To: References: <53463E73.2060907@gmail.com> Message-ID: <1397136781822-4678154.post@n4.nabble.com> Importantly, Xojo's license terms are much better. You don't lose the commercial license if you stop renewing annually. You simply stop receiving the updates. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Xojo-tp4678146p4678154.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Thu Apr 10 10:05:27 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 10 Apr 2014 07:05:27 -0700 Subject: [OT] Xojo In-Reply-To: <1397136781822-4678154.post@n4.nabble.com> References: <1397136781822-4678154.post@n4.nabble.com> Message-ID: <5346A527.20407@fourthworld.com> Sri wrote: > Importantly, Xojo's license terms are much better. You don't lose the > commercial license if you stop renewing annually. You simply stop receiving > the updates. That can indeed be beneficial for some, but now that LiveCode also offers an open source option like most modern programming languages, in practical terms the difference in proprietary licensing affects only a relatively small subset of users. Most professional devs who need to deploy proprietary works upgrade annually to keep current with the latest features. For that segment the cost remains about what it was before. Nearly everyone else can use LiveCode Community Edition at no cost at all. For those folks the cost has dropped infinitely, to zero. It's only the subset of developers making proprietary works who need a Commercial license, and most are doing so under a business plan that brings in far more revenue than is needed to cover the cost of renewal. For such commercial works, the cost of an annual license should be the least of their concerns. To remain a viable product the work should be producing a positive ROI that also accounts for their own development time, marketing costs, etc., adding up to far more than the $500/yr for the other 80% of the app delivered by the RunRev team in the engine. If a project isn't financially viable enough to even cover a Commercial license fee, it may be worth considering releasing the work as open source instead. The audience will be much larger, and the project then has the opportunity to also benefit from outside contributions. And with the larger audience, if the proprietary licensing fees were pulling in less than $500/yr, you might even find that a donation link or grant funding opportunities may bring in more revenue under open source than the licensing fees did. Having come from the xTalk family of languages where all the great ones were old enough to have been proprietary, many LiveCode devs have relatively little experience with the world of options open source deployment opens up for us all. I was one of those, and it's only been in the last few years that I've come to appreciate how open source can be a good option for many projects. -- 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 prothero at earthednet.org Thu Apr 10 11:11:09 2014 From: prothero at earthednet.org (Earthednet-wp) Date: Thu, 10 Apr 2014 08:11:09 -0700 Subject: [OT] Xojo In-Reply-To: <5346A527.20407@fourthworld.com> References: <1397136781822-4678154.post@n4.nabble.com> <5346A527.20407@fourthworld.com> Message-ID: <948E6A73-FC04-46F9-9A3B-9BA481A7AF6C@earthednet.org> When I was considering a move to Livecode, after spending some time with Corona, I looked fairly seriously at Xojo. The attraction was the programming language syntax. But when I looked deeper, it was behind LC in multi platform support and the discussion forum showed problems with basic features. Pretty much similar to LC, tho. Anyway, I am happy with my decision to invest my effort in LC. The open source aspect, the refactoring of the basic engine to make it more robust, the modernization supported by the Kickstarter success, and the dynamic user community continue to validate my choice. It's simply a great product that is going to continue to improve. Best, Bill William Prothero http://es.earthednet.org > On Apr 10, 2014, at 7:05 AM, Richard Gaskin wrote: > > Sri wrote: >> Importantly, Xojo's license terms are much better. You don't lose the >> commercial license if you stop renewing annually. You simply stop receiving >> the updates. > > That can indeed be beneficial for some, but now that LiveCode also offers an open source option like most modern programming languages, in practical terms the difference in proprietary licensing affects only a relatively small subset of users. > > Most professional devs who need to deploy proprietary works upgrade annually to keep current with the latest features. For that segment the cost remains about what it was before. > > Nearly everyone else can use LiveCode Community Edition at no cost at all. For those folks the cost has dropped infinitely, to zero. > > It's only the subset of developers making proprietary works who need a Commercial license, and most are doing so under a business plan that brings in far more revenue than is needed to cover the cost of renewal. > > For such commercial works, the cost of an annual license should be the least of their concerns. To remain a viable product the work should be producing a positive ROI that also accounts for their own development time, marketing costs, etc., adding up to far more than the $500/yr for the other 80% of the app delivered by the RunRev team in the engine. > > If a project isn't financially viable enough to even cover a Commercial license fee, it may be worth considering releasing the work as open source instead. The audience will be much larger, and the project then has the opportunity to also benefit from outside contributions. And with the larger audience, if the proprietary licensing fees were pulling in less than $500/yr, you might even find that a donation link or grant funding opportunities may bring in more revenue under open source than the licensing fees did. > > Having come from the xTalk family of languages where all the great ones were old enough to have been proprietary, many LiveCode devs have relatively little experience with the world of options open source deployment opens up for us all. > > I was one of those, and it's only been in the last few years that I've come to appreciate how open source can be a good option for many projects. > > -- > 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 coiin at verizon.net Thu Apr 10 11:36:40 2014 From: coiin at verizon.net (Colin Holgate) Date: Thu, 10 Apr 2014 11:36:40 -0400 Subject: [OT] Xojo In-Reply-To: <5346A527.20407@fourthworld.com> References: <1397136781822-4678154.post@n4.nabble.com> <5346A527.20407@fourthworld.com> Message-ID: Is that slightly misleading? In that all people making apps for either the iTunes or Mac app stores will need a commercial license, even if they are not creating proprietary content. On Apr 10, 2014, at 10:05 AM, Richard Gaskin wrote: > >It's only the subset of developers making proprietary works who need a Commercial license, and most are doing so under a business plan that brings in far more revenue than is needed to cover the cost of renewal. From ray at linkit.com Thu Apr 10 11:41:24 2014 From: ray at linkit.com (Ray) Date: Thu, 10 Apr 2014 11:41:24 -0400 Subject: Kill Messages In-Reply-To: <16430D77-406A-44CA-BF14-3F9227E9C994@byu.edu> References: <534575B5.5060807@LinkIt.Com> <130B0239-C6DD-4A78-BC94-8707D5022972@byu.edu> <5345A68E.2070905@LinkIt.Com> <16430D77-406A-44CA-BF14-3F9227E9C994@byu.edu> Message-ID: <5346BBA4.6030904@LinkIt.Com> I've written a handler which nudges a selected image when an arrow key is pressed. The problem is if the user holds the arrow key down for a few seconds the messages get backed up. When the user finally lets the arrow key up the object keeps nudging across the screen. I've tried to stop the nudging with the keysDown() function but not having any luck. I need some way to detect there are no keys down and kill any messages which have been backed up. Ray Horsley LinkIt! Software From dunbarx at aol.com Thu Apr 10 12:01:34 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 10 Apr 2014 12:01:34 -0400 (EDT) Subject: Kill Messages In-Reply-To: <5346BBA4.6030904@LinkIt.Com> References: <534575B5.5060807@LinkIt.Com> <130B0239-C6DD-4A78-BC94-8707D5022972@byu.edu> <5345A68E.2070905@LinkIt.Com> <16430D77-406A-44CA-BF14-3F9227E9C994@byu.edu> <5346BBA4.6030904@LinkIt.Com> Message-ID: <8D122ED4800BE61-1390-46B62@webmail-vn002.sysops.aol.com> Most times these things can be solved by rethinking, And I say this having no idea what you were thinking. Try this in the card script: on arrowKey var if keysDown() = 65363 then set the loc of btn 1 to item 1 of the loc of img 1 + 1 & "," & item 2 of the loc of img 1 end if end arrowKey Note this can be done with a rawKeyDown handler just as well. Craig Newman -----Original Message----- From: Ray To: use-livecode Sent: Thu, Apr 10, 2014 11:41 am Subject: Kill Messages I've written a handler which nudges a selected image when an arrow key is pressed. The problem is if the user holds the arrow key down for a few seconds the messages get backed up. When the user finally lets the arrow key up the object keeps nudging across the screen. I've tried to stop the nudging with the keysDown() function but not having any luck. I need some way to detect there are no keys down and kill any messages which have been backed up. Ray Horsley LinkIt! Software _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Thu Apr 10 12:08:23 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 10 Apr 2014 12:08:23 -0400 (EDT) Subject: Kill Messages In-Reply-To: <8D122ED4800BE61-1390-46B62@webmail-vn002.sysops.aol.com> References: <534575B5.5060807@LinkIt.Com> <130B0239-C6DD-4A78-BC94-8707D5022972@byu.edu> <5345A68E.2070905@LinkIt.Com> <16430D77-406A-44CA-BF14-3F9227E9C994@byu.edu> <5346BBA4.6030904@LinkIt.Com> <8D122ED4800BE61-1390-46B62@webmail-vn002.sysops.aol.com> Message-ID: <8D122EE3B6E9950-12E0-48612@webmail-vm043.sysops.aol.com> A bit cavalier about doing this with rawKeyDown. It would be a little different, something like: on rawkeydown var if var= 65363 then set the loc of btn 1 to item 1 of the loc of img 1 + 1 & "," & item 2 of the loc of img 1 end if end rawkeydown Craig -----Original Message----- From: dunbarx To: use-livecode Sent: Thu, Apr 10, 2014 12:02 pm Subject: Re: Kill Messages Most times these things can be solved by rethinking, And I say this having no idea what you were thinking. Try this in the card script: on arrowKey var if keysDown() = 65363 then set the loc of btn 1 to item 1 of the loc of img 1 + 1 & "," & item 2 of the loc of img 1 end if end arrowKey Note this can be done with a rawKeyDown handler just as well. Craig Newman -----Original Message----- From: Ray To: use-livecode Sent: Thu, Apr 10, 2014 11:41 am Subject: Kill Messages I've written a handler which nudges a selected image when an arrow key is pressed. The problem is if the user holds the arrow key down for a few seconds the messages get backed up. When the user finally lets the arrow key up the object keeps nudging across the screen. I've tried to stop the nudging with the keysDown() function but not having any luck. I need some way to detect there are no keys down and kill any messages which have been backed up. Ray Horsley LinkIt! Software _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From sritcp at gmail.com Thu Apr 10 12:08:51 2014 From: sritcp at gmail.com (Sri) Date: Thu, 10 Apr 2014 09:08:51 -0700 (PDT) Subject: [OT] Xojo In-Reply-To: <5346A527.20407@fourthworld.com> References: <53463E73.2060907@gmail.com> <1397136781822-4678154.post@n4.nabble.com> <5346A527.20407@fourthworld.com> Message-ID: <1397146131263-4678156.post@n4.nabble.com> Richard Gaskin wrote > ....... in practical terms the difference in proprietary licensing affects > only a > relatively small subset of users...... I don't know. People who want to develop iPad and iPhone educational apps, but cannot really recoup $500 a year ..., must constitute a significant population, I think. I invested some time learning LiveCode but have put it in cold storage for almost a year now, for this reason. Nearly 100% my target segment is iPad users. I could elaborate in some detail why this is so, but then the key point here is if people like me are really "a small subset". I truly think if LiveCode comes up with a different licensing schedule, one that allows, for a much smaller fee, people to develop commercial iOS app of some restricted size or lines of code (a rough yardstick of project complexity), they will be pleasantly surprised by the response. iPad has a disproportionate "enthusiasm market share" when it comes to edu apps. Regards, Sri. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Xojo-tp4678146p4678156.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Thu Apr 10 12:10:17 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 10 Apr 2014 09:10:17 -0700 Subject: [OT] Xojo In-Reply-To: References: Message-ID: <5346C269.2090409@fourthworld.com> Colin Holgate wrote: > On Apr 10, 2014, at 10:05 AM, Richard Gaskin wrote: > >> It's only the subset of developers making proprietary works who >> need a Commercial license, and most are doing so under a business >> plan that brings in far more revenue than is needed to cover the >> cost of renewal. > > > Is that slightly misleading? In that all people making apps for > either the iTunes or Mac app stores will need a commercial license, > even if they are not creating proprietary content. My apologies; it certainly wasn't my intention to mislead. Yes, Apple's restrictions with their app store distribution license make it incompatible with the GPL, requiring another license to distribute to iOS for as long as Apple keeps the download limit policy in place and Apple is allowed to remain the only source of apps for that platform. Those unfamiliar with this can find the FSF position articles and others easily enough: There is likely a subset of users who wish to deploy to iOS with free-as-in-no-cost apps, for which LiveCode Commercial Edition may not provide a positive ROI. Fortunately, for this subset of users the folks at RunRev recently introduced a new solution: Among the other benefits of the LiveCode Membership program is a special license to deploy non-revenue-producing apps to Apple's proprietary app store: Free App iOS Store Licensing Submit named, free apps to the iOS App store. Perfect if you?re just starting out creating completely free software with the LiveCode Community edition. The Apple iOS App Store is currently incompatible with the GPL license, so while you can distribute your free software for other platforms such as Android, you can?t submit to the Apple store. As a LiveCode Member you can submit your free noncommercial app to us and we will provide a license that will allow you to submit your app "closed source" to the iOS app store. Details on that and the other program benefits are here: -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From ambassador at fourthworld.com Thu Apr 10 12:20:10 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 10 Apr 2014 09:20:10 -0700 Subject: [OT] Xojo In-Reply-To: <1397146131263-4678156.post@n4.nabble.com> References: <1397146131263-4678156.post@n4.nabble.com> Message-ID: <5346C4BA.1040505@fourthworld.com> Sri wrote: > I truly think if LiveCode comes up with a different licensing schedule, one > that allows, for a much smaller fee, people to develop commercial iOS app of > some restricted size or lines of code (a rough yardstick of project > complexity), they will be pleasantly surprised by the response. Let's find out - RunRev delivered almost exactly what you're looking for, at least as far as providing iOS deployment more affordably for non-revenue-producing apps: If instead the app is to be sold commercially as part of a business, how can the business survive if it isn't making enough to cover the cost of design, development, marketing, and Apple's 30% cut for distribution? If the segment being pursued is too narrow to be profitable anyway, there are many ways to benefit from apps than direct revenue. It may be both cheaper and more profitable for the app the join the majority in the app store that are distributed at zero cost to the user. -- 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 larry at significantplanet.org Thu Apr 10 12:41:26 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Thu, 10 Apr 2014 10:41:26 -0600 Subject: image question (for everyone) References: <664023E1CCA9490A98B9D2DF9EA375A3@userd204a4d61c> <5342FED8.3030802@hyperactivesw.com> Message-ID: <75EEE9A8FBB74EFF9E600BCE3CCE3CC0@userd204a4d61c> hello Jacqueline, In response to my problem of building a standalone, you asked: > Does it have a lot of images? Well, actually it does. But I had the same problem building an app with no images. I changed the drive to which I build apps and both built just fine. Don't know why. Anyway, my new question is this: Since you asked about a lot of images, does LC have some kind of limit on how many images can be used in a stack? I have over 20 images in the stack that are primarily being used as custom designed buttons. Thanks, Larry P.S. Of course I'm not just asking Jacque about this, but the entire forum. From ray at linkit.com Thu Apr 10 12:43:17 2014 From: ray at linkit.com (Ray) Date: Thu, 10 Apr 2014 12:43:17 -0400 Subject: Kill Messages In-Reply-To: <8D122EE3B6E9950-12E0-48612@webmail-vm043.sysops.aol.com> References: <534575B5.5060807@LinkIt.Com> <130B0239-C6DD-4A78-BC94-8707D5022972@byu.edu> <5345A68E.2070905@LinkIt.Com> <16430D77-406A-44CA-BF14-3F9227E9C994@byu.edu> <5346BBA4.6030904@LinkIt.Com> <8D122ED4800BE61-1390-46B62@webmail-vn002.sysops.aol.com> <8D122EE3B6E9950-12E0-48612@webmail-vm043.sysops.aol.com> Message-ID: <5346CA25.1030200@LinkIt.Com> Craig - your simple script works great. The problem I have is because I'm calling other handlers which do things like update a datagrid. Somehow this is what's actually causing the continuation. Thanks for exposing this for me! I think I can probably finesse it from here. On 4/10/2014 12:08 PM, dunbarx at aol.com wrote: > on rawkeydown var > if var= 65363 then > set the loc of btn 1 to item 1 of the loc of img 1 + 1 & "," & item 2 of the loc of img 1 > end if > end rawkeydown From pete at lcsql.com Thu Apr 10 12:46:25 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 10 Apr 2014 09:46:25 -0700 Subject: SQLite, Unicode & LC In-Reply-To: References: <4CB44AF4-FA47-417A-BBE0-0876A91C1FD4@byu.edu> Message-ID: A few comments below. On Wed, Apr 9, 2014 at 8:28 PM, Kay C Lan wrote: > Pete said: > > 1) Exports from iTunes and gets a word like e?j?z?i?o? [hope it displays > with all the accents] with all the accented chars as garbage. > That's correct when I used Textedit with its default character encoding ("Automatic") for opening files. I just tried it with Textedit's character encoding set to utf8 and the accented characters now show correctly. Apparently Textedit is unable to automatically detect utf8 correctly. > 2) I don't know how those displayed for him in a LC variable or field. > Looking at it in the variable viewer, it displayed with the corrupted characters. > 3) He imports that data into SQLite and gets those same carbage chars. > 4) He used unidecode(uniencode()) to convert the garbage and display > correctly in SQLite Management software > Slight correction to that - once the data was in the SQLite database correctly formatted with uniencode/decode, it displayed correctly in an LC application after doing a SELECT on it. It also displayed correctly in my SQLite admin tool but since that tool is my SQLiteAdmin utility which is written with LC, that's probably not a good benchmark :-) > In my case, when I orginally wrote my script (6.1.x) I never used any > uniencode or unidecode: > > 1) Exported a file and a word like e?j?z?i?o? appeared exactly like that in > a BBEdit text file that reported it as UTF8 and Unix CRs. > I don't have BBEdit but it sounds like it does a better job than TextEdit on detecting character encodings. > 2) Put it in a LC variable and field and it looked exactly the same. > That's where I get a different result than you - I get the corrupted characters. even when I coerce TextEdit to displaying them correctly. Did you save the file with BBEdit before loading it into LC? If so, maybe that removed the need for the LC uniencode/decode. > 3) Imported into SQLite UTF8 db and the word looked exactly the same. > 4) When I SELECTED the record and displayed it a LC field it looked exactly > the same. > I'd expect 3) and 4) to be the case if it looked OK in the LC variable. > > NOW, since updating to LC 6.6.1GM (which has updated SQLite) > > 1) In SQLite original records with accented words look correct. > 2) When I SELECT I have to use the mentioned unidecode(uniencode()) to > display correctly. > I don't see that in 6.6.1. The existing records in my database display correctly in LC after a SELECT with no uniencode/decode. > > BUT NOW in 6.6.1GM if I > > 1) Take a BBEdit UTF8 Unix CRs text file with the word e?j?z?i?o? > 2) Put it in an LC variable or field it still looks correct > 3) Import it into SQLite without any uniencode and/or unidecode it looks > like this e j z i o --blank where accented chars should be > Do you know what version of the SQLite library your admin tool is using? I'm wondering if there's some incompatibility in how UTF8 is handled in different versions of the SQLite library. > 4) When I SELECT the record and display it in an LC variable or field > without using uniencode and/or decode it displays correctly. > 5) So the only problem here is it doesn't display correctly in SQLite > > 6) On the other hand if I employ unidecode(uniencode()) I get this in the > db: ejzio > 7) When I SELECT the record and display it in LC I get ejzio with or > without using unidecode(uniencode()) or worse if I use any combination of > uniencode or unidecode. > > So Pete reported accents incorrectly displaying in his text file, and he > can correct those by employing unidecode(uniencode()) to look fine in > SQLite. > > I on the other hand have correctly displayed accents in text files, but > can't get those to appear in SQLite correctly using your suggested > solution. > > In the long term, unless LC 7.x stuffs things up further, for me the > simplest solution seems to be to ignore unicode all together, just import > it into SQLite, and not look at it using an SQLite Manager software, if I > need to look at it I'll simply extract the data using LC or I notice that > if I Export the data to a UTF8 Text file all the accents appear correctly. > > The problem to me seems to revolve around what happened when LC 6.6.x > upgraded SQLite, which now seems to prevent my SQLite Management software > (tried 3) from correctly displaying accents when it obviously still can. > > I'm on OS X 10.9.2, LC 6.6.1GM > Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From richmondmathewson at gmail.com Thu Apr 10 13:18:30 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 10 Apr 2014 20:18:30 +0300 Subject: 7.0 dp 2 still not much cop on Linux Message-ID: <5346D266.3000407@gmail.com> The problem I pointed out in DP1 is still there with the dictionary: Not possible to type into the search field of the Dictionary. UbuntuStudio 14.04 Richmond. From jacque at hyperactivesw.com Thu Apr 10 13:24:37 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 10 Apr 2014 12:24:37 -0500 Subject: Enterprise iOS License Distribution... In-Reply-To: <369235.67090.bm@smtp103.mail.ir2.yahoo.com> References: <369235.67090.bm@smtp103.mail.ir2.yahoo.com> Message-ID: <5346D3D5.4040505@hyperactivesw.com> On 4/10/14, 7:07 AM, Mark Wilcox wrote: > Profile Manager includes Mobile Device Management for iOS devices. > It's definitely the right way to be doing this. Good to know, thanks very much. It's really nice to have someone with your knowledge base here on the list. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Thu Apr 10 13:33:30 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 10 Apr 2014 20:33:30 +0300 Subject: Typing Unicode In-Reply-To: <534625DD.3020606@gmail.com> References: <1395312357.20140405120454@ahsoftware.net> <6BC10C37-390A-4DE5-882D-957F1C4870AF@kagi.com> <44507C0F-80B7-4DD3-BA23-5574D14590DF@mac.com> <5345843B.2050803@gmail.com> <428A9DB6-9D05-4F7B-9DC2-36A6199F5AFF@mac.com> <534625DD.3020606@gmail.com> Message-ID: <5346D5EA.4030504@gmail.com> Go, get it! http://forums.runrev.com/viewtopic.php?f=6&t=19983 Love, Richmond. P.S. By-ther-way; as of Livecode 7; you will have to change all the 'numToChar' statements to 'numToCodepoint' statements. From lfredricks at proactive-intl.com Thu Apr 10 13:34:55 2014 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Thu, 10 Apr 2014 10:34:55 -0700 Subject: [OT] Xojo In-Reply-To: References: <53463E73.2060907@gmail.com> Message-ID: > Not like changing from Revolution to LiveCode! In any case, > the name change is working for them. It's being looked at > like it's a brand new tool. REALbasic was the original name, then REAL Studio. Then Xojo. I think it was a good thing to change. I was very involved with the early history of RB - from RB 1 -> RB 5.5 I believe (with some overlap into the modern interface era - its been a long time). It comes from a very different mind set than LiveCode, and provides an excellent multi-platform, modern replacement for Visual Basic. LiveCode and Xojo both create multi-platform applications, but that's where the similarity ends. Conceptualizing applications is 100% different. The sort of issues that arise during development are 100% different. The goals of either...you get the idea. Best regards, Lynn Fredricks Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From sritcp at gmail.com Thu Apr 10 13:34:28 2014 From: sritcp at gmail.com (Sri) Date: Thu, 10 Apr 2014 10:34:28 -0700 (PDT) Subject: [OT] Xojo In-Reply-To: <5346C4BA.1040505@fourthworld.com> References: <53463E73.2060907@gmail.com> <1397136781822-4678154.post@n4.nabble.com> <5346A527.20407@fourthworld.com> <1397146131263-4678156.post@n4.nabble.com> <5346C4BA.1040505@fourthworld.com> Message-ID: <1397151268405-4678170.post@n4.nabble.com> Richard Gaskin wrote > Let's find out - RunRev delivered almost exactly what you're looking > for, at least as far as providing iOS deployment more affordably for > non-revenue-producing apps: > > <http://livecode.com/membership/> Richard, Thanks for the link. I look at LiveCode website once a while to see what's new, but did not stumble onto this page. I went back to livecode.com home page and tried to navigate to the above page, and had some difficulty finding it! I was looking for a page that compares Community and Commercial editions (I have seen it before), but couldn't navigate to it from the home page. I wonder if most people who come to the website to find out about the licenses will actually end up with full information. Others have said it before, the live code website badly needs some help. Sri. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Xojo-tp4678146p4678170.html Sent from the Revolution - User mailing list archive at Nabble.com. From sritcp at gmail.com Thu Apr 10 13:45:39 2014 From: sritcp at gmail.com (Sri) Date: Thu, 10 Apr 2014 10:45:39 -0700 (PDT) Subject: [OT] Xojo In-Reply-To: <5346C4BA.1040505@fourthworld.com> References: <53463E73.2060907@gmail.com> <1397136781822-4678154.post@n4.nabble.com> <5346A527.20407@fourthworld.com> <1397146131263-4678156.post@n4.nabble.com> <5346C4BA.1040505@fourthworld.com> Message-ID: <1397151939521-4678172.post@n4.nabble.com> Richard Gaskin wrote > ......... > If instead the app is to be sold commercially as part of a business, how > can the business survive if it isn't making enough to cover the cost of > design, development, marketing, and Apple's 30% cut for distribution? > ........ There is a segment between those who make free apps as a hobby (and a contribution to the field), and full-time programmers/businesses. There are programs that may be useful for narrow niches (e.g., low-incidence disabilities) that may still involve enough time and effort to warrant a modest price (which the users are willing to pay). Such programs are not profitable for professional programmers/businesses, but too involved for a strict hobbyist. Regards, Sri. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Xojo-tp4678146p4678172.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Thu Apr 10 13:56:09 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 10 Apr 2014 12:56:09 -0500 Subject: image question (for everyone) In-Reply-To: <75EEE9A8FBB74EFF9E600BCE3CCE3CC0@userd204a4d61c> References: <664023E1CCA9490A98B9D2DF9EA375A3@userd204a4d61c> <5342FED8.3030802@hyperactivesw.com> <75EEE9A8FBB74EFF9E600BCE3CCE3CC0@userd204a4d61c> Message-ID: <5346DB39.5080705@hyperactivesw.com> On 4/10/14, 11:41 AM, larry at significantplanet.org wrote: > I changed the drive to which I build apps and both built just fine. > Don't know why. Me either, that's pretty odd. I wonder if the standalone builder is looking for resources in the wrong place. Now that you've narrowed it down, it would be worth a bug report to save others some trouble. > Anyway, my new question is this: Since you asked about a lot of images, > does LC have some kind of limit on how many images can be used in a > stack? I have over 20 images in the stack that are primarily being used > as custom designed buttons. There's no limit outside of what your computer can handle, and 20 button icons is tiny. The issue isn't the number of images but rather the size of all of them combined (after expanding any jpgs.) I was bitten by this in a project where I was storing a whole lot of large images in the stack (moving images to external files wasn't possible in this case.) LiveCode's image caching scheme, which I wasn't used to yet at the time, means it loads all of those into RAM at once, and in my case that came out to a couple of gigs of memory. I was crashing every few minutes and decided that the new version was too buggy for use. No one else had any trouble but I couldn't run it at all. I reverted back to the previous version, which didn't have image caching, but I didn't put the two together at the time. I went through support channels and it turns out it was because I was storing all these huge images in a hidden group. The actual visibility of the images doesn't matter, if the group is placed on a card they will load into RAM in preparation for being shown. I was exceeding the amount of RAM available by a large margin and LiveCode just shut down unexpectedly after a couple of card changes. In my case, the solution was to unplace the group from any cards; an unplaced group can still serve as a storage repository but won't be loaded into the image cache because it isn't potentially viewable. Immediately after that, LiveCode because quite stable. So it was all my own doing. I get so used to the reliability of LiveCode that I forget sometimes that I need to be responsible myself for the consequences of my actions. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sritcp at gmail.com Thu Apr 10 13:58:07 2014 From: sritcp at gmail.com (Sri) Date: Thu, 10 Apr 2014 10:58:07 -0700 (PDT) Subject: [OT] Xojo In-Reply-To: References: <53463E73.2060907@gmail.com> Message-ID: <1397152687230-4678174.post@n4.nabble.com> Lynn Fredricks-2 wrote > It comes from a very different mind set than LiveCode, and provides > an excellent multi-platform, modern replacement for Visual Basic. LiveCode > and Xojo both create multi-platform applications, but that's where the > similarity ends. Conceptualizing applications is 100% different. The sort > of > issues that arise during development are 100% different. The goals of > either...you get the idea. To help people who may considering both products, would you care to spill some more ink on HOW they are different? Thank you for your time, Sri. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Xojo-tp4678146p4678174.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Thu Apr 10 13:59:30 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 10 Apr 2014 20:59:30 +0300 Subject: [OT] Xojo In-Reply-To: <1397151268405-4678170.post@n4.nabble.com> References: <53463E73.2060907@gmail.com> <1397136781822-4678154.post@n4.nabble.com> <5346A527.20407@fourthworld.com> <1397146131263-4678156.post@n4.nabble.com> <5346C4BA.1040505@fourthworld.com> <1397151268405-4678170.post@n4.nabble.com> Message-ID: <5346DC02.6080907@gmail.com> On 10/04/14 20:34, Sri wrote: > Richard Gaskin wrote >> Let's find out - RunRev delivered almost exactly what you're looking >> for, at least as far as providing iOS deployment more affordably for >> non-revenue-producing apps: >> >> <http://livecode.com/membership/> > Richard, Thanks for the link. > I look at LiveCode website once a while to see what's new, but did not > stumble onto this page. > I went back to livecode.com home page and tried to navigate to the above > page, and had some difficulty finding it! I was looking for a page that > compares Community and Commercial editions (I have seen it before), but > couldn't navigate to it from the home page. I wonder if most people who come > to the website to find out about the licenses will actually end up with full > information. Others have said it before, the live code website badly needs > some help. > > Sri. > > You are not the first person who has stated that the RunRev website is rather difficult to navigate around. Or, let's be a bit more specific: the RunRev and the Livecode websites (they have 2 addresses: www.runrev.com and www.livecode.com); that of itself is a bit confusing. --------------------------------------------------------- Anyway: back to the Livecode website . . . I want to find the sourcecode of the OSS version of Livecode. Where do I start looking? Well, at a guess, I should click on "Developers" . . . On the Developers page I get a long, confusing list down the left-hand side. Now, if I'm a mind reader I work out that I should click on "Resources and Support" [I found that by clicking my way down the list] Then I get a shorter list in green: "There are a variety of Guides to various aspects of LiveCode available at Beginners Developers Moving to LiveCode iOS Externals LiveCode Server Contributing to LiveCode" Clicking my way through all of them, I eventually find that "Contributing to Livecode" ------------------------------------------- Returning to "www.livecode.com" I enter "sourcecode" into the search field and search; and get a long list where there is no link to the sourcecode in the first 10 entries at all. Gives me a socking great green list . . . Nowhere in that list can I see the phrase "source code" Having clicked my way about a third of the way down the list on "Installing and using GitHub " I get another page where there is a green link: "https://github.com/RunRev/LiveCode" where I find the source code, which is NOT downloadable as a ZIP file, a TARBALL, or anything else unitary, but a thing which I have to fiddle around with via a Terminal emulator to get organised into a folder on my machine. ------------------------------------ Quod erat demonstrandum est. Richmond. From richmondmathewson at gmail.com Thu Apr 10 14:00:30 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 10 Apr 2014 21:00:30 +0300 Subject: [OT] Xojo In-Reply-To: <1397151939521-4678172.post@n4.nabble.com> References: <53463E73.2060907@gmail.com> <1397136781822-4678154.post@n4.nabble.com> <5346A527.20407@fourthworld.com> <1397146131263-4678156.post@n4.nabble.com> <5346C4BA.1040505@fourthworld.com> <1397151939521-4678172.post@n4.nabble.com> Message-ID: <5346DC3E.8090706@gmail.com> On 10/04/14 20:45, Sri wrote: > Richard Gaskin wrote >> ......... >> If instead the app is to be sold commercially as part of a business, how >> can the business survive if it isn't making enough to cover the cost of >> design, development, marketing, and Apple's 30% cut for distribution? >> ........ > There is a segment between those who make free apps as a hobby (and a > contribution to the field), and full-time programmers/businesses. There are > programs that may be useful for narrow niches (e.g., low-incidence > disabilities) that may still involve enough time and effort to warrant a > modest price (which the users are willing to pay). Such programs are not > profitable for professional programmers/businesses, but too involved for a > strict hobbyist. > > Regards, > Sri. > > My "Devawriter Pro" and "PISMO" fit right into this category. Richmond. From richmondmathewson at gmail.com Thu Apr 10 14:06:22 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 10 Apr 2014 21:06:22 +0300 Subject: [OT] Xojo In-Reply-To: <1397152687230-4678174.post@n4.nabble.com> References: <53463E73.2060907@gmail.com> <1397152687230-4678174.post@n4.nabble.com> Message-ID: <5346DD9E.3070904@gmail.com> On 10/04/14 20:58, Sri wrote: > Lynn Fredricks-2 wrote >> It comes from a very different mind set than LiveCode, and provides >> an excellent multi-platform, modern replacement for Visual Basic. LiveCode >> and Xojo both create multi-platform applications, but that's where the >> similarity ends. Conceptualizing applications is 100% different. The sort >> of >> issues that arise during development are 100% different. The goals of >> either...you get the idea. > To help people who may considering both products, would you care to spill > some more ink on HOW they are different? Thank you for your time, > > Sri. > I think, Sri, you may be expecting a bit much of Lynn, who is a busy man [been there, made that mistake; the one about the name]. Surely, the thing to do is to download the free version of Xojo and the free version of Livecode and run them side by side for a bit. I have downloaded both, and am planning ["all the best laid plans of mice and men . . "] to set aside 3-4 hours to play around with Xojo and see how it compares with Livecode. To be honest, I have little or no intention of swapping from Livecode to Xojo, having invested about 24 hours a week for the last 14 years fooling around with Livecode: but I do have a feeling a spot of messing around with Xojo might reinform me of Livecode's strengths, its weaknesses, and suggest a few ideas for Livecode's improvement. Richmond. From stephenREVOLUTION2 at barncard.com Thu Apr 10 14:13:34 2014 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 10 Apr 2014 11:13:34 -0700 Subject: [OT] MacHeist Bundle In-Reply-To: References: <5343ACAB.3080002@tkf.att.ne.jp> Message-ID: On Tue, Apr 8, 2014 at 7:54 AM, Peter Haworth wrote: > They just added ScreenFlow if they get to 20000 sales. > > Pete > ScreenFlow is great - I use it for multi-source video presentation/editing as well as screen recording. Editing any video/graphic stream is quick and easy. *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From revdev at pdslabs.net Thu Apr 10 14:14:26 2014 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 10 Apr 2014 11:14:26 -0700 Subject: image question (for everyone) In-Reply-To: <5346DB39.5080705@hyperactivesw.com> References: <664023E1CCA9490A98B9D2DF9EA375A3@userd204a4d61c> <5342FED8.3030802@hyperactivesw.com> <75EEE9A8FBB74EFF9E600BCE3CCE3CC0@userd204a4d61c> <5346DB39.5080705@hyperactivesw.com> Message-ID: <5346DF82.7000604@pdslabs.net> I KNEW there had to be a good use for unplaced groups! Thanks. Do you think it still works that way? Phil On 4/10/14, 10:56 AM, J. Landman Gay wrote: > In my case, the solution was to unplace the group from any cards; an > unplaced group can still serve as a storage repository but won't be > loaded into the image cache because it isn't potentially viewable. -- Phil Davis From ambassador at fourthworld.com Thu Apr 10 14:18:56 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 10 Apr 2014 11:18:56 -0700 Subject: [OT] Xojo In-Reply-To: <1397151268405-4678170.post@n4.nabble.com> References: <1397151268405-4678170.post@n4.nabble.com> Message-ID: <5346E090.6020207@fourthworld.com> Sri wrote: > Richard Gaskin wrote >> Let's find out - RunRev delivered almost exactly what you're looking >> for, at least as far as providing iOS deployment more affordably for >> non-revenue-producing apps: >> >> > > Richard, Thanks for the link. > I look at LiveCode website once a while to see what's new, but did not > stumble onto this page. > I went back to livecode.com home page and tried to navigate to the above > page, and had some difficulty finding it! There's a banner with link to it on the bottom-right of the home page at livecode.com. It's also included among the options on the Community page, accessed from the navbar at the top of every page. > I was looking for a page that > compares Community and Commercial editions (I have seen it before), but > couldn't navigate to it from the home page. I wonder if most people who come > to the website to find out about the licenses will actually end up with full > information. Others have said it before, the live code website badly needs > some help. Site taxonomy is rarely easy, and with a tool that has two versions and a broad range of learning and community resources, no less so. So specific feedback like yours is helpful, though it wouldn't be a bad thing if the team also had time for a card sort exercise (maybe someone here can whip up one with LC server for gathering data?). In the meantime, the page you're looking for involves purchasing licenses, which are under the Store heading in the navbar. In the middle of the Store page is a section labeled "See which edition is right for me", with links labeled "See All LiveCode Licenses" and "Compare". -- 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 warren at warrensweb.us Thu Apr 10 14:18:17 2014 From: warren at warrensweb.us (Warren Samples) Date: Thu, 10 Apr 2014 13:18:17 -0500 Subject: 7.0 dp 2 still not much cop on Linux In-Reply-To: <5346D266.3000407@gmail.com> References: <5346D266.3000407@gmail.com> Message-ID: <5346E069.9090602@warrensweb.us> On 04/10/2014 12:18 PM, Richmond wrote: > The problem I pointed out in DP1 is still there with the dictionary: > > Not possible to type into the search field of the Dictionary. > > UbuntuStudio 14.04 > > Richmond. Not that it helps solve the problem you're having, but I don't have this issue here on my system running openSUSE, LC 7.0-dp1. Warren From ambassador at fourthworld.com Thu Apr 10 14:24:17 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 10 Apr 2014 11:24:17 -0700 Subject: [OT] Xojo In-Reply-To: <5346DC02.6080907@gmail.com> References: <5346DC02.6080907@gmail.com> Message-ID: <5346E1D1.4070900@fourthworld.com> Richmond wrote: > You are not the first person who has stated that the RunRev > website is rather difficult to navigate around. > > Or, let's be a bit more specific: the RunRev and the Livecode > websites (they have 2 addresses: www.runrev.com and www.livecode.com); > that of itself is a bit confusing. I think it's only confusing for old-timers who were used to having the company and product name be the same thing. As it is now it's not that different from Mozilla and Firefox, or Canonical and Ubuntu, or Trimble and Sketchup, or many others. -- 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 Thu Apr 10 14:39:32 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 10 Apr 2014 21:39:32 +0300 Subject: [OT] Xojo In-Reply-To: <5346E1D1.4070900@fourthworld.com> References: <5346DC02.6080907@gmail.com> <5346E1D1.4070900@fourthworld.com> Message-ID: <5346E564.7060705@gmail.com> On 10/04/14 21:24, Richard Gaskin wrote: > Richmond wrote: > >> You are not the first person who has stated that the RunRev >> website is rather difficult to navigate around. >> >> Or, let's be a bit more specific: the RunRev and the Livecode >> websites (they have 2 addresses: www.runrev.com and www.livecode.com); >> that of itself is a bit confusing. > > I think it's only confusing for old-timers who were used to having the > company and product name be the same thing. > > As it is now it's not that different from Mozilla and Firefox, or > Canonical and Ubuntu, or Trimble and Sketchup, or many others. > That's a fair point. However, my main crit. of the website came in my search for sourcecode. Richmond. From ambassador at fourthworld.com Thu Apr 10 14:45:36 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 10 Apr 2014 11:45:36 -0700 Subject: [OT] Xojo In-Reply-To: <5346E564.7060705@gmail.com> References: <5346E564.7060705@gmail.com> Message-ID: <5346E6D0.1050509@fourthworld.com> Richmond wrote: > However, my main crit. of the website came in my search for sourcecode. On that one most projects will have an even worse problem, since the source is on a different site, usually GitHub. That said, with LiveCode it's easier to find that for many other projects - this search: ...yields the GitHub repository in the third hit. -- 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 Thu Apr 10 14:49:31 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 10 Apr 2014 21:49:31 +0300 Subject: [OT] Xojo In-Reply-To: <5346E6D0.1050509@fourthworld.com> References: <5346E564.7060705@gmail.com> <5346E6D0.1050509@fourthworld.com> Message-ID: <5346E7BB.30407@gmail.com> On 10/04/14 21:45, Richard Gaskin wrote: > Richmond wrote: >> However, my main crit. of the website came in my search for sourcecode. > > On that one most projects will have an even worse problem, since the > source is on a different site, usually GitHub. > > That said, with LiveCode it's easier to find that for many other > projects - this search: > > > ...yields the GitHub repository in the third hit. Aha: that's certainly better. > > -- > 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 scott at tactilemedia.com Thu Apr 10 15:07:41 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 10 Apr 2014 12:07:41 -0700 Subject: image question (for everyone) In-Reply-To: <5346DB39.5080705@hyperactivesw.com> References: <664023E1CCA9490A98B9D2DF9EA375A3@userd204a4d61c> <5342FED8.3030802@hyperactivesw.com> <75EEE9A8FBB74EFF9E600BCE3CCE3CC0@userd204a4d61c> <5346DB39.5080705@hyperactivesw.com> Message-ID: I really appreciate you posting this. It's pretty eye opening for someone less "under-the-hood" savvy like me who has been told for years that LiveCode loads everything into memory at startup. I would never guess that "load into memory" could have two different "definitions". Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 4/10/14 10:56 AM, "J. Landman Gay" wrote: >I was >storing all these huge images in a hidden group. The actual visibility >of the images doesn't matter, if the group is placed on a card they will >load into RAM in preparation for being shown. I was exceeding the amount >of RAM available by a large margin and LiveCode just shut down >unexpectedly after a couple of card changes. In my case, the solution >was to unplace the group from any cards; an unplaced group can still >serve as a storage repository but won't be loaded into the image cache >because it isn't potentially viewable. Immediately after that, LiveCode >because quite stable. From jacque at hyperactivesw.com Thu Apr 10 15:23:21 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 10 Apr 2014 14:23:21 -0500 Subject: image question (for everyone) In-Reply-To: <5346DF82.7000604@pdslabs.net> References: <664023E1CCA9490A98B9D2DF9EA375A3@userd204a4d61c> <5342FED8.3030802@hyperactivesw.com> <75EEE9A8FBB74EFF9E600BCE3CCE3CC0@userd204a4d61c> <5346DB39.5080705@hyperactivesw.com> <5346DF82.7000604@pdslabs.net> Message-ID: <5346EFA9.6060800@hyperactivesw.com> On 4/10/14, 1:14 PM, Phil Davis wrote: > I KNEW there had to be a good use for unplaced groups! Thanks. Do you > think it still works that way? It does, I'm still working with the project. In retrospect I could have used a substack but there are so many other substacks that I didn't want to add another. For no good reason I guess. I learned the trick in MetaCard, which uses an unplaced group for all the HC icons it imports. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Apr 10 15:40:02 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 10 Apr 2014 14:40:02 -0500 Subject: image question (for everyone) In-Reply-To: References: <664023E1CCA9490A98B9D2DF9EA375A3@userd204a4d61c> <5342FED8.3030802@hyperactivesw.com> <75EEE9A8FBB74EFF9E600BCE3CCE3CC0@userd204a4d61c> <5346DB39.5080705@hyperactivesw.com> Message-ID: <5346F392.7060209@hyperactivesw.com> Yeah, I had to talk to Mark Waddingham about it at one of the conferences before I understood what I was doing. He asked me how many images and what size each one was in pixels, whipped out his calculator, and showed me a calculation that overran the length of the display. Neither of us tried to figure out where the commas would go to see how many hundreds of thousands of bytes were actually in there. Everything really is loaded into RAM as before when the stack opens so that part hasn't changed (but I think any jpgs remain compressed until they are displayed.) But then any images potentially viewable on a card are loaded a second time into the image cache, which is flushed regularly as new images replace older ones. But in my case the group was a background group that was placed on every card, and it had all the images for the whole stack in it (long story) so LC was trying to load a huge inventory twice -- once when opening the stack, and again to the cache on every card change. I suppose I was asking for a couple of gigs of RAM by that point and LC just expired in resignation without so much as a "so sorry." On 4/10/14, 2:07 PM, Scott Rossi wrote: > I really appreciate you posting this. It's pretty eye opening for someone > less "under-the-hood" savvy like me who has been told for years that > LiveCode loads everything into memory at startup. I would never guess > that "load into memory" could have two different "definitions". > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 4/10/14 10:56 AM, "J. Landman Gay" wrote: > >> I was >> storing all these huge images in a hidden group. The actual visibility >> of the images doesn't matter, if the group is placed on a card they will >> load into RAM in preparation for being shown. I was exceeding the amount >> of RAM available by a large margin and LiveCode just shut down >> unexpectedly after a couple of card changes. In my case, the solution >> was to unplace the group from any cards; an unplaced group can still >> serve as a storage repository but won't be loaded into the image cache >> because it isn't potentially viewable. Immediately after that, LiveCode >> because quite stable. > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 kevin at stallibrass.com Thu Apr 10 17:20:16 2014 From: kevin at stallibrass.com (Kevin) Date: Thu, 10 Apr 2014 22:20:16 +0100 Subject: Possible to escape openStack? Message-ID: Thanks guys. That's really helpful and it worked great. Certainly a tip I won't forget. Interestingly, during the pause, I thought of a better way of achieving what I wanted the app to do so went back to my previous version and re wrote. Then after accessing the first version, I compared the 2 methods. Eye opening. Maybe I should take more time out to review the architecture of what I'm writing rather than just concentration on the code... Kevin Sent from my iPad From livfoss at mac.com Thu Apr 10 18:50:37 2014 From: livfoss at mac.com (Graham Samuel) Date: Fri, 11 Apr 2014 00:50:37 +0200 Subject: the menuBar and the EditMenus Message-ID: <226C9811-640C-4B88-9428-7A9450A41653@mac.com> I'm still having a strange time with these two entities in a desktop Mac app which is also designed to work on PCs. All I'm trying to do is to have a Mac menu at the top of the screen, i.e. in the normal place for Macs, but NOT to have the stack size altered compared to the PC version, where the menu bar will be at the top of the window. This doesn't seem to work for me, certainly not in the IDE. If I want my menu active in the Mac version, it seems I must set the editMenus to false, which triggers the engine to change the size of my stack (it takes 30 pixels off the height). What I want to do is to set a group to be a menu bar (set the menuBar of this stack to "myMenuGroup"), but also place it at the top of the window where the PC version will use it, and then simply hide the PC version of the menu if I'm not running on a PC. I do not want the stack size to change. However, within the Mac IDE, unless I set the editmenus to false, the IDE will not display my menu but will just continue showing its own one. I don't think this used to happen, but I can show it happening now. This augurs badly for the eventual standalone. Is anyone else trying to develop a cross-platform (Windows and Mac) app where the window (stack) size stays the same on both platforms? FWIW I'm using LC 6.6.1 Commercial on Mavericks 10.9.2 - though the problem seems to have existed for some time. I guess I did something wrong, but I now have a very simple test stack that shows the above behaviour, so unless there is a trick, I may have to code my way out of the problem by forcing the stack size to change back after editMenus is set. Has anyone got a better solution? TIA Graham From pete at lcsql.com Thu Apr 10 20:20:22 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 10 Apr 2014 17:20:22 -0700 Subject: [OT] MacHeist Bundle In-Reply-To: References: <5343ACAB.3080002@tkf.att.ne.jp> Message-ID: Looking forward to using it - I've been making do with QUicktime up to now. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Thu, Apr 10, 2014 at 11:13 AM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > On Tue, Apr 8, 2014 at 7:54 AM, Peter Haworth wrote: > > > They just added ScreenFlow if they get to 20000 sales. > > > > Pete > > > > ScreenFlow is great - I use it for multi-source video presentation/editing > as well as screen recording. Editing any video/graphic stream is quick and > easy. > > *--* > *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Apr 10 21:37:18 2014 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 10 Apr 2014 18:37:18 -0700 Subject: posting to one web site from another In-Reply-To: <5345EAF5.7020003@pdslabs.net> References: <5345EAF5.7020003@pdslabs.net> Message-ID: <5347474E.8050203@pdslabs.net> Here is how I solved this problem: * created an HTML 'template' file containing a form with merge points and JS that submits the form before page load * merged values into the page * put the page 'putting' the merged page submits the form to the target web site takes the user there in their browser, and that's what I wanted. Here is the html 'template' page (with names changed to protect the innocent): -------- start of page -------- cTRAIN Web
--------- end of page -------- There you have it - Phil Davis On 4/9/14, 5:51 PM, Phil Davis wrote: > Hi folks, > > Here's my problem: > My LC server code needs to post some items to certain page of another > web site and actually go to that page in the process. I find that I > can post to that page just fine, but then the urlResponse contains the > rendered page (as you would expect). If I 'put' it, the page is > displayed correctly in the browser but under the URL of my site. Not > what I wanted! I want my data to be posted to the offsite page, and in > response I want that page to show up in the user's browser under that > page's correct URL. > > I assume there's something I need to do with HTTP headers, but I don't > quite know what. Or maybe not. However, I bet someone within the reach > of this email often solves this kind of problem before breakfast, the > way some people do puzzles or read the paper (do people still do that?). > > Any direction you can offer will be received with much gratitude. > -- Phil Davis From capellan2000 at gmail.com Fri Apr 11 00:49:51 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 10 Apr 2014 21:49:51 -0700 (PDT) Subject: The Revenge of Buffer Overflows In-Reply-To: <1397080727891-4678137.post@n4.nabble.com> References: <1397074037708-4678133.post@n4.nabble.com> <5345AC9A.7030808@fourthworld.com> <1397080727891-4678137.post@n4.nabble.com> Message-ID: <1397191791100-4678193.post@n4.nabble.com> And finally: http://mashable.com/2014/04/10/heartbleed-programmer/ "Programmer Robin Seggelmann says he wrote the code for the part of OpenSSL that led to Heartbleed. But it was an accident. He submitted the code to the OpenSSL project and other members reviewed it. Seggelmann later added another piece of code for a new feature, which the members then added. It was this added feature that introduced the bug." "It would be better if more people helped improving it," Seggelmann told Mashable via email. "It doesn?t really matter if companies benefitting from it provided some support, or if people do it in their spare time. However, if everybody just keeps using it and thinks somebody else will eventually take care of it, it won?t work. The more people look at it, the less likely errors like this occur." -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/The-Revenge-of-Buffer-Overflows-tp4678133p4678193.html Sent from the Revolution - User mailing list archive at Nabble.com. From lan.kc.macmail at gmail.com Fri Apr 11 02:53:04 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 11 Apr 2014 14:53:04 +0800 Subject: SQLite, Unicode & LC In-Reply-To: References: <4CB44AF4-FA47-417A-BBE0-0876A91C1FD4@byu.edu> Message-ID: On Fri, Apr 11, 2014 at 12:46 AM, Peter Haworth wrote: > Do you know what version of the SQLite library your admin tool is using? > I'm wondering if there's some incompatibility in how UTF8 is handled in > different versions of the SQLite library. > > That's my assumption. Valentina Studio 5.5.4 reports 3.8.1 Navicat Premium 11.0.16 reports 3.8.1 In LC 6.5.2 I reports 3.7.4 In LC 6.6.1 I reports 3.8.3.1 From andre.bisseret at wanadoo.fr Fri Apr 11 05:36:14 2014 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Fri, 11 Apr 2014 11:36:14 +0200 Subject: field advice In-Reply-To: References: Message-ID: <87A536A6-4754-40B9-9D92-B853A9CD15CA@wanadoo.fr> Le 9 avr. 2014 ? 16:24, Michael Doub a ?crit : > ... > Is it possible to detect that an imagesource character has be clicked? > Michael, It is possible with double clicked (selectionChanged); In a field of one of my stacks, the user has the possibility to launch files from a folder "Documents" thanks to characters with an imageSource each imageSource (invisible) has a customprop "the fileTitle" In order to allow launching the file I use selectionChanged Below is the handler (simplified) on selectionChanged if word 1 of the selectedText is "#" then -- select word 1 of the selectedChunk put word 2 of the selectedChunk into tCharNum put last word of the selectedChunk into tFieldNum if the imageSource of char tCharNum of fld tFieldNum is not empty then -- -- make the filepath set the itemDel to slash put the filename of this stack into tThePath put "Documents" into item -2 of tThePath put the fileTitle of img (the imageSource of char tCharNum of fld tFieldNum) into item -1 of tThePath launch document tThePath end if end if end selectionChanged Best regards Andr? From lan.kc.macmail at gmail.com Fri Apr 11 06:15:19 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 11 Apr 2014 18:15:19 +0800 Subject: the menuBar and the EditMenus In-Reply-To: <226C9811-640C-4B88-9428-7A9450A41653@mac.com> References: <226C9811-640C-4B88-9428-7A9450A41653@mac.com> Message-ID: I'm no expert with cross platform design, but, I thought the specific purpose of the editMenu property was so you can see and edit your menu if you need to. This should only be used whilst in the IDE; it should be false in your standalone. As for the 30 pixels, which I've seen reported as 27 elsewhere, lets say you have a stack which is 827 pixels tall. On a Windows standalone you must have the Windows menu at the top of the stack, so that takes up 27 pixels. So your actual stack height available to you to put your own buttons and images etc is only 800 pixels high. Now on the Mac side, you set the menubar property to the name of the group which is your Mac specific menu. What this does is displays your Mac menu at the top of the screen as is normal for Mac. Now if nothing else happened you'd have 27 pixels of blank space (or Windows menu, I'm not sure which) at the top of the stack window, which would be wrong. So to fix this LC automatically hides the top of the stack that would normally be reserved for the Windows menu. Yes LC has behaved like this for a very long time. How would you propose to have a stack with a workable height of 800 pixels, and then include or exclude the menubar in the stack depending on OS, without adjusting the height of the stack? I think the trick is, if working on Mac, is to create your Windows version first; i.e. set up your stack with a basic Windows menu, then place your first couple of controls below these. Then create your Mac menu and try setting the menubar property. It should then all make sense. Your users should never know because they'll never see the resize. HTH On Fri, Apr 11, 2014 at 6:50 AM, Graham Samuel wrote: > I'm still having a strange time with these two entities in a desktop Mac > app which is also designed to work on PCs. All I'm trying to do is to have > a Mac menu at the top of the screen, i.e. in the normal place for Macs, but > NOT to have the stack size altered compared to the PC version, where the > menu bar will be at the top of the window. This doesn't seem to work for > me, certainly not in the IDE. If I want my menu active in the Mac version, > it seems I must set the editMenus to false, which triggers the engine to > change the size of my stack (it takes 30 pixels off the height). > > What I want to do is to set a group to be a menu bar (set the menuBar of > this stack to "myMenuGroup"), but also place it at the top of the window > where the PC version will use it, and then simply hide the PC version of > the menu if I'm not running on a PC. I do not want the stack size to > change. However, within the Mac IDE, unless I set the editmenus to false, > the IDE will not display my menu but will just continue showing its own > one. I don't think this used to happen, but I can show it happening now. > This augurs badly for the eventual standalone. > > Is anyone else trying to develop a cross-platform (Windows and Mac) app > where the window (stack) size stays the same on both platforms? FWIW I'm > using LC 6.6.1 Commercial on Mavericks 10.9.2 - though the problem seems to > have existed for some time. > > I guess I did something wrong, but I now have a very simple test stack > that shows the above behaviour, so unless there is a trick, I may have to > code my way out of the problem by forcing the stack size to change back > after editMenus is set. > > Has anyone got a better solution? > > TIA > > Graham > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From m.schonewille at economy-x-talk.com Fri Apr 11 06:32:21 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 11 Apr 2014 12:32:21 +0200 Subject: the menuBar and the EditMenus In-Reply-To: <226C9811-640C-4B88-9428-7A9450A41653@mac.com> References: <226C9811-640C-4B88-9428-7A9450A41653@mac.com> Message-ID: <5347C4B5.2090301@economy-x-talk.com> Hi Graham, Instead of setting the editMenus to false, you can also set the defaultMenubar to the name of the group that you want to use as a menu and then set the visible of the group to false. This way, the stack size doesn't change. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 4/11/2014 00:50, Graham Samuel wrote: > I'm still having a strange time with these two entities in a desktop Mac app which is also designed to work on PCs. All I'm trying to do is to have a Mac menu at the top of the screen, i.e. in the normal place for Macs, but NOT to have the stack size altered compared to the PC version, where the menu bar will be at the top of the window. This doesn't seem to work for me, certainly not in the IDE. If I want my menu active in the Mac version, it seems I must set the editMenus to false, which triggers the engine to change the size of my stack (it takes 30 pixels off the height). > > What I want to do is to set a group to be a menu bar (set the menuBar of this stack to "myMenuGroup"), but also place it at the top of the window where the PC version will use it, and then simply hide the PC version of the menu if I'm not running on a PC. I do not want the stack size to change. However, within the Mac IDE, unless I set the editmenus to false, the IDE will not display my menu but will just continue showing its own one. I don't think this used to happen, but I can show it happening now. This augurs badly for the eventual standalone. > > Is anyone else trying to develop a cross-platform (Windows and Mac) app where the window (stack) size stays the same on both platforms? FWIW I'm using LC 6.6.1 Commercial on Mavericks 10.9.2 - though the problem seems to have existed for some time. > > I guess I did something wrong, but I now have a very simple test stack that shows the above behaviour, so unless there is a trick, I may have to code my way out of the problem by forcing the stack size to change back after editMenus is set. > > Has anyone got a better solution? > > TIA > > Graham > From ambassador at fourthworld.com Fri Apr 11 09:44:14 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 11 Apr 2014 06:44:14 -0700 Subject: The Revenge of Buffer Overflows In-Reply-To: <1397191791100-4678193.post@n4.nabble.com> References: <1397191791100-4678193.post@n4.nabble.com> Message-ID: <5347F1AE.7080900@fourthworld.com> Alejandro Tejada wrote: > And finally: > http://mashable.com/2014/04/10/heartbleed-programmer/ ... > "It would be better if more people helped improving it," Seggelmann > told Mashable via email. "It doesn?t really matter if companies > benefitting from it provided some support, or if people do it in > their spare time. However, if everybody just keeps using it and > thinks somebody else will eventually take care of it, it won?t work. > The more people look at it, the less likely errors like this occur." That applies equally well to testing LiveCode. -- 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 Fri Apr 11 12:00:42 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 11 Apr 2014 16:00:42 +0000 (UTC) Subject: The Revenge of Buffer Overflows References: <1397074037708-4678133.post@n4.nabble.com> Message-ID: Ha! http://i.imgur.com/0mbh6xE.jpg -- Mark Wieder ahsoftware at gmail.com From heather at runrev.com Fri Apr 11 12:07:07 2014 From: heather at runrev.com (Heather Laine) Date: Fri, 11 Apr 2014 17:07:07 +0100 Subject: The Revenge of Buffer Overflows In-Reply-To: References: <1397074037708-4678133.post@n4.nabble.com> Message-ID: Thank you for that. I actually did laugh out loud. Having spent the last few days getting everybody new certificates I relate to this on a deep and personal level... ;) Regards, Heather On 11 Apr 2014, at 17:00, Mark Wieder wrote: > Ha! > > http://i.imgur.com/0mbh6xE.jpg > > -- > Mark Wieder > ahsoftware at gmail.com > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Heather Laine Customer Services Manager http://www.livecode.com/ From livfoss at mac.com Fri Apr 11 13:22:31 2014 From: livfoss at mac.com (Graham Samuel) Date: Fri, 11 Apr 2014 19:22:31 +0200 Subject: the menuBar and the EditMenus In-Reply-To: References: <226C9811-640C-4B88-9428-7A9450A41653@mac.com> Message-ID: <58C3AD85-0838-449A-95E8-60008578385A@mac.com> Thanks Kay for that input. The fact is, the stack which I'm setting up is supposed to show a drawing space (for graphs generated by mathematical formulae). It doesn't really matter if the Windows menu intrudes into the drawing space, since it doesn't occupy the whole horizontal width of the stack anyway. It's more important that a Mac user and a Windows user see the same result of graphing a particular equation. I am not the original author of this program (my job is essentially to productize an existing app), but I am faithfully following the original requirements - and I don't disagree with them. Philosophically, though, I think the LC stack-height-changing convention is just a trick. It's mighty convenient for some people, but it's still a trick. IMHO the programmer ought to be able to manage the visible space any way they want. Not everyone will agree with me. I think there may be a number of kinds of app where the relation between a window and the objects within it should be constant across platforms (for example to show a particularly shaped image which reaches the edges of the stack window all around - maybe like a TV picture, where you might see the station's logo in the top left hand corner or whatever, but you wouldn't want to lose some of the picture). Luckily I've just seen another mail from Mark Schonewille that tells me to do what I want (thanks, Mark!). I am about to try it out. Graham On 11 Apr 2014, at 12:15, Kay C Lan wrote: > I'm no expert with cross platform design, but, I thought the specific > purpose of the editMenu property was so you can see and edit your menu if > you need to. This should only be used whilst in the IDE; it should be false > in your standalone. > > As for the 30 pixels, which I've seen reported as 27 elsewhere, lets say > you have a stack which is 827 pixels tall. On a Windows standalone you must > have the Windows menu at the top of the stack, so that takes up 27 pixels. > So your actual stack height available to you to put your own buttons and > images etc is only 800 pixels high. > > Now on the Mac side, you set the menubar property to the name of the group > which is your Mac specific menu. What this does is displays your Mac menu > at the top of the screen as is normal for Mac. Now if nothing else happened > you'd have 27 pixels of blank space (or Windows menu, I'm not sure which) > at the top of the stack window, which would be wrong. So to fix this LC > automatically hides the top of the stack that would normally be reserved > for the Windows menu. > > Yes LC has behaved like this for a very long time. How would you propose to > have a stack with a workable height of 800 pixels, and then include or > exclude the menubar in the stack depending on OS, without adjusting the > height of the stack? > > I think the trick is, if working on Mac, is to create your Windows version > first; i.e. set up your stack with a basic Windows menu, then place your > first couple of controls below these. Then create your Mac menu and try > setting the menubar property. It should then all make sense. Your users > should never know because they'll never see the resize. > > HTH > > > On Fri, Apr 11, 2014 at 6:50 AM, Graham Samuel wrote: > >> I'm still having a strange time with these two entities in a desktop Mac >> app which is also designed to work on PCs. All I'm trying to do is to have >> a Mac menu at the top of the screen, i.e. in the normal place for Macs, but >> NOT to have the stack size altered compared to the PC version, where the >> menu bar will be at the top of the window. This doesn't seem to work for >> me, certainly not in the IDE. If I want my menu active in the Mac version, >> it seems I must set the editMenus to false, which triggers the engine to >> change the size of my stack (it takes 30 pixels off the height). >> >> What I want to do is to set a group to be a menu bar (set the menuBar of >> this stack to "myMenuGroup"), but also place it at the top of the window >> where the PC version will use it, and then simply hide the PC version of >> the menu if I'm not running on a PC. I do not want the stack size to >> change. However, within the Mac IDE, unless I set the editmenus to false, >> the IDE will not display my menu but will just continue showing its own >> one. I don't think this used to happen, but I can show it happening now. >> This augurs badly for the eventual standalone. >> >> Is anyone else trying to develop a cross-platform (Windows and Mac) app >> where the window (stack) size stays the same on both platforms? FWIW I'm >> using LC 6.6.1 Commercial on Mavericks 10.9.2 - though the problem seems to >> have existed for some time. >> >> I guess I did something wrong, but I now have a very simple test stack >> that shows the above behaviour, so unless there is a trick, I may have to >> code my way out of the problem by forcing the stack size to change back >> after editMenus is set. >> >> Has anyone got a better solution? >> >> TIA >> >> Graham >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From benr_mc at cogapp.com Fri Apr 11 13:29:12 2014 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri, 11 Apr 2014 18:29:12 +0100 Subject: The Revenge of Buffer Overflows In-Reply-To: References: <1397074037708-4678133.post@n4.nabble.com> Message-ID: <53482668.6050801@cogapp.com> While we're on comic responses to Heartbleed, the latest xkcd is the most concise explanation of the bug I've seen. http://xkcd.com/1354/ (I can't vouch for its accuracy.) Ben On 11/04/2014 17:07, Heather Laine wrote: > Thank you for that. I actually did laugh out loud. Having spent the last few days getting everybody new certificates I relate to this on a deep and personal level... ;) > > Regards, > > Heather > > On 11 Apr 2014, at 17:00, Mark Wieder wrote: > >> Ha! >> >> http://i.imgur.com/0mbh6xE.jpg >> >> -- >> Mark Wieder >> ahsoftware at gmail.com From jacque at hyperactivesw.com Fri Apr 11 13:54:27 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 11 Apr 2014 12:54:27 -0500 Subject: the menuBar and the EditMenus In-Reply-To: <58C3AD85-0838-449A-95E8-60008578385A@mac.com> References: <226C9811-640C-4B88-9428-7A9450A41653@mac.com> <58C3AD85-0838-449A-95E8-60008578385A@mac.com> Message-ID: <53482C53.3060706@hyperactivesw.com> On 4/11/14, 12:22 PM, Graham Samuel wrote: > I think there may be a number of kinds of app where the relation > between a window and the objects within it should be constant across > platforms (for example to show a particularly shaped image which > reaches the edges of the stack window all around Just for the record, nothing really changes when the stack scrolls up on a Mac. The "visible" content rect stays the same; on Windows, it is the area between the bottom of the menu bar and the bottom of the stack. It's the same on a Mac, except that the area of the menu bar is hidden. Coordinates do not change, so if the equations you're using rely on screen coordinates they will still work; the upper left of the visible area on Windows is the same as the upper left of the visible area on Mac (usually about 0,27). The 0,0 coordinate on any platform is not available when there is a menu, because it is occupied by the menu group on all platforms. You have a workaround, so there are two ways to do it. But as far as usability goes, nothing is different. Dr Raney always advised that we should create the menu bar first and position all objects relative to that. That way, everything just works. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dixonja at hotmail.co.uk Fri Apr 11 14:22:30 2014 From: dixonja at hotmail.co.uk (John Dixon) Date: Fri, 11 Apr 2014 19:22:30 +0100 Subject: Import/Export Snapshot Message-ID: Is anybody able to use import or export snapshot under iOS in any liveCode release after 6.5.2 ? If you can, would you please let me know how you are doing it... In 6.5.2 in am taking a snapshot, showing it on the card at the same time as hiding a map... it is seamless, everything works perfectly... this is the script I am using... set the margins of the templateImage to 0 import snapshot from rect (0,40, the width of card "map", the height of card "map" -40 ) set the name of the last image of card "map" to "mapic" set the topleft of the last image of this card to 0,40 These lines however, will not work in any livecode release after 6.5.2 and I need it to do so...I reported it as a 'bug', http://quality.runrev.com/show_bug.cgi?id=12008 but I see mention that some folks have been using export instead of import... I have tried that too but still will not play nicely... if no one has any suggestions, then I guess I will have to completely rearrange the display as 'who knows' how long it will be in the queue to be fixed..:-( From capellan2000 at gmail.com Fri Apr 11 14:32:56 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 11 Apr 2014 11:32:56 -0700 (PDT) Subject: 7.0 dp 2 still not much cop on Linux In-Reply-To: <5346E069.9090602@warrensweb.us> References: <5346D266.3000407@gmail.com> <5346E069.9090602@warrensweb.us> Message-ID: <1397241176449-4678205.post@n4.nabble.com> Hi Richmmond, Warren Samples wrote > On 04/10/2014 12:18 PM, Richmond wrote: >> The problem I pointed out in DP1 is still there with the dictionary: >> Not possible to type into the search field of the Dictionary. >> UbuntuStudio 14.04 I don't see this problem on my system: Lubuntu 13.10 -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/7-0-dp-2-still-not-much-cop-on-Linux-tp4678167p4678205.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Fri Apr 11 14:48:52 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 11 Apr 2014 11:48:52 -0700 (PDT) Subject: Dramatic slowdown while resizing images by script In-Reply-To: References: Message-ID: <1397242132441-4678206.post@n4.nabble.com> On Friday 11-04-2014, Mark Waddingham wrote: Thanks for the report. I can confirm the slow-down - this is due to the changes to image filtering we made in 6.6. We need to revise that slightly I think as 'normal' now does some filtering on all platforms where as before it was a box filter on Mac and a nearest filter on other platforms. (The 'normal' filter now appears to be a fair bit slower). I suspect the faint lines (I noticed some black ones in 6.5.2) are related to the cases where the space for the nested scaled image is not quite the right size - you can only set image objects to pixel boundaries, and it could be some of the black holes in the images when scaled to certain sizes are no longer aligned on pixel boundaries. [ i.e. If hole is 30 x 30, and you scale 25%, the whole will be 7.5x7.5 - so if your original nested image is 30x30 and you scale down by 25% it will end up being 7x7 and so leave a slight border ]. It is likely that the filtering in 6.6 is exacerbating this problem though. Warmest Regards, Mark. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Dramatic-slowdown-while-resizing-images-by-script-tp4678098p4678206.html Sent from the Revolution - User mailing list archive at Nabble.com. From smaclean at madmansoft.com Fri Apr 11 14:53:31 2014 From: smaclean at madmansoft.com (Stephen MacLean) Date: Fri, 11 Apr 2014 14:53:31 -0400 Subject: Import/Export Snapshot In-Reply-To: References: Message-ID: <918D7255-44A4-4F16-A6F0-93976FD7F621@madmansoft.com> Hi John, I have an app that uses mergMK as well. I use export snapshot instead of import snapshot, but haven?t tested that part of it since the release of 6.6 due to finishing other parts? but will do that this weekend! I?ve had issues with using snapshot on a card with a mergMK map on it, regardless of it?s location or visibility. I worked around it by changing the behavior of the app, but would love to revisit this as I would to be able to snapshot the map. It appears that MapKit doesn?t like to draw things offscreen, and trying to take a snapshot of it causes issues, but it?s never been confirmed one way or another. When using the snapshot command I usually use something like this: put empty into image "raw" of cd tLcard set the height of image "raw" of cd tLcard to the height of img "original" of card "Choose" set the width of image "raw" of cd tLcard to the width of img "original" of card "Choose" export snapshot from image "original" of card "Choose" to image "raw" of cd tLcard as PNG I can?t remember why, at this point, why I used export snapshot instead of import snapshot, other than I probably couldn?t get it working using import. I?ll let you know what my results are. Best, Steve MacLean On Apr 11, 2014, at 2:22 PM, John Dixon wrote: > Is anybody able to use import or export snapshot under iOS in any liveCode release after 6.5.2 ? If you can, would you please let me know how you are doing it... > > In 6.5.2 in am taking a snapshot, showing it on the card at the same time as hiding a map... it is seamless, everything works perfectly... this is the script I am using... > > set the margins of the templateImage to 0 > import snapshot from rect (0,40, the width of card "map", the height of card "map" -40 ) > set the name of the last image of card "map" to "mapic" > set the topleft of the last image of this card to 0,40 > > These lines however, will not work in any livecode release after 6.5.2 and I need it to do so...I reported it as a 'bug', > > http://quality.runrev.com/show_bug.cgi?id=12008 > > but I see mention that some folks have been using export instead of import... I have tried that too but still will not play nicely... if no one has any suggestions, then I guess I will have to completely rearrange the display as 'who knows' how long it will be in the queue to be 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 larry at significantplanet.org Fri Apr 11 16:23:10 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Fri, 11 Apr 2014 14:23:10 -0600 Subject: using two versions Message-ID: I am using XP ServicePack 3 I had a problem with 6.1.1 (rc 4) in that it would not build the standalone - just quit. It would do that on ANY stack that I tried to build. So I had to download LC 6.6 so I could build the standalone. Then I started using 6.6 to continue scripting on my stack, but 6.6 would completely freeze up about every 10-15 minutes. Again, no matter which stack I was scripting. So what I have to do now (and I hope it will work) is to edit my stack in 6.1.1 and then go to 6.6 to build the standalone. Is it because I'm using XP? Larry P.S. I know I'm not the most experienced programmer, but I'm not THAT stupid. If 6.6 was freezing on just one of my stacks, I might blame myself. But not when it freezes on EVERY stack - simple to complex. From mwieder at ahsoftware.net Fri Apr 11 18:37:57 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 11 Apr 2014 15:37:57 -0700 Subject: The Revenge of Buffer Overflows In-Reply-To: <53482668.6050801@cogapp.com> References: <1397074037708-4678133.post@n4.nabble.com> <53482668.6050801@cogapp.com> Message-ID: <56926485428.20140411153757@ahsoftware.net> Ben- Friday, April 11, 2014, 10:29:12 AM, you wrote: > While we're on comic responses to Heartbleed, the latest xkcd is the most > concise explanation of the bug I've seen. > http://xkcd.com/1354/ > (I can't vouch for its accuracy.) Exactly. Randall's got it right - here's a short video explaining what's behind this. http://info.elastica.net/2014/04/openssl-heartbeat-vulnerability/ -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From larry at significantplanet.org Fri Apr 11 20:12:46 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Fri, 11 Apr 2014 18:12:46 -0600 Subject: importing images Message-ID: If I have imported an image as a control into my stack, then I do not need to keep a copy of that image in my data folder - is that correct? TIA, Larry From scott at tactilemedia.com Fri Apr 11 20:22:31 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 11 Apr 2014 17:22:31 -0700 Subject: importing images In-Reply-To: References: Message-ID: Correct. A referenced image (where you assign a file path to an image) requires the image to present somewhere outside the stack. An imported image becomes part of a stack. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 4/11/14 5:12 PM, "larry at significantplanet.org" wrote: >If I have imported an image as a control into my stack, then I do not >need to keep a copy of that image in my data folder - is that correct? > >TIA, Larry >_______________________________________________ >use-livecode mailing list >use-livecode at 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 Fri Apr 11 23:54:19 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 12 Apr 2014 11:54:19 +0800 Subject: the menuBar and the EditMenus In-Reply-To: <53482C53.3060706@hyperactivesw.com> References: <226C9811-640C-4B88-9428-7A9450A41653@mac.com> <58C3AD85-0838-449A-95E8-60008578385A@mac.com> <53482C53.3060706@hyperactivesw.com> Message-ID: As I said, I'm no cross platform expert, so years ago when I tried to make something for my brother I got all built everything and then trying to go back and add a menubar. IMHO I thought Runrev had completely screwed up what should have been a relatively simple exercise On Sat, Apr 12, 2014 at 1:54 AM, J. Landman Gay wrote: > Dr Raney always advised that we should create the menu bar first and > position all objects relative to that. That way, everything just works. > It wasn't until I followed this very simple advise, started over from scratch... and then the penny dropped. As you say, everything just works. Of course the real problem was my bigoted Mac attitude and my lack of thought that some people out there actually need a menu in the app window. So with my Windows brother in mind I built a menubar and then added my appiness below it. From then on those clever people at Runrev had made it incredibly simple. In one respect I think those on Windows who then make a Mac version have a slight advantage in that they intuitively know they have to have a menubarat the top of their window and so don't put objects at the very top of their stack. Mac users new to LC trip over this all the time. From lan.kc.macmail at gmail.com Sat Apr 12 00:17:20 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 12 Apr 2014 12:17:20 +0800 Subject: 6.6.1GM Corrupted License Message-ID: Just wondering if anyone else is seeing this. I start 6.6.0GM. I Quit 6.6.0 and start 6.6.1GM - I get the Activation dialog telling me 'The current license of this version has become corrupted. please activate to continue'. My details are auto-loaded into the fields so I just click the Activate button and everything works fine. ! Quit 6.6.1. I start 6.6.0. I Quit 6.6.0 and start 6.6.1 - I get the same Activation dialog about the corrupted license. Instead of clicking Activate I click Quit. I start 6.6.0 and DON'T get the Activation dialog, it just starts normally. I Quit 6.6.0 and start 6.6.1 and I get the corruption message again. This is repeatable about 90% of the time. If I Quit 6.6.1 and restart it I've never got the corruption message. If on the other hand I start an earlier version of LC and then start 6.6.1 it's very rare that I won't get the corruption message. Probably just my set-up and a hint for me to do some disk maintenance. From jacque at hyperactivesw.com Sat Apr 12 02:31:04 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 12 Apr 2014 01:31:04 -0500 Subject: the menuBar and the EditMenus In-Reply-To: References: <226C9811-640C-4B88-9428-7A9450A41653@mac.com> <58C3AD85-0838-449A-95E8-60008578385A@mac.com> <53482C53.3060706@hyperactivesw.com> Message-ID: <5348DDA8.40502@hyperactivesw.com> On 4/11/14, 10:54 PM, Kay C Lan wrote: > On Sat, Apr 12, 2014 at 1:54 AM, J. Landman Gaywrote: > >> >Dr Raney always advised that we should create the menu bar first and >> >position all objects relative to that. That way, everything just works. >> > > It wasn't until I followed this very simple advise, started over from > scratch... and then the penny dropped. I was a little disingenuous. What really happened was I wrote Raney a nice little rant in email, I was frustrated and royally PO'ed. Sort of like you were, along with the other people who get bit by the same thing. I thought it was ridiculous and frustrating and stupid. He basically wrote back and said "don't do that." So after that I didn't, and like you, I changed my mind. One thing that LiveCode has over MetaCard in this respect is that if you decide to add a menu later on, the menu builder tool will push all the objects down for you and make space at the top of the card. MetaCard didn't do that, which is why I had to write a "pushdown" handler to accomodate all the HyperCard conversions I was doing. I don't have to use that much any more. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Sat Apr 12 05:24:35 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 12 Apr 2014 12:24:35 +0300 Subject: New Visual Editor ? Message-ID: <53490653.7070703@gmail.com> After rather more than a year this is quite fun to look at again: https://www.kickstarter.com/projects/1755283828/open-source-edition-of-livecode ---------------------------- However, one quite significant question pops up: "We will introduce a *new visual editor* designed around today's usability standards. The editor will be open. The more technical members of our community can create simplified versions of the editor for tablets or primary schools." When? "Final Delivery. Fall 2013" Aha; of course. Has this been dropped without us having been informed? Some of us teach Primary kids, and this would be a good thing. -------------------------- Would be glad if this point could be clarified/explained from the Mother-Ship. Richmond. From bernd.gottwald at outrange.com Sat Apr 12 06:00:12 2014 From: bernd.gottwald at outrange.com (bernd.gottwald at outrange.com) Date: 12 Apr 2014 12:00:12 +0200 Subject: =?utf-8?Q?Re:_use=2Dlivecode_Digest,_Vol_127,_Issue_22?= Message-ID: <20140412100012.24899.qmail@divico2.ch-meta.net> Bis zum 22.4.2014 bin ich nicht verf?gbar. Ich werde meine Emails nicht lesen. In dringenden F?llen erreichen Sie mich ?ber mein Mobiltelefon. I will be out of office until 22.4.2014. I won't read me emails. In urgent matter please call me on my mobile. From dave at applicationinsight.com Sat Apr 12 06:50:45 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Sat, 12 Apr 2014 03:50:45 -0700 (PDT) Subject: use-livecode Digest, Vol 127, Issue 22 In-Reply-To: <20140412100012.24899.qmail@divico2.ch-meta.net> References: <20140412100012.24899.qmail@divico2.ch-meta.net> Message-ID: <1397299844981-4678217.post@n4.nabble.com> Thanks for telling us Bernd :) have a nice trip! ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Re-use-livecode-Digest-Vol-127-Issue-22-tp4678216p4678217.html Sent from the Revolution - User mailing list archive at Nabble.com. From livfoss at mac.com Sat Apr 12 08:35:37 2014 From: livfoss at mac.com (Graham Samuel) Date: Sat, 12 Apr 2014 14:35:37 +0200 Subject: the menuBar and the EditMenus In-Reply-To: <53482C53.3060706@hyperactivesw.com> References: <226C9811-640C-4B88-9428-7A9450A41653@mac.com> <58C3AD85-0838-449A-95E8-60008578385A@mac.com> <53482C53.3060706@hyperactivesw.com> Message-ID: Jacque, you're never wrong (I say that sincerely), so sorry to be dumb, but suppose my cross-platform app was designed to emulate a TV screen (16:9 is the current ratio), how would that 'just work'? Graham On 11 Apr 2014, at 19:54, J. Landman Gay wrote: > You have a workaround, so there are two ways to do it. But as far as usability goes, nothing is different. Dr Raney always advised that we should create the menu bar first and position all objects relative to that. That way, everything just works. From livfoss at mac.com Sat Apr 12 08:49:54 2014 From: livfoss at mac.com (Graham Samuel) Date: Sat, 12 Apr 2014 14:49:54 +0200 Subject: the menuBar and the EditMenus In-Reply-To: <5347C4B5.2090301@economy-x-talk.com> References: <226C9811-640C-4B88-9428-7A9450A41653@mac.com> <5347C4B5.2090301@economy-x-talk.com> Message-ID: <17DCA3FF-97A7-407C-8C7C-00A1EA48F317@mac.com> Thanks Mark Yes, I think I see - the defaultMenuBar ensures that the app controls the Mac menu line and not the IDE or anything else. BTW the form of these statements that set the menuBar and the defaultMenuBar seem to be strange, don't they. I mean, one writes set the menuBar to "myGroup" there is no scoping here - what if there are lots of groups called "myGroup" in different parts of the stack and substack structure? It appears illegal to specify where the group is, I mean AFAIK you can't write set the menuBar to grp "myGroup" of card 1 of stack "myLibraryOfGroups" it isn't really like the rest of the LC language, is it? Graham On 11 Apr 2014, at 12:32, Mark Schonewille wrote: > Hi Graham, > > Instead of setting the editMenus to false, you can also set the defaultMenubar to the name of the group that you want to use as a menu and then set the visible of the group to false. This way, the stack size doesn't change. > > -- > Best regards, > > Mark Schonewille From rjb at robelko.com Sat Apr 12 09:09:13 2014 From: rjb at robelko.com (Robert Brenstein) Date: Sat, 12 Apr 2014 15:09:13 +0200 Subject: 6.6.1GM Corrupted License In-Reply-To: References: Message-ID: On 12.04.2014 at 12:17 Uhr +0800 Kay C Lan apparently wrote: >Just wondering if anyone else is seeing this. > >This is repeatable about 90% of the time. If I Quit 6.6.1 and restart it >I've never got the corruption message. If on the other hand I start an >earlier version of LC and then start 6.6.1 it's very rare that I won't get >the corruption message. > >Probably just my set-up and a hint for me to do some disk maintenance. More likely some change in the format of some information related to the licence. Opening version B generates warning and overwrites the old format. Then the following launches work without warning. Reopening version A, repeats the same in the other direction. RObert From larry at significantplanet.org Sat Apr 12 10:38:32 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sat, 12 Apr 2014 08:38:32 -0600 Subject: lineoffset question Message-ID: I'm using 6.1.1 (rc 4) on XP Service Pack 3 I have the following line in my script: set the hilitedline of field myGames to lineoffset(field myShort,field myGames) The line works just fine. However, if I add the optional Lines to Skip, like this: set the hilitedline of field myGames to lineoffset(field myShort,field myGames,1) then I get an incorrect result - the hilitedline is a line that does NOT have the string [field myShort] in it. The hilitedline is the line prior to the correct line. For example, line 67 instead of the correct line of 68. Furthermore, when I used a variable for Lines to Skip within a repeat statement and then stepped through in debugging, the variable would start off as 1, then go to 7 but in the next repeat it would revert back to 1 - even though the debug showed no change of the variable. Any help would be appreciated. Larry From klaus at major-k.de Sat Apr 12 10:44:43 2014 From: klaus at major-k.de (Klaus major-k) Date: Sat, 12 Apr 2014 16:44:43 +0200 Subject: lineoffset question In-Reply-To: References: Message-ID: <897A93AC-8264-4B85-AC9B-395BBFAC8ACD@major-k.de> Hi Larry, Am 12.04.2014 um 16:38 schrieb larry at significantplanet.org: > I'm using 6.1.1 (rc 4) on XP Service Pack 3 > > I have the following line in my script: > set the hilitedline of field myGames to lineoffset(field myShort,field myGames) > The line works just fine. However, if I add the optional Lines to Skip, like this: > set the hilitedline of field myGames to lineoffset(field myShort,field myGames,1) > then I get an incorrect result - the hilitedline is a line that does NOT have the string [field myShort] in it. The hilitedline is the line prior to the correct line. For example, line 67 instead of the correct line of 68. > Furthermore, when I used a variable for Lines to Skip within a repeat statement and then stepped through in debugging, the variable would start off as 1, then go to 7 but in the next repeat it would revert back to 1 - even though the debug showed no change of the variable. > > Any help would be appreciated. you have to add the OFFSET manually to the resulting line number! :-) ... put 1 into tOffset set the hilitedline of field myGames to (lineoffset(field "myShort",field "myGames",tOffset) + tOffset) ... And don't forget to put quotes around object names 8-) > Larry Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From klaus at major-k.de Sat Apr 12 10:46:21 2014 From: klaus at major-k.de (Klaus major-k) Date: Sat, 12 Apr 2014 16:46:21 +0200 Subject: lineoffset question In-Reply-To: <897A93AC-8264-4B85-AC9B-395BBFAC8ACD@major-k.de> References: <897A93AC-8264-4B85-AC9B-395BBFAC8ACD@major-k.de> Message-ID: Hi Larry oops, please replace "OFFSET" with "Skippy" in my example ;-) Am 12.04.2014 um 16:44 schrieb Klaus major-k : > Hi Larry, > > Am 12.04.2014 um 16:38 schrieb larry at significantplanet.org: > >> I'm using 6.1.1 (rc 4) on XP Service Pack 3 >> >> I have the following line in my script: >> set the hilitedline of field myGames to lineoffset(field myShort,field myGames) >> The line works just fine. However, if I add the optional Lines to Skip, like this: >> set the hilitedline of field myGames to lineoffset(field myShort,field myGames,1) >> then I get an incorrect result - the hilitedline is a line that does NOT have the string [field myShort] in it. The hilitedline is the line prior to the correct line. For example, line 67 instead of the correct line of 68. >> Furthermore, when I used a variable for Lines to Skip within a repeat statement and then stepped through in debugging, the variable would start off as 1, then go to 7 but in the next repeat it would revert back to 1 - even though the debug showed no change of the variable. >> >> Any help would be appreciated. > > you have to add the OFFSET manually to the resulting line number! :-) > ... > put 1 into tOffset > set the hilitedline of field myGames to (lineoffset(field "myShort",field "myGames",tOffset) + tOffset) > ... > > And don't forget to put quotes around object names 8-) > >> Larry Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From larry at significantplanet.org Sat Apr 12 11:15:49 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sat, 12 Apr 2014 09:15:49 -0600 Subject: lineoffset question References: <897A93AC-8264-4B85-AC9B-395BBFAC8ACD@major-k.de> Message-ID: Thanks so much Klaus! I was doing a workaround, but your answer is really what I needed!! Larry ----- Original Message ----- From: "Klaus major-k" To: "How to use LiveCode" Sent: Saturday, April 12, 2014 8:46 AM Subject: Re: lineoffset question > Hi Larry > > oops, please replace "OFFSET" with "Skippy" in my example ;-) > > Am 12.04.2014 um 16:44 schrieb Klaus major-k : > >> Hi Larry, >> >> Am 12.04.2014 um 16:38 schrieb larry at significantplanet.org: >> >>> I'm using 6.1.1 (rc 4) on XP Service Pack 3 >>> >>> I have the following line in my script: >>> set the hilitedline of field myGames to lineoffset(field myShort,field >>> myGames) >>> The line works just fine. However, if I add the optional Lines to Skip, >>> like this: >>> set the hilitedline of field myGames to lineoffset(field myShort,field >>> myGames,1) >>> then I get an incorrect result - the hilitedline is a line that does NOT >>> have the string [field myShort] in it. The hilitedline is the line >>> prior to the correct line. For example, line 67 instead of the correct >>> line of 68. >>> Furthermore, when I used a variable for Lines to Skip within a repeat >>> statement and then stepped through in debugging, the variable would >>> start off as 1, then go to 7 but in the next repeat it would revert back >>> to 1 - even though the debug showed no change of the variable. >>> >>> Any help would be appreciated. >> >> you have to add the OFFSET manually to the resulting line number! :-) >> ... >> put 1 into tOffset >> set the hilitedline of field myGames to (lineoffset(field "myShort",field >> "myGames",tOffset) + tOffset) >> ... >> >> And don't forget to put quotes around object names 8-) >> >>> Larry > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Sat Apr 12 12:06:49 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 12 Apr 2014 12:06:49 -0400 Subject: catching closeField and keyUp type events in regular table Message-ID: I want to catch the tabkey and closefield equivalents in a regular table to manipulate it, and perform some calculations. As I understand from other posts, there are frontscripts in button "revTable" of group "revLibraries" of stack "revLibrary" But what do I need to do to catch these (and not to shoot my foot off!). This is a two-column table, for optional labels and for amounts. It may get arbitrarily long (so it scrolls), but a couple of dozen entries would be very rare. So I want to move any numeric entry in the left column immediately to the right and reposition, sum the second column, and so forth. And to notife when I eave the table entirely. If I can catch the messages corresponding to closefield, arrowkey, and tabkey, I already have all the handlers I need. Also, I find that when I *do* manage to catch a closefield on leaving the table, it gets called twice, once for the table, and once for the revcell (which I am currently trapping). -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Sat Apr 12 12:36:39 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 12 Apr 2014 19:36:39 +0300 Subject: catching closeField and keyUp type events in regular table In-Reply-To: References: Message-ID: <53496B97.7090402@gmail.com> On 12/04/14 19:06, Dr. Hawkins wrote: > I want to catch the tabkey and closefield equivalents in a regular table to > manipulate it, and perform some calculations. > > As I understand from other posts, there are frontscripts in button > "revTable" of group "revLibraries" of stack "revLibrary" > > But what do I need to do to catch these (and not to shoot my foot off!). > > This is a two-column table, for optional labels and for amounts. It may > get arbitrarily long (so it scrolls), but a couple of dozen entries would > be very rare. > > So I want to move any numeric entry in the left column immediately to the > right and reposition, sum the second column, and so forth. And to notife > when I eave the table entirely. > > If I can catch the messages corresponding to closefield, arrowkey, and > tabkey, I already have all the handlers I need. > > Also, I find that when I *do* manage to catch a closefield on leaving the > table, it gets called twice, once for the table, and once for the revcell > (which I am currently trapping). > > > I assume (dangerous business), that, in the cardScript of the card that holds your table one could have this sort of thing: on keyUp KUP if KUP = wait a minute; scrub that . . . let's go for rawKeyUp: on rawKeyUp RUP if RUP = 65289 then -- do whatever fancy things you want end if -- trap left arrowKey if RUP = 65361 then -- do whatever fancy things you want end if -- have further routines to trap the other arrow keys end rawKeyUp [if that doesn't thrill your gorilla overmuch, consider using a switch statement] I suppose you would have to have this sort of script in the field's script: on closeField -- do whatever you fancy end closeField Richmond. From richmondmathewson at gmail.com Sat Apr 12 12:40:18 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 12 Apr 2014 19:40:18 +0300 Subject: catching closeField and keyUp type events in regular table In-Reply-To: References: Message-ID: <53496C72.304@gmail.com> And consider dropping this into your plug-ins folder: http://forums.runrev.com/viewtopic.php?f=6&t=20003 Richmond. From jacque at hyperactivesw.com Sat Apr 12 14:37:55 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 12 Apr 2014 13:37:55 -0500 Subject: the menuBar and the EditMenus In-Reply-To: References: <226C9811-640C-4B88-9428-7A9450A41653@mac.com> <58C3AD85-0838-449A-95E8-60008578385A@mac.com> <53482C53.3060706@hyperactivesw.com> Message-ID: <53498803.70808@hyperactivesw.com> On 4/12/14, 7:35 AM, Graham Samuel wrote: > suppose my cross-platform app was designed to emulate a TV screen > (16:9 is the current ratio), how would that 'just work'? The critical piece that isn't always clear is that the menu bar doesn't count as part of your display area; think of it in the same way as the window title bar. It does exist in the stack and takes up space there, but all content should be considered separately from that (it has to be, otherwise on Windows any objects above that will intersect with the menus.) To add a menu bar after the stack is already laid out, increase the height of the stack by the height of the menu group, move all your current content down that much, and put the menu bar group in the now-empty space at the top. The actual content area is still 16:9, and is the area below the menu group. The menu builder tool will do the moving for you if you select the "set as stack menu bar" checkbox on a stack that doesn't have a menu assigned. Alternately you can use my "pushdown" handler to do it. First increase the height of the stack by the height of your menubar group. Then run this: on pushDown tH,tY if tH = "" and tY = "" then ask "Enter horizontal and vertical offsets:" with "0,38" if it = "" then exit pushDown put item 1 of it into tH put item 2 of it into tY end if if tH = "" then put 0 into tH if tY = "" then put 0 into tY set cursor to watch repeat with x = 1 to the number of bgs set the left of bg x to the left of bg x + value(tH) set the top of bg x to the top of bg x + value(tY) end repeat repeat with x = 1 to the number of cds go cd x repeat with n = 1 to the number of cd controls set the left of cd control n to the left of cd control n + value(tH) set the top of cd control n to the top of cd control n + value(tY) end repeat end repeat end pushDown Call it from the message box this way: pushdown 0,27 If the menu is already in place, the handler will move it down with everything else so you'll have to drag it back up to the top. When that's done, you'll see that the actual display area is still the same proportions as before. On a Windows machine the menu will be in the stack window as required, and the ratio of the actual content area below it will be 16:9. On a Mac, the menu will scroll up out of view but the visible area will still be 16:9. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Apr 12 14:42:23 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 12 Apr 2014 13:42:23 -0500 Subject: the menuBar and the EditMenus In-Reply-To: <17DCA3FF-97A7-407C-8C7C-00A1EA48F317@mac.com> References: <226C9811-640C-4B88-9428-7A9450A41653@mac.com> <5347C4B5.2090301@economy-x-talk.com> <17DCA3FF-97A7-407C-8C7C-00A1EA48F317@mac.com> Message-ID: <5349890F.7010504@hyperactivesw.com> On 4/12/14, 7:49 AM, Graham Samuel wrote: > BTW the form of these statements that set the menuBar and the > defaultMenuBar seem to be strange, don't they. I mean, one writes > > set the menuBar to "myGroup" > > there is no scoping here - what if there are lots of groups called > "myGroup" in different parts of the stack and substack structure? It > appears illegal to specify where the group is, I mean AFAIK you can't > write > > set the menuBar to grp "myGroup" of card 1 of stack "myLibraryOfGroups" > > it isn't really like the rest of the LC language, is it? It works here. I routinely do this: set the menubar of this stack to the long id of grp "myMenu" and when I test in the message box: put the menubar of this stack I get: group id 5132 of card id 2876 of stack "/Users/me/folder/stack.livecode" -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Sat Apr 12 14:47:27 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 12 Apr 2014 21:47:27 +0300 Subject: Keydowner Message-ID: <53498A3F.6000707@gmail.com> Better version: http://forums.runrev.com/viewtopic.php?f=6&t=20003&p=101252#p101252 Richmond. From dochawk at gmail.com Sat Apr 12 16:23:56 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 12 Apr 2014 16:23:56 -0400 Subject: catching closeField and keyUp type events in regular table In-Reply-To: <53496B97.7090402@gmail.com> References: <53496B97.7090402@gmail.com> Message-ID: On Sat, Apr 12, 2014 at 12:36 PM, Richmond wrote: > wait a minute; scrub that . . . let's go for rawKeyUp: > > on rawKeyUp RUP > I'll give this a look when I can be at a machine; thanks > > I suppose you would have to have this sort of script in the field's script: > > on closeField > That's where I started. This is actually in a group with a button holding the behavior, but closeField isn't getting called when I would expect it (and then twice). -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From livfoss at mac.com Sat Apr 12 17:37:01 2014 From: livfoss at mac.com (Graham Samuel) Date: Sat, 12 Apr 2014 23:37:01 +0200 Subject: the menuBar and the EditMenus In-Reply-To: <5349890F.7010504@hyperactivesw.com> References: <226C9811-640C-4B88-9428-7A9450A41653@mac.com> <5347C4B5.2090301@economy-x-talk.com> <17DCA3FF-97A7-407C-8C7C-00A1EA48F317@mac.com> <5349890F.7010504@hyperactivesw.com> Message-ID: <77A7B14C-F066-479B-A2F2-C578A1DE0906@mac.com> OK, you win, kind of. I was just following what it says in the LC dictionary. By the way, on my Mac - set the menubar of stack "myStack" to grp "myMenu" of cd 1 of stack "myStack" gives an error ('source is not a container'), even though put exists(grp "myMenu" of cd 1 of stack "myStack") returns true OTOH your construction where you use the long ID obviously works. Maybe the Dictionary should be revised a bit. Thanks for listening. Graham On 12 Apr 2014, at 20:42, J. Landman Gay wrote: > On 4/12/14, 7:49 AM, Graham Samuel wrote: >> BTW the form of these statements that set the menuBar and the >> defaultMenuBar seem to be strange, don't they. I mean, one writes >> >> set the menuBar to "myGroup" >> >> there is no scoping here - what if there are lots of groups called >> "myGroup" in different parts of the stack and substack structure? It >> appears illegal to specify where the group is, I mean AFAIK you can't >> write >> >> set the menuBar to grp "myGroup" of card 1 of stack "myLibraryOfGroups" >> >> it isn't really like the rest of the LC language, is it? > > It works here. I routinely do this: > > set the menubar of this stack to the long id of grp "myMenu" > > and when I test in the message box: > > put the menubar of this stack > > I get: > > group id 5132 of card id 2876 of stack "/Users/me/folder/stack.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 livfoss at mac.com Sat Apr 12 17:42:03 2014 From: livfoss at mac.com (Graham Samuel) Date: Sat, 12 Apr 2014 23:42:03 +0200 Subject: the menuBar and the EditMenus In-Reply-To: <53498803.70808@hyperactivesw.com> References: <226C9811-640C-4B88-9428-7A9450A41653@mac.com> <58C3AD85-0838-449A-95E8-60008578385A@mac.com> <53482C53.3060706@hyperactivesw.com> <53498803.70808@hyperactivesw.com> Message-ID: <43E3E7D8-821F-4CB4-BFA0-03466820ACB7@mac.com> Jacque, you are endlessly patient. I understand everything you say about the PC menu and thanks for the handler. My last word on this is that I think perhaps just now and then the menu bar (on PC) **can** count as part of your display area - it might be no more intrusive than the station logo which I often see in the top left hand corner of the picture on my TV set - it just hijacks a little portion of the frame. But in fact you have persuaded my that this is an eccentric and minority opinion. Goodnight from France Graham On 12 Apr 2014, at 20:37, J. Landman Gay wrote: > The critical piece that isn't always clear is that the menu bar doesn't count as part of your display area; From bernd.gottwald at outrange.com Sun Apr 13 06:00:09 2014 From: bernd.gottwald at outrange.com (bernd.gottwald at outrange.com) Date: 13 Apr 2014 12:00:09 +0200 Subject: =?utf-8?Q?Re:_use=2Dlivecode_Digest,_Vol_127,_Issue_23?= Message-ID: <20140413100009.23142.qmail@divico2.ch-meta.net> Bis zum 22.4.2014 bin ich nicht verf?gbar. Ich werde meine Emails nicht lesen. In dringenden F?llen erreichen Sie mich ?ber mein Mobiltelefon. I will be out of office until 22.4.2014. I won't read me emails. In urgent matter please call me on my mobile. From richmondmathewson at gmail.com Sun Apr 13 07:00:58 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 13 Apr 2014 14:00:58 +0300 Subject: Keydowner In-Reply-To: <53498A3F.6000707@gmail.com> References: <53498A3F.6000707@gmail.com> Message-ID: <534A6E6A.6010504@gmail.com> Smaller version: http://forums.runrev.com/viewtopic.php?f=6&t=20003 Richmond. From brami.serge at gmail.com Sun Apr 13 12:02:22 2014 From: brami.serge at gmail.com (Serge Brami) Date: Sun, 13 Apr 2014 18:02:22 +0200 Subject: Do statement as "Applescript" in caller ? Message-ID: <2C28C8F6-D575-4F5A-83FF-54823E1B32D2@gmail.com> hello somebody knows what means the [caller] param in the command Do statement as "Applescript" in caller There is not any example in the livecode dictionnary Is it the name of the handler where the command is in ? I have tried but doesnt work I ask because statements as : do anything as Applescript doesnt work on Livecode 6.6 and Maverick Any Idea ? Thanks From dochawk at gmail.com Sun Apr 13 12:42:29 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 13 Apr 2014 12:42:29 -0400 Subject: 500 ms to set a thumbpos?? Message-ID: While looking for the holdup in some code, put the milliseconds -strt into stp[4] set the thumbpos of sb "dnaScroll" to chrPos put the milliseconds -strt into stp[5] ck "elapsed: " && stp[0] && stp[0] && stp[1] && stp[2] && stp[3] && stp[4] &&stp[5] The output is elapsed: 0 0 38 38 38 542 1026 That's 500 ms, repeatable, for that single line of code setting a thumbpos. (ck is my logger) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Sun Apr 13 14:50:59 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 13 Apr 2014 21:50:59 +0300 Subject: [OT] Virtualization? Message-ID: <534ADC93.2000603@gmail.com> I have a Samsung 300E5A-S01 laptop, which tells me, in the BIOS, that virtualization is not supported (although it does list 'VT-x); however, the details of the processor: http://www.notebookcheck.net/Intel-Core-i3-2330M-Notebook-Processor.52200.0.html indicate that virtualization is supported. Does anyone know whether there is a way to flash the BIOS, or some such, to enable hardware virtualization? Richmond. From jacque at hyperactivesw.com Sun Apr 13 14:58:02 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 13 Apr 2014 13:58:02 -0500 Subject: 500 ms to set a thumbpos?? In-Reply-To: References: Message-ID: <534ADE3A.3000703@hyperactivesw.com> On 4/13/14, 11:42 AM, Dr. Hawkins wrote: > While looking for the holdup in some code, > > put the milliseconds -strt into stp[4] > set the thumbpos of sb "dnaScroll" to chrPos > put the milliseconds -strt into stp[5] > ck "elapsed: " && stp[0] && stp[0] && stp[1] && stp[2] && stp[3] && > stp[4] &&stp[5] > > The output is > elapsed: 0 0 38 38 38 542 1026 > > That's 500 ms, repeatable, for that single line of code setting a thumbpos. The handler is counting cumulative milliseconds; step 5 is counting everything that executed in steps 1 through 5, including the logging statement. You'll get a more accurate time if you reinitialize strt to zero before setting each thumbpos. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Sun Apr 13 15:24:35 2014 From: pete at lcsql.com (Peter Haworth) Date: Sun, 13 Apr 2014 12:24:35 -0700 Subject: Debugging modal stacks Message-ID: Any tips on how to debug a button script in a modal dialog? It seems that red dot breakpoints and breakpoint commands don't work in modal dialogs, at least not in the stack I'm testing right now. I can tell that the script is executing, just not producing the right results. I usually try to debug in some other stack mode but not possible in this case. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From mwieder at ahsoftware.net Sun Apr 13 16:18:19 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 13 Apr 2014 13:18:19 -0700 Subject: Debugging modal stacks In-Reply-To: References: Message-ID: <1271090904610.20140413131819@ahsoftware.net> Pete- Sunday, April 13, 2014, 12:24:35 PM, you wrote: > Any tips on how to debug a button script in a modal dialog? Yeah, that's always been broken. PowerDebug http://powerdebug.ahsoftware.net http://www.ahsoftware.net/PowerTools/BuyPowerDebug.irev -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From jacque at hyperactivesw.com Sun Apr 13 16:22:01 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 13 Apr 2014 15:22:01 -0500 Subject: Debugging modal stacks In-Reply-To: References: Message-ID: <534AF1E9.4030900@hyperactivesw.com> On 4/13/14, 2:24 PM, Peter Haworth wrote: > Any tips on how to debug a button script in a modal dialog? > > It seems that red dot breakpoints and breakpoint commands don't work in > modal dialogs, at least not in the stack I'm testing right now. I can tell > that the script is executing, just not producing the right results. I > usually try to debug in some other stack mode but not possible in this case. Sprinkle around liberal "put" commands to see variable values? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alex at tweedly.net Sun Apr 13 17:28:56 2014 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 13 Apr 2014 22:28:56 +0100 Subject: 500 ms to set a thumbpos?? In-Reply-To: <534ADE3A.3000703@hyperactivesw.com> References: <534ADE3A.3000703@hyperactivesw.com> Message-ID: <534B0198.2000408@tweedly.net> It's good to get the computer to do any hard work for us, but we can still do some mental arithmetic .... 1026 - 542 gives just under 500ms, and should be accurate. In fact, you could (if you were in the mood) argue that this method is more accurate, since it doesn't carry an overhead for resetting strt :-) -- Alex. On 13/04/2014 19:58, J. Landman Gay wrote: > On 4/13/14, 11:42 AM, Dr. Hawkins wrote: >> While looking for the holdup in some code, >> >> put the milliseconds -strt into stp[4] >> set the thumbpos of sb "dnaScroll" to chrPos >> put the milliseconds -strt into stp[5] >> ck "elapsed: " && stp[0] && stp[0] && stp[1] && stp[2] && stp[3] && >> stp[4] &&stp[5] >> >> The output is >> elapsed: 0 0 38 38 38 542 1026 >> >> That's 500 ms, repeatable, for that single line of code setting a >> thumbpos. > > The handler is counting cumulative milliseconds; step 5 is counting > everything that executed in steps 1 through 5, including the logging > statement. You'll get a more accurate time if you reinitialize strt to > zero before setting each thumbpos. > From mikedoub at gmail.com Sun Apr 13 17:33:19 2014 From: mikedoub at gmail.com (Michael Doub) Date: Sun, 13 Apr 2014 17:33:19 -0400 Subject: go to not working as expected on Android Message-ID: I am observing some strangeness that maybe someone has an explanation for. I have main stack with several substacks in it. I am using a MobGUI carousel to select the correct substack to go to. That part works just fine but I can get the substacks to close. I am working on Android and have a back key and menu handler in the stack script of the main stack. on backKey if the short name of this stack is "CB" then quit else go to card "Main" of stack "CB" end if end backKey on menukey answer "Menu" go to card "Main" of stack "CB" end menu key this works perfectly in the IDE when I simulate a backkey message. The calling stack is removed from view and you see the carousel as expected. When you run it on an android device, the screen seems stuck. Hitting the back and menu keys seem to have no effect. I added a button to each sub stack that is: on mouseup backkey end mouseup This successfully got be back to the main stack and carousel with the carousel visible but another images are missing. When you select all of the items in the carousel and use the button to get back. All of a sudden things start working as you would expect in the first place. It is almost like, each of the substacks needs to be initialized and loaded into memory. This is the first time that I have tried to use substacks to partition my functionality where the stack has a user interface, I normally use cards and substacks only for library code. Am I missing some nuance of initialization of substacks? I cut all of the functionality out of the application, so I can share it if anyone is interested. Thanks, Mike From jacque at hyperactivesw.com Sun Apr 13 18:02:29 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 13 Apr 2014 17:02:29 -0500 Subject: 500 ms to set a thumbpos?? In-Reply-To: <534B0198.2000408@tweedly.net> References: <534ADE3A.3000703@hyperactivesw.com> <534B0198.2000408@tweedly.net> Message-ID: <534B0975.2060800@hyperactivesw.com> Except we don't know how intensive the ck handler is. On 4/13/14, 4:28 PM, Alex Tweedly wrote: > It's good to get the computer to do any hard work for us, but we can > still do some mental arithmetic .... > > 1026 - 542 gives just under 500ms, and should be accurate. > > In fact, you could (if you were in the mood) argue that this method is > more accurate, since it doesn't carry an overhead for resetting strt :-) > > -- Alex. > > On 13/04/2014 19:58, J. Landman Gay wrote: >> On 4/13/14, 11:42 AM, Dr. Hawkins wrote: >>> While looking for the holdup in some code, >>> >>> put the milliseconds -strt into stp[4] >>> set the thumbpos of sb "dnaScroll" to chrPos >>> put the milliseconds -strt into stp[5] >>> ck "elapsed: " && stp[0] && stp[0] && stp[1] && stp[2] && stp[3] && >>> stp[4] &&stp[5] >>> >>> The output is >>> elapsed: 0 0 38 38 38 542 1026 >>> >>> That's 500 ms, repeatable, for that single line of code setting a >>> thumbpos. >> >> The handler is counting cumulative milliseconds; step 5 is counting >> everything that executed in steps 1 through 5, including the logging >> statement. You'll get a more accurate time if you reinitialize strt to >> zero before setting each thumbpos. >> > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 alex at tweedly.net Sun Apr 13 18:16:26 2014 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 13 Apr 2014 23:16:26 +0100 Subject: 500 ms to set a thumbpos?? In-Reply-To: <534B0975.2060800@hyperactivesw.com> References: <534ADE3A.3000703@hyperactivesw.com> <534B0198.2000408@tweedly.net> <534B0975.2060800@hyperactivesw.com> Message-ID: <534B0CBA.4040704@tweedly.net> On 13/04/2014 23:02, J. Landman Gay wrote: > Except we don't know how intensive the ck handler is. > Do we need to ? stp[4] and stp[5] are set before 'ck' is called. So (assuming the numbers that are eventually output are the ones being passed) we don't care what else is being done in ck, other than outputting these values. > On 4/13/14, 4:28 PM, Alex Tweedly wrote: >> It's good to get the computer to do any hard work for us, but we can >> still do some mental arithmetic .... >> >> 1026 - 542 gives just under 500ms, and should be accurate. >> >> In fact, you could (if you were in the mood) argue that this method is >> more accurate, since it doesn't carry an overhead for resetting strt :-) >> >> -- Alex. >> >> On 13/04/2014 19:58, J. Landman Gay wrote: >>> On 4/13/14, 11:42 AM, Dr. Hawkins wrote: >>>> While looking for the holdup in some code, >>>> >>>> put the milliseconds -strt into stp[4] >>>> set the thumbpos of sb "dnaScroll" to chrPos >>>> put the milliseconds -strt into stp[5] >>>> ck "elapsed: " && stp[0] && stp[0] && stp[1] && stp[2] && >>>> stp[3] && >>>> stp[4] &&stp[5] >>>> >>>> The output is >>>> elapsed: 0 0 38 38 38 542 1026 >>>> >>>> That's 500 ms, repeatable, for that single line of code setting a >>>> thumbpos. >>> >>> The handler is counting cumulative milliseconds; step 5 is counting >>> everything that executed in steps 1 through 5, including the logging >>> statement. You'll get a more accurate time if you reinitialize strt to >>> zero before setting each thumbpos. >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 Apr 13 18:40:40 2014 From: pete at lcsql.com (Peter Haworth) Date: Sun, 13 Apr 2014 15:40:40 -0700 Subject: Debugging modal stacks In-Reply-To: <1271090904610.20140413131819@ahsoftware.net> References: <1271090904610.20140413131819@ahsoftware.net> Message-ID: Thanks Mark, I had forgotten (!!!) about PowerDebug. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sun, Apr 13, 2014 at 1:18 PM, Mark Wieder wrote: > Pete- > > Sunday, April 13, 2014, 12:24:35 PM, you wrote: > > > Any tips on how to debug a button script in a modal dialog? > > Yeah, that's always been broken. > PowerDebug > http://powerdebug.ahsoftware.net > http://www.ahsoftware.net/PowerTools/BuyPowerDebug.irev > > -- > -Mark Wieder > ahsoftware at gmail.com > > This communication may be unlawfully collected and stored by the National > Security Agency (NSA) in secret. The parties to this email do not > consent to the retrieving or storing of this communication and any > related metadata, as well as printing, copying, re-transmitting, > disseminating, or otherwise using it. If you believe you have received > this communication in error, please delete it immediately. > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 13 18:41:29 2014 From: pete at lcsql.com (Peter Haworth) Date: Sun, 13 Apr 2014 15:41:29 -0700 Subject: Debugging modal stacks In-Reply-To: <534AF1E9.4030900@hyperactivesw.com> References: <534AF1E9.4030900@hyperactivesw.com> Message-ID: Yes, That's what I started doing but then Mark reminded me of PowerDebug. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sun, Apr 13, 2014 at 1:22 PM, J. Landman Gay wrote: > On 4/13/14, 2:24 PM, Peter Haworth wrote: > >> Any tips on how to debug a button script in a modal dialog? >> >> It seems that red dot breakpoints and breakpoint commands don't work in >> modal dialogs, at least not in the stack I'm testing right now. I can tell >> that the script is executing, just not producing the right results. I >> usually try to debug in some other stack mode but not possible in this >> case. >> > > Sprinkle around liberal "put" commands to see variable values? > > -- > 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 mikedoub at gmail.com Sun Apr 13 20:01:19 2014 From: mikedoub at gmail.com (Michael Doub) Date: Sun, 13 Apr 2014 20:01:19 -0400 Subject: go to not working as expected on Android In-Reply-To: References: Message-ID: <8E8311CA-BE43-485F-B7EA-F339609511C2@gmail.com> Ah yes it was a nuance. The message path got me. Each time one of the substacks was opened, the unhanded stack messages found their way back to the main stack. We were initializing like crazy. :-) -= Mike On Apr 13, 2014, at 5:33 PM, Michael Doub wrote: > I am observing some strangeness that maybe someone has an explanation for. > > I have main stack with several substacks in it. I am using a MobGUI carousel to select the correct substack to go to. That part works just fine but I can get the substacks to close. > > I am working on Android and have a back key and menu handler in the stack script of the main stack. > > on backKey > if the short name of this stack is "CB" then > quit > else > go to card "Main" of stack "CB" > end if > end backKey > > on menukey > answer "Menu" > go to card "Main" of stack "CB" > end menu key > > this works perfectly in the IDE when I simulate a backkey message. The calling stack is removed from view and you see the carousel as expected. When you run it on an android device, the screen seems stuck. Hitting the back and menu keys seem to have no effect. I added a button to each sub stack that is: > > on mouseup > backkey > end mouseup > > This successfully got be back to the main stack and carousel with the carousel visible but another images are missing. When you select all of the items in the carousel and use the button to get back. All of a sudden things start working as you would expect in the first place. It is almost like, each of the substacks needs to be initialized and loaded into memory. > > This is the first time that I have tried to use substacks to partition my functionality where the stack has a user interface, I normally use cards and substacks only for library code. Am I missing some nuance of initialization of substacks? > > I cut all of the functionality out of the application, so I can share it if anyone is interested. > > Thanks, > Mike > > > From m.schonewille at economy-x-talk.com Sun Apr 13 20:34:35 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 14 Apr 2014 02:34:35 +0200 Subject: Do statement as "Applescript" in caller ? In-Reply-To: <2C28C8F6-D575-4F5A-83FF-54823E1B32D2@gmail.com> References: <2C28C8F6-D575-4F5A-83FF-54823E1B32D2@gmail.com> Message-ID: <534B2D1B.8090407@economy-x-talk.com> Hi Serge, First of all, I don't think that the in caller clause makes much of a different if you execute AppleScript syntax. It is probably meant to alter the executionContext when you execute LiveCode syntax. You can see examples of the grammar used to write this clause, if you execute the following in the message box: put the executionContexts If you write a reference to a handler in the form displayed in the message box after execution above code, then you should be able to change the executionContext during executing the do command. E.g. put "button id 1014 of card id 1002 of stack" && quote & "C:/Program Files (x86)/My App/My Stack.rev" & quote & comma & "moueUp,12" \ into myContext do "beep" in myContext // without "as" I'm not entirely sure about this, because I can't find any documentation. This is my best guess for now. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 4/13/2014 18:02, Serge Brami wrote: > hello > somebody knows what means the [caller] param in the command Do statement as "Applescript" in caller > There is not any example in the livecode dictionnary > Is it the name of the handler where the command is in ? I have tried but doesnt work > > I ask because statements as : do anything as Applescript doesnt work on Livecode 6.6 and Maverick > Any Idea ? > > Thanks > From gcanyon at gmail.com Sun Apr 13 20:35:13 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Sun, 13 Apr 2014 19:35:13 -0500 Subject: Debugging modal stacks In-Reply-To: References: Message-ID: Debug it as a non-modal. On Sun, Apr 13, 2014 at 2:24 PM, Peter Haworth wrote: > Any tips on how to debug a button script in a modal dialog? > > It seems that red dot breakpoints and breakpoint commands don't work in > modal dialogs, at least not in the stack I'm testing right now. I can tell > that the script is executing, just not producing the right results. I > usually try to debug in some other stack mode but not possible in this > case. > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 13 21:34:34 2014 From: pete at lcsql.com (Peter Haworth) Date: Sun, 13 Apr 2014 18:34:34 -0700 Subject: Integer part of divide Message-ID: I just know this has to be simple but I need to divide one number by another and get just the integer part of the result. So 20 / 7 would be 2 for example. I tried setting the number format to "#" but I still get decimals in the result (that's not right is it?). For now I'm setting the itemdelimiter to "." and extracting item 1 of the result of the division. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From lan.kc.macmail at gmail.com Sun Apr 13 21:59:31 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 14 Apr 2014 09:59:31 +0800 Subject: Do statement as "Applescript" in caller ? In-Reply-To: <2C28C8F6-D575-4F5A-83FF-54823E1B32D2@gmail.com> References: <2C28C8F6-D575-4F5A-83FF-54823E1B32D2@gmail.com> Message-ID: On Mon, Apr 14, 2014 at 12:02 AM, Serge Brami wrote: > > I ask because statements as : do anything as Applescript doesnt work on > Livecode 6.6 and Maverick > Any Idea ? > Don't know anything about 'caller', but I notice for the Release Notes for LC 6.1.2 RC3 it states that one of the bug fixes as: -- 11212 - AppleScript does not work on LiveCode IDE I just tried this in the message box: put "tell application ""e&"Finder""e&cr& \ "open application file ""e&"calendar.app""e&" of folder ""e&"Applications""e&" of startup disk"&cr& \ "end tell" into tScript put tScript into msg do tScript as applescript Watch the line breaks above, there are 5 lines of code, it should come out in the msg box as 3 lines: tell application "Finder" open application file "calendar.app" of folder "Applications" of startup disk end tell Applescripted started Calendar for me on 10.9.2 with LC 6.6.1GM and LC6.6GM. Applescript may have been broken in LC but it seems to have been fixed for a while now. From lan.kc.macmail at gmail.com Sun Apr 13 22:03:00 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 14 Apr 2014 10:03:00 +0800 Subject: Integer part of divide In-Reply-To: References: Message-ID: Checkout div in the dictionary put 20 div 7 into msg On Mon, Apr 14, 2014 at 9:34 AM, Peter Haworth wrote: > I just know this has to be simple but I need to divide one number by > another and get just the integer part of the result. So 20 / 7 would be 2 > for example. I tried setting the number format to "#" but I still get > decimals in the result (that's not right is it?). > > For now I'm setting the itemdelimiter to "." and extracting item 1 of the > result of the division. > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From rjb at robelko.com Sun Apr 13 22:24:52 2014 From: rjb at robelko.com (Robert Brenstein) Date: Mon, 14 Apr 2014 04:24:52 +0200 Subject: [OT] free personality portraits Message-ID: This has nothing to do with LC but as varied as this group is in their tempers and attitudes, as we know well from lively discussions, I thought that some of you may find it interesting to get free personality portraits. If you are not interested, just press the delete key now. I work with the German partner of a British company called Lumina Learning. They develop psychometric instruments which are used by coaches and trainers. Companies use them for personal and organizational change and long-term improvement. The instruments are about realizing how we are and function as individuals and how we are different from other people and they from us. Their unique approach is to look at the opposite ends of each scale independently. Yes, many of us are both introverts and extroverts in varying degrees and it shows there. They are working on improving their products and would like to get as many different people as possible to complete the development versions of two of their instruments. They simply want to collect a large reference data. Anybody that completes the first questionnaire can get a short personality portrait emailed to them. Anybody that completes the second questionnaire can get a short emotional intelligence report. Both are free. Each questionnaire takes 20-25 mins. If it takes you longer, you think too much ;-) There are no good or bad answers. Answering the way you feel and behave, not the way you are expected to be or behave, will produce more realistic results. I haven't seen reports from the second questionnaire but the portrait produced by the first one is different for each person, with your unique colorful mandala. This is a short time only deal. I believe after 7-10 days these links will go away, depending how quickly they reach their goal. Robert Disclosure: although I work with that company and thus benefit from their research indirectly on the long term, I do not gain anything directly when you fill out these questionnaires. From dunbarx at aol.com Sun Apr 13 23:15:00 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 13 Apr 2014 23:15:00 -0400 (EDT) Subject: Integer part of divide In-Reply-To: References: Message-ID: <8D125A6DAECEB8B-2FD4-EA5E@webmail-d279.sysops.aol.com> Trunc. And I ain't talking about things in my pajamas. Craig -----Original Message----- From: Peter Haworth To: How to use LiveCode Sent: Sun, Apr 13, 2014 9:35 pm Subject: Integer part of divide I just know this has to be simple but I need to divide one number by another and get just the integer part of the result. So 20 / 7 would be 2 for example. I tried setting the number format to "#" but I still get decimals in the result (that's not right is it?). For now I'm setting the itemdelimiter to "." and extracting item 1 of the result of the division. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sun Apr 13 23:15:42 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 13 Apr 2014 22:15:42 -0500 Subject: 500 ms to set a thumbpos?? In-Reply-To: <534B0CBA.4040704@tweedly.net> References: <534ADE3A.3000703@hyperactivesw.com> <534B0198.2000408@tweedly.net> <534B0975.2060800@hyperactivesw.com> <534B0CBA.4040704@tweedly.net> Message-ID: <5eeb8c54-9ed6-4e64-b743-2d292eeff07d@email.android.com> I see, so he's only calling ck once at the end. I had thought it was part of a longer sequence where it was interspersed throughout. In that case you're quite right and the logging handler doesn't matter. But that leaves the question of what those 38s are doing in there with 0 milliseconds between them. On April 13, 2014 5:16:26 PM CDT, Alex Tweedly wrote: >On 13/04/2014 23:02, J. Landman Gay wrote: >> Except we don't know how intensive the ck handler is. >> >Do we need to ? >stp[4] and stp[5] are set before 'ck' is called. So (assuming the >numbers that are eventually output are the ones being passed) we don't >care what else is being done in ck, other than outputting these values. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From revdev at pdslabs.net Mon Apr 14 01:40:43 2014 From: revdev at pdslabs.net (Phil Davis) Date: Sun, 13 Apr 2014 22:40:43 -0700 Subject: Debugging modal stacks In-Reply-To: References: Message-ID: <534B74DB.4080208@pdslabs.net> It used to be that when you set the vis of a modal window to false, it would operate as a non-modal. You could try that, though I don't know if it still works that way. I suspect it was a bug and it may have been fixed long ago. Phil On 4/13/14, 12:24 PM, Peter Haworth wrote: > Any tips on how to debug a button script in a modal dialog? > > It seems that red dot breakpoints and breakpoint commands don't work in > modal dialogs, at least not in the stack I'm testing right now. I can tell > that the script is executing, just not producing the right results. I > usually try to debug in some other stack mode but not possible in this case. > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mon Apr 14 02:34:03 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 14 Apr 2014 02:34:03 -0400 Subject: 500 ms to set a thumbpos?? In-Reply-To: <5eeb8c54-9ed6-4e64-b743-2d292eeff07d@email.android.com> References: <534ADE3A.3000703@hyperactivesw.com> <534B0198.2000408@tweedly.net> <534B0975.2060800@hyperactivesw.com> <534B0CBA.4040704@tweedly.net> <5eeb8c54-9ed6-4e64-b743-2d292eeff07d@email.android.com> Message-ID: On Sun, Apr 13, 2014 at 11:15 PM, J. Landman Gay wrote: > I see, so he's only calling ck once at the end. I had thought it was part > of a longer sequence where it was interspersed throughout. > Just the once, and it just appends after a scrolling field in another window and puts to the message box (it's really so that I can log/debug in standalones) In that case you're quite right and the logging handler doesn't matter. > But that leaves the question of what those 38s are doing in there with 0 > milliseconds between them. > I put a log after every statement in the handler to see where the time was going. This is with 6.6. I found that with a new stack, the time dropped significantly. I then found another time-hole. Setting the disabled of a combobox takes about 400ms, and this occurred in a brand new stack, too. I then loaded the stacks with 5.5, and the thumbpos still took something like 23 ms, but the disabled dropped to a couple of ms. I knew the 6 serious was low-beta grade all along, but this is kind of ridiculous . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From lan.kc.macmail at gmail.com Mon Apr 14 04:29:41 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 14 Apr 2014 16:29:41 +0800 Subject: 500 ms to set a thumbpos?? In-Reply-To: References: <534ADE3A.3000703@hyperactivesw.com> <534B0198.2000408@tweedly.net> <534B0975.2060800@hyperactivesw.com> <534B0CBA.4040704@tweedly.net> <5eeb8c54-9ed6-4e64-b743-2d292eeff07d@email.android.com> Message-ID: LC 6.6.x is known to have a speed issue with Retina displays, but that doesn't appear to be the issue here. I did a quick test, brand new Stack, a scrollbar, a combobox and a button with the following script: on mouseUp repeat 20 times put the millisec into tStart set the thumbpos of sb "scrollbar" to random(100) put the millisec into tEnd put (tEnd - tStart) & "," after tData end repeat put char 1 to -2 of tData into tData put "Min: " & min(tData) & " ms" & cr into msg put "Max: " & max(tData) & " ms" & cr after msg put "Avg: " & average(tData) & " ms" & cr & "%%%%%%%%%%" & cr after msg put empty into tData --now do combobox repeat 20 times put the millisec into tStart set the enabled of btn "cb1" to false put the millisec into tEnd put (tEnd - tStart) & "," after tData put the millisec into tStart set the enabled of btn "cb1" to true put the millisec into tEnd put (tEnd - tStart) & "," after tData1 end repeat put char 1 to -2 of tData into tData put "cbdMin: " & min(tData) & " ms" & cr after msg put "cbdMax: " & max(tData) & " ms" & cr after msg put "cbdAvg: " & average(tData) & " ms" & cr & "%%%%%%%%%%" & cr after msg put char 1 to -2 of tData1 into tData1 put "cbeMin: " & min(tData1) & " ms" & cr after msg put "cbeMax: " & max(tData1) & " ms" & cr after msg put "cbeAvg: " & average(tData1) & " ms" & cr & "##########" & cr after msg put "Now use Lock Screen" & cr after msg put "##########" & cr after msg put empty into tData put empty into tData1 --lock the screen lock screen repeat 20 times put the millisec into tStart set the thumbpos of sb "scrollbar" to random(100) put the millisec into tEnd put (tEnd - tStart) & "," after tData end repeat put char 1 to -2 of tData into tData put "LS Min: " & min(tData) & " ms" & cr after msg put "LS Max: " & max(tData) & " ms" & cr after msg put "LS Avg: " & average(tData) & " ms" & cr & "%%%%%%%%%%" & cr after msg --now do combobox repeat 20 times put the millisec into tStart set the enabled of btn "cb1" to false put the millisec into tEnd put (tEnd - tStart) & "," after tData put the millisec into tStart set the enabled of btn "cb1" to true put the millisec into tEnd put (tEnd - tStart) & "," after tData1 end repeat put char 1 to -2 of tData into tData put "LScbdMin: " & min(tData) & " ms" & cr after msg put "LScbdMax: " & max(tData) & " ms" & cr after msg put "LScbdAvg: " & average(tData) & " ms" & cr & "%%%%%%%%%%" & cr after msg put char 1 to -2 of tData1 into tData1 put "LScbeMin: " & min(tData1) & " ms" & cr after msg put "LScbeMax: " & max(tData1) & " ms" & cr after msg put "LScbeAvg: " & average(tData1) & " ms" & cr & "##########" & cr after msg unlock screen end mouseUp Results prior to using QuickRes workaround to speed up 6.6.x Min: 1 ms Max: 20 ms Avg: 15.95 ms %%%%%%%%%% cbd = combobx disabled cbdMin: 216 ms cbdMax: 231 ms cbdAvg: 219.4 ms %%%%%%%%%% cbe = combobox enabled cbeMin: 216 ms cbeMax: 221 ms cbeAvg: 218.45 ms ########## Now use Lock Screen ########## LS Min: 0 ms LS Max: 1 ms LS Avg: 0.1 ms %%%%%%%%%% LScbdMin: 0 ms LScbdMax: 1 ms LScbdAvg: 0.051282 ms %%%%%%%%%% LScbeMin: 0 ms LScbeMax: 1 ms LScbeAvg: 0.05 ms ########## Results after using QuickRes workaround to speed up 6.6.x Min: 12 ms Max: 21 ms Avg: 16.8 ms %%%%%%%%%% cbdMin: 98 ms cbdMax: 100 ms cbdAvg: 99.05 ms %%%%%%%%%% cbeMin: 97 ms cbeMax: 102 ms cbeAvg: 99.3 ms ########## Now use Lock Screen ########## LS Min: 0 ms LS Max: 1 ms LS Avg: 0.05 ms %%%%%%%%%% LScbdMin: 0 ms LScbdMax: 1 ms LScbdAvg: 0.051282 ms %%%%%%%%%% LScbeMin: 0 ms LScbeMax: 1 ms LScbeAvg: 0.05 ms ########## Obviously locking the screen has a huge effect, but even without locking the screen the QuickRes workaround seems to half the time for enabling and disabling a combobox and although slow at 100 ms is still 4 times faster than you report. If you are seeing a difference in speed between your stack and a brand new stack then there must be something in your stack that is slowing things down. On Mon, Apr 14, 2014 at 2:34 PM, Dr. Hawkins wrote: > On Sun, Apr 13, 2014 at 11:15 PM, J. Landman Gay > wrote: > > > I see, so he's only calling ck once at the end. I had thought it was > part > > of a longer sequence where it was interspersed throughout. > > > > Just the once, and it just appends after a scrolling field in another > window and puts to the message box (it's really so that I can log/debug in > standalones) > > > In that case you're quite right and the logging handler doesn't matter. > > But that leaves the question of what those 38s are doing in there with 0 > > milliseconds between them. > > > > I put a log after every statement in the handler to see where the time was > going. > > This is with 6.6. I found that with a new stack, the time dropped > significantly. > > I then found another time-hole. Setting the disabled of a combobox takes > about 400ms, and this occurred in a brand new stack, too. > > I then loaded the stacks with 5.5, and the thumbpos still took something > like 23 ms, but the disabled dropped to a couple of ms. > > I knew the 6 serious was low-beta grade all along, but this is kind of > ridiculous . . . > > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bernd.gottwald at outrange.com Mon Apr 14 06:00:13 2014 From: bernd.gottwald at outrange.com (bernd.gottwald at outrange.com) Date: 14 Apr 2014 12:00:13 +0200 Subject: =?utf-8?Q?Re:_use=2Dlivecode_Digest,_Vol_127,_Issue_24?= Message-ID: <20140414100013.4333.qmail@divico2.ch-meta.net> Bis zum 22.4.2014 bin ich nicht verf?gbar. Ich werde meine Emails nicht lesen. In dringenden F?llen erreichen Sie mich ?ber mein Mobiltelefon. I will be out of office until 22.4.2014. I won't read me emails. In urgent matter please call me on my mobile. From jbv at souslelogo.com Mon Apr 14 07:43:35 2014 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Mon, 14 Apr 2014 14:43:35 +0300 Subject: outputTextEncoding on on-rev Message-ID: <5bae54dff3d4ef4ebab88d465d38493e.squirrel@185.8.104.234> Hi list, I need to use set the outputTextEncoding to "windows-1252" on a server script (on-rev) but it generates an error, although that property is listed in the LC 6.5 dictionnary which mentions that it was introduced in version 4.6.3 ... More generally, does anyone have any information about the engine version running on on-rev, since revAppVersion() doesn't seem to work either ? Thanks. jbv From jbv at souslelogo.com Mon Apr 14 09:15:49 2014 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Mon, 14 Apr 2014 16:15:49 +0300 Subject: outputTextEncoding on on-rev In-Reply-To: <5bae54dff3d4ef4ebab88d465d38493e.squirrel@185.8.104.234> References: <5bae54dff3d4ef4ebab88d465d38493e.squirrel@185.8.104.234> Message-ID: Hi again, Stupid me : I just used "the version" and it returned 3.5.0 !!!! How come on-rev installs such an old engine on their servers ? All the best jbv > Hi list, > > I need to use > set the outputTextEncoding to "windows-1252" > on a server script (on-rev) but it generates an error, although that > property > is listed in the LC 6.5 dictionnary which mentions that it was introduced > in > version 4.6.3 ... > More generally, does anyone have any information about the engine version > running on on-rev, since revAppVersion() doesn't seem to work either ? > > Thanks. > jbv > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dwilliams at runrev.com Mon Apr 14 09:49:00 2014 From: dwilliams at runrev.com (dwilliams at runrev.com) Date: Mon, 14 Apr 2014 15:49:00 +0200 Subject: outputTextEncoding on on-rev In-Reply-To: References: <5bae54dff3d4ef4ebab88d465d38493e.squirrel@185.8.104.234> Message-ID: <20140414154900.287744gee05d6fyk@meg.on-rev.com> Hello JBV, I believe this is due to the use of .irev scripts as opposed to .lc, .irev makes use of the legacy irev engine. Regards, -David Quoting jbv at souslelogo.com: > Hi again, > > Stupid me : I just used "the version" and it returned 3.5.0 !!!! > How come on-rev installs such an old engine on their servers ? > > All the best > jbv > >> Hi list, >> >> I need to use >> set the outputTextEncoding to "windows-1252" >> on a server script (on-rev) but it generates an error, although that >> property >> is listed in the LC 6.5 dictionnary which mentions that it was introduced >> in >> version 4.6.3 ... >> More generally, does anyone have any information about the engine version >> running on on-rev, since revAppVersion() doesn't seem to work either ? >> >> Thanks. >> jbv >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Mon Apr 14 11:57:13 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 14 Apr 2014 15:57:13 +0000 Subject: 6.6.1 no bueno Message-ID: <9D010C7D-8913-4111-AD9F-FE4F44596C35@iotecdigital.com> Hi all. Release 6.6.1 is no bueno. Try this: Launch 6.6.1. Open a new stack. Drag a combo box into the stack. Double click the combo box to get properties. Do you get the property inspector? I don?t. Now do the same thing, only this time, drag a regular push button into the new stack and double click. NOW you get the property inspector, and dragging a new combo box and double clicking it will give you the property inspector as well. Seems if the combo box is the first thing you get properties for after a launch, you will not get the properties inspector at all for anything, but if you get properties for something else first, the property inspector seems to work fine. If you do this after you have been running for a while, chances are you will have already gotten the property inspector for something else and the test will be no good. I have already removed all the plugins so that is not an issue. If others can reproduce this, I will submit a bug report. I am running Mavericks 10.9.2 on a 15? Macbook Pro. Bob From bobsneidar at iotecdigital.com Mon Apr 14 11:59:10 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 14 Apr 2014 15:59:10 +0000 Subject: 6.6.1 no bueno In-Reply-To: <9D010C7D-8913-4111-AD9F-FE4F44596C35@iotecdigital.com> References: <9D010C7D-8913-4111-AD9F-FE4F44596C35@iotecdigital.com> Message-ID: <5CC0A805-8254-4C1A-90BF-5EF9EA9E3996@iotecdigital.com> UPDATE: This is a problem with 6.6.0 as well. 6.5.2 does NOT exhibit this problem. Bob On Apr 14, 2014, at 08:57 , Bob Sneidar wrote: > Hi all. > > Release 6.6.1 is no bueno. Try this: Launch 6.6.1. Open a new stack. Drag a combo box into the stack. Double click the combo box to get properties. Do you get the property inspector? I don?t. > > Now do the same thing, only this time, drag a regular push button into the new stack and double click. NOW you get the property inspector, and dragging a new combo box and double clicking it will give you the property inspector as well. > > Seems if the combo box is the first thing you get properties for after a launch, you will not get the properties inspector at all for anything, but if you get properties for something else first, the property inspector seems to work fine. > > If you do this after you have been running for a while, chances are you will have already gotten the property inspector for something else and the test will be no good. I have already removed all the plugins so that is not an issue. > > If others can reproduce this, I will submit a bug report. I am running Mavericks 10.9.2 on a 15? Macbook Pro. > > Bob From pete at lcsql.com Mon Apr 14 12:04:06 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 14 Apr 2014 09:04:06 -0700 Subject: Integer part of divide In-Reply-To: <8D125A6DAECEB8B-2FD4-EA5E@webmail-d279.sysops.aol.com> References: <8D125A6DAECEB8B-2FD4-EA5E@webmail-d279.sysops.aol.com> Message-ID: Thanks Kay and Craig, either of those should do the trick. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sun, Apr 13, 2014 at 8:15 PM, wrote: > Trunc. > > > And I ain't talking about things in my pajamas. > > > Craig > > > > -----Original Message----- > From: Peter Haworth > To: How to use LiveCode > Sent: Sun, Apr 13, 2014 9:35 pm > Subject: Integer part of divide > > > I just know this has to be simple but I need to divide one number by > another and get just the integer part of the result. So 20 / 7 would be 2 > for example. I tried setting the number format to "#" but I still get > decimals in the result (that's not right is it?). > > For now I'm setting the itemdelimiter to "." and extracting item 1 of the > result of the division. > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Mon Apr 14 12:07:19 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 14 Apr 2014 09:07:19 -0700 Subject: 6.6.1 no bueno In-Reply-To: <9D010C7D-8913-4111-AD9F-FE4F44596C35@iotecdigital.com> References: <9D010C7D-8913-4111-AD9F-FE4F44596C35@iotecdigital.com> Message-ID: <331162243359.20140414090719@ahsoftware.net> Bob- Sorry. Works fine for me. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From devin_asay at byu.edu Mon Apr 14 12:40:37 2014 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 14 Apr 2014 16:40:37 +0000 Subject: 6.6.1 no bueno In-Reply-To: <9D010C7D-8913-4111-AD9F-FE4F44596C35@iotecdigital.com> References: <9D010C7D-8913-4111-AD9F-FE4F44596C35@iotecdigital.com> Message-ID: On Apr 14, 2014, at 9:57 AM, Bob Sneidar wrote: > Hi all. > > Release 6.6.1 is no bueno. Try this: Launch 6.6.1. Open a new stack. Drag a combo box into the stack. Double click the combo box to get properties. Do you get the property inspector? I don?t. > > Now do the same thing, only this time, drag a regular push button into the new stack and double click. NOW you get the property inspector, and dragging a new combo box and double clicking it will give you the property inspector as well. > > Seems if the combo box is the first thing you get properties for after a launch, you will not get the properties inspector at all for anything, but if you get properties for something else first, the property inspector seems to work fine. > > If you do this after you have been running for a while, chances are you will have already gotten the property inspector for something else and the test will be no good. I have already removed all the plugins so that is not an issue. > > If others can reproduce this, I will submit a bug report. I am running Mavericks 10.9.2 on a 15? Macbook Pro. Bob, Confirmed here on Mtn Lion 10.8.5 and LC 6.6.1. Mac-only bug, maybe? When I double click the combo box to show the prop inspector the cursor changes to watch, but nothing happens. When I add another control type, it all starts working just like you said. Devin Devin Asay Office of Digital Humanities Brigham Young University From dochawk at gmail.com Mon Apr 14 13:59:36 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 14 Apr 2014 10:59:36 -0700 Subject: 500 ms to set a thumbpos?? In-Reply-To: References: <534ADE3A.3000703@hyperactivesw.com> <534B0198.2000408@tweedly.net> <534B0975.2060800@hyperactivesw.com> <534B0CBA.4040704@tweedly.net> <5eeb8c54-9ed6-4e64-b743-2d292eeff07d@email.android.com> Message-ID: On Mon, Apr 14, 2014 at 1:29 AM, Kay C Lan wrote: > LC 6.6.x is known to have a speed issue with Retina displays, but that > doesn't appear to be the issue here. It was indeed a Retina Macbook Pro. > > If you are seeing a difference in speed between your stack and a brand new > stack then there must be something in your stack that is slowing things > down. > > The thumbpos was different for a new stack; the combobox was about the same (over 400ms on the new stack.) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From pete at lcsql.com Mon Apr 14 14:08:04 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 14 Apr 2014 11:08:04 -0700 Subject: Debugging modal stacks In-Reply-To: <534B74DB.4080208@pdslabs.net> References: <534B74DB.4080208@pdslabs.net> Message-ID: Hi Phil, Tried that and it looks like it doesn't work any more. It simply hid the stack! Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sun, Apr 13, 2014 at 10:40 PM, Phil Davis wrote: > It used to be that when you set the vis of a modal window to false, it > would operate as a non-modal. You could try that, though I don't know if it > still works that way. I suspect it was a bug and it may have been fixed > long ago. > > Phil > > > On 4/13/14, 12:24 PM, Peter Haworth wrote: > >> Any tips on how to debug a button script in a modal dialog? >> >> It seems that red dot breakpoints and breakpoint commands don't work in >> modal dialogs, at least not in the stack I'm testing right now. I can tell >> that the script is executing, just not producing the right results. I >> usually try to debug in some other stack mode but not possible in this >> case. >> >> Pete >> lcSQL Software >> Home of lcStackBrowser and >> SQLiteAdmin >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 mwieder at ahsoftware.net Mon Apr 14 14:11:51 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 14 Apr 2014 11:11:51 -0700 Subject: 6.6.1 no bueno In-Reply-To: References: <9D010C7D-8913-4111-AD9F-FE4F44596C35@iotecdigital.com> Message-ID: <1441169715944.20140414111151@ahsoftware.net> Devin- Monday, April 14, 2014, 9:40:37 AM, you wrote: > Confirmed here on Mtn Lion 10.8.5 and LC 6.6.1. Mac-only bug, maybe? I should have mentioned that I was trying this on linux. But I just did it on OSX as well, and still don't see a problem. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From devin_asay at byu.edu Mon Apr 14 14:26:30 2014 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 14 Apr 2014 18:26:30 +0000 Subject: 6.6.1 no bueno In-Reply-To: <1441169715944.20140414111151@ahsoftware.net> References: <9D010C7D-8913-4111-AD9F-FE4F44596C35@iotecdigital.com> <1441169715944.20140414111151@ahsoftware.net> Message-ID: <73B158C7-58CE-44CC-9386-80BF6C92BA8A@byu.edu> On Apr 14, 2014, at 12:11 PM, Mark Wieder wrote: > Devin- > > Monday, April 14, 2014, 9:40:37 AM, you wrote: > >> Confirmed here on Mtn Lion 10.8.5 and LC 6.6.1. Mac-only bug, maybe? > > I should have mentioned that I was trying this on linux. But I just > did it on OSX as well, and still don't see a problem. Hmmm. For me it's even broader than what Bob initially described. 1. Launch LC 6.6.1 and create a new main stack. 2. Before creating anything else, drag *any* of the four menu-style button types onto the card--option, pulldown, combo box, or popup. 3. Double click on the object to open its property inspector. The cursor changes to a watch, but the inspector palette never appears. 4. This will keep happening until you create a non-menu-style button AND open its property inspector. Once you do that the inspectors for the menu buttons will open normally. Is this what you're seeing, Bob? And what you're not seeing, Mark? Devin Devin Asay Office of Digital Humanities Brigham Young University From bobsneidar at iotecdigital.com Mon Apr 14 14:29:40 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 14 Apr 2014 18:29:40 +0000 Subject: 6.6.1 no bueno In-Reply-To: <5CC0A805-8254-4C1A-90BF-5EF9EA9E3996@iotecdigital.com> References: <9D010C7D-8913-4111-AD9F-FE4F44596C35@iotecdigital.com> <5CC0A805-8254-4C1A-90BF-5EF9EA9E3996@iotecdigital.com> Message-ID: <7E8EF1B1-84D9-4940-BFF2-D78B2F38F183@iotecdigital.com> Further Update: After returning to my app and getting the properties of the combo box button I had previously added, I discovered that it was corrupted. I could not edit most of the properties. I deleted it, and then after getting the properties of another object first, then adding a new combo box, the properties seem to all be in order. This is DEFINITELY a bug! I will post this in the appropriate place. Bob On Apr 14, 2014, at 08:59 , Bob Sneidar wrote: > UPDATE: This is a problem with 6.6.0 as well. 6.5.2 does NOT exhibit this problem. > > Bob > > > On Apr 14, 2014, at 08:57 , Bob Sneidar wrote: > >> Hi all. >> >> Release 6.6.1 is no bueno. Try this: Launch 6.6.1. Open a new stack. Drag a combo box into the stack. Double click the combo box to get properties. Do you get the property inspector? I don?t. >> >> Now do the same thing, only this time, drag a regular push button into the new stack and double click. NOW you get the property inspector, and dragging a new combo box and double clicking it will give you the property inspector as well. >> >> Seems if the combo box is the first thing you get properties for after a launch, you will not get the properties inspector at all for anything, but if you get properties for something else first, the property inspector seems to work fine. >> >> If you do this after you have been running for a while, chances are you will have already gotten the property inspector for something else and the test will be no good. I have already removed all the plugins so that is not an issue. >> >> If others can reproduce this, I will submit a bug report. I am running Mavericks 10.9.2 on a 15? Macbook Pro. >> >> 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 dixonja at hotmail.co.uk Mon Apr 14 14:33:40 2014 From: dixonja at hotmail.co.uk (John Dixon) Date: Mon, 14 Apr 2014 19:33:40 +0100 Subject: 6.6.1 no bueno In-Reply-To: <7E8EF1B1-84D9-4940-BFF2-D78B2F38F183@iotecdigital.com> References: <9D010C7D-8913-4111-AD9F-FE4F44596C35@iotecdigital.com>, <5CC0A805-8254-4C1A-90BF-5EF9EA9E3996@iotecdigital.com>, <7E8EF1B1-84D9-4940-BFF2-D78B2F38F183@iotecdigital.com> Message-ID: I'm seeing this too, like Bob. in LC 6.6 & 6.6.1 > From: bobsneidar at iotecdigital.com > To: use-livecode at lists.runrev.com > Subject: Re: 6.6.1 no bueno > Date: Mon, 14 Apr 2014 18:29:40 +0000 > > Further Update: > > After returning to my app and getting the properties of the combo box button I had previously added, I discovered that it was corrupted. I could not edit most of the properties. I deleted it, and then after getting the properties of another object first, then adding a new combo box, the properties seem to all be in order. This is DEFINITELY a bug! > > I will post this in the appropriate place. > > Bob > > > On Apr 14, 2014, at 08:59 , Bob Sneidar wrote: > > > UPDATE: This is a problem with 6.6.0 as well. 6.5.2 does NOT exhibit this problem. > > > > Bob > > > > > > On Apr 14, 2014, at 08:57 , Bob Sneidar wrote: > > > >> Hi all. > >> > >> Release 6.6.1 is no bueno. Try this: Launch 6.6.1. Open a new stack. Drag a combo box into the stack. Double click the combo box to get properties. Do you get the property inspector? I don?t. > >> > >> Now do the same thing, only this time, drag a regular push button into the new stack and double click. NOW you get the property inspector, and dragging a new combo box and double clicking it will give you the property inspector as well. > >> > >> Seems if the combo box is the first thing you get properties for after a launch, you will not get the properties inspector at all for anything, but if you get properties for something else first, the property inspector seems to work fine. > >> > >> If you do this after you have been running for a while, chances are you will have already gotten the property inspector for something else and the test will be no good. I have already removed all the plugins so that is not an issue. > >> > >> If others can reproduce this, I will submit a bug report. I am running Mavericks 10.9.2 on a 15? Macbook Pro. > >> > >> 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 jbv at souslelogo.com Mon Apr 14 14:34:08 2014 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Mon, 14 Apr 2014 21:34:08 +0300 Subject: outputTextEncoding on on-rev In-Reply-To: <20140414154900.287744gee05d6fyk@meg.on-rev.com> References: <5bae54dff3d4ef4ebab88d465d38493e.squirrel@185.8.104.234> <20140414154900.287744gee05d6fyk@meg.on-rev.com> Message-ID: David, Yes, that's right... I should have thought of that... Now I need to modify a large number of lines of codes in my apps and rename all of my scripts to keep up to date with the latest engine version... Just curious : what is on-rev policy for updating the engine ? Is it updated automatically every time a new stable version is available ? Thanks. jbv > Hello JBV, > > I believe this is due to the use of .irev scripts as opposed to .lc, > .irev makes use of the legacy irev engine. > > Regards, > > -David > > Quoting jbv at souslelogo.com: > >> Hi again, >> >> Stupid me : I just used "the version" and it returned 3.5.0 !!!! >> How come on-rev installs such an old engine on their servers ? >> >> All the best >> jbv >> >>> Hi list, >>> >>> I need to use >>> set the outputTextEncoding to "windows-1252" >>> on a server script (on-rev) but it generates an error, although that >>> property >>> is listed in the LC 6.5 dictionnary which mentions that it was >>> introduced >>> in >>> version 4.6.3 ... >>> More generally, does anyone have any information about the engine >>> version >>> running on on-rev, since revAppVersion() doesn't seem to work either ? >>> >>> Thanks. >>> jbv >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 14 14:36:59 2014 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 14 Apr 2014 21:36:59 +0300 Subject: 6.6.1 no bueno In-Reply-To: <73B158C7-58CE-44CC-9386-80BF6C92BA8A@byu.edu> References: <9D010C7D-8913-4111-AD9F-FE4F44596C35@iotecdigital.com> <1441169715944.20140414111151@ahsoftware.net> <73B158C7-58CE-44CC-9386-80BF6C92BA8A@byu.edu> Message-ID: <534C2ACB.3040101@gmail.com> On 14/04/14 21:26, Devin Asay wrote: > > Hmmm. For me it's even broader than what Bob initially described. > > 1. Launch LC 6.6.1 and create a new main stack. > > 2. Before creating anything else, drag *any* of the four menu-style button types onto the card--option, pulldown, combo box, or popup. > > 3. Double click on the object to open its property inspector. The cursor changes to a watch, but the inspector palette never appears. > > 4. This will keep happening until you create a non-menu-style button AND open its property inspector. Once you do that the inspectors for the menu buttons will open normally. > > Is this what you're seeing, Bob? And what you're not seeing, Mark? > > Devin > > Just tried Devin's "recipe" on Linux: s'Okay over here chaps. Richmond. From bobsneidar at iotecdigital.com Mon Apr 14 14:45:16 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 14 Apr 2014 18:45:16 +0000 Subject: closeStackRequest not working? Message-ID: <3C3219C5-3D58-4F9D-9EB0-9C51F2C8AFD4@iotecdigital.com> I read in the dictionary that closeStackRequest is sent to the current card when the user initiates a close stack. There is a note which says that closing the stack from a script will not trigger the message, and because of this, using command-w or selecting File->Close will not trigger the message since both these methods use a script to function. Ok, I can live with that. So then the only time a closeStackRequest gets sent is if the user clicks the Close control in the window title bar. Right? Wrong, apparently. I have this in the card script: on closeStackRequest breakpoint save this stack pass closeStackRequest end closeStackRequest When closing the window using the control in the window title bar, I do not even get the debugger. I just get the popup asking if I am sure, allowing me Don?t Save, Cancel or Save. So when *exactly* is the closeStackRequst sent? Never under any conditions? Seems so at this point, unless I am greatly mistaken. Bob From richmondmathewson at gmail.com Mon Apr 14 15:15:56 2014 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 14 Apr 2014 22:15:56 +0300 Subject: 6.6.1 no bueno In-Reply-To: <534C2ACB.3040101@gmail.com> References: <9D010C7D-8913-4111-AD9F-FE4F44596C35@iotecdigital.com> <1441169715944.20140414111151@ahsoftware.net> <73B158C7-58CE-44CC-9386-80BF6C92BA8A@byu.edu> <534C2ACB.3040101@gmail.com> Message-ID: <534C33EC.30607@gmail.com> On 14/04/14 21:36, Richmond wrote: > On 14/04/14 21:26, Devin Asay wrote: >> >> Hmmm. For me it's even broader than what Bob initially described. >> >> 1. Launch LC 6.6.1 and create a new main stack. >> >> 2. Before creating anything else, drag *any* of the four menu-style >> button types onto the card--option, pulldown, combo box, or popup. >> >> 3. Double click on the object to open its property inspector. The >> cursor changes to a watch, but the inspector palette never appears. >> >> 4. This will keep happening until you create a non-menu-style button >> AND open its property inspector. Once you do that the inspectors for >> the menu buttons will open normally. >> >> Is this what you're seeing, Bob? And what you're not seeing, Mark? >> >> Devin >> >> > > Just tried Devin's "recipe" on Linux: s'Okay over here chaps. > > Richmond. AND, Mac OS 10.9.2 [VMware] Richmond. From rdimola at evergreeninfo.net Mon Apr 14 15:38:07 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 14 Apr 2014 15:38:07 -0400 Subject: 6.6.1 no bueno In-Reply-To: <534C33EC.30607@gmail.com> References: <9D010C7D-8913-4111-AD9F-FE4F44596C35@iotecdigital.com> <1441169715944.20140414111151@ahsoftware.net> <73B158C7-58CE-44CC-9386-80BF6C92BA8A@byu.edu> <534C2ACB.3040101@gmail.com> <534C33EC.30607@gmail.com> Message-ID: <007501cf5819$0ffc3f90$2ff4beb0$@net> Same problem here on Windows. 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 Richmond Sent: Monday, April 14, 2014 3:16 PM To: How to use LiveCode Subject: Re: 6.6.1 no bueno On 14/04/14 21:36, Richmond wrote: > On 14/04/14 21:26, Devin Asay wrote: >> >> Hmmm. For me it's even broader than what Bob initially described. >> >> 1. Launch LC 6.6.1 and create a new main stack. >> >> 2. Before creating anything else, drag *any* of the four menu-style >> button types onto the card--option, pulldown, combo box, or popup. >> >> 3. Double click on the object to open its property inspector. The >> cursor changes to a watch, but the inspector palette never appears. >> >> 4. This will keep happening until you create a non-menu-style button >> AND open its property inspector. Once you do that the inspectors for >> the menu buttons will open normally. >> >> Is this what you're seeing, Bob? And what you're not seeing, Mark? >> >> Devin >> >> > > Just tried Devin's "recipe" on Linux: s'Okay over here chaps. > > Richmond. AND, Mac OS 10.9.2 [VMware] 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 Mon Apr 14 16:03:05 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 14 Apr 2014 15:03:05 -0500 Subject: closeStackRequest not working? In-Reply-To: <3C3219C5-3D58-4F9D-9EB0-9C51F2C8AFD4@iotecdigital.com> References: <3C3219C5-3D58-4F9D-9EB0-9C51F2C8AFD4@iotecdigital.com> Message-ID: <534C3EF9.90803@hyperactivesw.com> On 4/14/14, 1:45 PM, Bob Sneidar wrote: > So then the only time a closeStackRequest gets sent is if the user > clicks the Close control in the window title bar. Right? Wrong, > apparently. I have this in the card script: > > on closeStackRequest > breakpoint > save this stack > pass closeStackRequest > end closeStackRequest > > When closing the window using the control in the window title bar, I > do not even get the debugger. I just get the popup asking if I am sure, > allowing me Don?t Save, Cancel or Save. So when*exactly* is the > closeStackRequst sent? It happens as you say, when the close box is clicked. But the IDE traps the message so you may have to suspend development tools to see it. It will work as expected in a standalone. I seem to remember that after the IDE traps the message, it then passes it. It may be that the debugger won't open when that happens; try a "put something" in the message box instead to see if it gets passed. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Mon Apr 14 16:16:55 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 14 Apr 2014 20:16:55 +0000 Subject: closeStackRequest not working? In-Reply-To: <534C3EF9.90803@hyperactivesw.com> References: <3C3219C5-3D58-4F9D-9EB0-9C51F2C8AFD4@iotecdigital.com> <534C3EF9.90803@hyperactivesw.com> Message-ID: Nada. I now have: on closeStackRequest put "closeStackRequest Received!" save this stack pass closeStackRequest end closeStackRequest in the card script. Nothing gets put into the message box. Bob On Apr 14, 2014, at 13:03 , J. Landman Gay > wrote: On 4/14/14, 1:45 PM, Bob Sneidar wrote: So then the only time a closeStackRequest gets sent is if the user clicks the Close control in the window title bar. Right? Wrong, apparently. I have this in the card script: on closeStackRequest breakpoint save this stack pass closeStackRequest end closeStackRequest When closing the window using the control in the window title bar, I do not even get the debugger. I just get the popup asking if I am sure, allowing me Don?t Save, Cancel or Save. So when*exactly* is the closeStackRequst sent? It happens as you say, when the close box is clicked. But the IDE traps the message so you may have to suspend development tools to see it. It will work as expected in a standalone. I seem to remember that after the IDE traps the message, it then passes it. It may be that the debugger won't open when that happens; try a "put something" in the message box instead to see if it gets passed. -- 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 bobsneidar at iotecdigital.com Mon Apr 14 16:18:54 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 14 Apr 2014 20:18:54 +0000 Subject: Debugging modal stacks In-Reply-To: References: Message-ID: <7577EC5F-222D-4098-B0E2-9F7E95E82472@iotecdigital.com> I believe this is why Jerry Daniels created Remo. There are times when the step debugger falls short. When I was using it, it worked quite well, but I am so addicted to seeing everything happen as it happens that I prefer the step debugger. I asked before but am unsure, is Remo still viable? Bob On Apr 13, 2014, at 12:24 , Peter Haworth wrote: > Any tips on how to debug a button script in a modal dialog? > > It seems that red dot breakpoints and breakpoint commands don't work in > modal dialogs, at least not in the stack I'm testing right now. I can tell > that the script is executing, just not producing the right results. I > usually try to debug in some other stack mode but not possible in this case. > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Mon Apr 14 16:20:57 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 14 Apr 2014 20:20:57 +0000 Subject: Debugging modal stacks In-Reply-To: References: Message-ID: <8750CB57-D12E-4D33-945E-6252D7B4D8E7@iotecdigital.com> Won?t work in certain situations. I was at one point using it to open a stack and suspend execution in the previous stack, picking up when I exited from the modal one. This would apply to custom modal dialogs for instance. Non-modal continues executing the script that called it. Bob On Apr 13, 2014, at 17:35 , Geoff Canyon wrote: > Debug it as a non-modal. > > > On Sun, Apr 13, 2014 at 2:24 PM, Peter Haworth wrote: > >> Any tips on how to debug a button script in a modal dialog? >> >> It seems that red dot breakpoints and breakpoint commands don't work in >> modal dialogs, at least not in the stack I'm testing right now. I can tell >> that the script is executing, just not producing the right results. I >> usually try to debug in some other stack mode but not possible in this >> case. >> >> Pete From bobsneidar at iotecdigital.com Mon Apr 14 16:24:04 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 14 Apr 2014 20:24:04 +0000 Subject: 6.6.1 no bueno In-Reply-To: References: <9D010C7D-8913-4111-AD9F-FE4F44596C35@iotecdigital.com>, <5CC0A805-8254-4C1A-90BF-5EF9EA9E3996@iotecdigital.com>, <7E8EF1B1-84D9-4940-BFF2-D78B2F38F183@iotecdigital.com> Message-ID: <53AB4962-1130-42AC-B3C0-1C01A19912B8@iotecdigital.com> If you follow the instructions but do not get the properties of the combo box, save the stack, quit and relaunch, open the stack, edit the properties of some other object, THEN you can get the properties of the combo box, but you will see that they are all hosed. Bob On Apr 14, 2014, at 11:33 , John Dixon wrote: > I'm seeing this too, like Bob. in LC 6.6 & 6.6.1 > >> From: bobsneidar at iotecdigital.com >> To: use-livecode at lists.runrev.com >> Subject: Re: 6.6.1 no bueno >> Date: Mon, 14 Apr 2014 18:29:40 +0000 >> >> Further Update: >> >> After returning to my app and getting the properties of the combo box button I had previously added, I discovered that it was corrupted. I could not edit most of the properties. I deleted it, and then after getting the properties of another object first, then adding a new combo box, the properties seem to all be in order. This is DEFINITELY a bug! >> >> I will post this in the appropriate place. >> >> Bob >> >> >> On Apr 14, 2014, at 08:59 , Bob Sneidar wrote: >> >>> UPDATE: This is a problem with 6.6.0 as well. 6.5.2 does NOT exhibit this problem. >>> >>> Bob >>> >>> >>> On Apr 14, 2014, at 08:57 , Bob Sneidar wrote: >>> >>>> Hi all. >>>> >>>> Release 6.6.1 is no bueno. Try this: Launch 6.6.1. Open a new stack. Drag a combo box into the stack. Double click the combo box to get properties. Do you get the property inspector? I don?t. >>>> >>>> Now do the same thing, only this time, drag a regular push button into the new stack and double click. NOW you get the property inspector, and dragging a new combo box and double clicking it will give you the property inspector as well. >>>> >>>> Seems if the combo box is the first thing you get properties for after a launch, you will not get the properties inspector at all for anything, but if you get properties for something else first, the property inspector seems to work fine. >>>> >>>> If you do this after you have been running for a while, chances are you will have already gotten the property inspector for something else and the test will be no good. I have already removed all the plugins so that is not an issue. >>>> >>>> If others can reproduce this, I will submit a bug report. I am running Mavericks 10.9.2 on a 15? Macbook Pro. >>>> >>>> Bob From richmondmathewson at gmail.com Mon Apr 14 16:29:22 2014 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 14 Apr 2014 23:29:22 +0300 Subject: 6.6.1 no bueno In-Reply-To: <534C33EC.30607@gmail.com> References: <9D010C7D-8913-4111-AD9F-FE4F44596C35@iotecdigital.com> <1441169715944.20140414111151@ahsoftware.net> <73B158C7-58CE-44CC-9386-80BF6C92BA8A@byu.edu> <534C2ACB.3040101@gmail.com> <534C33EC.30607@gmail.com> Message-ID: <534C4522.5000403@gmail.com> On 14/04/14 22:15, Richmond wrote: > On 14/04/14 21:36, Richmond wrote: >> On 14/04/14 21:26, Devin Asay wrote: >>> >>> Hmmm. For me it's even broader than what Bob initially described. >>> >>> 1. Launch LC 6.6.1 and create a new main stack. >>> >>> 2. Before creating anything else, drag *any* of the four menu-style >>> button types onto the card--option, pulldown, combo box, or popup. >>> >>> 3. Double click on the object to open its property inspector. The >>> cursor changes to a watch, but the inspector palette never appears. >>> >>> 4. This will keep happening until you create a non-menu-style button >>> AND open its property inspector. Once you do that the inspectors for >>> the menu buttons will open normally. >>> >>> Is this what you're seeing, Bob? And what you're not seeing, Mark? >>> >>> Devin >>> >>> >> >> Just tried Devin's "recipe" on Linux: s'Okay over here chaps. >> >> Richmond. > > AND, Mac OS 10.9.2 [VMware] > > Richmond. AND, Windows 7 [VMware] Installs the Windows installer under WINE 1.7.15, but on launch won't close 'welcome' window. Quite unable to reduplicate these problems. I wonder if it is something to do with other software installed on some machines that is interfering? Richmond. From pete at lcsql.com Mon Apr 14 16:52:37 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 14 Apr 2014 13:52:37 -0700 Subject: closeStackRequest not working? In-Reply-To: References: <3C3219C5-3D58-4F9D-9EB0-9C51F2C8AFD4@iotecdigital.com> <534C3EF9.90803@hyperactivesw.com> Message-ID: On Mon, Apr 14, 2014 at 1:16 PM, Bob Sneidar wrote: > Nada. I now have: > > on closeStackRequest > put "closeStackRequest Received!" > save this stack > pass closeStackRequest > end closeStackRequest > > in the card script. Nothing gets put into the message box. > > Bob > I tried this in 5.5.4, 6.1.3,6.5.2,6.6.1, and 7.0 and it works fine in all those versions on my Mac (OSX 10.7.4). I only tried it with the handler in the script of the one and only card in a mainstack, maybe you have a different situation. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From scott at tactilemedia.com Mon Apr 14 17:46:28 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 14 Apr 2014 14:46:28 -0700 Subject: closeStackRequest not working? In-Reply-To: References: <3C3219C5-3D58-4F9D-9EB0-9C51F2C8AFD4@iotecdigital.com> <534C3EF9.90803@hyperactivesw.com> Message-ID: Hi Bob: The IDE has a default check to determine if a stack needs to be saved before closing it (I believe someone way back mentioned something about a "dirty" flag). Attempting to close unsaved stacks will almost always prompt a save dialog. When trying the following in 6.6.1 Mac/Win, both work as expected -- the stack doesn't close because pass is commented out. When the comment is removed, the stacks save and close as expected. on closeStackRequest save this stack put millisecs() -- pass closeStackRequest end closeStackRequest Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 4/14/14 1:16 PM, "Bob Sneidar" wrote: >Nada. I now have: > >on closeStackRequest > put "closeStackRequest Received!" > save this stack > pass closeStackRequest >end closeStackRequest > >in the card script. Nothing gets put into the message box. > >Bob > > >On Apr 14, 2014, at 13:03 , J. Landman Gay >> wrote: > >On 4/14/14, 1:45 PM, Bob Sneidar wrote: >So then the only time a closeStackRequest gets sent is if the user >clicks the Close control in the window title bar. Right? Wrong, >apparently. I have this in the card script: > >on closeStackRequest > breakpoint > save this stack > pass closeStackRequest >end closeStackRequest > >When closing the window using the control in the window title bar, I >do not even get the debugger. I just get the popup asking if I am sure, >allowing me Don?t Save, Cancel or Save. So when*exactly* is the >closeStackRequst sent? > > >It happens as you say, when the close box is clicked. But the IDE traps >the message so you may have to suspend development tools to see it. It >will work as expected in a standalone. > >I seem to remember that after the IDE traps the message, it then passes >it. It may be that the debugger won't open when that happens; try a "put >something" in the message box instead to see if it gets passed. > >-- >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 lan.kc.macmail at gmail.com Mon Apr 14 18:31:41 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 15 Apr 2014 06:31:41 +0800 Subject: 500 ms to set a thumbpos?? In-Reply-To: References: <534ADE3A.3000703@hyperactivesw.com> <534B0198.2000408@tweedly.net> <534B0975.2060800@hyperactivesw.com> <534B0CBA.4040704@tweedly.net> <5eeb8c54-9ed6-4e64-b743-2d292eeff07d@email.android.com> Message-ID: On Tue, Apr 15, 2014 at 1:59 AM, Dr. Hawkins wrote: > The thumbpos was different for a new stack; the combobox was about the same > (over 400ms on the new stack.) > Are you using the QuickRes workaround to manually set your Screen Resolution to speed up 6.6.x as posted by Neil Roger? http://techsupport.on-rev.com/QuickRes.app.zip From bernd.gottwald at outrange.com Mon Apr 14 18:31:53 2014 From: bernd.gottwald at outrange.com (bernd.gottwald at outrange.com) Date: 15 Apr 2014 00:31:53 +0200 Subject: =?utf-8?Q?Re:_use=2Dlivecode_Digest,_Vol_127,_Issue_25?= Message-ID: <20140414223153.26814.qmail@divico2.ch-meta.net> Bis zum 22.4.2014 bin ich nicht verf?gbar. Ich werde meine Emails nicht lesen. In dringenden F?llen erreichen Sie mich ?ber mein Mobiltelefon. I will be out of office until 22.4.2014. I won't read me emails. In urgent matter please call me on my mobile. From lan.kc.macmail at gmail.com Mon Apr 14 18:48:40 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 15 Apr 2014 06:48:40 +0800 Subject: 6.6.1 no bueno In-Reply-To: <534C4522.5000403@gmail.com> References: <9D010C7D-8913-4111-AD9F-FE4F44596C35@iotecdigital.com> <1441169715944.20140414111151@ahsoftware.net> <73B158C7-58CE-44CC-9386-80BF6C92BA8A@byu.edu> <534C2ACB.3040101@gmail.com> <534C33EC.30607@gmail.com> <534C4522.5000403@gmail.com> Message-ID: NOT seeing this problem MBP 15" Retina, OS X 10.9.2, LC 6.6.1GM I've successfully been using QuickRes, as posted by Neil Roger, to speed up 6.6.x on Retina displays and used the reciepe both with and without QuickResand did not see the problem. Dr. Hawkins recently posted that he was seeing LC 6.6.x take around 400 ms to simply change the enabled of a comobox to false - this in a brand new stack. My test results were 100 ms (without locking the screen). Are people who are seeing the inspector problem also seeing very slow times to set the enabled of a combobox (and possibly other menu-style buttons as posted by Devin)? I would think the two are related. From Mark_Smith at cpe.umanitoba.ca Mon Apr 14 20:05:39 2014 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Mon, 14 Apr 2014 17:05:39 -0700 (PDT) Subject: 6.6.1 no bueno In-Reply-To: <73B158C7-58CE-44CC-9386-80BF6C92BA8A@byu.edu> References: <9D010C7D-8913-4111-AD9F-FE4F44596C35@iotecdigital.com> <1441169715944.20140414111151@ahsoftware.net> <73B158C7-58CE-44CC-9386-80BF6C92BA8A@byu.edu> Message-ID: <1397520339330-4678292.post@n4.nabble.com> Just tried Devin's recipe. Got the same result. Running OSX 10.7.5 Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/6-6-1-no-bueno-tp4678265p4678292.html Sent from the Revolution - User mailing list archive at Nabble.com. From dochawk at gmail.com Mon Apr 14 22:52:50 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 14 Apr 2014 22:52:50 -0400 Subject: 500 ms to set a thumbpos?? In-Reply-To: References: <534ADE3A.3000703@hyperactivesw.com> <534B0198.2000408@tweedly.net> <534B0975.2060800@hyperactivesw.com> <534B0CBA.4040704@tweedly.net> <5eeb8c54-9ed6-4e64-b743-2d292eeff07d@email.android.com> Message-ID: On Mon, Apr 14, 2014 at 6:31 PM, Kay C Lan wrote: > Are you using the QuickRes workaround to manually set your Screen > Resolution to speed up 6.6.x as posted by Neil Roger? > I missed that announcement; this was the first I'd head of it! -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From calhorner at xtra.co.nz Tue Apr 15 00:24:16 2014 From: calhorner at xtra.co.nz (Cal Horner) Date: Tue, 15 Apr 2014 16:24:16 +1200 (New Zealand Standard Time) Subject: TemplateStacks or SubStacks, Which is better? Message-ID: <534CB46C.00000B.04516@CALS_BIG_PC> There comes a time in the use of LiveCode when you run across the concept of a template stack or a substack as a entry/data display form. The questions that you might be faced with are: Which one should you use? Which is the most efficient as a form(date entry) etc.? How much memory does each type take up? What are the difference in speed? I'm sure I could go on and on and probably you could too. I'm looking for some direction on these and other questions like these and I would expect that the answers are hidden somewhere in this forum. If you can "shed any light" on these perplexing questions please take the time to respond. Cal From bvlahos at mac.com Tue Apr 15 00:31:38 2014 From: bvlahos at mac.com (Bill Vlahos) Date: Mon, 14 Apr 2014 21:31:38 -0700 Subject: 6.6.1 no bueno In-Reply-To: <9D010C7D-8913-4111-AD9F-FE4F44596C35@iotecdigital.com> References: <9D010C7D-8913-4111-AD9F-FE4F44596C35@iotecdigital.com> Message-ID: <1E3CF3B7-AA44-469E-A06D-C47ED63746B0@mac.com> Bob, It works correctly for me. Mac OS X 10.9.2. 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 Apr 14, 2014, at 8:57 AM, Bob Sneidar wrote: > Hi all. > > Release 6.6.1 is no bueno. Try this: Launch 6.6.1. Open a new stack. Drag a combo box into the stack. Double click the combo box to get properties. Do you get the property inspector? I don?t. > > Now do the same thing, only this time, drag a regular push button into the new stack and double click. NOW you get the property inspector, and dragging a new combo box and double clicking it will give you the property inspector as well. > > Seems if the combo box is the first thing you get properties for after a launch, you will not get the properties inspector at all for anything, but if you get properties for something else first, the property inspector seems to work fine. > > If you do this after you have been running for a while, chances are you will have already gotten the property inspector for something else and the test will be no good. I have already removed all the plugins so that is not an issue. > > If others can reproduce this, I will submit a bug report. I am running Mavericks 10.9.2 on a 15? Macbook Pro. > > 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 admin at FlexibleLearning.com Tue Apr 15 02:35:54 2014 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Tue, 15 Apr 2014 07:35:54 +0100 Subject: closeStackRequest not working? Message-ID: <003b01cf5874$f3f95c90$dbec15b0$@FlexibleLearning.com> An unterminated lockMesages is also needed to avoid another Save in the closeStack message... on closeStackRequest lock messages save this stack put millisecs() pass closeStackRequest end closeStackRequest Hugh Senior FLCo -- Original message The IDE has a default check to determine if a stack needs to be saved before closing it (I believe someone way back mentioned something about a "dirty" flag). Attempting to close unsaved stacks will almost always prompt a save dialog. When trying the following in 6.6.1 Mac/Win, both work as expected -- the stack doesn't close because pass is commented out. When the comment is removed, the stacks save and close as expected. on closeStackRequest save this stack put millisecs() -- pass closeStackRequest end closeStackRequest Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From gcanyon at gmail.com Tue Apr 15 03:59:12 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 15 Apr 2014 02:59:12 -0500 Subject: Debugging modal stacks In-Reply-To: <8750CB57-D12E-4D33-945E-6252D7B4D8E7@iotecdigital.com> References: <8750CB57-D12E-4D33-945E-6252D7B4D8E7@iotecdigital.com> Message-ID: On Mon, Apr 14, 2014 at 3:20 PM, Bob Sneidar wrote: > I was at one point using it to open a stack and suspend execution in the > previous stack, picking up when I exited from the modal one. This would > apply to custom modal dialogs for instance. Non-modal continues executing > the script that called it. Sure, if you're debugging the interaction of the calling stack with the modal, then that's an added degree of difficulty. My suggestion assumes the goal is to debug the modal itself. From m.schonewille at economy-x-talk.com Tue Apr 15 06:05:18 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 15 Apr 2014 12:05:18 +0200 Subject: TemplateStacks or SubStacks, Which is better? In-Reply-To: <534CB46C.00000B.04516@CALS_BIG_PC> References: <534CB46C.00000B.04516@CALS_BIG_PC> Message-ID: <534D045E.5040707@economy-x-talk.com> Hi Cal, The templateStack is something that only exists in memory. A templateStack is only displayed when you make a new stack. A substack can exist both in memory and on disk and you don't need to make a new stack to display it. What you will use, depends on what you want to do. Perhaps you tell a little more about 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 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 4/15/2014 06:24, Cal Horner wrote: > There comes a time in the use of LiveCode when you run across the concept of > a template stack or a substack as a entry/data display form. The questions > that you might be faced with are: > > Which one should you use? > Which is the most efficient as a form(date entry) etc.? > How much memory does each type take up? > What are the difference in speed? > > I'm sure I could go on and on and probably you could too. > > I'm looking for some direction on these and other questions like these and I > would expect that the answers are hidden somewhere in this forum. > > If you can "shed any light" on these perplexing questions please take the > time to respond. > > Cal > From warren at warrensweb.us Tue Apr 15 08:46:40 2014 From: warren at warrensweb.us (Warren Samples) Date: Tue, 15 Apr 2014 07:46:40 -0500 Subject: 6.6.1 no bueno In-Reply-To: <9D010C7D-8913-4111-AD9F-FE4F44596C35@iotecdigital.com> References: <9D010C7D-8913-4111-AD9F-FE4F44596C35@iotecdigital.com> Message-ID: <534D2A30.8020309@warrensweb.us> On 04/14/2014 10:57 AM, Bob Sneidar wrote: > Hi all. > > Release 6.6.1 is no bueno. Try this: Launch 6.6.1. Open a new stack. Drag a combo box into the stack. Double click the combo box to get properties. Do you get the property inspector? I don?t. > > Now do the same thing, only this time, drag a regular push button into the new stack and double click. NOW you get the property inspector, and dragging a new combo box and double clicking it will give you the property inspector as well. > > Seems if the combo box is the first thing you get properties for after a launch, you will not get the properties inspector at all for anything, but if you get properties for something else first, the property inspector seems to work fine. > > If you do this after you have been running for a while, chances are you will have already gotten the property inspector for something else and the test will be no good. I have already removed all the plugins so that is not an issue. > > If others can reproduce this, I will submit a bug report. I am running Mavericks 10.9.2 on a 15? Macbook Pro. > > Bob > I see this here in Linux, too. (openSUSE) Warren From larry at significantplanet.org Tue Apr 15 08:58:54 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Tue, 15 Apr 2014 06:58:54 -0600 Subject: convert to seconds issue Message-ID: <0104968C061B4DF289E1591673D7CBD3@userd204a4d61c> I am converting a future date to seconds with convert theseSeconds to seconds When I use this date: 4/15/34 6:47 AM I have no problem. But as soon as I go to: 4/15/35 6:47 AM (2035) or higher, LC won't convert it, but just leaves it as the date/time I'm using 6.1.1 (rc 4) on XP Service Pack 3 TIA for any help Larry From Nakia.Brewer at westrac.com.au Tue Apr 15 09:04:42 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Tue, 15 Apr 2014 13:04:42 +0000 Subject: Debug an App that won't open on device Message-ID: <49F01195-741E-4DFA-A589-6698164058D7@westrac.com.au> Hi, I have an iOS app that will no longer open on the device (but opens fine on Simulator) after updating LC and Xcode to the latest versions. Also of interest I let my developer membership expire too wish I updated tonight and deleted the old certificates from key chain... The app installs fine on the device though through organiser... Can anyone suggest any good way to maybe debug why it crashes on the device ? I have tried commenting out all open stack and card handlers as well as removing the externals etc in the copy files pane.. But to no avail.. App just crashes on opening... Any ideas ? Sent from my iPhone COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From dixonja at hotmail.co.uk Tue Apr 15 09:06:29 2014 From: dixonja at hotmail.co.uk (John Dixon) Date: Tue, 15 Apr 2014 14:06:29 +0100 Subject: convert to seconds issue In-Reply-To: <0104968C061B4DF289E1591673D7CBD3@userd204a4d61c> References: <0104968C061B4DF289E1591673D7CBD3@userd204a4d61c> Message-ID: This works... on mouseUp put "4/15/2090 6:47 AM" into red convert red to seconds put red into blue convert red to dateitems put red & cr & blue end mouseUp > From: larry at significantplanet.org > To: use-livecode at lists.runrev.com > Subject: convert to seconds issue > Date: Tue, 15 Apr 2014 06:58:54 -0600 > > I am converting a future date to seconds with > > convert theseSeconds to seconds > > When I use this date: > 4/15/34 6:47 AM > > I have no problem. > > But as soon as I go to: > > 4/15/35 6:47 AM (2035) or higher, LC won't convert it, but just leaves it as the date/time > > I'm using 6.1.1 (rc 4) on XP Service Pack 3 > > TIA for any help > > Larry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Tue Apr 15 09:23:28 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 15 Apr 2014 15:23:28 +0200 Subject: [OT] Message for people who have bought my book Message-ID: <534D32D0.9050605@economy-x-talk.com> Hello, We have sent a number of people, who bought my book Programming LiveCode for the Real Beginner, an e-mail. Only a few of them have replied so far. If you have bought your book between 2nd February and 10th March 2014, please check your spam box or make sure to check the e-mail account that you used to make your purchase. Feel free to contact us at support at economy-x-talk.com If you want to (re-)read all the info about my book, please go to http://qery.us/49i but keep in mind that all copies have been sold and we're working on the 3rd print now. Kind regards, Mark -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ From Nakia.Brewer at westrac.com.au Tue Apr 15 09:26:41 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Tue, 15 Apr 2014 13:26:41 +0000 Subject: Debug an App that won't open on device In-Reply-To: <49F01195-741E-4DFA-A589-6698164058D7@westrac.com.au> References: <49F01195-741E-4DFA-A589-6698164058D7@westrac.com.au> Message-ID: <977399CD-83D3-45B8-8C64-9FB7A368B164@westrac.com.au> Sorry should have clarified also, I Did renew my developer membership early in the evening.... FYI the console in Xcode is producing the following when I try and open the App... Apr 15 23:19:40 Nakias-Iphone com.apple.launchd[1] : System: ASCII control characters are not allowed in job labels. Index: 34 Value: 0xa Apr 15 23:19:40 Nakias-Iphone backboardd[28] : Unable to create job with label UIKitApplication:com.ibss.navtroll com.ibss.navtroll[0x4b45]. Error: Invalid argument Apr 15 23:19:40 Nakias-Iphone SpringBoard[33] : LICreateIconForImage passed NULL CGImageRef image Note: I was able to make a new small test stack using the same standalone settings as this app above and it installed and ran on the device perfectly.... Sent from my iPhone > On 15 Apr 2014, at 11:05 pm, "Nakia Brewer" wrote: > > Hi, > > I have an iOS app that will no longer open on the device (but opens fine on Simulator) after updating LC and Xcode to the latest versions. Also of interest I let my developer membership expire too wish I updated tonight and deleted the old certificates from key chain... The app installs fine on the device though through organiser... > > Can anyone suggest any good way to maybe debug why it crashes on the device ? I have tried commenting out all open stack and card handlers as well as removing the externals etc in the copy files pane.. But to no avail.. > App just crashes on opening... > > Any ideas ? > > > > > > Sent from my iPhone > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From MikeKerner at roadrunner.com Tue Apr 15 09:33:58 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 15 Apr 2014 09:33:58 -0400 Subject: Debug an App that won't open on device In-Reply-To: <977399CD-83D3-45B8-8C64-9FB7A368B164@westrac.com.au> References: <49F01195-741E-4DFA-A589-6698164058D7@westrac.com.au> <977399CD-83D3-45B8-8C64-9FB7A368B164@westrac.com.au> Message-ID: start putting put statements in handlers, then check the console to see what ends up on the console and what doesn't. That will help you find out where the problem exists. On Tue, Apr 15, 2014 at 9:26 AM, Nakia Brewer wrote: > Sorry should have clarified also, I > Did renew my developer membership early in the evening.... > > FYI the console in Xcode is producing the following when I try and open > the App... > > Apr 15 23:19:40 Nakias-Iphone com.apple.launchd[1] : System: ASCII > control characters are not allowed in job labels. Index: 34 Value: 0xa > Apr 15 23:19:40 Nakias-Iphone backboardd[28] : Unable to create > job with label UIKitApplication:com.ibss.navtroll > com.ibss.navtroll[0x4b45]. Error: Invalid argument > Apr 15 23:19:40 Nakias-Iphone SpringBoard[33] : > LICreateIconForImage passed NULL CGImageRef image > > Note: I was able to make a new small test stack using the same standalone > settings as this app above and it installed and ran on the device > perfectly.... > > > > Sent from my iPhone > > > On 15 Apr 2014, at 11:05 pm, "Nakia Brewer" > wrote: > > > > Hi, > > > > I have an iOS app that will no longer open on the device (but opens fine > on Simulator) after updating LC and Xcode to the latest versions. Also of > interest I let my developer membership expire too wish I updated tonight > and deleted the old certificates from key chain... The app installs fine on > the device though through organiser... > > > > Can anyone suggest any good way to maybe debug why it crashes on the > device ? I have tried commenting out all open stack and card handlers as > well as removing the externals etc in the copy files pane.. But to no > avail.. > > App just crashes on opening... > > > > Any ideas ? > > > > > > > > > > > > Sent from my iPhone > > COPYRIGHT / DISCLAIMER: This message and/or including attached files may > contain confidential proprietary or privileged information. If you are not > the intended recipient, you are strictly prohibited from using, > reproducing, disclosing or distributing the information contained in this > email without authorisation from WesTrac. If you have received this message > in error please contact WesTrac on +61 8 9377 9444. We do not accept > liability in connection with computer virus, data corruption, delay, > interruption, unauthorised access or unauthorised amendment. We reserve the > right to monitor all e-mail communications. > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > COPYRIGHT / DISCLAIMER: This message and/or including attached files may > contain confidential proprietary or privileged information. If you are not > the intended recipient, you are strictly prohibited from using, > reproducing, disclosing or distributing the information contained in this > email without authorisation from WesTrac. If you have received this message > in error please contact WesTrac on +61 8 9377 9444. We do not accept > liability in connection with computer virus, data corruption, delay, > interruption, unauthorised access or unauthorised amendment. We reserve the > right to monitor all e-mail communications. > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Nakia.Brewer at westrac.com.au Tue Apr 15 09:37:37 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Tue, 15 Apr 2014 13:37:37 +0000 Subject: Debug an App that won't open on device In-Reply-To: References: <49F01195-741E-4DFA-A589-6698164058D7@westrac.com.au> <977399CD-83D3-45B8-8C64-9FB7A368B164@westrac.com.au>, Message-ID: <14C844A1-40D0-4A8C-ACF9-A3ABE57DF5ED@westrac.com.au> Right now the open stack and card handler are empty so none of my Code is executing as it opens. Just crashes when it opens... Sent from my iPhone > On 15 Apr 2014, at 11:35 pm, "Mike Kerner" wrote: > > start putting put statements in handlers, then check the console to see > what ends up on the console and what doesn't. That will help you find out > where the problem exists. > > > On Tue, Apr 15, 2014 at 9:26 AM, Nakia Brewer > wrote: > >> Sorry should have clarified also, I >> Did renew my developer membership early in the evening.... >> >> FYI the console in Xcode is producing the following when I try and open >> the App... >> >> Apr 15 23:19:40 Nakias-Iphone com.apple.launchd[1] : System: ASCII >> control characters are not allowed in job labels. Index: 34 Value: 0xa >> Apr 15 23:19:40 Nakias-Iphone backboardd[28] : Unable to create >> job with label UIKitApplication:com.ibss.navtroll >> com.ibss.navtroll[0x4b45]. Error: Invalid argument >> Apr 15 23:19:40 Nakias-Iphone SpringBoard[33] : >> LICreateIconForImage passed NULL CGImageRef image >> >> Note: I was able to make a new small test stack using the same standalone >> settings as this app above and it installed and ran on the device >> perfectly.... >> >> >> >> Sent from my iPhone >> >>>> On 15 Apr 2014, at 11:05 pm, "Nakia Brewer" >>> wrote: >>> >>> Hi, >>> >>> I have an iOS app that will no longer open on the device (but opens fine >> on Simulator) after updating LC and Xcode to the latest versions. Also of >> interest I let my developer membership expire too wish I updated tonight >> and deleted the old certificates from key chain... The app installs fine on >> the device though through organiser... >>> >>> Can anyone suggest any good way to maybe debug why it crashes on the >> device ? I have tried commenting out all open stack and card handlers as >> well as removing the externals etc in the copy files pane.. But to no >> avail.. >>> App just crashes on opening... >>> >>> Any ideas ? >>> >>> >>> >>> >>> >>> Sent from my iPhone >>> COPYRIGHT / DISCLAIMER: This message and/or including attached files may >> contain confidential proprietary or privileged information. If you are not >> the intended recipient, you are strictly prohibited from using, >> reproducing, disclosing or distributing the information contained in this >> email without authorisation from WesTrac. If you have received this message >> in error please contact WesTrac on +61 8 9377 9444. We do not accept >> liability in connection with computer virus, data corruption, delay, >> interruption, unauthorised access or unauthorised amendment. We reserve the >> right to monitor all e-mail communications. >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> COPYRIGHT / DISCLAIMER: This message and/or including attached files may >> contain confidential proprietary or privileged information. If you are not >> the intended recipient, you are strictly prohibited from using, >> reproducing, disclosing or distributing the information contained in this >> email without authorisation from WesTrac. If you have received this message >> in error please contact WesTrac on +61 8 9377 9444. We do not accept >> liability in connection with computer virus, data corruption, delay, >> interruption, unauthorised access or unauthorised amendment. We reserve the >> right to monitor all e-mail communications. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From coiin at verizon.net Tue Apr 15 10:28:43 2014 From: coiin at verizon.net (Colin Holgate) Date: Tue, 15 Apr 2014 10:28:43 -0400 Subject: Debug an App that won't open on device In-Reply-To: <977399CD-83D3-45B8-8C64-9FB7A368B164@westrac.com.au> References: <49F01195-741E-4DFA-A589-6698164058D7@westrac.com.au> <977399CD-83D3-45B8-8C64-9FB7A368B164@westrac.com.au> Message-ID: <0C5EDF4C-0A8A-4DDB-85E5-22FA8B276F63@verizon.net> What is the name of the app? From bobsneidar at iotecdigital.com Tue Apr 15 10:58:08 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 15 Apr 2014 14:58:08 +0000 Subject: 6.6.1 no bueno In-Reply-To: <1E3CF3B7-AA44-469E-A06D-C47ED63746B0@mac.com> References: <9D010C7D-8913-4111-AD9F-FE4F44596C35@iotecdigital.com> <1E3CF3B7-AA44-469E-A06D-C47ED63746B0@mac.com> Message-ID: <0A941086-3778-4091-9B46-4814DCFF2F36@iotecdigital.com> Seems only a few people seeing this. Might be a corrupted prefs issue. Also, if you are running any add-on that does properties, that may be getting around it. Bob On Apr 14, 2014, at 21:31 , Bill Vlahos wrote: > Bob, > > It works correctly for me. > > Mac OS X 10.9.2. > > 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 Apr 14, 2014, at 8:57 AM, Bob Sneidar wrote: > >> Hi all. >> >> Release 6.6.1 is no bueno. Try this: Launch 6.6.1. Open a new stack. Drag a combo box into the stack. Double click the combo box to get properties. Do you get the property inspector? I don?t. >> >> Now do the same thing, only this time, drag a regular push button into the new stack and double click. NOW you get the property inspector, and dragging a new combo box and double clicking it will give you the property inspector as well. >> >> Seems if the combo box is the first thing you get properties for after a launch, you will not get the properties inspector at all for anything, but if you get properties for something else first, the property inspector seems to work fine. >> >> If you do this after you have been running for a while, chances are you will have already gotten the property inspector for something else and the test will be no good. I have already removed all the plugins so that is not an issue. >> >> If others can reproduce this, I will submit a bug report. I am running Mavericks 10.9.2 on a 15? Macbook Pro. >> >> 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 bobsneidar at iotecdigital.com Tue Apr 15 11:01:59 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 15 Apr 2014 15:01:59 +0000 Subject: closeStackRequest not working? In-Reply-To: References: <3C3219C5-3D58-4F9D-9EB0-9C51F2C8AFD4@iotecdigital.com> <534C3EF9.90803@hyperactivesw.com> Message-ID: <773D0D43-8E87-42FF-8AB0-A6F477E36606@iotecdigital.com> Well this is odd. It?s the second problem in as many days where what I am seeing is different from what others are seeing. And I ran these issues with no plugins. Per chance, are you using 10.9.2? Bob On Apr 14, 2014, at 14:46 , Scott Rossi wrote: > Hi Bob: > > The IDE has a default check to determine if a stack needs to be saved > before closing it (I believe someone way back mentioned something about a > "dirty" flag). Attempting to close unsaved stacks will almost always > prompt a save dialog. > > When trying the following in 6.6.1 Mac/Win, both work as expected -- the > stack doesn't close because pass is commented out. When the comment is > removed, the stacks save and close as expected. > > on closeStackRequest > save this stack > put millisecs() > -- pass closeStackRequest > end closeStackRequest > > > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 4/14/14 1:16 PM, "Bob Sneidar" wrote: > >> Nada. I now have: >> >> on closeStackRequest >> put "closeStackRequest Received!" >> save this stack >> pass closeStackRequest >> end closeStackRequest >> >> in the card script. Nothing gets put into the message box. >> >> Bob >> >> >> On Apr 14, 2014, at 13:03 , J. Landman Gay >> > wrote: >> >> On 4/14/14, 1:45 PM, Bob Sneidar wrote: >> So then the only time a closeStackRequest gets sent is if the user >> clicks the Close control in the window title bar. Right? Wrong, >> apparently. I have this in the card script: >> >> on closeStackRequest >> breakpoint >> save this stack >> pass closeStackRequest >> end closeStackRequest >> >> When closing the window using the control in the window title bar, I >> do not even get the debugger. I just get the popup asking if I am sure, >> allowing me Don?t Save, Cancel or Save. So when*exactly* is the >> closeStackRequst sent? >> >> >> It happens as you say, when the close box is clicked. But the IDE traps >> the message so you may have to suspend development tools to see it. It >> will work as expected in a standalone. >> >> I seem to remember that after the IDE traps the message, it then passes >> it. It may be that the debugger won't open when that happens; try a "put >> something" in the message box instead to see if it gets passed. >> >> -- >> 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 index at kenjikojima.com Tue Apr 15 11:21:05 2014 From: index at kenjikojima.com (Kenji Kojima) Date: Tue, 15 Apr 2014 11:21:05 -0400 Subject: LiveCode 7.0 input Japanese text on Ubuntu Message-ID: Hi, Did anybody try to input Japanese text into Linux version LiveCode7.0.0(dp2)? I tried Ubuntu 13.04 (Parallels Desktop) and input methods are Japanese-Mozc and Japanese-Anthy. I can input Japanese texts into other applications (like LibreOffice Writer). But could not input Japanese anywhere into LiveCode7.0. Even if I switched the input method, the input method icon did not appear on the top menu bar. I tried Ubuntu 13.10 too. Thanks, -- Kenji Kojima / ???? http://www.kenjikojima.com/ From andrew at ctech.me Tue Apr 15 11:26:20 2014 From: andrew at ctech.me (Andrew Kluthe) Date: Tue, 15 Apr 2014 10:26:20 -0500 Subject: 500 ms to set a thumbpos?? In-Reply-To: References: <534ADE3A.3000703@hyperactivesw.com> <534B0198.2000408@tweedly.net> <534B0975.2060800@hyperactivesw.com> <534B0CBA.4040704@tweedly.net> <5eeb8c54-9ed6-4e64-b743-2d292eeff07d@email.android.com> Message-ID: Even on windows 8, everything post 6.5 just craaaawwwls. The ide and any standalone built with the new graphics libs uses an enormous amount of cpu on my laptop. Simply showing a popup menu eats up about 48% of my admittedly under-powered cpu. Anything that involves drawing anything to the screen is god awful slow and if I fiddle too much while it thinks the whole deal crashes. I'm still building with 5.5 until 7 to wait and see if this behavior is corrected later on. Right now, livecode 6.5+ is barely usable for me unless I am using a high end system. I have been having similar issues with the clarify 2 beta and i suspect it is due to the use of the newer engine. Maybe there is something else wrong here for me. I need to try it on some other systems to confirm these problems. But my attempts so far have been that I don't even want to put the newer livecode on some of my better systems. (I hate having too many non-production-related versions installed on my workstations.) Andrew On Mon, Apr 14, 2014 at 9:52 PM, Dr. Hawkins wrote: > On Mon, Apr 14, 2014 at 6:31 PM, Kay C Lan > wrote: > > > Are you using the QuickRes workaround to manually set your Screen > > Resolution to speed up 6.6.x as posted by Neil Roger? > > > > I missed that announcement; this was the first I'd head of it! > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From warren at warrensweb.us Tue Apr 15 11:47:47 2014 From: warren at warrensweb.us (Warren Samples) Date: Tue, 15 Apr 2014 10:47:47 -0500 Subject: 6.6.1 no bueno In-Reply-To: <0A941086-3778-4091-9B46-4814DCFF2F36@iotecdigital.com> References: <9D010C7D-8913-4111-AD9F-FE4F44596C35@iotecdigital.com> <1E3CF3B7-AA44-469E-A06D-C47ED63746B0@mac.com> <0A941086-3778-4091-9B46-4814DCFF2F36@iotecdigital.com> Message-ID: <534D54A3.5060408@warrensweb.us> On 04/15/2014 09:58 AM, Bob Sneidar wrote: > Seems only a few people seeing this. Might be a corrupted prefs issue. Also, if you are running any add-on that does properties, that may be getting around it. > > Bob Renamed the Plugins and preferences folders and this issue persists. (Linux) Warren From lists at mangomultimedia.com Tue Apr 15 11:53:26 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 15 Apr 2014 11:53:26 -0400 Subject: 500 ms to set a thumbpos?? In-Reply-To: References: <534ADE3A.3000703@hyperactivesw.com> <534B0198.2000408@tweedly.net> <534B0975.2060800@hyperactivesw.com> <534B0CBA.4040704@tweedly.net> <5eeb8c54-9ed6-4e64-b743-2d292eeff07d@email.android.com> Message-ID: On Tue, Apr 15, 2014 at 11:26 AM, Andrew Kluthe wrote: > Even on windows 8, everything post 6.5 just craaaawwwls. > > The ide and any standalone built with the new graphics libs uses an > enormous amount of cpu on my laptop. Simply showing a popup menu eats up > about 48% of my admittedly under-powered cpu. Anything that involves > drawing anything to the screen is god awful slow and if I fiddle too much > while it thinks the whole deal crashes. I'm still building with 5.5 until 7 > to wait and see if this behavior is corrected later on. Right now, livecode > 6.5+ is barely usable for me unless I am using a high end system. I have > been having similar issues with the clarify 2 beta and i suspect it is due > to the use of the newer engine. > Andrew, The issue being talked about in this thread and what you describe may be two separate things. 6.6 is when retina support was added for desktop and that caused a big slowdown on machines running in high-dpi mode (Mac or Windows) as many more pixels are being rendered (as many as 4x). RunRev is working to address this as soon as possible. What you describe seems to be something else. 6.5 doesn't have any of the retina changes for desktop but does have the graphics layer changes (as you mentioned). It is my understanding that 6.5 should run at the same speed as previous versions. I wouldn't expect any changes specific to 7.0 to affect what you are seeing, although the speed increase they are working on for retina would probably help. I would *highly* recommend that you submit a bug report about the performance on your machine. Waiting to see if something gets fixed when you haven't filed a report often leads to disappointment :-) -- Trevor DeVore Blue Mango Learning Systems www.screensteps.com - www.clarify-it.com From rdimola at evergreeninfo.net Tue Apr 15 12:08:51 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 15 Apr 2014 12:08:51 -0400 Subject: 500 ms to set a thumbpos?? In-Reply-To: References: <534ADE3A.3000703@hyperactivesw.com> <534B0198.2000408@tweedly.net> <534B0975.2060800@hyperactivesw.com> <534B0CBA.4040704@tweedly.net> <5eeb8c54-9ed6-4e64-b743-2d292eeff07d@email.android.com> Message-ID: <002301cf58c4$fe432000$fac96000$@net> Trevor said ==> The issue being talked about in this thread and what you describe may be two separate things. Trevor, I think your right on this. I have processing slow downs on mobile post 6.1. New devices not so much, but older devices(Galaxy S3) it's very noticeable. In my case it doesn't seem to be a rendering issue. It's pointing towards SQLite and text processing speed. I will find out where exactly in the code this is happening.... Observed using LC 6.6.1 Film at 11 Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Trevor DeVore Sent: Tuesday, April 15, 2014 11:53 AM To: How to use LiveCode Subject: Re: 500 ms to set a thumbpos?? On Tue, Apr 15, 2014 at 11:26 AM, Andrew Kluthe wrote: > Even on windows 8, everything post 6.5 just craaaawwwls. > > The ide and any standalone built with the new graphics libs uses an > enormous amount of cpu on my laptop. Simply showing a popup menu eats > up about 48% of my admittedly under-powered cpu. Anything that > involves drawing anything to the screen is god awful slow and if I > fiddle too much while it thinks the whole deal crashes. I'm still > building with 5.5 until 7 to wait and see if this behavior is > corrected later on. Right now, livecode 6.5+ is barely usable for me > unless I am using a high end system. I have been having similar issues > with the clarify 2 beta and i suspect it is due to the use of the newer engine. > Andrew, The issue being talked about in this thread and what you describe may be two separate things. 6.6 is when retina support was added for desktop and that caused a big slowdown on machines running in high-dpi mode (Mac or Windows) as many more pixels are being rendered (as many as 4x). RunRev is working to address this as soon as possible. What you describe seems to be something else. 6.5 doesn't have any of the retina changes for desktop but does have the graphics layer changes (as you mentioned). It is my understanding that 6.5 should run at the same speed as previous versions. I wouldn't expect any changes specific to 7.0 to affect what you are seeing, although the speed increase they are working on for retina would probably help. I would *highly* recommend that you submit a bug report about the performance on your machine. Waiting to see if something gets fixed when you haven't filed a report often leads to disappointment :-) -- Trevor DeVore Blue Mango Learning Systems www.screensteps.com - www.clarify-it.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 Apr 15 13:44:18 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 15 Apr 2014 12:44:18 -0500 Subject: convert to seconds issue In-Reply-To: <0104968C061B4DF289E1591673D7CBD3@userd204a4d61c> References: <0104968C061B4DF289E1591673D7CBD3@userd204a4d61c> Message-ID: <534D6FF2.40209@hyperactivesw.com> On 4/15/14, 7:58 AM, larry at significantplanet.org wrote: > But as soon as I go to: > > 4/15/35 6:47 AM (2035) or higher, LC won't convert it, but just leaves it as the date/time > > I'm using 6.1.1 (rc 4) on XP Service Pack 3 I don't have 6.1.1 currently installed but I tried it with 6.1.3 and it works fine, at least on a Mac. However, you'll get a negative number of seconds because the "35" will be interpreted as 1935 unless you change the centuryCutoff. It's easier to supply the full 4-digit year, which will always work. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From t.heaford at btinternet.com Tue Apr 15 14:05:46 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Tue, 15 Apr 2014 19:05:46 +0100 Subject: New Visual Editor ? In-Reply-To: <53490653.7070703@gmail.com> References: <53490653.7070703@gmail.com> Message-ID: <53EFCD77-A130-4AC0-8236-1D5135F25348@btinternet.com> Perhaps the Mother-Ship is Lost in Space? All the best Terry On 12 Apr 2014, at 10:24, Richmond wrote: > After rather more than a year this is quite fun to look at again: > > https://www.kickstarter.com/projects/1755283828/open-source-edition-of-livecode > > ---------------------------- > > However, one quite significant question pops up: > > "We will introduce a *new visual editor* designed around today's usability standards. The editor will be open. The more technical members of our community can create simplified versions of the editor for tablets or primary schools." > > When? "Final Delivery. Fall 2013" Aha; of course. > > Has this been dropped without us having been informed? > > Some of us teach Primary kids, and this would be a good thing. > > -------------------------- > > Would be glad if this point could be clarified/explained from the Mother-Ship. > From larry at significantplanet.org Tue Apr 15 14:09:11 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Tue, 15 Apr 2014 12:09:11 -0600 Subject: convert to seconds issue References: <0104968C061B4DF289E1591673D7CBD3@userd204a4d61c> <534D6FF2.40209@hyperactivesw.com> Message-ID: <1E0AD4ED940B4A7E93BA528AFCA30AF1@userd204a4d61c> thanks Jacqueline, I didn't know about the centuryCutoff, but I had experimented and found out that it does always work by supplying the 4-digit year. I just wish the documentation in LC was better, but that's why this forum is so great! Larry ----- Original Message ----- From: "J. Landman Gay" To: "How to use LiveCode" Sent: Tuesday, April 15, 2014 11:44 AM Subject: Re: convert to seconds issue > On 4/15/14, 7:58 AM, larry at significantplanet.org wrote: >> But as soon as I go to: >> >> 4/15/35 6:47 AM (2035) or higher, LC won't convert it, but just leaves >> it as the date/time >> >> I'm using 6.1.1 (rc 4) on XP Service Pack 3 > > I don't have 6.1.1 currently installed but I tried it with 6.1.3 and it > works fine, at least on a Mac. However, you'll get a negative number of > seconds because the "35" will be interpreted as 1935 unless you change the > centuryCutoff. It's easier to supply the full 4-digit year, which will > always 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 klaus at major-k.de Tue Apr 15 14:11:45 2014 From: klaus at major-k.de (Klaus major-k) Date: Tue, 15 Apr 2014 20:11:45 +0200 Subject: convert to seconds issue In-Reply-To: <1E0AD4ED940B4A7E93BA528AFCA30AF1@userd204a4d61c> References: <0104968C061B4DF289E1591673D7CBD3@userd204a4d61c> <534D6FF2.40209@hyperactivesw.com> <1E0AD4ED940B4A7E93BA528AFCA30AF1@userd204a4d61c> Message-ID: Hi Larry, Am 15.04.2014 um 20:09 schrieb : > ...but that's why this forum is so great! This forum is a mailing-list! :-) The "real" forum is here: > Larry Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From ray at linkit.com Tue Apr 15 14:18:50 2014 From: ray at linkit.com (Ray) Date: Tue, 15 Apr 2014 14:18:50 -0400 Subject: Passive from of Put In-Reply-To: <53EFCD77-A130-4AC0-8236-1D5135F25348@btinternet.com> References: <53490653.7070703@gmail.com> <53EFCD77-A130-4AC0-8236-1D5135F25348@btinternet.com> Message-ID: <534D780A.2070506@LinkIt.Com> Can anybody remind me what the passive form of "put url" is? I'd like to put a url but I don't want to wait till it returns a value and simply using put halts my script until a value is returned. From andrew at ctech.me Tue Apr 15 14:33:04 2014 From: andrew at ctech.me (Andrew Kluthe) Date: Tue, 15 Apr 2014 13:33:04 -0500 Subject: 500 ms to set a thumbpos?? In-Reply-To: <002301cf58c4$fe432000$fac96000$@net> References: <534ADE3A.3000703@hyperactivesw.com> <534B0198.2000408@tweedly.net> <534B0975.2060800@hyperactivesw.com> <534B0CBA.4040704@tweedly.net> <5eeb8c54-9ed6-4e64-b743-2d292eeff07d@email.android.com> <002301cf58c4$fe432000$fac96000$@net> Message-ID: I assumed incorrectly that the high-dpi features went into 6.5 alongside the new graphics layer. I can parse through data just as fast as before here, but anything where I have to reposition a screen, show a new menu, anything graphics related almost hangs my system unless i give it several minutes to get done thinking about it. I'll eliminate system related issues and look into this further before filing a more accurate bug report if necessary. Thanks. Andrew On Tue, Apr 15, 2014 at 11:08 AM, Ralph DiMola wrote: > Trevor said ==> The issue being talked about in this thread and what you > describe may be two separate things. > > Trevor, I think your right on this. I have processing slow downs on mobile > post 6.1. New devices not so much, but older devices(Galaxy S3) it's very > noticeable. In my case it doesn't seem to be a rendering issue. It's > pointing towards SQLite and text processing speed. I will find out where > exactly in the code this is happening.... Observed using LC 6.6.1 > > Film at 11 > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf > Of Trevor DeVore > Sent: Tuesday, April 15, 2014 11:53 AM > To: How to use LiveCode > Subject: Re: 500 ms to set a thumbpos?? > > On Tue, Apr 15, 2014 at 11:26 AM, Andrew Kluthe wrote: > > > Even on windows 8, everything post 6.5 just craaaawwwls. > > > > The ide and any standalone built with the new graphics libs uses an > > enormous amount of cpu on my laptop. Simply showing a popup menu eats > > up about 48% of my admittedly under-powered cpu. Anything that > > involves drawing anything to the screen is god awful slow and if I > > fiddle too much while it thinks the whole deal crashes. I'm still > > building with 5.5 until 7 to wait and see if this behavior is > > corrected later on. Right now, livecode 6.5+ is barely usable for me > > unless I am using a high end system. I have been having similar issues > > with the clarify 2 beta and i suspect it is due to the use of the newer > engine. > > > > Andrew, > > The issue being talked about in this thread and what you describe may be > two > separate things. 6.6 is when retina support was added for desktop and that > caused a big slowdown on machines running in high-dpi mode (Mac or > Windows) as many more pixels are being rendered (as many as 4x). RunRev is > working to address this as soon as possible. > > What you describe seems to be something else. 6.5 doesn't have any of the > retina changes for desktop but does have the graphics layer changes (as you > mentioned). It is my understanding that 6.5 should run at the same speed as > previous versions. I wouldn't expect any changes specific to 7.0 to affect > what you are seeing, although the speed increase they are working on for > retina would probably help. > > I would *highly* recommend that you submit a bug report about the > performance on your machine. Waiting to see if something gets fixed when > you > haven't filed a report often leads to disappointment :-) > > -- > Trevor DeVore > Blue Mango Learning Systems > www.screensteps.com - www.clarify-it.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 lists at mangomultimedia.com Tue Apr 15 14:40:37 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 15 Apr 2014 14:40:37 -0400 Subject: 500 ms to set a thumbpos?? In-Reply-To: References: <534ADE3A.3000703@hyperactivesw.com> <534B0198.2000408@tweedly.net> <534B0975.2060800@hyperactivesw.com> <534B0CBA.4040704@tweedly.net> <5eeb8c54-9ed6-4e64-b743-2d292eeff07d@email.android.com> <002301cf58c4$fe432000$fac96000$@net> Message-ID: On Tue, Apr 15, 2014 at 2:33 PM, Andrew Kluthe wrote: > anything where I have to reposition a screen, show a new menu, > anything graphics related almost hangs my system unless i give it several > minutes to get done thinking about it. I'll eliminate system related issues > and look into this further before filing a more accurate bug report if > necessary. That would be great. It would be nice to get as many graphics performance issues resolved as possible during the 6.7 cycle. -- Trevor DeVore Blue Mango Learning Systems www.screensteps.com - www.clarify-it.com From jacque at hyperactivesw.com Tue Apr 15 14:45:45 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 15 Apr 2014 13:45:45 -0500 Subject: Passive from of Put In-Reply-To: <534D780A.2070506@LinkIt.Com> References: <53490653.7070703@gmail.com> <53EFCD77-A130-4AC0-8236-1D5135F25348@btinternet.com> <534D780A.2070506@LinkIt.Com> Message-ID: <534D7E59.60707@hyperactivesw.com> On 4/15/14, 1:18 PM, Ray wrote: > Can anybody remind me what the passive form of "put url" is? I'd like > to put a url but I don't want to wait till it returns a value and simply > using put halts my script until a value is returned. "Load url"? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From larry at significantplanet.org Tue Apr 15 14:53:58 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Tue, 15 Apr 2014 12:53:58 -0600 Subject: email question Message-ID: <42F21B38028743BAAB4F11D8CC6DE935@userd204a4d61c> I want to put a link in my stack so that the user can click on it and it will automatically open their default email program with the To: populated with my email address and the subject populated with a variable: To: larry at thisEmail.com Subject: myVar TIA Larry From matthias_livecode_150811 at m-r-d.de Tue Apr 15 15:02:13 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Tue, 15 Apr 2014 19:02:13 -0000 Subject: email question In-Reply-To: <42F21B38028743BAAB4F11D8CC6DE935@userd204a4d61c> References: <42F21B38028743BAAB4F11D8CC6DE935@userd204a4d61c> Message-ID: launch URL "mailto:larry at thisEmail.com?subject=" & myVar Regards, Matthias Am 15.04.2014 um 20:53 schrieb : > I want to put a link in my stack so that the user can click on it and it will automatically open their default email program with the To: populated with my email address and the subject populated with a variable: > > To: larry at thisEmail.com > Subject: myVar > > TIA > Larry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ray at linkit.com Tue Apr 15 15:12:32 2014 From: ray at linkit.com (Ray) Date: Tue, 15 Apr 2014 15:12:32 -0400 Subject: Passive from of Put In-Reply-To: <534D7E59.60707@hyperactivesw.com> References: <53490653.7070703@gmail.com> <53EFCD77-A130-4AC0-8236-1D5135F25348@btinternet.com> <534D780A.2070506@LinkIt.Com> <534D7E59.60707@hyperactivesw.com> Message-ID: <534D84A0.1020505@LinkIt.Com> Hey Jackie - that's the non-blocking keyword I was looking for. Thanks! On 4/15/2014 2:45 PM, J. Landman Gay wrote: > On 4/15/14, 1:18 PM, Ray wrote: >> Can anybody remind me what the passive form of "put url" is? I'd like >> to put a url but I don't want to wait till it returns a value and simply >> using put halts my script until a value is returned. > > "Load url"? > From Nakia.Brewer at westrac.com.au Tue Apr 15 16:28:54 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Tue, 15 Apr 2014 20:28:54 +0000 Subject: Debug an App that won't open on device In-Reply-To: <0C5EDF4C-0A8A-4DDB-85E5-22FA8B276F63@verizon.net> References: <49F01195-741E-4DFA-A589-6698164058D7@westrac.com.au> <977399CD-83D3-45B8-8C64-9FB7A368B164@westrac.com.au>, <0C5EDF4C-0A8A-4DDB-85E5-22FA8B276F63@verizon.net> Message-ID: <0EF94C74-FA56-465C-AC14-9521C05E9203@westrac.com.au> NavTroll Sent from my iPhone > On 16 Apr 2014, at 12:29 am, "Colin Holgate" wrote: > > What is the name of the app? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From larry at significantplanet.org Tue Apr 15 16:34:05 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Tue, 15 Apr 2014 14:34:05 -0600 Subject: email question References: <42F21B38028743BAAB4F11D8CC6DE935@userd204a4d61c> Message-ID: <94FE66E4E6FE433B82A64EE5E52B0D87@userd204a4d61c> Thanks very much Matthias! Larry ----- Original Message ----- From: "Matthias Rebbe | M-R-D" To: "How to use LiveCode" Sent: Wednesday, January 15, 2014 1:02 PM Subject: Re: email question > > > launch URL "mailto:larry at thisEmail.com?subject=" & myVar > > Regards, > Matthias > > Am 15.04.2014 um 20:53 schrieb > : > >> I want to put a link in my stack so that the user can click on it and it >> will automatically open their default email program with the To: >> populated with my email address and the subject populated with a >> variable: >> >> To: larry at thisEmail.com >> Subject: myVar >> >> TIA >> Larry >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Tue Apr 15 16:55:06 2014 From: coiin at verizon.net (Colin Holgate) Date: Tue, 15 Apr 2014 16:55:06 -0400 Subject: Debug an App that won't open on device In-Reply-To: <0EF94C74-FA56-465C-AC14-9521C05E9203@westrac.com.au> References: <49F01195-741E-4DFA-A589-6698164058D7@westrac.com.au> <977399CD-83D3-45B8-8C64-9FB7A368B164@westrac.com.au>, <0C5EDF4C-0A8A-4DDB-85E5-22FA8B276F63@verizon.net> <0EF94C74-FA56-465C-AC14-9521C05E9203@westrac.com.au> Message-ID: I found a report from someone using Unity, who saw the same error. In that case the name of the app had backspace character in it. Are there are controls in the app that are named with exotic characters? From Nakia.Brewer at westrac.com.au Tue Apr 15 18:10:59 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Tue, 15 Apr 2014 22:10:59 +0000 Subject: Debug an App that won't open on device In-Reply-To: References: <49F01195-741E-4DFA-A589-6698164058D7@westrac.com.au> <977399CD-83D3-45B8-8C64-9FB7A368B164@westrac.com.au>, <0C5EDF4C-0A8A-4DDB-85E5-22FA8B276F63@verizon.net> <0EF94C74-FA56-465C-AC14-9521C05E9203@westrac.com.au> Message-ID: <67116DB20798A94285EEE12A67079A284CAE53A8@MHSEXC02.westrac.com.au> Not that I am aware of but I will take a closer look. The App is using mobGui and MergExternals but as previously mentioned I have removed the externals from the copy files pane in an effort to debug already. Silly question: Could it be something with my new profile, certificates etc after I renewed my iOS Developer Membership? I guess not as the App builds and installs fine in organiser... Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au ? ACN 009 342 572 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Colin Holgate Sent: Wednesday, 16 April 2014 6:55 AM To: How to use LiveCode Subject: Re: Debug an App that won't open on device I found a report from someone using Unity, who saw the same error. In that case the name of the app had backspace character in it. Are there are controls in the app that are named with exotic characters? _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From Nakia.Brewer at westrac.com.au Tue Apr 15 18:19:48 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Tue, 15 Apr 2014 22:19:48 +0000 Subject: Debug an App that won't open on device References: <49F01195-741E-4DFA-A589-6698164058D7@westrac.com.au> <977399CD-83D3-45B8-8C64-9FB7A368B164@westrac.com.au>, <0C5EDF4C-0A8A-4DDB-85E5-22FA8B276F63@verizon.net> <0EF94C74-FA56-465C-AC14-9521C05E9203@westrac.com.au> Message-ID: <67116DB20798A94285EEE12A67079A284CAE53BA@MHSEXC02.westrac.com.au> Not that I am aware of but I will take a closer look. The App is using mobGui and MergExternals but as previously mentioned I have removed the externals from the copy files pane in an effort to debug already. Silly question: Could it be something with my new profile, certificates etc after I renewed my iOS Developer Membership? I guess not as the App builds and installs fine in organiser... Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au ? ACN 009 342 572 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Colin Holgate Sent: Wednesday, 16 April 2014 6:55 AM To: How to use LiveCode Subject: Re: Debug an App that won't open on device I found a report from someone using Unity, who saw the same error. In that case the name of the app had backspace character in it. Are there are controls in the app that are named with exotic characters? _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From gcanyon at gmail.com Tue Apr 15 21:47:04 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 15 Apr 2014 20:47:04 -0500 Subject: Debug an App that won't open on device In-Reply-To: <67116DB20798A94285EEE12A67079A284CAE53BA@MHSEXC02.westrac.com.au> References: <49F01195-741E-4DFA-A589-6698164058D7@westrac.com.au> <977399CD-83D3-45B8-8C64-9FB7A368B164@westrac.com.au> <0C5EDF4C-0A8A-4DDB-85E5-22FA8B276F63@verizon.net> <0EF94C74-FA56-465C-AC14-9521C05E9203@westrac.com.au> <67116DB20798A94285EEE12A67079A284CAE53BA@MHSEXC02.westrac.com.au> Message-ID: <3C14E4DF-85CA-4692-AE5D-0676126D86E8@gmail.com> It can always be the %{*+]^%#[!!!! Certificates. Sent from my iPhone > On Apr 15, 2014, at 5:19 PM, Nakia Brewer wrote: > > Could it be something with my new profile, certificates etc after I renewed my iOS Developer Membership? From Nakia.Brewer at westrac.com.au Tue Apr 15 22:46:45 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Wed, 16 Apr 2014 02:46:45 +0000 Subject: Debug an App that won't open on device In-Reply-To: <3C14E4DF-85CA-4692-AE5D-0676126D86E8@gmail.com> References: <49F01195-741E-4DFA-A589-6698164058D7@westrac.com.au> <977399CD-83D3-45B8-8C64-9FB7A368B164@westrac.com.au> <0C5EDF4C-0A8A-4DDB-85E5-22FA8B276F63@verizon.net> <0EF94C74-FA56-465C-AC14-9521C05E9203@westrac.com.au> <67116DB20798A94285EEE12A67079A284CAE53BA@MHSEXC02.westrac.com.au> <3C14E4DF-85CA-4692-AE5D-0676126D86E8@gmail.com> Message-ID: <67116DB20798A94285EEE12A67079A284CAE5912@MHSEXC02.westrac.com.au> Okay, SO any suggestions with this? If the certificates were invalid wouldn't I get an error when trying to build or even install though.. AM I best to delete all the certificates, profiles (how do I do this is Xcode 5.1.1?) and recreate it all? Man I wish these errors logs actually helped... Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au ? ACN 009 342 572 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Geoff Canyon Sent: Wednesday, 16 April 2014 11:47 AM To: How to use LiveCode Subject: Re: Debug an App that won't open on device It can always be the %{*+]^%#[!!!! Certificates. Sent from my iPhone > On Apr 15, 2014, at 5:19 PM, Nakia Brewer wrote: > > Could it be something with my new profile, certificates etc after I renewed my iOS Developer Membership? _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From dochawk at gmail.com Wed Apr 16 00:05:46 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 15 Apr 2014 21:05:46 -0700 Subject: manipulating revBrowser? Message-ID: I'm trying to meander through the lack of documentation on this. Once I open a revBrowser to a site, can I manipulate it--fill fields, mouse down, select from lists, etc. And is there a tutorial or example for this? In particular, I need to operate a single known website (free of javascript and the like) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jacque at hyperactivesw.com Wed Apr 16 00:56:30 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 15 Apr 2014 23:56:30 -0500 Subject: manipulating revBrowser? In-Reply-To: References: Message-ID: <534E0D7E.4020603@hyperactivesw.com> On 4/15/14, 11:05 PM, Dr. Hawkins wrote: > I'm trying to meander through the lack of documentation on this. > > Once I open a revBrowser to a site, can I manipulate it--fill fields, mouse > down, select from lists, etc. > > And is there a tutorial or example for this? The Help menu used to point to the sampler stacks but it doesn't any more. It should. But they still ship with the product and there is a sample browser stack inside the app bundle on Mac (or inside the app folder on Windows): LiveCode.app/Contents/Tools/Resources/Examples/Browser Sampler.rev The dictionary also has all the commands and functions in the Browser listing in the left-side column, but you've probably already found those. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Apr 16 01:17:35 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 16 Apr 2014 00:17:35 -0500 Subject: Debug an App that won't open on device In-Reply-To: <67116DB20798A94285EEE12A67079A284CAE5912@MHSEXC02.westrac.com.au> References: <49F01195-741E-4DFA-A589-6698164058D7@westrac.com.au> <977399CD-83D3-45B8-8C64-9FB7A368B164@westrac.com.au> <0C5EDF4C-0A8A-4DDB-85E5-22FA8B276F63@verizon.net> <0EF94C74-FA56-465C-AC14-9521C05E9203@westrac.com.au> <67116DB20798A94285EEE12A67079A284CAE53BA@MHSEXC02.westrac.com.au> <3C14E4DF-85CA-4692-AE5D-0676126D86E8@gmail.com> <67116DB20798A94285EEE12A67079A284CAE5912@MHSEXC02.westrac.com.au> Message-ID: <534E126F.10402@hyperactivesw.com> On 4/15/14, 9:46 PM, Nakia Brewer wrote: > If the certificates were invalid wouldn't I get an error when trying > to build or even install though.. > > AM I best to delete all the certificates, profiles (how do I do this > is Xcode 5.1.1?) and recreate it all? I did some searching for you. This thread from the Corona forums talks about the black screen and crash issue: If you skip to the last page, the user solved the problem by deleting all certificates from keychain and regenerating new ones. Change the app version in standalone settings and rebuild the app with the new certificate. You can delete and refresh certificate in XCode's preferences. I don't have that in front of me right now but someone else can give you info, or you can use XCode's Help menu to look it up on Apple's site. The error about ASCII control characters is what Colin said; it means there are illegal characters in your app ID. If you google for the error message you'll see more info. In standalone settings, make sure you have no hidden control characters in the app ID and the app name. To be safe, delete them from standalone settings and re-type them. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From simon at asato-media.com Wed Apr 16 01:35:19 2014 From: simon at asato-media.com (As_Simon) Date: Tue, 15 Apr 2014 22:35:19 -0700 (PDT) Subject: manipulating revBrowser? In-Reply-To: References: Message-ID: <1397626519399-4678336.post@n4.nabble.com> I have a feeling this request is about automatically filling in a form and clicking buttons via revbrowser. It's been years since I last tried but I believe the answer is the same, a sad No. type click Nothing Never tried re-writing the web page and posting that. But I did just figure out how to post info to php/cgi on mobile, so that might be possible. Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/manipulating-revBrowser-tp4678333p4678336.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Wed Apr 16 03:02:50 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 16 Apr 2014 10:02:50 +0300 Subject: New Visual Editor ? In-Reply-To: <53EFCD77-A130-4AC0-8236-1D5135F25348@btinternet.com> References: <53490653.7070703@gmail.com> <53EFCD77-A130-4AC0-8236-1D5135F25348@btinternet.com> Message-ID: <534E2B1A.1020909@gmail.com> On 15.04.2014 21:05, Terence Heaford wrote: > Perhaps the Mother-Ship is Lost in Space? > > All the best > > Terry I think the Mother-Ship has developed something a bit like Zaphod Beeblebrox's dark glasses: A PAD (Promissory Avoidance Drive), which allows it to avoid certain things that it said in the past. Certainly all quiet on the Edinbrovian front! Richmond. > On 12 Apr 2014, at 10:24, Richmond wrote: > >> After rather more than a year this is quite fun to look at again: >> >> https://www.kickstarter.com/projects/1755283828/open-source-edition-of-livecode >> >> ---------------------------- >> >> However, one quite significant question pops up: >> >> "We will introduce a *new visual editor* designed around today's usability standards. The editor will be open. The more technical members of our community can create simplified versions of the editor for tablets or primary schools." >> >> When? "Final Delivery. Fall 2013" Aha; of course. >> >> Has this been dropped without us having been informed? >> >> Some of us teach Primary kids, and this would be a good thing. >> >> -------------------------- >> >> Would be glad if this point could be clarified/explained from the Mother-Ship. >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bernd.gottwald at outrange.com Wed Apr 16 06:00:07 2014 From: bernd.gottwald at outrange.com (bernd.gottwald at outrange.com) Date: 16 Apr 2014 12:00:07 +0200 Subject: =?utf-8?Q?Re:_use=2Dlivecode_Digest,_Vol_127,_Issue_28?= Message-ID: <20140416100007.28652.qmail@divico2.ch-meta.net> Bis zum 22.4.2014 bin ich nicht verf?gbar. Ich werde meine Emails nicht lesen. In dringenden F?llen erreichen Sie mich ?ber mein Mobiltelefon. I will be out of office until 22.4.2014. I won't read me emails. In urgent matter please call me on my mobile. From Nakia.Brewer at westrac.com.au Wed Apr 16 07:13:15 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Wed, 16 Apr 2014 11:13:15 +0000 Subject: Debug an App that won't open on device In-Reply-To: <534E126F.10402@hyperactivesw.com> References: <49F01195-741E-4DFA-A589-6698164058D7@westrac.com.au> <977399CD-83D3-45B8-8C64-9FB7A368B164@westrac.com.au> <0C5EDF4C-0A8A-4DDB-85E5-22FA8B276F63@verizon.net> <0EF94C74-FA56-465C-AC14-9521C05E9203@westrac.com.au> <67116DB20798A94285EEE12A67079A284CAE53BA@MHSEXC02.westrac.com.au> <3C14E4DF-85CA-4692-AE5D-0676126D86E8@gmail.com> <67116DB20798A94285EEE12A67079A284CAE5912@MHSEXC02.westrac.com.au>, <534E126F.10402@hyperactivesw.com> Message-ID: <9F35645B-F90C-44BC-9948-A7A741F961C3@westrac.com.au> Thanks heaps.. I have just upgraded my other machines today and began doing just as you suggested.. The new profile management in Xcode 5 has a few 'learning curves' but I think understand it now. I'm yet to finish the upgrades so can't comment if all of this will fix the issue but I remember copying and pasting the app id from the dev centre into LC so i guess it's grabbed some odd characters along the way.. Thanks all for your help, I won't get back to the computer for a few days (Easter holidays) but will provide feedback as to the result.... Sent from my iPhone > On 16 Apr 2014, at 3:17 pm, "J. Landman Gay" wrote: > >> On 4/15/14, 9:46 PM, Nakia Brewer wrote: >> If the certificates were invalid wouldn't I get an error when trying >> to build or even install though.. >> >> AM I best to delete all the certificates, profiles (how do I do this >> is Xcode 5.1.1?) and recreate it all? > > I did some searching for you. > > This thread from the Corona forums talks about the black screen and crash issue: > > > If you skip to the last page, the user solved the problem by deleting all certificates from keychain and regenerating new ones. Change the app version in standalone settings and rebuild the app with the new certificate. > > You can delete and refresh certificate in XCode's preferences. I don't have that in front of me right now but someone else can give you info, or you can use XCode's Help menu to look it up on Apple's site. > > The error about ASCII control characters is what Colin said; it means there are illegal characters in your app ID. If you google for the error message you'll see more info. In standalone settings, make sure you have no hidden control characters in the app ID and the app name. To be safe, delete them from standalone settings and re-type them. > > -- > 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 > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From m.schonewille at economy-x-talk.com Wed Apr 16 07:38:12 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 16 Apr 2014 13:38:12 +0200 Subject: Installer Maker Spring Offer Message-ID: <534E6BA4.4090102@economy-x-talk.com> Hi everyone, Spring being well under way, Economy-x-Talk is having a special Spring offer for Installer Maker license holders. Is your license over a year old? For a limited time, you can now upgrade your license to the latest version for only ? 16,95 instead of the normal price of ? 39,00. This offer is available until Wednesday 23rd April 2014. Installer Maker Installer Maker is a simple tool to create installers for Windows and Mac OS X. Installer Maker comes in two editions: a LiveCode plug-in and a standalone. The plug-in can be used with the commercial edition of LiveCode only, while the standalone version can be used in combination with any edition of LiveCode , Revolution and MetaCard, as well as RealStudio/Xojo, SuperCard, Prezi, HyperStudio etc. Upgrading Normally, licenses cost 39 euro with free updates during the first 3 months after purchase. Upgrades are available for ? 16,95 during one year after purchase. Just for one week, we allow everyone to upgrade his or her license at the discounted upgrade price. To get a new license, go to http://qery.us/49n (plug-in) or http://qery.us/49o (standalone) and enter your license key at the bottom of the page. The page will load again and if you scroll to the bottom of the page again, you will now be able to buy a new license at the discount price. From there, just follow PayPal's instructions. Shortly after purchase, you will first receive an auto-reply. Your license follows within 24 hours. Why Upgrade? Perhaps you didn't upgrade in the past, because you were missing some essential features? Download the Read Me file from http://qery.us/49m (PDF) and check out the history. You'll see that many features have been added during the past year. Go to http://qery.us/49n to download the plug-in or to http://qery.us/49o to download the standalone version. Did you use the plug-in edition with a commercial version of LiveCode and are you moving to the open-source edition? Then download the standalone version. You can always switch from the plug-in edition and back or use them combined. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ From ambassador at fourthworld.com Wed Apr 16 08:21:02 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 16 Apr 2014 05:21:02 -0700 Subject: New Visual Editor ? In-Reply-To: <534E2B1A.1020909@gmail.com> References: <534E2B1A.1020909@gmail.com> Message-ID: <534E75AE.2030001@fourthworld.com> There's a recent Dr. Dobbs article about the historically bad record the software industry has for delivering accurate estimates: While your estimates may be consistently spot-on, it seems RunRev's estimates are more in line with industry averages. To see what the team is up to the Road Map offers useful guidance: There we see four major categories of tasks, broken into two groups. The first group consists of three "strands", related sets of tasks that form a foundation on which the second group, labeled "Queued", can the be implemented. The IDE work is one of the three strands, and a team is currently working on it. As Community Manager, part of this role requires me to bring concerns from the community to the core dev team. My next meeting with them is tomorrow. and I'll make this an item on that agenda, encouraging the IDE team to provide an update on their work in the new UI. With the engine so very much in flux as we move toward v7, we can expect that work in the IDE has been somewhat hampered by the need to complete that version, so I don't imagine they're at a stage where we can expect nifty screen shots and such quite yet. But I'll see what info I can find and either the team or myself with provide you some info on where they are with 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 Richmond wrote: > I think the Mother-Ship has developed something a bit like Zaphod > Beeblebrox's dark glasses: > > A PAD (Promissory Avoidance Drive), which allows it to avoid certain > things that it said in > the past. > > Certainly all quiet on the Edinbrovian front! > > Richmond. > >> On 12 Apr 2014, at 10:24, Richmond wrote: >> >>> After rather more than a year this is quite fun to look at again: >>> >>> https://www.kickstarter.com/projects/1755283828/open-source-edition-of-livecode >>> >>> ---------------------------- >>> >>> However, one quite significant question pops up: >>> >>> "We will introduce a *new visual editor* designed around today's usability standards. The editor will be open. The more technical members of our community can create simplified versions of the editor for tablets or primary schools." >>> >>> When? "Final Delivery. Fall 2013" Aha; of course. >>> >>> Has this been dropped without us having been informed? From richmondmathewson at gmail.com Wed Apr 16 09:13:30 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 16 Apr 2014 16:13:30 +0300 Subject: New Visual Editor ? In-Reply-To: <534E75AE.2030001@fourthworld.com> References: <534E2B1A.1020909@gmail.com> <534E75AE.2030001@fourthworld.com> Message-ID: <534E81FA.4020401@gmail.com> On 16/04/14 15:21, Richard Gaskin wrote: > There's a recent Dr. Dobbs article about the historically bad record > the software industry has for delivering accurate estimates: > > > > While your estimates may be consistently spot-on, it seems RunRev's > estimates are more in line with industry averages. > > To see what the team is up to the Road Map offers useful guidance: > No mention, as far as I can see, of the new GUI. > > There we see four major categories of tasks, broken into two groups. > The first group consists of three "strands", related sets of tasks > that form a foundation on which the second group, labeled "Queued", > can the be implemented. > > The IDE work is one of the three strands, and a team is currently > working on it. > > As Community Manager, part of this role requires me to bring concerns > from the community to the core dev team. My next meeting with them is > tomorrow. and I'll make this an item on that agenda, encouraging the > IDE team to provide an update on their work in the new UI. > > With the engine so very much in flux as we move toward v7, we can > expect that work in the IDE has been somewhat hampered by the need to > complete that version, so I don't imagine they're at a stage where we > can expect nifty screen shots and such quite yet. > > But I'll see what info I can find and either the team or myself with > provide you some info on where they are with that. > Thank you very much indeed. The main thing, as far as I'm concerned at least, is not how long it takes (lesson number 1: everything takes longer than one's estimates), but that it has not been quietly dropped. As self-appointed gadfly I do find myself, from time to time, stinging a bit, largely owing to things that probably are happening, but the "Great Livecode Public" are not being adequately informed about. Richmond. > -- > Richard Gaskin > > After rather more than a year this is quite fun to look at again: >>>> >>>> https://www.kickstarter.com/projects/1755283828/open-source-edition-of-livecode >>>> >>>> >>>> ---------------------------- >>>> >>>> However, one quite significant question pops up: >>>> >>>> "We will introduce a *new visual editor* designed around today's >>>> usability standards. The editor will be open. The more technical >>>> members of our community can create simplified versions of the >>>> editor for tablets or primary schools." >>>> >>>> When? "Final Delivery. Fall 2013" Aha; of course. >>>> >>>> Has this been dropped without us having been informed? > From alex at tweedly.net Wed Apr 16 09:39:08 2014 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 16 Apr 2014 14:39:08 +0100 Subject: New Visual Editor ? In-Reply-To: <534E75AE.2030001@fourthworld.com> References: <534E2B1A.1020909@gmail.com> <534E75AE.2030001@fourthworld.com> Message-ID: <534E87FC.6050302@tweedly.net> That's a very useful page, which I think I hadn't noticed before. I'd been to http://livecode.com/community/ and followed all the major links (i.e. those in the main body), which almost matches those on the left-menu. I hadn't noticed the two lists of links were slightly different. Says something about how people browse web pages :-( OK, it says something about how *I* browse web pages :-) The roadmap page could maybe do with some kind of a date on it to show when it was last updated, or some indication of which versions or timescale is being considered for each of the major parts. -- Alex. On 16/04/2014 13:21, Richard Gaskin wrote: > There's a recent Dr. Dobbs article about the historically bad record > the software industry has for delivering accurate estimates: > > > > While your estimates may be consistently spot-on, it seems RunRev's > estimates are more in line with industry averages. > > To see what the team is up to the Road Map offers useful guidance: > > > There we see four major categories of tasks, broken into two groups. > The first group consists of three "strands", related sets of tasks > that form a foundation on which the second group, labeled "Queued", > can the be implemented. > > The IDE work is one of the three strands, and a team is currently > working on it. > > As Community Manager, part of this role requires me to bring concerns > from the community to the core dev team. My next meeting with them is > tomorrow. and I'll make this an item on that agenda, encouraging the > IDE team to provide an update on their work in the new UI. > > With the engine so very much in flux as we move toward v7, we can > expect that work in the IDE has been somewhat hampered by the need to > complete that version, so I don't imagine they're at a stage where we > can expect nifty screen shots and such quite yet. > > But I'll see what info I can find and either the team or myself with > provide you some info on where they are with 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 > > > Richmond wrote: > >> I think the Mother-Ship has developed something a bit like Zaphod >> Beeblebrox's dark glasses: >> >> A PAD (Promissory Avoidance Drive), which allows it to avoid certain >> things that it said in >> the past. >> >> Certainly all quiet on the Edinbrovian front! >> >> Richmond. >> >>> On 12 Apr 2014, at 10:24, Richmond >>> wrote: >>> >>>> After rather more than a year this is quite fun to look at again: >>>> >>>> https://www.kickstarter.com/projects/1755283828/open-source-edition-of-livecode >>>> >>>> >>>> ---------------------------- >>>> >>>> However, one quite significant question pops up: >>>> >>>> "We will introduce a *new visual editor* designed around today's >>>> usability standards. The editor will be open. The more technical >>>> members of our community can create simplified versions of the >>>> editor for tablets or primary schools." >>>> >>>> When? "Final Delivery. Fall 2013" Aha; of course. >>>> >>>> Has this been dropped without us having been informed? > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Apr 16 10:23:49 2014 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 16 Apr 2014 08:23:49 -0600 Subject: manipulating revBrowser? In-Reply-To: <1397626519399-4678336.post@n4.nabble.com> References: <1397626519399-4678336.post@n4.nabble.com> Message-ID: Not sure if its changed, but you can execute javascript in the browser. Look at revbrowserexecutescript and revbrowsercallscript. Even if the site itself is free of javascript, you can most likely still use revbrowserexecutescript to fill in and click things. Maybe you can get things working that way. As for clicking and typing, its possible to tell lc to click at locations but it only works on stacks. No clicking outside of lc, and unfortunately revbrowser isn't part of the clickable. Somewhere around here I have an external that gets around this. (windows) I used it for a remote control app. App on android, receiver on windows so that I could move the mouse and click locations. If you are able to write in cpp(I'm not but still got something working luckily), you can probably build an external to do what you need. Once the framework and all was set up, I used the rnaHelloUser sample as a base to make the clicker. I am NOT a cpp programmer, haven't a clue really, but did get the clicker to work. One call does both up and down of the left mouse button: void clickIt(char *p_arguments[],int p_argument_count, char **r_result,Bool *r_pass, Bool *r_err) { const char *t_error; t_error = NULL; mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0); mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); *r_result = strdup(""); *r_pass = False; *r_err = False; } Then the declarations EXTERNAL_BEGIN_DECLARATIONS("clicky") EXTERNAL_DECLARE_COMMAND("clickit",clickIt) ## With the new stuff coming out i'm sure writing externals is a different beast than it was, but even so. If all you need to do is be able to click, and send keystrokes to revbrowser, this might do it. I'll have to dig out clicky and see if it will actually click in revbrowser, though i'm sure it will. I'm also not sure if the switch to webkit is done yet. (that IS what's happening right?) Things might improve, or get worse as far as manipulating the browser, another thing i'm clueless about. :) On Tue, Apr 15, 2014 at 11:35 PM, As_Simon wrote: > I have a feeling this request is about automatically filling in a form and > clicking buttons via revbrowser. > It's been years since I last tried but I believe the answer is the same, a > sad No. > type > click > Nothing > > Never tried re-writing the web page and posting that. > But I did just figure out how to post info to php/cgi on mobile, so that > might be possible. > > Simon > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/manipulating-revBrowser-tp4678333p4678336.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 Wed Apr 16 10:46:21 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 16 Apr 2014 07:46:21 -0700 Subject: New Visual Editor ? In-Reply-To: <534E81FA.4020401@gmail.com> References: <534E81FA.4020401@gmail.com> Message-ID: <534E97BD.7090002@fourthworld.com> Richmond wrote: > The main thing, as far as I'm concerned at least, is not how long > it takes (lesson number 1: everything takes longer than one's > estimates), but that it has not been quietly dropped. One thing I've learned from Kevin in our CM meetings is that he and the rest of the team are all very committed to delivering the Kickstarter goals ASAP. Yes, many are taking longer than expected, and other goodies have managed to find their way in along the way when the opportunity strikes (often through contributions from the community - thank you Jan, Monte, Mark Wieder, and the others!), but the Road Map is a good reflection of the Kickstarter goals, and the Release Notes a good measure of their progress. > As self-appointed gadfly I do find myself, from time to time, > stinging a bit, largely owing to things that probably are > happening, but the "Great Livecode Public" are not being > adequately informed about. Agreed, and that's often part of the role of a Community Manager on an open source project like LiveCode: the core dev team often has their head so buried in code that it's easy to overlook opportunities to engage with the community, to let them know more about all the hard work they've been doing. The only truly useful software is the software in our hands, but of course with complex projects that takes time, and the long process often has segments of the work that aren't visible to end-users. But with an open source process, visibility is a key component to community engagement, so a Community Manager can help keep the flow of information moving in both directions. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From MikeKerner at roadrunner.com Wed Apr 16 10:49:48 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 16 Apr 2014 10:49:48 -0400 Subject: New Visual Editor ? In-Reply-To: <534E97BD.7090002@fourthworld.com> References: <534E81FA.4020401@gmail.com> <534E97BD.7090002@fourthworld.com> Message-ID: no new gui until I get my t-shirt. On Wed, Apr 16, 2014 at 10:46 AM, Richard Gaskin wrote: > Richmond wrote: > > The main thing, as far as I'm concerned at least, is not how long > > it takes (lesson number 1: everything takes longer than one's > > estimates), but that it has not been quietly dropped. > > One thing I've learned from Kevin in our CM meetings is that he and the > rest of the team are all very committed to delivering the Kickstarter goals > ASAP. > > Yes, many are taking longer than expected, and other goodies have managed > to find their way in along the way when the opportunity strikes (often > through contributions from the community - thank you Jan, Monte, Mark > Wieder, and the others!), but the Road Map is a good reflection of the > Kickstarter goals, and the Release Notes a good measure of their progress. > > > > > As self-appointed gadfly I do find myself, from time to time, > > stinging a bit, largely owing to things that probably are > > happening, but the "Great Livecode Public" are not being > > adequately informed about. > > Agreed, and that's often part of the role of a Community Manager on an > open source project like LiveCode: the core dev team often has their head > so buried in code that it's easy to overlook opportunities to engage with > the community, to let them know more about all the hard work they've been > doing. > > The only truly useful software is the software in our hands, but of course > with complex projects that takes time, and the long process often has > segments of the work that aren't visible to end-users. > > But with an open source process, visibility is a key component to > community engagement, so a Community Manager can help keep the flow of > information moving in both directions. > > > -- > 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 > -- 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 bleiler at buffalo.edu Wed Apr 16 10:57:02 2014 From: bleiler at buffalo.edu (Tim Bleiler) Date: Wed, 16 Apr 2014 10:57:02 -0400 Subject: Limits of the Option and ComboBox menuMode Message-ID: Just curious, could someone explain why buttons with style set to "menu" and menuMode set to either "option" or "comboBox" don't draw/render beyond a certain height? Thanks, Tim Bleiler From dixonja at hotmail.co.uk Wed Apr 16 11:01:37 2014 From: dixonja at hotmail.co.uk (John Dixon) Date: Wed, 16 Apr 2014 16:01:37 +0100 Subject: Limits of the Option and ComboBox menuMode In-Reply-To: References: Message-ID: They will... but you have to set the number of lines that they will display. Have a look at the 'property' inspector for a combo box... you can set them through the property inspector or through script..:-) > From: bleiler at buffalo.edu > Subject: Limits of the Option and ComboBox menuMode > Date: Wed, 16 Apr 2014 10:57:02 -0400 > To: use-livecode at lists.runrev.com > > Just curious, could someone explain why buttons with style set to "menu" and menuMode set to either "option" or "comboBox" don't draw/render beyond a certain height? > > Thanks, > Tim Bleiler > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Wed Apr 16 11:06:22 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 16 Apr 2014 15:06:22 +0000 Subject: 6.6.1 no bueno In-Reply-To: <534D54A3.5060408@warrensweb.us> References: <9D010C7D-8913-4111-AD9F-FE4F44596C35@iotecdigital.com> <1E3CF3B7-AA44-469E-A06D-C47ED63746B0@mac.com> <0A941086-3778-4091-9B46-4814DCFF2F36@iotecdigital.com> <534D54A3.5060408@warrensweb.us> Message-ID: <1DB3B231-AE0D-4658-9348-BC816CEC8499@iotecdigital.com> Well, it?s not a killer. There is a reasonable workaround, and I hardly ever use combo boxes. If you open the prefs of another object before you create the new combo box it seems to work fine after that. Just as long as a combo box is not the first object you create in a new session. Bob On Apr 15, 2014, at 08:47 , Warren Samples wrote: > On 04/15/2014 09:58 AM, Bob Sneidar wrote: >> Seems only a few people seeing this. Might be a corrupted prefs issue. Also, if you are running any add-on that does properties, that may be getting around it. >> >> Bob > > > Renamed the Plugins and preferences folders and this issue persists. (Linux) > > Warren > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bleiler at buffalo.edu Wed Apr 16 11:09:49 2014 From: bleiler at buffalo.edu (Tim Bleiler) Date: Wed, 16 Apr 2014 11:09:49 -0400 Subject: Limits of the Option and ComboBox menuMode In-Reply-To: References: Message-ID: Thanks John, that does affect the size of the menu that pops up but I'm interested in the size of the actual button that the user clicks on. I don't see any way to change that and I was wondering if it's supposed to do that. On Apr 16, 2014, at 11:01 AM, John Dixon wrote: > They will... but you have to set the number of lines that they will display. Have a look at the 'property' inspector for a combo box... you can set them through the property inspector or through script..:-) >> >> Just curious, could someone explain why buttons with style set to "menu" and menuMode set to either "option" or "comboBox" don't draw/render beyond a certain height? > From dixonja at hotmail.co.uk Wed Apr 16 11:12:33 2014 From: dixonja at hotmail.co.uk (John Dixon) Date: Wed, 16 Apr 2014 16:12:33 +0100 Subject: Limits of the Option and ComboBox menuMode In-Reply-To: References: , , Message-ID: Ah, sorry... misread your question...:-( > From: bleiler at buffalo.edu > Subject: Re: Limits of the Option and ComboBox menuMode > Date: Wed, 16 Apr 2014 11:09:49 -0400 > To: use-livecode at lists.runrev.com > > Thanks John, that does affect the size of the menu that pops up but I'm interested in the size of the actual button that the user clicks on. I don't see any way to change that and I was wondering if it's supposed to do that. > > > On Apr 16, 2014, at 11:01 AM, John Dixon wrote: > > > They will... but you have to set the number of lines that they will display. Have a look at the 'property' inspector for a combo box... you can set them through the property inspector or through script..:-) > > >> > >> Just curious, could someone explain why buttons with style set to "menu" and menuMode set to either "option" or "comboBox" don't draw/render beyond a certain height? > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 16 11:20:30 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 16 Apr 2014 08:20:30 -0700 Subject: Limits of the Option and ComboBox menuMode In-Reply-To: References: Message-ID: <534E9FBE.4050805@fourthworld.com> Tim Bleiler wrote: > Just curious, could someone explain why buttons with style set > to "menu" and menuMode set to either "option" or "comboBox" > don't draw/render beyond a certain height? I believe this is a result of the interaction between LC and the Mac OS X routines needed to render the controls, since the Mac HIG requires certain controls to be only of a specified range of sizes. I haven't tested this on Windows in many years, but on Linux there are no such limitations on button sizes. If you need larger controls than the Mac HIG allows, Linux is free - all you have to do is get everyone in your audience to switch. ;) -- 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 jbv at souslelogo.com Wed Apr 16 12:25:57 2014 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Wed, 16 Apr 2014 19:25:57 +0300 Subject: Number of days between 2 dates Message-ID: Hi list, I need to calculate the number of days between any date and january 1st of the same year. So I tried this : put "1/31/14" && "0:00 AM" into tdate convert tdate to long seconds put "1/1/14" && "0:00 AM" into date0 convert date0 to long seconds put (tdate - date0)/86400 which seems to work and returns an integer. When I try this as 1st line of my script : put "3/30/14" && "0:00 AM" into tdate it still works (returns 88). And suddenly, the following : put "3/31/14" && "0:00 AM" into tdate returns 88.958333 Any idea ? Thanks, jbv From m.schonewille at economy-x-talk.com Wed Apr 16 12:45:48 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 16 Apr 2014 18:45:48 +0200 Subject: Number of days between 2 dates In-Reply-To: References: Message-ID: <534EB3BC.9070900@economy-x-talk.com> Hi Jbv, This subject has been discussed very frequently. You may want to search the archives for a solution. Probably, all will work fine if you take 12:00 instead of 00:00. DST may be the culprit. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 4/16/2014 18:25, jbv at souslelogo.com wrote: > Hi list, > > I need to calculate the number of days between any date and > january 1st of the same year. > So I tried this : > put "1/31/14" && "0:00 AM" into tdate > convert tdate to long seconds > put "1/1/14" && "0:00 AM" into date0 > convert date0 to long seconds > put (tdate - date0)/86400 > > which seems to work and returns an integer. > When I try this as 1st line of my script : > put "3/30/14" && "0:00 AM" into tdate > it still works (returns 88). > > And suddenly, the following : > put "3/31/14" && "0:00 AM" into tdate > returns 88.958333 > > Any idea ? > > Thanks, > jbv > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 16 12:47:58 2014 From: dixonja at hotmail.co.uk (John Dixon) Date: Wed, 16 Apr 2014 17:47:58 +0100 Subject: Number of days between 2 dates In-Reply-To: <534EB3BC.9070900@economy-x-talk.com> References: , <534EB3BC.9070900@economy-x-talk.com> Message-ID: This seems to work... on mouseUp put the short date into dayNow convert dayNow to seconds put dayNow into startCalc convert dayNow to dateItems put item 1 of dayNow into theYear put "01/01/" & theYear into theYearStart convert theYearStart to seconds put theYearStart into endCalc put startCalc - endCalc into tempCalc put trunc(tempCalc/86400) end mouseUp > Date: Wed, 16 Apr 2014 18:45:48 +0200 > From: m.schonewille at economy-x-talk.com > To: use-livecode at lists.runrev.com > Subject: Re: Number of days between 2 dates > > Hi Jbv, > > This subject has been discussed very frequently. You may want to search > the archives for a solution. > > Probably, all will work fine if you take 12:00 instead of 00:00. DST may > be the culprit. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Installer Maker for LiveCode: > http://qery.us/468 > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > LiveCode on Facebook: > https://www.facebook.com/groups/runrev/ > > On 4/16/2014 18:25, jbv at souslelogo.com wrote: > > Hi list, > > > > I need to calculate the number of days between any date and > > january 1st of the same year. > > So I tried this : > > put "1/31/14" && "0:00 AM" into tdate > > convert tdate to long seconds > > put "1/1/14" && "0:00 AM" into date0 > > convert date0 to long seconds > > put (tdate - date0)/86400 > > > > which seems to work and returns an integer. > > When I try this as 1st line of my script : > > put "3/30/14" && "0:00 AM" into tdate > > it still works (returns 88). > > > > And suddenly, the following : > > put "3/31/14" && "0:00 AM" into tdate > > returns 88.958333 > > > > Any idea ? > > > > Thanks, > > jbv > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bleiler at buffalo.edu Wed Apr 16 13:18:48 2014 From: bleiler at buffalo.edu (Tim Bleiler) Date: Wed, 16 Apr 2014 13:18:48 -0400 Subject: Limits of the Option and ComboBox menuMode In-Reply-To: <534E9FBE.4050805@fourthworld.com> References: <534E9FBE.4050805@fourthworld.com> Message-ID: <352C1EF7-4BAD-4F60-8F61-5D60CFB932E8@buffalo.edu> On Apr 16, 2014, at 11:20 AM, Richard Gaskin wrote: > I believe this is a result of the interaction between LC and the Mac OS X routines needed to render the controls, since the Mac HIG requires certain controls to be only of a specified range of sizes. > > I haven't tested this on Windows in many years, but on Linux there are no such limitations on button sizes. That's too bad. There are times when larger controls would be appropriate, for example in a program for children. Tim Bleiler From devin_asay at byu.edu Wed Apr 16 13:29:25 2014 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 16 Apr 2014 17:29:25 +0000 Subject: 6.6.1 no bueno In-Reply-To: <1DB3B231-AE0D-4658-9348-BC816CEC8499@iotecdigital.com> References: <9D010C7D-8913-4111-AD9F-FE4F44596C35@iotecdigital.com> <1E3CF3B7-AA44-469E-A06D-C47ED63746B0@mac.com> <0A941086-3778-4091-9B46-4814DCFF2F36@iotecdigital.com> <534D54A3.5060408@warrensweb.us> <1DB3B231-AE0D-4658-9348-BC816CEC8499@iotecdigital.com> Message-ID: <1B187B65-D310-4805-851C-F31CCEA13487@byu.edu> On Apr 16, 2014, at 9:06 AM, Bob Sneidar wrote: > Well, it?s not a killer. There is a reasonable workaround, and I hardly ever use combo boxes. If you open the prefs of another object before you create the new combo box it seems to work fine after that. Just as long as a combo box is not the first object you create in a new session. Except that I was seeing the same problem with any kind of menu-style button. It's worth reporting. I'll be glad to do it, since I have a recipe. Devin Devin Asay Office of Digital Humanities Brigham Young University From simplsol at aol.com Wed Apr 16 14:28:23 2014 From: simplsol at aol.com (Paul Looney) Date: Wed, 16 Apr 2014 11:28:23 -0700 Subject: Number of days between 2 dates In-Reply-To: References: Message-ID: JBV, One of the date issue you run into on OS X is that it has 23 hour and 25 hour days - when going from or to standard time. Here is a solution I've been using for many years: function ahsm_DaysBetweenDates firstDate,secondDate # Calculates the days elapsed between two dates, entered in any order. # Use "abs" in case the first date is later than the second. # Use "round" & numberFormat "#." in case there is a fraction # created dividing 86400 into the non-24 hr days # beginning or ending Daylight Savings Time. # Add 1 to the date to include both the first and second date, # (if they are the same, it is one day reviewed - not zero days). set the useSystemDate to true -- for international dates --convert firstDate to seconds -- did not work with non-US dates convert firstDate from abbr date to seconds --convert secondDate to seconds convert secondDate from abbr date to seconds put abs (firstDate - secondDate) into vLapsedSeconds set numberFormat to "#." put round ((vLapsedSeconds/86400)) + 1 into vDays return vDays end ahsm_DaysBetweenDates Paul Looney On Apr 16, 2014, at 9:25 AM, jbv at souslelogo.com wrote: > Hi list, > > I need to calculate the number of days between any date and > january 1st of the same year. > So I tried this : > put "1/31/14" && "0:00 AM" into tdate > convert tdate to long seconds > put "1/1/14" && "0:00 AM" into date0 > convert date0 to long seconds > put (tdate - date0)/86400 > > which seems to work and returns an integer. > When I try this as 1st line of my script : > put "3/30/14" && "0:00 AM" into tdate > it still works (returns 88). > > And suddenly, the following : > put "3/31/14" && "0:00 AM" into tdate > returns 88.958333 > > Any idea ? > > Thanks, > jbv > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Wed Apr 16 15:22:15 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 16 Apr 2014 12:22:15 -0700 (PDT) Subject: The Hammer Principle - The right tool for the job Message-ID: <1397676135103-4678359.post@n4.nabble.com> In this webpage, there is an open place for LiveCode: http://hammerprinciple.com/therighttool "We all talk about using the right tool for the job in the context of programming items. But which job? And what's the right tool for it? I want your help in determining the answer for this." All statements in this webpage remembers me the endless debates about every programming language in existence. You could laugh: http://hammerprinciple.com/therighttool/statements/i-often-get-angry-when-writing-code-in-this-langua or cry: http://hammerprinciple.com/therighttool/statements/i-would-recommend-most-programmers-learn-this-lang How could we request the inclusion of LiveCode among the programming languages of this webpage? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/The-Hammer-Principle-The-right-tool-for-the-job-tp4678359.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Wed Apr 16 15:41:18 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 16 Apr 2014 22:41:18 +0300 Subject: The Hammer Principle - The right tool for the job In-Reply-To: <1397676135103-4678359.post@n4.nabble.com> References: <1397676135103-4678359.post@n4.nabble.com> Message-ID: <534EDCDE.2060302@gmail.com> On 16/04/14 22:22, Alejandro Tejada wrote: > In this webpage, there is an open place for LiveCode: > > http://hammerprinciple.com/therighttool > > "We all talk about using the right tool for the job in > the context of programming items. But which job? > And what's the right tool for it? > I want your help in determining the answer for this." > > All statements in this webpage remembers me > the endless debates about every programming > language in existence. > > You could laugh: > http://hammerprinciple.com/therighttool/statements/i-often-get-angry-when-writing-code-in-this-langua > > or cry: > http://hammerprinciple.com/therighttool/statements/i-would-recommend-most-programmers-learn-this-lang > > How could we request the inclusion of LiveCode among the > programming languages of this webpage? > > Al > > > Well, I just sent the chap this to his e-mail ("Contact" at bottom of page): This is my Hammer of choice: http://livecode.com/download/ Please include it in your list. Best, Richmond Mathewson B.A. (Dunelm), M.A. (SIUC), M.Sc. (Abertay). From capellan2000 at gmail.com Wed Apr 16 15:57:13 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 16 Apr 2014 12:57:13 -0700 (PDT) Subject: The Hammer Principle - The right tool for the job In-Reply-To: <534EDCDE.2060302@gmail.com> References: <1397676135103-4678359.post@n4.nabble.com> <534EDCDE.2060302@gmail.com> Message-ID: <1397678233160-4678361.post@n4.nabble.com> Richmond Mathewson-2 wrote > Well, I just sent the chap this to his e-mail ("Contact" at bottom of > page): > This is my Hammer of choice: > http://livecode.com/download/ > Please include it in your list. > Best, Richmond Mathewson B.A. (Dunelm), M.A. (SIUC), M.Sc. (Abertay). Great! Many thanks. :) Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/The-Hammer-Principle-The-right-tool-for-the-job-tp4678359p4678361.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Wed Apr 16 16:02:26 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 16 Apr 2014 23:02:26 +0300 Subject: The Hammer Principle - The right tool for the job In-Reply-To: <1397678233160-4678361.post@n4.nabble.com> References: <1397676135103-4678359.post@n4.nabble.com> <534EDCDE.2060302@gmail.com> <1397678233160-4678361.post@n4.nabble.com> Message-ID: <534EE1D2.6070901@gmail.com> On 16/04/14 22:57, Alejandro Tejada wrote: > Richmond Mathewson-2 wrote >> Well, I just sent the chap this to his e-mail ("Contact" at bottom of >> page): >> This is my Hammer of choice: >> http://livecode.com/download/ >> Please include it in your list. >> Best, Richmond Mathewson B.A. (Dunelm), M.A. (SIUC), M.Sc. (Abertay). > Great! Many thanks. :) > > Al > > Perhaps as many people as possible on this Use-List could send similar e-mails. Richmond. From dunbarx at aol.com Wed Apr 16 17:06:53 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 16 Apr 2014 17:06:53 -0400 (EDT) Subject: The Hammer Principle - The right tool for the job In-Reply-To: <534EE1D2.6070901@gmail.com> References: <1397676135103-4678359.post@n4.nabble.com> <534EDCDE.2060302@gmail.com> <1397678233160-4678361.post@n4.nabble.com> <534EE1D2.6070901@gmail.com> Message-ID: <8D127CEED7A0631-934-2128C@webmail-d177.sysops.aol.com> Right behind you, Richmond. Probably better if the responses from here were paced, maybe over a week or two? Craig -----Original Message----- From: Richmond To: How to use LiveCode Sent: Wed, Apr 16, 2014 4:02 pm Subject: Re: The Hammer Principle - The right tool for the job On 16/04/14 22:57, Alejandro Tejada wrote: > Richmond Mathewson-2 wrote >> Well, I just sent the chap this to his e-mail ("Contact" at bottom of >> page): >> This is my Hammer of choice: >> http://livecode.com/download/ >> Please include it in your list. >> Best, Richmond Mathewson B.A. (Dunelm), M.A. (SIUC), M.Sc. (Abertay). > Great! Many thanks. :) > > Al > > Perhaps as many people as possible on this Use-List could send similar e-mails. 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 capellan2000 at gmail.com Wed Apr 16 17:32:10 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 16 Apr 2014 14:32:10 -0700 (PDT) Subject: The Missing Link between LiveCode and Teachers Message-ID: <1397683930637-4678364.post@n4.nabble.com> The Missing Link between LiveCode and Teachers is Hypermedia Learning. Recently, I was consulting EBSCO database: http://search.ebscohost.com/ for articles and publications about Hypermedia. Surprisingly, most of these articles have been written from 1988 to 1995 and uses the Macintosh and HyperCard as their role model for hypermedia explanations and implementation. After 1995, multi-platform web browsers opened the internet frontier and hypermedia learning and teaching was relegated to a second plane. The big problems was: NOT EVERYONE had an internet connection. Still today, this is true in most parts of the world. Maybe not in your neighborhood, but this is true in most parts of the world Today, April 2014, one of the hottest topics in education is the "gamification of learning" but... How could a teacher have the skills to create a game for their classes, if her/him do not even know the basics of hypermedia creation? My request to Kevin&Co. (RunRev) and Richard, as Community Manager is: Contact by email every author of Hypermedia books, article, tutorial and publication. Request them to test and use LiveCode as a Hypermedia learning tool and send directly to the mothership their comments about the suitability of LiveCode for this specific task. I am sure that many of them will be surprised by the capabilities and easy of use of this platform. Probably, some of them will want to update their publications using LiveCode as model. What do you think? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/The-Missing-Link-between-LiveCode-and-Teachers-tp4678364.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Wed Apr 16 22:23:03 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 16 Apr 2014 19:23:03 -0700 (PDT) Subject: LiveCode 7.0 input Japanese text on Ubuntu In-Reply-To: References: Message-ID: <1397701383413-4678365.post@n4.nabble.com> Kenji Kojima wrote > Did anybody try to input Japanese text into > Linux version LiveCode7.0.0(dp2)? > [snip] Do not work either in Lubuntu 13.10, using Japanese-Anthy. Works fine in other applications. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-7-0-input-Japanese-text-on-Ubuntu-tp4678310p4678365.html Sent from the Revolution - User mailing list archive at Nabble.com. From index at kenjikojima.com Wed Apr 16 22:28:45 2014 From: index at kenjikojima.com (Kenji Kojima) Date: Wed, 16 Apr 2014 22:28:45 -0400 Subject: LiveCode 7.0 input Japanese text on Ubuntu In-Reply-To: <1397701383413-4678365.post@n4.nabble.com> References: <1397701383413-4678365.post@n4.nabble.com> Message-ID: <7736831D-897E-4300-A377-AE0D92CE8291@kenjikojima.com> Alejandro, I see. Thanks. -- Kenji Kojima / ???? http://www.kenjikojima.com/ On Apr 16, 2014, at 10:23 PM, Alejandro Tejada wrote: > Kenji Kojima wrote >> Did anybody try to input Japanese text into >> Linux version LiveCode7.0.0(dp2)? >> [snip] > > Do not work either in Lubuntu 13.10, > using Japanese-Anthy. > > Works fine in other applications. > > Al > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-7-0-input-Japanese-text-on-Ubuntu-tp4678310p4678365.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 johnpatten at me.com Wed Apr 16 22:44:01 2014 From: johnpatten at me.com (JOHN PATTEN) Date: Wed, 16 Apr 2014 19:44:01 -0700 Subject: Enterprise iOS License Distribution... In-Reply-To: <5346D3D5.4040505@hyperactivesw.com> References: <369235.67090.bm@smtp103.mail.ir2.yahoo.com> <5346D3D5.4040505@hyperactivesw.com> Message-ID: Thanks Mark? I hadn?t looked at installing directly on the iOS, other than when the iOS device is cabled to computer, X Code is running, and dragging and dropping the app like we do when using the development profile. That works fine and the Enterprise app installs. I?m assuming when you say directly, you mean via a self-serve web site. I was using the appendix c in this Apple doc, http://images.apple.com/iphone/business/docs/iOS_Deployment_Technical_Reference_EN_Feb14.pdf in an attempt to figure this out. It hasn?t worked. When I click my link to download the app, it just errors with can?t connect to site. A few things I?ve seen from others sites: 1. Change the http reference to https in the manifest file for the link action. Tried that but it did not make a difference. 2. I?m also wondering if there is something special that needs to be done to the iOS app after LiveCode creates the iOS app. The iOS appears to have a app extension and not an ipa extension. Also, I?m guessing the iOS app hast to be compressed before changing the file extension to ipa otherwise it results in just the folder with it?s iOS app components. I hope this makes sense. 3. I do not have a certified SSL cert on my Mavericks Server. Everything has been done with the a self signed cert. Not sure if that may be causing a problem. This server (web, Profile Manager) is behind our firewall and only accessible on our district WAN. The server does not even have an IP that is accessible outside of our district. Problem? There is very minimal info on setting up Enterprise distribution via web site or using Profile Manger to distribute Enterprise apps. This is all new to us too, so we would benefit with a straight vanilla how-to in order to get started distributing apps out to our schools. If anybody is aware of such a document, we?d be much appreciative. Thank you! John Patten SUSD On Apr 10, 2014, at 10:24 AM, J. Landman Gay wrote: > On 4/10/14, 7:07 AM, Mark Wilcox wrote: >> Profile Manager includes Mobile Device Management for iOS devices. >> It's definitely the right way to be doing this. > > Good to know, thanks very much. It's really nice to have someone with your knowledge base here on the list. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m_p_wilcox at yahoo.co.uk Thu Apr 17 01:48:04 2014 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Thu, 17 Apr 2014 06:48:04 +0100 (BST) Subject: Enterprise iOS License Distribution... In-Reply-To: Message-ID: <1397713684.73229.YahooMailMobile@web28804.mail.ir2.yahoo.com> 2. I?m also wondering if there is something special that needs to be done to the iOS app after LiveCode creates the iOS app. The iOS appears to have a app extension and not an ipa extension. Also, I?m guessing the iOS app hast to be compressed before changing the file extension to ipa otherwise it results in just the folder with it?s iOS app components. I hope this makes sense. Bingo! A .app file does not necessarily have the necessary signature but assuming LiveCode was set up properly to build the standalone with your Enterprise distribution profile then it should. Simply compress the .app file with finder and change the extension from .zip to .ipa manually. Then it should work with Profile Manager. I have no idea why LiveCode doesn't finish the job here. Mark From bernd.gottwald at outrange.com Thu Apr 17 06:00:11 2014 From: bernd.gottwald at outrange.com (bernd.gottwald at outrange.com) Date: 17 Apr 2014 12:00:11 +0200 Subject: =?utf-8?Q?Re:_use=2Dlivecode_Digest,_Vol_127,_Issue_30?= Message-ID: <20140417100011.25341.qmail@divico2.ch-meta.net> Bis zum 22.4.2014 bin ich nicht verf?gbar. Ich werde meine Emails nicht lesen. In dringenden F?llen erreichen Sie mich ?ber mein Mobiltelefon. I will be out of office until 22.4.2014. I won't read me emails. In urgent matter please call me on my mobile. From wow at together.net Thu Apr 17 07:49:38 2014 From: wow at together.net (Richard Miller) Date: Thu, 17 Apr 2014 07:49:38 -0400 Subject: Using a package to distribute LC app over ARD In-Reply-To: <20140417100011.25341.qmail@divico2.ch-meta.net> References: <20140417100011.25341.qmail@divico2.ch-meta.net> Message-ID: <534FBFD2.4000600@together.net> I am using Iceberg to create a Mac installer package which contains my LC app. This package is then being used by Apple Remote Desktop to automatically install to multiple Mac's. These Mac's are generally in a logged-out state during the install. All of this works fine, except for this last piece. After the install, I need to add my app to the users list of Startup items. I know Iceberg can run a post-install script. But I'm not sure if it is possible to add to the Startup items list while the Mac is logged out. If it is possible, perhaps someone can help me create the shell script to do this. I know how to do it with AppleScript, but not with a shell script. Thanks, Richard Miller From ambassador at fourthworld.com Thu Apr 17 10:33:06 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 17 Apr 2014 07:33:06 -0700 Subject: The Missing Link between LiveCode and Teachers In-Reply-To: <1397683930637-4678364.post@n4.nabble.com> References: <1397683930637-4678364.post@n4.nabble.com> Message-ID: <534FE622.4070903@fourthworld.com> Alejandro Tejada wrote: > The Missing Link between LiveCode and Teachers is > Hypermedia Learning. > > Recently, I was consulting EBSCO database: > > http://search.ebscohost.com/ > > for articles and publications about > Hypermedia. ... > My request to Kevin&Co. (RunRev) and Richard, > as Community Manager is: > Contact by email every author of Hypermedia > books, article, tutorial and publication. > Request them to test and use LiveCode > as a Hypermedia learning tool and send > directly to the mothership their comments > about the suitability of LiveCode for > this specific task. I recently corresponded with Dr. Robert Horn, whose book "Mapping Hypertext" was one of my favorites back when it was first published in '89. The problems designers were facing back then were very new, and Horn's richly-illustrated book covered the cognitive and technical aspects of creating navigable hypermedia. When I first started Fourth World my company description was "Hypermedia Development Tools". Around the turn of the century I changed the description, because even by 2000 the word "hypermedia" was sounding dated. Today hypermedia is alive and well, bigger than ever really, just under a different name: the Web. In the 25 years since Horn's book so much has happened. Decades of familiarity with hyperspace, first in HyperCard, then in other xTalks, then in the Web, has made most folks using computers today almost uncannily comfortable with mentally mapping non-linear hyperlinked media. I do think you're onto something important. My only reluctance is to use the word "hypermedia" in any contemporary context, as it's a lot like trying to discuss water with fish - they have no concept of what it is as distinct from anything else because they're so familiar with it. Education, or more broadly, knowledge transfer, is the key to a better future, not just for the learner but for the economy and even civilization as a whole. The power of computing to assist mental tasks, along with the global interconnectedness computers are so adept at helping people do these days, offer nearly unlimited potential to improve knowledge transfer beyond anything previously conceivable. And of course as a LiveCode fanboy, it seems to me that having a programming language that makes true ownership of both local and global computing accessible to anyone with a few weeks' time to invest in learning it has the potential to be a major catalyst as this still-nascent Internet Era unfolds. When LC had their Kickstarter last year I reached out to pretty much everyone I knew from the old "hypermedia" days, and even a few I'd only heard of. At this point they're either using LC, considering it, or are invested in something else. I think the biggest potential for helping the world realize the role LiveCode can play in knowledge transfer today is to look in the opposite direction: the next generation. As one example of a powerful intersection of interests coming together well, check out this thread in the forums: The Raspberry Pi is helping young people all over the world understand that computing isn't some rarefied special thing other people make and we merely use, but instead computing is cheap, ubiquitous, and something we all can make. The 21st century isn't about users, it belongs to makers. In that thread Hermann has been posting a series of stacks designed specifically to run on the Pi build of LiveCode. Beautiful work, thoughtfully crafted. And that's just one small corner of a world of possibilities. I hope we can see a group of community members who have an interest in using LiveCode in educational contexts come together to identify goals and the tools needed to satisfy those goals, and then set about making them and sharing them with the world under an open source license so everyone on the planet can help enhance and proliferate them. Maybe you'd like to help with that effort? If so drop me a note - we have the forums, many servers, and a free and open LiveCode Community Edition at our disposal. Everything is possible. -- 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 jeff at siphonophore.com Thu Apr 17 13:12:37 2014 From: jeff at siphonophore.com (Jeff Reynolds) Date: Thu, 17 Apr 2014 13:12:37 -0400 Subject: The Missing Link between LiveCode and Teachers In-Reply-To: References: Message-ID: Al, this is all so true. I have this issue in educational media publishers as they all want everything on the web but i still get constant feedback from teachers that they like to have a cdrom in their hand to base their curriculum on rather than a web site. Why? Because websites with content, even those subscription based ones from publishers tend to go poof fast. Even publishers tend to start ignoring titles after just a few years. If teachers want to base curriculums on certain content they want it there for many years to pay off the investment and not have to be continually changing things. High bandwidth or any bandwidth at all is also an issue in many schools still. Hypermedia works so much better for this delivery than browser based approaches. Unfortunately though publisher just think this direction is dead and distributors as well so almost impossible to go down that route anymore. But the issue of web based materials getting quickly forgotten and breaking in new browser revs or just disappearing still goes on. This also goes for kids producing their own media projects. Hypermedia like livecode work so much better at letting the kids do their own thing both in versatility and also in teaching more basic programming logic and content layout than doing web pages. While some assignments worked well in the classroom lab environment (I taught multimedia for a year in my old high school to fill in) and is a useful skill, only a small subset of the overall curriculum assignments that we adapted to doing with multimedia approach worked well with web sites. Even traditional page layout was well suited for some assignments as it got the kids thinking into how to present the standard assignment content in a different manner and really think thru the content not just spit it back. But hypermedia was the king for really getting the kids involved in larger projects and team efforts. cheers jeff On Apr 17, 2014, at 6:00 AM, use-livecode-request at lists.runrev.com wrote: > Recently, I was consulting EBSCO database: > > http://search.ebscohost.com/ > > for articles and publications about > Hypermedia. > > Surprisingly, most of these articles have been > written from 1988 to 1995 and uses the Macintosh > and HyperCard as their role model for hypermedia > explanations and implementation. From paul at researchware.com Thu Apr 17 13:35:16 2014 From: paul at researchware.com (Paul Dupuis) Date: Thu, 17 Apr 2014 13:35:16 -0400 Subject: The Missing Link between LiveCode and Teachers In-Reply-To: References: Message-ID: <535010D4.9060804@researchware.com> I recently made a number of inquires in and around the greater Boston (MA, US) area for any classes that are teaching LiveCode at any of the area colleges or universities. Sadly, in the greater Boston area, one of the places with more colleges and universities per square mile than almost any where else in the world, there seems to be NO programming, (or multimedia, hypermedia, etc.) classes being taught using LiveCode. Boston College used to, but the faculty member who taught LiveCode retired several years ago and the chairman of the department tells me there are no current courses using LiveCode. In part I was doing this out of curiosity as I was exploring potentially hiring a college programming student for a small, one-off project in LiveCode or even see if I could find an Faculty member with an interested grad student who might like to collaborate for college credit. I even asked RunRev for help in pointing me in the right direction based on their awareness of license sold to area universities. I was surprised not to find anyone. That said, as RunRev itself pointed out to me, with the Open Source version, it means people could be teaching LiveCode and RunRev would have no awareness. And while I have a lot of contacts in the higher-education community in this area, I did not exhaustively check every school in the area. I'd love to see, and help with, any efforts to get more people teaching LiveCode and even more so, collect awareness of those courses into some visible place on the web. From userev at canelasoftware.com Thu Apr 17 14:21:39 2014 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 17 Apr 2014 11:21:39 -0700 Subject: Using a package to distribute LC app over ARD In-Reply-To: <534FBFD2.4000600@together.net> References: <20140417100011.25341.qmail@divico2.ch-meta.net> <534FBFD2.4000600@together.net> Message-ID: On Apr 17, 2014, at 4:49 AM, Richard Miller wrote: > I am using Iceberg to create a Mac installer package which contains my LC app. This package is then being used by Apple Remote Desktop to automatically install to multiple Mac's. These Mac's are generally in a logged-out state during the install. All of this works fine, except for this last piece. > > After the install, I need to add my app to the users list of Startup items. I know Iceberg can run a post-install script. But I'm not sure if it is possible to add to the Startup items list while the Mac is logged out. If it is possible, perhaps someone can help me create the shell script to do this. I know how to do it with AppleScript, but not with a shell script. Hi Richard, I may not be able to help you with getting ARD to set up your start up items, but I can tell you the code we use. You could have your app set this up on first run if you like. You will want to adjust any reference to Acuity System or patching related specifically to our program. Here is some code for Windows as well. I do not have code for Linux unfortunately. private command addMacAlias put "set theAppPath to" && quote & (sk_InstallationPath("bundle") & gSKPathingA["bundleName"] & "/") & quote & lf & \ "tell application" && quote & "System Events" & quote & lf & \ "make new login item at end with properties {path:theAppPath}" & lf & \ "end tell" into tCommand --BUILD THE APPLESCRIPT do tCommand as "AppleScript" end addMacAlias private command removeMacAlias put gSKPathingA["bundleName"] into tAppName replace ".app" with empty in tAppName put "set appToDelete to" && quote & tAppName & quote & lf & \ "tell application" && quote & "System Events" & quote & lf & \ "set login_items to name of every login item" & lf & \ "if appToDelete is in login_items then" & lf & \ "delete login item appToDelete" & lf & \ "end if" & lf & "end tell" into tCommand --BUILD THE APPLESCRIPT do tCommand as "AppleScript" end removeMacAlias private command addWinAlias put sk_Installationpath("bundle") & gSKPathingA["bundleName"] into tAppPath replace "/" with "\" in tAppPath --FOLLOWING VBSCRIPT IS PARTIALLY COURTESY OF SIMON FROM THE RUNREV FORUMS --BE VERY CAREFUL WITH *ANY* MODIFICATIONS DUE TO VBSCRIPT BITCHINESS put "' Make sure variables are declared." & cr & \ " option explicit" & cr & \ "" & cr & \ " ' Routine to create Acuity System.lnk on the Windows startup folder." & cr & \ " sub CreateShortCut()" & cr & \ " dim objShell, strPath, objLink" & cr & \ " set objShell = CreateObject(WScript.Shell)" & cr & \ " strPath = objShell.SpecialFolders(Startup)" & cr & \ " set objLink = objShell.CreateShortcut(strPath & \Acuity System.lnk)" & cr & \ " objLink.Arguments = -skdelay5" & cr & \ " objLink.Description = Acuity System" & cr & \ " objLink.TargetPath = " & tAppPath & "" & cr & \ " objLink.WindowStyle = 1" & cr & \ " objLink.WorkingDirectory = " & $HOMEDRIVE & "\windows" & cr & \ " objLink.Save" & cr & \ " end sub" & cr & \ "" & cr & \ " ' Program starts running here." & cr & \ " call CreateShortCut()" into tScript replace "" with quote in tScript do tScript as VBscript end addWinAlias private command removeWinAlias delete file (specialFolderPath("7") & "/Acuity System.lnk") end removeWinAlias Best regards, Mark Talluto canelasoftware.com From scott at tactilemedia.com Thu Apr 17 14:55:43 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 17 Apr 2014 11:55:43 -0700 Subject: Using a package to distribute LC app over ARD In-Reply-To: References: <20140417100011.25341.qmail@divico2.ch-meta.net> <534FBFD2.4000600@together.net> Message-ID: On 4/17/14 11:21 AM, "Mark Talluto" wrote: >VBSCRIPT BITCHINESS Like :-) Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From Wow at together.net Thu Apr 17 14:57:46 2014 From: Wow at together.net (Richard Miller) Date: Thu, 17 Apr 2014 14:57:46 -0400 Subject: Using a package to distribute LC app over ARD In-Reply-To: References: <20140417100011.25341.qmail@divico2.ch-meta.net> <534FBFD2.4000600@together.net> Message-ID: <59846AB6-EAA3-4F24-AA4A-A18A176A2B02@together.net> Thanks, Mark. I only need the Mac code. It looks like you gave me AppleScript code. I already have that piece working. But thanks for it anyway. What I need is shell script that can be saved as a .sh file. The package maker app, Iceberg, can only execute .sh files after installing various files to the users system. It can't run AppleScript code, unless there is a way to turn it into a shell script and save it as a .sh file. Richard Sent from my iPhone > On Apr 17, 2014, at 2:21 PM, Mark Talluto wrote: > >> On Apr 17, 2014, at 4:49 AM, Richard Miller wrote: >> >> I am using Iceberg to create a Mac installer package which contains my LC app. This package is then being used by Apple Remote Desktop to automatically install to multiple Mac's. These Mac's are generally in a logged-out state during the install. All of this works fine, except for this last piece. >> >> After the install, I need to add my app to the users list of Startup items. I know Iceberg can run a post-install script. But I'm not sure if it is possible to add to the Startup items list while the Mac is logged out. If it is possible, perhaps someone can help me create the shell script to do this. I know how to do it with AppleScript, but not with a shell script. > > > > Hi Richard, > > I may not be able to help you with getting ARD to set up your start up items, but I can tell you the code we use. You could have your app set this up on first run if you like. > > You will want to adjust any reference to Acuity System or patching related specifically to our program. Here is some code for Windows as well. I do not have code for Linux unfortunately. > > private command addMacAlias > put "set theAppPath to" && quote & (sk_InstallationPath("bundle") & gSKPathingA["bundleName"] & "/") & quote & lf & \ > "tell application" && quote & "System Events" & quote & lf & \ > "make new login item at end with properties {path:theAppPath}" & lf & \ > "end tell" into tCommand --BUILD THE APPLESCRIPT > do tCommand as "AppleScript" > end addMacAlias > > > private command removeMacAlias > put gSKPathingA["bundleName"] into tAppName > replace ".app" with empty in tAppName > > put "set appToDelete to" && quote & tAppName & quote & lf & \ > "tell application" && quote & "System Events" & quote & lf & \ > "set login_items to name of every login item" & lf & \ > "if appToDelete is in login_items then" & lf & \ > "delete login item appToDelete" & lf & \ > "end if" & lf & "end tell" into tCommand --BUILD THE APPLESCRIPT > do tCommand as "AppleScript" > end removeMacAlias > > > private command addWinAlias > put sk_Installationpath("bundle") & gSKPathingA["bundleName"] into tAppPath > replace "/" with "\" in tAppPath > --FOLLOWING VBSCRIPT IS PARTIALLY COURTESY OF SIMON FROM THE RUNREV FORUMS > --BE VERY CAREFUL WITH *ANY* MODIFICATIONS DUE TO VBSCRIPT BITCHINESS > put "' Make sure variables are declared." & cr & \ > " option explicit" & cr & \ > "" & cr & \ > " ' Routine to create Acuity System.lnk on the Windows startup folder." & cr & \ > " sub CreateShortCut()" & cr & \ > " dim objShell, strPath, objLink" & cr & \ > " set objShell = CreateObject(WScript.Shell)" & cr & \ > " strPath = objShell.SpecialFolders(Startup)" & cr & \ > " set objLink = objShell.CreateShortcut(strPath & \Acuity System.lnk)" & cr & \ > " objLink.Arguments = -skdelay5" & cr & \ > " objLink.Description = Acuity System" & cr & \ > " objLink.TargetPath = " & tAppPath & "" & cr & \ > " objLink.WindowStyle = 1" & cr & \ > " objLink.WorkingDirectory = " & $HOMEDRIVE & "\windows" & cr & \ > " objLink.Save" & cr & \ > " end sub" & cr & \ > "" & cr & \ > " ' Program starts running here." & cr & \ > " call CreateShortCut()" into tScript > replace "" with quote in tScript > do tScript as VBscript > end addWinAlias > > > private command removeWinAlias > delete file (specialFolderPath("7") & "/Acuity System.lnk") > end removeWinAlias > > > Best regards, > > Mark Talluto > 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 johnpatten at me.com Thu Apr 17 14:58:21 2014 From: johnpatten at me.com (JOHN PATTEN) Date: Thu, 17 Apr 2014 11:58:21 -0700 Subject: Enterprise iOS License Distribution...(Solved) In-Reply-To: <1397713684.73229.YahooMailMobile@web28804.mail.ir2.yahoo.com> References: <1397713684.73229.YahooMailMobile@web28804.mail.ir2.yahoo.com> Message-ID: <9189D7FF-41D3-4232-91AA-62D01864D8F0@me.com> Hi All.. In my haphazard way of trouble shooting between phone calls and support emails, etc. etc. I have apparently stumbled across the solution for Enterprise Distribution using Mavericks Server and Profile Manager. I?m not sure which one of these or the combination was the solution, but thankfully I hadn?t tried some bizarre superstitious act that I would have been forced to recreate every time I wanted to release an Enterprise app :) Here?s what i (can remember) I did: 1. More meticulous on the naming conventions for the app, the Internal App ID (standalone settings). I made sure they were identical if the name of the app was ?TestApp" then Internal App ID was: com.ourapps.TestApp. 2. Double checked that I was using the Enterprise profile. 3. Found my way to TestFlight, and attempted to get it working using that service. Each time I attempted to upload my app it would fail. Fortunately TestFlight provides a bit more info, one line, related to the possible error message. Looking at their support they explained that their system expects your app to be placed in a folder titled, Payload. You then compress that folder rename it, in my case, TestApp.ipa, (I gave it the same name as the app) and then upload that into their system. Once I did that, my app loaded right up into TestFlight. Mind you, this was after doing steps 1 and 2 above. I played around with TestFlight, which looks like a nifty way to test apps out with multiple folks, but not a good way to distribute final apps out to your Enterprise staff, and had everything working within TestFlight. Decided to try uploading the same compressed folder, TestApp.ipa to our Apps section in Profile Manager and it worked without a hiccup! I have since repeated the whole process with a second test app and Profile Manger. It works. My hunch is the naming convention I was using for the Internal App ID and the name of the app was incorrect. They have to be the same. As for putting the compiled LiveCode iOS app into a folder titled ?Payload,? compressing that folder with the Finder, and then renaming the compressed file .ipa, ...not sure if that has to be done in that fashion each time or not? I have never seen any documentation from Apple for as to being the case, but it worked for Profile Manager to use the compressed Payload folder. In any case, happy now and all this ipa work is just making me real thirsty ;) Cheers! John Patten SUSD On Apr 16, 2014, at 10:48 PM, Mark Wilcox wrote: > 2. I?m also wondering if there is something special that needs to be done to the iOS app after LiveCode creates the iOS app. The iOS appears to have a app extension and not an ipa extension. Also, I?m guessing the iOS app hast to be compressed before changing the file extension to ipa otherwise it results in just the folder with it?s iOS app components. I hope this makes sense. > > Bingo! A .app file does not necessarily have the necessary signature but assuming LiveCode was set up properly to build the standalone with your Enterprise distribution profile then it should. Simply compress the .app file with finder and change the extension from .zip to .ipa manually. Then it should work with Profile Manager. I have no idea why LiveCode doesn't finish the job here. > > 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 jacque at hyperactivesw.com Thu Apr 17 15:19:47 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 17 Apr 2014 14:19:47 -0500 Subject: Enterprise iOS License Distribution...(Solved) In-Reply-To: <9189D7FF-41D3-4232-91AA-62D01864D8F0@me.com> References: <1397713684.73229.YahooMailMobile@web28804.mail.ir2.yahoo.com> <9189D7FF-41D3-4232-91AA-62D01864D8F0@me.com> Message-ID: <53502953.6020106@hyperactivesw.com> On 4/17/14, 1:58 PM, JOHN PATTEN wrote: > As for putting the compiled LiveCode iOS app into a folder titled > ?Payload,? compressing that folder with the Finder, and then renaming > the compressed file .ipa, ...not sure if that has to be > done in that fashion each time or not? I have never seen any > documentation from Apple for as to being the case, but it worked for > Profile Manager to use the compressed Payload folder. I hesitate to promote my own stuff here, but AirLaunch handles all that for you. You just point it to your LiveCode app and it sets up the whole package in the correct format. Then you can use its FTP option to get it on your server, or just manually transfer the files where they need to go for Profile Manager. I almost mentioned it earlier, but I wasn't sure how Profile Manager worked. Apparently it needs the same setup as any iOS app. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pystcat at gmail.com Thu Apr 17 15:30:03 2014 From: pystcat at gmail.com (PystCat) Date: Thu, 17 Apr 2014 15:30:03 -0400 Subject: Enterprise iOS License Distribution...(Solved) In-Reply-To: <53502953.6020106@hyperactivesw.com> References: <1397713684.73229.YahooMailMobile@web28804.mail.ir2.yahoo.com> <9189D7FF-41D3-4232-91AA-62D01864D8F0@me.com> <53502953.6020106@hyperactivesw.com> Message-ID: <0C3699AE-0C37-412E-9C19-7B4C0E0E321E@gmail.com> Hi Jacque, Doesn't that have the problem with needing a signed certificate now...? Was that fixed...? I had used AirLaunch (and love it by the way) but now that Apple has decided that too many people are bypassing their nonsensical "you must do it our way or we lock you out" way it needed to have a secure signed certificate. I know you had mentioned Dropbox uses that but I'm not interested in having a Dropbox account. One of the things I really liked about your AirLaunch was not only its incredible ease of use but the fact I can stick it on my own server. Paul > On Apr 17, 2014, at 3:19 PM, "J. Landman Gay" wrote: > >> On 4/17/14, 1:58 PM, JOHN PATTEN wrote: >> As for putting the compiled LiveCode iOS app into a folder titled >> ?Payload,? compressing that folder with the Finder, and then renaming >> the compressed file .ipa, ...not sure if that has to be >> done in that fashion each time or not? I have never seen any >> documentation from Apple for as to being the case, but it worked for >> Profile Manager to use the compressed Payload folder. > > I hesitate to promote my own stuff here, but AirLaunch handles all that for you. You just point it to your LiveCode app and it sets up the whole package in the correct format. Then you can use its FTP option to get it on your server, or just manually transfer the files where they need to go for Profile Manager. > > I almost mentioned it earlier, but I wasn't sure how Profile Manager worked. Apparently it needs the same setup as any iOS app. > > -- > 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 capellan2000 at gmail.com Thu Apr 17 16:09:59 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 17 Apr 2014 13:09:59 -0700 (PDT) Subject: The Missing Link between LiveCode and Teachers In-Reply-To: <534FE622.4070903@fourthworld.com> References: <1397683930637-4678364.post@n4.nabble.com> <534FE622.4070903@fourthworld.com> Message-ID: <1397765399377-4678381.post@n4.nabble.com> Richard Gaskin wrote: Richard Gaskin wrote > I recently corresponded with Dr. Robert Horn, whose book "Mapping > Hypertext" was one of my favorites back when it was first published in > '89. The problems designers were facing back then were very new, and > Horn's richly-illustrated book covered the cognitive and technical > aspects of creating navigable hypermedia. Richard, many thanks for pointing to this book. The author still receives raves reviews 25 years after publishing his outstanding work: http://www.amazon.com/Mapping-Hypertext-Organization-Knowledge-Generation/dp/0962556505 Richard Gaskin wrote > When I first started Fourth World my company description was "Hypermedia > Development Tools". Around the turn of the century I changed the > description, because even by 2000 the word "hypermedia" was sounding > dated. > Today hypermedia is alive and well, bigger than ever really, just under > a different name: the Web. > In the 25 years since Horn's book so much has happened. Decades of > familiarity with hyperspace, first in HyperCard, then in other xTalks, > then in the Web, has made most folks using computers today almost > uncannily comfortable with mentally mapping non-linear hyperlinked media. The big problem is: for most teachers and schools, creating and maintaining a webpage (or a complete website) is many times more difficult than creating and distributing stacks among students. http://www.scmagazine.com/education-sector-most-affected-by-malware/article/180337/ Possibly, Mark Greenberg could confirm this fact: http://mistergreenberg.com/Games/MrGreenbergsGames.html http://www.nytimes.com/2004/08/19/technology/circuits/19teac.html I tried to entice teachers to create a single stack to help their students to learn the most difficult topic in their classes. Just a single stack to teach one topic, but teachers wanted to be compensated for creating this teaching aid for their classes and their students... How do you compensate a teacher for this? Richard Gaskin wrote > I do think you're onto something important. My only reluctance is to > use the word "hypermedia" in any contemporary context, as it's a lot > like trying to discuss water with fish - they have no concept of what it > is as distinct from anything else because they're so familiar with it. > Education, or more broadly, knowledge transfer, is the key to a better > future, not just for the learner but for the economy and even > civilization as a whole. > The power of computing to assist mental tasks, along with the global > interconnectedness computers are so adept at helping people do these > days, offer nearly unlimited potential to improve knowledge transfer > beyond anything previously conceivable. Yes, I agree. But it's a fact that in most places (not all places), people just repeat what have been done previously. And this repetition is (frecuently) of lesser quality than previous accomplishments. Many of us, in the place where each lives, have visited schools that years ago have been the best in their district, applying the technology in the classroom. Today, these same schools have fallen in routines that do not allow them to keep with the pace of new opportunities opened by new (and cheaper) technologies. Richard Gaskin wrote > And of course as a LiveCode fanboy, it seems to me that having a > programming language that makes true ownership of both local and global > computing accessible to anyone with a few weeks' time to invest in > learning it has the potential to be a major catalyst as this > still-nascent Internet Era unfolds. > When LC had their Kickstarter last year I reached out to pretty much > everyone I knew from the old "hypermedia" days, and even a few I'd only > heard of. At this point they're either using LC, considering it, or are > invested in something else. > I think the biggest potential for helping the world realize the role > LiveCode can play in knowledge transfer today is to look in the opposite > direction: the next generation. When I contacted the authors of some of the articles and publications that I found in EBSCO, asking for the original software named in their paper, they send me a HyperCard stack... without the resource fork. Every Mac user knows what this means. :( For this reason, I think that it is a good idea to write them and ask if they want to try LiveCode. Next time, when they receive a request about the software named in their articles, they could send a LiveCode stack, instead of a damaged HyperCard stack... Richard Gaskin wrote > As one example of a powerful intersection of interests coming together > well, check out this thread in the forums: > <http://forums.runrev.com/viewtopic.php?f=76&t=19248> > The Raspberry Pi is helping young people all over the world understand > that computing isn't some rarefied special thing other people make and > we merely use, but instead computing is cheap, ubiquitous, and something > we all can make. The 21st century isn't about users, it belongs to > makers. > In that thread Hermann has been posting a series of stacks designed > specifically to run on the Pi build of LiveCode. Beautiful work, > thoughtfully crafted. > And that's just one small corner of a world of possibilities. This is great! Many Thanks for posting this link. :D Richard Gaskin wrote > I hope we can see a group of community members who have an interest in > using LiveCode in educational contexts come together to identify goals > and the tools needed to satisfy those goals, and then set about making > them and sharing them with the world under an open source license so > everyone on the planet can help enhance and proliferate them. > Maybe you'd like to help with that effort? If so drop me a note - we > have the forums, many servers, and a free and open LiveCode Community > Edition at our disposal. Everything is possible. Yes, I want to help in this specific area. I will send you some ideas. Did you have an specific email as Community Manager or send email to Fourth World? Have a nice week! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/The-Missing-Link-between-LiveCode-and-Teachers-tp4678364p4678381.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Thu Apr 17 16:40:26 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 17 Apr 2014 15:40:26 -0500 Subject: Enterprise iOS License Distribution...(Solved) In-Reply-To: <0C3699AE-0C37-412E-9C19-7B4C0E0E321E@gmail.com> References: <1397713684.73229.YahooMailMobile@web28804.mail.ir2.yahoo.com> <9189D7FF-41D3-4232-91AA-62D01864D8F0@me.com> <53502953.6020106@hyperactivesw.com> <0C3699AE-0C37-412E-9C19-7B4C0E0E321E@gmail.com> Message-ID: <53503C3A.8090204@hyperactivesw.com> On 4/17/14, 2:30 PM, PystCat wrote: > Doesn't that have the problem with needing a signed certificate > now...? Was that fixed...? I had used AirLaunch (and love it by the > way) but now that Apple has decided that too many people are > bypassing their nonsensical "you must do it our way or we lock you > out" way it needed to have a secure signed certificate. I know you > had mentioned Dropbox uses that but I'm not interested in having a > Dropbox account. One of the things I really liked about your > AirLaunch was not only its incredible ease of use but the fact I can > stick it on my own server. The certificate needs to be on your server, it's unrelated to how AirLaunch works. Once you have a secure certificate there, just use an "https" URL in AirLaunch and it will work. During installation, Apple checks to make sure the download is coming from a secure URL with an SSL certificate, and if so, allows the installation. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From capellan2000 at gmail.com Thu Apr 17 16:43:32 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 17 Apr 2014 13:43:32 -0700 (PDT) Subject: The Missing Link between LiveCode and Teachers In-Reply-To: References: <1397683930637-4678364.post@n4.nabble.com> Message-ID: <1397767412871-4678383.post@n4.nabble.com> Jeff Reynolds wrote: Jeff Reynolds-3 wrote > this is all so true. I have this issue in educational media publishers as > they all want everything on the web but i still get constant feedback from > teachers that they like to have a cdrom in their hand to base their > curriculum on rather than a web site. Why? Because websites with content, > even those subscription based ones from publishers tend to go poof fast. > Even publishers tend to start ignoring titles after just a few years. If > teachers want to base curriculums on certain content they want it there > for many years to pay off the investment and not have to be continually > changing things. High bandwidth or any bandwidth at all is also an issue > in many schools still. Hypermedia works so much better for this delivery > than browser based approaches. Unfortunately though publisher just think > this direction is dead and distributors as well so almost impossible to go > down that route anymore. But the issue of web based materials getting > quickly forgotten and breaking in new browser revs or just disappearing > still goes on. Do you know why this happens? Because these "disappearing" supporting websites actually makes perfect "business sense"... As simply like that. :( I have not think about this previously, but from now on, will be really careful about these "disappearing" supporting websites. Thanks for pointing this. Jeff Reynolds-3 wrote > This also goes for kids producing their own media projects. Hypermedia > like livecode work so much better at letting the kids do their own thing > both in versatility and also in teaching more basic programming logic and > content layout than doing web pages. While some assignments worked well in > the classroom lab environment (I taught multimedia for a year in my old > high school to fill in) and is a useful skill, only a small subset of the > overall curriculum assignments that we adapted to doing with multimedia > approach worked well with web sites. Even traditional page layout was well > suited for some assignments as it got the kids thinking into how to > present the standard assignment content in a different manner and really > think thru the content not just spit it back. But hypermedia was the king > for really getting the kids involved in larger projects and team efforts. The perfect example of this was the Gallery of winners of Multimedia Mania: http://www.ncsu.edu/mmania/winners.html Sadly enough, Multimedia Mania does not exists anymore for lack of corporate supporters. http://www.ncsu.edu/mmania/ When I was a member of HyperSIG, I ask them: Could we actually make Multimedia Mania an International Contest? Never get an answer back... Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/The-Missing-Link-between-LiveCode-and-Teachers-tp4678364p4678383.html Sent from the Revolution - User mailing list archive at Nabble.com. From userev at canelasoftware.com Thu Apr 17 17:18:58 2014 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 17 Apr 2014 14:18:58 -0700 Subject: Using a package to distribute LC app over ARD In-Reply-To: References: <20140417100011.25341.qmail@divico2.ch-meta.net> <534FBFD2.4000600@together.net> Message-ID: On Apr 17, 2014, at 11:55 AM, Scott Rossi wrote: > On 4/17/14 11:21 AM, "Mark Talluto" wrote: > > >> VBSCRIPT BITCHINESS > > Like :-) A brief look into our colorful commenting. :) Best regards, Mark Talluto canelasoftware.com From capellan2000 at gmail.com Thu Apr 17 17:34:07 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 17 Apr 2014 14:34:07 -0700 (PDT) Subject: The Missing Link between LiveCode and Teachers In-Reply-To: <535010D4.9060804@researchware.com> References: <1397683930637-4678364.post@n4.nabble.com> <535010D4.9060804@researchware.com> Message-ID: <1397770447595-4678385.post@n4.nabble.com> Paul Dupuis wrote > I recently made a number of inquires in and around the greater Boston > (MA, US) area for any classes that are teaching LiveCode at any of the > area colleges or universities. Sadly, in the greater Boston area, one of > the places with more colleges and universities per square mile than > almost any where else in the world, there seems to be NO programming, > (or multimedia, hypermedia, etc.) classes being taught using LiveCode. > Boston College used to, but the faculty member who taught LiveCode > retired several years ago and the chairman of the department tells me > there are no current courses using LiveCode. as I wrote previously, while commenting Richard's message: It's a fact that in most places (not all places), people just repeat what have been done previously. And this repetition is (frecuently) of lesser quality than previous accomplishments. Many of us, in the place where each lives, have visited schools that years ago have been the best in their district, applying the technology in the classroom. Today, these same schools have fallen in routines that do not allow them to keep with the pace of new opportunities opened by new (and cheaper) technologies. (like phones and tablets) Paul Dupuis wrote > In part I was doing this out of curiosity as I was exploring potentially > hiring a college programming student for a small, one-off project in > LiveCode or even see if I could find an Faculty member with an > interested grad student who might like to collaborate for college > credit. I even asked RunRev for help in pointing me in the right > direction based on their awareness of license sold to area universities. > I was surprised not to find anyone. That said, as RunRev itself pointed > out to me, with the Open Source version, it means people could be > teaching LiveCode and RunRev would have no awareness. And while I have a > lot of contacts in the higher-education community in this area, I did > not exhaustively check every school in the area. If your project is very labor intensive, like formatting text, images and graphics in many cards of a stack, maybe a graphic designer student would have been really useful too. In this mail list and Runrev forums, you find the best LiveCode programmers and most of them are really eager to help a fellow LiveCoder. :) Paul Dupuis wrote > I'd love to see, and help with, any efforts to get more people teaching > LiveCode and even more so, collect awareness of those courses into some > visible place on the web. Yes, like UMich HyperCard repository, but in this case, a RunRev controled website where only students and teachers upload their open source stacks to download for free. Of course, these stacks must be checked in advance to avoid the possibility of malware infection. (For example, stacks posted in this repositories should not try to download resources from the internet, write to registry or launch webpages and other applications, etc). Al _______________________________________________ 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/The-Missing-Link-between-LiveCode-and-Teachers-tp4678364p4678385.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Thu Apr 17 20:47:31 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 17 Apr 2014 17:47:31 -0700 (PDT) Subject: webP, VP8, Skia and LiveCode Message-ID: <1397782050971-4678386.post@n4.nabble.com> on Oct 04, 2010, Richmmond wrote: http://code.google.com/speed/webp/download.html Is this just Google trying to extend its imperialistic influence even further, or is this s serious competitor up against PNG and GIF? Is RunRev/LiveCode going to be able to import and export WebP in a future recension? http://runtime-revolution.278305.n4.nabble.com/OT-is-WebP-going-anywhere-and-if-it-is-how-will-LiveCode-cope-with-it-td2954594.html Hi All, After reading a lot about Hypermedia, Multimedia and Multi-platform development, I found myself thinking about font metrics and image formats. Each one of us have found these issues in the most unexpected moment: text that is too large or too small for it's container... images too light or too dark. Then, I though, Why not use high resolution png (300 dpi) instead of fields with text? File size. Compressed png file size. That would be a big problem. Eventually, I found this article that actually recommends to use webP: http://mainroach.blogspot.com/2013/09/png-compression-5-simple-improvements.html and the next logical though is: Given that Skia is supported by Google, just like VP8 and webP... How long would take for RunRev to add support for both image and video file formats in LiveCode? If there is an open debate, I vote YES to include both open source formats among the media used inside LiveCode stacks. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/webP-VP8-Skia-and-LiveCode-tp4678386.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Fri Apr 18 04:41:43 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 18 Apr 2014 11:41:43 +0300 Subject: webP, VP8, Skia and LiveCode In-Reply-To: <1397782050971-4678386.post@n4.nabble.com> References: <1397782050971-4678386.post@n4.nabble.com> Message-ID: <5350E547.5000808@gmail.com> On 18/04/14 03:47, Alejandro Tejada wrote: > on Oct 04, 2010, > Richmmond wrote: > > http://code.google.com/speed/webp/download.html > Is this just Google trying to extend its imperialistic influence > even further, or is this s serious competitor up against > PNG and GIF? > Is RunRev/LiveCode going to be able to import and export WebP > in a future recension? > > http://runtime-revolution.278305.n4.nabble.com/OT-is-WebP-going-anywhere-and-if-it-is-how-will-LiveCode-cope-with-it-td2954594.html > > Hi All, > > After reading a lot about Hypermedia, Multimedia and Multi-platform > development, I found myself thinking about font metrics and > image formats. Each one of us have found these issues in > the most unexpected moment: text that is too large or too > small for it's container... images too light or too dark. > > Then, I though, Why not use high resolution png (300 dpi) > instead of fields with text? > > File size. Compressed png file size. That would be > a big problem. > > Eventually, I found this article that actually recommends to use webP: > http://mainroach.blogspot.com/2013/09/png-compression-5-simple-improvements.html > > and the next logical though is: > Given that Skia is supported by Google, just like VP8 and webP... > How long would take for RunRev to add support for both > image and video file formats in LiveCode? > > If there is an open debate, I vote YES to include both open > source formats among the media used inside LiveCode stacks. > > Al > > I would vote YES for as many open source formats as is possible to be rolled into Livecode. As an awful lot of work has been done by the "open Source Community" [which is a slightly unfortunate phrase, as it gives an overly optimistic view of a community], and it would seem churlish not to take everything that is on offer that can extend the capabilities of Livecode. Richmond. From bernd.gottwald at outrange.com Fri Apr 18 06:00:13 2014 From: bernd.gottwald at outrange.com (bernd.gottwald at outrange.com) Date: 18 Apr 2014 12:00:13 +0200 Subject: =?utf-8?Q?Re:_use=2Dlivecode_Digest,_Vol_127,_Issue_31?= Message-ID: <20140418100013.19856.qmail@divico2.ch-meta.net> Bis zum 22.4.2014 bin ich nicht verf?gbar. Ich werde meine Emails nicht lesen. In dringenden F?llen erreichen Sie mich ?ber mein Mobiltelefon. I will be out of office until 22.4.2014. I won't read me emails. In urgent matter please call me on my mobile. From lan.kc.macmail at gmail.com Fri Apr 18 06:01:56 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 18 Apr 2014 18:01:56 +0800 Subject: The Missing Link between LiveCode and Teachers In-Reply-To: <534FE622.4070903@fourthworld.com> References: <1397683930637-4678364.post@n4.nabble.com> <534FE622.4070903@fourthworld.com> Message-ID: On Thu, Apr 17, 2014 at 10:33 PM, Richard Gaskin wrote: > > The Raspberry Pi is helping young people all over the world understand > that computing isn't some rarefied special thing other people make and we > merely use, but instead computing is cheap, ubiquitous, and something we > all can make. The 21st century isn't about users, it belongs to makers. > > I reckon Thomas Edison and the people at Bell Labs would argue that the 19th and 20th centuries belonged to the the makers. Leonardo might contend that it even started before then and the guy who first set fire to things when he walked out of his cave would probably suggest that it has always been the case. It won't be paradise when man is finally too apathetic to invent stuff to solve the problem's he's created ;-( Thankfully, if it comes to that, women will come to the rescue ;-) When I went to school we had to do one term of woodwork and one term of metalwork. Everyone built a wooden pencil case with their name burnt into it with a soldering iron (I can almost smell the burnt pine) and either a nail punch or a tack hammer. My children all did almost exactly the same, certainly one son ended up with a near identical wooden pencil case although the other made his from metal. One child made a metal BBQ burger flip, another a set of metal napkin rings. I, along with many many other students used our wooden pencil cases. I've always felt the tipping point for 'modern technology' is to identify something that is truly useful for the students to make. For software classes it seems all they do is learn how to use Word and Excel, there doesn't seem to be any software creation. IMO some kind of Homework/Assignments stack would probably fit the bill. A simple db stored on the schools server. Teachers have a stack that updates the db with their class homework and assignments. Students, get to make their stack that queries the db and gets their homework. The basics of query the db, filling a field with the output and some kind of Alert/Reminder function would be very easy. The beauty though would be when the student's realise that they can customise their stack; so instead of a simple dialog box that pops to tell you Page 432 of Advanced Math is due 30Apr and an OK button; you could replace that with 7 buttons, one for each day of the week, so you could specify exactly when you want to be reminded again. Guarantee some class clown will figure out that they can simply replace the 'OK" button with "Procrastinate until the night before'. Software, particularly HC Stacks use to be full of such humours dialog boxes - not so much today although error messages from Google seem to be an attempt at more human like responses. I think that's what students need to see, that they can humanise their software, they can reflect their personality. On the hardware side I'm a little partial towards Arduino myself, only because these boards are for prototyping so once you figure out all the components you don't need (like a USB port and 32 I/Os) you can make a much smaller board - wearable broach for girls, key fob size for boys. The Raspberry I see as more for those who get the bug and want something a little more advanced. Unfortunately I haven't figured out what kind of electronic knickknack every student could use; the hardware equivalent of a pencil box. But once someone clever figures it out then every student should at some stage posses a wooden pencil case, a metal BBQ burger flipper, their own Homework software and . From richmondmathewson at gmail.com Fri Apr 18 07:08:08 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 18 Apr 2014 14:08:08 +0300 Subject: Horizontal revTools stack Message-ID: <53510798.1050302@gmail.com> Look no further: http://andregarzia.on-rev.com/richmond/HA3.zip Richmond. From m.schonewille at economy-x-talk.com Fri Apr 18 08:17:44 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 18 Apr 2014 14:17:44 +0200 Subject: Installer Maker Spring Offer In-Reply-To: <534E6BA4.4090102@economy-x-talk.com> References: <534E6BA4.4090102@economy-x-talk.com> Message-ID: <535117E8.3020707@economy-x-talk.com> Hi, Just a quick reminder on this offer. Make sure to download and test it now and ask me any questions you may have, so you're prepared when you want to release your project. The offer expires Wednesday night (23 April). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 4/16/2014 13:38, Mark Schonewille wrote: > Hi everyone, > > Spring being well under way, Economy-x-Talk is having a special Spring > offer for Installer Maker license holders. Is your license over a year > old? For a limited time, you can now upgrade your license to the latest > version for only ? 16,95 instead of the normal price of ? 39,00. This > offer is available until Wednesday 23rd April 2014. > > Installer Maker > > Installer Maker is a simple tool to create installers for Windows and > Mac OS X. Installer Maker comes in two editions: a LiveCode plug-in and > a standalone. The plug-in can be used with the commercial edition of > LiveCode only, while the standalone version can be used in combination > with any edition of LiveCode , Revolution and MetaCard, as well as > RealStudio/Xojo, SuperCard, Prezi, HyperStudio etc. > > Upgrading > > Normally, licenses cost 39 euro with free updates during the first 3 > months after purchase. Upgrades are available for ? 16,95 during one > year after purchase. Just for one week, we allow everyone to upgrade his > or her license at the discounted upgrade price. > > To get a new license, go to http://qery.us/49n (plug-in) or > http://qery.us/49o (standalone) and enter your license key at the bottom > of the page. The page will load again and if you scroll to the bottom of > the page again, you will now be able to buy a new license at the > discount price. From there, just follow PayPal's instructions. Shortly > after purchase, you will first receive an auto-reply. Your license > follows within 24 hours. > > Why Upgrade? > > Perhaps you didn't upgrade in the past, because you were missing some > essential features? Download the Read Me file from http://qery.us/49m > (PDF) and check out the history. You'll see that many features have been > added during the past year. Go to http://qery.us/49n to download the > plug-in or to http://qery.us/49o to download the standalone version. > > Did you use the plug-in edition with a commercial version of LiveCode > and are you moving to the open-source edition? Then download the > standalone version. You can always switch from the plug-in edition and > back or use them combined. > > -- > Best regards, > > Mark Schonewille From pmbrig at gmail.com Fri Apr 18 09:14:29 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 18 Apr 2014 09:14:29 -0400 Subject: New Visual Editor ? In-Reply-To: <534E81FA.4020401@gmail.com> References: <534E2B1A.1020909@gmail.com> <534E75AE.2030001@fourthworld.com> <534E81FA.4020401@gmail.com> Message-ID: <59012ABE-6B15-4A15-96BF-7AAFFB6E515A@gmail.com> On Apr 16, 2014, at 9:13 AM, Richmond wrote: > ...lesson number 1: everything takes longer than one's estimates? Hofstadter's Law: It always takes longer than you expect, even when you take Hofstadter's Law into account. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From pmbrig at gmail.com Fri Apr 18 09:21:09 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 18 Apr 2014 09:21:09 -0400 Subject: The Hammer Principle - The right tool for the job In-Reply-To: <1397676135103-4678359.post@n4.nabble.com> References: <1397676135103-4678359.post@n4.nabble.com> Message-ID: <1AF15286-6078-4D8D-864F-224FC7889B5A@gmail.com> On Apr 16, 2014, at 3:22 PM, Alejandro Tejada wrote: > "We all talk about using the right tool for the job in > the context of programming items. But which job? > And what's the right tool for it? > I want your help in determining the answer for this." Applying computer technology is much like finding the right size wrench to pound in the screw. Sorry, I can't resist throwing these things into the mix?. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From richmondmathewson at gmail.com Fri Apr 18 09:49:43 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 18 Apr 2014 16:49:43 +0300 Subject: Horizontal revTools stack In-Reply-To: <53510798.1050302@gmail.com> References: <53510798.1050302@gmail.com> Message-ID: <53512D77.60609@gmail.com> On 18/04/14 14:08, Richmond wrote: > Look no further: > > Newer version: Newer version now available: http://andregarzia.on-rev.com/richmond/HA3x.zip > > Richmond. From richmondmathewson at gmail.com Fri Apr 18 09:50:33 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 18 Apr 2014 16:50:33 +0300 Subject: The Hammer Principle - The right tool for the job In-Reply-To: <1AF15286-6078-4D8D-864F-224FC7889B5A@gmail.com> References: <1397676135103-4678359.post@n4.nabble.com> <1AF15286-6078-4D8D-864F-224FC7889B5A@gmail.com> Message-ID: <53512DA9.9070006@gmail.com> On 18/04/14 16:21, Peter M. Brigham wrote: > On Apr 16, 2014, at 3:22 PM, Alejandro Tejada wrote: > >> "We all talk about using the right tool for the job in >> the context of programming items. But which job? >> And what's the right tool for it? >> I want your help in determining the answer for this." > Applying computer technology is much like finding the right size wrench to pound in the screw. Just as long as it it not screwing the pound. Richmond. > > Sorry, I can't resist throwing these things into the mix?. > > -- 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 th.douez at gmail.com Fri Apr 18 09:53:00 2014 From: th.douez at gmail.com (Thierry Douez) Date: Fri, 18 Apr 2014 15:53:00 +0200 Subject: Using a package to distribute LC app over ARD In-Reply-To: <534FBFD2.4000600@together.net> References: <20140417100011.25341.qmail@divico2.ch-meta.net> <534FBFD2.4000600@together.net> Message-ID: Hi Richard, There is an option to launch a shell which will execute some Applescript. Here is one I just tried successfullly on Mavericks: I create a text file testOSAscript.sh which contains: -------------------------------- #!/bin/bash osascript < sh testOSAscript.sh "/the/fullpath/of/myApp.app" in the script file, you can get rid of the properties line (here for debug) BTW, you can run this script many times, it won't create a new item if it's already set! Tested on Mavericks only! HTH, Regards, Thierry ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage - sunnYpdf 2014-04-17 13:49 GMT+02:00 Richard Miller : > I am using Iceberg to create a Mac installer package which contains my LC > app. This package is then being used by Apple Remote Desktop to > automatically install to multiple Mac's. These Mac's are generally in a > logged-out state during the install. All of this works fine, except for this > last piece. > > After the install, I need to add my app to the users list of Startup items. > I know Iceberg can run a post-install script. But I'm not sure if it is > possible to add to the Startup items list while the Mac is logged out. If it > is possible, perhaps someone can help me create the shell script to do this. > I know how to do it with AppleScript, but not with a shell script. > > Thanks, > Richard Miller From Wow at together.net Fri Apr 18 10:08:31 2014 From: Wow at together.net (Richard Miller) Date: Fri, 18 Apr 2014 10:08:31 -0400 Subject: Using a package to distribute LC app over ARD In-Reply-To: References: <20140417100011.25341.qmail@divico2.ch-meta.net> <534FBFD2.4000600@together.net> Message-ID: <5CD38AC9-27B2-449B-942A-464D58760332@together.net> Thanks very much, Thierry! Will test this shortly. Richard Sent from my iPhone > On Apr 18, 2014, at 9:53 AM, Thierry Douez wrote: > > Hi Richard, > > There is an option to launch a shell which will execute some Applescript. > > Here is one I just tried successfullly on Mavericks: > > I create a text file testOSAscript.sh which contains: > -------------------------------- > #!/bin/bash > > osascript < tell application "System Events" > make new login item at end with properties {path:"$1", hidden:true} > properties of login items > end tell > EndScript > ---------------------------------- > > and did execute this way on the Terminal: > >> sh testOSAscript.sh "/the/fullpath/of/myApp.app" > > in the script file, you can get rid of the properties line (here for debug) > > BTW, you can run this script many times, it won't create a new item > if it's already set! > > Tested on Mavericks only! > > HTH, > > Regards, > > Thierry > > ------------------------------------------------ > Thierry Douez - http://sunny-tdz.com > Maker of sunnYperl - sunnYmidi - sunnYmage - sunnYpdf > > > 2014-04-17 13:49 GMT+02:00 Richard Miller : >> I am using Iceberg to create a Mac installer package which contains my LC >> app. This package is then being used by Apple Remote Desktop to >> automatically install to multiple Mac's. These Mac's are generally in a >> logged-out state during the install. All of this works fine, except for this >> last piece. >> >> After the install, I need to add my app to the users list of Startup items. >> I know Iceberg can run a post-install script. But I'm not sure if it is >> possible to add to the Startup items list while the Mac is logged out. If it >> is possible, perhaps someone can help me create the shell script to do this. >> I know how to do it with AppleScript, but not with a shell script. >> >> Thanks, >> Richard Miller > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Fri Apr 18 11:36:23 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 18 Apr 2014 11:36:23 -0400 Subject: LC Prefs Message-ID: Where are the LC prefs stored? I've hit the reset button and changed a couple of things, but they don't stick between launches. -- 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 capellan2000 at gmail.com Fri Apr 18 11:38:15 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 18 Apr 2014 08:38:15 -0700 (PDT) Subject: webP, VP8, Skia and LiveCode In-Reply-To: <5350E547.5000808@gmail.com> References: <1397782050971-4678386.post@n4.nabble.com> <5350E547.5000808@gmail.com> Message-ID: <1397835495469-4678399.post@n4.nabble.com> Interesting enough, animated webP supports 8 bit transparency (like PNG) and lossy compression like JPEG: http://blog.chromium.org/2013/11/chrome-32-beta-animated-webp-images-and.html Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/webP-VP8-Skia-and-LiveCode-tp4678386p4678399.html Sent from the Revolution - User mailing list archive at Nabble.com. From klaus at major-k.de Fri Apr 18 12:03:07 2014 From: klaus at major-k.de (Klaus major-k) Date: Fri, 18 Apr 2014 18:03:07 +0200 Subject: webP, VP8, Skia and LiveCode In-Reply-To: <1397835495469-4678399.post@n4.nabble.com> References: <1397782050971-4678386.post@n4.nabble.com> <5350E547.5000808@gmail.com> <1397835495469-4678399.post@n4.nabble.com> Message-ID: <92332793-DB57-4547-9DC4-7836B6762AC2@major-k.de> Hola Al, Am 18.04.2014 um 17:38 schrieb Alejandro Tejada : > Interesting enough, animated webP supports > 8 bit transparency (like PNG) and lossy compression > like JPEG: > > http://blog.chromium.org/2013/11/chrome-32-beta-animated-webp-images-and.html looks really great! Hope LC will support this format some time in the future! > Al Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From capellan2000 at gmail.com Fri Apr 18 12:23:08 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 18 Apr 2014 09:23:08 -0700 (PDT) Subject: webP, VP8, Skia and LiveCode In-Reply-To: <92332793-DB57-4547-9DC4-7836B6762AC2@major-k.de> References: <1397782050971-4678386.post@n4.nabble.com> <5350E547.5000808@gmail.com> <1397835495469-4678399.post@n4.nabble.com> <92332793-DB57-4547-9DC4-7836B6762AC2@major-k.de> Message-ID: <1397838188942-4678401.post@n4.nabble.com> Yes, Klaus. and according to Google, it's just 1500 lines of code (probably less than 1k or 2k additional to the engine) https://developers.google.com/speed/webp/faq#why_should_i_use_animated_webp -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/webP-VP8-Skia-and-LiveCode-tp4678386p4678401.html Sent from the Revolution - User mailing list archive at Nabble.com. From klaus at major-k.de Fri Apr 18 12:30:19 2014 From: klaus at major-k.de (Klaus major-k) Date: Fri, 18 Apr 2014 18:30:19 +0200 Subject: webP, VP8, Skia and LiveCode In-Reply-To: <1397838188942-4678401.post@n4.nabble.com> References: <1397782050971-4678386.post@n4.nabble.com> <5350E547.5000808@gmail.com> <1397835495469-4678399.post@n4.nabble.com> <92332793-DB57-4547-9DC4-7836B6762AC2@major-k.de> <1397838188942-4678401.post@n4.nabble.com> Message-ID: Hola Al, Am 18.04.2014 um 18:23 schrieb Alejandro Tejada : > Yes, Klaus. and according to Google, it's just 1500 lines of code > (probably less than 1k or 2k additional to the engine) ha, ridiculous, Mark W. will write that in between two bites of his haggis! :-D > https://developers.google.com/speed/webp/faq#why_should_i_use_animated_webp Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From richmondmathewson at gmail.com Fri Apr 18 12:30:43 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 18 Apr 2014 19:30:43 +0300 Subject: webP, VP8, Skia and LiveCode In-Reply-To: <1397835495469-4678399.post@n4.nabble.com> References: <1397782050971-4678386.post@n4.nabble.com> <5350E547.5000808@gmail.com> <1397835495469-4678399.post@n4.nabble.com> Message-ID: <53515333.9000100@gmail.com> On 18/04/14 18:38, Alejandro Tejada wrote: > Interesting enough, animated webP supports > 8 bit transparency (like PNG) and lossy compression > like JPEG: > > http://blog.chromium.org/2013/11/chrome-32-beta-animated-webp-images-and.html > > Al It would be interesting to know which (Open Source ???) Image processing packages could open and save the webP and VP8 formats There's a GIMP plug-in for webP; but locating it, compiling it and so on is a major "f#$%^&*g". This works for Ubuntu if you like weirding out at the Terminal like it's 1978: http://ubuntuforums.org/showthread.php?t=1809284 Richmond. From capellan2000 at gmail.com Fri Apr 18 13:09:43 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 18 Apr 2014 10:09:43 -0700 (PDT) Subject: webP, VP8, Skia and LiveCode In-Reply-To: <53515333.9000100@gmail.com> References: <1397782050971-4678386.post@n4.nabble.com> <5350E547.5000808@gmail.com> <1397835495469-4678399.post@n4.nabble.com> <53515333.9000100@gmail.com> Message-ID: <1397840983102-4678404.post@n4.nabble.com> In this webpage, we could find the latest versions of Google's webP encoder, decoder, etc, etc, etc... https://developers.google.com/speed/webp/download Latest version is libwebp-0.4.0-linux-x86-32.tar.gz https://webp.googlecode.com/files/libwebp-0.4.0-linux-x86-32.tar.gz -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/webP-VP8-Skia-and-LiveCode-tp4678386p4678404.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Fri Apr 18 13:12:43 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 18 Apr 2014 10:12:43 -0700 (PDT) Subject: Horizontal revTools stack In-Reply-To: <53512D77.60609@gmail.com> References: <53510798.1050302@gmail.com> <53512D77.60609@gmail.com> Message-ID: <1397841163075-4678405.post@n4.nabble.com> In which versions of LiveCode this palette runs? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Horizontal-revTools-stack-tp4678390p4678405.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Fri Apr 18 13:14:17 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 18 Apr 2014 20:14:17 +0300 Subject: webP, VP8, Skia and LiveCode In-Reply-To: <1397840983102-4678404.post@n4.nabble.com> References: <1397782050971-4678386.post@n4.nabble.com> <5350E547.5000808@gmail.com> <1397835495469-4678399.post@n4.nabble.com> <53515333.9000100@gmail.com> <1397840983102-4678404.post@n4.nabble.com> Message-ID: <53515D69.5020609@gmail.com> On 18/04/14 20:09, Alejandro Tejada wrote: > In this webpage, we could find the latest versions of > Google's webP encoder, decoder, etc, etc, etc... > > https://developers.google.com/speed/webp/download > > Latest version is libwebp-0.4.0-linux-x86-32.tar.gz > > https://webp.googlecode.com/files/libwebp-0.4.0-linux-x86-32.tar.gz > > I've seen those. What I am far more interested in is an image-processing app that "just does" webP out of the box, rather than add-ons. Richmond. From rjd318 at gmail.com Fri Apr 18 13:18:38 2014 From: rjd318 at gmail.com (Jose Damaso) Date: Fri, 18 Apr 2014 12:18:38 -0500 Subject: digital signage / ticker tape Message-ID: Hi all -- I've taken interest in using Livecode for displaying ticker tape or digital signage type information. There were a few older forum posts on this topic a few years ago but haven't seen any recent activity in that area. Does anyone have a general direction or sample stacks I can start off with? I have purchased Animation Engine and thought that may be the way to go but I am only at the beginning of this project so any input would be welcome. Thanks! From richmondmathewson at gmail.com Fri Apr 18 13:23:36 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 18 Apr 2014 20:23:36 +0300 Subject: Horizontal revTools stack In-Reply-To: <1397841163075-4678405.post@n4.nabble.com> References: <53510798.1050302@gmail.com> <53512D77.60609@gmail.com> <1397841163075-4678405.post@n4.nabble.com> Message-ID: <53515F98.4030808@gmail.com> On 18/04/14 20:12, Alejandro Tejada wrote: > In which versions of LiveCode this palette runs? > > Al > > Well; I've tested it from 6.0.1 to 6.7 dp 1. Richmond. From richmondmathewson at gmail.com Fri Apr 18 13:26:12 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 18 Apr 2014 20:26:12 +0300 Subject: webP, VP8, Skia and LiveCode In-Reply-To: <1397840983102-4678404.post@n4.nabble.com> References: <1397782050971-4678386.post@n4.nabble.com> <5350E547.5000808@gmail.com> <1397835495469-4678399.post@n4.nabble.com> <53515333.9000100@gmail.com> <1397840983102-4678404.post@n4.nabble.com> Message-ID: <53516034.4000004@gmail.com> http://www.xnview.com/en/xnconvert/ cross-platform, free. Richmond From richmondmathewson at gmail.com Fri Apr 18 13:30:00 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 18 Apr 2014 20:30:00 +0300 Subject: webP, VP8, Skia and LiveCode In-Reply-To: <53516034.4000004@gmail.com> References: <1397782050971-4678386.post@n4.nabble.com> <5350E547.5000808@gmail.com> <1397835495469-4678399.post@n4.nabble.com> <53515333.9000100@gmail.com> <1397840983102-4678404.post@n4.nabble.com> <53516034.4000004@gmail.com> Message-ID: <53516118.8090008@gmail.com> On 18/04/14 20:26, Richmond wrote: > http://www.xnview.com/en/xnconvert/ > > cross-platform, free. > > Richmond Canonical [i.e. Mr Slugworth's emporium] tricks Ubuntu users into registering their details for the Ubuntu One service via the Ubuntu Software Center and then installs an out-dated version on your system. Don't do that; just get the deb file from the website. Richmond From capellan2000 at gmail.com Fri Apr 18 13:38:05 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 18 Apr 2014 10:38:05 -0700 (PDT) Subject: webP, VP8, Skia and LiveCode In-Reply-To: <53515D69.5020609@gmail.com> References: <1397782050971-4678386.post@n4.nabble.com> <5350E547.5000808@gmail.com> <1397835495469-4678399.post@n4.nabble.com> <53515333.9000100@gmail.com> <1397840983102-4678404.post@n4.nabble.com> <53515D69.5020609@gmail.com> Message-ID: <1397842685740-4678411.post@n4.nabble.com> There is a Windows plugin for GIMP: http://registry.gimp.org/taxonomy/term/1294 and you already posted how to compile the GIMP plug-in in Ubuntu. According to this webpage, there are many bitmap editors that supports webP: http://en.wikipedia.org/wiki/WebP Picozu Web Image editor Acorn Image editor Adobe Photoshop Image editor (plugin) Corel Photopaint Image editor (plugin) GIMP Image editor (plugin) GraphicConverter Image editor Paint.Net Image editor (plugin) ImageMagick Image editor PhotoLine Image editor Pixelmator Image editor RealWorld Paint Image editor Graphviz Graph visualization FileOptimizer Tool PentaSuite PDF creation suite FastPictureViewer Image viewer (Google WebP WIC Codec[36]) XnView Image viewer IrfanView Image viewer gThumb Image Viewer By the way, Richmmond, Could you write this enhancement request in LiveCode Quality Control Center? http://quality.runrev.com/ Thanks in advance! :D Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/webP-VP8-Skia-and-LiveCode-tp4678386p4678411.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Fri Apr 18 13:49:05 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 18 Apr 2014 20:49:05 +0300 Subject: webP, VP8, Skia and LiveCode In-Reply-To: <1397842685740-4678411.post@n4.nabble.com> References: <1397782050971-4678386.post@n4.nabble.com> <5350E547.5000808@gmail.com> <1397835495469-4678399.post@n4.nabble.com> <53515333.9000100@gmail.com> <1397840983102-4678404.post@n4.nabble.com> <53515D69.5020609@gmail.com> <1397842685740-4678411.post@n4.nabble.com> Message-ID: <53516591.7000308@gmail.com> On 18/04/14 20:38, Alejandro Tejada wrote: > There is a Windows plugin for GIMP: > http://registry.gimp.org/taxonomy/term/1294 > and you already posted how to compile the GIMP plug-in in Ubuntu. > > According to this webpage, there are many bitmap editors that supports webP: > http://en.wikipedia.org/wiki/WebP > > Picozu Web Image editor > Acorn Image editor > Adobe Photoshop Image editor (plugin) > Corel Photopaint Image editor (plugin) > GIMP Image editor (plugin) > GraphicConverter Image editor > Paint.Net Image editor (plugin) > ImageMagick Image editor > PhotoLine Image editor > Pixelmator Image editor > RealWorld Paint Image editor > Graphviz Graph visualization > FileOptimizer Tool > PentaSuite PDF creation suite > FastPictureViewer Image viewer (Google WebP WIC Codec[36]) > XnView Image viewer > IrfanView Image viewer > gThumb Image Viewer > > > By the way, Richmmond, > Could you write this enhancement request > in LiveCode Quality Control Center? > > http://quality.runrev.com/ That's a load of rubbish, because when I did I got a: "A value must be set for the 'Desktop OS' field." message when there is NO 'Desktop OS' field. http://quality.runrev.com/enter_bug.cgi Here are the contents of my attempted submission: "It would be marvellous if Livecode was not restricted to JPG, PNG, BMP and a few other fairly obscure and outdated image formats (PBM anyone?) and could import and export a much larger range of image formats. As their are a large number of opne source codecs for image formats available this should not involve RunRev having to pay money to build them into Livecode. How about webP and VP8 for a start?" Richmond [with one 'M'] > > > Thanks in advance! :D > > Al > > > From jacque at hyperactivesw.com Fri Apr 18 14:31:02 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 18 Apr 2014 13:31:02 -0500 Subject: webP, VP8, Skia and LiveCode In-Reply-To: <53516591.7000308@gmail.com> References: <1397782050971-4678386.post@n4.nabble.com> <5350E547.5000808@gmail.com> <1397835495469-4678399.post@n4.nabble.com> <53515333.9000100@gmail.com> <1397840983102-4678404.post@n4.nabble.com> <53515D69.5020609@gmail.com> <1397842685740-4678411.post@n4.nabble.com> <53516591.7000308@gmail.com> Message-ID: <53516F66.5080500@hyperactivesw.com> On 4/18/14, 12:49 PM, Richmond wrote: > That's a load of rubbish, because when I did I got a: > > "A value must be set for the 'Desktop OS' field." message > > when there is NO 'Desktop OS' field. It appears after you choose "I can see this bug in". Choose "IDE". Then the desktop field appears; choose your OS. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From capellan2000 at gmail.com Fri Apr 18 14:34:20 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 18 Apr 2014 11:34:20 -0700 (PDT) Subject: webP, VP8, Skia and LiveCode In-Reply-To: <53516591.7000308@gmail.com> References: <1397782050971-4678386.post@n4.nabble.com> <5350E547.5000808@gmail.com> <1397835495469-4678399.post@n4.nabble.com> <53515333.9000100@gmail.com> <1397840983102-4678404.post@n4.nabble.com> <53515D69.5020609@gmail.com> <1397842685740-4678411.post@n4.nabble.com> <53516591.7000308@gmail.com> Message-ID: <1397846060378-4678414.post@n4.nabble.com> Richmond Mathewson-2 wrote > [snip] > "It would be marvellous if Livecode was not restricted to JPG, PNG, BMP > and a few other fairly obscure and outdated image formats (PBM anyone?) > [snip] Actually, I use PBM and PNM in this Interface to Potrace: http://runtime-revolution.278305.n4.nabble.com/Looking-for-Windows-testers-for-Potrace-Interface-td3896765.html -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/webP-VP8-Skia-and-LiveCode-tp4678386p4678414.html Sent from the Revolution - User mailing list archive at Nabble.com. From jonathandlynch at gmail.com Fri Apr 18 14:44:45 2014 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Fri, 18 Apr 2014 14:44:45 -0400 Subject: Need help with making a polygon look totally flat Message-ID: Hello everyone, I am creating a coloring book application for work, to be marketed to kids. Of course, this means having to create my own basic painting tools because the standard painting tools are not available for IOS. Creating a freehand line polygon (9 pixels thick) and having it draw new segments in sync with mouse movements is a pretty easy way to simulate a brush. It is also easy to merge this polygon down onto the underlying image upon releasing the mouse button. However, this polygon does not have a single color. Instead, there is a very slight light edge and dark edge. I assume this is a standard part of polygons in order to make them more visually appealing. Unfortunately, these edges also merge down into the underlying image. This doesn?t look horrible, but it messes up subsequent flood fill (paint bucket) operations. Is it possible to alter the settings of a polygon so that it is purely flat, with not even a slight light or dark edge? I have experimented with coloroverlay, antialiasing, and all ink settings, but to no avail. I could have the polygon merge with a pure white image off-screen, work with the imagedata and alphadata to remove all pixels that are not of the correct color, then merge this new image with the main image ? but that sounds like a really slow and difficult kludge. Surely there is a way to just totally flatten the look of a polygon? And speaking of flood full ? ugh, scripting that was a nightmare. I really wish we could use the built-in flood fill operations in IOS. Thank you greatly for any suggestions, Jonathan -- Do all things with love From capellan2000 at gmail.com Fri Apr 18 14:44:48 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 18 Apr 2014 11:44:48 -0700 (PDT) Subject: digital signage / ticker tape In-Reply-To: References: Message-ID: <1397846688138-4678415.post@n4.nabble.com> Hi Jose, Yesterday, April 17 2014, Richard Gaskin posted this link in another thread: http://forums.runrev.com/viewtopic.php?f=76&t=19248 "The Raspberry Pi is helping young people all over the world understand that computing isn't some rarefied special thing other people make and we merely use, but instead computing is cheap, ubiquitous, and something we all can make. The 21st century isn't about users, it belongs to makers. In that thread Hermann has been posting a series of stacks designed specifically to run on the Pi build of LiveCode. Beautiful work, thoughtfully crafted." About Raspberry Pi and digital signage: http://www.sixteen-nine.net/2013/12/13/10-slices-raspberry-pi-digital-signage/ Have a nice weekend! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/digital-signage-ticker-tape-tp4678407p4678415.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Fri Apr 18 14:48:20 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 18 Apr 2014 13:48:20 -0500 Subject: digital signage / ticker tape In-Reply-To: References: Message-ID: <53517374.9090001@hyperactivesw.com> On 4/18/14, 12:18 PM, Jose Damaso wrote: > Hi all -- I've taken interest in using Livecode for displaying ticker tape > or digital signage type information. There were a few older forum posts on > this topic a few years ago but haven't seen any recent activity in that > area. Does anyone have a general direction or sample stacks I can start off > with? I have purchased Animation Engine and thought that may be the way to > go but I am only at the beginning of this project so any input would be > welcome. Thanks! There are two basic ways to do this: 1. Put the text into a field and move the field. The "move" command should do this efficiently, or you can use animation engine. When the right edge of the field goes off the left edge of the stack, reposition it with its left edge at the right side of the stack and move it again. This produces a smooth glide. 2. Put the text into a field with enough leading spaces to visually push the actual text off the right edge of the field. Adjust the text repeatedly by removing the leading character and placing it at the end of the field text. This method produces an effect more like a stock ticker, where the text jumps from one position to the next (the way LED lights would work.) Both are pretty easy to script. In either case, you'll need a field with at least locktext and dontwrap set to true. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Apr 18 14:51:04 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 18 Apr 2014 13:51:04 -0500 Subject: LC Prefs In-Reply-To: References: Message-ID: <53517418.1060208@hyperactivesw.com> On 4/18/14, 10:36 AM, Mike Kerner wrote: > Where are the LC prefs stored? I've hit the reset button and changed a > couple of things, but they don't stick between launches. > On Mac they're in /Users//Library/Preferences/RunRev/livecode.rev I forget where they are on Windows, sorry. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Fri Apr 18 14:57:50 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 18 Apr 2014 21:57:50 +0300 Subject: webP, VP8, Skia and LiveCode In-Reply-To: <53516F66.5080500@hyperactivesw.com> References: <1397782050971-4678386.post@n4.nabble.com> <5350E547.5000808@gmail.com> <1397835495469-4678399.post@n4.nabble.com> <53515333.9000100@gmail.com> <1397840983102-4678404.post@n4.nabble.com> <53515D69.5020609@gmail.com> <1397842685740-4678411.post@n4.nabble.com> <53516591.7000308@gmail.com> <53516F66.5080500@hyperactivesw.com> Message-ID: <535175AE.9030902@gmail.com> On 18/04/14 21:31, J. Landman Gay wrote: > On 4/18/14, 12:49 PM, Richmond wrote: >> That's a load of rubbish, because when I did I got a: >> >> "A value must be set for the 'Desktop OS' field." message >> >> when there is NO 'Desktop OS' field. > > It appears after you choose "I can see this bug in". Choose "IDE". > Then the desktop field appears; choose your OS. > It did NOT appear last time I tried. AND, as it is an enhancement request it should hold true regardless of which platform the IDE is deployed on. Richmond. From richmondmathewson at gmail.com Fri Apr 18 14:59:12 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 18 Apr 2014 21:59:12 +0300 Subject: webP, VP8, Skia and LiveCode In-Reply-To: <1397846060378-4678414.post@n4.nabble.com> References: <1397782050971-4678386.post@n4.nabble.com> <5350E547.5000808@gmail.com> <1397835495469-4678399.post@n4.nabble.com> <53515333.9000100@gmail.com> <1397840983102-4678404.post@n4.nabble.com> <53515D69.5020609@gmail.com> <1397842685740-4678411.post@n4.nabble.com> <53516591.7000308@gmail.com> <1397846060378-4678414.post@n4.nabble.com> Message-ID: <53517600.5020106@gmail.com> On 18/04/14 21:34, Alejandro Tejada wrote: > Richmond Mathewson-2 wrote >> [snip] >> "It would be marvellous if Livecode was not restricted to JPG, PNG, BMP >> and a few other fairly obscure and outdated image formats (PBM anyone?) >> [snip] > Actually, I use PBM and PNM in this Interface to Potrace: > > http://runtime-revolution.278305.n4.nabble.com/Looking-for-Windows-testers-for-Potrace-Interface-td3896765.html > > > I use a G3 iMac running MacOS 9 for 3D graphics: that does not mean a G3 iMac isn't horribly out of date :) Richmond. From bernd.gottwald at outrange.com Fri Apr 18 14:59:25 2014 From: bernd.gottwald at outrange.com (bernd.gottwald at outrange.com) Date: 18 Apr 2014 20:59:25 +0200 Subject: =?utf-8?Q?Re:_use=2Dlivecode_Digest,_Vol_127,_Issue_32?= Message-ID: <20140418185925.7974.qmail@divico.metanet.ch> Bis zum 22.4.2014 bin ich nicht verf?gbar. Ich werde meine Emails nicht lesen. In dringenden F?llen erreichen Sie mich ?ber mein Mobiltelefon. I will be out of office until 22.4.2014. I won't read me emails. In urgent matter please call me on my mobile. From richmondmathewson at gmail.com Fri Apr 18 15:05:36 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 18 Apr 2014 22:05:36 +0300 Subject: webP, VP8, Skia and LiveCode In-Reply-To: <1397846060378-4678414.post@n4.nabble.com> References: <1397782050971-4678386.post@n4.nabble.com> <5350E547.5000808@gmail.com> <1397835495469-4678399.post@n4.nabble.com> <53515333.9000100@gmail.com> <1397840983102-4678404.post@n4.nabble.com> <53515D69.5020609@gmail.com> <1397842685740-4678411.post@n4.nabble.com> <53516591.7000308@gmail.com> <1397846060378-4678414.post@n4.nabble.com> Message-ID: <53517780.8090104@gmail.com> http://quality.runrev.com/show_bug.cgi?id=12242 Richmond. From capellan2000 at gmail.com Fri Apr 18 15:06:57 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 18 Apr 2014 12:06:57 -0700 (PDT) Subject: digital signage / ticker tape In-Reply-To: <53517374.9090001@hyperactivesw.com> References: <53517374.9090001@hyperactivesw.com> Message-ID: <1397848017507-4678423.post@n4.nabble.com> J. Landman Gay wrote > There are two basic ways to do this: > > 1. Put the text into a field and move the field. The "move" command > should do this efficiently, or you can use animation engine. When the > right edge of the field goes off the left edge of the stack, reposition > it with its left edge at the right side of the stack and move it again. > This produces a smooth glide. > > 2. Put the text into a field with enough leading spaces to visually push > the actual text off the right edge of the field. Adjust the text > repeatedly by removing the leading character and placing it at the end > of the field text. This method produces an effect more like a stock > ticker, where the text jumps from one position to the next (the way LED > lights would work.) > > Both are pretty easy to script. In either case, you'll need a field with > at least locktext and dontwrap set to true. This tutorial published by Faber could be helpful too: http://livecodela.com/2014/01/04/fondos-animados-para-sus-juegos/ Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/digital-signage-ticker-tape-tp4678407p4678423.html Sent from the Revolution - User mailing list archive at Nabble.com. From rdimola at evergreeninfo.net Fri Apr 18 15:12:20 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 18 Apr 2014 15:12:20 -0400 Subject: LC Prefs In-Reply-To: References: Message-ID: <00df01cf5b3a$1f548fa0$5dfdaee0$@net> On Windows XP==> [BootDrive]:\Documents and Settings\[User]\Application Data\RunRev\Preferences Post XP ==>[BootDrive]:\Users\[User]\Application Data\RunRev\Preferences 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 Mike Kerner Sent: Friday, April 18, 2014 11:36 AM To: How to use LiveCode Subject: LC Prefs Where are the LC prefs stored? I've hit the reset button and changed a couple of things, but they don't stick between launches. -- 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 richmondmathewson at gmail.com Fri Apr 18 15:12:39 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 18 Apr 2014 22:12:39 +0300 Subject: LC Prefs In-Reply-To: <53517418.1060208@hyperactivesw.com> References: <53517418.1060208@hyperactivesw.com> Message-ID: <53517927.8090403@gmail.com> On 18/04/14 21:51, J. Landman Gay wrote: > On 4/18/14, 10:36 AM, Mike Kerner wrote: >> Where are the LC prefs stored? I've hit the reset button and changed a >> couple of things, but they don't stick between launches. >> > > On Mac they're in /Users//Library/Preferences/RunRev/livecode.rev > > I forget where they are on Windows, sorry. > On Linux they're in: /home//.revolution/revpreferences.rev and / or /home//.runrev/preferences/ ------------------------------------- Half a tick while I fire up VMware Player . . . ------------------------------------- Windows 7: /Users//AppData/Local/._Livecode_ and / or /Users//AppData/Roaming/RunRev/Preferences/ ------------------------------------- Richmond. From bernd.niggemann at uni-wh.de Fri Apr 18 15:15:10 2014 From: bernd.niggemann at uni-wh.de (BNig) Date: Fri, 18 Apr 2014 12:15:10 -0700 (PDT) Subject: digital signage / ticker tape In-Reply-To: References: Message-ID: <1397848510391-4678426.post@n4.nabble.com> Hi Jose, you might want to have a look at http://livecodeshare.runrev.com/stack/489/AutoCue as a start. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/digital-signage-ticker-tape-tp4678407p4678426.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Fri Apr 18 15:55:38 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 18 Apr 2014 12:55:38 -0700 (PDT) Subject: LiveCode User Guide Message-ID: <1397850938106-4678427.post@n4.nabble.com> Hi All, Today, I started transcribing and formatting a spanish translation of LiveCode User Guide, revision 19 (2010.11.09) You could find this PDF user guide within the Documentation folder within your LiveCode installation. (inside a folder named "pdf") Although I have recorded the translation in a digital recorder, the transcription process will change the original translation and formatting will change again the text. In spanish there are at least four similar, but different translations of the XTalk language and paradigm. 1) Spain 2) Mexico and Central America 3) Colombia, Venezuela, Peru, Ecuador 4) Chile, Argentina, Uruguay Look at the map (En donde estamos) in this webpage: http://livecodela.com/ This translation is not specifically aligned with any of these four interpretations. Even so, readers from these regions will find it useful (hopefully). The purpose of formatting this translation is to make the resulting pdf looks exactly as the original english version. For this, it's necessary to update many screenshots and some portions of the text. A little help from my mail list friends could help very much. My questions are: 1) Could each developer in this mail list, review the LiveCode User Guide and make suggestions about which specific parts to update? 2) Could you post matching screenshots from your platform? (matching with the screenshots used in Livecode User Guide) Thanks in advance. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-User-Guide-tp4678427.html Sent from the Revolution - User mailing list archive at Nabble.com. From index at kenjikojima.com Fri Apr 18 16:59:58 2014 From: index at kenjikojima.com (Kenji Kojima) Date: Fri, 18 Apr 2014 16:59:58 -0400 Subject: LiveCode 7 codepoint question Message-ID: <4854BDDF-2597-45F7-A527-0F13E4FDDED3@kenjikojima.com> What is the actual single unicode character which is composed of two or more code points? I could not find it in Japanese characters. I could use same ?char? and ?code point? in Japanese. Are there it in other languages? There is a comment of ?codepoint" on the dictionary. "A codepoint is an integer identifier associted witha a Unicode character. A single character is composed of one or more code points.? Thanks, -- Kenji Kojima / ???? http://www.kenjikojima.com/ From MikeKerner at roadrunner.com Fri Apr 18 16:59:41 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 18 Apr 2014 16:59:41 -0400 Subject: New Visual Editor ? In-Reply-To: <59012ABE-6B15-4A15-96BF-7AAFFB6E515A@gmail.com> References: <534E2B1A.1020909@gmail.com> <534E75AE.2030001@fourthworld.com> <534E81FA.4020401@gmail.com> <59012ABE-6B15-4A15-96BF-7AAFFB6E515A@gmail.com> Message-ID: I hate it when people use recursion recursively. On Fri, Apr 18, 2014 at 9:14 AM, Peter M. Brigham wrote: > On Apr 16, 2014, at 9:13 AM, Richmond wrote: > > > ...lesson number 1: everything takes longer than one's estimates? > > Hofstadter's Law: It always takes longer than you expect, even when you > take Hofstadter's Law into account. > > -- 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 > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From dsc at swcp.com Fri Apr 18 17:12:59 2014 From: dsc at swcp.com (Dar Scott) Date: Fri, 18 Apr 2014 15:12:59 -0600 Subject: LiveCode 7 codepoint question In-Reply-To: <4854BDDF-2597-45F7-A527-0F13E4FDDED3@kenjikojima.com> References: <4854BDDF-2597-45F7-A527-0F13E4FDDED3@kenjikojima.com> Message-ID: I think you can create Unicode ?do? as a single character and also write it as ?to? with a breathing combining mark. The latter takes two codepoints but is one character. I?ll run an experiment and see if what I?m saying is really true. Dar On Apr 18, 2014, at 2:59 PM, Kenji Kojima wrote: > What is the actual single unicode character which is composed of two or more code points? > I could not find it in Japanese characters. I could use same ?char? and ?code point? in Japanese. > Are there it in other languages? > > There is a comment of ?codepoint" on the dictionary. > "A codepoint is an integer identifier associted witha a Unicode character. > A single character is composed of one or more code points.? > > Thanks, > -- > Kenji Kojima / ???? > http://www.kenjikojima.com/ > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Fri Apr 18 17:14:19 2014 From: dsc at swcp.com (Dar Scott) Date: Fri, 18 Apr 2014 15:14:19 -0600 Subject: LiveCode 7 codepoint question In-Reply-To: References: <4854BDDF-2597-45F7-A527-0F13E4FDDED3@kenjikojima.com> Message-ID: I mean voicing. On Apr 18, 2014, at 3:12 PM, Dar Scott wrote: > I think you can create Unicode ?do? as a single character and also write it as ?to? with a breathing combining mark. The latter takes two codepoints but is one character. > > I?ll run an experiment and see if what I?m saying is really true. > > Dar > > > On Apr 18, 2014, at 2:59 PM, Kenji Kojima wrote: > >> What is the actual single unicode character which is composed of two or more code points? >> I could not find it in Japanese characters. I could use same ?char? and ?code point? in Japanese. >> Are there it in other languages? >> >> There is a comment of ?codepoint" on the dictionary. >> "A codepoint is an integer identifier associted witha a Unicode character. >> A single character is composed of one or more code points.? >> >> Thanks, >> -- >> Kenji Kojima / ???? >> http://www.kenjikojima.com/ >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Fri Apr 18 17:15:37 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 18 Apr 2014 14:15:37 -0700 (PDT) Subject: webP, VP8, Skia and LiveCode In-Reply-To: <53517780.8090104@gmail.com> References: <1397782050971-4678386.post@n4.nabble.com> <5350E547.5000808@gmail.com> <1397835495469-4678399.post@n4.nabble.com> <53515333.9000100@gmail.com> <1397840983102-4678404.post@n4.nabble.com> <53515D69.5020609@gmail.com> <1397842685740-4678411.post@n4.nabble.com> <53516591.7000308@gmail.com> <1397846060378-4678414.post@n4.nabble.com> <53517780.8090104@gmail.com> Message-ID: <1397855737390-4678432.post@n4.nabble.com> Richmond Mathewson-2 wrote > http://quality.runrev.com/show_bug.cgi?id=12242 Many Thanks! :D by the way: "In addition a new browser component based on CEF (Chromium Embedded Framework) has been added. This new browser allows for a consistent appearance across all platforms with a modern, well supported feature set. To use the new CEF browser use the revBrowserOpenCef command in place of revBrowserOpen. This will create a CEF browser instance which can be used with the existing revBrowser commands and functions in exactly the same way as before." By the way, LiveCode should be included in this list of apps who use this framework: http://en.wikipedia.org/wiki/Chromium_Embedded_Framework Who could test if RevBrowser in LiveCode 7.0.0 DP2 actually opens webP images? Could play webP animations and webM movies? Visit http://html5test.com/ within RevBrowserCEF and post your results. webP images: https://www.gstatic.com/webp/gallery3/1_webp_a.webp https://www.gstatic.com/webp/gallery3/2_webp_ll.webp http://www.gstatic.com/webp/gallery/1.webp http://www.gstatic.com/webp/gallery/4.webp webP Animation: https://www.gstatic.com/webp/animated/1.webp http://downloads.webmproject.org/webp/images/dancing_banana2.lossless.webp Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/webP-VP8-Skia-and-LiveCode-tp4678386p4678432.html Sent from the Revolution - User mailing list archive at Nabble.com. From francois.chaplais at mines-paristech.fr Fri Apr 18 17:28:51 2014 From: francois.chaplais at mines-paristech.fr (=?windows-1252?Q?Fran=E7ois_Chaplais?=) Date: Fri, 18 Apr 2014 21:28:51 -0000 Subject: New Visual Editor ? In-Reply-To: References: <534E2B1A.1020909@gmail.com> <534E75AE.2030001@fourthworld.com> <534E81FA.4020401@gmail.com> <59012ABE-6B15-4A15-96BF-7AAFFB6E515A@gmail.com> Message-ID: <1E1670C9-ACB0-4BAA-A783-E873B34CAAE6@mines-paristech.fr> The path of one's life maximizes the trouble that happens. This remains true even if you try to use the rule to your advantage. Une vie est r?gie par la loi de l'emmerdement maximal. Cette loi reste valable m?me si on cherche ? l'utiliser pour la contourner. Shit happens. Fran?ois Le 18 avr. 2014 ? 22:59, Mike Kerner a ?crit : > I hate it when people use recursion recursively. > > > On Fri, Apr 18, 2014 at 9:14 AM, Peter M. Brigham wrote: > >> On Apr 16, 2014, at 9:13 AM, Richmond wrote: >> >>> ...lesson number 1: everything takes longer than one's estimates? >> >> Hofstadter's Law: It always takes longer than you expect, even when you >> take Hofstadter's Law into account. >> >> -- 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 >> > > > > -- > 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 capellan2000 at gmail.com Fri Apr 18 17:42:06 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 18 Apr 2014 14:42:06 -0700 (PDT) Subject: Need help with making a polygon look totally flat In-Reply-To: References: Message-ID: <1397857326771-4678434.post@n4.nabble.com> Hi Jonathan, I am not a Mac or iOS user. Could you post a screenshot of the non flat polygon? Maybe, we could check if this appears on Windows, Linux and Android, too. Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Need-help-with-making-a-polygon-look-totally-flat-tp4678416p4678434.html Sent from the Revolution - User mailing list archive at Nabble.com. From dsc at swcp.com Fri Apr 18 17:47:12 2014 From: dsc at swcp.com (Dar Scott) Date: Fri, 18 Apr 2014 15:47:12 -0600 Subject: LiveCode 7 codepoint question In-Reply-To: <4854BDDF-2597-45F7-A527-0F13E4FDDED3@kenjikojima.com> References: <4854BDDF-2597-45F7-A527-0F13E4FDDED3@kenjikojima.com> Message-ID: Here is my experiment to look at characters that are multiple codepoints in Japanese. (This experiment is limited to Katakana.) (I don?t know Japanese, so I apologize for anything goofy.) This shows the two-codepoint versions of ? as one character. On my OS X system, the latter two did not render as one character in the message box, though. I might be doing something wrong. When I pasted the output string into mail, one of those combined but the second didn?t?maybe it is intended for use with half-width Katakana. The output is this: ? ? ?? 1 ?? 1 Dar ??? on mouseUp put numToCodepoint( 0x30C8 ) into kto put numToCodepoint( 0x30C9 ) into kdo put numToCodepoint( 0x3099 ) into kVoiceMark put numToCodepoint( 0xFF9E ) into kHalfVoiceMark put kto & kVoiceMark into kdoAlt1 put length(kdoAlt1) into kdoAlt1N put kto & kHalfVoiceMark into kdoAlt2 put length(kdoAlt2) into kdoAlt2N put kto & tab & kdo & tab & kdoAlt1 & tab & kdoAlt1N & tab & kdoAlt2 & tab & kdoAlt2N end mouseUp ??? On Apr 18, 2014, at 2:59 PM, Kenji Kojima wrote: > What is the actual single unicode character which is composed of two or more code points? > I could not find it in Japanese characters. I could use same ?char? and ?code point? in Japanese. > Are there it in other languages? > > There is a comment of ?codepoint" on the dictionary. > "A codepoint is an integer identifier associted witha a Unicode character. > A single character is composed of one or more code points.? > > Thanks, > -- > Kenji Kojima / ???? > http://www.kenjikojima.com/ > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Fri Apr 18 18:12:08 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 19 Apr 2014 00:12:08 +0200 Subject: Need help with making a polygon look totally flat In-Reply-To: References: Message-ID: <5351A338.3020704@economy-x-talk.com> Jonathan, I made this for iOS. It was a project for a customer. Perhaps you could send me your requirements and we could work out something. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 4/18/2014 20:44, Jonathan Lynch wrote: > Hello everyone, > > > I am creating a coloring book application for work, to be marketed to kids. > Of course, this means having to create my own basic painting tools because > the standard painting tools are not available for IOS. > > > Creating a freehand line polygon (9 pixels thick) and having it draw new > segments in sync with mouse movements is a pretty easy way to simulate a > brush. It is also easy to merge this polygon down onto the underlying image > upon releasing the mouse button. > > > However, this polygon does not have a single color. Instead, there is a > very slight light edge and dark edge. I assume this is a standard part of > polygons in order to make them more visually appealing. Unfortunately, > these edges also merge down into the underlying image. > > > This doesn?t look horrible, but it messes up subsequent flood fill (paint > bucket) operations. > > > Is it possible to alter the settings of a polygon so that it is purely > flat, with not even a slight light or dark edge? I have experimented with > coloroverlay, antialiasing, and all ink settings, but to no avail. I could > have the polygon merge with a pure white image off-screen, work with the > imagedata and alphadata to remove all pixels that are not of the correct > color, then merge this new image with the main image ? but that sounds like > a really slow and difficult kludge. Surely there is a way to just totally > flatten the look of a polygon? > > > And speaking of flood full ? ugh, scripting that was a nightmare. I really > wish we could use the built-in flood fill operations in IOS. > > > Thank you greatly for any suggestions, > > > Jonathan > From dsc at swcp.com Fri Apr 18 18:24:44 2014 From: dsc at swcp.com (Dar Scott) Date: Fri, 18 Apr 2014 16:24:44 -0600 Subject: LiveCode 7 codepoint question In-Reply-To: References: <4854BDDF-2597-45F7-A527-0F13E4FDDED3@kenjikojima.com> Message-ID: <322CF4EE-B6F0-42A2-AABA-12064B52B53E@swcp.com> Looking a little closer, I think daduken and handaduken are going to be the only combining marks you will see in Japanese. The half-width versions are not called combining marks in the Unicode database, but they do count as part of the character to the left in LiveCode. Would loan words include tone marks? Then maybe tone marks might apply. Also, general combining marks such as keycap might apply: ?? Oh, that looks ugly on my computer. So, look at U+3099, U+309A, U+FF9E, and U+FF9F. Dar On Apr 18, 2014, at 3:47 PM, Dar Scott wrote: > Here is my experiment to look at characters that are multiple codepoints in Japanese. (This experiment is limited to Katakana.) > > (I don?t know Japanese, so I apologize for anything goofy.) > > This shows the two-codepoint versions of ? as one character. > > On my OS X system, the latter two did not render as one character in the message box, though. I might be doing something wrong. When I pasted the output string into mail, one of those combined but the second didn?t?maybe it is intended for use with half-width Katakana. > > The output is this: > > ? ? ?? 1 ?? 1 > > Dar > > ??? > on mouseUp > put numToCodepoint( 0x30C8 ) into kto > put numToCodepoint( 0x30C9 ) into kdo > put numToCodepoint( 0x3099 ) into kVoiceMark > put numToCodepoint( 0xFF9E ) into kHalfVoiceMark > put kto & kVoiceMark into kdoAlt1 > put length(kdoAlt1) into kdoAlt1N > put kto & kHalfVoiceMark into kdoAlt2 > put length(kdoAlt2) into kdoAlt2N > put kto & tab & kdo & tab & kdoAlt1 & tab & kdoAlt1N & tab & kdoAlt2 & tab & kdoAlt2N > end mouseUp > ??? > > > > > On Apr 18, 2014, at 2:59 PM, Kenji Kojima wrote: > >> What is the actual single unicode character which is composed of two or more code points? >> I could not find it in Japanese characters. I could use same ?char? and ?code point? in Japanese. >> Are there it in other languages? >> >> There is a comment of ?codepoint" on the dictionary. >> "A codepoint is an integer identifier associted witha a Unicode character. >> A single character is composed of one or more code points.? >> >> Thanks, >> -- >> Kenji Kojima / ???? >> http://www.kenjikojima.com/ >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Fri Apr 18 18:27:16 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 18 Apr 2014 15:27:16 -0700 (PDT) Subject: LiveCode 7 codepoint question In-Reply-To: References: <4854BDDF-2597-45F7-A527-0F13E4FDDED3@kenjikojima.com> Message-ID: <1397860036166-4678438.post@n4.nabble.com> Dar Scott wrote > [snip] > put numToCodepoint( 0x30C8 ) into kto > put numToCodepoint( 0x30C9 ) into kdo > put numToCodepoint( 0x3099 ) into kVoiceMark > put numToCodepoint( 0xFF9E ) into kHalfVoiceMark > put kto & kVoiceMark into kdoAlt1 > put length(kdoAlt1) into kdoAlt1N > put kto & kHalfVoiceMark into kdoAlt2 > put length(kdoAlt2) into kdoAlt2N > put kto & tab & kdo & tab & kdoAlt1 & tab & kdoAlt1N & tab & kdoAlt2 & > tab & kdoAlt2N > [snip] Does this means that the only way to write Japanese in a field is using a script (or pasting the characters from the clipboard)? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-7-codepoint-question-tp4678428p4678438.html Sent from the Revolution - User mailing list archive at Nabble.com. From dsc at swcp.com Fri Apr 18 18:42:20 2014 From: dsc at swcp.com (Dar Scott) Date: Fri, 18 Apr 2014 16:42:20 -0600 Subject: LiveCode 7 codepoint question In-Reply-To: <1397860036166-4678438.post@n4.nabble.com> References: <4854BDDF-2597-45F7-A527-0F13E4FDDED3@kenjikojima.com> <1397860036166-4678438.post@n4.nabble.com> Message-ID: <6E996CC2-111C-41E9-975D-1137EF0FC70C@swcp.com> Oh, no, not at all. You can type in Japanese. Well, I?m pretty sure. My daughter does it all the time in other applications. She types in romaji (western letters). I think that gets combined to katakana (phonetic) and then she can choose one of may choices of Kanji (Chinese looking). Something like that. I don?t have a Japanese keyboard enabled on my computer, so I didn?t bother. The reason for the script was to illustrate that the Katakana DO can be written as to basic symbols, the TO plus a voicing mark. Notice the sounds are similar; one is unvoiced and one is voiced. The TO and the voicing mark are two code points in LiveCode, but one character in LiveCode. I wanted to make sure I got exactly those code points, so I could show that a string with two code points can contain one character. Notice that in Unicode the combining mark comes after the character it combines with. Now, I can type in Japanese in a crude way because I usually use the U+ keyboard on OS X. I hold down option and type in the hex code. So? ? ? That would not be the way for someone entering Japanese text to do it. But, for a Unicode learner like me, it works. Dar On Apr 18, 2014, at 4:27 PM, Alejandro Tejada wrote: > Dar Scott wrote >> [snip] >> put numToCodepoint( 0x30C8 ) into kto >> put numToCodepoint( 0x30C9 ) into kdo >> put numToCodepoint( 0x3099 ) into kVoiceMark >> put numToCodepoint( 0xFF9E ) into kHalfVoiceMark >> put kto & kVoiceMark into kdoAlt1 >> put length(kdoAlt1) into kdoAlt1N >> put kto & kHalfVoiceMark into kdoAlt2 >> put length(kdoAlt2) into kdoAlt2N >> put kto & tab & kdo & tab & kdoAlt1 & tab & kdoAlt1N & tab & kdoAlt2 & >> tab & kdoAlt2N >> [snip] > > Does this means that the only way to write Japanese > in a field is using a script (or pasting the characters > from the clipboard)? > > Al > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-7-codepoint-question-tp4678428p4678438.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Fri Apr 18 18:57:09 2014 From: dsc at swcp.com (Dar Scott) Date: Fri, 18 Apr 2014 16:57:09 -0600 Subject: LiveCode 7 codepoint question In-Reply-To: <6E996CC2-111C-41E9-975D-1137EF0FC70C@swcp.com> References: <4854BDDF-2597-45F7-A527-0F13E4FDDED3@kenjikojima.com> <1397860036166-4678438.post@n4.nabble.com> <6E996CC2-111C-41E9-975D-1137EF0FC70C@swcp.com> Message-ID: <4C402BC5-8890-4325-9461-23FD4A050A23@swcp.com> Al, I just quickly added a Japanese keyboard option to my OS X keyboard menu. I selected to Katakana keyboard and typed in DO in a LiveCode field. It was one codepoint and one character. I don?t know how to type the voicing mark separately. Dar On Apr 18, 2014, at 4:42 PM, Dar Scott wrote: > Oh, no, not at all. You can type in Japanese. Well, I?m pretty sure. > > My daughter does it all the time in other applications. She types in romaji (western letters). I think that gets combined to katakana (phonetic) and then she can choose one of may choices of Kanji (Chinese looking). Something like that. > > I don?t have a Japanese keyboard enabled on my computer, so I didn?t bother. > > The reason for the script was to illustrate that the Katakana DO can be written as to basic symbols, the TO plus a voicing mark. Notice the sounds are similar; one is unvoiced and one is voiced. The TO and the voicing mark are two code points in LiveCode, but one character in LiveCode. I wanted to make sure I got exactly those code points, so I could show that a string with two code points can contain one character. > > Notice that in Unicode the combining mark comes after the character it combines with. > > Now, I can type in Japanese in a crude way because I usually use the U+ keyboard on OS X. I hold down option and type in the hex code. > > So? ? ? > > That would not be the way for someone entering Japanese text to do it. But, for a Unicode learner like me, it works. > > Dar > > > > > On Apr 18, 2014, at 4:27 PM, Alejandro Tejada wrote: > >> Dar Scott wrote >>> [snip] >>> put numToCodepoint( 0x30C8 ) into kto >>> put numToCodepoint( 0x30C9 ) into kdo >>> put numToCodepoint( 0x3099 ) into kVoiceMark >>> put numToCodepoint( 0xFF9E ) into kHalfVoiceMark >>> put kto & kVoiceMark into kdoAlt1 >>> put length(kdoAlt1) into kdoAlt1N >>> put kto & kHalfVoiceMark into kdoAlt2 >>> put length(kdoAlt2) into kdoAlt2N >>> put kto & tab & kdo & tab & kdoAlt1 & tab & kdoAlt1N & tab & kdoAlt2 & >>> tab & kdoAlt2N >>> [snip] >> >> Does this means that the only way to write Japanese >> in a field is using a script (or pasting the characters >> from the clipboard)? >> >> Al >> >> >> >> -- >> View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-7-codepoint-question-tp4678428p4678438.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Fri Apr 18 19:15:16 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 18 Apr 2014 16:15:16 -0700 (PDT) Subject: LiveCode 7 codepoint question In-Reply-To: <4C402BC5-8890-4325-9461-23FD4A050A23@swcp.com> References: <4854BDDF-2597-45F7-A527-0F13E4FDDED3@kenjikojima.com> <1397860036166-4678438.post@n4.nabble.com> <6E996CC2-111C-41E9-975D-1137EF0FC70C@swcp.com> <4C402BC5-8890-4325-9461-23FD4A050A23@swcp.com> Message-ID: <1397862916791-4678441.post@n4.nabble.com> Dar Scott wrote > I just quickly added a Japanese keyboard option to my OS X keyboard menu. > I selected to Katakana keyboard and typed in DO in a LiveCode field. It > was one codepoint and one character. I don?t know how to type the voicing > mark separately. Then, looks like Ubuntu is the only OS that do not allows to type japanese in a LiveCode field. (notice that other apps do not show this problem) http://runtime-revolution.278305.n4.nabble.com/LiveCode-7-0-input-Japanese-text-on-Ubuntu-td4678310.html Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-7-codepoint-question-tp4678428p4678441.html Sent from the Revolution - User mailing list archive at Nabble.com. From dsc at swcp.com Fri Apr 18 19:40:14 2014 From: dsc at swcp.com (Dar Scott) Date: Fri, 18 Apr 2014 17:40:14 -0600 Subject: LiveCode 7 codepoint question In-Reply-To: <1397862916791-4678441.post@n4.nabble.com> References: <4854BDDF-2597-45F7-A527-0F13E4FDDED3@kenjikojima.com> <1397860036166-4678438.post@n4.nabble.com> <6E996CC2-111C-41E9-975D-1137EF0FC70C@swcp.com> <4C402BC5-8890-4325-9461-23FD4A050A23@swcp.com> <1397862916791-4678441.post@n4.nabble.com> Message-ID: <4C867A44-8754-416F-A30C-FDA53CE19121@swcp.com> I?ll try not to snicker, since my next project might be on Ubuntu. The good news is that the bug is listed as a bug and RunRev says they are looking into it. Dar On Apr 18, 2014, at 5:15 PM, Alejandro Tejada wrote: > Dar Scott wrote >> I just quickly added a Japanese keyboard option to my OS X keyboard menu. >> I selected to Katakana keyboard and typed in DO in a LiveCode field. It >> was one codepoint and one character. I don?t know how to type the voicing >> mark separately. > > Then, looks like Ubuntu is the only OS that do not > allows to type japanese in a LiveCode field. > (notice that other apps do not show this problem) > > http://runtime-revolution.278305.n4.nabble.com/LiveCode-7-0-input-Japanese-text-on-Ubuntu-td4678310.html > > Al > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-7-codepoint-question-tp4678428p4678441.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 dave at applicationinsight.com Sat Apr 19 05:57:08 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Sat, 19 Apr 2014 02:57:08 -0700 (PDT) Subject: Entering text into vector graphic In-Reply-To: <000601cf4803$dac24420$9046cc60$@FlexibleLearning.com> References: <000601cf4803$dac24420$9046cc60$@FlexibleLearning.com> Message-ID: <1397901428486-4678443.post@n4.nabble.com> Sorry Hugh had missed your posting somehow - and yes it makes me smile too - it came from something clever you wrote but for the life of me I can't remember what it was! ...whatever it was you wrote was definitely clever and even witty even though my brain is too lumpy to remember, can you? If you can't remember either I'll have to change my signature to something like "Hugh Senior once said something witty but I can't remember what it was" Anyway I'd better stop now or bernd will start pestering me about bananas again :) Kind regards Dave FlexibleLearning.com wrote > On Mon, 24 Mar 2014 14:56:26 -0700 (PDT) Dave Kilroy > < > dave@ > > wrote: > > [snip] > ----- > "Some are born coders, some achieve coding, and some have coding thrust > upon > them." - William Shakespeare & Hugh Senior > -- > > > This still makes me smile every time I see it :) > > Hugh Senior > FLCo > > > > _______________________________________________ > 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 ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Entering-text-into-vector-graphic-tp4677482p4678443.html Sent from the Revolution - User mailing list archive at Nabble.com. From bernd.gottwald at outrange.com Sat Apr 19 06:00:09 2014 From: bernd.gottwald at outrange.com (bernd.gottwald at outrange.com) Date: 19 Apr 2014 12:00:09 +0200 Subject: =?utf-8?Q?Re:_use=2Dlivecode_Digest,_Vol_127,_Issue_33?= Message-ID: <20140419100009.31825.qmail@divico.metanet.ch> Bis zum 22.4.2014 bin ich nicht verf?gbar. Ich werde meine Emails nicht lesen. In dringenden F?llen erreichen Sie mich ?ber mein Mobiltelefon. I will be out of office until 22.4.2014. I won't read me emails. In urgent matter please call me on my mobile. From index at kenjikojima.com Sat Apr 19 07:51:52 2014 From: index at kenjikojima.com (Kenji Kojima) Date: Sat, 19 Apr 2014 07:51:52 -0400 Subject: LiveCode 7 codepoint question In-Reply-To: References: <4854BDDF-2597-45F7-A527-0F13E4FDDED3@kenjikojima.com> Message-ID: <02F5BF76-2867-49DF-8199-9B1CBED77F60@kenjikojima.com> Dar, I do not have enough time seeing the script in this weekend. I will see well it next week. Thanks anyway, -- Kenji Kojima / ???? http://www.kenjikojima.com/ On Apr 18, 2014, at 5:47 PM, Dar Scott wrote: > Here is my experiment to look at characters that are multiple codepoints in Japanese. (This experiment is limited to Katakana.) > > (I don?t know Japanese, so I apologize for anything goofy.) > > This shows the two-codepoint versions of ? as one character. > > On my OS X system, the latter two did not render as one character in the message box, though. I might be doing something wrong. When I pasted the output string into mail, one of those combined but the second didn?t?maybe it is intended for use with half-width Katakana. > > The output is this: > > ? ? ?? 1 ?? 1 > > Dar > > ??? > on mouseUp > put numToCodepoint( 0x30C8 ) into kto > put numToCodepoint( 0x30C9 ) into kdo > put numToCodepoint( 0x3099 ) into kVoiceMark > put numToCodepoint( 0xFF9E ) into kHalfVoiceMark > put kto & kVoiceMark into kdoAlt1 > put length(kdoAlt1) into kdoAlt1N > put kto & kHalfVoiceMark into kdoAlt2 > put length(kdoAlt2) into kdoAlt2N > put kto & tab & kdo & tab & kdoAlt1 & tab & kdoAlt1N & tab & kdoAlt2 & tab & kdoAlt2N > end mouseUp > ??? > > > > > On Apr 18, 2014, at 2:59 PM, Kenji Kojima wrote: > >> What is the actual single unicode character which is composed of two or more code points? >> I could not find it in Japanese characters. I could use same ?char? and ?code point? in Japanese. >> Are there it in other languages? >> >> There is a comment of ?codepoint" on the dictionary. >> "A codepoint is an integer identifier associted witha a Unicode character. >> A single character is composed of one or more code points.? >> >> Thanks, >> -- >> Kenji Kojima / ???? >> http://www.kenjikojima.com/ >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sat Apr 19 12:44:19 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 19 Apr 2014 19:44:19 +0300 Subject: Vertical Menubar stack Message-ID: <5352A7E3.6070809@gmail.com> Here: http://andregarzia.on-rev.com/richmond/HA3y.zip Richmond. From smaclean at madmansoft.com Sat Apr 19 15:34:10 2014 From: smaclean at madmansoft.com (Stephen MacLean) Date: Sat, 19 Apr 2014 15:34:10 -0400 Subject: Problem naming groups with integers In-Reply-To: <5352A7E3.6070809@gmail.com> References: <5352A7E3.6070809@gmail.com> Message-ID: <0CCEBBE0-8685-4E30-BC36-3E969682142E@madmansoft.com> Hi All, I have a list where I name the groups shown with integers (i.e. the id of the record in the db). When I inspect the group, it shows as: group "11957", id 459899 It seems that LC has a problem with finding those groups. When I try to set a property or object contained in the group, I get "Error description: Chunk: can't find background" When I put: answer there is a group "11957" into the message box, with the integer in quotes, it return false It doesn't matter if I put answer there is a group "11957" of cd "messages" of this stack, it still returns false. Changing the name of the group to something like "11957A" and the above will answer true. Is this a bug or to prevent names from interfering with LC being able to recognize id's? It seems weird if that is the case, because if you reference by id, you need to use id to preface the integer: answer there is a group id 459899 Anyone have a favorite way of dealing with this? Thanks, Steve MacLean From scott at tactilemedia.com Sat Apr 19 15:51:22 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 19 Apr 2014 12:51:22 -0700 Subject: Problem naming groups with integers In-Reply-To: <0CCEBBE0-8685-4E30-BC36-3E969682142E@madmansoft.com> References: <5352A7E3.6070809@gmail.com> <0CCEBBE0-8685-4E30-BC36-3E969682142E@madmansoft.com> Message-ID: <75E3AA22-BB81-4D5C-BA38-6643002A40E9@tactilemedia.com> You shouldn't use integers as names because LC thinks you're referring the number of the group. Use a letter prefix or similar, but don't start the name with a number. Regards, Scott Rossi Creative Director Tactile Media, UX Design > On Apr 19, 2014, at 12:34 PM, Stephen MacLean wrote: > > Hi All, > > I have a list where I name the groups shown with integers (i.e. the id of the record in the db). > > When I inspect the group, it shows as: group "11957", id 459899 > > It seems that LC has a problem with finding those groups. When I try to set a property or object contained in the group, I get "Error description: Chunk: can't find background" > > When I put: answer there is a group "11957" into the message box, with the integer in quotes, it return false > > It doesn't matter if I put answer there is a group "11957" of cd "messages" of this stack, it still returns false. > > Changing the name of the group to something like "11957A" and the above will answer true. > > Is this a bug or to prevent names from interfering with LC being able to recognize id's? It seems weird if that is the case, because if you reference by id, you need to use id to preface the integer: > answer there is a group id 459899 > > Anyone have a favorite way of dealing with this? > > Thanks, > > Steve MacLean > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From smaclean at madmansoft.com Sat Apr 19 15:57:30 2014 From: smaclean at madmansoft.com (Stephen MacLean) Date: Sat, 19 Apr 2014 15:57:30 -0400 Subject: Problem naming groups with integers In-Reply-To: <75E3AA22-BB81-4D5C-BA38-6643002A40E9@tactilemedia.com> References: <5352A7E3.6070809@gmail.com> <0CCEBBE0-8685-4E30-BC36-3E969682142E@madmansoft.com> <75E3AA22-BB81-4D5C-BA38-6643002A40E9@tactilemedia.com> Message-ID: <56D63FF1-CA44-444F-A836-BC73386371CF@madmansoft.com> Thanks Scott! So, even though I'm enclosing it in quotes, LC still thinks that? Strange behavior, since it's a string and not a number, but I can deal with it. Change already made:) Best, Steve On Apr 19, 2014, at 3:51 PM, Scott Rossi wrote: > You shouldn't use integers as names because LC thinks you're referring the number of the group. Use a letter prefix or similar, but don't start the name with a number. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > >> On Apr 19, 2014, at 12:34 PM, Stephen MacLean wrote: >> >> Hi All, >> >> I have a list where I name the groups shown with integers (i.e. the id of the record in the db). >> >> When I inspect the group, it shows as: group "11957", id 459899 >> >> It seems that LC has a problem with finding those groups. When I try to set a property or object contained in the group, I get "Error description: Chunk: can't find background" >> >> When I put: answer there is a group "11957" into the message box, with the integer in quotes, it return false >> >> It doesn't matter if I put answer there is a group "11957" of cd "messages" of this stack, it still returns false. >> >> Changing the name of the group to something like "11957A" and the above will answer true. >> >> Is this a bug or to prevent names from interfering with LC being able to recognize id's? It seems weird if that is the case, because if you reference by id, you need to use id to preface the integer: >> answer there is a group id 459899 >> >> Anyone have a favorite way of dealing with this? >> >> Thanks, >> >> Steve MacLean >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sat Apr 19 16:10:06 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 19 Apr 2014 23:10:06 +0300 Subject: Vertical Menubar stack In-Reply-To: <5352A7E3.6070809@gmail.com> References: <5352A7E3.6070809@gmail.com> Message-ID: <5352D81E.1030601@gmail.com> Debugged version with option for a grayScale vertical revMenubar stack: http://andregarzia.on-rev.com/richmond/HA3y.zip Richmond. From scott at tactilemedia.com Sat Apr 19 16:13:23 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 19 Apr 2014 13:13:23 -0700 Subject: Problem naming groups with integers In-Reply-To: <56D63FF1-CA44-444F-A836-BC73386371CF@madmansoft.com> References: <5352A7E3.6070809@gmail.com> <0CCEBBE0-8685-4E30-BC36-3E969682142E@madmansoft.com> <75E3AA22-BB81-4D5C-BA38-6643002A40E9@tactilemedia.com> <56D63FF1-CA44-444F-A836-BC73386371CF@madmansoft.com> Message-ID: <7BFDF589-A181-478C-8D49-BFA537055D08@tactilemedia.com> IMO, using numbers as names is just something to avoid in LC. As you've found, names that are only numbers will cause problems. Better/safer to adopt a different naming convention. Regards, Scott Rossi Creative Director Tactile Media, UX Design > On Apr 19, 2014, at 12:57 PM, Stephen MacLean wrote: > > Thanks Scott! > > So, even though I'm enclosing it in quotes, LC still thinks that? > > Strange behavior, since it's a string and not a number, but I can deal with it. Change already made:) > > Best, > > Steve > >> On Apr 19, 2014, at 3:51 PM, Scott Rossi wrote: >> >> You shouldn't use integers as names because LC thinks you're referring the number of the group. Use a letter prefix or similar, but don't start the name with a number. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX Design >> >>> On Apr 19, 2014, at 12:34 PM, Stephen MacLean wrote: >>> >>> Hi All, >>> >>> I have a list where I name the groups shown with integers (i.e. the id of the record in the db). >>> >>> When I inspect the group, it shows as: group "11957", id 459899 >>> >>> It seems that LC has a problem with finding those groups. When I try to set a property or object contained in the group, I get "Error description: Chunk: can't find background" >>> >>> When I put: answer there is a group "11957" into the message box, with the integer in quotes, it return false >>> >>> It doesn't matter if I put answer there is a group "11957" of cd "messages" of this stack, it still returns false. >>> >>> Changing the name of the group to something like "11957A" and the above will answer true. >>> >>> Is this a bug or to prevent names from interfering with LC being able to recognize id's? It seems weird if that is the case, because if you reference by id, you need to use id to preface the integer: >>> answer there is a group id 459899 >>> >>> Anyone have a favorite way of dealing with this? >>> >>> Thanks, >>> >>> Steve MacLean >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From smaclean at madmansoft.com Sat Apr 19 16:15:50 2014 From: smaclean at madmansoft.com (Stephen MacLean) Date: Sat, 19 Apr 2014 16:15:50 -0400 Subject: Problem naming groups with integers In-Reply-To: <7BFDF589-A181-478C-8D49-BFA537055D08@tactilemedia.com> References: <5352A7E3.6070809@gmail.com> <0CCEBBE0-8685-4E30-BC36-3E969682142E@madmansoft.com> <75E3AA22-BB81-4D5C-BA38-6643002A40E9@tactilemedia.com> <56D63FF1-CA44-444F-A836-BC73386371CF@madmansoft.com> <7BFDF589-A181-478C-8D49-BFA537055D08@tactilemedia.com> Message-ID: <2C470420-50ED-429A-A148-54F0855ACB08@madmansoft.com> After this experience, I'm with you on that! Best, Steve On Apr 19, 2014, at 4:13 PM, Scott Rossi wrote: > IMO, using numbers as names is just something to avoid in LC. As you've found, names that are only numbers will cause problems. Better/safer to adopt a different naming convention. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design From dsc at swcp.com Sat Apr 19 16:50:55 2014 From: dsc at swcp.com (Dar Scott) Date: Sat, 19 Apr 2014 14:50:55 -0600 Subject: Problem naming groups with integers In-Reply-To: <56D63FF1-CA44-444F-A836-BC73386371CF@madmansoft.com> References: <5352A7E3.6070809@gmail.com> <0CCEBBE0-8685-4E30-BC36-3E969682142E@madmansoft.com> <75E3AA22-BB81-4D5C-BA38-6643002A40E9@tactilemedia.com> <56D63FF1-CA44-444F-A836-BC73386371CF@madmansoft.com> Message-ID: <6F99E255-FC06-4EA5-803A-B22ADAB6DE71@swcp.com> Yeah, in LiveCode values that even look like numbers (that is, are numerals, strings) or should be numbers (the result of arithmetic) are all treated like numbers and like strings. (It is possible to tell the result of arithmetic from a string, but essentially, numbers and numerals are all the same.) Dar On Apr 19, 2014, at 1:57 PM, Stephen MacLean wrote: > Thanks Scott! > > So, even though I'm enclosing it in quotes, LC still thinks that? > > Strange behavior, since it's a string and not a number, but I can deal with it. Change already made:) > > Best, > > Steve > > On Apr 19, 2014, at 3:51 PM, Scott Rossi wrote: > >> You shouldn't use integers as names because LC thinks you're referring the number of the group. Use a letter prefix or similar, but don't start the name with a number. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX Design >> >>> On Apr 19, 2014, at 12:34 PM, Stephen MacLean wrote: >>> >>> Hi All, >>> >>> I have a list where I name the groups shown with integers (i.e. the id of the record in the db). >>> >>> When I inspect the group, it shows as: group "11957", id 459899 >>> >>> It seems that LC has a problem with finding those groups. When I try to set a property or object contained in the group, I get "Error description: Chunk: can't find background" >>> >>> When I put: answer there is a group "11957" into the message box, with the integer in quotes, it return false >>> >>> It doesn't matter if I put answer there is a group "11957" of cd "messages" of this stack, it still returns false. >>> >>> Changing the name of the group to something like "11957A" and the above will answer true. >>> >>> Is this a bug or to prevent names from interfering with LC being able to recognize id's? It seems weird if that is the case, because if you reference by id, you need to use id to preface the integer: >>> answer there is a group id 459899 >>> >>> Anyone have a favorite way of dealing with this? >>> >>> Thanks, >>> >>> Steve MacLean >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mikedoub at gmail.com Sat Apr 19 17:04:12 2014 From: mikedoub at gmail.com (Michael Doub) Date: Sat, 19 Apr 2014 17:04:12 -0400 Subject: Reference Material Discussion Application Architecture Strategies Message-ID: Is anyone aware of any reference material that discusses strategies for architecting your application with the livecode components and their implications with the standalone builder. As an example, I think that most people understand the basic concept of building a splash screen as the main application and keeping the main logic into a separate stack. Now actually making this happen in the standalone builder and understanding the implications is another thing. By implications I mean, can I use this approach when building and IOS or Android application? I think that the answer is No and Yes. Another interesting topic is the use of stacks vs substacks and how to bundle them all together. Best practices for where to keep images for all of the different screen densities. I know there are quite a few books and sites that help people get started, but I think what I am looking for is more advanced. It is more strategic and architectural. Is seems that one almost needs to understand what the standalone builder is doing under the covers to decide on what strategy might be best in each target environment. Right now I am writing a fairly complex mobile app that has the works, multiple stacks, substacks, libraries and I know about all of the bits and pieces, but how do you decide the best organization for actual deployment and dare I say maintainability. Also since I have never actually launched an app publicly, I don?t know, what I don?t know about the issues ahead of me. Does such reference material exist? Regards, Mike From larry at significantplanet.org Sat Apr 19 17:10:43 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sat, 19 Apr 2014 15:10:43 -0600 Subject: scrolling with the mouse Message-ID: Is there a command to respond to a user who rotates the scroll wheel on a standard windows mouse? TIA Larry From ambassador at fourthworld.com Sat Apr 19 17:19:04 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 19 Apr 2014 14:19:04 -0700 Subject: Problem naming groups with integers In-Reply-To: <2C470420-50ED-429A-A148-54F0855ACB08@madmansoft.com> References: <2C470420-50ED-429A-A148-54F0855ACB08@madmansoft.com> Message-ID: <5352E848.9030509@fourthworld.com> Stephen MacLean wrote: > So, even though I'm enclosing it in quotes, LC still thinks that? > > Strange behavior It seems strange if you're used to working with languages that support explicit data types. Generally speaking, LiveCode is a typeless language. Any value is considered a string, and converted to a number only when doing arithmetic on it, and again automatically converted back to a string when you do any string operation on it: put 123 into x -- x is a string add 4 to x -- x is converted to a number put x into fld 1 -- converted back to a string add 1 to fld 1 -- field 1 is retrieved as a string, converted to -- a number for the arithmetic operation, then -- converted back to a string for display put (fld 1) + 2 into x -- x is a number put "string:" before x -- converted to a string by the concatenation In those few lines we had 8 type coercions, and unlike most languages we didn't have to manually handle any of them. The upside to this is that we don't need to think about data types, as the engine handles the coercion for us automatically as needed. It only becomes problematic when attempting to use strings consisting of only numeric characters as object names, and this is an issue only because LiveCode supports convenient syntax for addressing objects by ordinal number; e.g., to refer to the second field on a card you could write: get the long id of field 2 When the name is an integer, LiveCode has no way to know whether you're asking for the object by name or by ordinal number, since the two forms of syntax as pretty much the same: get the long id of field MyFieldName Putting quotes around values doesn't coerce type, since the language is inherently typeless by nature. Whether comprised of alphanumeric characters or solely numeric characters, a string is a string. Quotes are helpful for readability, and to help the engine distinguish between values which might also be variable names or reserved words. One useful thing about quoting is that it not only makes code more readable to you and clearer to the engine, but since quoted strings can't be variable names or reserved words, they can give you a modest performance boost, since the engine doesn't need to compare the string against lists of variables or language tokens. But whether quoted or not it's still a string, and since objects can be referred to by ordinal number where the syntax is identical to referring to them by name, avoiding integers as names will keep the engine and you both happy. In cases where you need to maintain some sort of integer value in the object's name, you could simply prepend the name with anything else, removing the extra stuff when you to obtain the number, e.g.: set the name of field 1 to "f1" -- get the short name of field 1 delete char 1 of it DoSomethingWithTheNumber 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 m.schonewille at economy-x-talk.com Sat Apr 19 17:33:57 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 19 Apr 2014 23:33:57 +0200 Subject: scrolling with the mouse In-Reply-To: References: Message-ID: <5352EBC5.60506@economy-x-talk.com> Larry, This will respond to the scroll wheel: on rawkeyDown theKey if theKey is 65309 then put "up" else if theKey is 65308 then put "down" else pass rawKeyDown end if end rawkeyDown -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 4/19/2014 23:10, larry at significantplanet.org wrote: > Is there a command to respond to a user who rotates the scroll wheel on a standard windows mouse? > > TIA > Larry From richmondmathewson at gmail.com Sat Apr 19 17:36:47 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 20 Apr 2014 00:36:47 +0300 Subject: mouseButtonNumber Message-ID: <5352EC6F.1090807@gmail.com> when I have a script in a button like this: on mouseUp 1 put "Left button" in fld "whichMouseBtn" end mouseUp 1 I get a "red hot-cross bun": why? Richmond. From prothero at earthednet.org Sat Apr 19 18:01:13 2014 From: prothero at earthednet.org (Earthednet-wp) Date: Sat, 19 Apr 2014 15:01:13 -0700 Subject: Reference Material Discussion Application Architecture Strategies In-Reply-To: References: Message-ID: Michael, Thank you for asking this question. There is certainly a need for this in the community. I am also new to livecode and am converting a rather large app from Director. I am building a cross platform app, and perhaps a mobile version later. Currently I am putting most of my code in the stack scripts of substacks, organized roughly by broad functionality. I started with external stacks that I loaded at runtime, but found it much easier to do script searches if they were substacks. All code is in stack scripts. If I need these pieces for other projects, I can always separate them. That's as far as I've gotten so far. I can imagine getting a large collection of substacks by the time the project is completed. So far all of my substack handlers are able to seamlessly call stack handlers in other substacks, which is nice. I wonder if there are consequences to this approach. One of the big challenges is keeping track of all of the handlers and whether their location in the hierarchy requires special treatment (like a dispatch command). With all of my handlers in stack scripts, I don't have to do this. I'd be very interested in hearing how others organize their projects. Bill William Prothero http://es.earthednet.org > On Apr 19, 2014, at 2:04 PM, Michael Doub wrote: > > Is anyone aware of any reference material that discusses strategies for architecting your application with the livecode components and their implications with the From capellan2000 at gmail.com Sat Apr 19 18:21:31 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 19 Apr 2014 15:21:31 -0700 (PDT) Subject: Vertical Menubar stack In-Reply-To: <5352A7E3.6070809@gmail.com> References: <5352A7E3.6070809@gmail.com> Message-ID: <1397946091681-4678460.post@n4.nabble.com> Hi Richmond, Many Thanks for sharing your stacks! :D Are you going to expand these palettes to allow developers include custom tools (using front or back script) and insert custom controls (like groups)? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Vertical-Menubar-stack-tp4678446p4678460.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at lcsql.com Sat Apr 19 19:05:06 2014 From: pete at lcsql.com (Peter Haworth) Date: Sat, 19 Apr 2014 16:05:06 -0700 Subject: mouseButtonNumber In-Reply-To: <5352EC6F.1090807@gmail.com> References: <5352EC6F.1090807@gmail.com> Message-ID: I think "in" should be "into" Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sat, Apr 19, 2014 at 2:36 PM, Richmond wrote: > when I have a script in a button like this: > > on mouseUp 1 > put "Left button" in fld "whichMouseBtn" > end mouseUp 1 > > I get a "red hot-cross bun": why? > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Sat Apr 19 19:05:52 2014 From: pete at lcsql.com (Peter Haworth) Date: Sat, 19 Apr 2014 16:05:52 -0700 Subject: Problem naming groups with integers In-Reply-To: <7BFDF589-A181-478C-8D49-BFA537055D08@tactilemedia.com> References: <5352A7E3.6070809@gmail.com> <0CCEBBE0-8685-4E30-BC36-3E969682142E@madmansoft.com> <75E3AA22-BB81-4D5C-BA38-6643002A40E9@tactilemedia.com> <56D63FF1-CA44-444F-A836-BC73386371CF@madmansoft.com> <7BFDF589-A181-478C-8D49-BFA537055D08@tactilemedia.com> Message-ID: I think the same advice applies to datagrid column names. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sat, Apr 19, 2014 at 1:13 PM, Scott Rossi wrote: > IMO, using numbers as names is just something to avoid in LC. As you've > found, names that are only numbers will cause problems. Better/safer to > adopt a different naming convention. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > On Apr 19, 2014, at 12:57 PM, Stephen MacLean > wrote: > > > > Thanks Scott! > > > > So, even though I'm enclosing it in quotes, LC still thinks that? > > > > Strange behavior, since it's a string and not a number, but I can deal > with it. Change already made:) > > > > Best, > > > > Steve > > > >> On Apr 19, 2014, at 3:51 PM, Scott Rossi > wrote: > >> > >> You shouldn't use integers as names because LC thinks you're referring > the number of the group. Use a letter prefix or similar, but don't start > the name with a number. > >> > >> Regards, > >> > >> Scott Rossi > >> Creative Director > >> Tactile Media, UX Design > >> > >>> On Apr 19, 2014, at 12:34 PM, Stephen MacLean > wrote: > >>> > >>> Hi All, > >>> > >>> I have a list where I name the groups shown with integers (i.e. the id > of the record in the db). > >>> > >>> When I inspect the group, it shows as: group "11957", id 459899 > >>> > >>> It seems that LC has a problem with finding those groups. When I try > to set a property or object contained in the group, I get "Error > description: Chunk: can't find background" > >>> > >>> When I put: answer there is a group "11957" into the message box, with > the integer in quotes, it return false > >>> > >>> It doesn't matter if I put answer there is a group "11957" of cd > "messages" of this stack, it still returns false. > >>> > >>> Changing the name of the group to something like "11957A" and the > above will answer true. > >>> > >>> Is this a bug or to prevent names from interfering with LC being able > to recognize id's? It seems weird if that is the case, because if you > reference by id, you need to use id to preface the integer: > >>> answer there is a group id 459899 > >>> > >>> Anyone have a favorite way of dealing with this? > >>> > >>> Thanks, > >>> > >>> Steve MacLean > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bvg at mac.com Sat Apr 19 19:40:45 2014 From: bvg at mac.com (=?windows-1252?Q?Bj=F6rnke_von_Gierke?=) Date: Sun, 20 Apr 2014 01:40:45 +0200 Subject: Zurich meeting this summer Message-ID: <7DE003D1-312A-47D8-9FAE-A377CF7BEEBE@mac.com> Hi everyone Me and Mark are starting to prepare a meetup in Zurich (Switzerland), late June or early July. If you?re interested in joining us, it?d be great to know when you?ll be able to participate. Please take two minutes to fill out this date tableau: http://doodle.com/yapygihh3itgz2qr Also, if you are interested, PLEASE SEND ME AN EMAIL directly, so I can let you know about venue and exact date/time, as soon as we know more about those. Currently we aim to sit around, talk about LiveCode and have fun. Obviously knowing German or being Swiss is not a requirement. If you're from further away, I'm in the process of finding suitable accommodations. Maybe we'll do a tour trough the city the day before or after? Nothing has been decided yet, so please send us suggestions, questions, etc. We can?t wait to meet up! Bjoernke von Gierke Mark Schonewille -- Hoi Zs?me Ich und Mark denken dar?ber nach ein Treffen in Z?rich zu organisieren, irgendwann ende Juni oder Anfang Juli. Falls du interessiert bist, w?hre es extrem hilfreich zu wissen dass du teilnehmen willst. W?hl doch bitte deine m?glichen Termine in dieser Tabelle aus: http://doodle.com/yapygihh3itgz2qr Ausserdem SCHICK MIR EINE EMAIL, damit ich dich direkt ?ber Austragungsort, Datum und Zeiten sowie andere Details direkt informieren kann, sobald wir mehr dar?ber wissen. Wir wollen vor allem rumsitzen, quatschen und Spass haben. Schweitzerdeutsch ist nat?rlich keine Voraussetzung. Ich suche derzeit nach ?bernachtungsm?glichkeiten f?r Leute von ausserhalb. Vielleicht gibts auch noch einen Stadtrundgang am Vortag oder so was? Wir haben uns noch nicht festgelegt, also schickt uns auch eure Vorschl?ge, Fragen, und so weiter. Wir freuen uns schon aufs Treffen! Bj?rnke von Gierke Mark Schonewille -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From dsc at swcp.com Sat Apr 19 20:36:19 2014 From: dsc at swcp.com (Dar Scott) Date: Sat, 19 Apr 2014 18:36:19 -0600 Subject: mouseButtonNumber In-Reply-To: References: <5352EC6F.1090807@gmail.com> Message-ID: The 1 after mouseUP in my email confuses me. Maybe they represent something fishy there, too, such as a funny character On Apr 19, 2014, at 5:05 PM, Peter Haworth wrote: > I think "in" should be "into" > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > > > On Sat, Apr 19, 2014 at 2:36 PM, Richmond wrote: > >> when I have a script in a button like this: >> >> on mouseUp 1 >> put "Left button" in fld "whichMouseBtn" >> end mouseUp 1 >> >> I get a "red hot-cross bun": why? >> >> 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 capellan2000 at gmail.com Sat Apr 19 20:42:07 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 19 Apr 2014 17:42:07 -0700 (PDT) Subject: Problem naming groups with integers In-Reply-To: <6F99E255-FC06-4EA5-803A-B22ADAB6DE71@swcp.com> References: <5352A7E3.6070809@gmail.com> <0CCEBBE0-8685-4E30-BC36-3E969682142E@madmansoft.com> <75E3AA22-BB81-4D5C-BA38-6643002A40E9@tactilemedia.com> <56D63FF1-CA44-444F-A836-BC73386371CF@madmansoft.com> <6F99E255-FC06-4EA5-803A-B22ADAB6DE71@swcp.com> Message-ID: <1397954527912-4678465.post@n4.nabble.com> Hi Dar Scott, Dar Scott wrote > Yeah, in LiveCode values that even look like numbers > (that is, are numerals, strings) or should be numbers > (the result of arithmetic) are all treated like numbers > and like strings. (It is possible to tell the result of > arithmetic from a string, but essentially, numbers > and numerals are all the same.) Your explanation remembers me your tutorial: A Primer on Message Mechanics. http://pages.swcp.com/dsc/freedownload/pmm121.zip >From your website: http://pages.swcp.com/dsc/revstacks.html This module (stack file) is a primer on using send, cancel, pendingMessages and callbacks. Those are the basic Revolution components needed to get your stacks to do several things at the same time. The primer starts from the basics and builds on those, providing examples and details along the way. It is 88 tiny pages long and if that is not long enough for you, note that it is set up so you can add your own pages. It is fun and... It is Free! Dar, Are you going to update this tutorial with new lLiveCode messages like: before mouseUp, after mouseUp, etc... Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Vertical-Menubar-stack-tp4678446p4678465.html Sent from the Revolution - User mailing list archive at Nabble.com. From dsc at swcp.com Sat Apr 19 21:49:38 2014 From: dsc at swcp.com (Dar Scott) Date: Sat, 19 Apr 2014 19:49:38 -0600 Subject: Problem naming groups with integers In-Reply-To: <1397954527912-4678465.post@n4.nabble.com> References: <5352A7E3.6070809@gmail.com> <0CCEBBE0-8685-4E30-BC36-3E969682142E@madmansoft.com> <75E3AA22-BB81-4D5C-BA38-6643002A40E9@tactilemedia.com> <56D63FF1-CA44-444F-A836-BC73386371CF@madmansoft.com> <6F99E255-FC06-4EA5-803A-B22ADAB6DE71@swcp.com> <1397954527912-4678465.post@n4.nabble.com> Message-ID: <43D002F3-5363-458F-B126-D0EE50CF4894@swcp.com> Good idea! The stack and the website are old. I need to bring those up to date. The before and after handlers are good things to add to the message path animation. We might see the ball bouncing all over the place. I think Richard has a tutorial or similar on the message path, too, and he might be updating that, also. Dar On Apr 19, 2014, at 6:42 PM, Alejandro Tejada wrote: > Hi Dar Scott, > > > Dar Scott wrote >> Yeah, in LiveCode values that even look like numbers >> (that is, are numerals, strings) or should be numbers >> (the result of arithmetic) are all treated like numbers >> and like strings. (It is possible to tell the result of >> arithmetic from a string, but essentially, numbers >> and numerals are all the same.) > > Your explanation remembers me your tutorial: > > A Primer on Message Mechanics. > http://pages.swcp.com/dsc/freedownload/pmm121.zip > >> From your website: > http://pages.swcp.com/dsc/revstacks.html > > This module (stack file) is a primer on using send, cancel, > pendingMessages and callbacks. Those are the basic Revolution > components needed to get your stacks to do several things at > the same time. The primer starts from the basics and builds on > those, providing examples and details along the way. > It is 88 tiny pages long and if that is not long enough for you, > note that it is set up so you can add your own pages. > It is fun and... It is Free! > > Dar, Are you going to update this tutorial with new lLiveCode > messages like: before mouseUp, after mouseUp, etc... > > Thanks in advance! > > Al > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Vertical-Menubar-stack-tp4678446p4678465.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 capellan2000 at gmail.com Sun Apr 20 02:06:27 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 19 Apr 2014 23:06:27 -0700 (PDT) Subject: NEW Amazing revBrowserCef in LiveCode 6.7 (dp1) Message-ID: <1397973987433-4678467.post@n4.nabble.com> YOUR BROWSER SCORES 452 OUT OF 555 POINTS Interesting enough, Google Chrome 34 scores 503 of 555. Effectively, this modern browser component allows to open webM and static webP images (not animated webP, yet) within our stacks. webP images: https://www.gstatic.com/webp/gallery3/1_webp_a.webp https://www.gstatic.com/webp/gallery3/2_webp_ll.webp http://www.gstatic.com/webp/gallery/1.webp http://www.gstatic.com/webp/gallery/4.webp webP Animation: (do not works inside revBrowserOpenCEF, yet) https://www.gstatic.com/webp/animated/1.webp http://downloads.webmproject.org/webp/images/dancing_banana2.lossless.webp webM video: http://www.w3schools.com/html/html5_video.asp Test this new browser really quick: Open the stack "Browser Sampler" from the folder "Examples" inside the folder "Resources" of your LiveCode 6.7 (dp1) installation. Open the substack "InetBrowser" of the stack "Browser Sampler". In the card script of this substack, change: revBrowserOpen to: revBrowserOpenCef Save the substack and hilite the checkbox Browser ON Visit: http://html5test.com/ using revBrowserOpenCef within LiveCode 6.7 (dp1). What is the browser score in your platform? Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/NEW-Amazing-revBrowserCef-in-LiveCode-6-7-dp1-tp4678467.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Sun Apr 20 02:46:22 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 20 Apr 2014 09:46:22 +0300 Subject: Vertical Menubar stack In-Reply-To: <1397946091681-4678460.post@n4.nabble.com> References: <5352A7E3.6070809@gmail.com> <1397946091681-4678460.post@n4.nabble.com> Message-ID: <53536D3E.5020801@gmail.com> On 20/04/14 01:21, Alejandro Tejada wrote: > Hi Richmond, > > Many Thanks for sharing your stacks! :D > > Are you going to expand these palettes to > allow developers include custom tools > (using front or back script) and insert > custom controls (like groups)? > > Al > > All I am doing is reorienting the palettes. As it is really quite easy to do this (open the script under one of the images), there is no reason why people cannot start expanding. I made an expanded revTools stack for RR/LC 2.0.1 many years ago, but that involved actually adding extensive amounts of stuff; then as soon as RunRev changed the way revTools looked/worked, my version non longer worked. I don't feel like making that sort of effort at the risk of that happening again. Richmond. From larry at significantplanet.org Sun Apr 20 03:06:34 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sun, 20 Apr 2014 01:06:34 -0600 Subject: play video within a stack Message-ID: <76A6D8D3A7C4493DADE980540385D462@userd204a4d61c> Hello All, Is there a way to link to a YouTube video, but play the video within my stack without having to embed the video? I mean, the user clicks on a "Play" button within the stack and then it will play the linked video right in the app, without opening a browser for YouTube. Any help will be greatly appreciated. Larry From richmondmathewson at gmail.com Sun Apr 20 04:54:12 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 20 Apr 2014 11:54:12 +0300 Subject: Vertical Menubar stack In-Reply-To: <1397946091681-4678460.post@n4.nabble.com> References: <5352A7E3.6070809@gmail.com> <1397946091681-4678460.post@n4.nabble.com> Message-ID: <53538B34.6040605@gmail.com> Now with Fruity Flavours: http://andregarzia.on-rev.com/richmond/HA3a.zip Richmond. From paul at researchware.com Sun Apr 20 08:36:26 2014 From: paul at researchware.com (Paul Dupuis) Date: Sun, 20 Apr 2014 08:36:26 -0400 Subject: North East Livecode User Group upcoming meeting... Message-ID: <5353BF4A.2010309@researchware.com> The North East Livecode User Group (NELUG) is having its second virtual (online) meeting on Saturday, April 26th, 2014 at 2PM EDT. For more information on how to join the group or the meeting, please see http://www.researchware.com/nelug. From pmbrig at gmail.com Sun Apr 20 08:43:09 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sun, 20 Apr 2014 08:43:09 -0400 Subject: mouseButtonNumber In-Reply-To: <5352EC6F.1090807@gmail.com> References: <5352EC6F.1090807@gmail.com> Message-ID: <2DED2FFD-0247-4406-8589-49BB0695DB2F@gmail.com> On Apr 19, 2014, at 5:36 PM, Richmond wrote: > when I have a script in a button like this: > > on mouseUp 1 > put "Left button" in fld "whichMouseBtn" > end mouseUp 1 > > I get a "red hot-cross bun": why? Check the syntax for the mouseup command. The command expects one parameter, mouseButtonNumber. Also, it's put into, not put in. Try this instead: on mouseup tBtn if tBtn = 1 then put "Left button" into fld "whichMouseBtn" else if tBrn = 3 then put "Right button" into fld "whichMouseBtn" end if end mouseup -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From richmondmathewson at gmail.com Sun Apr 20 08:56:21 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 20 Apr 2014 15:56:21 +0300 Subject: mouseButtonNumber In-Reply-To: <2DED2FFD-0247-4406-8589-49BB0695DB2F@gmail.com> References: <5352EC6F.1090807@gmail.com> <2DED2FFD-0247-4406-8589-49BB0695DB2F@gmail.com> Message-ID: <5353C3F5.8080008@gmail.com> On 20/04/14 15:43, Peter M. Brigham wrote: > On Apr 19, 2014, at 5:36 PM, Richmond wrote: > >> when I have a script in a button like this: >> >> on mouseUp 1 >> put "Left button" in fld "whichMouseBtn" >> end mouseUp 1 >> >> I get a "red hot-cross bun": why? > Check the syntax for the mouseup command. The command expects one parameter, mouseButtonNumber. Also, it's put into, not put in. > > Try this instead: > > on mouseup tBtn > if tBtn = 1 then > put "Left button" into fld "whichMouseBtn" > else if tBrn = 3 then > put "Right button" into fld "whichMouseBtn" > end if > end mouseup > > -- Peter > > Gotcha: thank you very much indeed. Richmond. From capellan2000 at gmail.com Sun Apr 20 09:53:07 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 20 Apr 2014 06:53:07 -0700 (PDT) Subject: play video within a stack In-Reply-To: <76A6D8D3A7C4493DADE980540385D462@userd204a4d61c> References: <76A6D8D3A7C4493DADE980540385D462@userd204a4d61c> Message-ID: <1398001987807-4678474.post@n4.nabble.com> Hi Larry, larry wrote > Is there a way to link to a YouTube video, but play the video > within my stack without having to embed the video? yes, you could use the revbrowser: http://lists.runrev.com/pipermail/use-livecode/2014-April/200977.html Have a nice week! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/play-video-within-a-stack-tp4678469p4678474.html Sent from the Revolution - User mailing list archive at Nabble.com. From mkoob at rogers.com Sun Apr 20 10:38:10 2014 From: mkoob at rogers.com (Martin Koob) Date: Sun, 20 Apr 2014 07:38:10 -0700 (PDT) Subject: NEW Amazing revBrowserCef in LiveCode 6.7 (dp1) In-Reply-To: <1397973987433-4678467.post@n4.nabble.com> References: <1397973987433-4678467.post@n4.nabble.com> Message-ID: <1398004690253-4678475.post@n4.nabble.com> I got 380/555 using webkit on Mac OS X 10.8.5. It shows WebP as not supported. Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/NEW-Amazing-revBrowserCef-in-LiveCode-6-7-dp1-tp4678467p4678475.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Sun Apr 20 10:57:30 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 20 Apr 2014 07:57:30 -0700 (PDT) Subject: NEW Amazing revBrowserCef in LiveCode 6.7 (dp1) In-Reply-To: <1398004690253-4678475.post@n4.nabble.com> References: <1397973987433-4678467.post@n4.nabble.com> <1398004690253-4678475.post@n4.nabble.com> Message-ID: <1398005850872-4678476.post@n4.nabble.com> Hi Martin, Martin Koob wrote > I got 380/555 using webkit on Mac OS X 10.8.5. It shows WebP as not > supported. Chromium Embedded Framework is available for Mac OS X: http://www.magpcss.net/cef_downloads/ Are you using revBrowserOpenCef for this test? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/NEW-Amazing-revBrowserCef-in-LiveCode-6-7-dp1-tp4678467p4678476.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Sun Apr 20 11:14:33 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 20 Apr 2014 08:14:33 -0700 (PDT) Subject: Visual Effects on LiveCode 7 (dp2) Message-ID: <1398006873888-4678477.post@n4.nabble.com> Hi all, I have been testing all the visual effects in LiveCode 7 dp2 and after playing a series of effects, LiveCode hangs. You can use this stack in LiveCode format (not *.mc) from: https://dl.dropboxusercontent.com/u/3834621/demoMC27.livecode If your OS or LiveCode version have problems playing sounds then use this version: https://dl.dropboxusercontent.com/u/3834621/demoMC27_no_sounds.livecode In this stack, click the navigation arrows to visit a card that lists all visual effects in a field. Follow the instructions (Click the eye button) and watch the effect displays on the card or button. This is an old stack, (20 or more years old!!!!) so play it isolated... Please, post the results of your tests. Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Visual-Effects-on-LiveCode-7-dp2-tp4678477.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Sun Apr 20 11:13:57 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 20 Apr 2014 08:13:57 -0700 Subject: NEW Amazing revBrowserCef in LiveCode 6.7 (dp1) In-Reply-To: <1397973987433-4678467.post@n4.nabble.com> References: <1397973987433-4678467.post@n4.nabble.com> Message-ID: <1751677432580.20140420081357@ahsoftware.net> Alejandro- Saturday, April 19, 2014, 11:06:27 PM, you wrote: > What is the browser score in your platform? Sadly, there is still no revbrowser on linux. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From capellan2000 at gmail.com Sun Apr 20 11:28:11 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 20 Apr 2014 08:28:11 -0700 (PDT) Subject: NEW Amazing revBrowserCef in LiveCode 6.7 (dp1) In-Reply-To: <1398005850872-4678476.post@n4.nabble.com> References: <1397973987433-4678467.post@n4.nabble.com> <1398004690253-4678475.post@n4.nabble.com> <1398005850872-4678476.post@n4.nabble.com> Message-ID: <1398007691363-4678478.post@n4.nabble.com> Mark Wieder wrote: > Sadly, there is still no revbrowser on linux. Chromium Embedded Framework is available for Linux, too: http://www.magpcss.net/cef_downloads/ Let's keep the hope! :) Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/NEW-Amazing-revBrowserCef-in-LiveCode-6-7-dp1-tp4678467p4678478.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Sun Apr 20 11:41:42 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 20 Apr 2014 18:41:42 +0300 Subject: Visual Effects on LiveCode 7 (dp2) In-Reply-To: <1398006873888-4678477.post@n4.nabble.com> References: <1398006873888-4678477.post@n4.nabble.com> Message-ID: <5353EAB6.7030809@gmail.com> On 20/04/14 18:14, Alejandro Tejada wrote: > Hi all, > > I have been testing all the visual effects in LiveCode 7 dp2 > and after playing a series of effects, LiveCode hangs. > > You can use this stack in LiveCode format (not *.mc) from: > https://dl.dropboxusercontent.com/u/3834621/demoMC27.livecode > > If your OS or LiveCode version have problems playing sounds then > use this version: > https://dl.dropboxusercontent.com/u/3834621/demoMC27_no_sounds.livecode > > In this stack, click the navigation arrows to visit a card > that lists all visual effects in a field. Follow the instructions > (Click the eye button) and watch the effect displays > on the card or button. > > This is an old stack, (20 or more years old!!!!) so play it isolated... > Please, post the results of your tests. > > Thanks in advance! > > Al > > Just performed that test; and I must be lucky, but I had absolutely no problems at all: Community 7.0 dp2, Ubuntu Studio 14.04, 6 GB RAM, Dell Optiplex 745. Richmond. From marc.vancauwenberghe at pandora.be Sun Apr 20 11:52:42 2014 From: marc.vancauwenberghe at pandora.be (Marc Van Cauwenberghe) Date: Sun, 20 Apr 2014 17:52:42 +0200 Subject: listserv integration in forum Message-ID: <114D8D74-C9EE-410F-83F8-BF48A008D21D@pandora.be> Hi, I would like to propose a sync option so that all listserv mailing be integrated into the forum. That would give everybody a 'one place' search tool and knowledge depot. Maybe our newly appointed representative would would be willing to take this up :) Voting can commence. Marc Forum: http://forums.runrev.com/viewtopic.php?f=5&t=20100#p101845 From capellan2000 at gmail.com Sun Apr 20 12:16:38 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 20 Apr 2014 09:16:38 -0700 (PDT) Subject: Image quality changes image size Message-ID: <1398010598790-4678482.post@n4.nabble.com> Hi All, Could you please verify this very subtle image display bug? 1) Look for a 32 pixel image. You could download a 32 pixel PNG or JPG icon like: https://www.iconfinder.com/search/?q=32px&price=free 2) Import this 32 pixel image in a new stack and resize this really small image as big as stack window. 3) Select this image and open the Property Inspector. change the quality of the image from normal to best. Notice how the image grew within it's own boundary. The image do not grows larger, it grew within the image boundary. If you use a plain image, instead of a png with alpha channel you will notice that the image crops against its boundaries. In my test image of an human eye, the effect is really noticeable. Please, report if you get different results. Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Image-quality-changes-image-size-tp4678482.html Sent from the Revolution - User mailing list archive at Nabble.com. From cszasz at me.com Sun Apr 20 12:18:06 2014 From: cszasz at me.com (Charles Szasz) Date: Sun, 20 Apr 2014 12:18:06 -0400 Subject: Counting the number of checkboxes... Message-ID: <6EB62E99-6D02-45A6-AEF8-4763C736E2CD@me.com> I have 28 checkboxes on two cards. I need to count the total number of checkboxes checked by the user. I have throughout the archives and could not find an example of how to do this. Anybody have a suggestion on how to script this? Charles Szasz cszasz at mac.com From capellan2000 at gmail.com Sun Apr 20 12:30:24 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 20 Apr 2014 09:30:24 -0700 (PDT) Subject: listserv integration in forum In-Reply-To: <114D8D74-C9EE-410F-83F8-BF48A008D21D@pandora.be> References: <114D8D74-C9EE-410F-83F8-BF48A008D21D@pandora.be> Message-ID: <1398011424880-4678484.post@n4.nabble.com> If you ask me, all forum messages should be reposted as new threads to the mail list... :D Why not creating a stack that do this? A stack that presents both the forums and mail lists, side by side and allows to rate the interest of the topics. A stack like this is way above my own experience but should be possible for the very experienced developers in this platform. 8) Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/listserv-integration-in-forum-tp4678481p4678484.html Sent from the Revolution - User mailing list archive at Nabble.com. From mikedoub at gmail.com Sun Apr 20 12:35:21 2014 From: mikedoub at gmail.com (Michael Doub) Date: Sun, 20 Apr 2014 12:35:21 -0400 Subject: Reference Material Discussion Application Architecture Strategies In-Reply-To: References: Message-ID: <8E06C236-CA73-47F6-B5E1-148DDFEFD175@gmail.com> My coding style has evolved to trying to put code in Libraries, Stack and Cards. I only put stubs that call other handlers in the objects themselves. This is the code organization part. I was putting my library stacks in as substacks and when I started seeing the naming conflict messages I started looking into where these should go. I always seemed to have problems with ?start using? unless the stack was already in memory, so I still feel that I am missing something relating to the basics loading stacks. Bill, are you building your stand alone yet? This is where I really started to ask questions. Why is there an option to move substacks into individual stacks? When I made everything substacks I really didn?t think too much about the standalone builder. Now that I have both I feel I need to understand what is going on and why. -= Mike On Apr 19, 2014, at 6:01 PM, Earthednet-wp wrote: > Michael, > Thank you for asking this question. There is certainly a need for this in the community. I am also new to livecode and am converting a rather large app from Director. I am building a cross platform app, and perhaps a mobile version later. Currently I am putting most of my code in the stack scripts of substacks, organized roughly by broad functionality. I started with external stacks that I loaded at runtime, but found it much easier to do script searches if they were substacks. All code is in stack scripts. If I need these pieces for other projects, I can always separate them. That's as far as I've gotten so far. I can imagine getting a large collection of substacks by the time the project is completed. So far all of my substack handlers are able to seamlessly call stack handlers in other substacks, which is nice. I wonder if there are consequences to this approach. > > One of the big challenges is keeping track of all of the handlers and whether their location in the hierarchy requires special treatment (like a dispatch command). With all of my handlers in stack scripts, I don't have to do this. > > I'd be very interested in hearing how others organize their projects. > Bill > > William Prothero > http://es.earthednet.org > >> On Apr 19, 2014, at 2:04 PM, Michael Doub wrote: >> >> Is anyone aware of any reference material that discusses strategies for architecting your application with the livecode components and their implications with the > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 20 12:38:30 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 20 Apr 2014 19:38:30 +0300 Subject: Vertical Menubar stack In-Reply-To: <1397946091681-4678460.post@n4.nabble.com> References: <5352A7E3.6070809@gmail.com> <1397946091681-4678460.post@n4.nabble.com> Message-ID: <5353F806.2050400@gmail.com> Cheaper than LSD, a lot safer, and less likely to send you to prison: http://andregarzia.on-rev.com/richmond/HA3b.zip Richmond. From marc.vancauwenberghe at pandora.be Sun Apr 20 12:45:42 2014 From: marc.vancauwenberghe at pandora.be (Marc Van Cauwenberghe) Date: Sun, 20 Apr 2014 18:45:42 +0200 Subject: listserv integration in forum In-Reply-To: <1398011424880-4678484.post@n4.nabble.com> References: <114D8D74-C9EE-410F-83F8-BF48A008D21D@pandora.be> <1398011424880-4678484.post@n4.nabble.com> Message-ID: <8F384A64-9D08-45B7-AA40-2C16CB704656@pandora.be> Hihi, the never ending discussion between pro?s an cons of mailing lista vs forums. Many pages have been writen about it :) Still no one can argue that having a place where you can search both at once is not useful. Pro list server people already have something like an forum summary that can be send to there mail. I do not think setting up a list serve to forum functionality is vey difficult (although difficult for me). It is talked about on the phpBB site. I just see that you replied in the forum as well. All very confusing having several places. But my fault started it on both places :) Marc Op 20-apr.-2014, om 18:30 heeft Alejandro Tejada het volgende geschreven: > If you ask me, all forum messages should be > reposted as new threads to the mail list... :D > > Why not creating a stack that do this? > A stack that presents both the forums > and mail lists, side by side and allows > to rate the interest of the topics. > > A stack like this is way above my own experience > but should be possible for the very experienced > developers in this platform. 8) > > Al > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/listserv-integration-in-forum-tp4678481p4678484.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 capellan2000 at gmail.com Sun Apr 20 13:50:20 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 20 Apr 2014 10:50:20 -0700 (PDT) Subject: 7 historical decisions that continue to pain programmers Message-ID: <1398016220357-4678488.post@n4.nabble.com> http://www.itworld.com/slideshow/143194/ouch-7-historical-decisions-continue-pain-programmers-408245 1) Unix hides dot files 2) JavaScript uses + for string concatenation 3) Microsoft chooses backslash as path delimiter 4) Python uses indentation to denote blocks 5) Tony Hoare invents the null reference 6) JavaScript implements semicolon insertion 7) How to represent dates -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/7-historical-decisions-that-continue-to-pain-programmers-tp4678488.html Sent from the Revolution - User mailing list archive at Nabble.com. From revdev at pdslabs.net Sun Apr 20 13:56:07 2014 From: revdev at pdslabs.net (Phil Davis) Date: Sun, 20 Apr 2014 10:56:07 -0700 Subject: play video within a stack In-Reply-To: <76A6D8D3A7C4493DADE980540385D462@userd204a4d61c> References: <76A6D8D3A7C4493DADE980540385D462@userd204a4d61c> Message-ID: <53540A37.2020205@pdslabs.net> You can set the filename of a player object to a URL. This works with my videos on Vimeo at least, so I'm thinking there may be a way to get a URL from YouTube that will work as well. But so far (after 5 minutes) I haven't succeeded. Phil Davis On 4/20/14, 12:06 AM, larry at significantplanet.org wrote: > Hello All, > Is there a way to link to a YouTube video, but play the video within my stack without having to embed the video? > > I mean, the user clicks on a "Play" button within the stack and then it will play the linked video right in the app, without opening a browser for YouTube. > > Any help will be greatly appreciated. > > Larry > _______________________________________________ > use-livecode mailing list > use-livecode 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 dave at applicationinsight.com Sun Apr 20 14:05:39 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Sun, 20 Apr 2014 11:05:39 -0700 (PDT) Subject: Counting the number of checkboxes... In-Reply-To: <6EB62E99-6D02-45A6-AEF8-4763C736E2CD@me.com> References: <6EB62E99-6D02-45A6-AEF8-4763C736E2CD@me.com> Message-ID: <1398017139360-4678490.post@n4.nabble.com> Hi Charles If it was me I would be thinking of including something like a 'recordCheck' handler in the stack's script that would be called by the mouseUp handler of each checkbox button (or even better set the behaviour of each checkbox button to the script of a button - but that is a bit more advanced and a handler in the stack will work fine...) In the 'recordCheck' handler I would record the name of the checkbox button clicked and store it in some way, perhaps in a global variable or perhaps writing it to a text file. The button's stack might be something like: on mouseUp put the short name of me into pName put the hilite of me into pState recordCheck pName, pState end mouseUp The handler in the stack might be something like: on recordCheck pName pState put pName & tab & pState & cr after gListOfCheckedButtons end recordCheck So you can see that the name of the checkbox plus it's state has been sent to the handler in the stack, that handler has appended the name and it's state to a global variable 'gListOfCheckedButtons' - and then when you need to find out what has been checked just look in the global variable. PS: please note you should declare the global at the top of the script's stack and you should also add some code to allow for when a user might repeatedly check and uncheck a checkbox. Also I haven't included anything about storing the data if you need to access it between launches of the stack. But I've given you enough to get you started? Anyway, this is one way of doing what you want to, there are many others :) Good luck Dave ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Counting-the-number-of-checkboxes-tp4678483p4678490.html Sent from the Revolution - User mailing list archive at Nabble.com. From paulhibbert at mac.com Sun Apr 20 17:01:53 2014 From: paulhibbert at mac.com (Paul Hibbert) Date: Sun, 20 Apr 2014 14:01:53 -0700 Subject: Counting the number of checkboxes... In-Reply-To: <6EB62E99-6D02-45A6-AEF8-4763C736E2CD@me.com> References: <6EB62E99-6D02-45A6-AEF8-4763C736E2CD@me.com> Message-ID: Charles, Here's another option. My immediate thought was that this could be a use for an "after mouseUp" handler in a behaviour button, so I tried this? ## Checkbox Behaviour Button Script ## This just loops through the controls on two cards and counts any highlighted checkbox after mouseUp put 0 into tTotal -- Reset the counter repeat with x = 1 to the number of controls on card "Card_A" if the style of control x of card "Card_A" = "checkbox" and \ the hilite of control x of card "Card_A" then add 1 to tTotal end repeat repeat with x = 1 to the number of controls on card "Card_B" if the style of control x of card "Card_B" = "checkbox" and \ the hilite of control x of card "Card_B" then add 1 to tTotal end repeat put tTotal into fld "countField" of card "Card_A" -- OR maybe store in a custom property untill needed end mouseUp ?and it does work OK. In this case the count will always be up-to-date with each checkbox change even if the user changes his/her mind and un-checks a previously checked control. It does mean applying the behaviour to all 28 checkboxes though, but you can do that easily with a repeat script in the multiline message box. I'm sure there are many other ideas out there. Paul On 2014-04-20, at 9:18 AM, Charles Szasz wrote: > I have 28 checkboxes on two cards. I need to count the total number of checkboxes checked by the user. I have throughout the archives and could not find an example of how to do this. Anybody have a suggestion on how to script this? > > Charles Szasz > cszasz at mac.com > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From cszasz at me.com Sun Apr 20 17:37:15 2014 From: cszasz at me.com (Charles Szasz) Date: Sun, 20 Apr 2014 17:37:15 -0400 Subject: Counting the number of checkboxes... Message-ID: Paul, Your script perfectly! Thanks so much! I was working on a repeat loop but you saved me a great deal of time. And I had to have this before tomorrow! Thanks again! Dave, thanks for taking time to offer a scripting solution. I tried Paul?s script before trying yours. I will take a look at your script. Charles Szasz cszasz at mac.com From pete at lcsql.com Sun Apr 20 17:57:32 2014 From: pete at lcsql.com (Peter Haworth) Date: Sun, 20 Apr 2014 14:57:32 -0700 Subject: Counting the number of checkboxes... In-Reply-To: References: <6EB62E99-6D02-45A6-AEF8-4763C736E2CD@me.com> Message-ID: You could save a few tick by using "the n umber of buttons" instead of "the number of controls" and changing reference to "control x" to "button x". Rather than set the behavior on 28 buttons, and assuming the cards are in the same stack, just put the mouseUp handler into the stack script. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sun, Apr 20, 2014 at 2:01 PM, Paul Hibbert wrote: > Charles, > > Here's another option. > > My immediate thought was that this could be a use for an "after mouseUp" > handler in a behaviour button, so I tried this? > > ## Checkbox Behaviour Button Script > ## This just loops through the controls on two cards and counts any > highlighted checkbox > after mouseUp > put 0 into tTotal -- Reset the counter > > repeat with x = 1 to the number of controls on card "Card_A" > if the style of control x of card "Card_A" = "checkbox" and \ > the hilite of control x of card "Card_A" then add 1 to tTotal > end repeat > > repeat with x = 1 to the number of controls on card "Card_B" > if the style of control x of card "Card_B" = "checkbox" and \ > the hilite of control x of card "Card_B" then add 1 to tTotal > end repeat > > put tTotal into fld "countField" of card "Card_A" > -- OR maybe store in a custom property untill needed > end mouseUp > > ?and it does work OK. In this case the count will always be up-to-date > with each checkbox change even if the user changes his/her mind and > un-checks a previously checked control. > > It does mean applying the behaviour to all 28 checkboxes though, but you > can do that easily with a repeat script in the multiline message box. > > I'm sure there are many other ideas out there. > > Paul > > On 2014-04-20, at 9:18 AM, Charles Szasz wrote: > > > I have 28 checkboxes on two cards. I need to count the total number of > checkboxes checked by the user. I have throughout the archives and could > not find an example of how to do this. Anybody have a suggestion on how > to script this? > > > > Charles Szasz > > cszasz at mac.com > > > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From cszasz at me.com Sun Apr 20 19:04:00 2014 From: cszasz at me.com (Charles Szasz) Date: Sun, 20 Apr 2014 19:04:00 -0400 Subject: Counting the number of checkboxes... Message-ID: <2245F5ED-F3C3-43DB-9FCA-4F6C97C56DDF@me.com> Peter, You suggestion not only is faster but also works better than using controls in the repeat script. I found that using controls does not work with more than 16 checkboxes. In my sample stack, the script using control works but there are only four checkboxes. Thanks! Charles Szasz cszasz at mac.com From lan.kc.macmail at gmail.com Sun Apr 20 22:44:39 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 21 Apr 2014 10:44:39 +0800 Subject: Problem naming groups with integers In-Reply-To: References: <5352A7E3.6070809@gmail.com> <0CCEBBE0-8685-4E30-BC36-3E969682142E@madmansoft.com> <75E3AA22-BB81-4D5C-BA38-6643002A40E9@tactilemedia.com> <56D63FF1-CA44-444F-A836-BC73386371CF@madmansoft.com> <7BFDF589-A181-478C-8D49-BFA537055D08@tactilemedia.com> Message-ID: On Sun, Apr 20, 2014 at 7:05 AM, Peter Haworth wrote: > I think the same advice applies to datagrid column names. > > The advise applies to naming EVERYTHING in LC. I don't know how to link to old posts so I'll just repost my own recent naming faux pas: As heads up for others who may not have read/remembered this, let me share a very recent experience that resulted in a properly corrupted stack file. In my shear brilliance (shortsightedness) I created a script that ran through a bunch of Folders on my HD and created a custom property set the name of each being the folder's name. It then created a custom property for each file within that folder, the CP name being the name of the file, the contents of the CP being some metadata about the file. To cap off my near genius (stupidity) I ran the file names through urlEncode() as I was going to send some of the info across a network. Great, a dozen or so CPSs created with a couple of hundred CPs in each, all using array notation, all done in a blink of the eye. Everything worked fine for a while. A glance at the CPSs and the CPs with the Inspector all looked good. And then things started misbehaving, and then it all went The Omen on me, my stack was possessed. Scripts didn't work any more, strange data was turning up in variables, CPSs and CPs started disappearing, the Inspector started showing some data from one object and other data from a different object. I'm pretty sure the cause was this, from the LC User Guide: ---------------- Custom Property Names The name of a custom property must consist of a single word and may contain any combination of letters, digits, and underscores (_). The first character must be either a letter or an underscore. Custom Property Set Names The names of custom property sets should consist of a single word, with any combination of letters, digits, and underscores (_). The first character should be either a letter or an underscore. It is possible to create a custom property set with a name that has more than one word, or that otherwise doesn't conform to these guidelines. However, this is not recommended, because such a custom property set can't be used with the array notation described below. ---------------- THESE NAMING CONVENTIONS DO NOT APPEAR IN THE DICTIONARY, at least not under the entries for customProperties, customPropertySet, customPropertySets. And, as if to tempt you into dark and foreboding corners, the example for customPropertySet is: set the customPropertySet of me to "Mac Properties" Needless to say, I had several folders whose name was either multi-word and/or started with a digit. For file names, although the use of urlEncode() accidentally solved the problem of multi-word names, it merely passed the buck by introducing characters such % and + instead of commas, spaces and parenthesis. I still had many file names and therefore CP names which started with a digit and EVERYONE included a period. Now whether or not LC should have stopped me from creating such is a mute point. It did, things worked for a while using array notation, and then it broke. From lan.kc.macmail at gmail.com Sun Apr 20 22:55:41 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 21 Apr 2014 10:55:41 +0800 Subject: 7 historical decisions that continue to pain programmers In-Reply-To: <1398016220357-4678488.post@n4.nabble.com> References: <1398016220357-4678488.post@n4.nabble.com> Message-ID: I would think Richard would put 'the CSV file' as well and truly N? 1. On Mon, Apr 21, 2014 at 1:50 AM, Alejandro Tejada wrote: > > http://www.itworld.com/slideshow/143194/ouch-7-historical-decisions-continue-pain-programmers-408245 > > 1) Unix hides dot files > 2) JavaScript uses + for string concatenation > 3) Microsoft chooses backslash as path delimiter > 4) Python uses indentation to denote blocks > 5) Tony Hoare invents the null reference > 6) JavaScript implements semicolon insertion > 7) How to represent dates > > > > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/7-historical-decisions-that-continue-to-pain-programmers-tp4678488.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 Sun Apr 20 23:28:31 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 20 Apr 2014 20:28:31 -0700 Subject: Problem naming groups with integers Message-ID: <5e5af56fd64c8a42ee380feba17fe131@fourthworld.com> Kay C. Lan wrote: > Great, a dozen or so CPSs created with a couple of hundred CPs > in each, all using array notation, all done in a blink of the > eye. Everything worked fine for a while. A glance at the CPSs > and the CPs with the Inspector all looked good. And then things > started misbehaving, and then it all went The Omen on me, my > stack was possessed. Scripts didn't work any more, strange > data was turning up in variables, CPSs and CPs started > disappearing, the Inspector started showing some data from one > object and other data from a different object. I've used multi-word values with darn near everything but NULL in prop names without issue ( the docs politely err on the side of safety). The only circumstance I've seen that was like yours was when I attempted to use keys whose length exceeded the documented maximum of 255 bytes. Was that a possibility? -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From calhorner at xtra.co.nz Sun Apr 20 23:39:30 2014 From: calhorner at xtra.co.nz (Cal Horner) Date: Mon, 21 Apr 2014 15:39:30 +1200 (New Zealand Standard Time) Subject: Accessing Substack Data Files Message-ID: <535492D6.000017.05088@CALS_BIG_PC> I'm building, or should I say rebuilding, a stackfile that contains many substacks. To get the stackfile I'll use the standard Answer/Ask file commands and then use go invisible or go to to get at the data in the substacks. No problem. But this got me to wondering. If I wanted to use the Answer/Ask File command to get to a substack, could I? I don't seem to be able too. I can't seem to find an answer supplied by the people at RunRev, so I'm asking users here if they have answer. Something simple and easy. Perhaps some (obscure?) command that will access a subfile much like either the Answer/Ask file might. Cal From lan.kc.macmail at gmail.com Mon Apr 21 04:56:18 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 21 Apr 2014 16:56:18 +0800 Subject: Problem naming groups with integers In-Reply-To: <5e5af56fd64c8a42ee380feba17fe131@fourthworld.com> References: <5e5af56fd64c8a42ee380feba17fe131@fourthworld.com> Message-ID: On Mon, Apr 21, 2014 at 11:28 AM, Richard Gaskin wrote: > > The only circumstance I've seen that was like yours was when I attempted > to use keys whose length exceeded the documented maximum of 255 bytes. > No, I can't imagine that was the case although I wouldn't guarnatee it wasn't. Most of the names were only 2 or 3 words long. From dave at applicationinsight.com Mon Apr 21 05:05:29 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Mon, 21 Apr 2014 02:05:29 -0700 (PDT) Subject: Counting the number of checkboxes... In-Reply-To: <2245F5ED-F3C3-43DB-9FCA-4F6C97C56DDF@me.com> References: <6EB62E99-6D02-45A6-AEF8-4763C736E2CD@me.com> <2245F5ED-F3C3-43DB-9FCA-4F6C97C56DDF@me.com> Message-ID: <1398071129884-4678501.post@n4.nabble.com> Charles - glad you've found custom properties of use (a neater solution than mine) - but why couldn't your script go above 16 controls? ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Counting-the-number-of-checkboxes-tp4678483p4678501.html Sent from the Revolution - User mailing list archive at Nabble.com. From gerry.orkin at gmail.com Mon Apr 21 08:10:22 2014 From: gerry.orkin at gmail.com (Gerry) Date: Mon, 21 Apr 2014 22:10:22 +1000 Subject: Counting the number of checkboxes... In-Reply-To: <1398071129884-4678501.post@n4.nabble.com> References: <6EB62E99-6D02-45A6-AEF8-4763C736E2CD@me.com> <2245F5ED-F3C3-43DB-9FCA-4F6C97C56DDF@me.com> <1398071129884-4678501.post@n4.nabble.com> Message-ID: <7362067C-37F2-4862-99F9-956970FC991B@gmail.com> Late to this party but I would have thought that the simplest solution was to have a field on one of the cards that has 0 in it at the start. Then in each check box button have a script that simply adds 1 to the value in that field when the check box is clicked on, and subtracts 1 from the field when the check box is clicked off. Whenever you need to know how many of the check boxes are on just get the number from that field. Gerry From richmondmathewson at gmail.com Mon Apr 21 08:21:47 2014 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 21 Apr 2014 15:21:47 +0300 Subject: Vertical Menubar stack In-Reply-To: <1397946091681-4678460.post@n4.nabble.com> References: <5352A7E3.6070809@gmail.com> <1397946091681-4678460.post@n4.nabble.com> Message-ID: <53550D5B.5030004@gmail.com> Horizontal, Text-Only revMenubar stack: http://andregarzia.on-rev.com/richmond/HA3c.zip Richmond. From iowahengst at mac.com Mon Apr 21 10:14:23 2014 From: iowahengst at mac.com (Randy Hengst) Date: Mon, 21 Apr 2014 09:14:23 -0500 Subject: Vertical Menubar stack In-Reply-To: <5352A7E3.6070809@gmail.com> References: <5352A7E3.6070809@gmail.com> Message-ID: <2F653D95-5B0F-4F8D-AC38-429CE3992ED2@mac.com> FYI? I receive an error message clicking the link or pasting it into my browser (Safari and Firefox).. Mac 10.8.5 Not Found The requested URL /richmond/HA3a.zip was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. be well, randy ----- On Apr 19, 2014, at 11:44 AM, Richmond wrote: > Here: > > http://andregarzia.on-rev.com/richmond/HA3y.zip > > 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 paul at researchware.com Mon Apr 21 10:36:13 2014 From: paul at researchware.com (Paul Dupuis) Date: Mon, 21 Apr 2014 10:36:13 -0400 Subject: Multiple document types for a standalone Message-ID: <53552CDD.7050703@researchware.com> So if your application has a single document, you can specify the type/extension and the documents icon in the Standalone settings (for OSX and Win), set up some code in your app to handle (on OSX and Win) when someone double clicking on your app's icon to launch your app and pass it the clicked on document. All good. What if your document has multiple document types? Easy enough to handle in code - check the command line parameters in Windows or appleevents under OSX for the different doc type and handle accordingly. However, how do you package the icons for multiple document types when the standalone settings appear to only allow a single document icon? I am not super OSX literate, but it appears I could just place additional icns files in the resource folder in the .app bundle and configure the standalone setting to use a customer pList that I edit manual to add additional document entries under the CFBundleDocumentTypes part of the XML plist. Is this the right approach? Under Windows, I can use setRegistry() function to add registry entries for additional document types, but how do I get the icons for these packaged into the .exe file? Is there a way? From michael.mccreary at runrev.com Mon Apr 21 10:57:53 2014 From: michael.mccreary at runrev.com (Michael McCreary) Date: Mon, 21 Apr 2014 15:57:53 +0100 Subject: RELEASE: LiveCode 6.7-dp-2 Message-ID: <535531F1.5000403@runrev.com> Dear List Members, We are pleased to announce the release of LiveCode 6.7.0-dp-2. WARNING: this is not a stable release. Please ensure you back up your stacks before testing them. Release Contents: * Clipboard data 'styledText' array accessor. * Cocoa Support * Improved revBrowser external Bug Fixes: 12226 - revBrowser doesn't grab mouse focus on Mac. 12223 - Windows backdrop doesn't cover the full desktop area when displayed on a high-dpi screen. 12216 - the qtVersion returns empty 12200 - Some filesystem entries in the root of a volume on Mac report as files when they are really folders. 12185 - Standalone engine crashes when -ui specified on Linux. 12183 - Clicking in the scrollbar well doesn't work if the click is too short. 12182 - 'the pageRanges' doesn't work on fields with more than 64K chars. 12175 - Setting the usePixelScaling property doesn't update all windows on Mac. 12170 - Non-existant command line parameter variables ($) behave strangely with split. 12146 - setting tabstops to 2 equal numbers and then turning vGrid on hangs LC 12130 - Resize cursor does not always display in window edges on Mac. 12125 - put the executionContexts crashes LiveCode server 12116 - NullPointerException on device logcat when app was launched and closed if in-app purchasing box is not ticked 12115 - Import / export snapshot from rect of window ignores rect on OSX 12109 - "Export snapshot ... from window ..." wrongly scales snapshot rect 12107 - exit causes LiveCode server to crash 12105 - LiveCode server crashed if you call paramCount() 12101 - Graphics missing from imported Hypercard stack 12099 - On awakening Android device from sleep, part of app is blacked out 12089 - Setting a player filename to a url causes hang. 12088 - The script editor doesn't scroll horizontally as text is entered 12087 - moveStack messages are not sent continuously on Mac. 12086 - rawKeyDown sends incorrect code for shifted keys on Mac. 12085 - "export snapshot of window ..." locks up on OSX 12082 - Changing an applied pattern causes the IDE to crash 12080 - Setting hidePalettes to false does not work on Mac. 12073 - Make sure 'unlock cursor' takes immediate effect, rather than at next mouseMove on Mac. 12068 - No default menubar in standalones on Mac. 12058 - The backdrop on Windows is always black 12056 - Clicking on a cell of a table field causes the IDE to crash 12047 - Arrow keys don\'t work in CEF browser on Mac. 12044 - Opaque groups do not completely draw their backgrounds when acceleratedRendering is enabled 12037 - Slow-down in setting contents of fields on Windows since 6.1.3. 12027 - On Retina Mac's scrollbars with small thumbs render smaller than they should. 12020 - Caret is too thin on Retina displays. 12010 - Windows engine hangs after multiple stack redraws. 12008 - import screen snapshot on iOS creates image of incorrect size. 12006 - HTTP (HTML) URLs encoded with anything other than a native character set are returned incorrectly 11975 - "import snapshot from rect ..." only imports part of the screen on Windows 11933 - effective textColor returns empty value for styled text 11922 - Players do not render at correct size on Retina Macs. 11917 - Setting the label of an option or combo-box does not update the menuHistory. 11860 - uuid and randomBytes functions don\'t work on iOS when Encryption support is not included 11808 - pixelScaling not enabled on Windows Commercial edition 11708 - Anroid apps only partially drawn after rotating device during lock sreen 11690 - Once large scripts start scrolling the script editor, it won\'t stop for a long time on Windows. 11689 - ResizeControl is not sent when resizing images 11662 - Round buttons are drawn incorrectly 11603 - Backdrop not displayed on Linux 11370 - Anti-aliasing inconsistent for 1 pixel lines and curves 11072 - magnify and edit image crashes LC 10767 - Non-CEF browser not working in modal dialogs on Mac. 2627 - The machine() function returns "unknown" under Mac OSX Warm Regards, The LiveCode Team -- *Michael McCreary . Runtime Revolution Ltd LiveCode - Unleash Your Killer App* mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW email : michael.mccreary at runrev.com company : +44(0) 845 219 89 23 fax : +44(0) 845 458 8487 web : www.runrev.com From michael.mccreary at runrev.com Mon Apr 21 11:00:35 2014 From: michael.mccreary at runrev.com (Michael McCreary) Date: Mon, 21 Apr 2014 16:00:35 +0100 Subject: RELEASE: LiveCode 6.7-dp-2 In-Reply-To: <535531F1.5000403@runrev.com> References: <535531F1.5000403@runrev.com> Message-ID: <53553293.1080409@runrev.com> On 21/04/2014 15:57, Michael McCreary wrote: > Dear List Members, > > We are pleased to announce the release of LiveCode 6.7.0-dp-2. > > WARNING: this is not a stable release. Please ensure you back up your > stacks before testing them. > > Release Contents: > * Clipboard data 'styledText' array accessor. > * Cocoa Support > * Improved revBrowser external > > Bug Fixes: > 12226 - revBrowser doesn't grab mouse focus on Mac. > 12223 - Windows backdrop doesn't cover the full desktop area when > displayed on a high-dpi screen. > 12216 - the qtVersion returns empty > 12200 - Some filesystem entries in the root of a volume on Mac report > as files when they are really folders. > 12185 - Standalone engine crashes when -ui specified on Linux. > 12183 - Clicking in the scrollbar well doesn't work if the click is > too short. > 12182 - 'the pageRanges' doesn't work on fields with more than 64K chars. > 12175 - Setting the usePixelScaling property doesn't update all > windows on Mac. > 12170 - Non-existant command line parameter variables ($) behave > strangely with split. > 12146 - setting tabstops to 2 equal numbers and then turning vGrid on > hangs LC > 12130 - Resize cursor does not always display in window edges on Mac. > 12125 - put the executionContexts crashes LiveCode server > 12116 - NullPointerException on device logcat when app was launched > and closed if in-app purchasing box is not ticked > 12115 - Import / export snapshot from rect of window ignores rect on OSX > 12109 - "Export snapshot ... from window ..." wrongly scales snapshot > rect > 12107 - exit causes LiveCode server to crash > 12105 - LiveCode server crashed if you call paramCount() > 12101 - Graphics missing from imported Hypercard stack > 12099 - On awakening Android device from sleep, part of app is blacked > out > 12089 - Setting a player filename to a url causes hang. > 12088 - The script editor doesn't scroll horizontally as text is entered > 12087 - moveStack messages are not sent continuously on Mac. > 12086 - rawKeyDown sends incorrect code for shifted keys on Mac. > 12085 - "export snapshot of window ..." locks up on OSX > 12082 - Changing an applied pattern causes the IDE to crash > 12080 - Setting hidePalettes to false does not work on Mac. > 12073 - Make sure 'unlock cursor' takes immediate effect, rather than > at next mouseMove on Mac. > 12068 - No default menubar in standalones on Mac. > 12058 - The backdrop on Windows is always black > 12056 - Clicking on a cell of a table field causes the IDE to crash > 12047 - Arrow keys don\'t work in CEF browser on Mac. > 12044 - Opaque groups do not completely draw their backgrounds when > acceleratedRendering is enabled > 12037 - Slow-down in setting contents of fields on Windows since 6.1.3. > 12027 - On Retina Mac's scrollbars with small thumbs render smaller > than they should. > 12020 - Caret is too thin on Retina displays. > 12010 - Windows engine hangs after multiple stack redraws. > 12008 - import screen snapshot on iOS creates image of incorrect size. > 12006 - HTTP (HTML) URLs encoded with anything other than a native > character set are returned incorrectly > 11975 - "import snapshot from rect ..." only imports part of the > screen on Windows > 11933 - effective textColor returns empty value for styled text > 11922 - Players do not render at correct size on Retina Macs. > 11917 - Setting the label of an option or combo-box does not update > the menuHistory. > 11860 - uuid and randomBytes functions don\'t work on iOS when > Encryption support is not included > 11808 - pixelScaling not enabled on Windows Commercial edition > 11708 - Anroid apps only partially drawn after rotating device during > lock sreen > 11690 - Once large scripts start scrolling the script editor, it > won\'t stop for a long time on Windows. > 11689 - ResizeControl is not sent when resizing images > 11662 - Round buttons are drawn incorrectly > 11603 - Backdrop not displayed on Linux > 11370 - Anti-aliasing inconsistent for 1 pixel lines and curves > 11072 - magnify and edit image crashes LC > 10767 - Non-CEF browser not working in modal dialogs on Mac. > 2627 - The machine() function returns "unknown" under Mac OSX > > Warm Regards, > > The LiveCode Team I should also mention how to get the release... Getting this release To upgrade to this release please select "check for updates" from the help menu in LiveCode or download the installers directly at: http://downloads.livecode.com/livecode/ Reporting Bugs If you encounter an issue with this release please submit a bug report to our quality centre: http://quality.runrev.com/enter_bug.cgi Warm regards, The LiveCode Team -- *Michael McCreary . Runtime Revolution Ltd LiveCode - Unleash Your Killer App* mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW email : michael.mccreary at runrev.com company : +44(0) 845 219 89 23 fax : +44(0) 845 458 8487 web : www.runrev.com From prothero at earthednet.org Mon Apr 21 11:05:48 2014 From: prothero at earthednet.org (Earthednet-wp) Date: Mon, 21 Apr 2014 08:05:48 -0700 Subject: Reference Material Discussion Application Architecture Strategies In-Reply-To: <8E06C236-CA73-47F6-B5E1-148DDFEFD175@gmail.com> References: <8E06C236-CA73-47F6-B5E1-148DDFEFD175@gmail.com> Message-ID: <2AD4DFCD-0600-4455-A9E0-01D4600A7504@earthednet.org> Mike, I haven't tried to build a standalone yet. I'm not at my computer now, but my memory is that you have to "open" substacks, then do "start using". I have an item list of substacks and am planning to associate various library substacks with specific project modules, so I can manage memory. I also don't like putting scripts in objects, except when the object is central to the modele's function, like a map that displays data. But, it is convenient to put test scripts into buttons that can be deleted after everything is working. It's a constant battle to keep reorganizing code for re-use. First implementation is usually a mess, then the next step that requires me to use that code requires refactoring, etc, etc, but in the end there are fewer bugs and it's easier to use. I am loving lc's arrays. I'm also just starting to use groups and finding them also convenient and easy to use. Some of the ui objects are awesome. I just discovered the tabbed object. It saves a lot of time, as does the datagrid. Good luck, Bill William Prothero http://es.earthednet.org > On Apr 20, 2014, at 9:35 AM, Michael Doub wrote: > > My coding style has evolved to trying to put code in Libraries, Stack and Cards. I only put stubs that call other handlers in the objects themselves. This is the code organization part. > > I was putting my library stacks in as substacks and when I started seeing the naming conflict messages I started looking into where these should go. I always seemed to have problems with ?start using? unless the stack was already in memory, so I still feel that I am missing something relating to the basics loading stacks. > > Bill, are you building your stand alone yet? This is where I really started to ask questions. Why is there an option to move substacks into individual stacks? When I made everything substacks I really didn?t think too much about the standalone builder. Now that I have both I feel I need to understand what is going on and why. > > -= Mike > > >> From dixonja at hotmail.co.uk Mon Apr 21 11:58:51 2014 From: dixonja at hotmail.co.uk (John Dixon) Date: Mon, 21 Apr 2014 16:58:51 +0100 Subject: RELEASE: LiveCode 6.7-dp-2 In-Reply-To: <53553293.1080409@runrev.com> References: <535531F1.5000403@runrev.com>,<53553293.1080409@runrev.com> Message-ID: bug :- 12008 - import screen snapshot on iOS creates image of incorrect size. is still not fixed ! > Date: Mon, 21 Apr 2014 16:00:35 +0100 > From: michael.mccreary at runrev.com > To: use-livecode at lists.runrev.com; livecode-dev at lists.runrev.com > Subject: Re: RELEASE: LiveCode 6.7-dp-2 > > On 21/04/2014 15:57, Michael McCreary wrote: > > Dear List Members, > > > > We are pleased to announce the release of LiveCode 6.7.0-dp-2. > > > > WARNING: this is not a stable release. Please ensure you back up your > > stacks before testing them. > > > > Release Contents: > > * Clipboard data 'styledText' array accessor. > > * Cocoa Support > > * Improved revBrowser external > > > > Bug Fixes: > > 12226 - revBrowser doesn't grab mouse focus on Mac. > > 12223 - Windows backdrop doesn't cover the full desktop area when > > displayed on a high-dpi screen. > > 12216 - the qtVersion returns empty > > 12200 - Some filesystem entries in the root of a volume on Mac report > > as files when they are really folders. > > 12185 - Standalone engine crashes when -ui specified on Linux. > > 12183 - Clicking in the scrollbar well doesn't work if the click is > > too short. > > 12182 - 'the pageRanges' doesn't work on fields with more than 64K chars. > > 12175 - Setting the usePixelScaling property doesn't update all > > windows on Mac. > > 12170 - Non-existant command line parameter variables ($) behave > > strangely with split. > > 12146 - setting tabstops to 2 equal numbers and then turning vGrid on > > hangs LC > > 12130 - Resize cursor does not always display in window edges on Mac. > > 12125 - put the executionContexts crashes LiveCode server > > 12116 - NullPointerException on device logcat when app was launched > > and closed if in-app purchasing box is not ticked > > 12115 - Import / export snapshot from rect of window ignores rect on OSX > > 12109 - "Export snapshot ... from window ..." wrongly scales snapshot > > rect > > 12107 - exit causes LiveCode server to crash > > 12105 - LiveCode server crashed if you call paramCount() > > 12101 - Graphics missing from imported Hypercard stack > > 12099 - On awakening Android device from sleep, part of app is blacked > > out > > 12089 - Setting a player filename to a url causes hang. > > 12088 - The script editor doesn't scroll horizontally as text is entered > > 12087 - moveStack messages are not sent continuously on Mac. > > 12086 - rawKeyDown sends incorrect code for shifted keys on Mac. > > 12085 - "export snapshot of window ..." locks up on OSX > > 12082 - Changing an applied pattern causes the IDE to crash > > 12080 - Setting hidePalettes to false does not work on Mac. > > 12073 - Make sure 'unlock cursor' takes immediate effect, rather than > > at next mouseMove on Mac. > > 12068 - No default menubar in standalones on Mac. > > 12058 - The backdrop on Windows is always black > > 12056 - Clicking on a cell of a table field causes the IDE to crash > > 12047 - Arrow keys don\'t work in CEF browser on Mac. > > 12044 - Opaque groups do not completely draw their backgrounds when > > acceleratedRendering is enabled > > 12037 - Slow-down in setting contents of fields on Windows since 6.1.3. > > 12027 - On Retina Mac's scrollbars with small thumbs render smaller > > than they should. > > 12020 - Caret is too thin on Retina displays. > > 12010 - Windows engine hangs after multiple stack redraws. > > 12008 - import screen snapshot on iOS creates image of incorrect size. > > 12006 - HTTP (HTML) URLs encoded with anything other than a native > > character set are returned incorrectly > > 11975 - "import snapshot from rect ..." only imports part of the > > screen on Windows > > 11933 - effective textColor returns empty value for styled text > > 11922 - Players do not render at correct size on Retina Macs. > > 11917 - Setting the label of an option or combo-box does not update > > the menuHistory. > > 11860 - uuid and randomBytes functions don\'t work on iOS when > > Encryption support is not included > > 11808 - pixelScaling not enabled on Windows Commercial edition > > 11708 - Anroid apps only partially drawn after rotating device during > > lock sreen > > 11690 - Once large scripts start scrolling the script editor, it > > won\'t stop for a long time on Windows. > > 11689 - ResizeControl is not sent when resizing images > > 11662 - Round buttons are drawn incorrectly > > 11603 - Backdrop not displayed on Linux > > 11370 - Anti-aliasing inconsistent for 1 pixel lines and curves > > 11072 - magnify and edit image crashes LC > > 10767 - Non-CEF browser not working in modal dialogs on Mac. > > 2627 - The machine() function returns "unknown" under Mac OSX > > > > Warm Regards, > > > > The LiveCode Team > > I should also mention how to get the release... > > Getting this release > To upgrade to this release please select "check for updates" from the > help menu in LiveCode or download the installers directly at: > http://downloads.livecode.com/livecode/ > > Reporting Bugs > If you encounter an issue with this release please submit a bug report > to our quality centre: http://quality.runrev.com/enter_bug.cgi > > Warm regards, > > The LiveCode Team > > -- > > *Michael McCreary . Runtime Revolution Ltd > LiveCode - Unleash Your Killer App* > > mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW > email : michael.mccreary at runrev.com > company : +44(0) 845 219 89 23 > fax : +44(0) 845 458 8487 > web : www.runrev.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From th.douez at gmail.com Mon Apr 21 12:06:29 2014 From: th.douez at gmail.com (Thierry Douez) Date: Mon, 21 Apr 2014 18:06:29 +0200 Subject: This Chick Is On Fire In-Reply-To: <8404b344b09103bf489dd8a9a3d344995ee.20140420150108@mail199.atl81.rsgsv.net> References: <8404b344b09103bf489dd8a9a3d344995ee.20140420150108@mail199.atl81.rsgsv.net> Message-ID: > > > > *48 Hours Left* > > > How do you feel about the offer? ? ? https://vimeo.com/5239013 Enjoy! Thierry? ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage ? - sunnYpdf? From richmondmathewson at gmail.com Mon Apr 21 12:07:45 2014 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 21 Apr 2014 19:07:45 +0300 Subject: Vertical Menubar stack In-Reply-To: <2F653D95-5B0F-4F8D-AC38-429CE3992ED2@mac.com> References: <5352A7E3.6070809@gmail.com> <2F653D95-5B0F-4F8D-AC38-429CE3992ED2@mac.com> Message-ID: <53554251.1030800@gmail.com> On 21/04/14 17:14, Randy Hengst wrote: > FYI? I receive an error message clicking the link or pasting it into my browser (Safari and Firefox).. Mac 10.8.5 > > Not Found > > The requested URL /richmond/HA3a.zip was not found on this server. > > Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. > > > be well, > randy > ----- > Now running at HA3c.zip. From jacque at hyperactivesw.com Mon Apr 21 13:55:15 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 21 Apr 2014 12:55:15 -0500 Subject: Multiple document types for a standalone In-Reply-To: <53552CDD.7050703@researchware.com> References: <53552CDD.7050703@researchware.com> Message-ID: <53555B83.8000806@hyperactivesw.com> On 4/21/14, 9:36 AM, Paul Dupuis wrote: > However, how do you package the icons for multiple document types > when the standalone settings appear to only allow a single document > icon? > > I am not super OSX literate, but it appears I could just place > additional icns files in the resource folder in the .app bundle and > configure the standalone setting to use a customer pList that I edit > manual to add additional document entries under the > CFBundleDocumentTypes part of the XML plist. Is > this the right approach? Yes, that's exactly it. I'm not sure, but you may have to resign the app after you add new icns files to the bundle. There are tools to do that, or you can use Terminal commands. AppWrapper is one tool, or google for the correct terminal commands. I don't know how Windows does it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From charles at buchwald.ca Mon Apr 21 14:30:27 2014 From: charles at buchwald.ca (Charles E Buchwald) Date: Mon, 21 Apr 2014 13:30:27 -0500 Subject: ANN: Updates to lcResTool and lcMover Message-ID: Hi Folks, I just updated my little plugin utilities for sizing and positioning stacks during development... lcResTool Version 1.4 is now available, with bug fixes, and also: ? Support for scaleFactor. There is now a slider that lets you set the scaleFactor of a stack, and a button that let's you reset the scaleFactor to 1.0. ? Experimental support for "Simulated Density". When this button is checked, the scaleFactor is set to the inverse of the readout of the tool's scaleFactor slider. This shows you a smaller stack for a denser display, more like it would be on the actual target device. ? A "lock to current stack" button, so when you are working with primarily just one stack, you can set it and forget it and just affect that one stack. ? A couple of UI tweaks to make the palette look a bit less obtrusive and cleaner. lcMover Version 1.2 is now available. I've fixed a couple of bugs, and added a couple of minor features: ? Support for the new scaleFactor property has been added. (Let me know if you like it or not.) It attempts to reposition scaled stacks regardless of their scaleFactor, by scaling the top and left values of the stack when positioning it. ? A new checkbox in the options to "dock" the lcResTool palette to the bottom of the lcMover palette. This tag team mode can help keep your screen layout neat and clean. Both are available here: http://buchwald.ca/developer-tools (lcResTool can also update automatically.) Cheers, - Charles -- Charles E. Buchwald CEO/Director General Museografica Digital http://digital.museografica.com Email Notice: http://wp.me/P3aT4d-33 From jacque at hyperactivesw.com Mon Apr 21 14:30:57 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 21 Apr 2014 13:30:57 -0500 Subject: Accessing Substack Data Files In-Reply-To: <535492D6.000017.05088@CALS_BIG_PC> References: <535492D6.000017.05088@CALS_BIG_PC> Message-ID: <535563E1.2050800@hyperactivesw.com> On 4/20/14, 10:39 PM, Cal Horner wrote: > But this got me to wondering. If I wanted to use the Answer/Ask File command > to get to a substack, could I? No, because ask/answer file uses the system dialog which only reads files on disk. Substacks aren't separate files, they are part of the same mainstack file that is already open. You'd need to create your own dialog or palette that lists the substacks. Or alternately, detach the substacks and save them to disk as separate files. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Mon Apr 21 14:51:20 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 21 Apr 2014 11:51:20 -0700 Subject: Email Using LiveCode Server? Message-ID: Hi All: I'm wondering if anyone has a working example of sending email from LiveCode server. I'm trying to send mail using LC server on a site, and following the RunRev lesson: http://lessons.runrev.com/s/lessons/m/4070/l/8184-Sending-Emails-From-revSe rver-Scripts LC is working, the mail form is working, everything *appears* to be working, but no mail is being sent from the server. I tried to get the result at the end of the mail script and all I get is "0". I'm not sure if that means false, but I suppose that might make sense since no mail is being sent. I've looked around online and found related examples, tried some different flags, but several hours later still no success. I give up. Maybe I'm missing some additional file or configuration setting somewhere? This is hosted on DreamHost if that helps. Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From gspearson at gmail.com Mon Apr 21 15:37:01 2014 From: gspearson at gmail.com (Graham Pearson) Date: Mon, 21 Apr 2014 15:37:01 -0400 Subject: Email Using LiveCode Server? In-Reply-To: References: Message-ID: <719F2A93-34F9-4D13-AFE5-1D6EDBB95CC0@gmail.com> I have not used the LC Server before but how I send email to users through LC is I created a web service with PHP and post to it. The application will send a response back to LC which gets displayed to user. This has worked very well Sent while utilizing a mobile device. Please excuse the Brevity of this message. > On Apr 21, 2014, at 2:51 PM, Scott Rossi wrote: > > Hi All: > > I'm wondering if anyone has a working example of sending email from > LiveCode server. > > I'm trying to send mail using LC server on a site, and following the RunRev > lesson: > http://lessons.runrev.com/s/lessons/m/4070/l/8184-Sending-Emails-From-revSe > rver-Scripts > > LC is working, the mail form is working, everything *appears* to be > working, > but no mail is being sent from the server. I tried to get the result at > the end of the mail script and all I get is "0". I'm not sure if that > means false, but I suppose that might make sense since no mail is being > sent. I've looked around online and found related examples, tried some > different flags, but several hours later still no success. I give up. > > Maybe I'm missing some additional file or configuration setting somewhere? > > > This is hosted on DreamHost if that helps. > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon Apr 21 15:48:25 2014 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 21 Apr 2014 22:48:25 +0300 Subject: Vertical Menubar stack In-Reply-To: <1397946091681-4678460.post@n4.nabble.com> References: <5352A7E3.6070809@gmail.com> <1397946091681-4678460.post@n4.nabble.com> Message-ID: <53557609.2050709@gmail.com> Well; that's the end of my Easter holiday, and, for the foreseeable future at any rate, enough of this foolishness. Just to spoil things, I've called this version "HA4.zip": http://andregarzia.on-rev.com/richmond/HA4.zip I have had a lot of fun making this thing; and as it was made using the Open Source version of Livecode I do hope that anyone who feels a need for similar fun, or wishes to take this further will feel free to expand it. Of course it would be nice of you could flatter me a bit by leaving some sort of note that your work is based on mine. Richmond. From capellan2000 at gmail.com Mon Apr 21 16:49:39 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 21 Apr 2014 13:49:39 -0700 (PDT) Subject: RELEASE: LiveCode 6.7-dp-2 In-Reply-To: <535531F1.5000403@runrev.com> References: <535531F1.5000403@runrev.com> Message-ID: <1398113379835-4678518.post@n4.nabble.com> Michael McCreary wrote: >12010 - Windows engine hangs after multiple stack redraws. Ah, this could explains these engine hangs, described in this message: http://lists.runrev.com/pipermail/use-livecode/2014-April/200987.html -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/RELEASE-LiveCode-6-7-dp-2-tp4678506p4678518.html Sent from the Revolution - User mailing list archive at Nabble.com. From matthias_livecode_150811 at m-r-d.de Mon Apr 21 17:16:20 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Mon, 21 Apr 2014 23:16:20 +0200 Subject: Email Using LiveCode Server? In-Reply-To: References: Message-ID: <96E68F36-A004-4602-85B5-561DB284F2DD@m-r-d.de> do you have ssh access to that server and did you try "sendmail" directly from the shell? Regards, Matthias Am 21.04.2014 um 20:51 schrieb Scott Rossi : > Hi All: > > I'm wondering if anyone has a working example of sending email from > LiveCode server. > > I'm trying to send mail using LC server on a site, and following the RunRev > lesson: > http://lessons.runrev.com/s/lessons/m/4070/l/8184-Sending-Emails-From-revSe > rver-Scripts > > LC is working, the mail form is working, everything *appears* to be > working, > but no mail is being sent from the server. I tried to get the result at > the end of the mail script and all I get is "0". I'm not sure if that > means false, but I suppose that might make sense since no mail is being > sent. I've looked around online and found related examples, tried some > different flags, but several hours later still no success. I give up. > > Maybe I'm missing some additional file or configuration setting somewhere? > > > This is hosted on DreamHost if that helps. > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Mon Apr 21 17:33:28 2014 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 21 Apr 2014 22:33:28 +0100 Subject: Email Using LiveCode Server? In-Reply-To: References: Message-ID: <53558EA8.7040902@tweedly.net> See below (based, I think, on that same example but I may have modified it ... not sure now, I've been through a few differnet versions based on this and another similar sample). This is in use on on-rev (pancake) -- Alex. -- send an email command mail pTo, pSub, pMsg, pFrom, pCc, pBcc, pHtml, pAtts local tMsg -- build the message header, adding the from, to and subject details -- we also put any cc addresses in here, but not bcc (bcc addresses hidden) put "From:" && pFrom & return & "To:" && pTo & return & "Subject:" && pSub & \ return into tMsg if pCc is not empty then put "Cc:" && pCc & return after tMsg end if -- if there are any attachments, we must send this email as multipart -- with the message body and each attachment forming a part -- we do this by specifying the message as multipart and generating a unique boundary if pAtts is an array then local tBoundary put "boundary" & the seconds into tBoundary put "MIME-Version: 1.0" & return & "Content-Type: multipart/mixed; boundary=" & \ wrapQ(tBoundary) & return & "--" & tBoundary & return after tMsg end if -- add the actual message body, setting the content type appropriately if pHtml is true then put "Content-Type: text/html;" & return & return after tMsg else put "Content-Type: text/plain;" & return & return after tMsg end if put pMsg & return after tMsg -- add each attachment as a new part of the message, separating using -- the generated boundary if pAtts is an array then put "--" & tBoundary & return after tMsg repeat for each element tAtt in pAtts if there is a file tAtt["path"] then if tAtt["type"] is empty then get "application/octet-stream" else get tAtt["type"] end if put "Content-Type:" && it & "; name=" & wrapQ(tAtt["name"]) & ";" & \ return & "Content-Transfer-Encoding: base64;" & return & return & \ base64Encode(URL ("binfile:" & tAtt["path"])) & return & "--" & \ tBoundary & return after tMsg end if end repeat end if -- send the mail by piping the message we have just built to the sendmail command -- we must also send a copy of the message to the bcc addresses get shell("echo" && wrapQ(shellEscape(tMsg)) && "| /usr/sbin/sendmail" && \ wrapQ(shellEscape(pTo)) && "-f" && wrapQ(shellEscape(pFrom))) if pBcc is not empty then get shell("echo" && wrapQ(shellEscape(tMsg)) && "| /usr/sbin/sendmail" && \ wrapQ(shellEscape(pBcc)) && "-f" && wrapQ(shellEscape(pFrom))) end if put "MAIL sent" && the seconds & CR & \ "TO:" && pTo & CR & \ "SUBJ:" && pSub & CR &CR after URL ("file:./log_mail.txt") end mail -- escape shell characters: use this function before passing data to the shell function shellEscape pText repeat for each char tChar in "\`!$" & quote replace tChar with "\" & tChar in pText end repeat return pText end shellEscape -- wrap quotes around text function wrapQ pText return quote & pText & quote end wrapQ On 21/04/2014 19:51, Scott Rossi wrote: > Hi All: > > I'm wondering if anyone has a working example of sending email from > LiveCode server. > > I'm trying to send mail using LC server on a site, and following the RunRev > lesson: > http://lessons.runrev.com/s/lessons/m/4070/l/8184-Sending-Emails-From-revSe > rver-Scripts > > LC is working, the mail form is working, everything *appears* to be > working, > but no mail is being sent from the server. I tried to get the result at > the end of the mail script and all I get is "0". I'm not sure if that > means false, but I suppose that might make sense since no mail is being > sent. I've looked around online and found related examples, tried some > different flags, but several hours later still no success. I give up. > > Maybe I'm missing some additional file or configuration setting somewhere? > > > This is hosted on DreamHost if that helps. > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Mon Apr 21 18:08:28 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 21 Apr 2014 15:08:28 -0700 (PDT) Subject: RELEASE: LiveCode 6.7-dp-2 In-Reply-To: <1398113379835-4678518.post@n4.nabble.com> References: <535531F1.5000403@runrev.com> <1398113379835-4678518.post@n4.nabble.com> Message-ID: <1398118108483-4678521.post@n4.nabble.com> About the warning of using backups while testing Developer Previews and Release Candidates, RunRev could add the following functionality to the File menu in the IDE: Open and Backup... This single menu option will: 1) create a zipped or gzipped file of the stack and 2) open the stack The name of every zipped or gzipped stack could include the seconds appended to the filename. http://docs.runrev.com/Function/seconds Who volunteers to post this enhancement request in the LiveCode Quality Center? Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/RELEASE-LiveCode-6-7-dp-2-tp4678506p4678521.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Mon Apr 21 18:51:46 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 21 Apr 2014 15:51:46 -0700 (PDT) Subject: The Missing Link between LiveCode and Teachers In-Reply-To: References: <1397683930637-4678364.post@n4.nabble.com> <534FE622.4070903@fourthworld.com> Message-ID: <1398120706798-4678522.post@n4.nabble.com> Just read this today: "some students complained that the course material was too challenging, especially with a shaky internet connection." http://www.ecampusnews.com/curriculum/one-shocking-fact-flipped-learning-matters/3/ Wait and see: Shaky Internet connection will top the list of student excuses in this century: http://www.insidehighered.com/news/2012/08/30/british-lecturer-compiles-best-student-excuses#sthash.R4xLqKuA.dpbs Even so, teachers would benefit of learning to create a simple hypermedia project for use in their classroom. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/The-Missing-Link-between-LiveCode-and-Teachers-tp4678364p4678522.html Sent from the Revolution - User mailing list archive at Nabble.com. From scott at tactilemedia.com Mon Apr 21 19:06:27 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 21 Apr 2014 16:06:27 -0700 Subject: Email Using LiveCode Server? In-Reply-To: References: Message-ID: Thanks to Alex and Matthias for the responses. Matthias's comment prompted me to do some more searching and I found the problem, which was partly script related, and partly host related: outside-domain email addresses are not allowed. Some time ago, DreamHost stepped up their anti-spam practices, and disabled the ability of sending mail from an address that is not connected to any of your hosted domains. Clearly this makes sense. But the form I have uses the sender's email in the "from" variable, which apparently gets rejected by the mail process. As soon as I changed the "from" address to one of my domain addresses, sendmail worked right away. [ bloody forehead slap ] Thanks all. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 4/21/14 11:51 AM, "Scott Rossi" wrote: >I'm wondering if anyone has a working example of sending email from >LiveCode server. > >I'm trying to send mail using LC server on a site, and following the >RunRev >lesson: >http://lessons.runrev.com/s/lessons/m/4070/l/8184-Sending-Emails-From-revS >e >rver-Scripts From scott at tactilemedia.com Mon Apr 21 19:13:00 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 21 Apr 2014 16:13:00 -0700 Subject: Email Using LiveCode Server? In-Reply-To: References: Message-ID: Oops, thanks Graham Pearson for offering suggestions as well. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 4/21/14 4:06 PM, "Scott Rossi" wrote: >Thanks to Alex and Matthias for the responses. Matthias's comment >prompted me to do some more searching and I found the problem, which was >partly script related, and partly host related: outside-domain email >addresses are not allowed. From pete at lcsql.com Mon Apr 21 19:15:54 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 21 Apr 2014 16:15:54 -0700 Subject: RELEASE: LiveCode 6.7-dp-2 In-Reply-To: <1398118108483-4678521.post@n4.nabble.com> References: <535531F1.5000403@runrev.com> <1398113379835-4678518.post@n4.nabble.com> <1398118108483-4678521.post@n4.nabble.com> Message-ID: Not as good as having it in the IDE but until it is implemented, my lcStackBrowser plugin has a feature for creating snapshots of any main stack along with a display of the date/time created and a user supplied text description of the snapshot. You can also restore from a snapshot to your stack file. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Mon, Apr 21, 2014 at 3:08 PM, Alejandro Tejada wrote: > About the warning of using backups while testing > Developer Previews and Release Candidates, > RunRev could add the following functionality to the File > menu in the IDE: > > Open and Backup... > > This single menu option will: > > 1) create a zipped or gzipped file of the stack and > 2) open the stack > > The name of every zipped or gzipped stack > could include the seconds appended > to the filename. > > http://docs.runrev.com/Function/seconds > > Who volunteers to post this enhancement request > in the LiveCode Quality Center? > > Thanks in advance! > > Al > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/RELEASE-LiveCode-6-7-dp-2-tp4678506p4678521.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Mon Apr 21 20:30:10 2014 From: dsc at swcp.com (Dar Scott) Date: Mon, 21 Apr 2014 18:30:10 -0600 Subject: Fun with 7.0 Message-ID: My daughter created this: on mouseUp set the label of button "????? ????" to "??????" put "???????????????????" into field "Status" end mouseUp Anyway, it is that easy. Except for learning Japanese; that is the hard part. (She studied a couple semesters in Japan, but she is still learning.) Dar From jacque at hyperactivesw.com Mon Apr 21 22:45:47 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 21 Apr 2014 21:45:47 -0500 Subject: Email Using LiveCode Server? In-Reply-To: References: Message-ID: <5355D7DB.2020001@hyperactivesw.com> On 4/21/14, 6:06 PM, Scott Rossi wrote: > Some time ago, DreamHost stepped up their anti-spam practices, and > disabled the ability of sending mail from an address that is not connected > to any of your hosted domains. Clearly this makes sense. But the form I > have uses the sender's email in the "from" variable, which apparently gets > rejected by the mail process. As soon as I changed the "from" address to > one of my domain addresses, sendmail worked right away. Thanks for this, I wouldn't have guessed. It does make sense, but I wouldn't have figured it out. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From capellan2000 at gmail.com Mon Apr 21 23:56:21 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 21 Apr 2014 20:56:21 -0700 (PDT) Subject: Fun with 7.0 In-Reply-To: References: Message-ID: <1398138981754-4678528.post@n4.nabble.com> Dar Scott wrote > My daughter created this: > > on mouseUp > set the label of button "????? ????" to "??????" > put "???????????????????" into field "Status" > end mouseUp > > Anyway, it is that easy. Except for learning Japanese; that is the hard > part. (She studied a couple semesters in Japan, but she is still > learning.) What does it means? :D Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Fun-with-7-0-tp4678526p4678528.html Sent from the Revolution - User mailing list archive at Nabble.com. From revdev at pdslabs.net Tue Apr 22 00:22:07 2014 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 21 Apr 2014 21:22:07 -0700 Subject: Fun with 7.0 In-Reply-To: <1398138981754-4678528.post@n4.nabble.com> References: <1398138981754-4678528.post@n4.nabble.com> Message-ID: <5355EE6F.802@pdslabs.net> Google Translate says: ????? ???? = The launch of rocket ?????? = Suicide switch ???????????????????= I was able to complete the cloning process. At least it gives us an idea of what Dar's family works on. I wonder if he has a large silo in his back yard???? :-) Phil On 4/21/14, 8:56 PM, Alejandro Tejada wrote: > Dar Scott wrote >> My daughter created this: >> >> on mouseUp >> set the label of button "????? ????" to "??????" >> put "???????????????????" into field "Status" >> end mouseUp >> >> Anyway, it is that easy. Except for learning Japanese; that is the hard >> part. (She studied a couple semesters in Japan, but she is still >> learning.) > What does it means? :D > > Al > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Fun-with-7-0-tp4678526p4678528.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 dsc at swcp.com Tue Apr 22 00:42:26 2014 From: dsc at swcp.com (Dar Scott) Date: Mon, 21 Apr 2014 22:42:26 -0600 Subject: Fun with 7.0 In-Reply-To: <5355EE6F.802@pdslabs.net> References: <1398138981754-4678528.post@n4.nabble.com> <5355EE6F.802@pdslabs.net> Message-ID: <7F14D0B0-7C2F-4740-B845-2338C7047BB1@swcp.com> What Google calls ?suicide switch? is what we would normally call a self-destruct button. The phrase comes up in computer games and card games, I am told. Here is what her little brother suggested: put 0 into ???? add 1 to ???? put ???? -- displays 1 Dar On Apr 21, 2014, at 10:22 PM, Phil Davis wrote: > Google Translate says: > > ????? ???? = The launch of rocket > > ?????? = Suicide switch > > ???????????????????= I was able to complete the cloning process. > > At least it gives us an idea of what Dar's family works on. I wonder if he has a large silo in his back yard???? > > :-) > Phil > > > On 4/21/14, 8:56 PM, Alejandro Tejada wrote: >> Dar Scott wrote >>> My daughter created this: >>> >>> on mouseUp >>> set the label of button "????? ????" to "??????" >>> put "???????????????????" into field "Status" >>> end mouseUp >>> >>> Anyway, it is that easy. Except for learning Japanese; that is the hard >>> part. (She studied a couple semesters in Japan, but she is still >>> learning.) >> What does it means? :D >> >> Al >> >> >> >> -- >> View this message in context: http://runtime-revolution.278305.n4.nabble.com/Fun-with-7-0-tp4678526p4678528.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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From s.morecroft at qut.edu.au Tue Apr 22 02:39:04 2014 From: s.morecroft at qut.edu.au (Simon Morecroft) Date: Tue, 22 Apr 2014 06:39:04 +0000 Subject: RELEASE: LiveCode 6.7-dp-2 Message-ID: Has anyone tried using revBrowserOpenCef with authenticated sites? Sites that were working (asking for login details) with revBrowserOpen, give a blank screen with revBrowserOpenCef. Non-authenticated sites are fine using revBrowserOpenCef Simon Morecroft From hello at simonsmith.co Tue Apr 22 05:17:36 2014 From: hello at simonsmith.co (Simon Smith) Date: Tue, 22 Apr 2014 11:17:36 +0200 Subject: Email Using LiveCode Server? In-Reply-To: <5355D7DB.2020001@hyperactivesw.com> References: <5355D7DB.2020001@hyperactivesw.com> Message-ID: What about using a service like mandrill to handle the sending of emails? Simon On Tue, Apr 22, 2014 at 4:45 AM, J. Landman Gay wrote: > On 4/21/14, 6:06 PM, Scott Rossi wrote: > >> Some time ago, DreamHost stepped up their anti-spam practices, and >> disabled the ability of sending mail from an address that is not connected >> to any of your hosted domains. Clearly this makes sense. But the form I >> have uses the sender's email in the "from" variable, which apparently gets >> rejected by the mail process. As soon as I changed the "from" address to >> one of my domain addresses, sendmail worked right away. >> > > Thanks for this, I wouldn't have guessed. It does make sense, but I > wouldn't have figured it out. > > -- > 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 > -- *Simon Smith* *seo, online marketing, web development* w. http://www.simonsmith.co m. +27 83 306 7862 From mblivecode at harbourhosting.co.uk Tue Apr 22 05:28:17 2014 From: mblivecode at harbourhosting.co.uk (Martin Baxter) Date: Tue, 22 Apr 2014 10:28:17 +0100 Subject: Email Using LiveCode Server? In-Reply-To: References: Message-ID: <53563631.8090304@harbourhosting.co.uk> On 22/04/14 00:06, Scott Rossi wrote: > Thanks to Alex and Matthias for the responses. Matthias's comment > prompted me to do some more searching and I found the problem, which was > partly script related, and partly host related: outside-domain email > addresses are not allowed. > > Some time ago, DreamHost stepped up their anti-spam practices, and > disabled the ability of sending mail from an address that is not connected > to any of your hosted domains. Clearly this makes sense. But the form I > have uses the sender's email in the "from" variable, which apparently gets > rejected by the mail process. As soon as I changed the "from" address to > one of my domain addresses, sendmail worked right away. > Maybe that is only one some Dreamhost servers because I have a web to email form hosted at dreamhost that uses the submitter's sender address in the from: and reply-to: fields and it has always worked ok. Admittedly it's written in PHP rather than LC but I wouldn't have thought that would make any difference. Martin From matthias_livecode_150811 at m-r-d.de Tue Apr 22 07:01:15 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Tue, 22 Apr 2014 13:01:15 +0200 Subject: Email Using LiveCode Server? In-Reply-To: References: Message-ID: Hi Scott, if you need to reply to the address the customer entered in the form, then you could adjust the script a little bit: // add the parameter pReplyTo to the parameter list //command mail pTo, pSub, pMsg, pFrom, pCc, pBcc, pHtml, pAtts command mail pTo, pSub, pMsg, pFrom, pReplyTo, pCc, pBcc, pHtml, pAtts local tMsg -- build the message header, adding the from, to and subject details -- we also put any cc addresses in here, but not bcc (bcc addresses hidden) put "From:" && pFrom & return & "To:" && pTo & return & "Subject:" && pSub & return into tMsg //add this three lines // if pReplyTo is not empty then put "Reply-to:" && pReplyTo & return after tMsg end if // END add this three lines // if pCc is not empty then put "Cc:" && pCc & return after tMsg end if . . . . ?> You just have to set the pReplyTo variable with the email address of the customer. And don?t forget to call the command "mail" with the newly added parameter mail pTo, pSub, pMsg, pFrom, pReplyTo, pCc, pBcc, pHtml, pAtts With that adjustments the email is sent and you can still reply to the customer address. Regards, Matthias Am 22.04.2014 um 01:06 schrieb Scott Rossi : > Thanks to Alex and Matthias for the responses. Matthias's comment > prompted me to do some more searching and I found the problem, which was > partly script related, and partly host related: outside-domain email > addresses are not allowed. > > Some time ago, DreamHost stepped up their anti-spam practices, and > disabled the ability of sending mail from an address that is not connected > to any of your hosted domains. Clearly this makes sense. But the form I > have uses the sender's email in the "from" variable, which apparently gets > rejected by the mail process. As soon as I changed the "from" address to > one of my domain addresses, sendmail worked right away. > > [ bloody forehead slap ] > > Thanks all. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 4/21/14 11:51 AM, "Scott Rossi" wrote: > >> I'm wondering if anyone has a working example of sending email from >> LiveCode server. >> >> I'm trying to send mail using LC server on a site, and following the >> RunRev >> lesson: >> http://lessons.runrev.com/s/lessons/m/4070/l/8184-Sending-Emails-From-revS >> e >> rver-Scripts > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From larry at significantplanet.org Tue Apr 22 10:43:55 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Tue, 22 Apr 2014 08:43:55 -0600 Subject: programatically click? Message-ID: Is there a way to programatically click on a line in a field whose list behavior is set to multi-line and non-contiguous? TIA Larry P.S. using "click at the location" didn't work From dixonja at hotmail.co.uk Tue Apr 22 10:48:02 2014 From: dixonja at hotmail.co.uk (John Dixon) Date: Tue, 22 Apr 2014 15:48:02 +0100 Subject: programatically click? In-Reply-To: References: Message-ID: Would something like... select line x of fld x help ? > From: larry at significantplanet.org > To: use-livecode at lists.runrev.com > Subject: programatically click? > Date: Tue, 22 Apr 2014 08:43:55 -0600 > > Is there a way to programatically click on a line in a field whose list behavior is set to multi-line and non-contiguous? > > TIA > Larry > > P.S. using "click at the location" didn't work > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From larry at significantplanet.org Tue Apr 22 11:11:03 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Tue, 22 Apr 2014 09:11:03 -0600 Subject: programatically click? References: Message-ID: <3B7209BAA6C145C5B930CC7D86D07979@userd204a4d61c> Hi John, You put me onto a train of thought. Here is what works: set the hilitedline of field column3 to thisLine call "mouseUp" of field column3 Thanks, Larry ----- Original Message ----- From: "John Dixon" To: "How to use LiveCode" Sent: Tuesday, April 22, 2014 8:48 AM Subject: RE: programatically click? > Would something like... > > select line x of fld x > > help ? > >> From: larry at significantplanet.org >> To: use-livecode at lists.runrev.com >> Subject: programatically click? >> Date: Tue, 22 Apr 2014 08:43:55 -0600 >> >> Is there a way to programatically click on a line in a field whose list behavior is set to multi-line and non-contiguous? >> >> TIA >> Larry >> >> P.S. using "click at the location" didn't work >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Apr 22 11:26:54 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 22 Apr 2014 11:26:54 -0400 (EDT) Subject: programatically click? In-Reply-To: <3B7209BAA6C145C5B930CC7D86D07979@userd204a4d61c> References: <3B7209BAA6C145C5B930CC7D86D07979@userd204a4d61c> Message-ID: <8D12C566CCCC310-2B68-41028@webmail-m280.sysops.aol.com> Hi. using "click at the location" didn't work You certainly can click in a list field programatically, and you will see the appropriate line become selected. Check your coordinates? What did you do for "the location"? And when you do, a mouseUp message will be sent. Now this may not be the only way to do what you want, but your original thinking was perfectly sound. So what went wrong? Craig Newman -----Original Message----- From: larry To: How to use LiveCode Sent: Tue, Apr 22, 2014 11:12 am Subject: Re: programatically click? Hi John, You put me onto a train of thought. Here is what works: set the hilitedline of field column3 to thisLine call "mouseUp" of field column3 Thanks, Larry ----- Original Message ----- From: "John Dixon" To: "How to use LiveCode" Sent: Tuesday, April 22, 2014 8:48 AM Subject: RE: programatically click? > Would something like... > > select line x of fld x > > help ? > >> From: larry at significantplanet.org >> To: use-livecode at lists.runrev.com >> Subject: programatically click? >> Date: Tue, 22 Apr 2014 08:43:55 -0600 >> >> Is there a way to programatically click on a line in a field whose list behavior is set to multi-line and non-contiguous? >> >> TIA >> Larry >> >> P.S. using "click at the location" didn't work >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Apr 22 11:53:02 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 22 Apr 2014 10:53:02 -0500 Subject: programatically click? In-Reply-To: References: Message-ID: <5df9ebb4-956d-43e5-b373-82de3a72438f@email.android.com> Set the hilitedlines of the field. On April 22, 2014 9:43:55 AM CDT, larry at significantplanet.org wrote: >Is there a way to programatically click on a line in a field whose list >behavior is set to multi-line and non-contiguous? > >TIA >Larry > >P.S. using "click at the location" didn't work >_______________________________________________ >use-livecode mailing list >use-livecode 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 scott at tactilemedia.com Tue Apr 22 11:55:00 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 22 Apr 2014 08:55:00 -0700 Subject: programatically click? In-Reply-To: References: Message-ID: Instead of trying to generate a click, try setting the hilitedLines of the field to the lines you want selected and then send mouseUp (or whatever message you want triggered) to the field. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 4/22/14 7:43 AM, "larry at significantplanet.org" wrote: >Is there a way to programatically click on a line in a field whose list >behavior is set to multi-line and non-contiguous? > >TIA >Larry > >P.S. using "click at the location" didn't work >_______________________________________________ >use-livecode mailing list >use-livecode at 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 Apr 22 13:21:35 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 22 Apr 2014 20:21:35 +0300 Subject: programatically click? In-Reply-To: References: Message-ID: <5356A51F.3040907@gmail.com> on mouseUp click at line 5 of fld "FLIST" end mouseUp gives me this: Type click: expression is not a point Object Button Line click at line 5 of fld "FLIST" Hint Elephants ["Elephants" is the content of line 5 of fld "FLIST"] this: on mouseUp click at char 1 of line 5 of fld "FLIST" end mouseUp throws the same sort of error. Richmond. From cmsheffield at icloud.com Tue Apr 22 13:52:21 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Tue, 22 Apr 2014 11:52:21 -0600 Subject: iOS: message sent when screen is unlocked? Message-ID: Is there a message that?s sent to a stack when the user unlocks an iOS device?s screen after it has been locked? So say an app is running. Instead of closing it using the Home button, the user either locks the screen or the screen locks automatically after the specified time in Settings. Is there a way to catch that the user has unlocked the screen and take some kind of action? Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com From andrew at ctech.me Tue Apr 22 13:55:07 2014 From: andrew at ctech.me (Andrew Kluthe) Date: Tue, 22 Apr 2014 12:55:07 -0500 Subject: 500 ms to set a thumbpos?? In-Reply-To: References: <534ADE3A.3000703@hyperactivesw.com> <534B0198.2000408@tweedly.net> <534B0975.2060800@hyperactivesw.com> <534B0CBA.4040704@tweedly.net> <5eeb8c54-9ed6-4e64-b743-2d292eeff07d@email.android.com> Message-ID: Installed 6.6.1 stable on a couple systems and figured out that the problem I was having was likely related to the windows hang on redraw bug that got fixed in 6.6.1 Everything is working better than ever now on the systems I have tested. On Tue, Apr 15, 2014 at 10:53 AM, Trevor DeVore wrote: > > Even on windows 8, everything post 6.5 just craaaawwwls. > > > > The ide and any standalone built with the new graphics libs uses an > > enormous amount of cpu on my laptop. Simply showing a popup menu eats up > > about 48% of my admittedly under-powered cpu. Anything that involves > > drawing anything to the screen is god awful slow and if I fiddle too much > > while it thinks the whole deal crashes. I'm still building with 5.5 > until 7 > > to wait and see if this behavior is corrected later on. Right now, > livecode > > 6.5+ is barely usable for me unless I am using a high end system. I have > > been having similar issues with the clarify 2 beta and i suspect it is > due > > to the use of the newer engine. > > > > Andrew, > > The issue being talked about in this thread and what you describe may be > two separate things. 6.6 is when retina support was added for desktop and > that caused a big slowdown on machines running in high-dpi mode (Mac or > Windows) as many more pixels are being rendered (as many as 4x). RunRev is > working to address this as soon as possible. > > What you describe seems to be something else. 6.5 doesn't have any of the > retina changes for desktop but does have the graphics layer changes (as you > mentioned). It is my understanding that 6.5 should run at the same speed as > previous versions. I wouldn't expect any changes specific to 7.0 to affect > what you are seeing, although the speed increase they are working on for > retina would probably help. > > I would *highly* recommend that you submit a bug report about the > performance on your machine. Waiting to see if something gets fixed when > you haven't filed a report often leads to disappointment :-) -- Regards, Andrew Kluthe andrew at ctech.me From green.rodney at gmail.com Tue Apr 22 14:40:09 2014 From: green.rodney at gmail.com (Rodney Green) Date: Tue, 22 Apr 2014 14:40:09 -0400 Subject: MS SQL Message-ID: Hello, It's my first time using LC and MS SQL in a project. I can connect and receive a connection ID. However, I can't seem to pass any SQL commands. I try this: *get* revDataFromQuery(tab,*return*,tDatabaseID,"select top 3 * from [dbo].[Rep_Offices]") or this: *put* revDataFromQuery(tab,*return*,tDatabaseID,"select * from Rep_Offices") into "dbResults" or this: *put* revDataFromQuery(tab,*return*,tDatabaseID,"select top 3 * from [dbo].[Rep_Offices]") into fld "results" Any SQL causes livecode to freeze. I've tried different variations of the query and no luck. If I put in random chars for the SQL statement then the odbc driver gives an error. Can anyone point me in the right direction? Thanks. From smaclean at madmansoft.com Tue Apr 22 15:47:25 2014 From: smaclean at madmansoft.com (Stephen MacLean) Date: Tue, 22 Apr 2014 15:47:25 -0400 Subject: iOS: message sent when screen is unlocked? In-Reply-To: References: Message-ID: Hi Chris, Check out Monte's mergEXT externals. MergNotify should give you that message. MergExt.com Best, Steve MacLean > On Apr 22, 2014, at 1:52 PM, Chris Sheffield wrote: > > Is there a message that?s sent to a stack when the user unlocks an iOS device?s screen after it has been locked? > > So say an app is running. Instead of closing it using the Home button, the user either locks the screen or the screen locks automatically after the specified time in Settings. Is there a way to catch that the user has unlocked the screen and take some kind of action? > > Thanks, > Chris > > > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.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 Tue Apr 22 15:55:00 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 22 Apr 2014 12:55:00 -0700 (PDT) Subject: RELEASE: LiveCode 6.7-dp-2 In-Reply-To: References: <535531F1.5000403@runrev.com> Message-ID: <1398196500544-4678546.post@n4.nabble.com> Simon Morecroft wrote > Has anyone tried using revBrowserOpenCef with authenticated sites? > Sites that were working (asking for login details) with revBrowserOpen, > give a blank screen with revBrowserOpenCef. > Non-authenticated sites are fine using revBrowserOpenCef I could enter LinkedIN from revBrowserOpenCef. Which websites produce errors? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/RELEASE-LiveCode-6-7-dp-2-tp4678506p4678546.html Sent from the Revolution - User mailing list archive at Nabble.com. From cmsheffield at icloud.com Tue Apr 22 15:56:29 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Tue, 22 Apr 2014 13:56:29 -0600 Subject: iOS: message sent when screen is unlocked? In-Reply-To: References: Message-ID: <858AEEAD-7240-4223-9BEA-5F4DB3FF003D@icloud.com> Yes, I think that might work. Thanks. I?m a mergExt subscriber but hadn?t thought to check that. Thanks again, Chris On Apr 22, 2014, at 1:47 PM, Stephen MacLean wrote: > Hi Chris, > > Check out Monte's mergEXT externals. MergNotify should give you that message. > > MergExt.com > > Best, > > Steve MacLean > >> On Apr 22, 2014, at 1:52 PM, Chris Sheffield wrote: >> >> Is there a message that?s sent to a stack when the user unlocks an iOS device?s screen after it has been locked? >> >> So say an app is running. Instead of closing it using the Home button, the user either locks the screen or the screen locks automatically after the specified time in Settings. Is there a way to catch that the user has unlocked the screen and take some kind of action? >> >> Thanks, >> Chris >> >> >> >> -- >> Chris Sheffield >> Read Naturally, Inc. >> www.readnaturally.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 dunbarx at aol.com Tue Apr 22 18:00:54 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 22 Apr 2014 18:00:54 -0400 (EDT) Subject: programatically click? In-Reply-To: <5356A51F.3040907@gmail.com> References: <5356A51F.3040907@gmail.com> Message-ID: <8D12C8D77B0C848-2B68-43DAF@webmail-m280.sysops.aol.com> Richmond. The "click" command requires a point as a parameter, that is, something that resolves to "integer,integer" The comma is de rigueur. -----Original Message----- From: Richmond To: How to use LiveCode Sent: Tue, Apr 22, 2014 1:22 pm Subject: Re: programatically click? on mouseUp click at line 5 of fld "FLIST" end mouseUp gives me this: Type click: expression is not a point Object Button Line click at line 5 of fld "FLIST" Hint Elephants ["Elephants" is the content of line 5 of fld "FLIST"] this: on mouseUp click at char 1 of line 5 of fld "FLIST" end mouseUp throws the same sort of error. 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 devin_asay at byu.edu Tue Apr 22 18:06:09 2014 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 22 Apr 2014 22:06:09 +0000 Subject: Fun with 7.0 In-Reply-To: References: Message-ID: On Apr 21, 2014, at 6:30 PM, Dar Scott wrote: > My daughter created this: > > on mouseUp > set the label of button "????? ????" to "??????" > put "???????????????????" into field "Status" > end mouseUp > > Anyway, it is that easy. Except for learning Japanese; that is the hard part. (She studied a couple semesters in Japan, but she is still learning.) I've also been looking closely at Unicode in LC 7, as have a couple of my students. As of DP2 it's pretty stable, and for the most part unicode "just works". It's almost like magic. There are still some problems with right-to-left languages, and some insert cursor weirdnesses. See e.g., bugs http://quality.runrev.com/show_bug.cgi?id=12177, http://quality.runrev.com/show_bug.cgi?id=11986 and http://quality.runrev.com/show_bug.cgi?id=12064. I've been following Dar's posts with interest. Devin Devin Asay Office of Digital Humanities Brigham Young University From Nakia.Brewer at westrac.com.au Tue Apr 22 18:52:45 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Tue, 22 Apr 2014 22:52:45 +0000 Subject: Group Visible Message-ID: <67116DB20798A94285EEE12A67079A284CAE9A02@MHSEXC02.westrac.com.au> Is there a LC message that is sent when a group becomes visible? COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From kee at kagi.com Tue Apr 22 19:00:57 2014 From: kee at kagi.com (kee nethery) Date: Tue, 22 Apr 2014 16:00:57 -0700 Subject: programatically click? In-Reply-To: <8D12C8D77B0C848-2B68-43DAF@webmail-m280.sysops.aol.com> References: <5356A51F.3040907@gmail.com> <8D12C8D77B0C848-2B68-43DAF@webmail-m280.sysops.aol.com> Message-ID: <42DB20BD-3845-4237-BF46-E04D1CE49DFB@kagi.com> The way I deal with this is to have two commands for each interface element, one for humans, one that is programartic. For a table, I might have: on mouseup put the clickline into theline doit theline end mouseup on doit theline if theline = empty then put the clickline into theline end if - - stuff here end doit The idea is that a human activates the control with mouseup (or whatever), and the actual work is performed by the doit command. I can drive the interface by sending doit commands to each of my interface elements. For me it keeps a nice separation between programatic control and human interaction. Kee Nethery From dunbarx at aol.com Tue Apr 22 19:01:08 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 22 Apr 2014 19:01:08 -0400 (EDT) Subject: Group Visible In-Reply-To: <67116DB20798A94285EEE12A67079A284CAE9A02@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A284CAE9A02@MHSEXC02.westrac.com.au> Message-ID: <8D12C95E1CBD508-2B68-44237@webmail-m280.sysops.aol.com> I see no messages sent when showing or hiding any control, groups included. You will have to manage this by hand, I think, but that should not be too hard. However the group is shown or hidden, you can add a gadget at that point. Or is that a problem? How do these things appear or disappear? Craig Newman -----Original Message----- From: Nakia Brewer To: use-livecode Sent: Tue, Apr 22, 2014 6:53 pm Subject: Group Visible Is there a LC message that is sent when a group becomes visible? COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From Nakia.Brewer at westrac.com.au Tue Apr 22 19:24:11 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Tue, 22 Apr 2014 23:24:11 +0000 Subject: Group Visible In-Reply-To: <8D12C95E1CBD508-2B68-44237@webmail-m280.sysops.aol.com> References: <67116DB20798A94285EEE12A67079A284CAE9A02@MHSEXC02.westrac.com.au> <8D12C95E1CBD508-2B68-44237@webmail-m280.sysops.aol.com> Message-ID: <67116DB20798A94285EEE12A67079A284CAE9A41@MHSEXC02.westrac.com.au> Nah it's not a problem to manage manually, I was just wondering if there was a system message that was sent that I could tap into. Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au ? ACN 009 342 572 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of dunbarx at aol.com Sent: Wednesday, 23 April 2014 9:01 AM To: use-livecode at lists.runrev.com Subject: Re: Group Visible I see no messages sent when showing or hiding any control, groups included. You will have to manage this by hand, I think, but that should not be too hard. However the group is shown or hidden, you can add a gadget at that point. Or is that a problem? How do these things appear or disappear? Craig Newman -----Original Message----- From: Nakia Brewer To: use-livecode Sent: Tue, Apr 22, 2014 6:53 pm Subject: Group Visible Is there a LC message that is sent when a group becomes visible? COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer +virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From lan.kc.macmail at gmail.com Tue Apr 22 19:49:51 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 23 Apr 2014 07:49:51 +0800 Subject: MS SQL In-Reply-To: References: Message-ID: I don't know if it's just your email client but what I'm seeing is an asterisk * around the words get, put and return which shouldn't be there. Although it should work I'd also remove the first two parameters, tab and return, just to simplify things until you figure out exactly what's wrong. The most basic query should look like this: put revDataFromQuery(,,tDatabaseID,"SELECT * FROM Rep_Offices") into fld"results" HTH On Wed, Apr 23, 2014 at 2:40 AM, Rodney Green wrote: > Hello, > > It's my first time using LC and MS SQL in a project. I can connect and > receive a connection ID. However, I can't seem to pass any SQL commands. I > try this: > > *get* revDataFromQuery(tab,*return*,tDatabaseID,"select top 3 * from > [dbo].[Rep_Offices]") > > or this: > > *put* revDataFromQuery(tab,*return*,tDatabaseID,"select * from > Rep_Offices") > into "dbResults" > > or this: > > *put* revDataFromQuery(tab,*return*,tDatabaseID,"select top 3 * from > [dbo].[Rep_Offices]") into fld "results" > > Any SQL causes livecode to freeze. I've tried different variations of the > query and no luck. If I put in random chars for the SQL statement then the > odbc driver gives an error. > > Can anyone point me in the right direction? > > Thanks. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From selander at tkf.att.ne.jp Tue Apr 22 19:50:29 2014 From: selander at tkf.att.ne.jp (Tim Selander) Date: Wed, 23 Apr 2014 08:50:29 +0900 Subject: Fun with 7.0 In-Reply-To: References: Message-ID: <53570045.7010705@tkf.att.ne.jp> Okay, Dar, now I really want to know why your daughter is programming rocket launchers and suicide bombs!! I really hope it is just a game! :-) Tim Selander Tokyo, Japan P.S. And it really, really disturbs me that I actually sat here for a full 30 secs wondering if I should send this wisecrack in our current era of government snooping, etc. Sigh... On 14/04/23 7:06, Devin Asay wrote: > On Apr 21, 2014, at 6:30 PM, Dar Scott wrote: > >> My daughter created this: >> >> on mouseUp >> set the label of button "????? ????" to "??????" >> put "???????????????????" into field "Status" >> end mouseUp >> >> Anyway, it is that easy. Except for learning Japanese; that is the hard part. (She studied a couple semesters in Japan, but she is still learning.) > I've also been looking closely at Unicode in LC 7, as have a couple of my students. As of DP2 it's pretty stable, and for the most part unicode "just works". It's almost like magic. > > There are still some problems with right-to-left languages, and some insert cursor weirdnesses. See e.g., bugs http://quality.runrev.com/show_bug.cgi?id=12177, http://quality.runrev.com/show_bug.cgi?id=11986 and http://quality.runrev.com/show_bug.cgi?id=12064. > > I've been following Dar's posts with interest. > > Devin > > > 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 ambassador at fourthworld.com Tue Apr 22 20:38:08 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 22 Apr 2014 17:38:08 -0700 Subject: file checksums Message-ID: <53570B70.30301@fourthworld.com> I see a lot of sites that offer files to download also including an MD5 value or other checksum, ostensibly so we can verify the integrity of the package before running it. Sounds good, but if a hacker has sufficient control of a server to replace the package, would he not also be able to update the checksums displayed there to reflect those in his modified package? I like the idea of providing checksums, but I'm having a hard time seeing the practical benefit. What am I missing? -- 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 green.rodney at gmail.com Tue Apr 22 20:58:48 2014 From: green.rodney at gmail.com (Rodney Green) Date: Tue, 22 Apr 2014 20:58:48 -0400 Subject: MS SQL In-Reply-To: References: Message-ID: It still hangs after I changed the line of code. Here's the entire script for the button. Also, this is a MS SQL server. Thanks again. *on* mouseUp *local* tDatabaseID *local* xQuery *local* rez *put* "Driver={Actual SQL Server};Server=xxx.xxx.x.x;Database=AT2005_Premier;UID=xxxxxx;PWD=xxxxxx;" into tString *put* revOpenDatabase("ODBC", tString, "", "", "") into tDatabaseID *put* tDatabaseID *if* tDatabaseID is not a number *then* *answer* "Not connected" *else* *put* revDataFromQuery(,,tDatabaseID,"SELECT * FROM Rep_Offices") into fld"results" *end* *if* *# put revDatabaseConnectResult(tData) * *#put revQueryDatabase(tData,"SELECT * FROM OfficesCategory")* *end* mouseUp On Tue, Apr 22, 2014 at 7:49 PM, Kay C Lan wrote: > I don't know if it's just your email client but what I'm seeing is an > asterisk * around the words get, put and return which shouldn't be there. > Although it should work I'd also remove the first two parameters, tab and > return, just to simplify things until you figure out exactly what's wrong. > The most basic query should look like this: > > put revDataFromQuery(,,tDatabaseID,"SELECT * FROM Rep_Offices") into > fld"results" > > HTH > > > On Wed, Apr 23, 2014 at 2:40 AM, Rodney Green >wrote: > > > Hello, > > > > It's my first time using LC and MS SQL in a project. I can connect and > > receive a connection ID. However, I can't seem to pass any SQL commands. > I > > try this: > > > > *get* revDataFromQuery(tab,*return*,tDatabaseID,"select top 3 * from > > [dbo].[Rep_Offices]") > > > > or this: > > > > *put* revDataFromQuery(tab,*return*,tDatabaseID,"select * from > > Rep_Offices") > > into "dbResults" > > > > or this: > > > > *put* revDataFromQuery(tab,*return*,tDatabaseID,"select top 3 * from > > [dbo].[Rep_Offices]") into fld "results" > > > > Any SQL causes livecode to freeze. I've tried different variations of the > > query and no luck. If I put in random chars for the SQL statement then > the > > odbc driver gives an error. > > > > Can anyone point me in the right direction? > > > > Thanks. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Tue Apr 22 21:00:07 2014 From: dsc at swcp.com (Dar Scott) Date: Tue, 22 Apr 2014 19:00:07 -0600 Subject: file checksums In-Reply-To: <53570B70.30301@fourthworld.com> References: <53570B70.30301@fourthworld.com> Message-ID: I?ve wondered the same. My guess is that the web page with the MD5 is not on the same server as the file. But, I have never checked. I suppose the same password might be used for access to both. Dar On Apr 22, 2014, at 6:38 PM, Richard Gaskin wrote: > I see a lot of sites that offer files to download also including an MD5 value or other checksum, ostensibly so we can verify the integrity of the package before running it. > > Sounds good, but if a hacker has sufficient control of a server to replace the package, would he not also be able to update the checksums displayed there to reflect those in his modified package? > > I like the idea of providing checksums, but I'm having a hard time seeing the practical benefit. > > What am I missing? > > -- > 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 capellan2000 at gmail.com Tue Apr 22 21:15:27 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 22 Apr 2014 18:15:27 -0700 (PDT) Subject: Fun with 7.0 In-Reply-To: <53570045.7010705@tkf.att.ne.jp> References: <53570045.7010705@tkf.att.ne.jp> Message-ID: <1398215727469-4678559.post@n4.nabble.com> Sudden and complete destruction is deeply embedded in the collective mind of Japanese people, post Hiroshima and Nagasaki. Their Pop culture reflect this fear... Remember Godzilla? Fukushima Nuclear accident just remembers them of the reality of these fears. :o So, yes this a recurrent theme in games and fiction works from Japan. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Fun-with-7-0-tp4678526p4678559.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Tue Apr 22 21:25:01 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 22 Apr 2014 18:25:01 -0700 (PDT) Subject: file checksums In-Reply-To: <53570B70.30301@fourthworld.com> References: <53570B70.30301@fourthworld.com> Message-ID: <1398216301693-4678560.post@n4.nabble.com> Maybe MD5 and SHA-1 are more useful for files available in many servers. What are the chances of hacking many servers at once? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/file-checksums-tp4678556p4678560.html Sent from the Revolution - User mailing list archive at Nabble.com. From dsc at swcp.com Tue Apr 22 21:31:02 2014 From: dsc at swcp.com (Dar Scott) Date: Tue, 22 Apr 2014 19:31:02 -0600 Subject: Fun with 7.0 In-Reply-To: <53570045.7010705@tkf.att.ne.jp> References: <53570045.7010705@tkf.att.ne.jp> Message-ID: You don?t include a self-destruct button in everything you build? Doofenshmirtz does. (We are fans of Phineas and Ferb at our house.) Did I mention that her brother and I discovered this will work? put 0 into ???? add 1 to ???? put ???? -- displays 1 The editor kept getting confused though. I?m not sure if it was the field or the handlers for field events. Dar On Apr 22, 2014, at 5:50 PM, Tim Selander wrote: > Okay, Dar, now I really want to know why your daughter is programming rocket launchers and suicide bombs!! I really hope it is just a game! :-) > > Tim Selander > Tokyo, Japan > > P.S. And it really, really disturbs me that I actually sat here for a full 30 secs wondering if I should send this wisecrack in our current era of government snooping, etc. Sigh... > > > On 14/04/23 7:06, Devin Asay wrote: >> On Apr 21, 2014, at 6:30 PM, Dar Scott wrote: >> >>> My daughter created this: >>> >>> on mouseUp >>> set the label of button "????? ????" to "??????" >>> put "???????????????????" into field "Status" >>> end mouseUp >>> >>> Anyway, it is that easy. Except for learning Japanese; that is the hard part. (She studied a couple semesters in Japan, but she is still learning.) >> I've also been looking closely at Unicode in LC 7, as have a couple of my students. As of DP2 it's pretty stable, and for the most part unicode "just works". It's almost like magic. >> >> There are still some problems with right-to-left languages, and some insert cursor weirdnesses. See e.g., bugs http://quality.runrev.com/show_bug.cgi?id=12177, http://quality.runrev.com/show_bug.cgi?id=11986 and http://quality.runrev.com/show_bug.cgi?id=12064. >> >> I've been following Dar's posts with interest. >> >> Devin >> >> >> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 elementarysoftware.com Tue Apr 22 22:26:47 2014 From: scott at elementarysoftware.com (Scott Morrow) Date: Tue, 22 Apr 2014 19:26:47 -0700 Subject: Email Using LiveCode Server? In-Reply-To: References: Message-ID: <6FA6C52C-D86E-4913-BE5D-A735B4694CCF@elementarysoftware.com> Thanks to everyone who posted thoughts or follow-ups to Scott?s Email question. I was working something similar. ? Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com office 1-800-615-0867 ------------------------------------------------------ On Apr 22, 2014, at 4:01 AM, Matthias Rebbe | M-R-D wrote: > > Hi Scott, > > if you need to reply to the address the customer entered in the form, then you could > adjust the script a little bit: > > // add the parameter pReplyTo to the parameter list > > //command mail pTo, pSub, pMsg, pFrom, pCc, pBcc, pHtml, pAtts > command mail pTo, pSub, pMsg, pFrom, pReplyTo, pCc, pBcc, pHtml, pAtts > > local tMsg > > -- build the message header, adding the from, to and subject details > -- we also put any cc addresses in here, but not bcc (bcc addresses hidden) > put "From:" && pFrom & return & "To:" && pTo & return & "Subject:" && pSub & return into tMsg > > //add this three lines // > if pReplyTo is not empty then > put "Reply-to:" && pReplyTo & return after tMsg > end if > // END add this three lines // > > > if pCc is not empty then > put "Cc:" && pCc & return after tMsg > end if > . . . . > ?> > > You just have to set the pReplyTo variable with the email address of the customer. > > And don?t forget to call the command "mail" with the newly added parameter > > mail pTo, pSub, pMsg, pFrom, pReplyTo, pCc, pBcc, pHtml, pAtts > > With that adjustments the email is sent and you can still reply to the customer address. > > Regards, > > Matthias > > > Am 22.04.2014 um 01:06 schrieb Scott Rossi : > >> Thanks to Alex and Matthias for the responses. Matthias's comment >> prompted me to do some more searching and I found the problem, which was >> partly script related, and partly host related: outside-domain email >> addresses are not allowed. >> >> Some time ago, DreamHost stepped up their anti-spam practices, and >> disabled the ability of sending mail from an address that is not connected >> to any of your hosted domains. Clearly this makes sense. But the form I >> have uses the sender's email in the "from" variable, which apparently gets >> rejected by the mail process. As soon as I changed the "from" address to >> one of my domain addresses, sendmail worked right away. >> >> [ bloody forehead slap ] >> >> Thanks all. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> On 4/21/14 11:51 AM, "Scott Rossi" wrote: >> >>> I'm wondering if anyone has a working example of sending email from >>> LiveCode server. >>> >>> I'm trying to send mail using LC server on a site, and following the >>> RunRev >>> lesson: >>> http://lessons.runrev.com/s/lessons/m/4070/l/8184-Sending-Emails-From-revS >>> e >>> rver-Scripts From jacque at hyperactivesw.com Tue Apr 22 22:34:01 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 22 Apr 2014 21:34:01 -0500 Subject: MS SQL In-Reply-To: References: Message-ID: <53572699.1090103@hyperactivesw.com> On 4/22/14, 6:49 PM, Kay C Lan wrote: > I don't know if it's just your email client but what I'm seeing is an > asterisk * around the words get, put and return which shouldn't be there. That happens to all keywords when a colorized script is copied from the script editor and pasted into a text-only email list. I see it here all the time. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From s.morecroft at qut.edu.au Tue Apr 22 23:49:07 2014 From: s.morecroft at qut.edu.au (morecroft) Date: Tue, 22 Apr 2014 20:49:07 -0700 (PDT) Subject: RELEASE: LiveCode 6.7-dp-2 In-Reply-To: <1398196500544-4678546.post@n4.nabble.com> References: <535531F1.5000403@runrev.com> <1398196500544-4678546.post@n4.nabble.com> Message-ID: <1398224947688-4678564.post@n4.nabble.com> Thanks Alejandro. I can also get the linkedin page. Looking closer, I think it may only be a problem for basic auth which gives a pop-up login box. Rather old fashioned I know, but you still get this with some internal sites. An example of one of these, you should be able to see, is https://estore-remote.qut.edu.au . With this site the first try does not give the login box; the second try gives an error page which you can see. As I mentioned before, revBrowserOpen does work for this kind of login. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/RELEASE-LiveCode-6-7-dp-2-tp4678506p4678564.html Sent from the Revolution - User mailing list archive at Nabble.com. From stephenREVOLUTION2 at barncard.com Tue Apr 22 23:54:18 2014 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 22 Apr 2014 20:54:18 -0700 Subject: Email Using LiveCode Server? In-Reply-To: <6FA6C52C-D86E-4913-BE5D-A735B4694CCF@elementarysoftware.com> References: <6FA6C52C-D86E-4913-BE5D-A735B4694CCF@elementarysoftware.com> Message-ID: On Tue, Apr 22, 2014 at 7:26 PM, Scott Morrow wrote: > I was working something similar. > ? > Scott Morrow > I was ready to kluge something with a php/livecode hybrid setup. *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From shawnlivecode at gmail.com Wed Apr 23 00:05:31 2014 From: shawnlivecode at gmail.com (Shawn Blc) Date: Tue, 22 Apr 2014 23:05:31 -0500 Subject: file checksums In-Reply-To: <1398216301693-4678560.post@n4.nabble.com> References: <53570B70.30301@fourthworld.com> <1398216301693-4678560.post@n4.nabble.com> Message-ID: I'm guessing that most people that download files have no idea about MD5 and checksums let alone know how to verify the integrity of the download. Besides the geeks around here (LiveCode geeks are awesome), could your neighbor verify the following? Probably not. 9cfec5c23c16e1fbd1a1d4bffb0e6ab2 vs 9e107d9d372bb6826bd81d3542a419d6 vs ec96823c9795fb3cfa1bbad6c99ed8fe So while MD5 provides a way to verify the integrity of a file for the honest and geeky, it does nothing to protect your average computer user from those trying to highjack their banking and credit card information. See my example above, just because there's a hashtag doesn't make it a legit download. On Tue, Apr 22, 2014 at 8:25 PM, Alejandro Tejada wrote: > Maybe MD5 and SHA-1 are more useful for files > available in many servers. > > What are the chances of hacking many servers > at once? > > Al > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/file-checksums-tp4678556p4678560.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 shawnlivecode at gmail.com Wed Apr 23 00:08:31 2014 From: shawnlivecode at gmail.com (Shawn Blc) Date: Tue, 22 Apr 2014 23:08:31 -0500 Subject: RELEASE: LiveCode 6.7-dp-2 In-Reply-To: <1398224947688-4678564.post@n4.nabble.com> References: <535531F1.5000403@runrev.com> <1398196500544-4678546.post@n4.nabble.com> <1398224947688-4678564.post@n4.nabble.com> Message-ID: I get a popup login. Using Chrome on OSX Mavericks. On Tue, Apr 22, 2014 at 10:49 PM, morecroft wrote: > Thanks Alejandro. > I can also get the linkedin page. > Looking closer, I think it may only be a problem for basic auth which gives > a pop-up login box. Rather old fashioned I know, but you still get this > with > some internal sites. An example of one of these, you should be able to see, > is https://estore-remote.qut.edu.au . > With this site the first try does not give the login box; the second try > gives an error page which you can see. > As I mentioned before, revBrowserOpen does work for this kind of login. > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/RELEASE-LiveCode-6-7-dp-2-tp4678506p4678564.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 shawnlivecode at gmail.com Wed Apr 23 00:08:31 2014 From: shawnlivecode at gmail.com (Shawn Blc) Date: Tue, 22 Apr 2014 23:08:31 -0500 Subject: RELEASE: LiveCode 6.7-dp-2 In-Reply-To: <1398224947688-4678564.post@n4.nabble.com> References: <535531F1.5000403@runrev.com> <1398196500544-4678546.post@n4.nabble.com> <1398224947688-4678564.post@n4.nabble.com> Message-ID: I get a popup login. Using Chrome on OSX Mavericks. On Tue, Apr 22, 2014 at 10:49 PM, morecroft wrote: > Thanks Alejandro. > I can also get the linkedin page. > Looking closer, I think it may only be a problem for basic auth which gives > a pop-up login box. Rather old fashioned I know, but you still get this > with > some internal sites. An example of one of these, you should be able to see, > is https://estore-remote.qut.edu.au . > With this site the first try does not give the login box; the second try > gives an error page which you can see. > As I mentioned before, revBrowserOpen does work for this kind of login. > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/RELEASE-LiveCode-6-7-dp-2-tp4678506p4678564.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 scott at tactilemedia.com Wed Apr 23 02:02:33 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 22 Apr 2014 23:02:33 -0700 Subject: LiveCode Server Turned To Molasses Message-ID: Hi LC Server Gurus: One day after getting an LC server-based form working, the response time of the server has suddenly decreased substantially. I put up a simple one line script that returns the long time, and here it takes between 20 and 30 seconds to execute. A simple HTML page with "hello world" responds immediately. Is it possible that my repeated requests during testing have "stacked up" and bogged down the server? Is there some kind of reset and/or maintenance thing I can do? Everything appeared to be running fine yesterday, but today things are unusuable. Thanks for any suggestions. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From peterwawood at gmail.com Wed Apr 23 03:00:04 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Wed, 23 Apr 2014 15:00:04 +0800 Subject: LiveCode Server Turned To Molasses In-Reply-To: References: Message-ID: <6922A1F8-AB09-462A-92AC-A71416FA1D38@gmail.com> Hi Scott One thing to check is if the machine has lots of "zombie" LiveCode processes just in case LiveCode is not terminating correctly. Regards Peter On 23 Apr 2014, at 14:02, Scott Rossi wrote: > Hi LC Server Gurus: > > One day after getting an LC server-based form working, the response time > of the server has suddenly decreased substantially. I put up a simple one > line script that returns the long time, and here it takes between 20 and > 30 seconds to execute. A simple HTML page with "hello world" responds > immediately. > > Is it possible that my repeated requests during testing have "stacked up" > and bogged down the server? Is there some kind of reset and/or maintenance > thing I can do? > > Everything appeared to be running fine yesterday, but today things are > unusuable. > > Thanks for any suggestions. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Wed Apr 23 03:12:58 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 23 Apr 2014 00:12:58 -0700 Subject: LiveCode Server Turned To Molasses In-Reply-To: <6922A1F8-AB09-462A-92AC-A71416FA1D38@gmail.com> References: <6922A1F8-AB09-462A-92AC-A71416FA1D38@gmail.com> Message-ID: Hi Peter: How is this check done? The installation of LCserver is on a commercial host. And what would be the process to enable LC to terminate properly? Thanks for your help. Scott Rossi Creative Director Tactile Media, UX/UI Design On 4/23/14 12:00 AM, "Peter W A Wood" wrote: >Hi Scott > >One thing to check is if the machine has lots of "zombie" LiveCode >processes just in case LiveCode is not terminating correctly. > >Regards > >Peter > >On 23 Apr 2014, at 14:02, Scott Rossi wrote: > >> Hi LC Server Gurus: >> >> One day after getting an LC server-based form working, the response time >> of the server has suddenly decreased substantially. I put up a simple >>one >> line script that returns the long time, and here it takes between 20 and >> 30 seconds to execute. A simple HTML page with "hello world" responds >> immediately. >> >> Is it possible that my repeated requests during testing have "stacked >>up" >> and bogged down the server? Is there some kind of reset and/or >>maintenance >> thing I can do? >> >> Everything appeared to be running fine yesterday, but today things are >> unusuable. >> >> Thanks for any suggestions. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Wed Apr 23 04:19:43 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 23 Apr 2014 01:19:43 -0700 Subject: LiveCode Server Turned To Molasses In-Reply-To: References: Message-ID: Well, after contacting DreamHost, the support dude said there were some hung processes on the server and that they would reset it (he thought they were PHP processes but wasn't sure). Doing so fixed the problem, but I'm worried something in my scripts or my setup contributed to the problem. We'll see. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 4/22/14 11:02 PM, "Scott Rossi" wrote: >Hi LC Server Gurus: > >One day after getting an LC server-based form working, the response time >of the server has suddenly decreased substantially. I put up a simple >one >line script that returns the long time, and here it takes between 20 and >30 seconds to execute. A simple HTML page with "hello world" responds >immediately. > >Is it possible that my repeated requests during testing have "stacked up" >and bogged down the server? Is there some kind of reset and/or >maintenance >thing I can do? > >Everything appeared to be running fine yesterday, but today things are >unusuable. > >Thanks for any suggestions. > >Regards, > >Scott Rossi >Creative Director >Tactile Media, UX/UI Design > From mblivecode at harbourhosting.co.uk Wed Apr 23 05:01:13 2014 From: mblivecode at harbourhosting.co.uk (Martin Baxter) Date: Wed, 23 Apr 2014 10:01:13 +0100 Subject: file checksums In-Reply-To: <53570B70.30301@fourthworld.com> References: <53570B70.30301@fourthworld.com> Message-ID: <53578159.2030302@harbourhosting.co.uk> On 23/04/14 01:38, Richard Gaskin wrote: > I see a lot of sites that offer files to download also including an MD5 > value or other checksum, ostensibly so we can verify the integrity of > the package before running it. > > Sounds good, but if a hacker has sufficient control of a server to > replace the package, would he not also be able to update the checksums > displayed there to reflect those in his modified package? > > I like the idea of providing checksums, but I'm having a hard time > seeing the practical benefit. > > What am I missing? > Richard, What you say is obviously true, there is no ultimate guarantee from checksums. The checksum is not useless though. It gives pretty good confidence that the file didn't get altered in transit, whether by a network error, a disk writing error, or by the intervention of a malcious actor as MITM replacing the requested file with a doctored version of their own. It may not provide ultimate trust but is better than no checks at all. Some places sign their downloads with PGP, which in theory gives a stronger guarantee of authenticity. However I think there are similar issues with that. To verify it, you must install the public key of the signer and assert (but on what basis?) that it is strongly trusted. Here too, if the malicious actor can subvert both the download file and the public key, the method fails. Most downloaders don't know anything about the signer or have prior knowledge of his/her public key and may not see anything amiss if they are somehow subverted. It gets better I suppose once you have had a trusted key in your keyring for a while and it has a good track record of vouching for software that you have confidence in. However, if the key that you originally installed and more or less blindly trusted was actually a fraud, then you are in trouble. Martin From toolbook at kestner.de Wed Apr 23 05:14:32 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 23 Apr 2014 11:14:32 +0200 Subject: globalLoc returns wrong values! Message-ID: <000001cf5ed4$711282f0$533788d0$@de> Hi, With LC 6.5.2 on Windows 7 I am taking a screenshot from a rect like this: put globalLoc (the topleft of image "Image") into tTopLeft put globalLoc (the bottomright of image "Image") into tBotRight put tTopLeft & "," & tBotRight into tRectSnap export snapshot from rect tRectSnap to tScreenshot as PNG This works fine, beside when the user changes the textsize to 150% in his display settings. Then the snapshot rect is shifted and the user gets wrong content in his snapshot. Has anybody stumpled upon this issue yet and has found a workaround for this? Perhaps checking a windows system setting and recalculating the rect? I know, you can change the textsize on mac too, but that's really only the TEXT size and that doesn't bother my LC program. On windows this option is actually not only the text size, but the whole screen is resized. Is there something similar on Mac, what could cause a similar problem, what I didn't find yet? Thanks for any ideas Tiemo From toolbook at kestner.de Wed Apr 23 05:58:28 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 23 Apr 2014 11:58:28 +0200 Subject: AW: globalLoc returns wrong values! In-Reply-To: <000001cf5ed4$711282f0$533788d0$@de> References: <000001cf5ed4$711282f0$533788d0$@de> Message-ID: <000001cf5eda$9413c9c0$bc3b5d40$@de> In my case I think I can workaround this issue by changing my snapshot parameter from "rect" to "obj", when changing some more lines around. But I wonder what to do, when you need the "rect" Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Tiemo Hollmann TB > Gesendet: Mittwoch, 23. April 2014 11:15 > An: 'How to use LiveCode' > Betreff: globalLoc returns wrong values! > > Hi, > > With LC 6.5.2 on Windows 7 I am taking a screenshot from a rect like this: > > put globalLoc (the topleft of image "Image") into tTopLeft > > put globalLoc (the bottomright of image "Image") into tBotRight > > put tTopLeft & "," & tBotRight into tRectSnap > > export snapshot from rect tRectSnap to tScreenshot as PNG > > This works fine, beside when the user changes the textsize to 150% in his > display settings. Then the snapshot rect is shifted and the user gets wrong > content in his snapshot. > > > > Has anybody stumpled upon this issue yet and has found a workaround for this? > Perhaps checking a windows system setting and recalculating the rect? > > > > I know, you can change the textsize on mac too, but that's really only the > TEXT size and that doesn't bother my LC program. On windows this option is > actually not only the text size, but the whole screen is resized. Is there > something similar on Mac, what could cause a similar problem, what I didn't > find yet? > > > > Thanks for any ideas > > > > Tiemo > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Wed Apr 23 07:19:46 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 23 Apr 2014 13:19:46 +0200 Subject: Installer Maker Spring Offer In-Reply-To: <534E6BA4.4090102@economy-x-talk.com> References: <534E6BA4.4090102@economy-x-talk.com> Message-ID: <5357A1D2.5000303@economy-x-talk.com> Hello, Today is the last day when you can take advantage of the Installer Maker Spring Offer. We are offering everyone who bought a license in the past a one-time opportunity to upgrade this license at the upgrade price of ? 16,95, even if your license has expired. Is your license over a year old? For a limited time, you can now upgrade your license to the latest version for only ? 16,95 instead of the normal price of ? 39,00. This offer is available until Wednesday 23rd April 2014. Installer Maker Installer Maker is a simple tool to create installers for Windows and Mac OS X. Installer Maker comes in two editions: a LiveCode plug-in and a standalone. The plug-in can be used with the commercial edition of LiveCode only, while the standalone version can be used in combination with any edition of LiveCode , Revolution and MetaCard, as well as RealStudio/Xojo, SuperCard, Prezi, HyperStudio etc. Upgrading Normally, licenses cost 39 euro with free updates during the first 3 months after purchase. Upgrades are available for ? 16,95 during one year after purchase. Just for one week, we allow everyone to upgrade his or her license at the discounted upgrade price. To get a new license, go to http://qery.us/49n (plug-in) or http://qery.us/49o (standalone) and enter your license key at the bottom of the page. The page will load again and if you scroll to the bottom of the page again, you will now be able to buy a new license at the discount price. From there, just follow PayPal's instructions. Shortly after purchase, you will first receive an auto-reply. Your license follows within 24 hours. Why Upgrade? Perhaps you didn't upgrade in the past, because you were missing some essential features? Download the Read Me file from http://qery.us/49m (PDF) and check out the history. You'll see that many features have been added during the past year. Go to http://qery.us/49n to download the plug-in or to http://qery.us/49o to download the standalone version. Did you use the plug-in edition with a commercial version of LiveCode and are you moving to the open-source edition? Then download the standalone version. You can always switch from the plug-in edition and back or use them combined. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ From dirk.cleenwerck at gmail.com Wed Apr 23 07:39:55 2014 From: dirk.cleenwerck at gmail.com (Dirk prive) Date: Wed, 23 Apr 2014 13:39:55 +0200 Subject: Installer Maker Spring Offer In-Reply-To: <5357A1D2.5000303@economy-x-talk.com> References: <534E6BA4.4090102@economy-x-talk.com> <5357A1D2.5000303@economy-x-talk.com> Message-ID: Thanks for reminding me. I almost forgot. Just ordered. Have a nice day. On Wed, Apr 23, 2014 at 1:19 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hello, > > Today is the last day when you can take advantage of the Installer Maker > Spring Offer. We are offering everyone who bought a license in the past a > one-time opportunity to upgrade this license at the upgrade price of ? > 16,95, even if your license has expired. > > > Is your license over a year old? For a limited time, you can now upgrade > your license to the latest version for only ? 16,95 instead of the normal > price of ? 39,00. This offer is available until Wednesday 23rd April 2014. > > Installer Maker > > Installer Maker is a simple tool to create installers for Windows and Mac > OS X. Installer Maker comes in two editions: a LiveCode plug-in and a > standalone. The plug-in can be used with the commercial edition of LiveCode > only, while the standalone version can be used in combination with any > edition of LiveCode , Revolution and MetaCard, as well as RealStudio/Xojo, > SuperCard, Prezi, HyperStudio etc. > > Upgrading > > Normally, licenses cost 39 euro with free updates during the first 3 > months after purchase. Upgrades are available for ? 16,95 during one year > after purchase. Just for one week, we allow everyone to upgrade his or her > license at the discounted upgrade price. > > To get a new license, go to http://qery.us/49n (plug-in) or > http://qery.us/49o (standalone) and enter your license key at the bottom > of the page. The page will load again and if you scroll to the bottom of > the page again, you will now be able to buy a new license at the discount > price. From there, just follow PayPal's instructions. Shortly after > purchase, you will first receive an auto-reply. Your license follows within > 24 hours. > > Why Upgrade? > > Perhaps you didn't upgrade in the past, because you were missing some > essential features? Download the Read Me file from http://qery.us/49m(PDF) and check out the history. You'll see that many features have been > added during the past year. Go to http://qery.us/49n to download the > plug-in or to http://qery.us/49o to download the standalone version. > > Did you use the plug-in edition with a commercial version of LiveCode and > are you moving to the open-source edition? Then download the standalone > version. You can always switch from the plug-in edition and back or use > them combined. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Installer Maker for LiveCode: > http://qery.us/468 > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > LiveCode on Facebook: > https://www.facebook.com/groups/runrev/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From lists at mangomultimedia.com Wed Apr 23 08:16:50 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 23 Apr 2014 08:16:50 -0400 Subject: globalLoc returns wrong values! In-Reply-To: <000001cf5ed4$711282f0$533788d0$@de> References: <000001cf5ed4$711282f0$533788d0$@de> Message-ID: On Wed, Apr 23, 2014 at 5:14 AM, Tiemo Hollmann TB wrote: > > With LC 6.5.2 on Windows 7 I am taking a screenshot from a rect like this: > > put globalLoc (the topleft of image "Image") into tTopLeft > > put globalLoc (the bottomright of image "Image") into tBotRight > > put tTopLeft & "," & tBotRight into tRectSnap > > export snapshot from rect tRectSnap to tScreenshot as PNG > > This works fine, beside when the user changes the textsize to 150% in his > display settings. Then the snapshot rect is shifted and the user gets wrong > content in his snapshot. > When the Windows system has scaling set to >= 150% then Windows is in high-dpi mode. LiveCode 6.5.2 does not support this mode which is why you see what you are seeing. LiveCode 6.6 does support high-dpi on the desktop and should behave properly. 6.6 has some other issues with high-dpi (e.g. text rendering and tooltips), however, and can't be used just yet. Watch for the next 6.6.2 update and try that out. -- Trevor DeVore Blue Mango Learning Systems www.screensteps.com - www.clarify-it.com From toolbook at kestner.de Wed Apr 23 08:33:38 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 23 Apr 2014 14:33:38 +0200 Subject: How to open a stack at a custom position without flipping? Message-ID: <002b01cf5ef0$416b8080$c4428180$@de> Hello, I would like to open my stack window at the last screen position. Therefore I store the last position in a ini file, read it in preopenstack at set the window to the last position in my preopenstack handler. This works so far, but I have to gotchas. 1. Though I set a screenlock at the beginning of preopenstack, the main window with a white/default background opens first at "a standard position" and flips afterwords to my wanted position. How can I force the window to open directly at my ini position? 2. Because there are some other inits in the preopen handler, it takes about a second to open the first card with content. For this gap, between opening the first window with the default background and showing my content, I would like to show a splash screen, but all my attempts showing an image in preopenstack or openstack or opencard don't seem to work. The splash image always shows up, when all other stuff also is ready. Probably I only have the wrong sequence of statements, but what am I doing wrong? Thanks for any ideas Tiemo From david.bovill at gmail.com Wed Apr 23 08:35:48 2014 From: david.bovill at gmail.com (David Bovill) Date: Wed, 23 Apr 2014 14:35:48 +0200 Subject: HTPPS problem with a web service Message-ID: I'm having an https problem with a RESTful web service I am calling. Here is the url (which works in the browser but not from the IDE): https://api.dreamhost.com/?key=6SHU5P2HLDAYECUM&cmd=user-list_users_no_pw&unique_id=4082432&format=perl I've tried libUrlSetSSLVerificition false and made a stab at debugging it. I get the following error: httpproxyforurl for host 'api.dreamhost.com': > Proxy for URL: > socket selected: api.dreamhost.com:443|6924 > GET > /?key=6SHU5P2HLDAYECUM&cmd=user-list_users_no_pw&unique_id=4082432&format=perl > HTTP/1.1 > Host: api.dreamhost.com > User-Agent: curl/7.30.0 > Accept: */* > socket timeout api.dreamhost.com:443|6924 And the following headers sent (as you can see I tried changing the user agent as curl works fine): GET > /?key=6SHU5P2HLDAYECUM&cmd=user-list_users_no_pw&unique_id=4082432&format=perl > HTTP/1.1 > Host: api.dreamhost.com > User-Agent: curl/7.30.0 > Accept: */* > And returned: > HTTP/1.1 200 OK > Set-Cookie: 60gpBAK=R1224191420; path=/; expires=Mon, 07-Apr-2014 18:14:08 > GMT > Date: Mon, 07 Apr 2014 17:06:53 GMT > Content-Type: text/html; charset=utf-8 > Transfer-Encoding: chunked > Connection: keep-alive > Set-Cookie: 60gp=R477302024; path=/; expires=Mon, 07-Apr-2014 18:08:19 GMT > Server: Apache > X-Powered-By: PHP/5.2.17 > Vary: Cookie,Accept-Encoding > Composed-By: SPIP 2.1.24 @ www.spip.net + images(1.0.1), > msie_compat(1.0.0), porte_plume(1.7.9), safehtml(1.3.7), vertebres(1.0.0), > guestbook(2.22), compresseur(1.0.2) > X-Spip-Cache: 86400 > Last-Modified: Mon, 07 Apr 2014 17:06:53 GMT Any thoughts? From toolbook at kestner.de Wed Apr 23 08:39:06 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 23 Apr 2014 14:39:06 +0200 Subject: AW: globalLoc returns wrong values! In-Reply-To: References: <000001cf5ed4$711282f0$533788d0$@de> Message-ID: <003001cf5ef1$054aef40$0fe0cdc0$@de> I didn't knew, that 150% = high-dpi mode, that?s good to know Thanks for the info Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Trevor DeVore > Gesendet: Mittwoch, 23. April 2014 14:17 > An: How to use LiveCode > Betreff: Re: globalLoc returns wrong values! > > On Wed, Apr 23, 2014 at 5:14 AM, Tiemo Hollmann TB wrote: > > > > > With LC 6.5.2 on Windows 7 I am taking a screenshot from a rect like this: > > > > put globalLoc (the topleft of image "Image") into tTopLeft > > > > put globalLoc (the bottomright of image "Image") into tBotRight > > > > put tTopLeft & "," & tBotRight into tRectSnap > > > > export snapshot from rect tRectSnap to tScreenshot as PNG > > > > This works fine, beside when the user changes the textsize to 150% in > > his display settings. Then the snapshot rect is shifted and the user > > gets wrong content in his snapshot. > > > > When the Windows system has scaling set to >= 150% then Windows is in high-dpi > mode. LiveCode 6.5.2 does not support this mode which is why you see what you > are seeing. LiveCode 6.6 does support high-dpi on the desktop and should > behave properly. 6.6 has some other issues with high-dpi (e.g. > text rendering and tooltips), however, and can't be used just yet. Watch for > the next 6.6.2 update and try that out. > > -- > Trevor DeVore > Blue Mango Learning Systems > www.screensteps.com - www.clarify-it.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 peterwawood at gmail.com Wed Apr 23 09:39:06 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Wed, 23 Apr 2014 21:39:06 +0800 Subject: LiveCode Server Turned To Molasses In-Reply-To: References: <6922A1F8-AB09-462A-92AC-A71416FA1D38@gmail.com> Message-ID: Hi Scott Sorry that I didn't reply earlier, I had to go out after sending the message. The way to check which processes are running is to use the "ps" command. I'm pretty certain that on a shared host you'll only be able to see your own processes (but one of the Linux gurus should be able to confirm or deny that). I ran this script on on-rev: (Yes that is the whole script no HTML). I got this output: PID TTY TIME CMD 29690 ? 00:00:00 livecode-server 29694 ? 00:00:00 sh 29695 ? 00:00:00 ps Which would look like this with linefeeds: PID TTY TIME CMD 29690 ? 00:00:00 livecode-server 29694 ? 00:00:00 sh 29695 ? 00:00:00 ps As far as I understand the -aux option to ps should show all the processes running on the machine but as it is a shared host I only get to see my processes. The three processes listed are the livecode server, the shell and the ps command. Which looks fine. If there were any hung LiveCode processes they would show up in the list. LiveCode might not terminate properly if a script crashes or goes into an infinite loop. All you can do is kill the process to clear it (and solve the bug so it doesn't happen again). Hope this belatedly helps. Regards Peter PS I saw from your later message that the problem was caused by another user and is now fixed. On 23 Apr 2014, at 15:12, Scott Rossi wrote: > Hi Peter: > > How is this check done? The installation of LCserver is on a commercial > host. > > And what would be the process to enable LC to terminate properly? > > Thanks for your help. > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 4/23/14 12:00 AM, "Peter W A Wood" wrote: > >> Hi Scott >> >> One thing to check is if the machine has lots of "zombie" LiveCode >> processes just in case LiveCode is not terminating correctly. >> >> Regards >> >> Peter >> >> On 23 Apr 2014, at 14:02, Scott Rossi wrote: >> >>> Hi LC Server Gurus: >>> >>> One day after getting an LC server-based form working, the response time >>> of the server has suddenly decreased substantially. I put up a simple >>> one >>> line script that returns the long time, and here it takes between 20 and >>> 30 seconds to execute. A simple HTML page with "hello world" responds >>> immediately. >>> >>> Is it possible that my repeated requests during testing have "stacked >>> up" >>> and bogged down the server? Is there some kind of reset and/or >>> maintenance >>> thing I can do? >>> >>> Everything appeared to be running fine yesterday, but today things are >>> unusuable. >>> >>> Thanks for any suggestions. >>> >>> Regards, >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, UX/UI Design >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dave at applicationinsight.com Wed Apr 23 09:43:22 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Wed, 23 Apr 2014 06:43:22 -0700 (PDT) Subject: How to open a stack at a custom position without flipping? In-Reply-To: <002b01cf5ef0$416b8080$c4428180$@de> References: <002b01cf5ef0$416b8080$c4428180$@de> Message-ID: <1398260602794-4678582.post@n4.nabble.com> Hi Tiemo For your first issue I would so something like "set the visible of me to false" early on in your preOpenStack handler, and once you were sure everything was in the right place do a "set the visible of me to true" Regarding your second issue can you not populate your fields inside a preOpenCard handler? If not then you could make another card containing your splash image (or some other thing) the first card in your stack and then have have something in your openCard handler to go to the second card after a second or two... ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-to-open-a-stack-at-a-custom-position-without-flipping-tp4678578p4678582.html Sent from the Revolution - User mailing list archive at Nabble.com. From peterwawood at gmail.com Wed Apr 23 09:50:17 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Wed, 23 Apr 2014 21:50:17 +0800 Subject: HTPPS problem with a web service In-Reply-To: References: Message-ID: David This worked for me in the message box: Command: put URL "https://api.dreamhost.com/?key=6SHU5P2HLDAYECUM&cmd=user-list_users_no_pw&unique_id=4082432&format=perl" Output: $result = { 'data' => 'unique_id_already_used', 'result' => 'error' }; I haven't been keeping up to-date so I'm still running LiveCode 6.5.2 under OS X 10.7.5 Regards Peter On 23 Apr 2014, at 20:35, David Bovill wrote: > I'm having an https problem with a RESTful web service I am calling. Here > is the url (which works in the browser but not from the IDE): > > https://api.dreamhost.com/?key=6SHU5P2HLDAYECUM&cmd=user-list_users_no_pw&unique_id=4082432&format=perl > > > I've tried libUrlSetSSLVerificition false and made a stab at debugging it. > I get the following error: > > httpproxyforurl for host 'api.dreamhost.com': >> Proxy for URL: >> socket selected: api.dreamhost.com:443|6924 >> GET >> /?key=6SHU5P2HLDAYECUM&cmd=user-list_users_no_pw&unique_id=4082432&format=perl >> HTTP/1.1 >> Host: api.dreamhost.com >> User-Agent: curl/7.30.0 >> Accept: */* >> socket timeout api.dreamhost.com:443|6924 > > > And the following headers sent (as you can see I tried changing the user > agent as curl works fine): > > GET >> /?key=6SHU5P2HLDAYECUM&cmd=user-list_users_no_pw&unique_id=4082432&format=perl >> HTTP/1.1 >> Host: api.dreamhost.com >> User-Agent: curl/7.30.0 >> Accept: */* >> > > And returned: > > >> HTTP/1.1 200 OK >> Set-Cookie: 60gpBAK=R1224191420; path=/; expires=Mon, 07-Apr-2014 18:14:08 >> GMT >> Date: Mon, 07 Apr 2014 17:06:53 GMT >> Content-Type: text/html; charset=utf-8 >> Transfer-Encoding: chunked >> Connection: keep-alive >> Set-Cookie: 60gp=R477302024; path=/; expires=Mon, 07-Apr-2014 18:08:19 GMT >> Server: Apache >> X-Powered-By: PHP/5.2.17 >> Vary: Cookie,Accept-Encoding >> Composed-By: SPIP 2.1.24 @ www.spip.net + images(1.0.1), >> msie_compat(1.0.0), porte_plume(1.7.9), safehtml(1.3.7), vertebres(1.0.0), >> guestbook(2.22), compresseur(1.0.2) >> X-Spip-Cache: 86400 >> Last-Modified: Mon, 07 Apr 2014 17:06:53 GMT > > > Any thoughts? > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 23 10:13:01 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 23 Apr 2014 07:13:01 -0700 Subject: MS SQL In-Reply-To: <53572699.1090103@hyperactivesw.com> References: <53572699.1090103@hyperactivesw.com> Message-ID: In gmail, you can fix that by using the "Paste and match style" option on the edit menu. Pete lcSQL Software On Apr 22, 2014 7:34 PM, "J. Landman Gay" wrote: > On 4/22/14, 6:49 PM, Kay C Lan wrote: > >> I don't know if it's just your email client but what I'm seeing is an >> asterisk * around the words get, put and return which shouldn't be there. >> > > That happens to all keywords when a colorized script is copied from the > script editor and pasted into a text-only email list. I see it here all the > time. > > -- > 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 mfstuart at cox.net Wed Apr 23 11:20:53 2014 From: mfstuart at cox.net (Mark Stuart) Date: Wed, 23 Apr 2014 08:20:53 -0700 (PDT) Subject: Populating a DataGrid on a card problem Message-ID: <1398266453631-4678586.post@n4.nabble.com> Hi all, This script: set the dgText[false] of grp "dgVariables" of cd "Variables" to empty throws this error: ---- Script compile error: Error description: round: bad parameter ---- And this script throws the same error: put false into HasHeaders set the dgText[HasHeaders] of grp "dgVariables" of cd "Variables" to tData At first run of the script it throws the error, but subsequent times running it, it works. :( What do I have wrong in the script? ----- Regards, Mark Stuart ----------- LC 4.6.4 LC Community 6.5 WinXP/7/8 32bit and 64bit -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Populating-a-DataGrid-on-a-card-problem-tp4678586.html Sent from the Revolution - User mailing list archive at Nabble.com. From cszasz at me.com Wed Apr 23 15:16:52 2014 From: cszasz at me.com (Charles Szasz) Date: Wed, 23 Apr 2014 15:16:52 -0400 Subject: Printing a RTF file saved as a custom properties of a stack Message-ID: <9196B5ED-0AF3-4B26-AEDE-348415DD8784@me.com> I was able to save a template document as a RTF as a custom properties of a stack. I want to retrieve the template to print it. I can retrieve the file as a variable (see script below) but I do not know how to script printing it as a RTF. Any suggestions? set the itemdelimiter to "/" put the uRtFile of stack ?My stack" into tRTFdata Charles Szasz cszasz at mac.com From capellan2000 at gmail.com Wed Apr 23 15:22:53 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 23 Apr 2014 12:22:53 -0700 (PDT) Subject: [Enhancement Request] Open and BackUp in LiveCode DP and RC Message-ID: <1398280973879-4678587.post@n4.nabble.com> Hi All, Just added this enhancement request: http://quality.runrev.com/show_bug.cgi?id=12279 Every announcement of a new LiveCode version includes this message: WARNING: this is not a stable release. Please ensure you back up your stacks before testing them. RunRev could add the following functionality to the File menu in the IDE: Open and Backup... This single menu option will: 1) create a zipped or gzipped file of the selected stack and 2) open the stack The name of every zipped or gzipped stack could include the seconds appended to the filename. http://docs.runrev.com/Function/seconds Please, add your own comments, suggestions and ideas. Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Enhancement-Request-Open-and-BackUp-in-LiveCode-DP-and-RC-tp4678587.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Wed Apr 23 15:37:58 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 23 Apr 2014 12:37:58 -0700 Subject: [Enhancement Request] Open and BackUp in LiveCode DP and RC In-Reply-To: <1398280973879-4678587.post@n4.nabble.com> References: <1398280973879-4678587.post@n4.nabble.com> Message-ID: <53581696.9080701@fourthworld.com> Stacks can be opened many ways. In most of my projects I only manually open one stack in the IDE, and the scripts in that stack may load as many as a dozen others. To satisfy the request the engine would have to intercept all attempts to open stacks, or maybe just the save command, and then intervene based on the value of some flag. Ouch. Sounds like a lot of work for the team, and one more deep task for all of us to test. Seems simpler to just make a copy of your work folder before using a pre-release build. Leaving us in control is the surest way to protect all possible ways a stack file can be altered. -- 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 capellan2000 at gmail.com Wed Apr 23 15:48:12 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 23 Apr 2014 12:48:12 -0700 (PDT) Subject: file checksums In-Reply-To: <53578159.2030302@harbourhosting.co.uk> References: <53570B70.30301@fourthworld.com> <53578159.2030302@harbourhosting.co.uk> Message-ID: <1398282492966-4678589.post@n4.nabble.com> How difficult could be to create a custom file (using a stack as basis) that opens only within a custom player? This custom file could provide to the custom player an encrypted checksum. Could this actually be more secure? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/file-checksums-tp4678556p4678589.html Sent from the Revolution - User mailing list archive at Nabble.com. From prothero at earthednet.org Wed Apr 23 15:57:09 2014 From: prothero at earthednet.org (prothero at earthednet.org) Date: Wed, 23 Apr 2014 12:57:09 -0700 Subject: Reference Material Discussion Application Architecture Strategies In-Reply-To: <8E06C236-CA73-47F6-B5E1-148DDFEFD175@gmail.com> References: <8E06C236-CA73-47F6-B5E1-148DDFEFD175@gmail.com> Message-ID: Michael: I was wrong. All I have to do to activate a substack is just start using stack theLibStackName Bill prothero at earthednet.org http://es.earthednet.org On Apr 20, 2014, at 9:35 AM, Michael Doub wrote: > My coding style has evolved to trying to put code in Libraries, Stack and Cards. I only put stubs that call other handlers in the objects themselves. This is the code organization part. > > I was putting my library stacks in as substacks and when I started seeing the naming conflict messages I started looking into where these should go. I always seemed to have problems with ?start using? unless the stack was already in memory, so I still feel that I am missing something relating to the basics loading stacks. > > Bill, are you building your stand alone yet? This is where I really started to ask questions. Why is there an option to move substacks into individual stacks? When I made everything substacks I really didn?t think too much about the standalone builder. Now that I have both I feel I need to understand what is going on and why. > > -= Mike > > > On Apr 19, 2014, at 6:01 PM, Earthednet-wp wrote: > >> Michael, >> Thank you for asking this question. There is certainly a need for this in the community. I am also new to livecode and am converting a rather large app from Director. I am building a cross platform app, and perhaps a mobile version later. Currently I am putting most of my code in the stack scripts of substacks, organized roughly by broad functionality. I started with external stacks that I loaded at runtime, but found it much easier to do script searches if they were substacks. All code is in stack scripts. If I need these pieces for other projects, I can always separate them. That's as far as I've gotten so far. I can imagine getting a large collection of substacks by the time the project is completed. So far all of my substack handlers are able to seamlessly call stack handlers in other substacks, which is nice. I wonder if there are consequences to this approach. >> >> One of the big challenges is keeping track of all of the handlers and whether their location in the hierarchy requires special treatment (like a dispatch command). With all of my handlers in stack scripts, I don't have to do this. >> >> I'd be very interested in hearing how others organize their projects. >> Bill >> >> William Prothero >> http://es.earthednet.org >> >>> On Apr 19, 2014, at 2:04 PM, Michael Doub wrote: >>> >>> Is anyone aware of any reference material that discusses strategies for architecting your application with the livecode components and their implications with the >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Wed Apr 23 16:04:12 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 23 Apr 2014 13:04:12 -0700 (PDT) Subject: [Enhancement Request] Open and BackUp in LiveCode DP and RC In-Reply-To: <53581696.9080701@fourthworld.com> References: <1398280973879-4678587.post@n4.nabble.com> <53581696.9080701@fourthworld.com> Message-ID: <1398283452894-4678592.post@n4.nabble.com> Then, a plug-in stack would do. Does LiveCode includes the Engine version in each saved stack? http://docs.runrev.com/Function/version http://docs.runrev.com/Property/stackFileVersion If this is true, then LiveCode could provide a warning when developers open a stack created with a different engine version and offers to create a backup. Just a thought... Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Enhancement-Request-Open-and-BackUp-in-LiveCode-DP-and-RC-tp4678587p4678592.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Wed Apr 23 16:16:20 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 23 Apr 2014 23:16:20 +0300 Subject: [Enhancement Request] Open and BackUp in LiveCode DP and RC In-Reply-To: <1398280973879-4678587.post@n4.nabble.com> References: <1398280973879-4678587.post@n4.nabble.com> Message-ID: <53581F94.3060605@gmail.com> On 23/04/14 22:22, Alejandro Tejada wrote: > Hi All, > > Just added this enhancement request: > > http://quality.runrev.com/show_bug.cgi?id=12279 > > > Every announcement of a new LiveCode version includes this message: > > WARNING: this is not a stable release. Please ensure you back up your stacks > before testing them. > > RunRev could add the following functionality to the File menu in the IDE: > > Open and Backup... > > This single menu option will: > 1) create a zipped or gzipped file of the selected stack and > 2) open the stack > > The name of every zipped or gzipped stack could include the seconds appended > to the filename. > > http://docs.runrev.com/Function/seconds > > > Please, add your own comments, suggestions and ideas. > Thanks in advance! > > Al > > Not sure about that one; after all, unlike Hypercard (which had no SAVE menu item because every action was saved as one went along), one can choose when to save stacks. Might it not be better (???) to have either of these options instead: 1. AutoSave; set in the Preferences, could have times like Office suites. 2. SAVE AS with TIME MARKER. Richmond. From capellan2000 at gmail.com Wed Apr 23 16:17:06 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 23 Apr 2014 13:17:06 -0700 (PDT) Subject: Reference Material Discussion Application Architecture Strategies In-Reply-To: References: <8E06C236-CA73-47F6-B5E1-148DDFEFD175@gmail.com> Message-ID: <1398284226672-4678593.post@n4.nabble.com> Does exists a tutorial explaining How To implement MVC using LiveCode? http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Reference-Material-Discussion-Application-Architecture-Strategies-tp4678454p4678593.html Sent from the Revolution - User mailing list archive at Nabble.com. From andrew at ctech.me Wed Apr 23 16:29:26 2014 From: andrew at ctech.me (Andrew Kluthe) Date: Wed, 23 Apr 2014 15:29:26 -0500 Subject: Reference Material Discussion Application Architecture Strategies In-Reply-To: <1398284226672-4678593.post@n4.nabble.com> References: <8E06C236-CA73-47F6-B5E1-148DDFEFD175@gmail.com> <1398284226672-4678593.post@n4.nabble.com> Message-ID: Andre Garzia did a talk on it at runrev live last year didn't he? I remember watching it and starting to reorganize one of my applications the next day. Basically, treat ui stacks as view, put all your business logic that can be separated into library stacks and use a pub-sub to lessen the burden. It made a lot more sense as far as maintainability goes for me. On Wed, Apr 23, 2014 at 3:17 PM, Alejandro Tejada wrote: > Does exists a tutorial explaining How To implement MVC > using LiveCode? > > http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller > > Al > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Reference-Material-Discussion-Application-Architecture-Strategies-tp4678454p4678593.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 From stephenREVOLUTION2 at barncard.com Wed Apr 23 16:36:12 2014 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 23 Apr 2014 13:36:12 -0700 Subject: Printing a RTF file saved as a custom properties of a stack In-Reply-To: <9196B5ED-0AF3-4B26-AEDE-348415DD8784@me.com> References: <9196B5ED-0AF3-4B26-AEDE-348415DD8784@me.com> Message-ID: Check out RTFText in the docs. I assume you created the template in a livecode field obtained the RTFText of the field into a variable, then set a custom prop to that data, right? then just get the data from the custom property and set the RTFText of a field to it. Livecode now tracks RTF data created in Textedit pretty accurately. It didn't used to work as well. On Wed, Apr 23, 2014 at 12:16 PM, Charles Szasz wrote: > I was able to save a template document as a RTF as a custom properties of > a stack. I want to retrieve the template to print it. I can retrieve the > file as a variable (see script below) but I do not know how to script > printing it as a RTF. Any suggestions? > > > set the itemdelimiter to "/" > put the uRtFile of stack ?My stack" into tRTFdata > > Charles Szasz > cszasz at mac.com > *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From richmondmathewson at gmail.com Wed Apr 23 16:39:20 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 23 Apr 2014 23:39:20 +0300 Subject: [Enhancement Request] Open and BackUp in LiveCode DP and RC In-Reply-To: <1398283452894-4678592.post@n4.nabble.com> References: <1398280973879-4678587.post@n4.nabble.com> <53581696.9080701@fourthworld.com> <1398283452894-4678592.post@n4.nabble.com> Message-ID: <535824F8.5050402@gmail.com> On 23/04/14 23:04, Alejandro Tejada wrote: > Then, a plug-in stack would do. > > Does LiveCode includes the Engine version in each saved stack? > > http://docs.runrev.com/Function/version > http://docs.runrev.com/Property/stackFileVersion > > If this is true, then LiveCode could provide a warning > when developers open a stack created with a different > engine version and offers to create a backup. > > Just a thought... > > Al > > How about something like this: on saveStackRequest put (the short name of this stack & the version) into NOM put NOM into fld "NOM" set the name of this stack to NOM pass saveStackRequest end saveStackRequest Certainly works for me. Richmond. From stephenREVOLUTION2 at barncard.com Wed Apr 23 16:51:46 2014 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 23 Apr 2014 13:51:46 -0700 Subject: Printing a RTF file saved as a custom properties of a stack In-Reply-To: <9196B5ED-0AF3-4B26-AEDE-348415DD8784@me.com> References: <9196B5ED-0AF3-4B26-AEDE-348415DD8784@me.com> Message-ID: On Wed, Apr 23, 2014 at 12:16 PM, Charles Szasz wrote: > I can retrieve the file as a variable (see script below) but I do not > know how to script printing it as a RTF. Any suggestions? Ok, I hope I've been understanding that your stumbling block was using RTF text. Or do you know how to handle RTFText and was it PRINTING that RTF code in Livecode a problem? *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From capellan2000 at gmail.com Wed Apr 23 17:26:15 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 23 Apr 2014 14:26:15 -0700 (PDT) Subject: [Enhancement Request] Open and BackUp in LiveCode DP and RC In-Reply-To: <535824F8.5050402@gmail.com> References: <1398280973879-4678587.post@n4.nabble.com> <53581696.9080701@fourthworld.com> <1398283452894-4678592.post@n4.nabble.com> <535824F8.5050402@gmail.com> Message-ID: <1398288375685-4678599.post@n4.nabble.com> Hi Richmond, Richmond Mathewson-2 wrote > How about something like this: > > on saveStackRequest > put (the short name of this stack & the version) into NOM > put NOM into fld "NOM" > set the name of this stack to NOM > pass saveStackRequest > end saveStackRequest > > Certainly works for me. Where do you put this handler? In a frontscript or replacing the IDE original handler? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Enhancement-Request-Open-and-BackUp-in-LiveCode-DP-and-RC-tp4678587p4678599.html Sent from the Revolution - User mailing list archive at Nabble.com. From green.rodney at gmail.com Wed Apr 23 17:47:25 2014 From: green.rodney at gmail.com (Rodney Green) Date: Wed, 23 Apr 2014 17:47:25 -0400 Subject: MS SQL In-Reply-To: References: <53572699.1090103@hyperactivesw.com> Message-ID: I turned on tracing in the odbc driver and I can see field names in the data. So I'm assuming the query is working. But still can't figure out why LC is hanging. I have database checked in the stand alone settings, not sure if this matters while in LC. Any ideas how I can track down why LC is hanging? On Wed, Apr 23, 2014 at 10:13 AM, Peter Haworth wrote: > In gmail, you can fix that by using the "Paste and match style" option on > the edit menu. > > Pete > lcSQL Software > On Apr 22, 2014 7:34 PM, "J. Landman Gay" > wrote: > > > On 4/22/14, 6:49 PM, Kay C Lan wrote: > > > >> I don't know if it's just your email client but what I'm seeing is an > >> asterisk * around the words get, put and return which shouldn't be > there. > >> > > > > That happens to all keywords when a colorized script is copied from the > > script editor and pasted into a text-only email list. I see it here all > the > > time. > > > > -- > > 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 pete at lcsql.com Wed Apr 23 17:47:36 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 23 Apr 2014 14:47:36 -0700 Subject: Using Profiles Message-ID: I get the idea from the list archives that profiles are about at the same level of reliability as the Geometry Manager but the posts are a couple of years old or more so hoping things may have improved. I set up a really simple test: 1. Created a label control with its contents set to "Red" 2. In the Property Inspector palette for the label, created a profile named "prFrench" 3. Created a text property of prFrench with the value "Rouge". It ended up as an htmltext property which is strange - if you don't want me to use "text" then don't include it in the dropdown list of properties. 4. In the message box: set the profile of selobj() to "prFrench". Nothing happened, the label still showed "Red" as its contents. 5. Tried the same thing in a preOpenCard handler, same result. 5. Clicked the prFrench profile in the Property Inspector palette and the label changed to "Rouge". Clicked the Master profile and it changed back to "Red". So maybe Profiles are still broken, or maybe I missed a step somewhere? Aside from that, can Profiles handle unicode? Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From capellan2000 at gmail.com Wed Apr 23 17:54:08 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 23 Apr 2014 14:54:08 -0700 (PDT) Subject: LiveCode Server Turned To Molasses In-Reply-To: <6922A1F8-AB09-462A-92AC-A71416FA1D38@gmail.com> References: <6922A1F8-AB09-462A-92AC-A71416FA1D38@gmail.com> Message-ID: <1398290048104-4678602.post@n4.nabble.com> Peter W A Wood wrote > One thing to check is if the machine has lots of > "zombie" LiveCode processes just in case LiveCode > is not terminating correctly. This is exactly what I noticed here, but I could not create a recipe to catch this bug... Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-Server-Turned-To-Molasses-tp4678568p4678602.html Sent from the Revolution - User mailing list archive at Nabble.com. From paul at researchware.com Wed Apr 23 17:54:58 2014 From: paul at researchware.com (Paul Dupuis) Date: Wed, 23 Apr 2014 17:54:58 -0400 Subject: file checksums In-Reply-To: <53570B70.30301@fourthworld.com> References: <53570B70.30301@fourthworld.com> Message-ID: <535836B2.1030209@researchware.com> On 4/22/2014 8:38 PM, Richard Gaskin wrote: > > What am I missing? > Not much. If a website is hacked then the file contents and posted checksum can be changed and then, as you noted, the checksum is useless as a form of security. Checksums were originally intended for file integrity security for "man in the middle" style hacks - where the file transfer was intercepted or spoofed. The checksum served to provide a verification that the file received, is in fact the file you requested and was not tampered with in transmission. See http://en.wikipedia.org/wiki/File_verification Practically speaking, I think with all the exploits and vulnerabilities (especially via social engineering, i.e. phishing, etc.), that gaining access to a target server is potentially easier these days that man-in-the-middle style attacks, so I think your are 100% correct in questioning that checksums value is not what it once was. Paul Dupuis Researchware From cszasz at me.com Wed Apr 23 18:00:04 2014 From: cszasz at me.com (Charles Szasz) Date: Wed, 23 Apr 2014 18:00:04 -0400 Subject: Printing a RTF file saved as a custom properties of a stack Message-ID: <0270C3AE-B423-4C7A-963A-7F9EEC0203FA@me.com> Stephen, I created a Rtf document using TextEdit and save it as a Rtf. Then I successfully created a custom property and programmatically store the Rft as a custom property. I then set up a field "import" in a new substack of my program. I then try the following script: set the itemdelimiter to "/" put the uRtFile of stack ?myProgram" into tRTFdata --> 7-1-11 Changed uRtFile from card index to stack!! open printing with dialog if the result = "cancel" then exit to top set the invisible of stack "printStack2" to true go to card "printCard" of stack "printStack2" set the RTFText of field "input" of card "printCard" of stack "printStack2" to the clipboardData["rtf"] put tRTFdata into field "input" of card "printCard" of stack "printStack2" print card "printCard" of stack "printStack2" close printing In the print preview on my Mac, I can see the Rtf ?coding? and not the nicely formatted text document I wanted. Charles Szasz cszasz at mac.com From mikedoub at gmail.com Wed Apr 23 18:12:58 2014 From: mikedoub at gmail.com (Michael Doub) Date: Wed, 23 Apr 2014 18:12:58 -0400 Subject: Email Using LiveCode Server? In-Reply-To: References: <6FA6C52C-D86E-4913-BE5D-A735B4694CCF@elementarysoftware.com> Message-ID: I am using postmark for both sending and receiving emails. Works great for me. -= Mike constant APIKEY = ?your_key_goes_here" constant API_URL = "https://api.postmarkapp.com/email" --http://developer.postmarkapp.com/developer-build.html For addtional API Information function libPostmark_SendEmail pMessageJSON set the httpHeaders to "Accept: application/json" & return \ & "Content-Type: application/json" & return \ & "X-Postmark-Server-Token: " & APIKEY post pMessageJSON to API_URL return it end libPostmark_SendEmail On Apr 22, 2014, at 11:54 PM, stephen barncard wrote: > On Tue, Apr 22, 2014 at 7:26 PM, Scott Morrow > wrote: > >> I was working something similar. >> ? >> Scott Morrow >> > > I was ready to kluge something with a php/livecode hybrid setup. > > *--* > *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Wed Apr 23 18:12:32 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 23 Apr 2014 15:12:32 -0700 (PDT) Subject: Using Profiles In-Reply-To: References: Message-ID: <1398291152591-4678605.post@n4.nabble.com> What properties could we change using profiles? Could we change all properties of each object inside a group? (like changing geometry for different resolutions and stacks orientations) Could we change the points, ink and fillgradient of a graphic? (like frames of an animation) Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Using-Profiles-tp4678601p4678605.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at lcsql.com Wed Apr 23 19:13:10 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 23 Apr 2014 16:13:10 -0700 Subject: Using Profiles In-Reply-To: <1398291152591-4678605.post@n4.nabble.com> References: <1398291152591-4678605.post@n4.nabble.com> Message-ID: I believe you can change any built-in property but I'm just starting to learn about profiles so could be wrong. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Wed, Apr 23, 2014 at 3:12 PM, Alejandro Tejada wrote: > What properties could we change using profiles? > > Could we change all properties of each object inside a group? > (like changing geometry for different resolutions and stacks orientations) > > Could we change the points, ink and fillgradient of a graphic? > (like frames of an animation) > > Al > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Using-Profiles-tp4678601p4678605.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 pete at lcsql.com Wed Apr 23 19:17:14 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 23 Apr 2014 16:17:14 -0700 Subject: MS SQL In-Reply-To: References: <53572699.1090103@hyperactivesw.com> Message-ID: That seems strange - I wouldn't expect to see field names, just the data in them. What version of LC are you using? Might be time to enter a bug report. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Wed, Apr 23, 2014 at 2:47 PM, Rodney Green wrote: > I turned on tracing in the odbc driver and I can see field names in the > data. So I'm assuming the query is working. But still can't figure out why > LC is hanging. I have database checked in the stand alone settings, not > sure if this matters while in LC. Any ideas how I can track down why LC is > hanging? > > > On Wed, Apr 23, 2014 at 10:13 AM, Peter Haworth wrote: > > > In gmail, you can fix that by using the "Paste and match style" option on > > the edit menu. > > > > Pete > > lcSQL Software > > On Apr 22, 2014 7:34 PM, "J. Landman Gay" > > wrote: > > > > > On 4/22/14, 6:49 PM, Kay C Lan wrote: > > > > > >> I don't know if it's just your email client but what I'm seeing is an > > >> asterisk * around the words get, put and return which shouldn't be > > there. > > >> > > > > > > That happens to all keywords when a colorized script is copied from the > > > script editor and pasted into a text-only email list. I see it here all > > the > > > time. > > > > > > -- > > > 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 larry at significantplanet.org Wed Apr 23 19:17:20 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Wed, 23 Apr 2014 17:17:20 -0600 Subject: playing an mp3 file Message-ID: <09E16D9E363D4DACABA9BD4A694CE5B5@userd204a4d61c> I know I can play a .wav file without having to use a player. But I want to play a .mp3 file and for that I think I have to use a player, right? And if I do use a player to play an mp3 file, then build my app as a standalone for Windows, do I need to include anything in the app? I mean, if the user doesn't have Quicktime, will they still be able to play the mp3 file? TIA Larry From m.schonewille at economy-x-talk.com Wed Apr 23 19:30:48 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 24 Apr 2014 01:30:48 +0200 Subject: Installer Maker Spring Offer In-Reply-To: <5357A1D2.5000303@economy-x-talk.com> References: <534E6BA4.4090102@economy-x-talk.com> <5357A1D2.5000303@economy-x-talk.com> Message-ID: <53584D28.40901@economy-x-talk.com> Hi, I've received an e-mail with some questions about when the offer finishes exactly. I thought it would be finished by now (24th April, 00:00h) but I'll keep the sale going until tomorrow. By doing so, I'll be sure that everyone who planned to buy a license on Wedneday, can actually do this while it is still Wednesday in his her her time zone. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 4/23/2014 13:19, Mark Schonewille wrote: > Hello, > > Today is the last day when you can take advantage of the Installer Maker > Spring Offer. We are offering everyone who bought a license in the past > a one-time opportunity to upgrade this license at the upgrade price of ? > 16,95, even if your license has expired. > > Is your license over a year old? For a limited time, you can now upgrade > your license to the latest version for only ? 16,95 instead of the > normal price of ? 39,00. This offer is available until Wednesday 23rd > April 2014. > > Installer Maker > > Installer Maker is a simple tool to create installers for Windows and > Mac OS X. Installer Maker comes in two editions: a LiveCode plug-in and > a standalone. The plug-in can be used with the commercial edition of > LiveCode only, while the standalone version can be used in combination > with any edition of LiveCode , Revolution and MetaCard, as well as > RealStudio/Xojo, SuperCard, Prezi, HyperStudio etc. > > Upgrading > > Normally, licenses cost 39 euro with free updates during the first 3 > months after purchase. Upgrades are available for ? 16,95 during one > year after purchase. Just for one week, we allow everyone to upgrade his > or her license at the discounted upgrade price. > > To get a new license, go to http://qery.us/49n (plug-in) or > http://qery.us/49o (standalone) and enter your license key at the bottom > of the page. The page will load again and if you scroll to the bottom of > the page again, you will now be able to buy a new license at the > discount price. From there, just follow PayPal's instructions. Shortly > after purchase, you will first receive an auto-reply. Your license > follows within 24 hours. > > Why Upgrade? > > Perhaps you didn't upgrade in the past, because you were missing some > essential features? Download the Read Me file from http://qery.us/49m > (PDF) and check out the history. You'll see that many features have been > added during the past year. Go to http://qery.us/49n to download the > plug-in or to http://qery.us/49o to download the standalone version. > > Did you use the plug-in edition with a commercial version of LiveCode > and are you moving to the open-source edition? Then download the > standalone version. You can always switch from the plug-in edition and > back or use them combined. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Installer Maker for LiveCode: > http://qery.us/468 > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > LiveCode on Facebook: > https://www.facebook.com/groups/runrev/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From green.rodney at gmail.com Wed Apr 23 19:53:24 2014 From: green.rodney at gmail.com (Rodney Green) Date: Wed, 23 Apr 2014 19:53:24 -0400 Subject: MS SQL In-Reply-To: References: <53572699.1090103@hyperactivesw.com> Message-ID: I tried it in 6.6 and 6.6.1. I'm using Actual Technologies ODBC manager (demo). And I can connect successfully to the SQL server with Navicat. I'm on a Mac (10.9.2) and connecting via a VPN. On Wed, Apr 23, 2014 at 7:17 PM, Peter Haworth wrote: > That seems strange - I wouldn't expect to see field names, just the data in > them. What version of LC are you using? Might be time to enter a bug > report. > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > > > On Wed, Apr 23, 2014 at 2:47 PM, Rodney Green >wrote: > > > I turned on tracing in the odbc driver and I can see field names in the > > data. So I'm assuming the query is working. But still can't figure out > why > > LC is hanging. I have database checked in the stand alone settings, not > > sure if this matters while in LC. Any ideas how I can track down why LC > is > > hanging? > > > > > > On Wed, Apr 23, 2014 at 10:13 AM, Peter Haworth wrote: > > > > > In gmail, you can fix that by using the "Paste and match style" option > on > > > the edit menu. > > > > > > Pete > > > lcSQL Software > > > On Apr 22, 2014 7:34 PM, "J. Landman Gay" > > > wrote: > > > > > > > On 4/22/14, 6:49 PM, Kay C Lan wrote: > > > > > > > >> I don't know if it's just your email client but what I'm seeing is > an > > > >> asterisk * around the words get, put and return which shouldn't be > > > there. > > > >> > > > > > > > > That happens to all keywords when a colorized script is copied from > the > > > > script editor and pasted into a text-only email list. I see it here > all > > > the > > > > time. > > > > > > > > -- > > > > Jacqueline Landman Gay | jacque at hyperactivesw.com > > > > HyperActive Software | http://www.hyperactivesw.com > > > > > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From lan.kc.macmail at gmail.com Wed Apr 23 21:20:56 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 24 Apr 2014 09:20:56 +0800 Subject: [Enhancement Request] Open and BackUp in LiveCode DP and RC In-Reply-To: <53581696.9080701@fourthworld.com> References: <1398280973879-4678587.post@n4.nabble.com> <53581696.9080701@fourthworld.com> Message-ID: On Thu, Apr 24, 2014 at 3:37 AM, Richard Gaskin wrote: > Stacks can be opened many ways. > I'm with Richard on this one. I have stacks I wont risk with anything other than GM versions of LC. Those stacks I am willing to risk I simply duplicate then start them up with an RC or DP version. The problem I have is I occasionally accidentally start the wrong version so I'm constantly needing to visit the About LiveCode to confirm which version is open - because I can't read the splash screen fast enough or I forgot to look at it properly. Maybe a simpler solution and one that seems to already be partially in place is just to change the colour of the splash screen (and Dock icon on Mac). I believe it is blue for Commercial and Green for Community. Maybe they could just include Orange for Release Candidate and Red for Developer Preview. That way there'd be another clue (warning) that you are opening a DP version of LC when you really meant to be opening a GM version. From mwieder at ahsoftware.net Wed Apr 23 21:32:34 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 23 Apr 2014 18:32:34 -0700 Subject: Using Profiles In-Reply-To: References: <1398291152591-4678605.post@n4.nabble.com> Message-ID: <121244977486.20140423183234@ahsoftware.net> Pete- Wednesday, April 23, 2014, 4:13:10 PM, you wrote: > I believe you can change any built-in property but I'm just starting to > learn about profiles so could be wrong. I gave up trying to figure out profiles a long time ago. They didn't seem to do what I seemed to think they should do. I think others have had more success, but more than that I can't say. I do know they're not for localization, but that's as far as I got. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From jacque at hyperactivesw.com Wed Apr 23 22:13:23 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 23 Apr 2014 21:13:23 -0500 Subject: [Enhancement Request] Open and BackUp in LiveCode DP and RC In-Reply-To: References: <1398280973879-4678587.post@n4.nabble.com> <53581696.9080701@fourthworld.com> Message-ID: I got tired of that so now I just type "the version" into the message box. On April 23, 2014 8:20:56 PM CDT, Kay C Lan wrote: >The problem I have is I occasionally accidentally start the wrong version >so I'm constantly needing to visit the About LiveCode to confirm which version is open -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Wed Apr 23 22:51:20 2014 From: dsc at swcp.com (Dar Scott) Date: Wed, 23 Apr 2014 20:51:20 -0600 Subject: [Enhancement Request] Open and BackUp in LiveCode DP and RC In-Reply-To: References: <1398280973879-4678587.post@n4.nabble.com> <53581696.9080701@fourthworld.com> Message-ID: With a file-format change happening, and two fronts of development, this is even more important. Maybe the mouse pointer can be red for dp and orange for rc. Or it can speak ?seven point zero? whenever I bring a window forward. Or a way to make version icons for aliases. Dar On Apr 23, 2014, at 8:13 PM, J. Landman Gay wrote: > I got tired of that so now I just type "the version" into the message box. > > On April 23, 2014 8:20:56 PM CDT, Kay C Lan wrote: > >> The problem I have is I occasionally accidentally start the wrong version >> so I'm constantly needing to visit the About LiveCode to confirm which version is open > -- > 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 guglielmo at braguglia.ch Thu Apr 24 01:25:36 2014 From: guglielmo at braguglia.ch (Guglielmo Braguglia) Date: Thu, 24 Apr 2014 07:25:36 +0200 Subject: Using Profiles In-Reply-To: <121244977486.20140423183234@ahsoftware.net> References: <1398291152591-4678605.post@n4.nabble.com> <121244977486.20140423183234@ahsoftware.net> Message-ID: <5358A050.1000103@braguglia.ch> Hi to all, sorry but ... I don't agree ... :D :D :D Living in Switzerland, I often need to write programs in our national languages (Italian French and German), plus, obviously, English and I have always used, not without some minor difficulties, especially with accented characters on different platforms, "profiles". To solve these minor problems, where is possible, I have still used the "htmlText" and not the "text" ... because I see that "htmlText" is properly managed changing platform. Unfortunately, not for all of the controls you can use "htmlText", some have only "text". Normally I define 4 "profiles" ... prItalian, prFrench, prGerman and pgEnglish and, where is necessary, I set the "htmlText" of the control, for each one of the profiles, to the correct translation, then ... retrieved the user local language, I just do: revSetStackProfile "<>", "<>" ... and all appear in the correct language :) Unfortunately ... you can't do that for each LiveCode object ... ... e.g. I have not found a simple way of doing this for the "DataGrid column labels" so ... after changing "profile" I'm obliged to do also: set the dgProp["column labels"] ... ... for each DataGrid I have to translate the column labels ... but ok ... Is not a big problem ;) Hope this help, Cordially, Guglielmo Mark Wieder wrote: > Pete- > > Wednesday, April 23, 2014, 4:13:10 PM, you wrote: > >> I believe you can change any built-in property but I'm just starting to >> learn about profiles so could be wrong. > > I gave up trying to figure out profiles a long time ago. They didn't > seem to do what I seemed to think they should do. I think others have > had more success, but more than that I can't say. I do know they're > not for localization, but that's as far as I got. > From stephenREVOLUTION2 at barncard.com Thu Apr 24 02:32:25 2014 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 23 Apr 2014 23:32:25 -0700 Subject: Printing a RTF file saved as a custom properties of a stack In-Reply-To: <0270C3AE-B423-4C7A-963A-7F9EEC0203FA@me.com> References: <0270C3AE-B423-4C7A-963A-7F9EEC0203FA@me.com> Message-ID: On Wed, Apr 23, 2014 at 3:00 PM, Charles Szasz wrote: > In the print preview on my Mac, I can see the Rtf ?coding? and not the > nicely formatted text document I wanted. I have no idea what the clipboard has to do with what you wanted to do here... Anyway - this test should load an RTF file created by TextEdit and set the RTFText in the livecode field to look exactly like the TE document. You need two fields, Field1 and Field2 and a button with this script: *global* gFile *on* mouseUp *if* the optionkey is down *then* *edit* script of me *answer* file "get file" && gfile *if* it is empty *then* *exit* to top *put* it into gFile *put* "file:/" before gFile *get* URL gFile *put* it into fld "Field1" *-- (optional) examine RTFText* *set* the RTFText of fld "Field2" to it *-- convert **RTF** to readable in field* *pass* mouseup *end* mouseUp be sure to set the fixedlineHeight of the RTF text field to false. *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From toolbook at kestner.de Thu Apr 24 02:50:03 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 24 Apr 2014 08:50:03 +0200 Subject: AW: How to open a stack at a custom position without flipping? In-Reply-To: <1398260602794-4678582.post@n4.nabble.com> References: <002b01cf5ef0$416b8080$c4428180$@de> <1398260602794-4678582.post@n4.nabble.com> Message-ID: <000c01cf5f89$6c104e80$4430eb80$@de> Hi Dave, sometimes the solution is too obvious :) Thank you Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Dave Kilroy > Gesendet: Mittwoch, 23. April 2014 15:43 > An: use-revolution at lists.runrev.com > Betreff: Re: How to open a stack at a custom position without flipping? > > Hi Tiemo > > For your first issue I would so something like "set the visible of me to > false" early on in your preOpenStack handler, and once you were sure > everything was in the right place do a "set the visible of me to true" > > Regarding your second issue can you not populate your fields inside a > preOpenCard handler? If not then you could make another card containing your > splash image (or some other thing) the first card in your stack and then have > have something in your openCard handler to go to the second card after a > second or two... > > > > ----- > "Some are born coders, some achieve coding, and some have coding thrust upon > them." - William Shakespeare & Hugh Senior > > -- > View this message in context: http://runtime- > revolution.278305.n4.nabble.com/How-to-open-a-stack-at-a-custom-position- > without-flipping-tp4678578p4678582.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 green.rodney at gmail.com Thu Apr 24 09:23:55 2014 From: green.rodney at gmail.com (Rodney Green) Date: Thu, 24 Apr 2014 09:23:55 -0400 Subject: MS SQL In-Reply-To: References: <53572699.1090103@hyperactivesw.com> Message-ID: I'll put in a bug report for this. Does anyone have any kind of work-around for this? Have there been any updates to database in the developer previews? Maybe I'll give a DP a try. On Wed, Apr 23, 2014 at 7:53 PM, Rodney Green wrote: > I tried it in 6.6 and 6.6.1. I'm using Actual Technologies ODBC manager > (demo). And I can connect successfully to the SQL server with Navicat. I'm > on a Mac (10.9.2) and connecting via a VPN. > > > On Wed, Apr 23, 2014 at 7:17 PM, Peter Haworth wrote: > >> That seems strange - I wouldn't expect to see field names, just the data >> in >> them. What version of LC are you using? Might be time to enter a bug >> report. >> >> Pete >> lcSQL Software >> Home of lcStackBrowser and >> SQLiteAdmin >> >> >> On Wed, Apr 23, 2014 at 2:47 PM, Rodney Green > >wrote: >> >> > I turned on tracing in the odbc driver and I can see field names in the >> > data. So I'm assuming the query is working. But still can't figure out >> why >> > LC is hanging. I have database checked in the stand alone settings, not >> > sure if this matters while in LC. Any ideas how I can track down why LC >> is >> > hanging? >> > >> > >> > On Wed, Apr 23, 2014 at 10:13 AM, Peter Haworth wrote: >> > >> > > In gmail, you can fix that by using the "Paste and match style" >> option on >> > > the edit menu. >> > > >> > > Pete >> > > lcSQL Software >> > > On Apr 22, 2014 7:34 PM, "J. Landman Gay" >> > > wrote: >> > > >> > > > On 4/22/14, 6:49 PM, Kay C Lan wrote: >> > > > >> > > >> I don't know if it's just your email client but what I'm seeing is >> an >> > > >> asterisk * around the words get, put and return which shouldn't be >> > > there. >> > > >> >> > > > >> > > > That happens to all keywords when a colorized script is copied from >> the >> > > > script editor and pasted into a text-only email list. I see it here >> all >> > > the >> > > > time. >> > > > >> > > > -- >> > > > Jacqueline Landman Gay | jacque at hyperactivesw.com >> > > > HyperActive Software | http://www.hyperactivesw.com >> > > > >> > > > _______________________________________________ >> > > > use-livecode mailing list >> > > > use-livecode at lists.runrev.com >> > > > Please visit this url to subscribe, unsubscribe and manage your >> > > > subscription preferences: >> > > > http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > >> > > _______________________________________________ >> > > use-livecode mailing list >> > > use-livecode at lists.runrev.com >> > > Please visit this url to subscribe, unsubscribe and manage your >> > > subscription preferences: >> > > http://lists.runrev.com/mailman/listinfo/use-livecode >> > > >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> > subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> > >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From rdimola at evergreeninfo.net Thu Apr 24 09:33:19 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 24 Apr 2014 09:33:19 -0400 Subject: [Enhancement Request] Open and BackUp in LiveCode DP and RC In-Reply-To: References: <1398280973879-4678587.post@n4.nabble.com> <53581696.9080701@fourthworld.com> Message-ID: <002501cf5fc1$c1b894e0$4529bea0$@net> In Windows the LC version is in the title bar. It would be nice to have the currently focused stack name there also so you don't have to open the code window to verify the stack name/version. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay Sent: Wednesday, April 23, 2014 10:13 PM To: How to use LiveCode Subject: Re: [Enhancement Request] Open and BackUp in LiveCode DP and RC I got tired of that so now I just type "the version" into the message box. On April 23, 2014 8:20:56 PM CDT, Kay C Lan wrote: >The problem I have is I occasionally accidentally start the wrong >version so I'm constantly needing to visit the About LiveCode to >confirm which version is open -- 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 larry at significantplanet.org Thu Apr 24 10:46:41 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Thu, 24 Apr 2014 08:46:41 -0600 Subject: is there a way... Message-ID: <0793A650DE8E492694AE2ECCFF40FF9E@userd204a4d61c> I am putting up an overlay (image) over a field that I display for 1 second and then, using a repeat statement and blendlevel, fade the image until it becomes invisible again. The problem is that I'm using the wait command to do this and I can't do anything else in the program for those 2 seconds. I have a vague recollection that I could use pending messages or something, but I cannot remember how to do that. If you know how, please help. Thanks, Larry From m.schonewille at economy-x-talk.com Thu Apr 24 11:00:08 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 24 Apr 2014 17:00:08 +0200 Subject: is there a way... In-Reply-To: <0793A650DE8E492694AE2ECCFF40FF9E@userd204a4d61c> References: <0793A650DE8E492694AE2ECCFF40FF9E@userd204a4d61c> Message-ID: Hi Larry, Use wait with messages. That will remove the lock-up. -- 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 apr. 2014 om 16:46 heeft het volgende geschreven: > I am putting up an overlay (image) over a field that I display for 1 second and then, using a repeat statement and blendlevel, fade the image until it becomes invisible again. > > The problem is that I'm using the wait command to do this and I can't do anything else in the program for those 2 seconds. I have a vague recollection that I could use pending messages or something, but I cannot remember how to do that. > > If you know how, please help. > > Thanks, > Larry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Thu Apr 24 11:00:57 2014 From: paul at researchware.com (Paul Dupuis) Date: Thu, 24 Apr 2014 11:00:57 -0400 Subject: is there a way... In-Reply-To: <0793A650DE8E492694AE2ECCFF40FF9E@userd204a4d61c> References: <0793A650DE8E492694AE2ECCFF40FF9E@userd204a4d61c> Message-ID: <53592729.1070300@researchware.com> On 4/24/2014 10:46 AM, larry at significantplanet.org wrote: > I am putting up an overlay (image) over a field that I display for 1 second and then, using a repeat statement and blendlevel, fade the image until it becomes invisible again. > > The problem is that I'm using the wait command to do this and I can't do anything else in the program for those 2 seconds. I have a vague recollection that I could use pending messages or something, but I cannot remember how to do that. > > If you know how, please help. > basic approach is: "send message in x seconds", so you do something like: on displayImage -- put code to display image in place of this comment send "fadeImage" to me in 1 second end displayImage on fadeImage -- put code to fade the image 1 step towards invisibility in place of this comment if (not FullyInvisible) then send "fadeImage" to me in 10 milliseconds end fadeImage where "FullyInvisible" is a check for whether you have fully faded the image or not (true in you have, false if not) From rjb at robelko.com Thu Apr 24 11:08:44 2014 From: rjb at robelko.com (Robert Brenstein) Date: Thu, 24 Apr 2014 17:08:44 +0200 Subject: is there a way... In-Reply-To: <0793A650DE8E492694AE2ECCFF40FF9E@userd204a4d61c> References: <0793A650DE8E492694AE2ECCFF40FF9E@userd204a4d61c> Message-ID: On 24.04.2014 at 8:46 Uhr -0600 apparently wrote: >I am putting up an overlay (image) over a field that I display for 1 >second and then, using a repeat statement and blendlevel, fade the >image until it becomes invisible again. > >The problem is that I'm using the wait command to do this and I >can't do anything else in the program for those 2 seconds. I have a >vague recollection that I could use pending messages or something, >but I cannot remember how to do that. > >If you know how, please help. > >Thanks, >Larry send in time ? RObert From ambassador at fourthworld.com Thu Apr 24 11:57:49 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 24 Apr 2014 08:57:49 -0700 Subject: file checksums In-Reply-To: <53578159.2030302@harbourhosting.co.uk> References: <53578159.2030302@harbourhosting.co.uk> Message-ID: <5359347D.3030406@fourthworld.com> Martin Baxter wrote: > Richard, > > What you say is obviously true, there is no ultimate guarantee from > checksums. > > The checksum is not useless though. It gives pretty good confidence > that the file didn't get altered in transit, whether by a network > error, a disk writing error, or by the intervention of a malcious > actor as MITM replacing the requested file with a doctored version > of their own. It may not provide ultimate trust but is better than > no checks at all. > > Some places sign their downloads with PGP, which in theory gives a > stronger guarantee of authenticity. However I think there are similar > issues with that. To verify it, you must install the public key of the > signer and assert (but on what basis?) that it is strongly trusted. > Here too, if the malicious actor can subvert both the download file > and the public key, the method fails. Most downloaders don't know > anything about the signer or have prior knowledge of his/her public > key and may not see anything amiss if they are somehow subverted. > > It gets better I suppose once you have had a trusted key in your > keyring for a while and it has a good track record of vouching for > software that you have confidence in. However, if the key that you > originally installed and more or less blindly trusted was actually > a fraud, then you are in trouble. Very helpful, Martin. Thanks for 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 jacque at hyperactivesw.com Thu Apr 24 12:25:17 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 24 Apr 2014 11:25:17 -0500 Subject: [Enhancement Request] Open and BackUp in LiveCode DP and RC In-Reply-To: <002501cf5fc1$c1b894e0$4529bea0$@net> References: <1398280973879-4678587.post@n4.nabble.com> <53581696.9080701@fourthworld.com> <002501cf5fc1$c1b894e0$4529bea0$@net> Message-ID: <0aa58bbf-9744-4827-837a-d807128f0d31@email.android.com> On Mac the stack name is in the title bar. So we have choice. Just run the OS for the info you want to see. :-) On April 24, 2014 8:33:19 AM CDT, Ralph DiMola wrote: >In Windows the LC version is in the title bar. It would be nice to have >the >currently focused stack name there also so you don't have to open the >code >window to verify the stack name/version. > >Ralph DiMola >IT Director >Evergreen Information Services >rdimola at evergreeninfo.net > >-----Original Message----- >From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >Behalf >Of J. Landman Gay >Sent: Wednesday, April 23, 2014 10:13 PM >To: How to use LiveCode >Subject: Re: [Enhancement Request] Open and BackUp in LiveCode DP and >RC > >I got tired of that so now I just type "the version" into the message >box. > >On April 23, 2014 8:20:56 PM CDT, Kay C Lan >wrote: > >>The problem I have is I occasionally accidentally start the wrong >>version so I'm constantly needing to visit the About LiveCode to >>confirm which version is open -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Thu Apr 24 12:32:41 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 24 Apr 2014 09:32:41 -0700 Subject: Using Profiles In-Reply-To: <5358A050.1000103@braguglia.ch> References: <1398291152591-4678605.post@n4.nabble.com> <121244977486.20140423183234@ahsoftware.net> <5358A050.1000103@braguglia.ch> Message-ID: On Wed, Apr 23, 2014 at 10:25 PM, Guglielmo Braguglia < guglielmo at braguglia.ch> wrote: > revSetStackProfile "<>", "<>" Thanks Guglielmo, using that command got things working. For some reason setting the profile property of the control didn't have any effect. I think the problem with the datagrid column labels is that they are set into fields from the custom property dgProps["column labels"] and as far as I can tell, you can't define custom property values in a profile. It would be nice if there was a profileChanged message so you could take care of things like this whenever a profile was changed. Still not sure how well, if at all, profiles will work with unicode. For example, the dropdown list of available properties in the Property Profile tab of the Property Inspector doesn't include any of the recently-introduced unicodexxxx properties unicodelabel, unicodeText, unicodeTitle,etc). Maybe the suggestion to use htmltext will take care of it. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From dsc at swcp.com Thu Apr 24 13:05:10 2014 From: dsc at swcp.com (Dar Scott) Date: Thu, 24 Apr 2014 11:05:10 -0600 Subject: is there a way... In-Reply-To: <53592729.1070300@researchware.com> References: <0793A650DE8E492694AE2ECCFF40FF9E@userd204a4d61c> <53592729.1070300@researchware.com> Message-ID: I like Paul?s idea. This is the way I would do it, This approach was suggested by Robert, also. A few tips: Look at the ?cancel? command, and ?pendingMessages? function and be aware of what they can do. When checking out your code, look at the pending messages flying by with the message box and make sure what you see makes sense. Avoid creating a cascading rain of messages. Use some sort of lockout to avoid starting the process several times. Test going to the next card during the process. You need a way to clear pending messages because of the bug in testing when fading is done that cause messages to go on forever. Look at the message box. If you have trouble, you can look at this old stack I made long ago called ?A primer on message mechanics?. You can find it on this page: http://pages.swcp.com/dsc/revstacks.html I have no idea if that even still works. Dar On Apr 24, 2014, at 9:00 AM, Paul Dupuis wrote: > On 4/24/2014 10:46 AM, larry at significantplanet.org wrote: >> I am putting up an overlay (image) over a field that I display for 1 second and then, using a repeat statement and blendlevel, fade the image until it becomes invisible again. >> >> The problem is that I'm using the wait command to do this and I can't do anything else in the program for those 2 seconds. I have a vague recollection that I could use pending messages or something, but I cannot remember how to do that. >> >> If you know how, please help. >> > basic approach is: "send message in x seconds", so you do something like: > > on displayImage > -- put code to display image in place of this comment > send "fadeImage" to me in 1 second > end displayImage > > on fadeImage > -- put code to fade the image 1 step towards invisibility in place of > this comment > if (not FullyInvisible) then send "fadeImage" to me in 10 milliseconds > end fadeImage > > where "FullyInvisible" is a check for whether you have fully faded the > image or not (true in you have, false if not) > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ben at runrev.com Thu Apr 24 13:22:08 2014 From: ben at runrev.com (Benjamin Beaumont) Date: Thu, 24 Apr 2014 18:22:08 +0100 Subject: RELEASE LiveCode 6.6.2 RC1 Message-ID: Dear List Members. We are pleased to announce the release of LiveCode 6.6.1 RC1. This is a maintenance release for the 6.6 series and contain 43 bug fixes. Many of the visual glitches on high resolution screens have been resolved and a number of other general fixes have been applied. *Release Contents* 43 bug fixes: - 12239 - Magnification window shows corrupted image. - 12237 - Attempt to attach to the launching console on Windows (if any) in standalones. - 12236 - Dropdown menus are clipped on Windows when text scale > 100% - 12235 - Tooltips clipped on Windows when text scaling > 100% - 12227 - When Windows screen display is set to 125% popups sometimes break - 12223 - Windows backdrop doesn\'t cover the full desktop area when displayed on a high-dpi screen. - 12206 - Buttons of menu type can\'t be inspected if first created object - 12200 - Some filesystem entries in the root of a volume on Mac report as files when they are really folders. - 12185 - Standalone engine crashes when -ui specified on Linux. - 12183 - Clicking in the scrollbar well doesn\'t work if the click is too short. - 12182 - \'the pageRanges\' doesn\'t work on fields with more than 64K chars. - 12175 - Setting the usePixelScaling property doesn\'t update all windows on Mac. - 12170 - Non-existant command line parameter variables ($) behave strangely with split. - 12146 - setting tabstops to 2 equal numbers and then turning vGrid on hangs LC - 12125 - put the executionContexts crashes LiveCode server - 12107 - exit causes livecode server to crash - 12105 - Livecode server crashed if you call paramCount() - 12101 - Graphics missing from imported Hypercard stack - 12099 - On awakening Android device from sleep, part of app is blacked out - 12088 - The script editor doesn\'t scroll horizontally as text is entered - 12058 - The backdrop on Windows is always black - 12044 - Opaque groups do not completely draw their backgrounds when acceleratedRendering is enabled - 12037 - Slow-down in setting contents of fields on Windows since 6.1.3. - 12027 - On Retina Mac\'s scrollbars with small thumbs render smaller than they should. - 12020 - Caret is too thin on Retina displays. - 12010 - Windows engine hangs after multiple stack redraws. - 12008 - import screen snapshot on iOS creates image of incorrect size. - 12006 - HTTP (HTML) URLs encoded with anything other than a native character set are retunred incorrectly - 11975 - \"import snapshot from rect ...\" only imports part of the screen on Windows - 11964 - Spacing is incorrect for Windows scaled text - 11933 - effective textColor returns empty value for styled text - 11920 - Memory leak in bitmap effects with spread of non-zero radius (e.g. spread 100%, radius 1; spread 50%, radius 2). - 11904 - Italic characters with underhang are clipped on windows - 11884 - Stoked graphics clipped when printed - 11860 - uuid and randomBytes functions don\'t work on iOS when Encryption support is not included - 11708 - Anroid apps only partially drawn after rotating device during lock sreen - 11690 - Once large scripts start scrolling the script editor, it won\'t stop for a long time on Windows. - 11689 - ResizeControl is not sent when resizing images - 11662 - Round buttons are drawn incorrectly - 11603 - Backdrop not displayed on Linux - 11370 - Anti-aliasing inconsistent for 1 pixel lines and curves - 11072 - magnify and edit image crashes LC - 2627 - The machine() function returns \"unknown\" under Mac OSX *Getting this release* To upgrade to this release please select "check for updates" from the help menu in LiveCode or download the installers directly at: http://downloads.livecode.com/livecode/ *Reporting Bugs* If you encounter an issue with this release please submit a bug report to our quality centre: http://quality.runrev.com/enter_bug.cgi Warm regards, The LiveCode Team From dsc at swcp.com Thu Apr 24 13:49:11 2014 From: dsc at swcp.com (Dar Scott) Date: Thu, 24 Apr 2014 11:49:11 -0600 Subject: is there a way... In-Reply-To: References: <0793A650DE8E492694AE2ECCFF40FF9E@userd204a4d61c> <53592729.1070300@researchware.com> Message-ID: <8586DC8C-7ABA-4135-9938-9003ED528986@swcp.com> On Apr 24, 2014, at 11:05 AM, Dar Scott wrote: > You need a way to clear pending messages because of the bug in testing when fading is done that cause messages to go on forever. Look at the message box. I didn?t mean a LiveCode bug. I meant that I have created a bug in my IF statement for whether to send again that keeps the messages going. If you happen to have a similar bug, you will need to stop the send loop. You can go to the message box and click the envelope. Or, if you have a handler for stopping the particular send loop, then run that. Dar From david.bovill at gmail.com Thu Apr 24 14:52:04 2014 From: david.bovill at gmail.com (David Bovill) Date: Thu, 24 Apr 2014 20:52:04 +0200 Subject: HTPPS problem with a web service In-Reply-To: References: Message-ID: That's interesting Peter - it doesn't work here with OSX 10.9.2 and Livecode 6.6.1. Trevor had a similar problem - what platform are you on? On 23 April 2014 15:50, Peter W A Wood wrote: > David > > This worked for me in the message box: > > Command: > > put URL " > https://api.dreamhost.com/?key=6SHU5P2HLDAYECUM&cmd=user-list_users_no_pw&unique_id=4082432&format=perl > " > > Output: > > $result = { > 'data' => 'unique_id_already_used', > 'result' => 'error' > }; > > I haven't been keeping up to-date so I'm still running LiveCode 6.5.2 > under OS X 10.7.5 > > Regards > > Peter > > > On 23 Apr 2014, at 20:35, David Bovill wrote: > > > I'm having an https problem with a RESTful web service I am calling. Here > > is the url (which works in the browser but not from the IDE): > > > > > https://api.dreamhost.com/?key=6SHU5P2HLDAYECUM&cmd=user-list_users_no_pw&unique_id=4082432&format=perl > > > > > > I've tried libUrlSetSSLVerificition false and made a stab at debugging > it. > > I get the following error: > > > > httpproxyforurl for host 'api.dreamhost.com': > >> Proxy for URL: > >> socket selected: api.dreamhost.com:443|6924 > >> GET > >> > /?key=6SHU5P2HLDAYECUM&cmd=user-list_users_no_pw&unique_id=4082432&format=perl > >> HTTP/1.1 > >> Host: api.dreamhost.com > >> User-Agent: curl/7.30.0 > >> Accept: */* > >> socket timeout api.dreamhost.com:443|6924 > > > > > > And the following headers sent (as you can see I tried changing the user > > agent as curl works fine): > > > > GET > >> > /?key=6SHU5P2HLDAYECUM&cmd=user-list_users_no_pw&unique_id=4082432&format=perl > >> HTTP/1.1 > >> Host: api.dreamhost.com > >> User-Agent: curl/7.30.0 > >> Accept: */* > >> > > > > And returned: > > > > > >> HTTP/1.1 200 OK > >> Set-Cookie: 60gpBAK=R1224191420; path=/; expires=Mon, 07-Apr-2014 > 18:14:08 > >> GMT > >> Date: Mon, 07 Apr 2014 17:06:53 GMT > >> Content-Type: text/html; charset=utf-8 > >> Transfer-Encoding: chunked > >> Connection: keep-alive > >> Set-Cookie: 60gp=R477302024; path=/; expires=Mon, 07-Apr-2014 18:08:19 > GMT > >> Server: Apache > >> X-Powered-By: PHP/5.2.17 > >> Vary: Cookie,Accept-Encoding > >> Composed-By: SPIP 2.1.24 @ www.spip.net + images(1.0.1), > >> msie_compat(1.0.0), porte_plume(1.7.9), safehtml(1.3.7), > vertebres(1.0.0), > >> guestbook(2.22), compresseur(1.0.2) > >> X-Spip-Cache: 86400 > >> Last-Modified: Mon, 07 Apr 2014 17:06:53 GMT > > > > > > Any thoughts? > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 24 15:08:32 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 24 Apr 2014 22:08:32 +0300 Subject: [Enhancement Request] Open and BackUp in LiveCode DP and RC In-Reply-To: <1398288375685-4678599.post@n4.nabble.com> References: <1398280973879-4678587.post@n4.nabble.com> <53581696.9080701@fourthworld.com> <1398283452894-4678592.post@n4.nabble.com> <535824F8.5050402@gmail.com> <1398288375685-4678599.post@n4.nabble.com> Message-ID: <53596130.3060902@gmail.com> On 24/04/14 00:26, Alejandro Tejada wrote: > Hi Richmond, > > > Richmond Mathewson-2 wrote >> How about something like this: >> >> on saveStackRequest >> put (the short name of this stack & the version) into NOM >> put NOM into fld "NOM" >> set the name of this stack to NOM >> pass saveStackRequest >> end saveStackRequest >> >> Certainly works for me. > Where do you put this handler? > In a frontscript or replacing the IDE original handler? > > Al > > It didn't work; and I was talking rubbish. But it should . . . Have you any idea where the IDE handler would be; in the 'Save' button of the 'revMenubar' stack, perhaps? Where does one find "revSaveAs", "revIDESaveRequest", "revSaveAsStandalone" & "revSaveCheck" ? Richmond. From benr_mc at cogapp.com Thu Apr 24 14:56:01 2014 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 24 Apr 2014 19:56:01 +0100 Subject: [Enhancement Request] Open and BackUp in LiveCode DP and RC In-Reply-To: <0aa58bbf-9744-4827-837a-d807128f0d31@email.android.com> References: <1398280973879-4678587.post@n4.nabble.com> <53581696.9080701@fourthworld.com> <002501cf5fc1$c1b894e0$4529bea0$@net> <0aa58bbf-9744-4827-837a-d807128f0d31@email.android.com> Message-ID: <53595E41.4060307@cogapp.com> FYI, since it touches on both the original post and where this thread has got to: I have an extension to the standard IDE toolbar (i.e. a stack in the plugins folder); on launch it glues itself to the end of the Rev toolbar. It's got various things on it, but the main ones are a big backup+save button, and a display of the rev version - actually, the buildnumber(), version() and revAppVersion() - so just by glancing at the top-right corner of my screen I can check what I'm running. The backup+save button is what I almost invariably use to save stacks - I very rarely use the IDE's save. It ensures that there is a folder "(bups)" in the same folder as the stack; moves the existing stack file into that, renaming it with a version number, then saves the stack. Before it saves the stack it updates a stack property with the version number and date. Consequently for some stacks I have literally over a thousand copies (called eg "mystack;1234.rev") . Occassionally if I feel like it I might go and delete the oldest files in the "(bups)" folder, but mostly I don't bother - disk bytes are cheap. I suppose if I cared about it I might modify the backup+save button to also purge backups older than a certain date or more than some number. Over the years the system has been extended; the first time the stack format changed, I added a stack property that could be used to force the save into the legacy format (before that became a standard IDE feature). If there is a particular stack property, using the backup+save button also writes a sidecar xml file (typically of all the scripts in the stack, but configured by the property sometimes fields and user properties also), so that for stacks that are subject to shared development and stored in Subversion, the stack and the sidecar file are always committed together, to facilitate version differencing. At one point I did implement auto-save, but I found it really annoying and deleted it. I prefer backup on save to backup on open; sometimes I open a stack and don't wish to save changes to it, and would find backups created with no difference psychologically disturbing; more often, I save frequently during development, and don't want to only backup at the start of a new session. (I actually added this back in the days of Rev 1.0, when I quite frequently encountered nasty crashes, and sometimes found stacks corrupted.) FWIW: my second favourite button on the toolbar is a one-click builder; it tweaks the standalone settings, saves the stack, and then builds standalone apps into a pre-set folder. My third favourite button - because I work on a laptop and plug/unplug it from a big monitor many times a day, which messes up the IDE's window placement and sometimes places them inaccessibly underneath the toolbar, is the one which resizes and moves windows - especially the script editor - back into the workable screen area.) Once upon a million years ago, I think I put in a feature request for a standard way to add controls to the IDE's toolbar, rather than my clumsy extra toolbar glued on - I still think it would be a useful idea. I'd love to know: what do other people do to customise their environment? What custom functionality have you added, and how? On 24/04/2014 17:25, J. Landman Gay wrote: > On Mac the stack name is in the title bar. So we have choice. Just run the OS for the info you want to see. :-) > > On April 24, 2014 8:33:19 AM CDT, Ralph DiMola wrote: >> In Windows the LC version is in the title bar. It would be nice to have >> the >> currently focused stack name there also so you don't have to open the >> code >> window to verify the stack name/version. >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> rdimola at evergreeninfo.net >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >> Behalf >> Of J. Landman Gay >> Sent: Wednesday, April 23, 2014 10:13 PM >> To: How to use LiveCode >> Subject: Re: [Enhancement Request] Open and BackUp in LiveCode DP and >> RC >> >> I got tired of that so now I just type "the version" into the message >> box. >> >> On April 23, 2014 8:20:56 PM CDT, Kay C Lan >> wrote: >> >>> The problem I have is I occasionally accidentally start the wrong >>> version so I'm constantly needing to visit the About LiveCode to >>> confirm which version is open > From smaclean at madmansoft.com Thu Apr 24 15:10:34 2014 From: smaclean at madmansoft.com (Stephen MacLean) Date: Thu, 24 Apr 2014 15:10:34 -0400 Subject: RELEASE LiveCode 6.6.2 RC1 In-Reply-To: References: Message-ID: I am unable to launch an iOS app that builds and runs normally in 6.6.1. It crashes at launch on both the simulator and phone. I will file a bug report, along with crash report. Best, Steve MacLean On Apr 24, 2014, at 1:22 PM, Benjamin Beaumont wrote: > Dear List Members. > > We are pleased to announce the release of LiveCode 6.6.1 RC1. > > This is a maintenance release for the 6.6 series and contain 43 bug fixes. > Many of the visual glitches on high resolution screens have been resolved > and a number of other general fixes have been applied. > > *Release Contents* > > 43 bug fixes: > > - 12239 - Magnification window shows corrupted image. > - 12237 - Attempt to attach to the launching console on Windows (if any) > in standalones. > - 12236 - Dropdown menus are clipped on Windows when text scale > 100% > - 12235 - Tooltips clipped on Windows when text scaling > 100% > - 12227 - When Windows screen display is set to 125% popups sometimes > break > - 12223 - Windows backdrop doesn\'t cover the full desktop area when > displayed on a high-dpi screen. > - 12206 - Buttons of menu type can\'t be inspected if first created > object > - 12200 - Some filesystem entries in the root of a volume on Mac report > as files when they are really folders. > - 12185 - Standalone engine crashes when -ui specified on Linux. > - 12183 - Clicking in the scrollbar well doesn\'t work if the click is > too short. > - 12182 - \'the pageRanges\' doesn\'t work on fields with more than 64K > chars. > - 12175 - Setting the usePixelScaling property doesn\'t update all > windows on Mac. > - 12170 - Non-existant command line parameter variables ($) behave > strangely with split. > - 12146 - setting tabstops to 2 equal numbers and then turning vGrid on > hangs LC > - 12125 - put the executionContexts crashes LiveCode server > - 12107 - exit causes livecode server to crash > - 12105 - Livecode server crashed if you call paramCount() > - 12101 - Graphics missing from imported Hypercard stack > - 12099 - On awakening Android device from sleep, part of app is blacked > out > - 12088 - The script editor doesn\'t scroll horizontally as text is > entered > - 12058 - The backdrop on Windows is always black > - 12044 - Opaque groups do not completely draw their backgrounds when > acceleratedRendering is enabled > - 12037 - Slow-down in setting contents of fields on Windows since 6.1.3. > - 12027 - On Retina Mac\'s scrollbars with small thumbs render smaller > than they should. > - 12020 - Caret is too thin on Retina displays. > - 12010 - Windows engine hangs after multiple stack redraws. > - 12008 - import screen snapshot on iOS creates image of incorrect size. > - 12006 - HTTP (HTML) URLs encoded with anything other than a native > character set are retunred incorrectly > - 11975 - \"import snapshot from rect ...\" only imports part of the > screen on Windows > - 11964 - Spacing is incorrect for Windows scaled text > - 11933 - effective textColor returns empty value for styled text > - 11920 - Memory leak in bitmap effects with spread of non-zero radius > (e.g. spread 100%, radius 1; spread 50%, radius 2). > - 11904 - Italic characters with underhang are clipped on windows > - 11884 - Stoked graphics clipped when printed > - 11860 - uuid and randomBytes functions don\'t work on iOS when > Encryption support is not included > - 11708 - Anroid apps only partially drawn after rotating device during > lock sreen > - 11690 - Once large scripts start scrolling the script editor, it > won\'t stop for a long time on Windows. > - 11689 - ResizeControl is not sent when resizing images > - 11662 - Round buttons are drawn incorrectly > - 11603 - Backdrop not displayed on Linux > - 11370 - Anti-aliasing inconsistent for 1 pixel lines and curves > - 11072 - magnify and edit image crashes LC > - 2627 - The machine() function returns \"unknown\" under Mac OSX > > *Getting this release* > To upgrade to this release please select "check for updates" from the help > menu in LiveCode or download the installers directly at: > http://downloads.livecode.com/livecode/ > > *Reporting Bugs* > If you encounter an issue with this release please submit a bug report to > our quality centre: http://quality.runrev.com/enter_bug.cgi > > Warm regards, > > The LiveCode Team > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Thu Apr 24 15:15:33 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 24 Apr 2014 15:15:33 -0400 Subject: RELEASE LiveCode 6.6.2 RC1 In-Reply-To: References: Message-ID: subject says 6.6.2, email says 6.6.1 On Thu, Apr 24, 2014 at 3:10 PM, Stephen MacLean wrote: > I am unable to launch an iOS app that builds and runs normally in 6.6.1. > > It crashes at launch on both the simulator and phone. > > I will file a bug report, along with crash report. > > Best, > > Steve MacLean > > On Apr 24, 2014, at 1:22 PM, Benjamin Beaumont wrote: > > > Dear List Members. > > > > We are pleased to announce the release of LiveCode 6.6.1 RC1. > > > > This is a maintenance release for the 6.6 series and contain 43 bug > fixes. > > Many of the visual glitches on high resolution screens have been resolved > > and a number of other general fixes have been applied. > > > > *Release Contents* > > > > 43 bug fixes: > > > > - 12239 - Magnification window shows corrupted image. > > - 12237 - Attempt to attach to the launching console on Windows (if > any) > > in standalones. > > - 12236 - Dropdown menus are clipped on Windows when text scale > 100% > > - 12235 - Tooltips clipped on Windows when text scaling > 100% > > - 12227 - When Windows screen display is set to 125% popups sometimes > > break > > - 12223 - Windows backdrop doesn\'t cover the full desktop area when > > displayed on a high-dpi screen. > > - 12206 - Buttons of menu type can\'t be inspected if first created > > object > > - 12200 - Some filesystem entries in the root of a volume on Mac report > > as files when they are really folders. > > - 12185 - Standalone engine crashes when -ui specified on Linux. > > - 12183 - Clicking in the scrollbar well doesn\'t work if the click is > > too short. > > - 12182 - \'the pageRanges\' doesn\'t work on fields with more than 64K > > chars. > > - 12175 - Setting the usePixelScaling property doesn\'t update all > > windows on Mac. > > - 12170 - Non-existant command line parameter variables ($) behave > > strangely with split. > > - 12146 - setting tabstops to 2 equal numbers and then turning vGrid on > > hangs LC > > - 12125 - put the executionContexts crashes LiveCode server > > - 12107 - exit causes livecode server to crash > > - 12105 - Livecode server crashed if you call paramCount() > > - 12101 - Graphics missing from imported Hypercard stack > > - 12099 - On awakening Android device from sleep, part of app is > blacked > > out > > - 12088 - The script editor doesn\'t scroll horizontally as text is > > entered > > - 12058 - The backdrop on Windows is always black > > - 12044 - Opaque groups do not completely draw their backgrounds when > > acceleratedRendering is enabled > > - 12037 - Slow-down in setting contents of fields on Windows since > 6.1.3. > > - 12027 - On Retina Mac\'s scrollbars with small thumbs render smaller > > than they should. > > - 12020 - Caret is too thin on Retina displays. > > - 12010 - Windows engine hangs after multiple stack redraws. > > - 12008 - import screen snapshot on iOS creates image of incorrect > size. > > - 12006 - HTTP (HTML) URLs encoded with anything other than a native > > character set are retunred incorrectly > > - 11975 - \"import snapshot from rect ...\" only imports part of the > > screen on Windows > > - 11964 - Spacing is incorrect for Windows scaled text > > - 11933 - effective textColor returns empty value for styled text > > - 11920 - Memory leak in bitmap effects with spread of non-zero radius > > (e.g. spread 100%, radius 1; spread 50%, radius 2). > > - 11904 - Italic characters with underhang are clipped on windows > > - 11884 - Stoked graphics clipped when printed > > - 11860 - uuid and randomBytes functions don\'t work on iOS when > > Encryption support is not included > > - 11708 - Anroid apps only partially drawn after rotating device during > > lock sreen > > - 11690 - Once large scripts start scrolling the script editor, it > > won\'t stop for a long time on Windows. > > - 11689 - ResizeControl is not sent when resizing images > > - 11662 - Round buttons are drawn incorrectly > > - 11603 - Backdrop not displayed on Linux > > - 11370 - Anti-aliasing inconsistent for 1 pixel lines and curves > > - 11072 - magnify and edit image crashes LC > > - 2627 - The machine() function returns \"unknown\" under Mac OSX > > > > *Getting this release* > > To upgrade to this release please select "check for updates" from the > help > > menu in LiveCode or download the installers directly at: > > http://downloads.livecode.com/livecode/ > > > > *Reporting Bugs* > > If you encounter an issue with this release please submit a bug report to > > our quality centre: http://quality.runrev.com/enter_bug.cgi > > > > Warm regards, > > > > The LiveCode Team > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 smaclean at madmansoft.com Thu Apr 24 15:19:40 2014 From: smaclean at madmansoft.com (Stephen MacLean) Date: Thu, 24 Apr 2014 15:19:40 -0400 Subject: RELEASE LiveCode 6.6.2 RC1 In-Reply-To: References: Message-ID: <41D859BD-05AD-48FE-8929-6EE4ECEA6B6A@madmansoft.com> Yea, I think he missed with the copy and paste... it is most definitely 6.6.2 RC 2 and was released today. 6.6.1 is GM On Apr 24, 2014, at 3:15 PM, Mike Kerner wrote: > subject says 6.6.2, email says 6.6.1 > > > On Thu, Apr 24, 2014 at 3:10 PM, Stephen MacLean wrote: > >> I am unable to launch an iOS app that builds and runs normally in 6.6.1. >> >> It crashes at launch on both the simulator and phone. >> >> I will file a bug report, along with crash report. >> >> Best, >> >> Steve MacLean >> >> On Apr 24, 2014, at 1:22 PM, Benjamin Beaumont wrote: >> >>> Dear List Members. >>> >>> We are pleased to announce the release of LiveCode 6.6.1 RC1. >>> >>> This is a maintenance release for the 6.6 series and contain 43 bug >> fixes. >>> Many of the visual glitches on high resolution screens have been resolved >>> and a number of other general fixes have been applied. >>> >>> *Release Contents* >>> >>> 43 bug fixes: >>> >>> - 12239 - Magnification window shows corrupted image. >>> - 12237 - Attempt to attach to the launching console on Windows (if >> any) >>> in standalones. >>> - 12236 - Dropdown menus are clipped on Windows when text scale > 100% >>> - 12235 - Tooltips clipped on Windows when text scaling > 100% >>> - 12227 - When Windows screen display is set to 125% popups sometimes >>> break >>> - 12223 - Windows backdrop doesn\'t cover the full desktop area when >>> displayed on a high-dpi screen. >>> - 12206 - Buttons of menu type can\'t be inspected if first created >>> object >>> - 12200 - Some filesystem entries in the root of a volume on Mac report >>> as files when they are really folders. >>> - 12185 - Standalone engine crashes when -ui specified on Linux. >>> - 12183 - Clicking in the scrollbar well doesn\'t work if the click is >>> too short. >>> - 12182 - \'the pageRanges\' doesn\'t work on fields with more than 64K >>> chars. >>> - 12175 - Setting the usePixelScaling property doesn\'t update all >>> windows on Mac. >>> - 12170 - Non-existant command line parameter variables ($) behave >>> strangely with split. >>> - 12146 - setting tabstops to 2 equal numbers and then turning vGrid on >>> hangs LC >>> - 12125 - put the executionContexts crashes LiveCode server >>> - 12107 - exit causes livecode server to crash >>> - 12105 - Livecode server crashed if you call paramCount() >>> - 12101 - Graphics missing from imported Hypercard stack >>> - 12099 - On awakening Android device from sleep, part of app is >> blacked >>> out >>> - 12088 - The script editor doesn\'t scroll horizontally as text is >>> entered >>> - 12058 - The backdrop on Windows is always black >>> - 12044 - Opaque groups do not completely draw their backgrounds when >>> acceleratedRendering is enabled >>> - 12037 - Slow-down in setting contents of fields on Windows since >> 6.1.3. >>> - 12027 - On Retina Mac\'s scrollbars with small thumbs render smaller >>> than they should. >>> - 12020 - Caret is too thin on Retina displays. >>> - 12010 - Windows engine hangs after multiple stack redraws. >>> - 12008 - import screen snapshot on iOS creates image of incorrect >> size. >>> - 12006 - HTTP (HTML) URLs encoded with anything other than a native >>> character set are retunred incorrectly >>> - 11975 - \"import snapshot from rect ...\" only imports part of the >>> screen on Windows >>> - 11964 - Spacing is incorrect for Windows scaled text >>> - 11933 - effective textColor returns empty value for styled text >>> - 11920 - Memory leak in bitmap effects with spread of non-zero radius >>> (e.g. spread 100%, radius 1; spread 50%, radius 2). >>> - 11904 - Italic characters with underhang are clipped on windows >>> - 11884 - Stoked graphics clipped when printed >>> - 11860 - uuid and randomBytes functions don\'t work on iOS when >>> Encryption support is not included >>> - 11708 - Anroid apps only partially drawn after rotating device during >>> lock sreen >>> - 11690 - Once large scripts start scrolling the script editor, it >>> won\'t stop for a long time on Windows. >>> - 11689 - ResizeControl is not sent when resizing images >>> - 11662 - Round buttons are drawn incorrectly >>> - 11603 - Backdrop not displayed on Linux >>> - 11370 - Anti-aliasing inconsistent for 1 pixel lines and curves >>> - 11072 - magnify and edit image crashes LC >>> - 2627 - The machine() function returns \"unknown\" under Mac OSX >>> >>> *Getting this release* >>> To upgrade to this release please select "check for updates" from the >> help >>> menu in LiveCode or download the installers directly at: >>> http://downloads.livecode.com/livecode/ >>> >>> *Reporting Bugs* >>> If you encounter an issue with this release please submit a bug report to >>> our quality centre: http://quality.runrev.com/enter_bug.cgi >>> >>> Warm regards, >>> >>> The LiveCode Team >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 smaclean at madmansoft.com Thu Apr 24 15:25:27 2014 From: smaclean at madmansoft.com (Stephen MacLean) Date: Thu, 24 Apr 2014 15:25:27 -0400 Subject: RELEASE LiveCode 6.6.2 RC1 In-Reply-To: <41D859BD-05AD-48FE-8929-6EE4ECEA6B6A@madmansoft.com> References: <41D859BD-05AD-48FE-8929-6EE4ECEA6B6A@madmansoft.com> Message-ID: Hell, even I'm getting it mixed up! it's 6.6.2 RC1 On Apr 24, 2014, at 3:19 PM, Stephen MacLean wrote: > Yea, I think he missed with the copy and paste... it is most definitely 6.6.2 RC 2 and was released today. > > 6.6.1 is GM > > On Apr 24, 2014, at 3:15 PM, Mike Kerner wrote: > >> subject says 6.6.2, email says 6.6.1 >> >> >> On Thu, Apr 24, 2014 at 3:10 PM, Stephen MacLean wrote: >> >>> I am unable to launch an iOS app that builds and runs normally in 6.6.1. >>> >>> It crashes at launch on both the simulator and phone. >>> >>> I will file a bug report, along with crash report. >>> >>> Best, >>> >>> Steve MacLean >>> >>> On Apr 24, 2014, at 1:22 PM, Benjamin Beaumont wrote: >>> >>>> Dear List Members. >>>> >>>> We are pleased to announce the release of LiveCode 6.6.1 RC1. >>>> >>>> This is a maintenance release for the 6.6 series and contain 43 bug >>> fixes. >>>> Many of the visual glitches on high resolution screens have been resolved >>>> and a number of other general fixes have been applied. >>>> >>>> *Release Contents* >>>> >>>> 43 bug fixes: >>>> >>>> - 12239 - Magnification window shows corrupted image. >>>> - 12237 - Attempt to attach to the launching console on Windows (if >>> any) >>>> in standalones. >>>> - 12236 - Dropdown menus are clipped on Windows when text scale > 100% >>>> - 12235 - Tooltips clipped on Windows when text scaling > 100% >>>> - 12227 - When Windows screen display is set to 125% popups sometimes >>>> break >>>> - 12223 - Windows backdrop doesn\'t cover the full desktop area when >>>> displayed on a high-dpi screen. >>>> - 12206 - Buttons of menu type can\'t be inspected if first created >>>> object >>>> - 12200 - Some filesystem entries in the root of a volume on Mac report >>>> as files when they are really folders. >>>> - 12185 - Standalone engine crashes when -ui specified on Linux. >>>> - 12183 - Clicking in the scrollbar well doesn\'t work if the click is >>>> too short. >>>> - 12182 - \'the pageRanges\' doesn\'t work on fields with more than 64K >>>> chars. >>>> - 12175 - Setting the usePixelScaling property doesn\'t update all >>>> windows on Mac. >>>> - 12170 - Non-existant command line parameter variables ($) behave >>>> strangely with split. >>>> - 12146 - setting tabstops to 2 equal numbers and then turning vGrid on >>>> hangs LC >>>> - 12125 - put the executionContexts crashes LiveCode server >>>> - 12107 - exit causes livecode server to crash >>>> - 12105 - Livecode server crashed if you call paramCount() >>>> - 12101 - Graphics missing from imported Hypercard stack >>>> - 12099 - On awakening Android device from sleep, part of app is >>> blacked >>>> out >>>> - 12088 - The script editor doesn\'t scroll horizontally as text is >>>> entered >>>> - 12058 - The backdrop on Windows is always black >>>> - 12044 - Opaque groups do not completely draw their backgrounds when >>>> acceleratedRendering is enabled >>>> - 12037 - Slow-down in setting contents of fields on Windows since >>> 6.1.3. >>>> - 12027 - On Retina Mac\'s scrollbars with small thumbs render smaller >>>> than they should. >>>> - 12020 - Caret is too thin on Retina displays. >>>> - 12010 - Windows engine hangs after multiple stack redraws. >>>> - 12008 - import screen snapshot on iOS creates image of incorrect >>> size. >>>> - 12006 - HTTP (HTML) URLs encoded with anything other than a native >>>> character set are retunred incorrectly >>>> - 11975 - \"import snapshot from rect ...\" only imports part of the >>>> screen on Windows >>>> - 11964 - Spacing is incorrect for Windows scaled text >>>> - 11933 - effective textColor returns empty value for styled text >>>> - 11920 - Memory leak in bitmap effects with spread of non-zero radius >>>> (e.g. spread 100%, radius 1; spread 50%, radius 2). >>>> - 11904 - Italic characters with underhang are clipped on windows >>>> - 11884 - Stoked graphics clipped when printed >>>> - 11860 - uuid and randomBytes functions don\'t work on iOS when >>>> Encryption support is not included >>>> - 11708 - Anroid apps only partially drawn after rotating device during >>>> lock sreen >>>> - 11690 - Once large scripts start scrolling the script editor, it >>>> won\'t stop for a long time on Windows. >>>> - 11689 - ResizeControl is not sent when resizing images >>>> - 11662 - Round buttons are drawn incorrectly >>>> - 11603 - Backdrop not displayed on Linux >>>> - 11370 - Anti-aliasing inconsistent for 1 pixel lines and curves >>>> - 11072 - magnify and edit image crashes LC >>>> - 2627 - The machine() function returns \"unknown\" under Mac OSX >>>> >>>> *Getting this release* >>>> To upgrade to this release please select "check for updates" from the >>> help >>>> menu in LiveCode or download the installers directly at: >>>> http://downloads.livecode.com/livecode/ >>>> >>>> *Reporting Bugs* >>>> If you encounter an issue with this release please submit a bug report to >>>> our quality centre: http://quality.runrev.com/enter_bug.cgi >>>> >>>> Warm regards, >>>> >>>> The LiveCode Team >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 capellan2000 at gmail.com Thu Apr 24 16:44:03 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 24 Apr 2014 13:44:03 -0700 (PDT) Subject: playing an mp3 file In-Reply-To: <09E16D9E363D4DACABA9BD4A694CE5B5@userd204a4d61c> References: <09E16D9E363D4DACABA9BD4A694CE5B5@userd204a4d61c> Message-ID: <1398372243577-4678638.post@n4.nabble.com> Could you use an instance of revBrowser to play the mp3? http://website.lineone.net/~a_tranter/audio.htm -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/playing-an-mp3-file-tp4678609p4678638.html Sent from the Revolution - User mailing list archive at Nabble.com. From bvg at mac.com Thu Apr 24 17:08:29 2014 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 24 Apr 2014 23:08:29 +0200 Subject: playing an mp3 file In-Reply-To: <09E16D9E363D4DACABA9BD4A694CE5B5@userd204a4d61c> References: <09E16D9E363D4DACABA9BD4A694CE5B5@userd204a4d61c> Message-ID: <856C9BA1-C4D4-4943-BB85-5920EA90FAE2@mac.com> They'll need quicktime. On 24 Apr 2014, at 01:17, larry at significantplanet.org wrote: > I know I can play a .wav file without having to use a player. > > But I want to play a .mp3 file and for that I think I have to use a player, right? > > And if I do use a player to play an mp3 file, then build my app as a standalone for Windows, do I need to include anything in the app? I mean, if the user doesn't have Quicktime, will they still be able to play the mp3 file? > > TIA > Larry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From jacque at hyperactivesw.com Thu Apr 24 17:17:49 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 24 Apr 2014 16:17:49 -0500 Subject: RELEASE LiveCode 6.6.2 RC1 In-Reply-To: <41D859BD-05AD-48FE-8929-6EE4ECEA6B6A@madmansoft.com> References: <41D859BD-05AD-48FE-8929-6EE4ECEA6B6A@madmansoft.com> Message-ID: <53597F7D.5090902@hyperactivesw.com> On Apr 24, 2014, at 3:15 PM, Mike Kerner wrote: > >subject says 6.6.2, email says 6.6.1 I read it as: "I am unable to launch an iOS app [built with 6.6.2] that builds and runs normally in 6.6.1." -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From peterwawood at gmail.com Thu Apr 24 17:46:32 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Fri, 25 Apr 2014 05:46:32 +0800 Subject: HTPPS problem with a web service In-Reply-To: References: Message-ID: David You must have missed this in my original message - "I haven't been keeping up to-date so I'm still running LiveCode 6.5.2 under OS X 10.7.5" Regards Peter On 25 Apr 2014, at 02:52, David Bovill wrote: > That's interesting Peter - it doesn't work here with OSX 10.9.2 and > Livecode 6.6.1. Trevor had a similar problem - what platform are you on? > > > On 23 April 2014 15:50, Peter W A Wood wrote: > >> David >> >> This worked for me in the message box: >> >> Command: >> >> put URL " >> https://api.dreamhost.com/?key=6SHU5P2HLDAYECUM&cmd=user-list_users_no_pw&unique_id=4082432&format=perl >> " >> >> Output: >> >> $result = { >> 'data' => 'unique_id_already_used', >> 'result' => 'error' >> }; >> >> I haven't been keeping up to-date so I'm still running LiveCode 6.5.2 >> under OS X 10.7.5 >> >> Regards >> >> Peter >> >> >> On 23 Apr 2014, at 20:35, David Bovill wrote: >> >>> I'm having an https problem with a RESTful web service I am calling. Here >>> is the url (which works in the browser but not from the IDE): >>> >>> >> https://api.dreamhost.com/?key=6SHU5P2HLDAYECUM&cmd=user-list_users_no_pw&unique_id=4082432&format=perl >>> >>> >>> I've tried libUrlSetSSLVerificition false and made a stab at debugging >> it. >>> I get the following error: >>> >>> httpproxyforurl for host 'api.dreamhost.com': >>>> Proxy for URL: >>>> socket selected: api.dreamhost.com:443|6924 >>>> GET >>>> >> /?key=6SHU5P2HLDAYECUM&cmd=user-list_users_no_pw&unique_id=4082432&format=perl >>>> HTTP/1.1 >>>> Host: api.dreamhost.com >>>> User-Agent: curl/7.30.0 >>>> Accept: */* >>>> socket timeout api.dreamhost.com:443|6924 >>> >>> >>> And the following headers sent (as you can see I tried changing the user >>> agent as curl works fine): >>> >>> GET >>>> >> /?key=6SHU5P2HLDAYECUM&cmd=user-list_users_no_pw&unique_id=4082432&format=perl >>>> HTTP/1.1 >>>> Host: api.dreamhost.com >>>> User-Agent: curl/7.30.0 >>>> Accept: */* >>>> >>> >>> And returned: >>> >>> >>>> HTTP/1.1 200 OK >>>> Set-Cookie: 60gpBAK=R1224191420; path=/; expires=Mon, 07-Apr-2014 >> 18:14:08 >>>> GMT >>>> Date: Mon, 07 Apr 2014 17:06:53 GMT >>>> Content-Type: text/html; charset=utf-8 >>>> Transfer-Encoding: chunked >>>> Connection: keep-alive >>>> Set-Cookie: 60gp=R477302024; path=/; expires=Mon, 07-Apr-2014 18:08:19 >> GMT >>>> Server: Apache >>>> X-Powered-By: PHP/5.2.17 >>>> Vary: Cookie,Accept-Encoding >>>> Composed-By: SPIP 2.1.24 @ www.spip.net + images(1.0.1), >>>> msie_compat(1.0.0), porte_plume(1.7.9), safehtml(1.3.7), >> vertebres(1.0.0), >>>> guestbook(2.22), compresseur(1.0.2) >>>> X-Spip-Cache: 86400 >>>> Last-Modified: Mon, 07 Apr 2014 17:06:53 GMT >>> >>> >>> Any thoughts? >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 24 17:47:45 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 24 Apr 2014 16:47:45 -0500 Subject: [Enhancement Request] Open and BackUp in LiveCode DP and RC In-Reply-To: <53595E41.4060307@cogapp.com> References: <1398280973879-4678587.post@n4.nabble.com> <53581696.9080701@fourthworld.com> <002501cf5fc1$c1b894e0$4529bea0$@net> <0aa58bbf-9744-4827-837a-d807128f0d31@email.android.com> <53595E41.4060307@cogapp.com> Message-ID: <53598681.70804@hyperactivesw.com> On 4/24/14, 1:56 PM, Ben Rubinstein wrote: > I'd love to know: what do other people do to customise their environment? I use a system I started in HC 25+ years ago and have been adding to ever since. Back then it was additions to the Home script, today it's a library plugin that inserts one script into the backscripts and another into the frontscripts when LC launches. I don't like a lot of extra stack windows on screen so this is a nice, invisible way to get functionality. My library stack opens invisibly on startup and stays out of the way. The script of the library has dozens of handlers with (usually) short names. When I want to use one I type it into the message box. For example, "uc" unlocks the cursor for those OS X times it gets stuck, "bup" makes a backup, "nc" gives me the number of cards and "nb" gives me the number of backgrounds. One I use constantly is "gn" or "gp" which goes to the next/previous card with messages locked, and it takes an optional parameter which will go to a named or numbered card instead. Others are more extensive, but just as easy to trigger. Some manage things I do repeatedly in the script editor, other handlers act on the selected object, some move or align objects, or flip through all the cards in a stack setting object properties (handy for the HC conversions I still do.) I suppose this method would be harder for someone who had to learn all the shortcuts at once, but I've been adding them slowly over the years and I have them memorized. Well, most of them, anyway. Oh, and here's another one I use all the time: on getPaint -- replace an img's content; img must be selected if the selobj = "" then answer "Select an image first." exit getPaint end if answer file "Choose replacement image:" if it = "" then exit to top put url ("binfile:"&it) into the selobj end getPaint This updates the selected image with with a new image from disk, preserving all its properties. It's very handy for changing an icon image so you don't have to reset the icon IDs on every button in the stack that uses it. It's also good when you've placed an image in exactly the right position and layer and you don't want to have to repeat that all over again with a newly imported image. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From capellan2000 at gmail.com Thu Apr 24 17:51:12 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 24 Apr 2014 14:51:12 -0700 (PDT) Subject: Changes in LiveCode Image Quality - A comparison Message-ID: <1398376272707-4678643.post@n4.nabble.com> Hi All, on Mar 18, 2014 Kenji Kojima wrote: >Please restore box filtering. >It was very useful for making a mosaic image. >I loved 6.5 of poor quality image too. After LiveCode 6.6, image quality "normal" and "good" looks exactly alike. Not so in previous versions. This stack shows a comparison between image qualities in different LiveCode versions: https://dl.dropboxusercontent.com/u/3834621/LiveCode_Image_Quality_comparison.livecode Who else, besides Mr. Kojima and me, is affected by this change in rendering of the image quality? Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Changes-in-LiveCode-Image-Quality-A-comparison-tp4678643.html Sent from the Revolution - User mailing list archive at Nabble.com. From Nakia.Brewer at westrac.com.au Thu Apr 24 17:58:18 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Thu, 24 Apr 2014 21:58:18 +0000 Subject: HTPPS problem with a web service In-Reply-To: References: , Message-ID: <16B7D853-EB0C-4538-81AF-37538987094D@westrac.com.au> Are you going through a proxy? I can't get HTTPS to work through a proxy that is using a PAC file. Sent from my iPhone > On 25 Apr 2014, at 7:47 am, "Peter W A Wood" wrote: > > David > > You must have missed this in my original message - "I haven't been keeping up to-date so I'm still running LiveCode 6.5.2 under OS X 10.7.5" > > Regards > > Peter > >> On 25 Apr 2014, at 02:52, David Bovill wrote: >> That's interesting Peter - it doesn't work here with OSX 10.9.2 and >> Livecode 6.6.1. Trevor had a similar problem - what platform are you on? >> >> >>> On 23 April 2014 15:50, Peter W A Wood wrote: >>> >>> David >>> >>> This worked for me in the message box: >>> >>> Command: >>> >>> put URL " >>> https://api.dreamhost.com/?key=6SHU5P2HLDAYECUM&cmd=user-list_users_no_pw&unique_id=4082432&format=perl >>> " >>> >>> Output: >>> >>> $result = { >>> 'data' => 'unique_id_already_used', >>> 'result' => 'error' >>> }; >>> >>> I haven't been keeping up to-date so I'm still running LiveCode 6.5.2 >>> under OS X 10.7.5 >>> >>> Regards >>> >>> Peter >>> >>> >>>> On 23 Apr 2014, at 20:35, David Bovill wrote: >>>> >>>> I'm having an https problem with a RESTful web service I am calling. Here >>>> is the url (which works in the browser but not from the IDE): >>> https://api.dreamhost.com/?key=6SHU5P2HLDAYECUM&cmd=user-list_users_no_pw&unique_id=4082432&format=perl >>>> >>>> >>>> I've tried libUrlSetSSLVerificition false and made a stab at debugging >>> it. >>>> I get the following error: >>>> >>>> httpproxyforurl for host 'api.dreamhost.com': >>>>> Proxy for URL: >>>>> socket selected: api.dreamhost.com:443|6924 >>>>> GET >>> /?key=6SHU5P2HLDAYECUM&cmd=user-list_users_no_pw&unique_id=4082432&format=perl >>>>> HTTP/1.1 >>>>> Host: api.dreamhost.com >>>>> User-Agent: curl/7.30.0 >>>>> Accept: */* >>>>> socket timeout api.dreamhost.com:443|6924 >>>> >>>> >>>> And the following headers sent (as you can see I tried changing the user >>>> agent as curl works fine): >>>> >>>> GET >>> /?key=6SHU5P2HLDAYECUM&cmd=user-list_users_no_pw&unique_id=4082432&format=perl >>>>> HTTP/1.1 >>>>> Host: api.dreamhost.com >>>>> User-Agent: curl/7.30.0 >>>>> Accept: */* >>>> >>>> And returned: >>>> >>>> >>>>> HTTP/1.1 200 OK >>>>> Set-Cookie: 60gpBAK=R1224191420; path=/; expires=Mon, 07-Apr-2014 >>> 18:14:08 >>>>> GMT >>>>> Date: Mon, 07 Apr 2014 17:06:53 GMT >>>>> Content-Type: text/html; charset=utf-8 >>>>> Transfer-Encoding: chunked >>>>> Connection: keep-alive >>>>> Set-Cookie: 60gp=R477302024; path=/; expires=Mon, 07-Apr-2014 18:08:19 >>> GMT >>>>> Server: Apache >>>>> X-Powered-By: PHP/5.2.17 >>>>> Vary: Cookie,Accept-Encoding >>>>> Composed-By: SPIP 2.1.24 @ www.spip.net + images(1.0.1), >>>>> msie_compat(1.0.0), porte_plume(1.7.9), safehtml(1.3.7), >>> vertebres(1.0.0), >>>>> guestbook(2.22), compresseur(1.0.2) >>>>> X-Spip-Cache: 86400 >>>>> Last-Modified: Mon, 07 Apr 2014 17:06:53 GMT >>>> >>>> >>>> Any thoughts? >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From capellan2000 at gmail.com Thu Apr 24 18:02:18 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 24 Apr 2014 15:02:18 -0700 (PDT) Subject: playing an mp3 file In-Reply-To: <856C9BA1-C4D4-4943-BB85-5920EA90FAE2@mac.com> References: <09E16D9E363D4DACABA9BD4A694CE5B5@userd204a4d61c> <856C9BA1-C4D4-4943-BB85-5920EA90FAE2@mac.com> Message-ID: <1398376938907-4678645.post@n4.nabble.com> Bj?rnke von Gierke wrote > They'll need quicktime. Correct. In my computer, I installed the small and non obtrusive Quicktime Alternative: http://www.free-codecs.com/download/quicktime_alternative.htm but if you have plenty of computer memory, disk space, processor power and internet velocity, use Apple Official QuickTime distribution: https://www.apple.com/quicktime/download/ Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/playing-an-mp3-file-tp4678609p4678645.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Thu Apr 24 18:15:32 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 24 Apr 2014 15:15:32 -0700 Subject: [Enhancement Request] Open and BackUp in LiveCode DP and RC In-Reply-To: <53595E41.4060307@cogapp.com> References: <53595E41.4060307@cogapp.com> Message-ID: <53598D04.4020107@fourthworld.com> Ben Rubinstein wrote: > I'd love to know: what do other people do to customise their > environment? -- 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 jacque at hyperactivesw.com Thu Apr 24 18:18:02 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 24 Apr 2014 17:18:02 -0500 Subject: playing an mp3 file In-Reply-To: <1398376938907-4678645.post@n4.nabble.com> References: <09E16D9E363D4DACABA9BD4A694CE5B5@userd204a4d61c> <856C9BA1-C4D4-4943-BB85-5920EA90FAE2@mac.com> <1398376938907-4678645.post@n4.nabble.com> Message-ID: <53598D9A.2010106@hyperactivesw.com> I thought that was fixed recently. Players now use the native WMP on Windows if QT is missing, and WMP ships with the mp3 codec. I wasn't able to play mp4 files because Windows doesn't distribute that codec, but you can download it separately. Does it not work? On 4/24/14, 5:02 PM, Alejandro Tejada wrote: > Bj?rnke von Gierke wrote >> They'll need quicktime. > > Correct. In my computer, I installed the small and non obtrusive > Quicktime Alternative: > > http://www.free-codecs.com/download/quicktime_alternative.htm > > but if you have plenty of computer memory, disk space, processor > power and internet velocity, use Apple Official QuickTime distribution: > > https://www.apple.com/quicktime/download/ > > Al -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Apr 24 18:19:47 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 24 Apr 2014 17:19:47 -0500 Subject: HTPPS problem with a web service In-Reply-To: <16B7D853-EB0C-4538-81AF-37538987094D@westrac.com.au> References: , <16B7D853-EB0C-4538-81AF-37538987094D@westrac.com.au> Message-ID: <53598E03.2080204@hyperactivesw.com> On 4/24/14, 4:58 PM, Nakia Brewer wrote: > Are you going through a proxy? > > I can't get HTTPS to work through a proxy that is using a PAC file. Have you tried with today's 6.1.2 release? I think the libURL library has been tweaked. I'd be curious to know -- I don't have a proxy to test with. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Apr 24 18:25:06 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 24 Apr 2014 17:25:06 -0500 Subject: [Enhancement Request] Open and BackUp in LiveCode DP and RC In-Reply-To: <53598D04.4020107@fourthworld.com> References: <53595E41.4060307@cogapp.com> <53598D04.4020107@fourthworld.com> Message-ID: <53598F42.2090000@hyperactivesw.com> On 4/24/14, 5:15 PM, Richard Gaskin wrote: > Where do you put the stacks you're working on? :) You and I have exactly opposite work habits. I mentioned "choice" earlier in this thread. Choice is good. It's a credit to LC that we can work however we like. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Thu Apr 24 18:49:05 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 24 Apr 2014 15:49:05 -0700 Subject: [Enhancement Request] Open and BackUp in LiveCode DP and RC In-Reply-To: <53598F42.2090000@hyperactivesw.com> References: <53598F42.2090000@hyperactivesw.com> Message-ID: <535994E1.6050007@fourthworld.com> J. Landman Gay wrote: > On 4/24/14, 5:15 PM, Richard Gaskin wrote: > >> > > Where do you put the stacks you're working on? :) > > You and I have exactly opposite work habits. Maybe not so much. Most of those stacks aren't open all the time, some seldom used; I had them open just for the screen shot. Like you, I use a lot of short cuts in the Message Box, but I've replaced mine with the Console window shown there to take up less space because it's modeless rather than a palette, so I can bring windows up in front of it without having it cover anything. Most of the time I have only the dark slender palette at the left open. With that I can show/hide other palettes, even IDE tools, with a single click, so the work space is very tidy - it even works well on my 1366x768 laptop. But yes, choice is good. Ideally the IDE would evolve into more of a tool rack, where we could hang any drop-in replacements we like easily. Much of that can be done now, but it's trickier in some cases than I'd prefer. -- 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 green.rodney at gmail.com Thu Apr 24 18:51:46 2014 From: green.rodney at gmail.com (Rodney Green) Date: Thu, 24 Apr 2014 18:51:46 -0400 Subject: MS SQL In-Reply-To: References: <53572699.1090103@hyperactivesw.com> Message-ID: I'm curious, does anyone have a project that uses the revDataFromQuery() command? And does anyone use the Actual Technologies ODBC driver? On Thu, Apr 24, 2014 at 9:23 AM, Rodney Green wrote: > I'll put in a bug report for this. Does anyone have any kind of > work-around for this? Have there been any updates to database in the > developer previews? Maybe I'll give a DP a try. > > > On Wed, Apr 23, 2014 at 7:53 PM, Rodney Green wrote: > >> I tried it in 6.6 and 6.6.1. I'm using Actual Technologies ODBC manager >> (demo). And I can connect successfully to the SQL server with Navicat. I'm >> on a Mac (10.9.2) and connecting via a VPN. >> >> >> On Wed, Apr 23, 2014 at 7:17 PM, Peter Haworth wrote: >> >>> That seems strange - I wouldn't expect to see field names, just the data >>> in >>> them. What version of LC are you using? Might be time to enter a bug >>> report. >>> >>> Pete >>> lcSQL Software >>> Home of lcStackBrowser and >>> SQLiteAdmin >>> >>> >>> On Wed, Apr 23, 2014 at 2:47 PM, Rodney Green >> >wrote: >>> >>> > I turned on tracing in the odbc driver and I can see field names in the >>> > data. So I'm assuming the query is working. But still can't figure out >>> why >>> > LC is hanging. I have database checked in the stand alone settings, not >>> > sure if this matters while in LC. Any ideas how I can track down why >>> LC is >>> > hanging? >>> > >>> > >>> > On Wed, Apr 23, 2014 at 10:13 AM, Peter Haworth >>> wrote: >>> > >>> > > In gmail, you can fix that by using the "Paste and match style" >>> option on >>> > > the edit menu. >>> > > >>> > > Pete >>> > > lcSQL Software >>> > > On Apr 22, 2014 7:34 PM, "J. Landman Gay" >>> > > wrote: >>> > > >>> > > > On 4/22/14, 6:49 PM, Kay C Lan wrote: >>> > > > >>> > > >> I don't know if it's just your email client but what I'm seeing >>> is an >>> > > >> asterisk * around the words get, put and return which shouldn't be >>> > > there. >>> > > >> >>> > > > >>> > > > That happens to all keywords when a colorized script is copied >>> from the >>> > > > script editor and pasted into a text-only email list. I see it >>> here all >>> > > the >>> > > > time. >>> > > > >>> > > > -- >>> > > > Jacqueline Landman Gay | jacque at hyperactivesw.com >>> > > > HyperActive Software | http://www.hyperactivesw.com >>> > > > >>> > > > _______________________________________________ >>> > > > use-livecode mailing list >>> > > > use-livecode at lists.runrev.com >>> > > > Please visit this url to subscribe, unsubscribe and manage your >>> > > > subscription preferences: >>> > > > http://lists.runrev.com/mailman/listinfo/use-livecode >>> > > > >>> > > _______________________________________________ >>> > > use-livecode mailing list >>> > > use-livecode at lists.runrev.com >>> > > Please visit this url to subscribe, unsubscribe and manage your >>> > > subscription preferences: >>> > > http://lists.runrev.com/mailman/listinfo/use-livecode >>> > > >>> > _______________________________________________ >>> > use-livecode mailing list >>> > use-livecode at lists.runrev.com >>> > Please visit this url to subscribe, unsubscribe and manage your >>> > subscription preferences: >>> > http://lists.runrev.com/mailman/listinfo/use-livecode >>> > >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> > From Nakia.Brewer at westrac.com.au Thu Apr 24 19:24:10 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Thu, 24 Apr 2014 23:24:10 +0000 Subject: HTPPS problem with a web service In-Reply-To: <53598E03.2080204@hyperactivesw.com> References: , <16B7D853-EB0C-4538-81AF-37538987094D@westrac.com.au>, <53598E03.2080204@hyperactivesw.com> Message-ID: <5926F8A6-80EB-4A8E-84EC-63511827A628@westrac.com.au> I will next week when I am back on my work network. Sent from my iPhone > On 25 Apr 2014, at 8:20 am, "J. Landman Gay" wrote: > >> On 4/24/14, 4:58 PM, Nakia Brewer wrote: >> Are you going through a proxy? >> >> I can't get HTTPS to work through a proxy that is using a PAC file. > > Have you tried with today's 6.1.2 release? I think the libURL library has been tweaked. I'd be curious to know -- I don't have a proxy to test with. > > -- > 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 > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From pete at lcsql.com Thu Apr 24 19:45:50 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 24 Apr 2014 16:45:50 -0700 Subject: MS SQL In-Reply-To: References: <53572699.1090103@hyperactivesw.com> Message-ID: I'm sure there are many people who use revDataFromQuery, less so the ODBC driver you mentioned. If that ODBC driver works in Navicat, then it seems the finger is pointing at some problem between Livecode and the ODBC driver. I think you said you'd enetered a bug report so hopefully it will get resolved. There were some changes in the database library in a recent release but they were centered around using a more up to date version of the SQLite library so shouldn't have affected the ODBC side of things, at least not theoretically :-) Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Thu, Apr 24, 2014 at 3:51 PM, Rodney Green wrote: > I'm curious, does anyone have a project that uses the revDataFromQuery() > command? And does anyone use the Actual Technologies ODBC driver? > > > On Thu, Apr 24, 2014 at 9:23 AM, Rodney Green >wrote: > > > I'll put in a bug report for this. Does anyone have any kind of > > work-around for this? Have there been any updates to database in the > > developer previews? Maybe I'll give a DP a try. > > > > > > On Wed, Apr 23, 2014 at 7:53 PM, Rodney Green >wrote: > > > >> I tried it in 6.6 and 6.6.1. I'm using Actual Technologies ODBC manager > >> (demo). And I can connect successfully to the SQL server with Navicat. > I'm > >> on a Mac (10.9.2) and connecting via a VPN. > >> > >> > >> On Wed, Apr 23, 2014 at 7:17 PM, Peter Haworth wrote: > >> > >>> That seems strange - I wouldn't expect to see field names, just the > data > >>> in > >>> them. What version of LC are you using? Might be time to enter a bug > >>> report. > >>> > >>> Pete > >>> lcSQL Software > >>> Home of lcStackBrowser and > >>> SQLiteAdmin > >>> > >>> > >>> On Wed, Apr 23, 2014 at 2:47 PM, Rodney Green >>> >wrote: > >>> > >>> > I turned on tracing in the odbc driver and I can see field names in > the > >>> > data. So I'm assuming the query is working. But still can't figure > out > >>> why > >>> > LC is hanging. I have database checked in the stand alone settings, > not > >>> > sure if this matters while in LC. Any ideas how I can track down why > >>> LC is > >>> > hanging? > >>> > > >>> > > >>> > On Wed, Apr 23, 2014 at 10:13 AM, Peter Haworth > >>> wrote: > >>> > > >>> > > In gmail, you can fix that by using the "Paste and match style" > >>> option on > >>> > > the edit menu. > >>> > > > >>> > > Pete > >>> > > lcSQL Software > >>> > > On Apr 22, 2014 7:34 PM, "J. Landman Gay" < > jacque at hyperactivesw.com> > >>> > > wrote: > >>> > > > >>> > > > On 4/22/14, 6:49 PM, Kay C Lan wrote: > >>> > > > > >>> > > >> I don't know if it's just your email client but what I'm seeing > >>> is an > >>> > > >> asterisk * around the words get, put and return which shouldn't > be > >>> > > there. > >>> > > >> > >>> > > > > >>> > > > That happens to all keywords when a colorized script is copied > >>> from the > >>> > > > script editor and pasted into a text-only email list. I see it > >>> here all > >>> > > the > >>> > > > time. > >>> > > > > >>> > > > -- > >>> > > > Jacqueline Landman Gay | jacque at hyperactivesw.com > >>> > > > HyperActive Software | > http://www.hyperactivesw.com > >>> > > > > >>> > > > _______________________________________________ > >>> > > > use-livecode mailing list > >>> > > > use-livecode at lists.runrev.com > >>> > > > Please visit this url to subscribe, unsubscribe and manage your > >>> > > > subscription preferences: > >>> > > > http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > > > > >>> > > _______________________________________________ > >>> > > use-livecode mailing list > >>> > > use-livecode at lists.runrev.com > >>> > > Please visit this url to subscribe, unsubscribe and manage your > >>> > > subscription preferences: > >>> > > http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > > > >>> > _______________________________________________ > >>> > use-livecode mailing list > >>> > use-livecode at lists.runrev.com > >>> > Please visit this url to subscribe, unsubscribe and manage your > >>> > subscription preferences: > >>> > http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >> > >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 24 20:04:40 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 24 Apr 2014 17:04:40 -0700 Subject: [Enhancement Request] Open and BackUp in LiveCode DP and RC In-Reply-To: <53598F42.2090000@hyperactivesw.com> References: <53595E41.4060307@cogapp.com> <53598D04.4020107@fourthworld.com> <53598F42.2090000@hyperactivesw.com> Message-ID: It is interesting how different people work in different ways. In my lcStackBrowser plugin I tried to include functionality that I've found useful in my own work environment and also keep the number of open utility stacks to a minimum, hoping to provide as much flexibility as possible. Like Richard's stack, it opens modeless rather than as a palette for the reason he mentioned and it can be reduced down to a very small footprint for times when you need extra workspace. It has its own built-in property inspector editor, implemented as an expandable list for any object in the display so I hardly ever need to open the IDE Inspector palette. You can organize properties into groups, much like the tabs in the IDE Inspector except that you decide how to group properties together. Plus it has some special editors for editing table-style data and even arrays. It also has its own controls palette which can be shown/hidden and works the same as the IDE Tools palette with drag and drop functionality, plus the ability to drag/drop multiple controls at once. For instance you can drop a label field and a text field onto a card, tell it how many instances of the pair you need and the spacing between them and it will create them all for you nicely aligned. No need for me to open the Inspector Tools palette any more. You can include your own commands in the dropdown menu for any object or in the Tools dropdown menu for commands that aren't related to a specific object. That way I don't need to have the message box open, at least for the purpose of executing these commands. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Thu, Apr 24, 2014 at 3:25 PM, J. Landman Gay wrote: > On 4/24/14, 5:15 PM, Richard Gaskin wrote: > > >> > > Where do you put the stacks you're working on? :) > > You and I have exactly opposite work habits. I mentioned "choice" earlier > in this thread. Choice is good. It's a credit to LC that we can work > however we like. > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From scott at tactilemedia.com Thu Apr 24 20:29:38 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 24 Apr 2014 17:29:38 -0700 Subject: Delivering Files with lcServer ? Message-ID: Hello List: I'm hoping someone knowledgable about server stuff has a solution to a problem I have delivering a file using lcServer via an iframe. I'm using lcServer with the following code to trigger a file download: put url ("binfile:files/sound.zip") into theFile put header "Content-Disposition: attachment; filename=" & quote & "sound.zip" & quote put new header "Content-Type: application/force-download" put new header "Content-Type: application/zip" put new header "Content-Type: application/octet-stream" put new header "Content-Type: application/download" put header "Content-Description: File Transfer" put header "Content-Length:" && the length of theFile put theFile This appears to work fine from basic web page -- a download is triggered in the browser and the file is written to the drive. When I run the same code on a page within an iframe, I get the raw file code posted to the iframe. :-( All pages reside in the same domain (no cross domain issues) so I'm at a loss on how to deal with this. Any ideas? Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From peterwawood at gmail.com Thu Apr 24 21:17:25 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Fri, 25 Apr 2014 09:17:25 +0800 Subject: Delivering Files with lcServer ? In-Reply-To: References: Message-ID: Hi Scott What is the URL of the iframe? Does it include characters such as "?" or "&" ? Regards Peter On 25 Apr 2014, at 08:29, Scott Rossi wrote: > Hello List: > > I'm hoping someone knowledgable about server stuff has a solution to a > problem I have delivering a file using lcServer via an iframe. > > I'm using lcServer with the following code to trigger a file download: > > put url ("binfile:files/sound.zip") into theFile > put header "Content-Disposition: attachment; filename=" & quote & > "sound.zip" & quote > put new header "Content-Type: application/force-download" > put new header "Content-Type: application/zip" > put new header "Content-Type: application/octet-stream" > put new header "Content-Type: application/download" > put header "Content-Description: File Transfer" > put header "Content-Length:" && the length of theFile > put theFile > > This appears to work fine from basic web page -- a download is triggered > in the browser and the file is written to the drive. > > When I run the same code on a page within an iframe, I get the raw file > code posted to the iframe. :-( > > All pages reside in the same domain (no cross domain issues) so I'm at a > loss on how to deal with this. Any ideas? > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sc at sahores-conseil.com Thu Apr 24 21:29:01 2014 From: sc at sahores-conseil.com (Pierre Sahores) Date: Fri, 25 Apr 2014 03:29:01 +0200 Subject: MS SQL In-Reply-To: References: <53572699.1090103@hyperactivesw.com> Message-ID: <0F1BB917-BD59-4547-8D35-F2498E29E9C2@sahores-conseil.com> I use it all the time in most of my projects running in a LC-Server+PostgreSQL+RevIgniter+JQuery context (no experimented against MS SQL Server at all, sorry). See below for a daily working example witch builds on the fly an HTML5/JQuery multi-hierarchical pulldown menu : > put revDataFromQuery(tab, return, myDatabaseID, "SELECT p.product_id, c.category_id, d.department_id, p.name AS product_name, c.name_ascii127 AS category_name," && \ > "d.name_ascii127 AS department_name, d.rank AS department_rank, c.rank AS category_rank, c.name AS category_title, d.name AS department_title" && \ > "FROM" && gData["product_dbtable"] && "p INNER JOIN" && gData["product_category_dbtable"] && \ > "pc on p.product_id = pc.product_id INNER JOIN" && gData["category_dbtable"] && "c on pc.category_id = c.category_id" && \ > "INNER JOIN" && gData["department_dbtable"] && "d on c.department_id = d.department_id ORDER BY department_name, category_name, product_name") into dbRecordSets[" menu_r1"] Best, Pierre Le 25 avr. 2014 ? 00:51, Rodney Green a ?crit : > I'm curious, does anyone have a project that uses the revDataFromQuery() > command? And does anyone use the Actual Technologies ODBC driver? > > > On Thu, Apr 24, 2014 at 9:23 AM, Rodney Green wrote: > >> I'll put in a bug report for this. Does anyone have any kind of >> work-around for this? Have there been any updates to database in the >> developer previews? Maybe I'll give a DP a try. >> >> >> On Wed, Apr 23, 2014 at 7:53 PM, Rodney Green wrote: >> >>> I tried it in 6.6 and 6.6.1. I'm using Actual Technologies ODBC manager >>> (demo). And I can connect successfully to the SQL server with Navicat. I'm >>> on a Mac (10.9.2) and connecting via a VPN. >>> >>> >>> On Wed, Apr 23, 2014 at 7:17 PM, Peter Haworth wrote: >>> >>>> That seems strange - I wouldn't expect to see field names, just the data >>>> in >>>> them. What version of LC are you using? Might be time to enter a bug >>>> report. >>>> >>>> Pete >>>> lcSQL Software >>>> Home of lcStackBrowser and >>>> SQLiteAdmin >>>> >>>> >>>> On Wed, Apr 23, 2014 at 2:47 PM, Rodney Green >>>> wrote: >>>> >>>>> I turned on tracing in the odbc driver and I can see field names in the >>>>> data. So I'm assuming the query is working. But still can't figure out >>>> why >>>>> LC is hanging. I have database checked in the stand alone settings, not >>>>> sure if this matters while in LC. Any ideas how I can track down why >>>> LC is >>>>> hanging? >>>>> >>>>> >>>>> On Wed, Apr 23, 2014 at 10:13 AM, Peter Haworth >>>> wrote: >>>>> >>>>>> In gmail, you can fix that by using the "Paste and match style" >>>> option on >>>>>> the edit menu. >>>>>> >>>>>> Pete >>>>>> lcSQL Software >>>>>> On Apr 22, 2014 7:34 PM, "J. Landman Gay" >>>>>> wrote: >>>>>> >>>>>>> On 4/22/14, 6:49 PM, Kay C Lan wrote: >>>>>>> >>>>>>>> I don't know if it's just your email client but what I'm seeing >>>> is an >>>>>>>> asterisk * around the words get, put and return which shouldn't be >>>>>> there. >>>>>>>> >>>>>>> >>>>>>> That happens to all keywords when a colorized script is copied >>>> from the >>>>>>> script editor and pasted into a text-only email list. I see it >>>> here all >>>>>> the >>>>>>> time. >>>>>>> >>>>>>> -- >>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>>> subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From sc at sahores-conseil.com Thu Apr 24 21:45:57 2014 From: sc at sahores-conseil.com (Pierre Sahores) Date: Fri, 25 Apr 2014 03:45:57 +0200 Subject: MS SQL References: <0F1BB917-BD59-4547-8D35-F2498E29E9C2@sahores-conseil.com> Message-ID: <2586175A-9642-42D3-85D4-091B91CF11EE@sahores-conseil.com> Auto speller typo correction : read dbRecordSets["menu_r1"] instead of dbRecordSets[" menu_r1"] > I use it all the time in most of my projects running in a LC-Server+PostgreSQL+RevIgniter+JQuery context (no experimented against MS SQL Server at all, sorry). See below for a daily working example witch builds on the fly an HTML5/JQuery multi-hierarchical pulldown menu : > >> put revDataFromQuery(tab, return, myDatabaseID, "SELECT p.product_id, c.category_id, d.department_id, p.name AS product_name, c.name_ascii127 AS category_name," && \ >> "d.name_ascii127 AS department_name, d.rank AS department_rank, c.rank AS category_rank, c.name AS category_title, d.name AS department_title" && \ >> "FROM" && gData["product_dbtable"] && "p INNER JOIN" && gData["product_category_dbtable"] && \ >> "pc on p.product_id = pc.product_id INNER JOIN" && gData["category_dbtable"] && "c on pc.category_id = c.category_id" && \ >> "INNER JOIN" && gData["department_dbtable"] && "d on c.department_id = d.department_id ORDER BY department_name, category_name, product_name") into dbRecordSets[" menu_r1"] > > Best, > > Pierre > > Le 25 avr. 2014 ? 00:51, Rodney Green a ?crit : > >> I'm curious, does anyone have a project that uses the revDataFromQuery() >> command? And does anyone use the Actual Technologies ODBC driver? >> >> >> On Thu, Apr 24, 2014 at 9:23 AM, Rodney Green wrote: >> >>> I'll put in a bug report for this. Does anyone have any kind of >>> work-around for this? Have there been any updates to database in the >>> developer previews? Maybe I'll give a DP a try. >>> >>> >>> On Wed, Apr 23, 2014 at 7:53 PM, Rodney Green wrote: >>> >>>> I tried it in 6.6 and 6.6.1. I'm using Actual Technologies ODBC manager >>>> (demo). And I can connect successfully to the SQL server with Navicat. I'm >>>> on a Mac (10.9.2) and connecting via a VPN. >>>> >>>> >>>> On Wed, Apr 23, 2014 at 7:17 PM, Peter Haworth wrote: >>>> >>>>> That seems strange - I wouldn't expect to see field names, just the data >>>>> in >>>>> them. What version of LC are you using? Might be time to enter a bug >>>>> report. >>>>> >>>>> Pete >>>>> lcSQL Software >>>>> Home of lcStackBrowser and >>>>> SQLiteAdmin >>>>> >>>>> >>>>> On Wed, Apr 23, 2014 at 2:47 PM, Rodney Green >>>>> wrote: >>>>> >>>>>> I turned on tracing in the odbc driver and I can see field names in the >>>>>> data. So I'm assuming the query is working. But still can't figure out >>>>> why >>>>>> LC is hanging. I have database checked in the stand alone settings, not >>>>>> sure if this matters while in LC. Any ideas how I can track down why >>>>> LC is >>>>>> hanging? >>>>>> >>>>>> >>>>>> On Wed, Apr 23, 2014 at 10:13 AM, Peter Haworth >>>>> wrote: >>>>>> >>>>>>> In gmail, you can fix that by using the "Paste and match style" >>>>> option on >>>>>>> the edit menu. >>>>>>> >>>>>>> Pete >>>>>>> lcSQL Software >>>>>>> On Apr 22, 2014 7:34 PM, "J. Landman Gay" >>>>>>> wrote: >>>>>>> >>>>>>>> On 4/22/14, 6:49 PM, Kay C Lan wrote: >>>>>>>> >>>>>>>>> I don't know if it's just your email client but what I'm seeing >>>>> is an >>>>>>>>> asterisk * around the words get, put and return which shouldn't be >>>>>>> there. >>>>>>>>> >>>>>>>> >>>>>>>> That happens to all keywords when a colorized script is copied >>>>> from the >>>>>>>> script editor and pasted into a text-only email list. I see it >>>>> here all >>>>>>> the >>>>>>>> time. >>>>>>>> >>>>>>>> -- >>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>>>> subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>>> subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> >>>> >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 > -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From smaclean at madmansoft.com Thu Apr 24 22:00:41 2014 From: smaclean at madmansoft.com (Stephen MacLean) Date: Thu, 24 Apr 2014 22:00:41 -0400 Subject: MS SQL In-Reply-To: References: <53572699.1090103@hyperactivesw.com> Message-ID: <3D2966DC-13B5-4C7F-A7FA-8B015B9B14B0@madmansoft.com> I use revDataFromQuery all the time, but it's to access a local (to the app) sqlite DB. Works great with SQLite I also use MS SQL Server, but only access it via custom web services. I have never had any luck connecting to it otherwise. I've heard good things about the Actual Drivers, but again, never used it. Web services are a great way to connect to SQLServer if you have the infrastructure to run it. Cross platform, etc. I develop on a Mac, OS X 10.9.2 HTH, Steve MacLean On Apr 24, 2014, at 6:51 PM, Rodney Green wrote: > I'm curious, does anyone have a project that uses the revDataFromQuery() > command? And does anyone use the Actual Technologies ODBC driver? > > > On Thu, Apr 24, 2014 at 9:23 AM, Rodney Green wrote: > >> I'll put in a bug report for this. Does anyone have any kind of >> work-around for this? Have there been any updates to database in the >> developer previews? Maybe I'll give a DP a try. >> >> >> On Wed, Apr 23, 2014 at 7:53 PM, Rodney Green wrote: >> >>> I tried it in 6.6 and 6.6.1. I'm using Actual Technologies ODBC manager >>> (demo). And I can connect successfully to the SQL server with Navicat. I'm >>> on a Mac (10.9.2) and connecting via a VPN. >>> >>> >>> On Wed, Apr 23, 2014 at 7:17 PM, Peter Haworth wrote: >>> >>>> That seems strange - I wouldn't expect to see field names, just the data >>>> in >>>> them. What version of LC are you using? Might be time to enter a bug >>>> report. >>>> >>>> Pete >>>> lcSQL Software >>>> Home of lcStackBrowser and >>>> SQLiteAdmin >>>> >>>> >>>> On Wed, Apr 23, 2014 at 2:47 PM, Rodney Green >>>> wrote: >>>> >>>>> I turned on tracing in the odbc driver and I can see field names in the >>>>> data. So I'm assuming the query is working. But still can't figure out >>>> why >>>>> LC is hanging. I have database checked in the stand alone settings, not >>>>> sure if this matters while in LC. Any ideas how I can track down why >>>> LC is >>>>> hanging? >>>>> >>>>> >>>>> On Wed, Apr 23, 2014 at 10:13 AM, Peter Haworth >>>> wrote: >>>>> >>>>>> In gmail, you can fix that by using the "Paste and match style" >>>> option on >>>>>> the edit menu. >>>>>> >>>>>> Pete >>>>>> lcSQL Software >>>>>> On Apr 22, 2014 7:34 PM, "J. Landman Gay" >>>>>> wrote: >>>>>> >>>>>>> On 4/22/14, 6:49 PM, Kay C Lan wrote: >>>>>>> >>>>>>>> I don't know if it's just your email client but what I'm seeing >>>> is an >>>>>>>> asterisk * around the words get, put and return which shouldn't be >>>>>> there. >>>>>>>> >>>>>>> >>>>>>> That happens to all keywords when a colorized script is copied >>>> from the >>>>>>> script editor and pasted into a text-only email list. I see it >>>> here all >>>>>> the >>>>>>> time. >>>>>>> >>>>>>> -- >>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>>> subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Apr 24 22:14:15 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 25 Apr 2014 10:14:15 +0800 Subject: [Enhancement Request] Open and BackUp in LiveCode DP and RC In-Reply-To: <53595E41.4060307@cogapp.com> References: <1398280973879-4678587.post@n4.nabble.com> <53581696.9080701@fourthworld.com> <002501cf5fc1$c1b894e0$4529bea0$@net> <0aa58bbf-9744-4827-837a-d807128f0d31@email.android.com> <53595E41.4060307@cogapp.com> Message-ID: On Fri, Apr 25, 2014 at 2:56 AM, Ben Rubinstein wrote: > > It's got various things on it, but the main ones are a big backup+save > button, and a display of the rev version - actually, the buildnumber(), > version() and revAppVersion() - so just by glancing at the top-right corner > of my screen I can check what I'm running. > > It would seem from this thread that the LC gurus have all seen the NEED to hobble something together, and with the current multi track approach and the constant flow of new DPs, RCs and GMs it would seem that RunRev could save ALL newbies to LC a 25 year constantly evolving process as described by Jacque and just include your bare minimum. As mentioned, the ability to customise LCs IDE to one's own work flow is one of LC's strengths, but I think EVERYONE would like to be able to easily see at least version() and have a one button backup option already built in. From capellan2000 at gmail.com Thu Apr 24 22:20:06 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 24 Apr 2014 19:20:06 -0700 (PDT) Subject: [OT] PhET Interactive Simulations Message-ID: <1398392406516-4678661.post@n4.nabble.com> I would like to run many of these wonderful simulations: http://phet.colorado.edu/en/simulations/category/new but they are locking up (crashing?) and each time, I have to terminate Java in Lubuntu and Firefox falls in a awful recursion after visiting *.jnlp webpages... :( Please report if you have more sucess running these *.jar executables and opening the jnlp webpages Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-PhET-Interactive-Simulations-tp4678661.html Sent from the Revolution - User mailing list archive at Nabble.com. From james at thehales.id.au Thu Apr 24 22:49:51 2014 From: james at thehales.id.au (James Hale) Date: Fri, 25 Apr 2014 12:49:51 +1000 Subject: Really basic SQLite questions Message-ID: <91466C3D-49EA-437C-B6B4-45619D7B137E@thehales.id.au> 1. Open and close database connections. When? Obviously you need to open a connection to access a database, but when do you need to close it? Does it close without you doing anything? I have the need to connect to four db's while running my app. Access to a couple of these is sporadic but constant across a user session with the app. Can I just open a connection to them all on the app's launch and then close the connection of quitting? Currently I reassert the connection on most accesses. Is this a bad thing to do? 2. SQLite's new ability to load a runtime extension. What does it attach to? I have compiled a couple of extensions to SQLite for my app. I use them in two distinct db's that I connect to. Do I need to load the extension for each db or only once. In other words is it loaded for the engine itself or does the load only apply to the specific database I am connecting to at the time? Thanks in advance James From MikeKerner at roadrunner.com Thu Apr 24 23:48:29 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 24 Apr 2014 23:48:29 -0400 Subject: Really basic SQLite questions In-Reply-To: <91466C3D-49EA-437C-B6B4-45619D7B137E@thehales.id.au> References: <91466C3D-49EA-437C-B6B4-45619D7B137E@thehales.id.au> Message-ID: 1's easy, so I'll answer that: sqlite is a text file that is formatted so that it can be treated like a regular db. So open when you start and close when you're done. I have had numerous cases on mobile where the app does not get to close the db before it crashes for whatever reason with no ill effects. Occasionally I have had a whine if I try to open a db on desktop that was opened but not closed, but in general, things are forgiving. Yes, just open the connection when you start for all your db's and close when you're done. No, I don't think there is anything wrong with reasserting the connection - at least I have never had an issue that I can recall, but I generally open the db's in preOpenStack. On Thu, Apr 24, 2014 at 10:49 PM, James Hale wrote: > 1. Open and close database connections. When? > Obviously you need to open a connection to access a database, but when do > you need to close it? > Does it close without you doing anything? > I have the need to connect to four db's while running my app. > Access to a couple of these is sporadic but constant across a user session > with the app. > Can I just open a connection to them all on the app's launch and then > close the connection of quitting? Currently I reassert the connection on > most accesses. Is this a bad thing to do? > > 2. SQLite's new ability to load a runtime extension. What does it attach > to? > I have compiled a couple of extensions to SQLite for my app. I use them in > two distinct db's that I connect to. Do I need to load the extension for > each db or only once. > In other words is it loaded for the engine itself or does the load only > apply to the specific database I am connecting to at the time? > > Thanks in advance > > 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 > -- 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 Thu Apr 24 23:49:52 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 24 Apr 2014 23:49:52 -0400 Subject: RELEASE LiveCode 6.6.2 RC1 In-Reply-To: <53597F7D.5090902@hyperactivesw.com> References: <41D859BD-05AD-48FE-8929-6EE4ECEA6B6A@madmansoft.com> <53597F7D.5090902@hyperactivesw.com> Message-ID: no, read the first email when the announcement is made. On Thu, Apr 24, 2014 at 5:17 PM, J. Landman Gay wrote: > On Apr 24, 2014, at 3:15 PM, Mike Kerner > wrote: > >> >> subject says 6.6.2, email says 6.6.1 >> > > I read it as: "I am unable to launch an iOS app [built with 6.6.2] that > builds and runs normally in 6.6.1." > > -- > 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 > -- 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 pete at lcsql.com Fri Apr 25 00:07:20 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 24 Apr 2014 21:07:20 -0700 Subject: Really basic SQLite questions In-Reply-To: <91466C3D-49EA-437C-B6B4-45619D7B137E@thehales.id.au> References: <91466C3D-49EA-437C-B6B4-45619D7B137E@thehales.id.au> Message-ID: Hi James, I'd leave them open until you quit the app. You might also think about using the ATTACH command for the second and subsequent connections so they'll all be open on the same connection. This allows you to, for example, define JOINs across databases, although you'll need to change the references to anything in the attached databases. Pretty sure you need to load extensions for each connection, so the ATTACH approach will help there too. Pete lcSQL Software On Apr 24, 2014 7:49 PM, "James Hale" wrote: > 1. Open and close database connections. When? > Obviously you need to open a connection to access a database, but when do > you need to close it? > Does it close without you doing anything? > I have the need to connect to four db's while running my app. > Access to a couple of these is sporadic but constant across a user session > with the app. > Can I just open a connection to them all on the app's launch and then > close the connection of quitting? Currently I reassert the connection on > most accesses. Is this a bad thing to do? > > 2. SQLite's new ability to load a runtime extension. What does it attach > to? > I have compiled a couple of extensions to SQLite for my app. I use them in > two distinct db's that I connect to. Do I need to load the extension for > each db or only once. > In other words is it loaded for the engine itself or does the load only > apply to the specific database I am connecting to at the time? > > Thanks in advance > > 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 scott at tactilemedia.com Fri Apr 25 01:21:31 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 24 Apr 2014 22:21:31 -0700 Subject: Delivering Files with lcServer ? In-Reply-To: References: Message-ID: Hi Peter: I started setting up a test page to demonstrate, and now I can't get anything to work, not even my single page test which worked a dozen times yesterday. [sigh] Not sure what changed. At any rate, I've seen PHP examples that involve setting content headers to facilitate a file transfer, so I figured since lcserver operates similarly, it should be possible to initiate the download of a zipped file (or any file). Any examples out there that someone can point me to? Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 4/24/14 6:17 PM, "Peter W A Wood" wrote: >Hi Scott > >What is the URL of the iframe? Does it include characters such as "?" or >"&" ? > >Regards > >Peter > >On 25 Apr 2014, at 08:29, Scott Rossi wrote: > >> Hello List: >> >> I'm hoping someone knowledgable about server stuff has a solution to a >> problem I have delivering a file using lcServer via an iframe. >> >> I'm using lcServer with the following code to trigger a file download: >> >> put url ("binfile:files/sound.zip") into theFile >> put header "Content-Disposition: attachment; filename=" & quote & >> "sound.zip" & quote >> put new header "Content-Type: application/force-download" >> put new header "Content-Type: application/zip" >> put new header "Content-Type: application/octet-stream" >> put new header "Content-Type: application/download" >> put header "Content-Description: File Transfer" >> put header "Content-Length:" && the length of theFile >> put theFile >> >> This appears to work fine from basic web page -- a download is triggered >> in the browser and the file is written to the drive. >> >> When I run the same code on a page within an iframe, I get the raw file >> code posted to the iframe. :-( >> >> All pages reside in the same domain (no cross domain issues) so I'm at a >> loss on how to deal with this. Any ideas? >> >> Thanks & Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From slylabs13 at me.com Fri Apr 25 01:22:07 2014 From: slylabs13 at me.com (Robert Sneidar) Date: Thu, 24 Apr 2014 22:22:07 -0700 Subject: Really basic SQLite questions In-Reply-To: References: <91466C3D-49EA-437C-B6B4-45619D7B137E@thehales.id.au> Message-ID: <306494C7-0DBF-40BD-916A-AF5BAFEA7402@me.com> My experience with SQL is that there is a timeout if a connection has been idle for a certain period of time. Perhaps this is not a problem with sqLite, but as a matter of good development habits, get all the info you need from the user BEFORE opening the connection, so that there is no chance of having a user walk away from his desk while your app is wanting something from him with an open connection. Once you open the connection, do what you need to do, then close it. If you have anything like complex transactions where you may have to abort all your inserts and updates mid stream, use transactions. This way you can rollback midstream with no ill effects. If the connection goes stale, you will find that the user will have to sit there for 30 seconds to a minute or more waiting for the app to release so you can deal with the connection timeout. Not pretty. I cannot tell you the hell and havoc I have had working with different database applications where the developers figured, ?What the hell, just leave the connection open,? and then something happens network wise and the application dumps to the desktop. That is crappy programming IMHO. Would you open an FTP session and just leave it open for convenience? How about an HTTPS session? Think about how your bank works. If you are idle for any length of time they kick you. If I am logged into a copier too long for crying out loud That will kick me out! It?s my opinion at least that every network or database connection should have some means of disconnecting when idle. It?s just good practice. Bob S On Apr 24, 2014, at 9:07 PM, Peter Haworth wrote: > Hi James, > I'd leave them open until you quit the app. You might also think about > using the ATTACH command for the second and subsequent connections so > they'll all be open on the same connection. This allows you to, for > example, define JOINs across databases, although you'll need to change the > references to anything in the attached databases. > > Pretty sure you need to load extensions for each connection, so the ATTACH > approach will help there too. > > Pete > lcSQL Software > On Apr 24, 2014 7:49 PM, "James Hale" wrote: > >> 1. Open and close database connections. When? >> Obviously you need to open a connection to access a database, but when do >> you need to close it? >> Does it close without you doing anything? >> I have the need to connect to four db's while running my app. >> Access to a couple of these is sporadic but constant across a user session >> with the app. >> Can I just open a connection to them all on the app's launch and then >> close the connection of quitting? Currently I reassert the connection on >> most accesses. Is this a bad thing to do? >> >> 2. SQLite's new ability to load a runtime extension. What does it attach >> to? >> I have compiled a couple of extensions to SQLite for my app. I use them in >> two distinct db's that I connect to. Do I need to load the extension for >> each db or only once. >> In other words is it loaded for the engine itself or does the load only >> apply to the specific database I am connecting to at the time? >> >> Thanks in advance >> >> 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 slylabs13 at me.com Fri Apr 25 01:27:10 2014 From: slylabs13 at me.com (Robert Sneidar) Date: Thu, 24 Apr 2014 22:27:10 -0700 Subject: MS SQL In-Reply-To: <53572699.1090103@hyperactivesw.com> References: <53572699.1090103@hyperactivesw.com> Message-ID: Oh THAT is what does that! I usually just convert the email to plain text before posting to the list. Maybe a good practice for all? Bob S On Apr 22, 2014, at 7:34 PM, J. Landman Gay wrote: > On 4/22/14, 6:49 PM, Kay C Lan wrote: >> I don't know if it's just your email client but what I'm seeing is an >> asterisk * around the words get, put and return which shouldn't be there. > > That happens to all keywords when a colorized script is copied from the script editor and pasted into a text-only email list. I see it here all the time. > > -- > 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 slylabs13 at me.com Fri Apr 25 01:29:40 2014 From: slylabs13 at me.com (Robert Sneidar) Date: Thu, 24 Apr 2014 22:29:40 -0700 Subject: MS SQL In-Reply-To: References: <53572699.1090103@hyperactivesw.com> Message-ID: Just a heads up, remember that SQL servers have a timeout on connections, so when you open a database, remember to close it after you are done. If it has been idle for any length of time, Livecode still thinks it is open, but the SQL server has probably terminated the connection. This has resolved all my connection hangs I was experiencing in the past. Just a thot. Bob On Apr 23, 2014, at 2:47 PM, Rodney Green wrote: > I turned on tracing in the odbc driver and I can see field names in the > data. So I'm assuming the query is working. But still can't figure out why > LC is hanging. I have database checked in the stand alone settings, not > sure if this matters while in LC. Any ideas how I can track down why LC is > hanging? > > > On Wed, Apr 23, 2014 at 10:13 AM, Peter Haworth wrote: > >> In gmail, you can fix that by using the "Paste and match style" option on >> the edit menu. >> >> Pete >> lcSQL Software >> On Apr 22, 2014 7:34 PM, "J. Landman Gay" >> wrote: >> >>> On 4/22/14, 6:49 PM, Kay C Lan wrote: >>> >>>> I don't know if it's just your email client but what I'm seeing is an >>>> asterisk * around the words get, put and return which shouldn't be >> there. >>>> >>> >>> That happens to all keywords when a colorized script is copied from the >>> script editor and pasted into a text-only email list. I see it here all >> the >>> time. >>> >>> -- >>> 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 hello at simonsmith.co Fri Apr 25 02:03:39 2014 From: hello at simonsmith.co (Simon Smith) Date: Fri, 25 Apr 2014 08:03:39 +0200 Subject: Delivering Files with lcServer ? In-Reply-To: References: Message-ID: Hi Scott I have done something similar in php before, where a page loads, and then the file starts downloading a few seconds later, without leaving the main page. The main page contains a refresh tag that loads the script that starts the download: and then the sendfile.php consists of: Hope this helps. Simon On Fri, Apr 25, 2014 at 7:21 AM, Scott Rossi wrote: > Hi Peter: > > I started setting up a test page to demonstrate, and now I can't get > anything to work, not even my single page test which worked a dozen times > yesterday. [sigh] Not sure what changed. > > At any rate, I've seen PHP examples that involve setting content headers > to facilitate a file transfer, so I figured since lcserver operates > similarly, it should be possible to initiate the download of a zipped file > (or any file). > > Any examples out there that someone can point me to? > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 4/24/14 6:17 PM, "Peter W A Wood" wrote: > > >Hi Scott > > > >What is the URL of the iframe? Does it include characters such as "?" or > >"&" ? > > > >Regards > > > >Peter > > > >On 25 Apr 2014, at 08:29, Scott Rossi wrote: > > > >> Hello List: > >> > >> I'm hoping someone knowledgable about server stuff has a solution to a > >> problem I have delivering a file using lcServer via an iframe. > >> > >> I'm using lcServer with the following code to trigger a file download: > >> > >> put url ("binfile:files/sound.zip") into theFile > >> put header "Content-Disposition: attachment; filename=" & quote & > >> "sound.zip" & quote > >> put new header "Content-Type: application/force-download" > >> put new header "Content-Type: application/zip" > >> put new header "Content-Type: application/octet-stream" > >> put new header "Content-Type: application/download" > >> put header "Content-Description: File Transfer" > >> put header "Content-Length:" && the length of theFile > >> put theFile > >> > >> This appears to work fine from basic web page -- a download is triggered > >> in the browser and the file is written to the drive. > >> > >> When I run the same code on a page within an iframe, I get the raw file > >> code posted to the iframe. :-( > >> > >> All pages reside in the same domain (no cross domain issues) so I'm at a > >> loss on how to deal with this. Any ideas? > >> > >> Thanks & Regards, > >> > >> Scott Rossi > >> Creative Director > >> Tactile Media, UX/UI Design > >> > >> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >>subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > >_______________________________________________ > >use-livecode mailing list > >use-livecode at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- *Simon Smith* *seo, online marketing, web development* w. http://www.simonsmith.co m. +27 83 306 7862 From scott at tactilemedia.com Fri Apr 25 02:38:13 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 24 Apr 2014 23:38:13 -0700 Subject: Delivering Files with lcServer ? In-Reply-To: References: Message-ID: Thanks Simon. This will likely do what I need. But I'd really like to know how to do this with lcserver. That's the point, right? Not to have to rely on PHP? :-) What's the LC equivalent of what readfile() is doing below? Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 4/24/14 11:03 PM, "Simon Smith" wrote: >Hi Scott > >I have done something similar in php before, where a page loads, and then >the file starts downloading a few seconds later, without leaving the main >page. > >The main page contains a refresh tag that loads the script that starts the >download: > > > >and then the sendfile.php consists of: > >header('Content-type: application/pdf'); >header('Content-Disposition: attachment; filename="' . >basename('filename.pdf') . '"'); >header('Content-Transfer-Encoding: binary'); >readfile($filename); >?> > >Hope this helps. >Simon > > >On Fri, Apr 25, 2014 at 7:21 AM, Scott Rossi >wrote: > >> Hi Peter: >> >> I started setting up a test page to demonstrate, and now I can't get >> anything to work, not even my single page test which worked a dozen >>times >> yesterday. [sigh] Not sure what changed. >> >> At any rate, I've seen PHP examples that involve setting content headers >> to facilitate a file transfer, so I figured since lcserver operates >> similarly, it should be possible to initiate the download of a zipped >>file >> (or any file). >> >> Any examples out there that someone can point me to? >> >> Thanks & Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> On 4/24/14 6:17 PM, "Peter W A Wood" wrote: >> >> >Hi Scott >> > >> >What is the URL of the iframe? Does it include characters such as "?" >>or >> >"&" ? >> > >> >Regards >> > >> >Peter >> > >> >On 25 Apr 2014, at 08:29, Scott Rossi wrote: >> > >> >> Hello List: >> >> >> >> I'm hoping someone knowledgable about server stuff has a solution to >>a >> >> problem I have delivering a file using lcServer via an iframe. >> >> >> >> I'm using lcServer with the following code to trigger a file >>download: >> >> >> >> put url ("binfile:files/sound.zip") into theFile >> >> put header "Content-Disposition: attachment; filename=" & quote & >> >> "sound.zip" & quote >> >> put new header "Content-Type: application/force-download" >> >> put new header "Content-Type: application/zip" >> >> put new header "Content-Type: application/octet-stream" >> >> put new header "Content-Type: application/download" >> >> put header "Content-Description: File Transfer" >> >> put header "Content-Length:" && the length of theFile >> >> put theFile >> >> >> >> This appears to work fine from basic web page -- a download is >>triggered >> >> in the browser and the file is written to the drive. >> >> >> >> When I run the same code on a page within an iframe, I get the raw >>file >> >> code posted to the iframe. :-( >> >> >> >> All pages reside in the same domain (no cross domain issues) so I'm >>at a >> >> loss on how to deal with this. Any ideas? >> >> >> >> Thanks & Regards, >> >> >> >> Scott Rossi >> >> Creative Director >> >> Tactile Media, UX/UI Design >> >> >> >> >> >> >> >> >> >> _______________________________________________ >> >> use-livecode mailing list >> >> use-livecode at lists.runrev.com >> >> Please visit this url to subscribe, unsubscribe and manage your >> >>subscription preferences: >> >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > >> > >> >_______________________________________________ >> >use-livecode mailing list >> >use-livecode at lists.runrev.com >> >Please visit this url to subscribe, unsubscribe and manage your >> >subscription preferences: >> >http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > >-- > >*Simon Smith* >*seo, online marketing, web development* > >w. http://www.simonsmith.co >m. +27 83 306 7862 >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From hello at simonsmith.co Fri Apr 25 04:23:14 2014 From: hello at simonsmith.co (Simon Smith) Date: Fri, 25 Apr 2014 10:23:14 +0200 Subject: Delivering Files with lcServer ? In-Reply-To: References: Message-ID: Hi Scott Played around with it in LiveCode and got this works for me: On Fri, Apr 25, 2014 at 8:38 AM, Scott Rossi wrote: > Thanks Simon. This will likely do what I need. > > But I'd really like to know how to do this with lcserver. That's the > point, right? Not to have to rely on PHP? :-) > > What's the LC equivalent of what readfile() is doing below? > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 4/24/14 11:03 PM, "Simon Smith" wrote: > > >Hi Scott > > > >I have done something similar in php before, where a page loads, and then > >the file starts downloading a few seconds later, without leaving the main > >page. > > > >The main page contains a refresh tag that loads the script that starts the > >download: > > > > > > > >and then the sendfile.php consists of: > > > > >header('Content-type: application/pdf'); > >header('Content-Disposition: attachment; filename="' . > >basename('filename.pdf') . '"'); > >header('Content-Transfer-Encoding: binary'); > >readfile($filename); > >?> > > > >Hope this helps. > >Simon > > > > > >On Fri, Apr 25, 2014 at 7:21 AM, Scott Rossi > >wrote: > > > >> Hi Peter: > >> > >> I started setting up a test page to demonstrate, and now I can't get > >> anything to work, not even my single page test which worked a dozen > >>times > >> yesterday. [sigh] Not sure what changed. > >> > >> At any rate, I've seen PHP examples that involve setting content headers > >> to facilitate a file transfer, so I figured since lcserver operates > >> similarly, it should be possible to initiate the download of a zipped > >>file > >> (or any file). > >> > >> Any examples out there that someone can point me to? > >> > >> Thanks & Regards, > >> > >> Scott Rossi > >> Creative Director > >> Tactile Media, UX/UI Design > >> > >> > >> > >> > >> On 4/24/14 6:17 PM, "Peter W A Wood" wrote: > >> > >> >Hi Scott > >> > > >> >What is the URL of the iframe? Does it include characters such as "?" > >>or > >> >"&" ? > >> > > >> >Regards > >> > > >> >Peter > >> > > >> >On 25 Apr 2014, at 08:29, Scott Rossi wrote: > >> > > >> >> Hello List: > >> >> > >> >> I'm hoping someone knowledgable about server stuff has a solution to > >>a > >> >> problem I have delivering a file using lcServer via an iframe. > >> >> > >> >> I'm using lcServer with the following code to trigger a file > >>download: > >> >> > >> >> put url ("binfile:files/sound.zip") into theFile > >> >> put header "Content-Disposition: attachment; filename=" & quote & > >> >> "sound.zip" & quote > >> >> put new header "Content-Type: application/force-download" > >> >> put new header "Content-Type: application/zip" > >> >> put new header "Content-Type: application/octet-stream" > >> >> put new header "Content-Type: application/download" > >> >> put header "Content-Description: File Transfer" > >> >> put header "Content-Length:" && the length of theFile > >> >> put theFile > >> >> > >> >> This appears to work fine from basic web page -- a download is > >>triggered > >> >> in the browser and the file is written to the drive. > >> >> > >> >> When I run the same code on a page within an iframe, I get the raw > >>file > >> >> code posted to the iframe. :-( > >> >> > >> >> All pages reside in the same domain (no cross domain issues) so I'm > >>at a > >> >> loss on how to deal with this. Any ideas? > >> >> > >> >> Thanks & Regards, > >> >> > >> >> Scott Rossi > >> >> Creative Director > >> >> Tactile Media, UX/UI Design > >> >> > >> >> > >> >> > >> >> > >> >> _______________________________________________ > >> >> use-livecode mailing list > >> >> use-livecode at lists.runrev.com > >> >> Please visit this url to subscribe, unsubscribe and manage your > >> >>subscription preferences: > >> >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > >> > > >> >_______________________________________________ > >> >use-livecode mailing list > >> >use-livecode at lists.runrev.com > >> >Please visit this url to subscribe, unsubscribe and manage your > >> >subscription preferences: > >> >http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > > >-- > > > >*Simon Smith* > >*seo, online marketing, web development* > > > >w. http://www.simonsmith.co > >m. +27 83 306 7862 > >_______________________________________________ > >use-livecode mailing list > >use-livecode at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- *Simon Smith* *seo, online marketing, web development* w. http://www.simonsmith.co m. +27 83 306 7862 From bvg at mac.com Fri Apr 25 04:31:15 2014 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 25 Apr 2014 10:31:15 +0200 Subject: Delivering Files with lcServer ? In-Reply-To: References: Message-ID: I think most websites set the target to a new website in the link, to avoid having stuff randomly load within iframes. so i suggest to just make the link have a target of _blank or maybe _top. Then put the .lc code into its own independent file. Also make sure to set the "content-transfer-encoding" to "binary" in addition to the "content-type" to "application/zip" (I don't think your'e allowed to define several "content-types" in one definition, and it might choose one of them at random, or just the last specified one). cheers Bj?rnke -- Anyone thinking about going to Zurich in the summer? Please fill out the form and send me an email: http://doodle.com/yapygihh3itgz2qr On 25 Apr 2014, at 08:38, Scott Rossi wrote: > Thanks Simon. This will likely do what I need. > > But I'd really like to know how to do this with lcserver. That's the > point, right? Not to have to rely on PHP? :-) > > What's the LC equivalent of what readfile() is doing below? > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 4/24/14 11:03 PM, "Simon Smith" wrote: > >> Hi Scott >> >> I have done something similar in php before, where a page loads, and then >> the file starts downloading a few seconds later, without leaving the main >> page. >> >> The main page contains a refresh tag that loads the script that starts the >> download: >> >> >> >> and then the sendfile.php consists of: >> >> > header('Content-type: application/pdf'); >> header('Content-Disposition: attachment; filename="' . >> basename('filename.pdf') . '"'); >> header('Content-Transfer-Encoding: binary'); >> readfile($filename); >> ?> >> >> Hope this helps. >> Simon >> >> >> On Fri, Apr 25, 2014 at 7:21 AM, Scott Rossi >> wrote: >> >>> Hi Peter: >>> >>> I started setting up a test page to demonstrate, and now I can't get >>> anything to work, not even my single page test which worked a dozen >>> times >>> yesterday. [sigh] Not sure what changed. >>> >>> At any rate, I've seen PHP examples that involve setting content headers >>> to facilitate a file transfer, so I figured since lcserver operates >>> similarly, it should be possible to initiate the download of a zipped >>> file >>> (or any file). >>> >>> Any examples out there that someone can point me to? >>> >>> Thanks & Regards, >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, UX/UI Design >>> >>> >>> >>> >>> On 4/24/14 6:17 PM, "Peter W A Wood" wrote: >>> >>>> Hi Scott >>>> >>>> What is the URL of the iframe? Does it include characters such as "?" >>> or >>>> "&" ? >>>> >>>> Regards >>>> >>>> Peter >>>> >>>> On 25 Apr 2014, at 08:29, Scott Rossi wrote: >>>> >>>>> Hello List: >>>>> >>>>> I'm hoping someone knowledgable about server stuff has a solution to >>> a >>>>> problem I have delivering a file using lcServer via an iframe. >>>>> >>>>> I'm using lcServer with the following code to trigger a file >>> download: >>>>> >>>>> put url ("binfile:files/sound.zip") into theFile >>>>> put header "Content-Disposition: attachment; filename=" & quote & >>>>> "sound.zip" & quote >>>>> put new header "Content-Type: application/force-download" >>>>> put new header "Content-Type: application/zip" >>>>> put new header "Content-Type: application/octet-stream" >>>>> put new header "Content-Type: application/download" >>>>> put header "Content-Description: File Transfer" >>>>> put header "Content-Length:" && the length of theFile >>>>> put theFile >>>>> >>>>> This appears to work fine from basic web page -- a download is >>> triggered >>>>> in the browser and the file is written to the drive. >>>>> >>>>> When I run the same code on a page within an iframe, I get the raw >>> file >>>>> code posted to the iframe. :-( >>>>> >>>>> All pages reside in the same domain (no cross domain issues) so I'm >>> at a >>>>> loss on how to deal with this. Any ideas? >>>>> >>>>> Thanks & Regards, >>>>> >>>>> Scott Rossi >>>>> Creative Director >>>>> Tactile Media, UX/UI Design >>>>> >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> >> -- >> >> *Simon Smith* >> *seo, online marketing, web development* >> >> w. http://www.simonsmith.co >> m. +27 83 306 7862 >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From benr_mc at cogapp.com Fri Apr 25 04:34:14 2014 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri, 25 Apr 2014 09:34:14 +0100 Subject: [Enhancement Request] Open and BackUp in LiveCode DP and RC In-Reply-To: <53598D04.4020107@fourthworld.com> References: <53595E41.4060307@cogapp.com> <53598D04.4020107@fourthworld.com> Message-ID: <535A1E06.2060906@cogapp.com> On 24/04/2014 23:15, Richard Gaskin wrote: > Ben Rubinstein wrote: > > > I'd love to know: what do other people do to customise their > > environment? > > Is that all?!? From scott at tactilemedia.com Fri Apr 25 05:00:50 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 25 Apr 2014 02:00:50 -0700 Subject: Delivering Files with lcServer ? In-Reply-To: References: Message-ID: Hi Simon: Well, you helped me figure out a bit more. Your script works, but not in the arrangement I'm using (maybe I need to rethink). I think my problem is I'm trying to trigger the download by reloading the same page. I have the lcserver code near the top of the page (note I simplified your code): 0 then put header "Content-type: application/zip" put header "Content-Disposition: attachment; filename=sound.zip" put header "Content-Transfer-Encoding: binary" put url "binfile:files/sound.zip" into theFile put theFile end if ?> Then there'a simple form on the page:
If I place only (the modified version of) your code on a simple page and load it in a browser, it downloads the ZIP as expected. When I run all of the above on a page and press the submit button, the raw code of the ZIP gets written to browser window (Chrome OS X). So maybe I need to figure out another way of loading a page that contains the download code. I've tried using redirects and get the same problem -- raw code in the browser. I don't get what the difference is between loading a URL via the browser's address field, and "put"-ting a URL via lcserver. Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 4/25/14 1:23 AM, "Simon Smith" wrote: >Hi Scott > >Played around with it in LiveCode and got this works for me: > > >put header "Content-type: application/zip" >put header "Content-Disposition: attachment; filename=myFile.zip" >put header "Content-Transfer-Encoding: binary" > >put "myPDF.zip" into fileToRead >open file fileToRead for binary read > read from file fileToRead until EOF > close file fileToRead >put binary it > >lc ?> > > > >On Fri, Apr 25, 2014 at 8:38 AM, Scott Rossi >wrote: > >> Thanks Simon. This will likely do what I need. >> >> But I'd really like to know how to do this with lcserver. That's the >> point, right? Not to have to rely on PHP? :-) >> >> What's the LC equivalent of what readfile() is doing below? >> >> Thanks & Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> On 4/24/14 11:03 PM, "Simon Smith" wrote: >> >> >Hi Scott >> > >> >I have done something similar in php before, where a page loads, and >>then >> >the file starts downloading a few seconds later, without leaving the >>main >> >page. >> > >> >The main page contains a refresh tag that loads the script that starts >>the >> >download: >> > >> > >> > >> >and then the sendfile.php consists of: >> > >> >> >header('Content-type: application/pdf'); >> >header('Content-Disposition: attachment; filename="' . >> >basename('filename.pdf') . '"'); >> >header('Content-Transfer-Encoding: binary'); >> >readfile($filename); >> >?> >> > >> >Hope this helps. >> >Simon >> > >> > >> >On Fri, Apr 25, 2014 at 7:21 AM, Scott Rossi >> >wrote: >> > >> >> Hi Peter: >> >> >> >> I started setting up a test page to demonstrate, and now I can't get >> >> anything to work, not even my single page test which worked a dozen >> >>times >> >> yesterday. [sigh] Not sure what changed. >> >> >> >> At any rate, I've seen PHP examples that involve setting content >>headers >> >> to facilitate a file transfer, so I figured since lcserver operates >> >> similarly, it should be possible to initiate the download of a zipped >> >>file >> >> (or any file). >> >> >> >> Any examples out there that someone can point me to? >> >> >> >> Thanks & Regards, >> >> >> >> Scott Rossi >> >> Creative Director >> >> Tactile Media, UX/UI Design >> >> >> >> >> >> >> >> >> >> On 4/24/14 6:17 PM, "Peter W A Wood" wrote: >> >> >> >> >Hi Scott >> >> > >> >> >What is the URL of the iframe? Does it include characters such as >>"?" >> >>or >> >> >"&" ? >> >> > >> >> >Regards >> >> > >> >> >Peter >> >> > >> >> >On 25 Apr 2014, at 08:29, Scott Rossi wrote: >> >> > >> >> >> Hello List: >> >> >> >> >> >> I'm hoping someone knowledgable about server stuff has a solution >>to >> >>a >> >> >> problem I have delivering a file using lcServer via an iframe. >> >> >> >> >> >> I'm using lcServer with the following code to trigger a file >> >>download: >> >> >> >> >> >> put url ("binfile:files/sound.zip") into theFile >> >> >> put header "Content-Disposition: attachment; filename=" & quote & >> >> >> "sound.zip" & quote >> >> >> put new header "Content-Type: application/force-download" >> >> >> put new header "Content-Type: application/zip" >> >> >> put new header "Content-Type: application/octet-stream" >> >> >> put new header "Content-Type: application/download" >> >> >> put header "Content-Description: File Transfer" >> >> >> put header "Content-Length:" && the length of theFile >> >> >> put theFile >> >> >> >> >> >> This appears to work fine from basic web page -- a download is >> >>triggered >> >> >> in the browser and the file is written to the drive. >> >> >> >> >> >> When I run the same code on a page within an iframe, I get the raw >> >>file >> >> >> code posted to the iframe. :-( >> >> >> >> >> >> All pages reside in the same domain (no cross domain issues) so >>I'm >> >>at a >> >> >> loss on how to deal with this. Any ideas? >> >> >> >> >> >> Thanks & Regards, >> >> >> >> >> >> Scott Rossi >> >> >> Creative Director >> >> >> Tactile Media, UX/UI Design >> From peterwawood at gmail.com Fri Apr 25 05:32:07 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Fri, 25 Apr 2014 17:32:07 +0800 Subject: Delivering Files with lcServer ? In-Reply-To: References: Message-ID: <3FACC57D-8BEB-41A4-A0D5-52A105F0E3B3@gmail.com> Hi Scott With a little help from Google, I have managed to put together this example of serving a file from LiveCode Server: This is the html file from which you can request the download:
click here and here is the LiveCode server page (webtest.lc) The biggest problem that I had was getting LiveCode to download a working zip file until I added the "binary" to put. (I read to do that in the release notes for LiveCode Server 4.6.3, thanks to Google). Hope this helps. Regards Peter On 25 Apr 2014, at 14:38, Scott Rossi wrote: > Thanks Simon. This will likely do what I need. > > But I'd really like to know how to do this with lcserver. That's the > point, right? Not to have to rely on PHP? :-) > > What's the LC equivalent of what readfile() is doing below? > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 4/24/14 11:03 PM, "Simon Smith" wrote: > >> Hi Scott >> >> I have done something similar in php before, where a page loads, and then >> the file starts downloading a few seconds later, without leaving the main >> page. >> >> The main page contains a refresh tag that loads the script that starts the >> download: >> >> >> >> and then the sendfile.php consists of: >> >> > header('Content-type: application/pdf'); >> header('Content-Disposition: attachment; filename="' . >> basename('filename.pdf') . '"'); >> header('Content-Transfer-Encoding: binary'); >> readfile($filename); >> ?> >> >> Hope this helps. >> Simon >> >> >> On Fri, Apr 25, 2014 at 7:21 AM, Scott Rossi >> wrote: >> >>> Hi Peter: >>> >>> I started setting up a test page to demonstrate, and now I can't get >>> anything to work, not even my single page test which worked a dozen >>> times >>> yesterday. [sigh] Not sure what changed. >>> >>> At any rate, I've seen PHP examples that involve setting content headers >>> to facilitate a file transfer, so I figured since lcserver operates >>> similarly, it should be possible to initiate the download of a zipped >>> file >>> (or any file). >>> >>> Any examples out there that someone can point me to? >>> >>> Thanks & Regards, >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, UX/UI Design >>> >>> >>> >>> >>> On 4/24/14 6:17 PM, "Peter W A Wood" wrote: >>> >>>> Hi Scott >>>> >>>> What is the URL of the iframe? Does it include characters such as "?" >>> or >>>> "&" ? >>>> >>>> Regards >>>> >>>> Peter >>>> >>>> On 25 Apr 2014, at 08:29, Scott Rossi wrote: >>>> >>>>> Hello List: >>>>> >>>>> I'm hoping someone knowledgable about server stuff has a solution to >>> a >>>>> problem I have delivering a file using lcServer via an iframe. >>>>> >>>>> I'm using lcServer with the following code to trigger a file >>> download: >>>>> >>>>> put url ("binfile:files/sound.zip") into theFile >>>>> put header "Content-Disposition: attachment; filename=" & quote & >>>>> "sound.zip" & quote >>>>> put new header "Content-Type: application/force-download" >>>>> put new header "Content-Type: application/zip" >>>>> put new header "Content-Type: application/octet-stream" >>>>> put new header "Content-Type: application/download" >>>>> put header "Content-Description: File Transfer" >>>>> put header "Content-Length:" && the length of theFile >>>>> put theFile >>>>> >>>>> This appears to work fine from basic web page -- a download is >>> triggered >>>>> in the browser and the file is written to the drive. >>>>> >>>>> When I run the same code on a page within an iframe, I get the raw >>> file >>>>> code posted to the iframe. :-( >>>>> >>>>> All pages reside in the same domain (no cross domain issues) so I'm >>> at a >>>>> loss on how to deal with this. Any ideas? >>>>> >>>>> Thanks & Regards, >>>>> >>>>> Scott Rossi >>>>> Creative Director >>>>> Tactile Media, UX/UI Design >>>>> >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> >> -- >> >> *Simon Smith* >> *seo, online marketing, web development* >> >> w. http://www.simonsmith.co >> m. +27 83 306 7862 >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Apr 25 05:51:33 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Fri, 25 Apr 2014 17:51:33 +0800 Subject: Delivering Files with lcServer ? In-Reply-To: References: Message-ID: <14ABD736-8059-4986-98F8-8A71784BF077@gmail.com> Hi Scott I suspect the problem with this approach is that the browser will end up sending two sets of headers. The first will be generated automatically by the Browser, the second set from you LiveCode. You could get around this by adopting a "no html" approach like this: 0 then put header "Content-type: application/zip" put header "Content-Disposition: attachment; filename=sound.zip" put header "Content-Transfer-Encoding: binary" put url "binfile:files/sound.zip" into theFile put theFile else put header "Content-Type: text/html" put "" put "" put "Your Page" put "" put "" # put (all your html) put "" put "" ?> Regards Peter On 25 Apr 2014, at 17:00, Scott Rossi wrote: > Hi Simon: > > Well, you helped me figure out a bit more. Your script works, but not in > the arrangement I'm using (maybe I need to rethink). > > I think my problem is I'm trying to trigger the download by reloading the > same page. I have the lcserver code near the top of the page (note I > simplified your code): > > if number of lines in the keys of $_POST > 0 then > put header "Content-type: application/zip" > put header "Content-Disposition: attachment; filename=sound.zip" > put header "Content-Transfer-Encoding: binary" > put url "binfile:files/sound.zip" into theFile > put theFile > end if > ?> > > > Then there'a simple form on the page: > > >
> > >
> > > > If I place only (the modified version of) your code on a simple page and > load it in a browser, it downloads the ZIP as expected. When I run all of > the above on a page and press the submit button, the raw code of the ZIP > gets written to browser window (Chrome OS X). > > > So maybe I need to figure out another way of loading a page that contains > the download code. I've tried using redirects and get the same problem -- > raw code in the browser. I don't get what the difference is between > loading a URL via the browser's address field, and "put"-ting a URL via > lcserver. > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 4/25/14 1:23 AM, "Simon Smith" wrote: > >> Hi Scott >> >> Played around with it in LiveCode and got this works for me: >> >> > >> put header "Content-type: application/zip" >> put header "Content-Disposition: attachment; filename=myFile.zip" >> put header "Content-Transfer-Encoding: binary" >> >> put "myPDF.zip" into fileToRead >> open file fileToRead for binary read >> read from file fileToRead until EOF >> close file fileToRead >> put binary it >> >> lc ?> >> >> >> >> On Fri, Apr 25, 2014 at 8:38 AM, Scott Rossi >> wrote: >> >>> Thanks Simon. This will likely do what I need. >>> >>> But I'd really like to know how to do this with lcserver. That's the >>> point, right? Not to have to rely on PHP? :-) >>> >>> What's the LC equivalent of what readfile() is doing below? >>> >>> Thanks & Regards, >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, UX/UI Design >>> >>> >>> >>> >>> On 4/24/14 11:03 PM, "Simon Smith" wrote: >>> >>>> Hi Scott >>>> >>>> I have done something similar in php before, where a page loads, and >>> then >>>> the file starts downloading a few seconds later, without leaving the >>> main >>>> page. >>>> >>>> The main page contains a refresh tag that loads the script that starts >>> the >>>> download: >>>> >>>> >>>> >>>> and then the sendfile.php consists of: >>>> >>>> >>> header('Content-type: application/pdf'); >>>> header('Content-Disposition: attachment; filename="' . >>>> basename('filename.pdf') . '"'); >>>> header('Content-Transfer-Encoding: binary'); >>>> readfile($filename); >>>> ?> >>>> >>>> Hope this helps. >>>> Simon >>>> >>>> >>>> On Fri, Apr 25, 2014 at 7:21 AM, Scott Rossi >>>> wrote: >>>> >>>>> Hi Peter: >>>>> >>>>> I started setting up a test page to demonstrate, and now I can't get >>>>> anything to work, not even my single page test which worked a dozen >>>>> times >>>>> yesterday. [sigh] Not sure what changed. >>>>> >>>>> At any rate, I've seen PHP examples that involve setting content >>> headers >>>>> to facilitate a file transfer, so I figured since lcserver operates >>>>> similarly, it should be possible to initiate the download of a zipped >>>>> file >>>>> (or any file). >>>>> >>>>> Any examples out there that someone can point me to? >>>>> >>>>> Thanks & Regards, >>>>> >>>>> Scott Rossi >>>>> Creative Director >>>>> Tactile Media, UX/UI Design >>>>> >>>>> >>>>> >>>>> >>>>> On 4/24/14 6:17 PM, "Peter W A Wood" wrote: >>>>> >>>>>> Hi Scott >>>>>> >>>>>> What is the URL of the iframe? Does it include characters such as >>> "?" >>>>> or >>>>>> "&" ? >>>>>> >>>>>> Regards >>>>>> >>>>>> Peter >>>>>> >>>>>> On 25 Apr 2014, at 08:29, Scott Rossi wrote: >>>>>> >>>>>>> Hello List: >>>>>>> >>>>>>> I'm hoping someone knowledgable about server stuff has a solution >>> to >>>>> a >>>>>>> problem I have delivering a file using lcServer via an iframe. >>>>>>> >>>>>>> I'm using lcServer with the following code to trigger a file >>>>> download: >>>>>>> >>>>>>> put url ("binfile:files/sound.zip") into theFile >>>>>>> put header "Content-Disposition: attachment; filename=" & quote & >>>>>>> "sound.zip" & quote >>>>>>> put new header "Content-Type: application/force-download" >>>>>>> put new header "Content-Type: application/zip" >>>>>>> put new header "Content-Type: application/octet-stream" >>>>>>> put new header "Content-Type: application/download" >>>>>>> put header "Content-Description: File Transfer" >>>>>>> put header "Content-Length:" && the length of theFile >>>>>>> put theFile >>>>>>> >>>>>>> This appears to work fine from basic web page -- a download is >>>>> triggered >>>>>>> in the browser and the file is written to the drive. >>>>>>> >>>>>>> When I run the same code on a page within an iframe, I get the raw >>>>> file >>>>>>> code posted to the iframe. :-( >>>>>>> >>>>>>> All pages reside in the same domain (no cross domain issues) so >>> I'm >>>>> at a >>>>>>> loss on how to deal with this. Any ideas? >>>>>>> >>>>>>> Thanks & Regards, >>>>>>> >>>>>>> Scott Rossi >>>>>>> Creative Director >>>>>>> Tactile Media, UX/UI Design >>> > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mblivecode at harbourhosting.co.uk Fri Apr 25 06:15:05 2014 From: mblivecode at harbourhosting.co.uk (Martin Baxter) Date: Fri, 25 Apr 2014 11:15:05 +0100 Subject: Delivering Files with lcServer ? In-Reply-To: <3FACC57D-8BEB-41A4-A0D5-52A105F0E3B3@gmail.com> References: <3FACC57D-8BEB-41A4-A0D5-52A105F0E3B3@gmail.com> Message-ID: <535A35A9.3060502@harbourhosting.co.uk> On 25/04/14 10:32, Peter W A Wood wrote: > Hi Scott > > With a little help from Google, I have managed to put together this > example of serving a file from LiveCode Server: > > This is the html file from which you can request the download: > > click here > > and here is the LiveCode server page (webtest.lc) > > put "test.zip" into tName > put url ("binfile:" & tName) into theFile > put header "Content-Description: File Transfer" > put header "Expires: 0" > put header "Cache-Control: must-revalidate" > put header "Pragma: public" > put header "Content-Type: application/octet-stream" > put header "Content-Disposition: attachment; filename=" & tName > put header "Content-Transfer-Encoding: binary" > put header "Content-Length:" && the length of theFile > put binary theFile > ?> > > The biggest problem that I had was getting LiveCode to download a working zip file until I added the "binary" to put. (I read to do that in the release notes for LiveCode Server 4.6.3, thanks to Google). > > Hope this helps. > > Regards > > Peter Yes, that looks right, I think that: header("Content-Description: file Transfer"); Is the interesting part. IIRC that should prompt the browser to recognise that this is a file download. Then you just have an href= to the script that handles the download, in the usual way, and when the link is clicked, the browser should recognise the intent by inspection of the headers, and by default should not attempt to change the page location. Your download scipt might want to explicitly change the location in the case of an error or something, however. Martin From david.bovill at gmail.com Fri Apr 25 06:23:37 2014 From: david.bovill at gmail.com (David Bovill) Date: Fri, 25 Apr 2014 12:23:37 +0200 Subject: HTPPS problem with a web service In-Reply-To: <53598E03.2080204@hyperactivesw.com> References: <16B7D853-EB0C-4538-81AF-37538987094D@westrac.com.au> <53598E03.2080204@hyperactivesw.com> Message-ID: Yes 6.6.2 rc1 works. 6.7 dp2 does not, and 7.0.0 dp2 does not. On 25 April 2014 00:19, J. Landman Gay wrote: > On 4/24/14, 4:58 PM, Nakia Brewer wrote: > >> Are you going through a proxy? >> >> I can't get HTTPS to work through a proxy that is using a PAC file. >> > > Have you tried with today's 6.1.2 release? I think the libURL library has > been tweaked. I'd be curious to know -- I don't have a proxy to test with. > > -- > 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 Nakia.Brewer at westrac.com.au Fri Apr 25 06:27:30 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Fri, 25 Apr 2014 10:27:30 +0000 Subject: HTPPS problem with a web service In-Reply-To: References: <16B7D853-EB0C-4538-81AF-37538987094D@westrac.com.au> <53598E03.2080204@hyperactivesw.com>, Message-ID: Is this with a proxy with a PAC file ? I can't get the GM release of 6.6.1 to work Sent from my iPhone > On 25 Apr 2014, at 8:23 pm, "David Bovill" wrote: > > Yes 6.6.2 rc1 works. > > 6.7 dp2 does not, and 7.0.0 dp2 does not. > > >> On 25 April 2014 00:19, J. Landman Gay wrote: >> >>> On 4/24/14, 4:58 PM, Nakia Brewer wrote: >>> >>> Are you going through a proxy? >>> >>> I can't get HTTPS to work through a proxy that is using a PAC file. >> >> Have you tried with today's 6.1.2 release? I think the libURL library has >> been tweaked. I'd be curious to know -- I don't have a proxy to test with. >> >> -- >> 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 > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From scott at tactilemedia.com Fri Apr 25 06:39:38 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 25 Apr 2014 03:39:38 -0700 Subject: Delivering Files with lcServer ? In-Reply-To: <3FACC57D-8BEB-41A4-A0D5-52A105F0E3B3@gmail.com> References: <3FACC57D-8BEB-41A4-A0D5-52A105F0E3B3@gmail.com> Message-ID: Thanks Peter: Same issue here: having the lcserver download code as part of the same page that contains the form continues to write the raw ZIP file code to the browser. Maybe the sequencing of code blocks is the problem, I don't know. That said? trying your previous suggestion worked for me. Here's what I did: 1) All HTML code in its own file, called "page.txt" :
2) All lcserver code on an index page, called index.lc" : 0 then put header "Content-type: application/zip" put header "Content-Disposition: attachment; filename=file.zip" put header "Content-Transfer-Encoding: binary" put url "binfile:files/file.zip" into theFile put theFile else put header "Content-Type: text/html" put url ("file:page.txt") end if ?> Now I can press the GET FILE button repeatedly and the download commences. I imagine there must be some way to combine all this stuff onto one page and force it to work, but for now, after many hours and 3 people trying to crack this, having a working option is joy. Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 4/25/14 2:32 AM, "Peter W A Wood" wrote: >Hi Scott > >With a little help from Google, I have managed to put together this >example of serving a file from LiveCode Server: > >This is the html file from which you can request the download: > > >click here > > >and here is the LiveCode server page (webtest.lc) > >put "test.zip" into tName >put url ("binfile:" & tName) into theFile >put header "Content-Description: File Transfer" >put header "Expires: 0" >put header "Cache-Control: must-revalidate" >put header "Pragma: public" >put header "Content-Type: application/octet-stream" >put header "Content-Disposition: attachment; filename=" & tName >put header "Content-Transfer-Encoding: binary" >put header "Content-Length:" && the length of theFile >put binary theFile >?> > >The biggest problem that I had was getting LiveCode to download a working >zip file until I added the "binary" to put. (I read to do that in the >release notes for LiveCode Server 4.6.3, thanks to Google). > >Hope this helps. > >Regards > >Peter > > >On 25 Apr 2014, at 14:38, Scott Rossi wrote: > >> Thanks Simon. This will likely do what I need. >> >> But I'd really like to know how to do this with lcserver. That's the >> point, right? Not to have to rely on PHP? :-) >> >> What's the LC equivalent of what readfile() is doing below? >> >> Thanks & Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> On 4/24/14 11:03 PM, "Simon Smith" wrote: >> >>> Hi Scott >>> >>> I have done something similar in php before, where a page loads, and >>>then >>> the file starts downloading a few seconds later, without leaving the >>>main >>> page. >>> >>> The main page contains a refresh tag that loads the script that starts >>>the >>> download: >>> >>> >>> >>> and then the sendfile.php consists of: >>> >>> >> header('Content-type: application/pdf'); >>> header('Content-Disposition: attachment; filename="' . >>> basename('filename.pdf') . '"'); >>> header('Content-Transfer-Encoding: binary'); >>> readfile($filename); >>> ?> >>> >>> Hope this helps. >>> Simon >>> >>> >>> On Fri, Apr 25, 2014 at 7:21 AM, Scott Rossi >>> wrote: >>> >>>> Hi Peter: >>>> >>>> I started setting up a test page to demonstrate, and now I can't get >>>> anything to work, not even my single page test which worked a dozen >>>> times >>>> yesterday. [sigh] Not sure what changed. >>>> >>>> At any rate, I've seen PHP examples that involve setting content >>>>headers >>>> to facilitate a file transfer, so I figured since lcserver operates >>>> similarly, it should be possible to initiate the download of a zipped >>>> file >>>> (or any file). >>>> >>>> Any examples out there that someone can point me to? >>>> >>>> Thanks & Regards, >>>> >>>> Scott Rossi >>>> Creative Director >>>> Tactile Media, UX/UI Design >>>> >>>> >>>> >>>> >>>> On 4/24/14 6:17 PM, "Peter W A Wood" wrote: >>>> >>>>> Hi Scott >>>>> >>>>> What is the URL of the iframe? Does it include characters such as "?" >>>> or >>>>> "&" ? >>>>> >>>>> Regards >>>>> >>>>> Peter >>>>> >>>>> On 25 Apr 2014, at 08:29, Scott Rossi wrote: >>>>> >>>>>> Hello List: >>>>>> >>>>>> I'm hoping someone knowledgable about server stuff has a solution to >>>> a >>>>>> problem I have delivering a file using lcServer via an iframe. >>>>>> >>>>>> I'm using lcServer with the following code to trigger a file >>>> download: >>>>>> >>>>>> put url ("binfile:files/sound.zip") into theFile >>>>>> put header "Content-Disposition: attachment; filename=" & quote & >>>>>> "sound.zip" & quote >>>>>> put new header "Content-Type: application/force-download" >>>>>> put new header "Content-Type: application/zip" >>>>>> put new header "Content-Type: application/octet-stream" >>>>>> put new header "Content-Type: application/download" >>>>>> put header "Content-Description: File Transfer" >>>>>> put header "Content-Length:" && the length of theFile >>>>>> put theFile >>>>>> >>>>>> This appears to work fine from basic web page -- a download is >>>> triggered >>>>>> in the browser and the file is written to the drive. >>>>>> >>>>>> When I run the same code on a page within an iframe, I get the raw >>>> file >>>>>> code posted to the iframe. :-( >>>>>> >>>>>> All pages reside in the same domain (no cross domain issues) so I'm >>>> at a >>>>>> loss on how to deal with this. Any ideas? >>>>>> >>>>>> Thanks & Regards, >>>>>> >>>>>> Scott Rossi >>>>>> Creative Director >>>>>> Tactile Media, UX/UI Design >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> >>> -- >>> >>> *Simon Smith* >>> *seo, online marketing, web development* >>> >>> w. http://www.simonsmith.co >>> m. +27 83 306 7862 >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From david.bovill at gmail.com Fri Apr 25 09:02:34 2014 From: david.bovill at gmail.com (David Bovill) Date: Fri, 25 Apr 2014 15:02:34 +0200 Subject: HTPPS problem with a web service In-Reply-To: References: <16B7D853-EB0C-4538-81AF-37538987094D@westrac.com.au> <53598E03.2080204@hyperactivesw.com> Message-ID: Yes 6.6.1 does not work. The only version that works AFAIK (at least on OSX 10.9.2) is 6.6.2. On 25 April 2014 12:27, Nakia Brewer wrote: > Is this with a proxy with a PAC file ? > > I can't get the GM release of 6.6.1 to work > > Sent from my iPhone > > > On 25 Apr 2014, at 8:23 pm, "David Bovill" > wrote: > > > > Yes 6.6.2 rc1 works. > > > > 6.7 dp2 does not, and 7.0.0 dp2 does not. > > > > > >> On 25 April 2014 00:19, J. Landman Gay > wrote: > >> > >>> On 4/24/14, 4:58 PM, Nakia Brewer wrote: > >>> > >>> Are you going through a proxy? > >>> > >>> I can't get HTTPS to work through a proxy that is using a PAC file. > >> > >> Have you tried with today's 6.1.2 release? I think the libURL library > has > >> been tweaked. I'd be curious to know -- I don't have a proxy to test > with. > >> > >> -- > >> 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 > > > > COPYRIGHT / DISCLAIMER: This message and/or including attached files may > contain confidential proprietary or privileged information. If you are not > the intended recipient, you are strictly prohibited from using, > reproducing, disclosing or distributing the information contained in this > email without authorisation from WesTrac. If you have received this message > in error please contact WesTrac on +61 8 9377 9444. We do not accept > liability in connection with computer virus, data corruption, delay, > interruption, unauthorised access or unauthorised amendment. We reserve the > right to monitor all e-mail communications. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 25 09:29:54 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 25 Apr 2014 15:29:54 +0200 Subject: RTL-field now donationware Message-ID: <535A6352.8030706@economy-x-talk.com> Hi, Over the past 20 years, I made several right-to-left language solutions. With LiveCode 7 around the corner, it seems that these solution are no longer necessary. Therefore, I'm releasing the tool as donationware. More info available at http://qery.us/4b4 Kind regards, Mark -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ From peterwawood at gmail.com Fri Apr 25 10:10:53 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Fri, 25 Apr 2014 22:10:53 +0800 Subject: Delivering Files with lcServer ? In-Reply-To: References: <3FACC57D-8BEB-41A4-A0D5-52A105F0E3B3@gmail.com> Message-ID: <67B1EF21-4DE2-4B9E-999B-CDEC010BDEFA@gmail.com> Hi Scott Personally I would keep the two files rather than trying to get this working with a single file. It has the benefit of simplicity. Regards Peter On 25 Apr 2014, at 18:39, Scott Rossi wrote: > Thanks Peter: > > Same issue here: having the lcserver download code as part of the same > page that contains the form continues to write the raw ZIP file code to > the browser. Maybe the sequencing of code blocks is the problem, I don't > know. > > That said? trying your previous suggestion worked for me. Here's what I > did: > > 1) All HTML code in its own file, called "page.txt" : > > > >
> > >
> > > > > 2) All lcserver code on an index page, called index.lc" : > > if number of lines in the keys of $_POST > 0 then > put header "Content-type: application/zip" > put header "Content-Disposition: attachment; filename=file.zip" > put header "Content-Transfer-Encoding: binary" > put url "binfile:files/file.zip" into theFile > put theFile > else > put header "Content-Type: text/html" > put url ("file:page.txt") > end if > ?> > > > Now I can press the GET FILE button repeatedly and the download commences. > > I imagine there must be some way to combine all this stuff onto one page > and force it to work, but for now, after many hours and 3 people trying to > crack this, having a working option is joy. > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 4/25/14 2:32 AM, "Peter W A Wood" wrote: > >> Hi Scott >> >> With a little help from Google, I have managed to put together this >> example of serving a file from LiveCode Server: >> >> This is the html file from which you can request the download: >> >> >> click here >> >> >> and here is the LiveCode server page (webtest.lc) >> >> > put "test.zip" into tName >> put url ("binfile:" & tName) into theFile >> put header "Content-Description: File Transfer" >> put header "Expires: 0" >> put header "Cache-Control: must-revalidate" >> put header "Pragma: public" >> put header "Content-Type: application/octet-stream" >> put header "Content-Disposition: attachment; filename=" & tName >> put header "Content-Transfer-Encoding: binary" >> put header "Content-Length:" && the length of theFile >> put binary theFile >> ?> >> >> The biggest problem that I had was getting LiveCode to download a working >> zip file until I added the "binary" to put. (I read to do that in the >> release notes for LiveCode Server 4.6.3, thanks to Google). >> >> Hope this helps. >> >> Regards >> >> Peter >> >> >> On 25 Apr 2014, at 14:38, Scott Rossi wrote: >> >>> Thanks Simon. This will likely do what I need. >>> >>> But I'd really like to know how to do this with lcserver. That's the >>> point, right? Not to have to rely on PHP? :-) >>> >>> What's the LC equivalent of what readfile() is doing below? >>> >>> Thanks & Regards, >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, UX/UI Design >>> >>> >>> >>> >>> On 4/24/14 11:03 PM, "Simon Smith" wrote: >>> >>>> Hi Scott >>>> >>>> I have done something similar in php before, where a page loads, and >>>> then >>>> the file starts downloading a few seconds later, without leaving the >>>> main >>>> page. >>>> >>>> The main page contains a refresh tag that loads the script that starts >>>> the >>>> download: >>>> >>>> >>>> >>>> and then the sendfile.php consists of: >>>> >>>> >>> header('Content-type: application/pdf'); >>>> header('Content-Disposition: attachment; filename="' . >>>> basename('filename.pdf') . '"'); >>>> header('Content-Transfer-Encoding: binary'); >>>> readfile($filename); >>>> ?> >>>> >>>> Hope this helps. >>>> Simon >>>> >>>> >>>> On Fri, Apr 25, 2014 at 7:21 AM, Scott Rossi >>>> wrote: >>>> >>>>> Hi Peter: >>>>> >>>>> I started setting up a test page to demonstrate, and now I can't get >>>>> anything to work, not even my single page test which worked a dozen >>>>> times >>>>> yesterday. [sigh] Not sure what changed. >>>>> >>>>> At any rate, I've seen PHP examples that involve setting content >>>>> headers >>>>> to facilitate a file transfer, so I figured since lcserver operates >>>>> similarly, it should be possible to initiate the download of a zipped >>>>> file >>>>> (or any file). >>>>> >>>>> Any examples out there that someone can point me to? >>>>> >>>>> Thanks & Regards, >>>>> >>>>> Scott Rossi >>>>> Creative Director >>>>> Tactile Media, UX/UI Design >>>>> >>>>> >>>>> >>>>> >>>>> On 4/24/14 6:17 PM, "Peter W A Wood" wrote: >>>>> >>>>>> Hi Scott >>>>>> >>>>>> What is the URL of the iframe? Does it include characters such as "?" >>>>> or >>>>>> "&" ? >>>>>> >>>>>> Regards >>>>>> >>>>>> Peter >>>>>> >>>>>> On 25 Apr 2014, at 08:29, Scott Rossi wrote: >>>>>> >>>>>>> Hello List: >>>>>>> >>>>>>> I'm hoping someone knowledgable about server stuff has a solution to >>>>> a >>>>>>> problem I have delivering a file using lcServer via an iframe. >>>>>>> >>>>>>> I'm using lcServer with the following code to trigger a file >>>>> download: >>>>>>> >>>>>>> put url ("binfile:files/sound.zip") into theFile >>>>>>> put header "Content-Disposition: attachment; filename=" & quote & >>>>>>> "sound.zip" & quote >>>>>>> put new header "Content-Type: application/force-download" >>>>>>> put new header "Content-Type: application/zip" >>>>>>> put new header "Content-Type: application/octet-stream" >>>>>>> put new header "Content-Type: application/download" >>>>>>> put header "Content-Description: File Transfer" >>>>>>> put header "Content-Length:" && the length of theFile >>>>>>> put theFile >>>>>>> >>>>>>> This appears to work fine from basic web page -- a download is >>>>> triggered >>>>>>> in the browser and the file is written to the drive. >>>>>>> >>>>>>> When I run the same code on a page within an iframe, I get the raw >>>>> file >>>>>>> code posted to the iframe. :-( >>>>>>> >>>>>>> All pages reside in the same domain (no cross domain issues) so I'm >>>>> at a >>>>>>> loss on how to deal with this. Any ideas? >>>>>>> >>>>>>> Thanks & Regards, >>>>>>> >>>>>>> Scott Rossi >>>>>>> Creative Director >>>>>>> Tactile Media, UX/UI Design >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>>> subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> >>>> >>>> >>>> -- >>>> >>>> *Simon Smith* >>>> *seo, online marketing, web development* >>>> >>>> w. http://www.simonsmith.co >>>> m. +27 83 306 7862 >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ben at runrev.com Fri Apr 25 11:06:08 2014 From: ben at runrev.com (Benjamin Beaumont) Date: Fri, 25 Apr 2014 16:06:08 +0100 Subject: RELEASE LiveCode 6.6.2 RC2 Message-ID: Dear List Members, Due to a build error, 6.6.2 RC1 wasn't able to build for the simulators. We have resolved the issue with a new build and uploaded it as LiveCode 6.6.2 RC2. Notable mention and thanks to Stephen MacLean for notifying us of the issue so quickly. *Getting this release* To upgrade to this release please select "check for updates" from the help menu in LiveCode or download the installers directly at: http://downloads.livecode.com/livecode/ *Reporting Bugs* If you encounter an issue with this release please submit a bug report to our quality centre: http://quality.runrev.com/enter_bug.cgi Warm regards, The LiveCode Team -- _____________________________________________ Benjamin Beaumont . RunRev Ltd LiveCode Product Manager mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW email : ben at runrev.com company : +44(0) 845 219 89 23 fax : +44(0) 845 458 8487 web : www.runrev.com LiveCode - Programming made simple From MikeKerner at roadrunner.com Fri Apr 25 12:04:22 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 25 Apr 2014 12:04:22 -0400 Subject: Really basic SQLite questions In-Reply-To: <306494C7-0DBF-40BD-916A-AF5BAFEA7402@me.com> References: <91466C3D-49EA-437C-B6B4-45619D7B137E@thehales.id.au> <306494C7-0DBF-40BD-916A-AF5BAFEA7402@me.com> Message-ID: Bob, I agree that in general, when dealing with a server, you are exactly right on what you should be doing. Since SQLite is a local file-store DB, it's a little different. it isn't designed for transaction loads, multi-users, etc. it doesn't even support all the datatypes - for instance, yes, you can define a boolean, but it isn't a boolean. database servers require an entirely different class of developer, imho, otherwise all sorts of evil things will happen. On Fri, Apr 25, 2014 at 1:22 AM, Robert Sneidar wrote: > My experience with SQL is that there is a timeout if a connection has been > idle for a certain period of time. Perhaps this is not a problem with > sqLite, but as a matter of good development habits, get all the info you > need from the user BEFORE opening the connection, so that there is no > chance of having a user walk away from his desk while your app is wanting > something from him with an open connection. Once you open the connection, > do what you need to do, then close it. > > If you have anything like complex transactions where you may have to abort > all your inserts and updates mid stream, use transactions. This way you can > rollback midstream with no ill effects. If the connection goes stale, you > will find that the user will have to sit there for 30 seconds to a minute > or more waiting for the app to release so you can deal with the connection > timeout. Not pretty. > > I cannot tell you the hell and havoc I have had working with different > database applications where the developers figured, ?What the hell, just > leave the connection open,? and then something happens network wise and the > application dumps to the desktop. That is crappy programming IMHO. > > Would you open an FTP session and just leave it open for convenience? How > about an HTTPS session? Think about how your bank works. If you are idle > for any length of time they kick you. If I am logged into a copier too long > for crying out loud That will kick me out! It?s my opinion at least that > every network or database connection should have some means of > disconnecting when idle. It?s just good practice. > > Bob S > > > On Apr 24, 2014, at 9:07 PM, Peter Haworth wrote: > > > Hi James, > > I'd leave them open until you quit the app. You might also think about > > using the ATTACH command for the second and subsequent connections so > > they'll all be open on the same connection. This allows you to, for > > example, define JOINs across databases, although you'll need to change > the > > references to anything in the attached databases. > > > > Pretty sure you need to load extensions for each connection, so the > ATTACH > > approach will help there too. > > > > Pete > > lcSQL Software > > On Apr 24, 2014 7:49 PM, "James Hale" wrote: > > > >> 1. Open and close database connections. When? > >> Obviously you need to open a connection to access a database, but when > do > >> you need to close it? > >> Does it close without you doing anything? > >> I have the need to connect to four db's while running my app. > >> Access to a couple of these is sporadic but constant across a user > session > >> with the app. > >> Can I just open a connection to them all on the app's launch and then > >> close the connection of quitting? Currently I reassert the connection on > >> most accesses. Is this a bad thing to do? > >> > >> 2. SQLite's new ability to load a runtime extension. What does it attach > >> to? > >> I have compiled a couple of extensions to SQLite for my app. I use them > in > >> two distinct db's that I connect to. Do I need to load the extension for > >> each db or only once. > >> In other words is it loaded for the engine itself or does the load only > >> apply to the specific database I am connecting to at the time? > >> > >> Thanks in advance > >> > >> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 rdimola at evergreeninfo.net Fri Apr 25 13:36:50 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 25 Apr 2014 13:36:50 -0400 Subject: HTML browser and mobile. In-Reply-To: References: <91466C3D-49EA-437C-B6B4-45619D7B137E@thehales.id.au> <306494C7-0DBF-40BD-916A-AF5BAFEA7402@me.com> Message-ID: <00ad01cf60ac$f11bdc10$d3539430$@net> How would one do a call back to LC from within a mobile web page? Is this even possible on mobile? I have a html local page with a map image. I would like to call an LC procedure with a parameter when the user presses within a specific county on the page. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From dan at clearvisiontech.com Fri Apr 25 14:02:01 2014 From: dan at clearvisiontech.com (Dan Friedman) Date: Fri, 25 Apr 2014 11:02:01 -0700 Subject: Strange! In-Reply-To: References: Message-ID: I have an mobile project that I've been working on for some time now. It's already in the app store (and google play) and it's been running fine. I opened the stack this morning to make some updates, and I find that I have one card that is no longer passing messages. preOpenCard get's fired, but openCard is not? Other cards in the same stack work fine. I don't have lock messages on, or anything else I can think of that would cause this. The card works fine in LiveCode, but fails in the simulator and on a real device. LC 6.5.2 and 6.6.1 XCode 5.1.1 There must be some property or something that got set that I can't think of. I have stepped through the code and I can't find anything. I even created a new card, and copied the objects and script to the new card, but got the same result. Any ideas? -Dan From smaclean at madmansoft.com Fri Apr 25 14:13:48 2014 From: smaclean at madmansoft.com (Stephen MacLean) Date: Fri, 25 Apr 2014 14:13:48 -0400 Subject: RELEASE LiveCode 6.6.2 RC2 In-Reply-To: References: Message-ID: <0BE0AB3E-F9F4-42EA-A6FD-98139DB3B5F5@madmansoft.com> Looks good here, thank you!!!! On Apr 25, 2014, at 11:06 AM, Benjamin Beaumont wrote: > Dear List Members, > > Due to a build error, 6.6.2 RC1 wasn't able to build for the simulators. We > have resolved the issue with a new build and uploaded it as LiveCode 6.6.2 > RC2. > > Notable mention and thanks to Stephen MacLean for notifying us of the issue > so quickly. > > *Getting this release* > To upgrade to this release please select "check for updates" from the help > menu in LiveCode or download the installers directly at: > http://downloads.livecode.com/livecode/ > > *Reporting Bugs* > If you encounter an issue with this release please submit a bug report to > our quality centre: http://quality.runrev.com/enter_bug.cgi > > Warm regards, > > The LiveCode Team > > -- > _____________________________________________ > > Benjamin Beaumont . RunRev Ltd > > LiveCode Product Manager > mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW > email : ben at runrev.com > company : +44(0) 845 219 89 23 > fax : +44(0) 845 458 8487 > web : www.runrev.com > > LiveCode - Programming made simple > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 25 14:41:59 2014 From: sc at sahores-conseil.com (Pierre Sahores) Date: Fri, 25 Apr 2014 20:41:59 +0200 Subject: HTML browser and mobile. In-Reply-To: <00ad01cf60ac$f11bdc10$d3539430$@net> References: <91466C3D-49EA-437C-B6B4-45619D7B137E@thehales.id.au> <306494C7-0DBF-40BD-916A-AF5BAFEA7402@me.com> <00ad01cf60ac$f11bdc10$d3539430$@net> Message-ID: <767C4A72-555B-4CAE-9773-EF43D8B49B78@sahores-conseil.com> Hi Ralph, The way it works can be really simple (other ways available but this one fills perfectly my needs?) : 1.- the html/js side : page1.html need to include some javascript : simple iOS/Android working example : > a.- able to handle the touch messages it receive from your mobile app users; b.- and initiate a new pageN.html load; 2.- the livecode scripting side : > on browserLoadRequested pUrl, pType > if the platform is "iPhone" then > if "/cache/prev.html" is in pURL then your iOS dedicated LC code comes there > on browserStartedLoading pUrl > if "/cache/prev.html" is in pURL and the platform is "android" then your Android dedicated LC code comes there Best, Pierre Le 25 avr. 2014 ? 19:36, Ralph DiMola a ?crit : > How would one do a call back to LC from within a mobile web page? Is this even possible on mobile? I have a html local page with a map image. I would like to call an LC procedure with a parameter when the user presses within a specific county on the page. > > 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 -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From index at kenjikojima.com Fri Apr 25 15:34:25 2014 From: index at kenjikojima.com (Kenji Kojima) Date: Fri, 25 Apr 2014 15:34:25 -0400 Subject: LiveCode 7 codepoint question In-Reply-To: References: <4854BDDF-2597-45F7-A527-0F13E4FDDED3@kenjikojima.com> Message-ID: <7F7EEFD0-29B8-4A81-A7E3-6CCA80C3409C@kenjikojima.com> Dar, I understood your script well. Thank you. But I was wondering why we needed these Japanese characters. We do not use these combined characters. We use them in Japanese writing numToCodepoint( 0x30C8 ) ? this is ? numToCodepoint( 0x30C9 ) ? this is ? the num of codepoints of ??? ? returns 1 But we do not use this character, and I do not know how I can type. I have to use LiveCode. numToCodepoint( 0x30C8 ) & numToCodepoint( 0x3099 ) ? this is ? the num of codepoints of ??? ? returns 2 I found the answer. 1) About 150 years ago. Many foreign words came into Japan. Japanese did not have phonetic characters RA or LA then some people started to write ??? as ?RA? and ???? as ?LA? numToCodepoint( 0x30E9 ) ? this is ? numToCodepoint( 0x30E9 ) & numToCodepoint( 0x309A) ? this is ?? But Japanese do not write differences between them anymore. Now only ??? is used. Contemporary Japanese do not care RA or LA. 2) ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? and more characters. They were used for a telegram code. Probably before the war. They are not used now. Maybe there were some more other old usages. -- Kenji Kojima / ???? http://www.kenjikojima.com/ On Apr 18, 2014, at 5:47 PM, Dar Scott wrote: > Here is my experiment to look at characters that are multiple codepoints in Japanese. (This experiment is limited to Katakana.) > > (I don?t know Japanese, so I apologize for anything goofy.) > > This shows the two-codepoint versions of ? as one character. > > On my OS X system, the latter two did not render as one character in the message box, though. I might be doing something wrong. When I pasted the output string into mail, one of those combined but the second didn?t?maybe it is intended for use with half-width Katakana. > > The output is this: > > ? ? ?? 1 ?? 1 > > Dar > > ??? > on mouseUp > put numToCodepoint( 0x30C8 ) into kto > put numToCodepoint( 0x30C9 ) into kdo > put numToCodepoint( 0x3099 ) into kVoiceMark > put numToCodepoint( 0xFF9E ) into kHalfVoiceMark > put kto & kVoiceMark into kdoAlt1 > put length(kdoAlt1) into kdoAlt1N > put kto & kHalfVoiceMark into kdoAlt2 > put length(kdoAlt2) into kdoAlt2N > put kto & tab & kdo & tab & kdoAlt1 & tab & kdoAlt1N & tab & kdoAlt2 & tab & kdoAlt2N > end mouseUp > ??? > > > > > On Apr 18, 2014, at 2:59 PM, Kenji Kojima wrote: > >> What is the actual single unicode character which is composed of two or more code points? >> I could not find it in Japanese characters. I could use same ?char? and ?code point? in Japanese. >> Are there it in other languages? >> >> There is a comment of ?codepoint" on the dictionary. >> "A codepoint is an integer identifier associted witha a Unicode character. >> A single character is composed of one or more code points.? >> >> Thanks, >> -- >> Kenji Kojima / ???? >> http://www.kenjikojima.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 dsc at swcp.com Fri Apr 25 15:59:35 2014 From: dsc at swcp.com (Dar Scott) Date: Fri, 25 Apr 2014 13:59:35 -0600 Subject: LiveCode 7 codepoint question In-Reply-To: <7F7EEFD0-29B8-4A81-A7E3-6CCA80C3409C@kenjikojima.com> References: <4854BDDF-2597-45F7-A527-0F13E4FDDED3@kenjikojima.com> <7F7EEFD0-29B8-4A81-A7E3-6CCA80C3409C@kenjikojima.com> Message-ID: <6BFA0488-F485-4378-AD48-49722CEBCF3B@swcp.com> So maybe you can be safe in assuming codepoint = char in Japanese? I?m just guessing there might be an advantage to using codepoint or even codeunit for long documents depending on how the speed of dp3 looks. Dar On Apr 25, 2014, at 1:34 PM, Kenji Kojima wrote: > Dar, > > I understood your script well. Thank you. > But I was wondering why we needed these Japanese characters. > We do not use these combined characters. > > We use them in Japanese writing > numToCodepoint( 0x30C8 ) ? this is ? > numToCodepoint( 0x30C9 ) ? this is ? > the num of codepoints of ??? ? returns 1 > > But we do not use this character, and I do not know how I can type. I have to use LiveCode. > numToCodepoint( 0x30C8 ) & numToCodepoint( 0x3099 ) ? this is ? > the num of codepoints of ??? ? returns 2 > > I found the answer. > > 1) About 150 years ago. Many foreign words came into Japan. > Japanese did not have phonetic characters RA or LA then > some people started to write ??? as ?RA? and ???? as ?LA? > numToCodepoint( 0x30E9 ) ? this is ? > numToCodepoint( 0x30E9 ) & numToCodepoint( 0x309A) ? this is ?? > But Japanese do not write differences between them anymore. Now only ??? is used. > Contemporary Japanese do not care RA or LA. > > 2) ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? and more characters. > They were used for a telegram code. Probably before the war. > They are not used now. > > Maybe there were some more other old usages. > -- > Kenji Kojima / ???? > http://www.kenjikojima.com/ > > > > > > On Apr 18, 2014, at 5:47 PM, Dar Scott wrote: > >> Here is my experiment to look at characters that are multiple codepoints in Japanese. (This experiment is limited to Katakana.) >> >> (I don?t know Japanese, so I apologize for anything goofy.) >> >> This shows the two-codepoint versions of ? as one character. >> >> On my OS X system, the latter two did not render as one character in the message box, though. I might be doing something wrong. When I pasted the output string into mail, one of those combined but the second didn?t?maybe it is intended for use with half-width Katakana. >> >> The output is this: >> >> ? ? ?? 1 ?? 1 >> >> Dar >> >> ??? >> on mouseUp >> put numToCodepoint( 0x30C8 ) into kto >> put numToCodepoint( 0x30C9 ) into kdo >> put numToCodepoint( 0x3099 ) into kVoiceMark >> put numToCodepoint( 0xFF9E ) into kHalfVoiceMark >> put kto & kVoiceMark into kdoAlt1 >> put length(kdoAlt1) into kdoAlt1N >> put kto & kHalfVoiceMark into kdoAlt2 >> put length(kdoAlt2) into kdoAlt2N >> put kto & tab & kdo & tab & kdoAlt1 & tab & kdoAlt1N & tab & kdoAlt2 & tab & kdoAlt2N >> end mouseUp >> ??? >> >> >> >> >> On Apr 18, 2014, at 2:59 PM, Kenji Kojima wrote: >> >>> What is the actual single unicode character which is composed of two or more code points? >>> I could not find it in Japanese characters. I could use same ?char? and ?code point? in Japanese. >>> Are there it in other languages? >>> >>> There is a comment of ?codepoint" on the dictionary. >>> "A codepoint is an integer identifier associted witha a Unicode character. >>> A single character is composed of one or more code points.? >>> >>> Thanks, >>> -- >>> Kenji Kojima / ???? >>> http://www.kenjikojima.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 cmsheffield at icloud.com Fri Apr 25 16:30:44 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Fri, 25 Apr 2014 14:30:44 -0600 Subject: Strange! In-Reply-To: References: Message-ID: Dan, Sounds like some debugging is in order which, as I?m sure you know, can be a little tricky for iOS apps. I would recommend using put statements and/or answer dialogs to try and narrow down where the problem lies. Since preOpenCard fires but openCard does not, my guess is you?ve got an error occurring at some point during preOpenCard, and it?s basically stopping the app in its tracks. A handy little script I picked up along the way allows you to easily see when runtime errors occur in any app, but I find it especially useful for mobile apps when testing in the simulator or on a device. I got this from Jacque Landman-Gay, who I believe originally got it from Andre Garzia. constant kDebug = "answer" on log pMsg switch kDebug case "msg" put pMsg & cr break case "file" put pMsg & cr after url ("file:" && the effective filename of this stack & ".log") break case "answer" -- jlg: added answer pMsg titled the short name of this card break end switch end log on errorDialog pErr -- catches and reports system errors log pErr end errorDialog Place this in your stack script. Then set the kDebug constant to whichever debug method you prefer. If there?s an error somewhere in preOpenCard, this should catch it and help you get started with figuring out the problem Good luck! Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com On Apr 25, 2014, at 12:02 PM, Dan Friedman wrote: > I have an mobile project that I've been working on for some time now. It's already in the app store (and google play) and it's been running fine. I opened the stack this morning to make some updates, and I find that I have one card that is no longer passing messages. preOpenCard get's fired, but openCard is not? Other cards in the same stack work fine. I don't have lock messages on, or anything else I can think of that would cause this. > > The card works fine in LiveCode, but fails in the simulator and on a real device. > > LC 6.5.2 and 6.6.1 > XCode 5.1.1 > > There must be some property or something that got set that I can't think of. I have stepped through the code and I can't find anything. I even created a new card, and copied the objects and script to the new card, but got the same result. > > Any ideas? > > -Dan > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dan at clearvisiontech.com Fri Apr 25 17:40:57 2014 From: dan at clearvisiontech.com (Dan Friedman) Date: Fri, 25 Apr 2014 14:40:57 -0700 Subject: Strange! Message-ID: <9DCED327-7EE7-45B4-A0B3-1C4AD7019895@clearvisiontech.com> Chris, Thank you for the reply and advice. I have been popping answer dialogs all morning. I still have no clue. I tried putting your code snippet in the stack and card scripts, but nothing was trapped. At this point, I have commented out everything in the card script except openStack and preOpenStack. So, I have the IDENTICAL card script in two cards. Card A works fine, card B fails. I can't figure it out! They do have different controls... Is it possible that a control on the card could cause a problem? even though the control isn't being accessed? Wait a second.... Ok, found the problem. I have an image on the card that is (was) failing that I use to hold an image temporarily. I set the fileName of that image to empty, and now it works. Obviously, LiveCode crapped out when it tried to load the image on the card. Even though I never accessed the image in code, and the image is invisible, LiveCode didn't like the url set in the fileName of the image. I should probability report the issue - LC should bail and should probably report some type of error/warning. Thanks for the help! In describing the problem to you, I began to think about the controls, which led me to the answer. -Dan > Dan, > > Sounds like some debugging is in order which, as I?m sure you know, can be a little tricky for iOS apps. I would recommend using put statements and/or answer dialogs to try and narrow down where the problem lies. Since preOpenCard fires but openCard does not, my guess is you?ve got an error occurring at some point during preOpenCard, and it?s basically stopping the app in its tracks. > > A handy little script I picked up along the way allows you to easily see when runtime errors occur in any app, but I find it especially useful for mobile apps when testing in the simulator or on a device. I got this from Jacque Landman-Gay, who I believe originally got it from Andre Garzia. > > > constant kDebug = "answer" > > on log pMsg > switch kDebug > case "msg" > put pMsg & cr > break > case "file" > put pMsg & cr after url ("file:" && the effective filename of this stack & ".log") > break > case "answer" -- jlg: added > answer pMsg titled the short name of this card > break > end switch > end log > > on errorDialog pErr -- catches and reports system errors > log pErr > end errorDialog > > > Place this in your stack script. Then set the kDebug constant to whichever debug method you prefer. If there?s an error somewhere in preOpenCard, this should catch it and help you get started with figuring out the problem > > Good luck! > > Chris >> I have an mobile project that I've been working on for some time now. It's already in the app store (and google play) and it's been running fine. I opened the stack this morning to make some updates, and I find that I have one card that is no longer passing messages. preOpenCard get's fired, but openCard is not? Other cards in the same stack work fine. I don't have lock messages on, or anything else I can think of that would cause this. >> >> The card works fine in LiveCode, but fails in the simulator and on a real device. >> >> LC 6.5.2 and 6.6.1 >> XCode 5.1.1 >> >> There must be some property or something that got set that I can't think of. I have stepped through the code and I can't find anything. I even created a new card, and copied the objects and script to the new card, but got the same result. >> >> Any ideas? >> >> -Dan >> Thank you! Dan Friedman CEO, ClearVision Technologies, Inc. Voice: 909/484-2052 Fax: 866/620-4796 http://www.clearvisiontech.com Does your school have a mobile app? Check out schoolGO! From dochawk at gmail.com Fri Apr 25 18:36:52 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 25 Apr 2014 15:36:52 -0700 Subject: MS SQL In-Reply-To: References: <53572699.1090103@hyperactivesw.com> Message-ID: On Thu, Apr 24, 2014 at 3:51 PM, Rodney Green wrote: > I'm curious, does anyone have a project that uses the revDataFromQuery() > command? > Yes, but I use it with SQLite and Postgres (and used it briefly with mySQL). But I'm old enough that I'd never consider using an MS database. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From capellan2000 at gmail.com Fri Apr 25 19:00:48 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 25 Apr 2014 16:00:48 -0700 (PDT) Subject: [OT] PhET Interactive Simulations In-Reply-To: <1398392406516-4678661.post@n4.nabble.com> References: <1398392406516-4678661.post@n4.nabble.com> Message-ID: <1398466848037-4678696.post@n4.nabble.com> All these simulations works fine on Windows! :) Many fine examples of interactive demostrations. I will figure out how to recreate some of them in LiveCode (as an exercise in programming). Have a nice weekend! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-PhET-Interactive-Simulations-tp4678661p4678696.html Sent from the Revolution - User mailing list archive at Nabble.com. From matthias_livecode_150811 at m-r-d.de Fri Apr 25 19:22:09 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Sat, 26 Apr 2014 01:22:09 +0200 Subject: MS SQL In-Reply-To: References: <53572699.1090103@hyperactivesw.com> Message-ID: Hi Rodney, i am using the Actualtech ODBC driver with Microsoft SQL server without problems. Just to be sure that there are no problems with newer versions of LC i did a quick test right now with one of my projects with LC 6.7.0DP2, Actualtech ODBC driver version 3.2.3 and MS SQL Server 2005 and 2008. My select query is about 70 lines contains several case statements with several replace statements and several joins. All is working as expected even over VPN. Regards, Matthias Am 25.04.2014 um 00:51 schrieb Rodney Green : > I'm curious, does anyone have a project that uses the revDataFromQuery() > command? And does anyone use the Actual Technologies ODBC driver? > > > On Thu, Apr 24, 2014 at 9:23 AM, Rodney Green wrote: > >> I'll put in a bug report for this. Does anyone have any kind of >> work-around for this? Have there been any updates to database in the >> developer previews? Maybe I'll give a DP a try. >> >> >> On Wed, Apr 23, 2014 at 7:53 PM, Rodney Green wrote: >> >>> I tried it in 6.6 and 6.6.1. I'm using Actual Technologies ODBC manager >>> (demo). And I can connect successfully to the SQL server with Navicat. I'm >>> on a Mac (10.9.2) and connecting via a VPN. >>> >>> >>> On Wed, Apr 23, 2014 at 7:17 PM, Peter Haworth wrote: >>> >>>> That seems strange - I wouldn't expect to see field names, just the data >>>> in >>>> them. What version of LC are you using? Might be time to enter a bug >>>> report. >>>> >>>> Pete >>>> lcSQL Software >>>> Home of lcStackBrowser and >>>> SQLiteAdmin >>>> >>>> >>>> On Wed, Apr 23, 2014 at 2:47 PM, Rodney Green >>>> wrote: >>>> >>>>> I turned on tracing in the odbc driver and I can see field names in the >>>>> data. So I'm assuming the query is working. But still can't figure out >>>> why >>>>> LC is hanging. I have database checked in the stand alone settings, not >>>>> sure if this matters while in LC. Any ideas how I can track down why >>>> LC is >>>>> hanging? >>>>> >>>>> >>>>> On Wed, Apr 23, 2014 at 10:13 AM, Peter Haworth >>>> wrote: >>>>> >>>>>> In gmail, you can fix that by using the "Paste and match style" >>>> option on >>>>>> the edit menu. >>>>>> >>>>>> Pete >>>>>> lcSQL Software >>>>>> On Apr 22, 2014 7:34 PM, "J. Landman Gay" >>>>>> wrote: >>>>>> >>>>>>> On 4/22/14, 6:49 PM, Kay C Lan wrote: >>>>>>> >>>>>>>> I don't know if it's just your email client but what I'm seeing >>>> is an >>>>>>>> asterisk * around the words get, put and return which shouldn't be >>>>>> there. >>>>>>>> >>>>>>> >>>>>>> That happens to all keywords when a colorized script is copied >>>> from the >>>>>>> script editor and pasted into a text-only email list. I see it >>>> here all >>>>>> the >>>>>>> time. >>>>>>> >>>>>>> -- >>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>>> subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Nakia.Brewer at westrac.com.au Fri Apr 25 20:41:10 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Sat, 26 Apr 2014 00:41:10 +0000 Subject: Record and Play sound at same time IOS Message-ID: Hi, As a novelty I am trying to make a livecode IOS Speech Jammer App. For those that aren't aware this basically works by playing back you voice slightly delayed and it messes with your brain and you can't speak. Check this guy out for a laugh. http://youtu.be/oU9EGeMP5n4 Anyway, Using montes mergMicrophone I have been able to get mostly there but have hit a stumble with playing back the file that is being recorded at the same time it's being recorded. I am using iphonePlaySoundOnChannel to play back the file but it looks like it only evaluates the file when it starts cashing it to not continue playing.. Anyone got any ideas on how to maybe get around this ? COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From capellan2000 at gmail.com Fri Apr 25 21:16:04 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 25 Apr 2014 18:16:04 -0700 (PDT) Subject: Changes in LiveCode Image Quality - A comparison In-Reply-To: <1398376272707-4678643.post@n4.nabble.com> References: <1398376272707-4678643.post@n4.nabble.com> Message-ID: <1398474964530-4678699.post@n4.nabble.com> Just added bug report 12307: http://quality.runrev.com/show_bug.cgi?id=12307 Included this stack that shows a comparison between image qualities in different LiveCode versions: https://dl.dropboxusercontent.com/u/3834621/LiveCode_Image_Quality_comparison.livecode Normal Image Quality looks the same as Good Image Quality 1- Download the sample stack 2- Open the sample stack in LiveCode 7.0 dp2 3- Compare image quality of 7.0 dp2 vs 6.5 series. After LiveCode 6.6, image quality "normal" and "good" looks exactly alike. Not so in previous versions. This was bring to my attention by Kenji Kojima who, on March 18 2014, wrote in the mail list: >Please restore box filtering. >It was very useful for making a mosaic image. >I loved 6.5 of poor quality image too. Mr. Kojima use normal quality images in his multimedia project. In another thread, he wrote: >This is a technical note I have developed. >http://kenjikojima.com/splitMerge/techNote1.html >The project "Split/Merge AudioVisual" is here. >http://kenjikojima.com/splitMerge/ >If I cannot use the old image filter, >I have to give up. This requested change would be just a regression to a former state. Have a nice weekend! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Changes-in-LiveCode-Image-Quality-A-comparison-tp4678643p4678699.html Sent from the Revolution - User mailing list archive at Nabble.com. From smaclean at madmansoft.com Fri Apr 25 22:31:51 2014 From: smaclean at madmansoft.com (Stephen MacLean) Date: Fri, 25 Apr 2014 22:31:51 -0400 Subject: Record and Play sound at same time IOS In-Reply-To: References: Message-ID: <4979AE85-7C36-4712-AC91-14251E5AB7A1@madmansoft.com> Look to another of Monte's externals, mergAV. Specifically, you can set the AVsession to "play and record", which would allow that. The player you can create is also very powerful. Take a look at the commands for the external, down near the bottom of the page. Best, Steve MacLean On Apr 25, 2014, at 8:41 PM, Nakia Brewer wrote: > Hi, > > As a novelty I am trying to make a livecode IOS Speech Jammer App. > > For those that aren't aware this basically works by playing back you voice slightly delayed and it messes with your brain and you can't speak. > > Check this guy out for a laugh. > > http://youtu.be/oU9EGeMP5n4 > > Anyway, > Using montes mergMicrophone I have been able to get mostly there but have hit a stumble with playing back the file that is being recorded at the same time it's being recorded. > > I am using iphonePlaySoundOnChannel to play back the file but it looks like it only evaluates the file when it starts cashing it to not continue playing.. > > Anyone got any ideas on how to maybe get around this ? > > > > > > > > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Fri Apr 25 23:23:11 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 25 Apr 2014 20:23:11 -0700 (PDT) Subject: Backdrop in in 6.7.0 dp2 under Lubuntu Linux 13.10 Message-ID: <1398482591802-4678701.post@n4.nabble.com> Read this report: http://quality.runrev.com/show_bug.cgi?id=11603 Backdrop is not displayed on Linux LiveCode 6.7.0 dp2, displays a black backdrop under Lubuntu Linux 13.10. but LiveCode turns very unstable while displaying this backdrop... After turning off this backdrop, LiveCode works fine. Could you please test this in your own Linux version? Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Backdrop-in-in-6-7-0-dp2-under-Lubuntu-Linux-13-10-tp4678701.html Sent from the Revolution - User mailing list archive at Nabble.com. From Nakia.Brewer at westrac.com.au Sat Apr 26 03:01:00 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Sat, 26 Apr 2014 07:01:00 +0000 Subject: Record and Play sound at same time IOS In-Reply-To: <4979AE85-7C36-4712-AC91-14251E5AB7A1@madmansoft.com> References: , <4979AE85-7C36-4712-AC91-14251E5AB7A1@madmansoft.com> Message-ID: <0C5628B3-8EE5-4EC9-AC3F-623CFC520477@westrac.com.au> Okay will take a look. Will this allow me to ditch using the mergMicrophone external then ? Sent from my iPhone > On 26 Apr 2014, at 12:32 pm, "Stephen MacLean" wrote: > > Look to another of Monte's externals, mergAV. > > Specifically, you can set the AVsession to "play and record", which would allow that. The player you can create is also very powerful. > > Take a look at the commands for the external, down near the bottom of the page. > > Best, > > Steve MacLean > >> On Apr 25, 2014, at 8:41 PM, Nakia Brewer wrote: >> >> Hi, >> >> As a novelty I am trying to make a livecode IOS Speech Jammer App. >> >> For those that aren't aware this basically works by playing back you voice slightly delayed and it messes with your brain and you can't speak. >> >> Check this guy out for a laugh. >> >> http://youtu.be/oU9EGeMP5n4 >> >> Anyway, >> Using montes mergMicrophone I have been able to get mostly there but have hit a stumble with playing back the file that is being recorded at the same time it's being recorded. >> >> I am using iphonePlaySoundOnChannel to play back the file but it looks like it only evaluates the file when it starts cashing it to not continue playing.. >> >> Anyone got any ideas on how to maybe get around this ? >> >> >> >> >> >> >> >> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From richmondmathewson at gmail.com Sat Apr 26 03:15:24 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 26 Apr 2014 10:15:24 +0300 Subject: Backdrop in in 6.7.0 dp2 under Lubuntu Linux 13.10 In-Reply-To: <1398482591802-4678701.post@n4.nabble.com> References: <1398482591802-4678701.post@n4.nabble.com> Message-ID: <535B5D0C.3010301@gmail.com> On 26/04/14 06:23, Alejandro Tejada wrote: > Read this report: > http://quality.runrev.com/show_bug.cgi?id=11603 > Backdrop is not displayed on Linux > > LiveCode 6.7.0 dp2, displays a black backdrop under > Lubuntu Linux 13.10. > > but LiveCode turns very unstable while displaying > this backdrop... > > After turning off this backdrop, LiveCode works fine. > Could you please test this in your own Linux version? > > Thanks in advance! > > Al > > > Confirmed: Ubuntu Studio 14.04 (XFCE Window manager). On setting the backdrop (black), the revTools palette disappears; then, on setting up a new Mainstack that also is not visible, straight after that the revMenubar stack also disappeared, I said a few coarse word, then everything reappeared; clicked on the revMenubar to Exit and the revTools palette and the Untitled stack disappeared again. Not good. Mind you: I have never used a backdrop. Richmond. From sims at ezpzapps.com Sat Apr 26 03:16:07 2014 From: sims at ezpzapps.com (Jim sims) Date: Sat, 26 Apr 2014 09:16:07 +0200 Subject: encrypt and decrypt on iOS Message-ID: Am trying to figure out how to use the new Encrypt/Decrypt with iOS. I want to encrypt a few hundred words of data then send as a file attachment via email. I have zero idea what PEM format and such are. Anyone have a stack that shows how this is done? Would be great to have example stacks for new commands and features when new versions come out. sims From Nakia.Brewer at westrac.com.au Sat Apr 26 04:04:22 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Sat, 26 Apr 2014 08:04:22 +0000 Subject: Record and Play sound at same time IOS In-Reply-To: <0C5628B3-8EE5-4EC9-AC3F-623CFC520477@westrac.com.au> References: , <4979AE85-7C36-4712-AC91-14251E5AB7A1@madmansoft.com>, <0C5628B3-8EE5-4EC9-AC3F-623CFC520477@westrac.com.au> Message-ID: <3E970474-7773-41E6-AEFF-677248C3BD2C@westrac.com.au> Just had a quick look through the commands for mergAV. Wow, it sure has a lot of functionality.. Sent from my iPhone > On 26 Apr 2014, at 5:02 pm, "Nakia Brewer" wrote: > > Okay will take a look. > > Will this allow me to ditch using the mergMicrophone external then ? > > Sent from my iPhone > >> On 26 Apr 2014, at 12:32 pm, "Stephen MacLean" wrote: >> >> Look to another of Monte's externals, mergAV. >> >> Specifically, you can set the AVsession to "play and record", which would allow that. The player you can create is also very powerful. >> >> Take a look at the commands for the external, down near the bottom of the page. >> >> Best, >> >> Steve MacLean >> >>> On Apr 25, 2014, at 8:41 PM, Nakia Brewer wrote: >>> >>> Hi, >>> >>> As a novelty I am trying to make a livecode IOS Speech Jammer App. >>> >>> For those that aren't aware this basically works by playing back you voice slightly delayed and it messes with your brain and you can't speak. >>> >>> Check this guy out for a laugh. >>> >>> http://youtu.be/oU9EGeMP5n4 >>> >>> Anyway, >>> Using montes mergMicrophone I have been able to get mostly there but have hit a stumble with playing back the file that is being recorded at the same time it's being recorded. >>> >>> I am using iphonePlaySoundOnChannel to play back the file but it looks like it only evaluates the file when it starts cashing it to not continue playing.. >>> >>> Anyone got any ideas on how to maybe get around this ? >>> >>> >>> >>> >>> >>> >>> >>> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From Nakia.Brewer at westrac.com.au Sat Apr 26 05:34:32 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Sat, 26 Apr 2014 09:34:32 +0000 Subject: Record and Play sound at same time IOS In-Reply-To: <3E970474-7773-41E6-AEFF-677248C3BD2C@westrac.com.au> References: , <4979AE85-7C36-4712-AC91-14251E5AB7A1@madmansoft.com>, <0C5628B3-8EE5-4EC9-AC3F-623CFC520477@westrac.com.au>, <3E970474-7773-41E6-AEFF-677248C3BD2C@westrac.com.au> Message-ID: <366409E4-C0BD-4500-A8D4-B31A7AF62A80@westrac.com.au> Okay, Had a small tinker and seems the same issue occurs. To check my understanding, am i to assume the mergAvSessionCategory effects the iphonePlayOnChannel command ? I think I may be miss interpreting how to achieve this... I am still using mergMicrophone to record the file and using iphonePlayOnChannel to play the file.. Sent from my iPhone > On 26 Apr 2014, at 6:05 pm, "Nakia Brewer" wrote: > > Just had a quick look through the commands for mergAV. > > Wow, it sure has a lot of functionality.. > > Sent from my iPhone > >> On 26 Apr 2014, at 5:02 pm, "Nakia Brewer" wrote: >> >> Okay will take a look. >> >> Will this allow me to ditch using the mergMicrophone external then ? >> >> Sent from my iPhone >> >>> On 26 Apr 2014, at 12:32 pm, "Stephen MacLean" wrote: >>> >>> Look to another of Monte's externals, mergAV. >>> >>> Specifically, you can set the AVsession to "play and record", which would allow that. The player you can create is also very powerful. >>> >>> Take a look at the commands for the external, down near the bottom of the page. >>> >>> Best, >>> >>> Steve MacLean >>> >>>> On Apr 25, 2014, at 8:41 PM, Nakia Brewer wrote: >>>> >>>> Hi, >>>> >>>> As a novelty I am trying to make a livecode IOS Speech Jammer App. >>>> >>>> For those that aren't aware this basically works by playing back you voice slightly delayed and it messes with your brain and you can't speak. >>>> >>>> Check this guy out for a laugh. >>>> >>>> http://youtu.be/oU9EGeMP5n4 >>>> >>>> Anyway, >>>> Using montes mergMicrophone I have been able to get mostly there but have hit a stumble with playing back the file that is being recorded at the same time it's being recorded. >>>> >>>> I am using iphonePlaySoundOnChannel to play back the file but it looks like it only evaluates the file when it starts cashing it to not continue playing.. >>>> >>>> Anyone got any ideas on how to maybe get around this ? >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From MikeKerner at roadrunner.com Sat Apr 26 09:52:58 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 26 Apr 2014 09:52:58 -0400 Subject: encrypt and decrypt on iOS In-Reply-To: References: Message-ID: Jim, There are two ways to do encryption on ios in LC: 1) Monte has an encryption external in his mergEXT suite 2) You can use the native code. The native code uses OpenSSL. Due to some technical issues it CAN be less secure than the libraries that Monte is using, but that is something for you to decide. You should also encode the encrypted data (AFTER encryption) to ensure that it transports properly. The syntax looks like this, assuming: * The data you want to encrypt is in "what" * The cipher you want to use is aes-256 * The key you want to use to do the encryption is in "theKey" encrypt what using "aes-256-cbc" with theKey put base64encode(it) into what #v. 1.6 was bit16 >From here you would either embed "what" into an email or write to a file and attach the file. If it was me, and I was helping you, I would suggest that you do not send email from ios, but that you use dropbox, because if you send email, your user will get a chance to see the email and thus screw something up, maybe by sending the encrypted data to somewhere else, or if you are directly embedding the "what" container in an email, by accidentally deleting or adding a character, or maybe a helpful introduction like "Here's the email", which will screw up your decryption, of course. Dropbox integration is fairly straightforward. Monte has a couple of externals in the mergEXT suite, and there is also an open-source library that several of us have worked on that works (but it is arguably not as fast as Monte's external, because it relies on Dropbox's REST API, so your app will, in effect, have to sit there while the file(s) transfer). On Sat, Apr 26, 2014 at 3:16 AM, Jim sims wrote: > Am trying to figure out how to use the new Encrypt/Decrypt with iOS. > > I want to encrypt a few hundred words of data then send as a file > attachment via email. I have zero idea what PEM format and such are. > > Anyone have a stack that shows how this is done? > > Would be great to have example stacks for new commands and features when > new versions come out. > > sims > _______________________________________________ > use-livecode mailing list > use-livecode 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 Sat Apr 26 09:53:39 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 26 Apr 2014 09:53:39 -0400 Subject: encrypt and decrypt on iOS In-Reply-To: References: Message-ID: One more thing - don't forget to decode before you decrypt. On Sat, Apr 26, 2014 at 9:52 AM, Mike Kerner wrote: > Jim, > > There are two ways to do encryption on ios in LC: > 1) Monte has an encryption external in his mergEXT suite > 2) You can use the native code. The native code uses OpenSSL. Due to > some technical issues it CAN be less secure than the libraries that Monte > is using, but that is something for you to decide. > > You should also encode the encrypted data (AFTER encryption) to ensure > that it transports properly. > > The syntax looks like this, assuming: > * The data you want to encrypt is in "what" > * The cipher you want to use is aes-256 > * The key you want to use to do the encryption is in "theKey" > > > encrypt what using "aes-256-cbc" with theKey > put base64encode(it) into what #v. 1.6 was bit16 > > > From here you would either embed "what" into an email or write to a file > and attach the file. > > > If it was me, and I was helping you, I would suggest that you do not send > email from ios, but that you use dropbox, because if you send email, your > user will get a chance to see the email and thus screw something up, maybe > by sending the encrypted data to somewhere else, or if you are directly > embedding the "what" container in an email, by accidentally deleting or > adding a character, or maybe a helpful introduction like "Here's the > email", which will screw up your decryption, of course. > > Dropbox integration is fairly straightforward. Monte has a couple of > externals in the mergEXT suite, and there is also an open-source library > that several of us have worked on that works (but it is arguably not as > fast as Monte's external, because it relies on Dropbox's REST API, so your > app will, in effect, have to sit there while the file(s) transfer). > > > > On Sat, Apr 26, 2014 at 3:16 AM, Jim sims wrote: > >> Am trying to figure out how to use the new Encrypt/Decrypt with iOS. >> >> I want to encrypt a few hundred words of data then send as a file >> attachment via email. I have zero idea what PEM format and such are. >> >> Anyone have a stack that shows how this is done? >> >> Would be great to have example stacks for new commands and features when >> new versions come out. >> >> sims >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From pete at lcsql.com Sat Apr 26 10:19:41 2014 From: pete at lcsql.com (Peter Haworth) Date: Sat, 26 Apr 2014 07:19:41 -0700 Subject: Backdrop in in 6.7.0 dp2 under Lubuntu Linux 13.10 In-Reply-To: <1398482591802-4678701.post@n4.nabble.com> References: <1398482591802-4678701.post@n4.nabble.com> Message-ID: Backdrop is messed up on OSX also. Plugins loaded at startup disappear and when you get them back, clicking on the backdrop hides them again. Also, parts of Livecode are still visible. Pete lcSQL Software On Apr 25, 2014 8:23 PM, "Alejandro Tejada" wrote: > Read this report: > http://quality.runrev.com/show_bug.cgi?id=11603 > Backdrop is not displayed on Linux > > LiveCode 6.7.0 dp2, displays a black backdrop under > Lubuntu Linux 13.10. > > but LiveCode turns very unstable while displaying > this backdrop... > > After turning off this backdrop, LiveCode works fine. > Could you please test this in your own Linux version? > > Thanks in advance! > > Al > > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Backdrop-in-in-6-7-0-dp2-under-Lubuntu-Linux-13-10-tp4678701.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 sims at ezpzapps.com Sat Apr 26 11:05:21 2014 From: sims at ezpzapps.com (Jim sims) Date: Sat, 26 Apr 2014 17:05:21 +0200 Subject: encrypt and decrypt on iOS In-Reply-To: References: Message-ID: Mike - thanks loads :-) I was trying to use the dictionary syntax: *Syntax: * encrypt *source* using *cipher* with [password|key] *passorkey *[and salt saltvalue] [and IV *IVvalue*] [at *bitvalue* bit] I found your explanation much more friendly, in fact got it working first shot. We think alike - I already use Monte's mergEXT, excellent Man & stuff. Also plan on using the DropBox method for some things. Wanted to learn the native LiveCode version however, i like to go native whenever i can ;-) Is there a webpage for the DropBox REST api effort you refer to? Thanks again, sims On Sat, Apr 26, 2014 at 3:53 PM, Mike Kerner wrote: > One more thing - don't forget to decode before you decrypt. > > > On Sat, Apr 26, 2014 at 9:52 AM, Mike Kerner >wrote: > > > Jim, > > > > There are two ways to do encryption on ios in LC: > > 1) Monte has an encryption external in his mergEXT suite > > 2) You can use the native code. The native code uses OpenSSL. Due to > > some technical issues it CAN be less secure than the libraries that Monte > > is using, but that is something for you to decide. > > > > You should also encode the encrypted data (AFTER encryption) to ensure > > that it transports properly. > > > > The syntax looks like this, assuming: > > * The data you want to encrypt is in "what" > > * The cipher you want to use is aes-256 > > * The key you want to use to do the encryption is in "theKey" > > > > > > encrypt what using "aes-256-cbc" with theKey > > put base64encode(it) into what #v. 1.6 was bit16 > > > > > > From here you would either embed "what" into an email or write to a file > > and attach the file. > > > > > > If it was me, and I was helping you, I would suggest that you do not send > > email from ios, but that you use dropbox, because if you send email, your > > user will get a chance to see the email and thus screw something up, > maybe > > by sending the encrypted data to somewhere else, or if you are directly > > embedding the "what" container in an email, by accidentally deleting or > > adding a character, or maybe a helpful introduction like "Here's the > > email", which will screw up your decryption, of course. > > > > Dropbox integration is fairly straightforward. Monte has a couple of > > externals in the mergEXT suite, and there is also an open-source library > > that several of us have worked on that works (but it is arguably not as > > fast as Monte's external, because it relies on Dropbox's REST API, so > your > > app will, in effect, have to sit there while the file(s) transfer). > > > > > > > > On Sat, Apr 26, 2014 at 3:16 AM, Jim sims wrote: > > > >> Am trying to figure out how to use the new Encrypt/Decrypt with iOS. > >> > >> I want to encrypt a few hundred words of data then send as a file > >> attachment via email. I have zero idea what PEM format and such are. > >> > >> Anyone have a stack that shows how this is done? > >> > >> Would be great to have example stacks for new commands and features when > >> new versions come out. > >> > >> sims > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From smaclean at madmansoft.com Sat Apr 26 11:10:35 2014 From: smaclean at madmansoft.com (Stephen MacLean) Date: Sat, 26 Apr 2014 11:10:35 -0400 Subject: Record and Play sound at same time IOS In-Reply-To: <0C5628B3-8EE5-4EC9-AC3F-623CFC520477@westrac.com.au> References: <4979AE85-7C36-4712-AC91-14251E5AB7A1@madmansoft.com> <0C5628B3-8EE5-4EC9-AC3F-623CFC520477@westrac.com.au> Message-ID: <58692F34-23BF-4F92-9576-9B1F67E1E143@madmansoft.com> They work together:) > On Apr 26, 2014, at 3:01 AM, Nakia Brewer wrote: > > Okay will take a look. > > Will this allow me to ditch using the mergMicrophone external then ? > > Sent from my iPhone > >> On 26 Apr 2014, at 12:32 pm, "Stephen MacLean" wrote: >> >> Look to another of Monte's externals, mergAV. >> >> Specifically, you can set the AVsession to "play and record", which would allow that. The player you can create is also very powerful. >> >> Take a look at the commands for the external, down near the bottom of the page. >> >> Best, >> >> Steve MacLean >> >>> On Apr 25, 2014, at 8:41 PM, Nakia Brewer wrote: >>> >>> Hi, >>> >>> As a novelty I am trying to make a livecode IOS Speech Jammer App. >>> >>> For those that aren't aware this basically works by playing back you voice slightly delayed and it messes with your brain and you can't speak. >>> >>> Check this guy out for a laugh. >>> >>> http://youtu.be/oU9EGeMP5n4 >>> >>> Anyway, >>> Using montes mergMicrophone I have been able to get mostly there but have hit a stumble with playing back the file that is being recorded at the same time it's being recorded. >>> >>> I am using iphonePlaySoundOnChannel to play back the file but it looks like it only evaluates the file when it starts cashing it to not continue playing.. >>> >>> Anyone got any ideas on how to maybe get around this ? >>> >>> >>> >>> >>> >>> >>> >>> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sat Apr 26 11:19:00 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 26 Apr 2014 18:19:00 +0300 Subject: Backdrop in in 6.7.0 dp2 under Lubuntu Linux 13.10 In-Reply-To: References: <1398482591802-4678701.post@n4.nabble.com> Message-ID: <535BCE64.9000300@gmail.com> On 26/04/14 17:19, Peter Haworth wrote: > Backdrop is messed up on OSX also. Plugins loaded at startup disappear and > when you get them back, clicking on the backdrop hides them again. > > Also, parts of Livecode are still visible. > > Pete > Time for a bug report. Richmond. From dsc at swcp.com Sat Apr 26 11:31:08 2014 From: dsc at swcp.com (Dar Scott) Date: Sat, 26 Apr 2014 09:31:08 -0600 Subject: encrypt and decrypt on iOS In-Reply-To: References: Message-ID: <562E7AF3-6A78-4A5D-ACCC-F9218E26540A@swcp.com> On Apr 26, 2014, at 7:52 AM, Mike Kerner wrote: > The syntax looks like this, assuming: > * The data you want to encrypt is in "what" > * The cipher you want to use is aes-256 > * The key you want to use to do the encryption is in "theKey" > > > encrypt what using "aes-256-cbc" with theKey > put base64encode(it) into what #v. 1.6 was bit16 I didn?t realize the syntax allowed [key|passphrase] to be optional. Which is the default? The variable ?theKey? suggests key, but the usage implies passphrase. Dar From smaclean at madmansoft.com Sat Apr 26 11:37:44 2014 From: smaclean at madmansoft.com (Stephen MacLean) Date: Sat, 26 Apr 2014 11:37:44 -0400 Subject: Record and Play sound at same time IOS In-Reply-To: <366409E4-C0BD-4500-A8D4-B31A7AF62A80@westrac.com.au> References: , <4979AE85-7C36-4712-AC91-14251E5AB7A1@madmansoft.com>, <0C5628B3-8EE5-4EC9-AC3F-623CFC520477@westrac.com.au>, <3E970474-7773-41E6-AEFF-677248C3BD2C@westrac.com.au> <366409E4-C0BD-4500-A8D4-B31A7AF62A80@westrac.com.au> Message-ID: <587AC2AA-8089-4386-8406-90F2265295AD@madmansoft.com> I would not use the iPhonePlayOnChannel for playback if you have mergAV. Instead, use mergAVPlayer. You have much more control and the mergAVSessionCategory will effect it. I use both in an iOS app and they work great together, although I'm not trying to playback until the recording is finished. It does look like what you want to do is possible via both of these though because both use the AV framework from Apple. Best, Steve On Apr 26, 2014, at 5:34 AM, Nakia Brewer wrote: > Okay, > Had a small tinker and seems the same issue occurs. > > To check my understanding, am i to assume the mergAvSessionCategory effects the iphonePlayOnChannel command ? > > I think I may be miss interpreting how to achieve this... I am still using mergMicrophone to record the file and using iphonePlayOnChannel to play the file.. > > > > Sent from my iPhone > >> On 26 Apr 2014, at 6:05 pm, "Nakia Brewer" wrote: >> >> Just had a quick look through the commands for mergAV. >> >> Wow, it sure has a lot of functionality.. >> >> Sent from my iPhone >> >>> On 26 Apr 2014, at 5:02 pm, "Nakia Brewer" wrote: >>> >>> Okay will take a look. >>> >>> Will this allow me to ditch using the mergMicrophone external then ? >>> >>> Sent from my iPhone >>> >>>> On 26 Apr 2014, at 12:32 pm, "Stephen MacLean" wrote: >>>> >>>> Look to another of Monte's externals, mergAV. >>>> >>>> Specifically, you can set the AVsession to "play and record", which would allow that. The player you can create is also very powerful. >>>> >>>> Take a look at the commands for the external, down near the bottom of the page. >>>> >>>> Best, >>>> >>>> Steve MacLean >>>> >>>>> On Apr 25, 2014, at 8:41 PM, Nakia Brewer wrote: >>>>> >>>>> Hi, >>>>> >>>>> As a novelty I am trying to make a livecode IOS Speech Jammer App. >>>>> >>>>> For those that aren't aware this basically works by playing back you voice slightly delayed and it messes with your brain and you can't speak. >>>>> >>>>> Check this guy out for a laugh. >>>>> >>>>> http://youtu.be/oU9EGeMP5n4 >>>>> >>>>> Anyway, >>>>> Using montes mergMicrophone I have been able to get mostly there but have hit a stumble with playing back the file that is being recorded at the same time it's being recorded. >>>>> >>>>> I am using iphonePlaySoundOnChannel to play back the file but it looks like it only evaluates the file when it starts cashing it to not continue playing.. >>>>> >>>>> Anyone got any ideas on how to maybe get around this ? >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Sat Apr 26 11:54:34 2014 From: dsc at swcp.com (Dar Scott) Date: Sat, 26 Apr 2014 09:54:34 -0600 Subject: encrypt and decrypt on iOS In-Reply-To: References: Message-ID: <2C9BABC5-5D04-4C1F-88EF-2EA77F16FAF3@swcp.com> Hi, Sims! Are you planning for 7.0? Currently, and on 7.0 dp2, both the source and the password (passphrase) in the syntax you point out are byte strings. (And, if you use a key, it is a fixed length byte string.) The password is usually interpreted as characters and is typically longer than a key. If you limit your passphrase character set to ASCII, you are good for moving to 7.0. Use it as your password. (You can still move to Unicode later.) If you want to go full Unicode, you can use unicodeText and uniEncode to convert to UTF-8 for the password. When you move to 7.0, change that to a single textEncode(). You can upgrade from ASCII with with the ability to decrypt old data.. But if you are using your native 8-bit coding, you can have both cross platform problems and uniCode limitations. If you use your 8-bit encoding directly, you won?t be able to move to full Unicode with general compatibility with past passwords. You have already used up all 8 bits in the bytes. If you think you want to eventually move to full unicode, start converting to UTF-8 now. So, in summary I recommend either ASCII or UTF-8 for the password parameter. There may be some standards in the works concerning key generation (from passprhases) but this is good for your internal use. Dar On Apr 26, 2014, at 9:05 AM, Jim sims wrote: > Mike - thanks loads :-) > > I was trying to use the dictionary syntax: > > *Syntax: * > > encrypt *source* using *cipher* with [password|key] *passorkey *[and salt > saltvalue] [and IV *IVvalue*] [at *bitvalue* bit] > > I found your explanation much more friendly, in fact got it working first > shot. > > We think alike - I already use Monte's mergEXT, excellent Man & stuff. Also > plan on using the DropBox method for some things. Wanted to learn the > native LiveCode version however, i like to go native whenever i can ;-) > > Is there a webpage for the DropBox REST api effort you refer to? > > Thanks again, > > sims > > > On Sat, Apr 26, 2014 at 3:53 PM, Mike Kerner wrote: > >> One more thing - don't forget to decode before you decrypt. >> >> >> On Sat, Apr 26, 2014 at 9:52 AM, Mike Kerner >> wrote: >> >>> Jim, >>> >>> There are two ways to do encryption on ios in LC: >>> 1) Monte has an encryption external in his mergEXT suite >>> 2) You can use the native code. The native code uses OpenSSL. Due to >>> some technical issues it CAN be less secure than the libraries that Monte >>> is using, but that is something for you to decide. >>> >>> You should also encode the encrypted data (AFTER encryption) to ensure >>> that it transports properly. >>> >>> The syntax looks like this, assuming: >>> * The data you want to encrypt is in "what" >>> * The cipher you want to use is aes-256 >>> * The key you want to use to do the encryption is in "theKey" >>> >>> >>> encrypt what using "aes-256-cbc" with theKey >>> put base64encode(it) into what #v. 1.6 was bit16 >>> >>> >>> From here you would either embed "what" into an email or write to a file >>> and attach the file. >>> >>> >>> If it was me, and I was helping you, I would suggest that you do not send >>> email from ios, but that you use dropbox, because if you send email, your >>> user will get a chance to see the email and thus screw something up, >> maybe >>> by sending the encrypted data to somewhere else, or if you are directly >>> embedding the "what" container in an email, by accidentally deleting or >>> adding a character, or maybe a helpful introduction like "Here's the >>> email", which will screw up your decryption, of course. >>> >>> Dropbox integration is fairly straightforward. Monte has a couple of >>> externals in the mergEXT suite, and there is also an open-source library >>> that several of us have worked on that works (but it is arguably not as >>> fast as Monte's external, because it relies on Dropbox's REST API, so >> your >>> app will, in effect, have to sit there while the file(s) transfer). >>> >>> >>> >>> On Sat, Apr 26, 2014 at 3:16 AM, Jim sims wrote: >>> >>>> Am trying to figure out how to use the new Encrypt/Decrypt with iOS. >>>> >>>> I want to encrypt a few hundred words of data then send as a file >>>> attachment via email. I have zero idea what PEM format and such are. >>>> >>>> Anyone have a stack that shows how this is done? >>>> >>>> Would be great to have example stacks for new commands and features when >>>> new versions come out. >>>> >>>> sims >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> >>> -- >>> On the first day, God created the heavens and the Earth >>> On the second day, God created the oceans. >>> On the third day, God put the animals on hold for a few hours, >>> and did a little diving. >>> And God said, "This is good." >>> >> >> >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Sat Apr 26 11:59:15 2014 From: dsc at swcp.com (Dar Scott) Date: Sat, 26 Apr 2014 09:59:15 -0600 Subject: encrypt and decrypt on iOS In-Reply-To: <2C9BABC5-5D04-4C1F-88EF-2EA77F16FAF3@swcp.com> References: <2C9BABC5-5D04-4C1F-88EF-2EA77F16FAF3@swcp.com> Message-ID: <6C5CCD3D-9264-4109-964B-6E7F732DFD35@swcp.com> Oh, and consider doing the same for the string to be encrypted if consists of characters. On Apr 26, 2014, at 9:54 AM, Dar Scott wrote: > Hi, Sims! > > Are you planning for 7.0? > > Currently, and on 7.0 dp2, both the source and the password (passphrase) in the syntax you point out are byte strings. (And, if you use a key, it is a fixed length byte string.) > > The password is usually interpreted as characters and is typically longer than a key. > > If you limit your passphrase character set to ASCII, you are good for moving to 7.0. Use it as your password. (You can still move to Unicode later.) > > If you want to go full Unicode, you can use unicodeText and uniEncode to convert to UTF-8 for the password. When you move to 7.0, change that to a single textEncode(). You can upgrade from ASCII with with the ability to decrypt old data.. > > But if you are using your native 8-bit coding, you can have both cross platform problems and uniCode limitations. If you use your 8-bit encoding directly, you won?t be able to move to full Unicode with general compatibility with past passwords. You have already used up all 8 bits in the bytes. If you think you want to eventually move to full unicode, start converting to UTF-8 now. > > So, in summary I recommend either ASCII or UTF-8 for the password parameter. > > There may be some standards in the works concerning key generation (from passprhases) but this is good for your internal use. > > Dar > > > > > On Apr 26, 2014, at 9:05 AM, Jim sims wrote: > >> Mike - thanks loads :-) >> >> I was trying to use the dictionary syntax: >> >> *Syntax: * >> >> encrypt *source* using *cipher* with [password|key] *passorkey *[and salt >> saltvalue] [and IV *IVvalue*] [at *bitvalue* bit] >> >> I found your explanation much more friendly, in fact got it working first >> shot. >> >> We think alike - I already use Monte's mergEXT, excellent Man & stuff. Also >> plan on using the DropBox method for some things. Wanted to learn the >> native LiveCode version however, i like to go native whenever i can ;-) >> >> Is there a webpage for the DropBox REST api effort you refer to? >> >> Thanks again, >> >> sims >> >> >> On Sat, Apr 26, 2014 at 3:53 PM, Mike Kerner wrote: >> >>> One more thing - don't forget to decode before you decrypt. >>> >>> >>> On Sat, Apr 26, 2014 at 9:52 AM, Mike Kerner >>> wrote: >>> >>>> Jim, >>>> >>>> There are two ways to do encryption on ios in LC: >>>> 1) Monte has an encryption external in his mergEXT suite >>>> 2) You can use the native code. The native code uses OpenSSL. Due to >>>> some technical issues it CAN be less secure than the libraries that Monte >>>> is using, but that is something for you to decide. >>>> >>>> You should also encode the encrypted data (AFTER encryption) to ensure >>>> that it transports properly. >>>> >>>> The syntax looks like this, assuming: >>>> * The data you want to encrypt is in "what" >>>> * The cipher you want to use is aes-256 >>>> * The key you want to use to do the encryption is in "theKey" >>>> >>>> >>>> encrypt what using "aes-256-cbc" with theKey >>>> put base64encode(it) into what #v. 1.6 was bit16 >>>> >>>> >>>> From here you would either embed "what" into an email or write to a file >>>> and attach the file. >>>> >>>> >>>> If it was me, and I was helping you, I would suggest that you do not send >>>> email from ios, but that you use dropbox, because if you send email, your >>>> user will get a chance to see the email and thus screw something up, >>> maybe >>>> by sending the encrypted data to somewhere else, or if you are directly >>>> embedding the "what" container in an email, by accidentally deleting or >>>> adding a character, or maybe a helpful introduction like "Here's the >>>> email", which will screw up your decryption, of course. >>>> >>>> Dropbox integration is fairly straightforward. Monte has a couple of >>>> externals in the mergEXT suite, and there is also an open-source library >>>> that several of us have worked on that works (but it is arguably not as >>>> fast as Monte's external, because it relies on Dropbox's REST API, so >>> your >>>> app will, in effect, have to sit there while the file(s) transfer). >>>> >>>> >>>> >>>> On Sat, Apr 26, 2014 at 3:16 AM, Jim sims wrote: >>>> >>>>> Am trying to figure out how to use the new Encrypt/Decrypt with iOS. >>>>> >>>>> I want to encrypt a few hundred words of data then send as a file >>>>> attachment via email. I have zero idea what PEM format and such are. >>>>> >>>>> Anyone have a stack that shows how this is done? >>>>> >>>>> Would be great to have example stacks for new commands and features when >>>>> new versions come out. >>>>> >>>>> sims >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> >>>> >>>> >>>> -- >>>> On the first day, God created the heavens and the Earth >>>> On the second day, God created the oceans. >>>> On the third day, God put the animals on hold for a few hours, >>>> and did a little diving. >>>> And God said, "This is good." >>>> >>> >>> >>> >>> -- >>> On the first day, God created the heavens and the Earth >>> On the second day, God created the oceans. >>> On the third day, God put the animals on hold for a few hours, >>> and did a little diving. >>> And God said, "This is good." >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 26 11:59:20 2014 From: pete at lcsql.com (Peter Haworth) Date: Sat, 26 Apr 2014 08:59:20 -0700 Subject: RunRevInstaller Issue Message-ID: RunrevInstaller is chewing up around 70-80% of the CPU on my Mac running OSX 10.7.4. I believe it's the 6.7 DP2 installer. That's what shows up in Activity Monitor yet, the installer doesn't show up as a running program in the dock. I've terminated it but wondering if anyone else has come across this. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From pete at lcsql.com Sat Apr 26 12:01:11 2014 From: pete at lcsql.com (Peter Haworth) Date: Sat, 26 Apr 2014 09:01:11 -0700 Subject: Backdrop in in 6.7.0 dp2 under Lubuntu Linux 13.10 In-Reply-To: <535BCE64.9000300@gmail.com> References: <1398482591802-4678701.post@n4.nabble.com> <535BCE64.9000300@gmail.com> Message-ID: Already there - 12302 Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sat, Apr 26, 2014 at 8:19 AM, Richmond wrote: > On 26/04/14 17:19, Peter Haworth wrote: > >> Backdrop is messed up on OSX also. Plugins loaded at startup disappear >> and >> when you get them back, clicking on the backdrop hides them again. >> >> Also, parts of Livecode are still visible. >> >> Pete >> >> > Time for a bug report. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Sat Apr 26 12:02:54 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 26 Apr 2014 19:02:54 +0300 Subject: Backdrop in in 6.7.0 dp2 under Lubuntu Linux 13.10 In-Reply-To: References: <1398482591802-4678701.post@n4.nabble.com> <535BCE64.9000300@gmail.com> Message-ID: <535BD8AE.8050403@gmail.com> On 26/04/14 19:01, Peter Haworth wrote: > Already there - 12302 > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin Good stuff! Richmond. From green.rodney at gmail.com Sat Apr 26 12:24:17 2014 From: green.rodney at gmail.com (Rodney Green) Date: Sat, 26 Apr 2014 12:24:17 -0400 Subject: MS SQL In-Reply-To: References: <53572699.1090103@hyperactivesw.com> Message-ID: Thanks Matthias, that's good to know. I'm using the evaluation version but I think that its supposed to return 3 rows of data. This should work in the LC IDE correct? Any ideas on how I can trap this error? On Fri, Apr 25, 2014 at 7:22 PM, Matthias Rebbe | M-R-D < matthias_livecode_150811 at m-r-d.de> wrote: > Hi Rodney, > > i am using the Actualtech ODBC driver with Microsoft SQL server without > problems. > Just to be sure that there are no problems with newer versions of LC i did > a quick test right now with one of my projects with LC 6.7.0DP2, > Actualtech ODBC driver version 3.2.3 and MS SQL Server 2005 and 2008. > My select query is about 70 lines contains several case statements with > several replace statements and several joins. All is working as expected > even over VPN. > > Regards, > > Matthias > > > > > > Am 25.04.2014 um 00:51 schrieb Rodney Green : > > > I'm curious, does anyone have a project that uses the revDataFromQuery() > > command? And does anyone use the Actual Technologies ODBC driver? > > > > > > On Thu, Apr 24, 2014 at 9:23 AM, Rodney Green >wrote: > > > >> I'll put in a bug report for this. Does anyone have any kind of > >> work-around for this? Have there been any updates to database in the > >> developer previews? Maybe I'll give a DP a try. > >> > >> > >> On Wed, Apr 23, 2014 at 7:53 PM, Rodney Green >wrote: > >> > >>> I tried it in 6.6 and 6.6.1. I'm using Actual Technologies ODBC manager > >>> (demo). And I can connect successfully to the SQL server with Navicat. > I'm > >>> on a Mac (10.9.2) and connecting via a VPN. > >>> > >>> > >>> On Wed, Apr 23, 2014 at 7:17 PM, Peter Haworth wrote: > >>> > >>>> That seems strange - I wouldn't expect to see field names, just the > data > >>>> in > >>>> them. What version of LC are you using? Might be time to enter a bug > >>>> report. > >>>> > >>>> Pete > >>>> lcSQL Software > >>>> Home of lcStackBrowser and > >>>> SQLiteAdmin > >>>> > >>>> > >>>> On Wed, Apr 23, 2014 at 2:47 PM, Rodney Green >>>>> wrote: > >>>> > >>>>> I turned on tracing in the odbc driver and I can see field names in > the > >>>>> data. So I'm assuming the query is working. But still can't figure > out > >>>> why > >>>>> LC is hanging. I have database checked in the stand alone settings, > not > >>>>> sure if this matters while in LC. Any ideas how I can track down why > >>>> LC is > >>>>> hanging? > >>>>> > >>>>> > >>>>> On Wed, Apr 23, 2014 at 10:13 AM, Peter Haworth > >>>> wrote: > >>>>> > >>>>>> In gmail, you can fix that by using the "Paste and match style" > >>>> option on > >>>>>> the edit menu. > >>>>>> > >>>>>> Pete > >>>>>> lcSQL Software > >>>>>> On Apr 22, 2014 7:34 PM, "J. Landman Gay" > > >>>>>> wrote: > >>>>>> > >>>>>>> On 4/22/14, 6:49 PM, Kay C Lan wrote: > >>>>>>> > >>>>>>>> I don't know if it's just your email client but what I'm seeing > >>>> is an > >>>>>>>> asterisk * around the words get, put and return which shouldn't be > >>>>>> there. > >>>>>>>> > >>>>>>> > >>>>>>> That happens to all keywords when a colorized script is copied > >>>> from the > >>>>>>> script editor and pasted into a text-only email list. I see it > >>>> here all > >>>>>> the > >>>>>>> time. > >>>>>>> > >>>>>>> -- > >>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com > >>>>>>> HyperActive Software | http://www.hyperactivesw.com > >>>>>>> > >>>>>>> _______________________________________________ > >>>>>>> use-livecode mailing list > >>>>>>> use-livecode at lists.runrev.com > >>>>>>> Please visit this url to subscribe, unsubscribe and manage your > >>>>>>> subscription preferences: > >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>>>> > >>>>>> _______________________________________________ > >>>>>> use-livecode mailing list > >>>>>> use-livecode at lists.runrev.com > >>>>>> Please visit this url to subscribe, unsubscribe and manage your > >>>>>> subscription preferences: > >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>>> > >>>>> _______________________________________________ > >>>>> use-livecode mailing list > >>>>> use-livecode at lists.runrev.com > >>>>> Please visit this url to subscribe, unsubscribe and manage your > >>>>> subscription preferences: > >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > >>>> subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>> > >>> > >>> > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 26 12:36:25 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 26 Apr 2014 09:36:25 -0700 Subject: Backdrop in in 6.7.0 dp2 under Lubuntu Linux 13.10 In-Reply-To: <1398482591802-4678701.post@n4.nabble.com> References: <1398482591802-4678701.post@n4.nabble.com> Message-ID: <106472004743.20140426093625@ahsoftware.net> Alejandro- Friday, April 25, 2014, 8:23:11 PM, you wrote: > Read this report: > http://quality.runrev.com/show_bug.cgi?id=11603 > Backdrop is not displayed on Linux I don't understand why this is a problem. The bug report shows a status of "awaiting build", which would indicate that the bug has been fixed and will no longer be a problem in the next dp release. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From mwieder at ahsoftware.net Sat Apr 26 12:51:35 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 26 Apr 2014 09:51:35 -0700 Subject: Backdrop in in 6.7.0 dp2 under Lubuntu Linux 13.10 In-Reply-To: <106472004743.20140426093625@ahsoftware.net> References: <1398482591802-4678701.post@n4.nabble.com> <106472004743.20140426093625@ahsoftware.net> Message-ID: <76472914687.20140426095135@ahsoftware.net> Hmmm- Saturday, April 26, 2014, 9:36:25 AM, I wrote: > I don't understand why this is a problem. > The bug report shows a status of "awaiting build", which would > indicate that the bug has been fixed and will no longer be a problem > in the next dp release. ...although maybe I spoke too soon. I see the last comment from Ian was on 15 April and dp2 was released on 17 April. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From dochawk at gmail.com Sat Apr 26 13:01:11 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 26 Apr 2014 10:01:11 -0700 Subject: "flattening" ouput pdf Message-ID: I am using "print cardName into . . . " to generate pdf output. This leaves me many (but not all) editable fields and clickable checkboxes. As this is for filing with court, and these "survive" the court impact, this is bad. Very bad. Is there a way to "flatten" the pdf output so that it isn't editable? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From mwieder at ahsoftware.net Sat Apr 26 13:20:24 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 26 Apr 2014 10:20:24 -0700 Subject: Backdrop in in 6.7.0 dp2 under Lubuntu Linux 13.10 In-Reply-To: <76472914687.20140426095135@ahsoftware.net> References: <1398482591802-4678701.post@n4.nabble.com> <106472004743.20140426093625@ahsoftware.net> <76472914687.20140426095135@ahsoftware.net> Message-ID: <16700294.20140426102024@ahsoftware.net> Talking to myself- Saturday, April 26, 2014, 9:51:35 AM, I wrote: > Hmmm- > Saturday, April 26, 2014, 9:36:25 AM, I wrote: >> I don't understand why this is a problem. >> The bug report shows a status of "awaiting build", which would >> indicate that the bug has been fixed and will no longer be a problem >> in the next dp release. > ...although maybe I spoke too soon. I see the last comment from Ian > was on 15 April and dp2 was released on 17 April. Nonetheless, backdrops are working properly in 6.7-dp2 on linux mint 14, and there are no backdrops in dp1, so it does look like the problem is fixed. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From richmondmathewson at gmail.com Sat Apr 26 13:46:32 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 26 Apr 2014 20:46:32 +0300 Subject: "flattening" ouput pdf In-Reply-To: References: Message-ID: <535BF0F8.9000409@gmail.com> On 26/04/14 20:01, Dr. Hawkins wrote: > I am using "print cardName into . . . " to generate pdf output. > > This leaves me many (but not all) editable fields and clickable checkboxes. > > As this is for filing with court, and these "survive" the court impact, > this is bad. Very bad. > > Is there a way to "flatten" the pdf output so that it isn't editable? > As far as I know there are 2 types of PDF: Those with an embedded text layer, and those without one. As I had a "lot of fun" a while back rescuing some work done on a Macintosh under Mac OS 8.1 with Clarisworks I tried to export the text (opened in my G3 iMac running 9.2) it as a PDF with an embedded text layer and got a "flat" pdf; later on I managed to import the file into Mac OS 10.4 running Appleworks 6 (the son of Clarisworks), have a lot of fun with bitmapped fonts, and get a pdf with an embedded text layer. Your problem seems to be the reverse: you don't want an embedded text layer. Reading in the Documentation I came cross this: "The implementation of pdf printing resides in a dynamic library called revpdfprinter." The question at this point is whether the presence of an embedded text layer is determined by 'revpdfprinter' or the operating system LC is operating on. 'revpdfprinter' is nowhere to be seen in the Application Browser. It might not be a bad idea to have a look here: https://github.com/runrev/livecode/tree/master/revpdfprinter The only snag about this is that it does not contain a livecode stack, just raw code. There is also a 'revpdfprinter.so' file inside the Livecode folder; But I have not had much joy opening it. Richmond. From richmondmathewson at gmail.com Sat Apr 26 13:48:28 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 26 Apr 2014 20:48:28 +0300 Subject: Backdrop in in 6.7.0 dp2 under Lubuntu Linux 13.10 In-Reply-To: <16700294.20140426102024@ahsoftware.net> References: <1398482591802-4678701.post@n4.nabble.com> <106472004743.20140426093625@ahsoftware.net> <76472914687.20140426095135@ahsoftware.net> <16700294.20140426102024@ahsoftware.net> Message-ID: <535BF16C.5040700@gmail.com> On 26/04/14 20:20, Mark Wieder wrote: > Talking to myself- > > Saturday, April 26, 2014, 9:51:35 AM, I wrote: > >> Hmmm- >> Saturday, April 26, 2014, 9:36:25 AM, I wrote: >>> I don't understand why this is a problem. >>> The bug report shows a status of "awaiting build", which would >>> indicate that the bug has been fixed and will no longer be a problem >>> in the next dp release. >> ...although maybe I spoke too soon. I see the last comment from Ian >> was on 15 April and dp2 was released on 17 April. > Nonetheless, backdrops are working properly in 6.7-dp2 on linux mint > 14, and there are no backdrops in dp1, so it does look like the > problem is fixed. > NO: the problem has NOT been fixed: it works OK on Linux Mint; jolly good. It does not work (as I posted earlier) on Ubuntu Studio 14.04. Defining "fixed" as 'it works on Linux Mint' is a bit . . . Richmond. From richmondmathewson at gmail.com Sat Apr 26 14:09:06 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 26 Apr 2014 21:09:06 +0300 Subject: "flattening" ouput pdf In-Reply-To: <535BF0F8.9000409@gmail.com> References: <535BF0F8.9000409@gmail.com> Message-ID: <535BF642.3090009@gmail.com> On 26/04/14 20:46, Richmond wrote: > On 26/04/14 20:01, Dr. Hawkins wrote: >> I am using "print cardName into . . . " to generate pdf output. >> >> This leaves me many (but not all) editable fields and clickable >> checkboxes. >> >> As this is for filing with court, and these "survive" the court impact, >> this is bad. Very bad. >> >> Is there a way to "flatten" the pdf output so that it isn't editable? >> > > As far as I know there are 2 types of PDF: > > Those with an embedded text layer, > > and those without one. > > As I had a "lot of fun" a while back rescuing some work done on a > Macintosh under Mac OS 8.1 > with Clarisworks I tried to export the text (opened in my G3 iMac > running 9.2) it as a PDF with > an embedded text layer and got a "flat" pdf; later on I managed to > import the file into Mac OS 10.4 > running Appleworks 6 (the son of Clarisworks), have a lot of fun with > bitmapped fonts, and > get a pdf with an embedded text layer. > > Your problem seems to be the reverse: you don't want an embedded text > layer. > > Reading in the Documentation I came cross this: > > "The implementation of pdf printing resides in a dynamic library > called revpdfprinter." > > The question at this point is whether the presence of an embedded text > layer is determined by > 'revpdfprinter' or the operating system LC is operating on. > > 'revpdfprinter' is nowhere to be seen in the Application Browser. > > It might not be a bad idea to have a look here: > > https://github.com/runrev/livecode/tree/master/revpdfprinter > > The only snag about this is that it does not contain a livecode stack, > just raw code. > > There is also a 'revpdfprinter.so' file inside the Livecode folder; > > But I have not had much joy opening it. > > Richmond. Frankly; if you don't want anybody extracting text from your exported files you might be better exporting them as image files ?????? Richmond. From mwieder at ahsoftware.net Sat Apr 26 14:15:20 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 26 Apr 2014 11:15:20 -0700 Subject: Backdrop in in 6.7.0 dp2 under Lubuntu Linux 13.10 In-Reply-To: <535BF16C.5040700@gmail.com> References: <1398482591802-4678701.post@n4.nabble.com> <106472004743.20140426093625@ahsoftware.net> <76472914687.20140426095135@ahsoftware.net> <16700294.20140426102024@ahsoftware.net> <535BF16C.5040700@gmail.com> Message-ID: <1333995998.20140426111520@ahsoftware.net> Richmond- Saturday, April 26, 2014, 10:48:28 AM, you wrote: > It does not work (as I posted earlier) on Ubuntu Studio 14.04. > Defining "fixed" as 'it works on Linux Mint' is a bit . . . ...Yeah. I gave up on Ubuntu a long time ago because of Things Like This. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From matthias_livecode_150811 at m-r-d.de Sat Apr 26 14:31:24 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Sat, 26 Apr 2014 20:31:24 +0200 Subject: MS SQL In-Reply-To: References: <53572699.1090103@hyperactivesw.com> Message-ID: Hi Rodney, Am 26.04.2014 um 18:24 schrieb Rodney Green : > Any ideas on how I can trap this error? > There are 2 things you could try. You could try to use the legacy database drivers in LC. In LC?s preferences go to "compatiblity" and activate "Use legacy drivers" This will force Livecode to download and use the data base drivers of version 2.8.1 Another possibility is to ask Acutaltech?s support. They are really helpful. To save some time you could send a logfile from the Actualtech ODBC drivers with your support request. I am pretty sure they will ask for it. Please follow the 7 steps below to create the log file: 1. Quit your application 2. Using the ODBC Manager (in /Applications/Utilities), select your DSN and press Configure 3. On the first panel, press "About" 4. Click on the Actual Technologies logo (the puzzle pieces) 5 times. You should see the following appear: "Log file: /Users//Library/Logs/atsqlsrv.log 5. Restart your application, and using as few steps as possible, reproduce the problem 6. Go back to the About dialog and click on the logo 5 more times to disable logging 7. Send the following files to support(at)actualtech.com (located in the "/Users//Library/Logs" folder): a. atsqlsrv.log b. atsqlsrv.log.tds and include as much information as you can. Maybe they can find out what is going wrong. Hope this helps. Regards, Matthias > > On Fri, Apr 25, 2014 at 7:22 PM, Matthias Rebbe | M-R-D < > matthias_livecode_150811 at m-r-d.de> wrote: > >> Hi Rodney, >> >> i am using the Actualtech ODBC driver with Microsoft SQL server without >> problems. >> Just to be sure that there are no problems with newer versions of LC i did >> a quick test right now with one of my projects with LC 6.7.0DP2, >> Actualtech ODBC driver version 3.2.3 and MS SQL Server 2005 and 2008. >> My select query is about 70 lines contains several case statements with >> several replace statements and several joins. All is working as expected >> even over VPN. >> >> Regards, >> >> Matthias >> >> >> >> >> >> Am 25.04.2014 um 00:51 schrieb Rodney Green : >> >>> I'm curious, does anyone have a project that uses the revDataFromQuery() >>> command? And does anyone use the Actual Technologies ODBC driver? >>> >>> >>> On Thu, Apr 24, 2014 at 9:23 AM, Rodney Green >> wrote: >>> >>>> I'll put in a bug report for this. Does anyone have any kind of >>>> work-around for this? Have there been any updates to database in the >>>> developer previews? Maybe I'll give a DP a try. >>>> >>>> >>>> On Wed, Apr 23, 2014 at 7:53 PM, Rodney Green >> wrote: >>>> >>>>> I tried it in 6.6 and 6.6.1. I'm using Actual Technologies ODBC manager >>>>> (demo). And I can connect successfully to the SQL server with Navicat. >> I'm >>>>> on a Mac (10.9.2) and connecting via a VPN. >>>>> >>>>> >>>>> On Wed, Apr 23, 2014 at 7:17 PM, Peter Haworth wrote: >>>>> >>>>>> That seems strange - I wouldn't expect to see field names, just the >> data >>>>>> in >>>>>> them. What version of LC are you using? Might be time to enter a bug >>>>>> report. >>>>>> >>>>>> Pete >>>>>> lcSQL Software >>>>>> Home of lcStackBrowser and >>>>>> SQLiteAdmin >>>>>> >>>>>> >>>>>> On Wed, Apr 23, 2014 at 2:47 PM, Rodney Green >>>>>> wrote: >>>>>> >>>>>>> I turned on tracing in the odbc driver and I can see field names in >> the >>>>>>> data. So I'm assuming the query is working. But still can't figure >> out >>>>>> why >>>>>>> LC is hanging. I have database checked in the stand alone settings, >> not >>>>>>> sure if this matters while in LC. Any ideas how I can track down why >>>>>> LC is >>>>>>> hanging? >>>>>>> >>>>>>> >>>>>>> On Wed, Apr 23, 2014 at 10:13 AM, Peter Haworth >>>>>> wrote: >>>>>>> >>>>>>>> In gmail, you can fix that by using the "Paste and match style" >>>>>> option on >>>>>>>> the edit menu. >>>>>>>> >>>>>>>> Pete >>>>>>>> lcSQL Software >>>>>>>> On Apr 22, 2014 7:34 PM, "J. Landman Gay" >> >>>>>>>> wrote: >>>>>>>> >>>>>>>>> On 4/22/14, 6:49 PM, Kay C Lan wrote: >>>>>>>>> >>>>>>>>>> I don't know if it's just your email client but what I'm seeing >>>>>> is an >>>>>>>>>> asterisk * around the words get, put and return which shouldn't be >>>>>>>> there. >>>>>>>>>> >>>>>>>>> >>>>>>>>> That happens to all keywords when a colorized script is copied >>>>>> from the >>>>>>>>> script editor and pasted into a text-only email list. I see it >>>>>> here all >>>>>>>> the >>>>>>>>> time. >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> use-livecode mailing list >>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>>>>> subscription preferences: >>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>>>> subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>>> subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> >>>>> >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sat Apr 26 14:33:00 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 26 Apr 2014 21:33:00 +0300 Subject: Backdrop in in 6.7.0 dp2 under Lubuntu Linux 13.10 In-Reply-To: <1333995998.20140426111520@ahsoftware.net> References: <1398482591802-4678701.post@n4.nabble.com> <106472004743.20140426093625@ahsoftware.net> <76472914687.20140426095135@ahsoftware.net> <16700294.20140426102024@ahsoftware.net> <535BF16C.5040700@gmail.com> <1333995998.20140426111520@ahsoftware.net> Message-ID: <535BFBDC.9050206@gmail.com> On 26/04/14 21:15, Mark Wieder wrote: > Richmond- > > Saturday, April 26, 2014, 10:48:28 AM, you wrote: > >> It does not work (as I posted earlier) on Ubuntu Studio 14.04. >> Defining "fixed" as 'it works on Linux Mint' is a bit . . . > ...Yeah. I gave up on Ubuntu a long time ago because of Things Like > This. > Maybe you did give up on Ubuntu: but, like Ubuntu or not, it is the dominant form of Linux at the moment: and if this sort of thing "f***s up on Ubuntu" it does not count as 'fixed'. For the sake of argument: I have a friend in Botswana who got hold of a load of "charitable gifts"; a bunch of Pentium IV machines with no operating systems. He put some type of Ubuntu on them . . . why?; well; the chap knows next to nothing about computers or operating systems; knows Ubuntu is FREE, some of his co-workers feel groovy because they know that 'Ubuntu' is a Swahili buzzword, seems to have the most online support . . . tiddly pom! That chap had a terrible time installing Ubuntu; not because of Ubuntu as such, but due to the fact he is a teacher, not a computer chap. Having sweated his way through that he is not likely to want to do that all over again with Linux Mint. Luckily he uses my EFL standalones that have been authored with RunRev 2.1.1 and Livecode 4.5, and don't use a backdrop; so his case is neither here nor there at the moment . . . BUT; should my friend, and thousands like him, decide to start teaching Livecode and/or developing their own stuff this may become a problem. --------------------------------------- I have never been enamoured of the built-in backdrop, and in my Devawriter Pro I have the option of a backdrop using a tiled image. Richmond. From matthias_livecode_150811 at m-r-d.de Sat Apr 26 14:38:14 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Sat, 26 Apr 2014 20:38:14 +0200 Subject: MS SQL In-Reply-To: References: <53572699.1090103@hyperactivesw.com> Message-ID: Ah, i forgot a 3rd option. Try the odbc driver from Openlink Software. http://uda.openlinksw.com/odbc-sqlserver-ee/ They are also offering a evaluation of it. Regards, Matthias Am 26.04.2014 um 20:31 schrieb Matthias Rebbe | M-R-D : > Hi Rodney, > > > Am 26.04.2014 um 18:24 schrieb Rodney Green : > >> Any ideas on how I can trap this error? >> > There are 2 things you could try. > > You could try to use the legacy database drivers in LC. In LC?s preferences go to "compatiblity" and activate "Use legacy drivers" > This will force Livecode to download and use the data base drivers of version 2.8.1 > > Another possibility is to ask Acutaltech?s support. They are really helpful. To save some time you could send a logfile from the Actualtech ODBC drivers > with your support request. I am pretty sure they will ask for it. > > Please follow the 7 steps below to create the log file: > 1. Quit your application > 2. Using the ODBC Manager (in /Applications/Utilities), select your DSN and press Configure > 3. On the first panel, press "About" > 4. Click on the Actual Technologies logo (the puzzle pieces) 5 times. You should see the following appear: "Log file: /Users//Library/Logs/atsqlsrv.log > 5. Restart your application, and using as few steps as possible, reproduce the problem > 6. Go back to the About dialog and click on the logo 5 more times to disable logging > 7. Send the following files to support(at)actualtech.com (located in the "/Users//Library/Logs" folder): > a. atsqlsrv.log > b. atsqlsrv.log.tds > > and include as much information as you can. > > Maybe they can find out what is going wrong. > > > Hope this helps. > > Regards, > > Matthias > > > > > >> >> On Fri, Apr 25, 2014 at 7:22 PM, Matthias Rebbe | M-R-D < >> matthias_livecode_150811 at m-r-d.de> wrote: >> >>> Hi Rodney, >>> >>> i am using the Actualtech ODBC driver with Microsoft SQL server without >>> problems. >>> Just to be sure that there are no problems with newer versions of LC i did >>> a quick test right now with one of my projects with LC 6.7.0DP2, >>> Actualtech ODBC driver version 3.2.3 and MS SQL Server 2005 and 2008. >>> My select query is about 70 lines contains several case statements with >>> several replace statements and several joins. All is working as expected >>> even over VPN. >>> >>> Regards, >>> >>> Matthias >>> >>> >>> >>> >>> >>> Am 25.04.2014 um 00:51 schrieb Rodney Green : >>> >>>> I'm curious, does anyone have a project that uses the revDataFromQuery() >>>> command? And does anyone use the Actual Technologies ODBC driver? >>>> >>>> >>>> On Thu, Apr 24, 2014 at 9:23 AM, Rodney Green >>> wrote: >>>> >>>>> I'll put in a bug report for this. Does anyone have any kind of >>>>> work-around for this? Have there been any updates to database in the >>>>> developer previews? Maybe I'll give a DP a try. >>>>> >>>>> >>>>> On Wed, Apr 23, 2014 at 7:53 PM, Rodney Green >>> wrote: >>>>> >>>>>> I tried it in 6.6 and 6.6.1. I'm using Actual Technologies ODBC manager >>>>>> (demo). And I can connect successfully to the SQL server with Navicat. >>> I'm >>>>>> on a Mac (10.9.2) and connecting via a VPN. >>>>>> >>>>>> >>>>>> On Wed, Apr 23, 2014 at 7:17 PM, Peter Haworth wrote: >>>>>> >>>>>>> That seems strange - I wouldn't expect to see field names, just the >>> data >>>>>>> in >>>>>>> them. What version of LC are you using? Might be time to enter a bug >>>>>>> report. >>>>>>> >>>>>>> Pete >>>>>>> lcSQL Software >>>>>>> Home of lcStackBrowser and >>>>>>> SQLiteAdmin >>>>>>> >>>>>>> >>>>>>> On Wed, Apr 23, 2014 at 2:47 PM, Rodney Green >>>>>>> wrote: >>>>>>> >>>>>>>> I turned on tracing in the odbc driver and I can see field names in >>> the >>>>>>>> data. So I'm assuming the query is working. But still can't figure >>> out >>>>>>> why >>>>>>>> LC is hanging. I have database checked in the stand alone settings, >>> not >>>>>>>> sure if this matters while in LC. Any ideas how I can track down why >>>>>>> LC is >>>>>>>> hanging? >>>>>>>> >>>>>>>> >>>>>>>> On Wed, Apr 23, 2014 at 10:13 AM, Peter Haworth >>>>>>> wrote: >>>>>>>> >>>>>>>>> In gmail, you can fix that by using the "Paste and match style" >>>>>>> option on >>>>>>>>> the edit menu. >>>>>>>>> >>>>>>>>> Pete >>>>>>>>> lcSQL Software >>>>>>>>> On Apr 22, 2014 7:34 PM, "J. Landman Gay" >>> >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> On 4/22/14, 6:49 PM, Kay C Lan wrote: >>>>>>>>>> >>>>>>>>>>> I don't know if it's just your email client but what I'm seeing >>>>>>> is an >>>>>>>>>>> asterisk * around the words get, put and return which shouldn't be >>>>>>>>> there. >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> That happens to all keywords when a colorized script is copied >>>>>>> from the >>>>>>>>>> script editor and pasted into a text-only email list. I see it >>>>>>> here all >>>>>>>>> the >>>>>>>>>> time. >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> use-livecode mailing list >>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>>>>>> subscription preferences: >>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> use-livecode mailing list >>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>>>>> subscription preferences: >>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>>>> subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>>> subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>> >>>>>> >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sat Apr 26 14:48:22 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 26 Apr 2014 21:48:22 +0300 Subject: "flattening" ouput pdf In-Reply-To: References: Message-ID: <535BFF76.6000403@gmail.com> I ran up a little stack (as one does) containing a field "fff" and a button "Print to PDF" containing the following script: on mouseUp ask file "Save as:" with "Print.pdf" put it into tFileName if tFileName is empty then exit to top set the printerOutput to "file:" & tFileName revShowPrintDialog false, false revPrintField the long name of fld "fff" end mouseUp which produced a PDF document that, on Linux at least, was "a bit odd" (possibly in the way you want): Adobe Reader 9 had this to say: "Adobe Reader could not open 'Print.pdf' because it is either not a supported file type or because the file has been damaged . . ." Ubuntu Studio's built in PDF reader opened the document with not problem at all but the text was completely unselectable. HOWEVER: on setting up a second button "LC Print to PDF" with this: on mouseUp open printing to pdf "Print2.pdf" print card ID 1002 close printing end mouseUp I got an image of the card containing selectable and copiable text. Not much use as it did not allow me to make a PDF of the field alone. Richmond. From dochawk at gmail.com Sat Apr 26 14:50:06 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 26 Apr 2014 11:50:06 -0700 Subject: "flattening" ouput pdf In-Reply-To: <535BF642.3090009@gmail.com> References: <535BF0F8.9000409@gmail.com> <535BF642.3090009@gmail.com> Message-ID: On Sat, Apr 26, 2014 at 11:09 AM, Richmond wrote: > Frankly; if you don't want anybody extracting text from your exported > files you might be better > exporting them as image files ?????? > Those get big, fast. We have a 3mb limit per file, and 90 page petitions aren't that rare . . . plus the searchable file is nice . . . Plus they're making noises about mandatory pdf/A, and . . . It's not so much that *I* don't want the searching to occur, but that the *court* doesn't fix/flatten whatever when it filestamps things (with one of the local trustees' new pdf documents, if I open in preview, I get the court stamp on the "need Acrobat latest & greatest" message, while with acrobat/acroreader, I get the document with no stamp . . . pdf is an abomination). -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Sat Apr 26 14:55:19 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 26 Apr 2014 21:55:19 +0300 Subject: "flattening" ouput pdf In-Reply-To: References: <535BF0F8.9000409@gmail.com> <535BF642.3090009@gmail.com> Message-ID: <535C0117.8060605@gmail.com> On 26/04/14 21:50, Dr. Hawkins wrote: > On Sat, Apr 26, 2014 at 11:09 AM, Richmond wrote: > >> Frankly; if you don't want anybody extracting text from your exported >> files you might be better >> exporting them as image files ?????? >> > Those get big, fast. We have a 3mb limit per file, and 90 page petitions > aren't that rare . . . plus the searchable file is nice . . . Plus they're > making noises about mandatory pdf/A, and . . . > > It's not so much that *I* don't want the searching to occur, but that the > *court* doesn't fix/flatten whatever when it filestamps things (with one of > the local trustees' new pdf documents, if I open in preview, I get the > court stamp on the "need Acrobat latest & greatest" message, while with > acrobat/acroreader, I get the document with no stamp . . . pdf is an > abomination). > > I'm being a bit goofy: I don't quite understand what you mean by: *court* or the court stamp. Would I be correct in thinking that the court stamp might be a transparent image of the court's seal overlaid on a text? If that is what you want, then surely the thing might be to group the seal image over the text field and then export the whole thing as a PDF: therefore getting a text with stamp overlaid and unselectable text all in one. Richmond. From dochawk at gmail.com Sat Apr 26 15:08:05 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 26 Apr 2014 12:08:05 -0700 Subject: "flattening" ouput pdf In-Reply-To: <535C0117.8060605@gmail.com> References: <535BF0F8.9000409@gmail.com> <535BF642.3090009@gmail.com> <535C0117.8060605@gmail.com> Message-ID: On Sat, Apr 26, 2014 at 11:55 AM, Richmond wrote: > > I'm being a bit goofy: I don't quite understand what you mean by: > > *court* > > The United States Bankruptcy Court. We don't file on paper anymore, but by uploading PDF > or the court stamp. > > Would I be correct in thinking that the court stamp might be a transparent > image of > the court's seal overlaid on a text? > There are a couple of ways it happens. Here's a link to a typical document http://www.gordonsilver.com/_public_filings/Dkt11ExParteAppforOSTtoHearEmergencyMtnforOrderDirecting.pdf (I can't link to my own, even though they're public records, as the NV bar has ruled client identity confidential!) There is a similar overstamp with judge's signature on orders. > If that is what you want, then surely the thing might be to group the seal > image over the text field > and then export the whole thing as a PDF: therefore getting a text with > stamp overlaid and > unselectable text all in one. > The court affixes the blue print; not me. But I've seen a couple that can still have fields edited or boxes clicked! -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Sat Apr 26 15:26:02 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 26 Apr 2014 22:26:02 +0300 Subject: "flattening" ouput pdf In-Reply-To: References: <535BF0F8.9000409@gmail.com> <535BF642.3090009@gmail.com> <535C0117.8060605@gmail.com> Message-ID: <535C084A.2010806@gmail.com> On 26/04/14 22:08, Dr. Hawkins wrote: > On Sat, Apr 26, 2014 at 11:55 AM, Richmond wrote: > >> I'm being a bit goofy: I don't quite understand what you mean by: >> >> *court* >> >> > The United States Bankruptcy Court. We don't file on paper anymore, but by > uploading PDF > > > >> or the court stamp. >> >> Would I be correct in thinking that the court stamp might be a transparent >> image of >> the court's seal overlaid on a text? >> > There are a couple of ways it happens. Here's a link to a typical document > http://www.gordonsilver.com/_public_filings/Dkt11ExParteAppforOSTtoHearEmergencyMtnforOrderDirecting.pdf > > (I can't link to my own, even though they're public records, as the NV bar > has ruled client identity confidential!) > > There is a similar overstamp with judge's signature on orders. > > >> If that is what you want, then surely the thing might be to group the seal >> image over the text field >> and then export the whole thing as a PDF: therefore getting a text with >> stamp overlaid and >> unselectable text all in one. >> > The court affixes the blue print; not me. But I've seen a couple that can > still have fields edited or boxes clicked! > Well, the first thing I notice is that I can select, copy and paste what I like into a text editor. The second thing I can see is what looks like an inkstamp (the notary's). The whole thing looks extremely primitive: that is to say it is a document prepared, printed out for muggins1 to sign, muggins2 to sign and handstamp. For the sake of argument; here in good old, bottom of the sack Bulgaria, my accountant who does all my tax stuff, social security, healthcare payments and so on, has an electronic signature that resides on her computer, she has a VPN to the tax people. This does not stop me having to get wrist cramp signing about a dozen documents each month and stamping the things with my hand operated inkstamp: but that is because I operate a one-man language centre rather than a socking great lawyer's office. My lawyer has both an electronic signature and an electronic stamp (which is basically an image of an old-fashioned handstamp which is overlaid onto her legal documents). My experience (limited) has been with sending PDF documents to Germany (my elder son is at Uni' there, my younger at High School), and being told I had to send them unalterable electronic documents. I did this in just about the most primitive way imaginable . . . I collected up all the PDF documnets from the various tax agencies and so forth over here: they all had selectable and copiable text: so exported each one, page-by-page to JPG images; assembled them in LibreOffice and printed to PDF. Subsequently I had to prepare some documents that came fro myself alone: I just fired up my G3 iMac (Mac OS 9), typed the documents in Appleworks and exported as PDF: where I got unselectable PDFs. The "print cardName" will produce editable stuff. The script I had in one of my previous postings produces non-editable text: on mouseUp ask file "Save as:" with "Print.pdf" put it into tFileName if tFileName is empty then exit to top set the printerOutput to "file:" & tFileName revShowPrintDialog false, false revPrintField the long name of fld "fff" end mouseUp If you are using Macintosh (and your mention of 'Preview' makes me thing you are); that should produce pdf documents you can read in Preview but cannot muck about with. If you are using a fairly old version of Windows (Vista backwards) then I have a feeling Pirnt to PDF won't work. Richmond. From jacque at hyperactivesw.com Sat Apr 26 15:42:41 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 26 Apr 2014 14:42:41 -0500 Subject: Backdrop in in 6.7.0 dp2 under Lubuntu Linux 13.10 In-Reply-To: References: <1398482591802-4678701.post@n4.nabble.com> Message-ID: <535C0C31.5020904@hyperactivesw.com> On 4/26/14, 9:19 AM, Peter Haworth wrote: > Backdrop is messed up on OSX also. That's listed as a known issue in the 6.7 dp 1 release notes. I haven't looked at dp 2 yet though. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Sat Apr 26 15:50:20 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 26 Apr 2014 22:50:20 +0300 Subject: Backdrop in in 6.7.0 dp2 under Lubuntu Linux 13.10 In-Reply-To: <535C0C31.5020904@hyperactivesw.com> References: <1398482591802-4678701.post@n4.nabble.com> <535C0C31.5020904@hyperactivesw.com> Message-ID: <535C0DFC.4010203@gmail.com> On 26/04/14 22:42, J. Landman Gay wrote: > On 4/26/14, 9:19 AM, Peter Haworth wrote: >> Backdrop is messed up on OSX also. > > That's listed as a known issue in the 6.7 dp 1 release notes. I > haven't looked at dp 2 yet though. > I honestly wonder how many Livecode programmers actually use the backdrop. Richmond. From warren at warrensweb.us Sat Apr 26 17:00:54 2014 From: warren at warrensweb.us (Warren Samples) Date: Sat, 26 Apr 2014 16:00:54 -0500 Subject: Backdrop in in 6.7.0 dp2 under Lubuntu Linux 13.10 In-Reply-To: <16700294.20140426102024@ahsoftware.net> References: <1398482591802-4678701.post@n4.nabble.com> <106472004743.20140426093625@ahsoftware.net> <76472914687.20140426095135@ahsoftware.net> <16700294.20140426102024@ahsoftware.net> Message-ID: <535C1E86.9080702@warrensweb.us> On 04/26/2014 12:20 PM, Mark Wieder wrote: > Nonetheless, backdrops are working properly in 6.7-dp2 on linux mint > 14, and there are no backdrops in dp1, so it does look like the > problem is fixed. Also seems to be working fine here in both 6.6.2-rc2 and 6.7.0-dp2 running openSUSE with KDE4/Kwin. Warren From pete at lcsql.com Sat Apr 26 17:18:36 2014 From: pete at lcsql.com (Peter Haworth) Date: Sat, 26 Apr 2014 14:18:36 -0700 Subject: Backdrop in in 6.7.0 dp2 under Lubuntu Linux 13.10 In-Reply-To: <535C0C31.5020904@hyperactivesw.com> References: <1398482591802-4678701.post@n4.nabble.com> <535C0C31.5020904@hyperactivesw.com> Message-ID: Mark Waddingham left a comment on my bug report that he thought he had disabled backdrop in DP2 because he hadn't figured out how to get it working properly so looks like not everything about it was disabled. Due to fixed in DP3. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sat, Apr 26, 2014 at 12:42 PM, J. Landman Gay wrote: > On 4/26/14, 9:19 AM, Peter Haworth wrote: > >> Backdrop is messed up on OSX also. >> > > That's listed as a known issue in the 6.7 dp 1 release notes. I haven't > looked at dp 2 yet though. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Sat Apr 26 17:19:00 2014 From: pete at lcsql.com (Peter Haworth) Date: Sat, 26 Apr 2014 14:19:00 -0700 Subject: Backdrop in in 6.7.0 dp2 under Lubuntu Linux 13.10 In-Reply-To: <535C0DFC.4010203@gmail.com> References: <1398482591802-4678701.post@n4.nabble.com> <535C0C31.5020904@hyperactivesw.com> <535C0DFC.4010203@gmail.com> Message-ID: I know of at least 1 :-) Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sat, Apr 26, 2014 at 12:50 PM, Richmond wrote: > On 26/04/14 22:42, J. Landman Gay wrote: > >> On 4/26/14, 9:19 AM, Peter Haworth wrote: >> >>> Backdrop is messed up on OSX also. >>> >> >> That's listed as a known issue in the 6.7 dp 1 release notes. I haven't >> looked at dp 2 yet though. >> >> > I honestly wonder how many Livecode programmers actually use the backdrop. > > 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 dsc at swcp.com Sat Apr 26 17:26:59 2014 From: dsc at swcp.com (Dar Scott) Date: Sat, 26 Apr 2014 15:26:59 -0600 Subject: Backdrop in in 6.7.0 dp2 under Lubuntu Linux 13.10 In-Reply-To: <535C0DFC.4010203@gmail.com> References: <1398482591802-4678701.post@n4.nabble.com> <535C0C31.5020904@hyperactivesw.com> <535C0DFC.4010203@gmail.com> Message-ID: <24B6A084-1168-4624-94BE-8EAA4DAE45B2@swcp.com> I use backdrop for impromptu LiveCode demos for customers or kids. For planned demos or classes for customers, I use a clean desktop on a big screen and have no other applications running. I used backdrop once when teaching computer-nerd kids one time and after they recognized the applicable windows, they dismissed it as silly. I?m not using Linux (yet), so I don?t know the issues there. My experience applies to Windows and Mac. Dar On Apr 26, 2014, at 1:50 PM, Richmond wrote: > On 26/04/14 22:42, J. Landman Gay wrote: >> On 4/26/14, 9:19 AM, Peter Haworth wrote: >>> Backdrop is messed up on OSX also. >> >> That's listed as a known issue in the 6.7 dp 1 release notes. I haven't looked at dp 2 yet though. >> > > I honestly wonder how many Livecode programmers actually use the backdrop. > > 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 Nakia.Brewer at westrac.com.au Sat Apr 26 18:13:40 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Sat, 26 Apr 2014 22:13:40 +0000 Subject: Record and Play sound at same time IOS In-Reply-To: <587AC2AA-8089-4386-8406-90F2265295AD@madmansoft.com> References: , <4979AE85-7C36-4712-AC91-14251E5AB7A1@madmansoft.com>, <0C5628B3-8EE5-4EC9-AC3F-623CFC520477@westrac.com.au>, <3E970474-7773-41E6-AEFF-677248C3BD2C@westrac.com.au> <366409E4-C0BD-4500-A8D4-B31A7AF62A80@westrac.com.au>, <587AC2AA-8089-4386-8406-90F2265295AD@madmansoft.com> Message-ID: <67116DB20798A94285EEE12A67079A284CAED495@MHSEXC02.westrac.com.au> Thanks Steve, After I wrote this email I did try to create the mergAV Player to play the file but had no luck (however iPhonePlayOnChannel and the player that iPhoneCreatePlayer create would play it but the original issue still occurs). When I try the mergAV Player they player doesn't seem to appear, no sound plays etc but I get no errors returned? I have pasted my card scripts below. on openCard ## Setup the mergMicrophone External if the environment = "mobile" then mergMicrophoneSetNumberOfChannels "stereo" mergMicrophoneSetSampleRate "44100" mergMicrophoneSetAudioQuality "High" end if end openCard on startRecording mergMicrophoneStartRecording specialFolderPath("cache") & slash & "Smurf1.caf" send playBackJammerStream to this card in 500 milliseconds end startRecording on playBackJammerStream try mergAVAudioSessionSetCategory "play and record",false,false,false,true mergAVAudioSessionSetMode "voice chat" mergAVAudioSessionSetActive true put specialFolderPath("cache") & slash & "Smurf1.caf" into tURL put mergAVPlayerCreateFromURL(tURL) into tPointer mergAVPlayerSet tPointer,"rect", the rect of this stack if the result is not empty then answer the result mergAVPlayerSet tPointer,"rate","1" if the result is not empty then answer the result mergAVPlayerSet tPointer,"visible", false if the result is not empty then answer the result mergAVPlayerDo tPointer,"play" if the result is not empty then answer the result catch e answer e end try end playBackJammerStream ________________________________________ From: use-livecode [use-livecode-bounces at lists.runrev.com] on behalf of Stephen MacLean [smaclean at madmansoft.com] Sent: Sunday, April 27, 2014 1:37 AM To: How to use LiveCode Subject: Re: Record and Play sound at same time IOS I would not use the iPhonePlayOnChannel for playback if you have mergAV. Instead, use mergAVPlayer. You have much more control and the mergAVSessionCategory will effect it. I use both in an iOS app and they work great together, although I'm not trying to playback until the recording is finished. It does look like what you want to do is possible via both of these though because both use the AV framework from Apple. Best, Steve On Apr 26, 2014, at 5:34 AM, Nakia Brewer wrote: > Okay, > Had a small tinker and seems the same issue occurs. > > To check my understanding, am i to assume the mergAvSessionCategory effects the iphonePlayOnChannel command ? > > I think I may be miss interpreting how to achieve this... I am still using mergMicrophone to record the file and using iphonePlayOnChannel to play the file.. > > > > Sent from my iPhone > >> On 26 Apr 2014, at 6:05 pm, "Nakia Brewer" wrote: >> >> Just had a quick look through the commands for mergAV. >> >> Wow, it sure has a lot of functionality.. >> >> Sent from my iPhone >> >>> On 26 Apr 2014, at 5:02 pm, "Nakia Brewer" wrote: >>> >>> Okay will take a look. >>> >>> Will this allow me to ditch using the mergMicrophone external then ? >>> >>> Sent from my iPhone >>> >>>> On 26 Apr 2014, at 12:32 pm, "Stephen MacLean" wrote: >>>> >>>> Look to another of Monte's externals, mergAV. >>>> >>>> Specifically, you can set the AVsession to "play and record", which would allow that. The player you can create is also very powerful. >>>> >>>> Take a look at the commands for the external, down near the bottom of the page. >>>> >>>> Best, >>>> >>>> Steve MacLean >>>> >>>>> On Apr 25, 2014, at 8:41 PM, Nakia Brewer wrote: >>>>> >>>>> Hi, >>>>> >>>>> As a novelty I am trying to make a livecode IOS Speech Jammer App. >>>>> >>>>> For those that aren't aware this basically works by playing back you voice slightly delayed and it messes with your brain and you can't speak. >>>>> >>>>> Check this guy out for a laugh. >>>>> >>>>> http://youtu.be/oU9EGeMP5n4 >>>>> >>>>> Anyway, >>>>> Using montes mergMicrophone I have been able to get mostly there but have hit a stumble with playing back the file that is being recorded at the same time it's being recorded. >>>>> >>>>> I am using iphonePlaySoundOnChannel to play back the file but it looks like it only evaluates the file when it starts cashing it to not continue playing.. >>>>> >>>>> Anyone got any ideas on how to maybe get around this ? >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From MikeKerner at roadrunner.com Sat Apr 26 18:32:13 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 26 Apr 2014 18:32:13 -0400 Subject: encrypt and decrypt on ios Message-ID: you can download the livecode dropbox library at http://www.phoenixsea.ch/downloads/Livecode/phxDropboxLib.zip. The explanation of the Dropbox REST API is at: https://www.dropbox.com/developers/core/docs Once you start messing around with dropbox, you will probably want some help with json. Since Mark Smith has died, I'm not sure where his library can be found at online, but I can email you a copy if you need one, or, monte has a JSON external in mergext. If you're using Monte's externals, check out the dropbox externals, he has two of them, and since they don't use REST, they should run in parallel with your ios project, instead of making you wait. ALSO, pay attention if you use Monte's encrypt and decrypt externals, because you have to use the openssl version to make it LC compatible, thus your code on ios would be something like: put mergAESOpenSSLEncrypt (what,withWhat) into crap put base64encode(crap) into crap From smaclean at madmansoft.com Sat Apr 26 19:08:44 2014 From: smaclean at madmansoft.com (Stephen MacLean) Date: Sat, 26 Apr 2014 19:08:44 -0400 Subject: Record and Play sound at same time IOS In-Reply-To: <67116DB20798A94285EEE12A67079A284CAED495@MHSEXC02.westrac.com.au> References: <4979AE85-7C36-4712-AC91-14251E5AB7A1@madmansoft.com> <0C5628B3-8EE5-4EC9-AC3F-623CFC520477@westrac.com.au> <3E970474-7773-41E6-AEFF-677248C3BD2C@westrac.com.au> <366409E4-C0BD-4500-A8D4-B31A7AF62A80@westrac.com.au> <587AC2AA-8089-4386-8406-90F2265295AD@madmansoft.com> <67116DB20798A94285EEE12A67079A284CAED495@MHSEXC02.westrac.com.au> Message-ID: Hi Nakia, You need to create your own UI for the AVPlayer. I would also check to see if the file being recorded is being written and growing in realtime on the phone. I'll take a closer look into later tonight. Best, Steve > On Apr 26, 2014, at 6:13 PM, Nakia Brewer wrote: > > Thanks Steve, > > After I wrote this email I did try to create the mergAV Player to play the file but had no luck (however iPhonePlayOnChannel and the player that iPhoneCreatePlayer create would play it but the original issue still occurs). > > When I try the mergAV Player they player doesn't seem to appear, no sound plays etc but I get no errors returned? > > I have pasted my card scripts below. > > on openCard > ## Setup the mergMicrophone External > if the environment = "mobile" then > mergMicrophoneSetNumberOfChannels "stereo" > mergMicrophoneSetSampleRate "44100" > mergMicrophoneSetAudioQuality "High" > end if > end openCard > > > on startRecording > mergMicrophoneStartRecording specialFolderPath("cache") & slash & "Smurf1.caf" > send playBackJammerStream to this card in 500 milliseconds > end startRecording > > on playBackJammerStream > try > mergAVAudioSessionSetCategory "play and record",false,false,false,true > mergAVAudioSessionSetMode "voice chat" > mergAVAudioSessionSetActive true > put specialFolderPath("cache") & slash & "Smurf1.caf" into tURL > put mergAVPlayerCreateFromURL(tURL) into tPointer > mergAVPlayerSet tPointer,"rect", the rect of this stack > if the result is not empty then answer the result > mergAVPlayerSet tPointer,"rate","1" > if the result is not empty then answer the result > mergAVPlayerSet tPointer,"visible", false > if the result is not empty then answer the result > mergAVPlayerDo tPointer,"play" > if the result is not empty then answer the result > catch e > answer e > end try > end playBackJammerStream > ________________________________________ > From: use-livecode [use-livecode-bounces at lists.runrev.com] on behalf of Stephen MacLean [smaclean at madmansoft.com] > Sent: Sunday, April 27, 2014 1:37 AM > To: How to use LiveCode > Subject: Re: Record and Play sound at same time IOS > > I would not use the iPhonePlayOnChannel for playback if you have mergAV. > > Instead, use mergAVPlayer. You have much more control and the mergAVSessionCategory will effect it. > > I use both in an iOS app and they work great together, although I'm not trying to playback until the recording is finished. It does look like what you want to do is possible via both of these though because both use the AV framework from Apple. > > Best, > > Steve > > >> On Apr 26, 2014, at 5:34 AM, Nakia Brewer wrote: >> >> Okay, >> Had a small tinker and seems the same issue occurs. >> >> To check my understanding, am i to assume the mergAvSessionCategory effects the iphonePlayOnChannel command ? >> >> I think I may be miss interpreting how to achieve this... I am still using mergMicrophone to record the file and using iphonePlayOnChannel to play the file.. >> >> >> >> Sent from my iPhone >> >>> On 26 Apr 2014, at 6:05 pm, "Nakia Brewer" wrote: >>> >>> Just had a quick look through the commands for mergAV. >>> >>> Wow, it sure has a lot of functionality.. >>> >>> Sent from my iPhone >>> >>>> On 26 Apr 2014, at 5:02 pm, "Nakia Brewer" wrote: >>>> >>>> Okay will take a look. >>>> >>>> Will this allow me to ditch using the mergMicrophone external then ? >>>> >>>> Sent from my iPhone >>>> >>>>> On 26 Apr 2014, at 12:32 pm, "Stephen MacLean" wrote: >>>>> >>>>> Look to another of Monte's externals, mergAV. >>>>> >>>>> Specifically, you can set the AVsession to "play and record", which would allow that. The player you can create is also very powerful. >>>>> >>>>> Take a look at the commands for the external, down near the bottom of the page. >>>>> >>>>> Best, >>>>> >>>>> Steve MacLean >>>>> >>>>>> On Apr 25, 2014, at 8:41 PM, Nakia Brewer wrote: >>>>>> >>>>>> Hi, >>>>>> >>>>>> As a novelty I am trying to make a livecode IOS Speech Jammer App. >>>>>> >>>>>> For those that aren't aware this basically works by playing back you voice slightly delayed and it messes with your brain and you can't speak. >>>>>> >>>>>> Check this guy out for a laugh. >>>>>> >>>>>> http://youtu.be/oU9EGeMP5n4 >>>>>> >>>>>> Anyway, >>>>>> Using montes mergMicrophone I have been able to get mostly there but have hit a stumble with playing back the file that is being recorded at the same time it's being recorded. >>>>>> >>>>>> I am using iphonePlaySoundOnChannel to play back the file but it looks like it only evaluates the file when it starts cashing it to not continue playing.. >>>>>> >>>>>> Anyone got any ideas on how to maybe get around this ? >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Nakia.Brewer at westrac.com.au Sat Apr 26 19:29:58 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Sat, 26 Apr 2014 23:29:58 +0000 Subject: Record and Play sound at same time IOS In-Reply-To: References: <4979AE85-7C36-4712-AC91-14251E5AB7A1@madmansoft.com> <0C5628B3-8EE5-4EC9-AC3F-623CFC520477@westrac.com.au> <3E970474-7773-41E6-AEFF-677248C3BD2C@westrac.com.au> <366409E4-C0BD-4500-A8D4-B31A7AF62A80@westrac.com.au> <587AC2AA-8089-4386-8406-90F2265295AD@madmansoft.com> <67116DB20798A94285EEE12A67079A284CAED495@MHSEXC02.westrac.com.au>, Message-ID: <67116DB20798A94285EEE12A67079A284CAED559@MHSEXC02.westrac.com.au> Ah righto, that might explain why I cant get it to work. I am pretty sure the file is being written real time from mergMicrophone as I can play the file using the other methods and it plays up to its current location when I called the play command (I am calling the play whilst I am still recording).. It seems like LiveCode only evaluates the file on the initial play command and doesn't re evaluate the file whilst it playing hence only playing up to the duration that existed on the initial play command call... As I am only playing audio do I need to even have a UI for the player? I have tried setting the visible of the player to false but still nothing played. Thanks for taking a look at it, I appreciate it! ________________________________________ From: use-livecode [use-livecode-bounces at lists.runrev.com] on behalf of Stephen MacLean [smaclean at madmansoft.com] Sent: Sunday, April 27, 2014 9:08 AM To: How to use LiveCode Subject: Re: Record and Play sound at same time IOS Hi Nakia, You need to create your own UI for the AVPlayer. I would also check to see if the file being recorded is being written and growing in realtime on the phone. I'll take a closer look into later tonight. Best, Steve > On Apr 26, 2014, at 6:13 PM, Nakia Brewer wrote: > > Thanks Steve, > > After I wrote this email I did try to create the mergAV Player to play the file but had no luck (however iPhonePlayOnChannel and the player that iPhoneCreatePlayer create would play it but the original issue still occurs). > > When I try the mergAV Player they player doesn't seem to appear, no sound plays etc but I get no errors returned? > > I have pasted my card scripts below. > > on openCard > ## Setup the mergMicrophone External > if the environment = "mobile" then > mergMicrophoneSetNumberOfChannels "stereo" > mergMicrophoneSetSampleRate "44100" > mergMicrophoneSetAudioQuality "High" > end if > end openCard > > > on startRecording > mergMicrophoneStartRecording specialFolderPath("cache") & slash & "Smurf1.caf" > send playBackJammerStream to this card in 500 milliseconds > end startRecording > > on playBackJammerStream > try > mergAVAudioSessionSetCategory "play and record",false,false,false,true > mergAVAudioSessionSetMode "voice chat" > mergAVAudioSessionSetActive true > put specialFolderPath("cache") & slash & "Smurf1.caf" into tURL > put mergAVPlayerCreateFromURL(tURL) into tPointer > mergAVPlayerSet tPointer,"rect", the rect of this stack > if the result is not empty then answer the result > mergAVPlayerSet tPointer,"rate","1" > if the result is not empty then answer the result > mergAVPlayerSet tPointer,"visible", false > if the result is not empty then answer the result > mergAVPlayerDo tPointer,"play" > if the result is not empty then answer the result > catch e > answer e > end try > end playBackJammerStream > ________________________________________ > From: use-livecode [use-livecode-bounces at lists.runrev.com] on behalf of Stephen MacLean [smaclean at madmansoft.com] > Sent: Sunday, April 27, 2014 1:37 AM > To: How to use LiveCode > Subject: Re: Record and Play sound at same time IOS > > I would not use the iPhonePlayOnChannel for playback if you have mergAV. > > Instead, use mergAVPlayer. You have much more control and the mergAVSessionCategory will effect it. > > I use both in an iOS app and they work great together, although I'm not trying to playback until the recording is finished. It does look like what you want to do is possible via both of these though because both use the AV framework from Apple. > > Best, > > Steve > > >> On Apr 26, 2014, at 5:34 AM, Nakia Brewer wrote: >> >> Okay, >> Had a small tinker and seems the same issue occurs. >> >> To check my understanding, am i to assume the mergAvSessionCategory effects the iphonePlayOnChannel command ? >> >> I think I may be miss interpreting how to achieve this... I am still using mergMicrophone to record the file and using iphonePlayOnChannel to play the file.. >> >> >> >> Sent from my iPhone >> >>> On 26 Apr 2014, at 6:05 pm, "Nakia Brewer" wrote: >>> >>> Just had a quick look through the commands for mergAV. >>> >>> Wow, it sure has a lot of functionality.. >>> >>> Sent from my iPhone >>> >>>> On 26 Apr 2014, at 5:02 pm, "Nakia Brewer" wrote: >>>> >>>> Okay will take a look. >>>> >>>> Will this allow me to ditch using the mergMicrophone external then ? >>>> >>>> Sent from my iPhone >>>> >>>>> On 26 Apr 2014, at 12:32 pm, "Stephen MacLean" wrote: >>>>> >>>>> Look to another of Monte's externals, mergAV. >>>>> >>>>> Specifically, you can set the AVsession to "play and record", which would allow that. The player you can create is also very powerful. >>>>> >>>>> Take a look at the commands for the external, down near the bottom of the page. >>>>> >>>>> Best, >>>>> >>>>> Steve MacLean >>>>> >>>>>> On Apr 25, 2014, at 8:41 PM, Nakia Brewer wrote: >>>>>> >>>>>> Hi, >>>>>> >>>>>> As a novelty I am trying to make a livecode IOS Speech Jammer App. >>>>>> >>>>>> For those that aren't aware this basically works by playing back you voice slightly delayed and it messes with your brain and you can't speak. >>>>>> >>>>>> Check this guy out for a laugh. >>>>>> >>>>>> http://youtu.be/oU9EGeMP5n4 >>>>>> >>>>>> Anyway, >>>>>> Using montes mergMicrophone I have been able to get mostly there but have hit a stumble with playing back the file that is being recorded at the same time it's being recorded. >>>>>> >>>>>> I am using iphonePlaySoundOnChannel to play back the file but it looks like it only evaluates the file when it starts cashing it to not continue playing.. >>>>>> >>>>>> Anyone got any ideas on how to maybe get around this ? >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From mwieder at ahsoftware.net Sat Apr 26 20:16:32 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 26 Apr 2014 17:16:32 -0700 Subject: Backdrop in in 6.7.0 dp2 under Lubuntu Linux 13.10 In-Reply-To: <535BFBDC.9050206@gmail.com> References: <1398482591802-4678701.post@n4.nabble.com> <106472004743.20140426093625@ahsoftware.net> <76472914687.20140426095135@ahsoftware.net> <16700294.20140426102024@ahsoftware.net> <535BF16C.5040700@gmail.com> <1333995998.20140426111520@ahsoftware.net> <535BFBDC.9050206@gmail.com> Message-ID: <10425667867.20140426171632@ahsoftware.net> Richmond- Saturday, April 26, 2014, 11:33:00 AM, you wrote: > Maybe you did give up on Ubuntu: but, like Ubuntu or not, it is the > dominant form of Linux at the moment: and if this sort of thing "f***s > up on Ubuntu" > it does not count as 'fixed'. Well, my use of "fixed" was done facetiously, and that word just so I could use one of each the vowel in order... > He put some type of Ubuntu on them . . . why?; well; the chap knows next > to nothing > about computers or operating systems; knows Ubuntu is FREE, some of his > co-workers > feel groovy because they know that 'Ubuntu' is a Swahili buzzword, seems > to have the most > online support . . . tiddly pom! Yeah... Things Like This... anyway, I won't get into religious wars here. I know Ubuntu has its fans, as does Windows, as does . -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From smaclean at madmansoft.com Sat Apr 26 22:12:07 2014 From: smaclean at madmansoft.com (Stephen MacLean) Date: Sat, 26 Apr 2014 22:12:07 -0400 Subject: Record and Play sound at same time IOS In-Reply-To: <67116DB20798A94285EEE12A67079A284CAED559@MHSEXC02.westrac.com.au> References: <4979AE85-7C36-4712-AC91-14251E5AB7A1@madmansoft.com> <0C5628B3-8EE5-4EC9-AC3F-623CFC520477@westrac.com.au> <3E970474-7773-41E6-AEFF-677248C3BD2C@westrac.com.au> <366409E4-C0BD-4500-A8D4-B31A7AF62A80@westrac.com.au> <587AC2AA-8089-4386-8406-90F2265295AD@madmansoft.com> <67116DB20798A94285EEE12A67079A284CAED495@MHSEXC02.westrac.com.au>, <67116DB20798A94285EEE12A67079A284CAED559@MHSEXC02.westrac.com.au> Message-ID: <81BE89DD-DCD7-41A0-AE62-FD1EDE048FE2@madmansoft.com> Hi Nakia, Ok, played around some, and found that while the file is created when you start to record, it doesn't write any data to it until you stop recording. That's not going to work, so I came up with a little something that does. It rotates the file that is being recorded and the file that is playing. Works pretty good, lol, but there sometimes a slight pop when switching files. Your milage may vary! See what you think. It was an interesting exercise! Put 2 buttons on a card. Name one Record and the other Stop Out this into the script of the Record button: global gFileNamePath1,gFileNamePath2,gFileNamePath3 global gRecFileName1,gRecFileName2,gRecFileName3 global gRecPointer1,gRecPointer2,gRecPointer3 global gCurrentFileNum global gSendJammerID on mouseUp #Setup mergMicrophone if the environment is "mobile" then mergMicrophoneSetNumberOfChannels "Stereo" mergMicrophoneSetSampleRate 44100 mergMicrophoneSetAudioFormat "MP4-AAC" mergMicrophoneSetTargetBitRate 65536 mergMicrophoneSetAudioQuality "High" end if # Setup up AV Session if the environment is "mobile" then mergAVAudioSessionSetCategory "play and record",false,false,true,true end if # Setup file names & current file number put UUID ("random") into tUUID1 put UUID ("random") into tUUID2 put UUID ("random") into tUUID3 put 1 into gCurrentFileNum if the environment is "mobile" then put specialFolderPath("cache") & slash & tUUID1 & ".m4a" into gFileNamePath1 put specialFolderPath("cache") & slash & tUUID2 & ".m4a" into gFileNamePath2 put specialFolderPath("cache") & slash & tUUID3 & ".m4a" into gFileNamePath3 put tUUID1 & ".m4a" into gRecFileName1 put tUUID2 & ".m4a" into gRecFileName2 put tUUID3 & ".m4a" into gRecFileName3 # Start Recording with file 1 mergMicrophoneStartRecording gFileNamePath1 send "playBackJammerStream" to me in 500 millisec put the result into gSendJammerID # To cancel sends when stop is pressed end if end mouseUp on playBackJammerStream #stop recording current file, start recording on next, start playing current file switch gCurrentFileNum case 1 mergMicrophoneStopRecording # Stop recording to current file so data is written to disk mergMicrophoneStartRecording gFileNamePath2 # Start recording to new file so you don't lose anything in the stream put "file:" & gFileNamePath1 into tGetFile # Set up file we just stopped recording for playback put mergAVPlayerCreateFromURL (tGetFile) into gRecPointer1 # Create the AV player for that file mergAVPlayerDo gRecPointer1,"play" # Start playing file put 2 into gCurrentFileNum # Advance counter for next callback send "playBackJammerStream" to me in 500 millisec # Call me back to do all over again put the result into gSendJammerID # To cancel sends when stop is pressed break case 2 mergMicrophoneStopRecording mergMicrophoneStartRecording gFileNamePath3 put "file:" & gFileNamePath2 into tGetFile put mergAVPlayerCreateFromURL (tGetFile) into gRecPointer2 mergAVPlayerDo gRecPointer2,"play" put 3 into gCurrentFileNum send "playBackJammerStream" to me in 500 millisec put the result into gSendJammerID # To cancel sends when stop is pressed break case 3 mergMicrophoneStopRecording mergMicrophoneStartRecording gFileNamePath1 put "file:" & gFileNamePath3 into tGetFile put mergAVPlayerCreateFromURL (tGetFile) into gRecPointer3 mergAVPlayerDo gRecPointer3,"play" put 1 into gCurrentFileNum send "playBackJammerStream" to me in 500 millisec put the result into gSendJammerID # To cancel sends when stop is pressed break end switch end playBackJammerStream and put this into the Stop button: global gSendJammerID on mouseUp # Stop recording and cancel the send timer if the environment is "mobile" then mergMicrophoneStopRecording cancel gSendJammerID end if end mouseUp Best, Steve On Apr 26, 2014, at 7:29 PM, Nakia Brewer wrote: > Ah righto, that might explain why I cant get it to work. > > I am pretty sure the file is being written real time from mergMicrophone as I can play the file using the other methods and it plays up to its current location when I called the play command (I am calling the play whilst I am still recording).. > > It seems like LiveCode only evaluates the file on the initial play command and doesn't re evaluate the file whilst it playing hence only playing up to the duration that existed on the initial play command call... > > As I am only playing audio do I need to even have a UI for the player? I have tried setting the visible of the player to false but still nothing played. > > Thanks for taking a look at it, I appreciate it! > > > From Nakia.Brewer at westrac.com.au Sat Apr 26 22:18:02 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Sun, 27 Apr 2014 02:18:02 +0000 Subject: Record and Play sound at same time IOS In-Reply-To: <81BE89DD-DCD7-41A0-AE62-FD1EDE048FE2@madmansoft.com> References: <4979AE85-7C36-4712-AC91-14251E5AB7A1@madmansoft.com> <0C5628B3-8EE5-4EC9-AC3F-623CFC520477@westrac.com.au> <3E970474-7773-41E6-AEFF-677248C3BD2C@westrac.com.au> <366409E4-C0BD-4500-A8D4-B31A7AF62A80@westrac.com.au> <587AC2AA-8089-4386-8406-90F2265295AD@madmansoft.com> <67116DB20798A94285EEE12A67079A284CAED495@MHSEXC02.westrac.com.au>, <67116DB20798A94285EEE12A67079A284CAED559@MHSEXC02.westrac.com.au>, <81BE89DD-DCD7-41A0-AE62-FD1EDE048FE2@madmansoft.com> Message-ID: Thanks mate, Will give this a crack! Btw, how did you come to the assumption the file was not being written to real time ? In my testing I could start playing the file whilst I was still recording it which indicated to me it was being written real time. Sent from my iPhone > On 27 Apr 2014, at 12:12 pm, "Stephen MacLean" wrote: > > Hi Nakia, > > Ok, played around some, and found that while the file is created when you start to record, it doesn't write any data to it until you stop recording. That's not going to work, so I came up with a little something that does. It rotates the file that is being recorded and the file that is playing. Works pretty good, lol, but there sometimes a slight pop when switching files. Your milage may vary! > > See what you think. It was an interesting exercise! > > Put 2 buttons on a card. Name one Record and the other Stop > > Out this into the script of the Record button: > > global gFileNamePath1,gFileNamePath2,gFileNamePath3 > global gRecFileName1,gRecFileName2,gRecFileName3 > global gRecPointer1,gRecPointer2,gRecPointer3 > global gCurrentFileNum > global gSendJammerID > > on mouseUp > #Setup mergMicrophone > if the environment is "mobile" then > mergMicrophoneSetNumberOfChannels "Stereo" > mergMicrophoneSetSampleRate 44100 > mergMicrophoneSetAudioFormat "MP4-AAC" > mergMicrophoneSetTargetBitRate 65536 > mergMicrophoneSetAudioQuality "High" > end if > > # Setup up AV Session > if the environment is "mobile" then > mergAVAudioSessionSetCategory "play and record",false,false,true,true > end if > > # Setup file names & current file number > put UUID ("random") into tUUID1 > put UUID ("random") into tUUID2 > put UUID ("random") into tUUID3 > put 1 into gCurrentFileNum > if the environment is "mobile" then > put specialFolderPath("cache") & slash & tUUID1 & ".m4a" into gFileNamePath1 > put specialFolderPath("cache") & slash & tUUID2 & ".m4a" into gFileNamePath2 > put specialFolderPath("cache") & slash & tUUID3 & ".m4a" into gFileNamePath3 > put tUUID1 & ".m4a" into gRecFileName1 > put tUUID2 & ".m4a" into gRecFileName2 > put tUUID3 & ".m4a" into gRecFileName3 > # Start Recording with file 1 > mergMicrophoneStartRecording gFileNamePath1 > send "playBackJammerStream" to me in 500 millisec > put the result into gSendJammerID # To cancel sends when stop is pressed > end if > end mouseUp > > on playBackJammerStream > #stop recording current file, start recording on next, start playing current file > switch gCurrentFileNum > case 1 > mergMicrophoneStopRecording # Stop recording to current file so data is written to disk > mergMicrophoneStartRecording gFileNamePath2 # Start recording to new file so you don't lose anything in the stream > put "file:" & gFileNamePath1 into tGetFile # Set up file we just stopped recording for playback > put mergAVPlayerCreateFromURL (tGetFile) into gRecPointer1 # Create the AV player for that file > mergAVPlayerDo gRecPointer1,"play" # Start playing file > put 2 into gCurrentFileNum # Advance counter for next callback > send "playBackJammerStream" to me in 500 millisec # Call me back to do all over again > put the result into gSendJammerID # To cancel sends when stop is pressed > break > case 2 > mergMicrophoneStopRecording > mergMicrophoneStartRecording gFileNamePath3 > put "file:" & gFileNamePath2 into tGetFile > put mergAVPlayerCreateFromURL (tGetFile) into gRecPointer2 > mergAVPlayerDo gRecPointer2,"play" > put 3 into gCurrentFileNum > send "playBackJammerStream" to me in 500 millisec > put the result into gSendJammerID # To cancel sends when stop is pressed > break > case 3 > mergMicrophoneStopRecording > mergMicrophoneStartRecording gFileNamePath1 > put "file:" & gFileNamePath3 into tGetFile > put mergAVPlayerCreateFromURL (tGetFile) into gRecPointer3 > mergAVPlayerDo gRecPointer3,"play" > put 1 into gCurrentFileNum > send "playBackJammerStream" to me in 500 millisec > put the result into gSendJammerID # To cancel sends when stop is pressed > break > end switch > end playBackJammerStream > > and put this into the Stop button: > > global gSendJammerID > > on mouseUp > # Stop recording and cancel the send timer > if the environment is "mobile" then > mergMicrophoneStopRecording > cancel gSendJammerID > end if > end mouseUp > > Best, > > Steve > >> On Apr 26, 2014, at 7:29 PM, Nakia Brewer wrote: >> >> Ah righto, that might explain why I cant get it to work. >> >> I am pretty sure the file is being written real time from mergMicrophone as I can play the file using the other methods and it plays up to its current location when I called the play command (I am calling the play whilst I am still recording).. >> >> It seems like LiveCode only evaluates the file on the initial play command and doesn't re evaluate the file whilst it playing hence only playing up to the duration that existed on the initial play command call... >> >> As I am only playing audio do I need to even have a UI for the player? I have tried setting the visible of the player to false but still nothing played. >> >> Thanks for taking a look at it, I appreciate it! > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From smaclean at madmansoft.com Sat Apr 26 22:31:23 2014 From: smaclean at madmansoft.com (Stephen MacLean) Date: Sat, 26 Apr 2014 22:31:23 -0400 Subject: Record and Play sound at same time IOS In-Reply-To: References: <4979AE85-7C36-4712-AC91-14251E5AB7A1@madmansoft.com> <0C5628B3-8EE5-4EC9-AC3F-623CFC520477@westrac.com.au> <3E970474-7773-41E6-AEFF-677248C3BD2C@westrac.com.au> <366409E4-C0BD-4500-A8D4-B31A7AF62A80@westrac.com.au> <587AC2AA-8089-4386-8406-90F2265295AD@madmansoft.com> <67116DB20798A94285EEE12A67079A284CAED495@MHSEXC02.westrac.com.au>, <67116DB20798A94285EEE12A67079A284CAED559@MHSEXC02.westrac.com.au>, <81BE89DD-DCD7-41A0-AE62-FD1EDE048FE2@madmansoft.com> Message-ID: <3F626DB2-7041-4F05-B7A9-DEC31F2CB4C5@madmansoft.com> T'was fun:) And since I'd just spent a bunch of time building recording and playback into my app, it was pretty fresh. Running in the iOS simulator, you can see what's being written to the cache (Your user account > Library > Application Support > iPhone Simulator > the os version you are running on the simulator > The UUID of your app > Library > Caches). While the file was created when I started recording, by watching the file I could see that it wasn't growing in size until I stopped recording. Which meant data wasn't being dumped to until then. So while there was a file to play, there was no data to be played. Best, Steve On Apr 26, 2014, at 10:18 PM, Nakia Brewer wrote: > Thanks mate, > > Will give this a crack! > > Btw, how did you come to the assumption the file was not being written to real time ? > > In my testing I could start playing the file whilst I was still recording it which indicated to me it was being written real time. > > Sent from my iPhone > >> On 27 Apr 2014, at 12:12 pm, "Stephen MacLean" wrote: >> >> Hi Nakia, >> >> Ok, played around some, and found that while the file is created when you start to record, it doesn't write any data to it until you stop recording. That's not going to work, so I came up with a little something that does. It rotates the file that is being recorded and the file that is playing. Works pretty good, lol, but there sometimes a slight pop when switching files. Your milage may vary! >> >> See what you think. It was an interesting exercise! >> >> Put 2 buttons on a card. Name one Record and the other Stop >> >> Out this into the script of the Record button: >> >> global gFileNamePath1,gFileNamePath2,gFileNamePath3 >> global gRecFileName1,gRecFileName2,gRecFileName3 >> global gRecPointer1,gRecPointer2,gRecPointer3 >> global gCurrentFileNum >> global gSendJammerID >> >> on mouseUp >> #Setup mergMicrophone >> if the environment is "mobile" then >> mergMicrophoneSetNumberOfChannels "Stereo" >> mergMicrophoneSetSampleRate 44100 >> mergMicrophoneSetAudioFormat "MP4-AAC" >> mergMicrophoneSetTargetBitRate 65536 >> mergMicrophoneSetAudioQuality "High" >> end if >> >> # Setup up AV Session >> if the environment is "mobile" then >> mergAVAudioSessionSetCategory "play and record",false,false,true,true >> end if >> >> # Setup file names & current file number >> put UUID ("random") into tUUID1 >> put UUID ("random") into tUUID2 >> put UUID ("random") into tUUID3 >> put 1 into gCurrentFileNum >> if the environment is "mobile" then >> put specialFolderPath("cache") & slash & tUUID1 & ".m4a" into gFileNamePath1 >> put specialFolderPath("cache") & slash & tUUID2 & ".m4a" into gFileNamePath2 >> put specialFolderPath("cache") & slash & tUUID3 & ".m4a" into gFileNamePath3 >> put tUUID1 & ".m4a" into gRecFileName1 >> put tUUID2 & ".m4a" into gRecFileName2 >> put tUUID3 & ".m4a" into gRecFileName3 >> # Start Recording with file 1 >> mergMicrophoneStartRecording gFileNamePath1 >> send "playBackJammerStream" to me in 500 millisec >> put the result into gSendJammerID # To cancel sends when stop is pressed >> end if >> end mouseUp >> >> on playBackJammerStream >> #stop recording current file, start recording on next, start playing current file >> switch gCurrentFileNum >> case 1 >> mergMicrophoneStopRecording # Stop recording to current file so data is written to disk >> mergMicrophoneStartRecording gFileNamePath2 # Start recording to new file so you don't lose anything in the stream >> put "file:" & gFileNamePath1 into tGetFile # Set up file we just stopped recording for playback >> put mergAVPlayerCreateFromURL (tGetFile) into gRecPointer1 # Create the AV player for that file >> mergAVPlayerDo gRecPointer1,"play" # Start playing file >> put 2 into gCurrentFileNum # Advance counter for next callback >> send "playBackJammerStream" to me in 500 millisec # Call me back to do all over again >> put the result into gSendJammerID # To cancel sends when stop is pressed >> break >> case 2 >> mergMicrophoneStopRecording >> mergMicrophoneStartRecording gFileNamePath3 >> put "file:" & gFileNamePath2 into tGetFile >> put mergAVPlayerCreateFromURL (tGetFile) into gRecPointer2 >> mergAVPlayerDo gRecPointer2,"play" >> put 3 into gCurrentFileNum >> send "playBackJammerStream" to me in 500 millisec >> put the result into gSendJammerID # To cancel sends when stop is pressed >> break >> case 3 >> mergMicrophoneStopRecording >> mergMicrophoneStartRecording gFileNamePath1 >> put "file:" & gFileNamePath3 into tGetFile >> put mergAVPlayerCreateFromURL (tGetFile) into gRecPointer3 >> mergAVPlayerDo gRecPointer3,"play" >> put 1 into gCurrentFileNum >> send "playBackJammerStream" to me in 500 millisec >> put the result into gSendJammerID # To cancel sends when stop is pressed >> break >> end switch >> end playBackJammerStream >> >> and put this into the Stop button: >> >> global gSendJammerID >> >> on mouseUp >> # Stop recording and cancel the send timer >> if the environment is "mobile" then >> mergMicrophoneStopRecording >> cancel gSendJammerID >> end if >> end mouseUp >> >> Best, >> >> Steve >> >>> On Apr 26, 2014, at 7:29 PM, Nakia Brewer wrote: >>> >>> Ah righto, that might explain why I cant get it to work. >>> >>> I am pretty sure the file is being written real time from mergMicrophone as I can play the file using the other methods and it plays up to its current location when I called the play command (I am calling the play whilst I am still recording).. >>> >>> It seems like LiveCode only evaluates the file on the initial play command and doesn't re evaluate the file whilst it playing hence only playing up to the duration that existed on the initial play command call... >>> >>> As I am only playing audio do I need to even have a UI for the player? I have tried setting the visible of the player to false but still nothing played. >>> >>> Thanks for taking a look at it, I appreciate it! >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Nakia.Brewer at westrac.com.au Sat Apr 26 22:34:50 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Sun, 27 Apr 2014 02:34:50 +0000 Subject: Record and Play sound at same time IOS In-Reply-To: <3F626DB2-7041-4F05-B7A9-DEC31F2CB4C5@madmansoft.com> References: <4979AE85-7C36-4712-AC91-14251E5AB7A1@madmansoft.com> <0C5628B3-8EE5-4EC9-AC3F-623CFC520477@westrac.com.au> <3E970474-7773-41E6-AEFF-677248C3BD2C@westrac.com.au> <366409E4-C0BD-4500-A8D4-B31A7AF62A80@westrac.com.au> <587AC2AA-8089-4386-8406-90F2265295AD@madmansoft.com> <67116DB20798A94285EEE12A67079A284CAED495@MHSEXC02.westrac.com.au>, <67116DB20798A94285EEE12A67079A284CAED559@MHSEXC02.westrac.com.au>, <81BE89DD-DCD7-41A0-AE62-FD1EDE048FE2@madmansoft.com> , <3F626DB2-7041-4F05-B7A9-DEC31F2CB4C5@madmansoft.com> Message-ID: <5CFA56A8-F9A4-41CF-B2E8-156A40FE4614@westrac.com.au> Ah okay, that doesn't explain why it can be played though does it ? Maybe when I play it this cancels the recording ? Not meaning to question/interrogate your findings, I'm just curious really... Sent from my iPhone > On 27 Apr 2014, at 12:31 pm, "Stephen MacLean" wrote: > > T'was fun:) And since I'd just spent a bunch of time building recording and playback into my app, it was pretty fresh. > > Running in the iOS simulator, you can see what's being written to the cache (Your user account > Library > Application Support > iPhone Simulator > the os version you are running on the simulator > The UUID of your app > Library > Caches). > > While the file was created when I started recording, by watching the file I could see that it wasn't growing in size until I stopped recording. Which meant data wasn't being dumped to until then. So while there was a file to play, there was no data to be played. > > Best, > > Steve > >> On Apr 26, 2014, at 10:18 PM, Nakia Brewer wrote: >> >> Thanks mate, >> >> Will give this a crack! >> >> Btw, how did you come to the assumption the file was not being written to real time ? >> >> In my testing I could start playing the file whilst I was still recording it which indicated to me it was being written real time. >> >> Sent from my iPhone >> >>> On 27 Apr 2014, at 12:12 pm, "Stephen MacLean" wrote: >>> >>> Hi Nakia, >>> >>> Ok, played around some, and found that while the file is created when you start to record, it doesn't write any data to it until you stop recording. That's not going to work, so I came up with a little something that does. It rotates the file that is being recorded and the file that is playing. Works pretty good, lol, but there sometimes a slight pop when switching files. Your milage may vary! >>> >>> See what you think. It was an interesting exercise! >>> >>> Put 2 buttons on a card. Name one Record and the other Stop >>> >>> Out this into the script of the Record button: >>> >>> global gFileNamePath1,gFileNamePath2,gFileNamePath3 >>> global gRecFileName1,gRecFileName2,gRecFileName3 >>> global gRecPointer1,gRecPointer2,gRecPointer3 >>> global gCurrentFileNum >>> global gSendJammerID >>> >>> on mouseUp >>> #Setup mergMicrophone >>> if the environment is "mobile" then >>> mergMicrophoneSetNumberOfChannels "Stereo" >>> mergMicrophoneSetSampleRate 44100 >>> mergMicrophoneSetAudioFormat "MP4-AAC" >>> mergMicrophoneSetTargetBitRate 65536 >>> mergMicrophoneSetAudioQuality "High" >>> end if >>> >>> # Setup up AV Session >>> if the environment is "mobile" then >>> mergAVAudioSessionSetCategory "play and record",false,false,true,true >>> end if >>> >>> # Setup file names & current file number >>> put UUID ("random") into tUUID1 >>> put UUID ("random") into tUUID2 >>> put UUID ("random") into tUUID3 >>> put 1 into gCurrentFileNum >>> if the environment is "mobile" then >>> put specialFolderPath("cache") & slash & tUUID1 & ".m4a" into gFileNamePath1 >>> put specialFolderPath("cache") & slash & tUUID2 & ".m4a" into gFileNamePath2 >>> put specialFolderPath("cache") & slash & tUUID3 & ".m4a" into gFileNamePath3 >>> put tUUID1 & ".m4a" into gRecFileName1 >>> put tUUID2 & ".m4a" into gRecFileName2 >>> put tUUID3 & ".m4a" into gRecFileName3 >>> # Start Recording with file 1 >>> mergMicrophoneStartRecording gFileNamePath1 >>> send "playBackJammerStream" to me in 500 millisec >>> put the result into gSendJammerID # To cancel sends when stop is pressed >>> end if >>> end mouseUp >>> >>> on playBackJammerStream >>> #stop recording current file, start recording on next, start playing current file >>> switch gCurrentFileNum >>> case 1 >>> mergMicrophoneStopRecording # Stop recording to current file so data is written to disk >>> mergMicrophoneStartRecording gFileNamePath2 # Start recording to new file so you don't lose anything in the stream >>> put "file:" & gFileNamePath1 into tGetFile # Set up file we just stopped recording for playback >>> put mergAVPlayerCreateFromURL (tGetFile) into gRecPointer1 # Create the AV player for that file >>> mergAVPlayerDo gRecPointer1,"play" # Start playing file >>> put 2 into gCurrentFileNum # Advance counter for next callback >>> send "playBackJammerStream" to me in 500 millisec # Call me back to do all over again >>> put the result into gSendJammerID # To cancel sends when stop is pressed >>> break >>> case 2 >>> mergMicrophoneStopRecording >>> mergMicrophoneStartRecording gFileNamePath3 >>> put "file:" & gFileNamePath2 into tGetFile >>> put mergAVPlayerCreateFromURL (tGetFile) into gRecPointer2 >>> mergAVPlayerDo gRecPointer2,"play" >>> put 3 into gCurrentFileNum >>> send "playBackJammerStream" to me in 500 millisec >>> put the result into gSendJammerID # To cancel sends when stop is pressed >>> break >>> case 3 >>> mergMicrophoneStopRecording >>> mergMicrophoneStartRecording gFileNamePath1 >>> put "file:" & gFileNamePath3 into tGetFile >>> put mergAVPlayerCreateFromURL (tGetFile) into gRecPointer3 >>> mergAVPlayerDo gRecPointer3,"play" >>> put 1 into gCurrentFileNum >>> send "playBackJammerStream" to me in 500 millisec >>> put the result into gSendJammerID # To cancel sends when stop is pressed >>> break >>> end switch >>> end playBackJammerStream >>> >>> and put this into the Stop button: >>> >>> global gSendJammerID >>> >>> on mouseUp >>> # Stop recording and cancel the send timer >>> if the environment is "mobile" then >>> mergMicrophoneStopRecording >>> cancel gSendJammerID >>> end if >>> end mouseUp >>> >>> Best, >>> >>> Steve >>> >>>> On Apr 26, 2014, at 7:29 PM, Nakia Brewer wrote: >>>> >>>> Ah righto, that might explain why I cant get it to work. >>>> >>>> I am pretty sure the file is being written real time from mergMicrophone as I can play the file using the other methods and it plays up to its current location when I called the play command (I am calling the play whilst I am still recording).. >>>> >>>> It seems like LiveCode only evaluates the file on the initial play command and doesn't re evaluate the file whilst it playing hence only playing up to the duration that existed on the initial play command call... >>>> >>>> As I am only playing audio do I need to even have a UI for the player? I have tried setting the visible of the player to false but still nothing played. >>>> >>>> Thanks for taking a look at it, I appreciate it! >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From Nakia.Brewer at westrac.com.au Sat Apr 26 22:48:11 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Sun, 27 Apr 2014 02:48:11 +0000 Subject: Record and Play sound at same time IOS In-Reply-To: References: <4979AE85-7C36-4712-AC91-14251E5AB7A1@madmansoft.com> <0C5628B3-8EE5-4EC9-AC3F-623CFC520477@westrac.com.au> <3E970474-7773-41E6-AEFF-677248C3BD2C@westrac.com.au> <366409E4-C0BD-4500-A8D4-B31A7AF62A80@westrac.com.au> <587AC2AA-8089-4386-8406-90F2265295AD@madmansoft.com> <67116DB20798A94285EEE12A67079A284CAED495@MHSEXC02.westrac.com.au>, <67116DB20798A94285EEE12A67079A284CAED559@MHSEXC02.westrac.com.au>, <81BE89DD-DCD7-41A0-AE62-FD1EDE048FE2@madmansoft.com>, Message-ID: <67116DB20798A94285EEE12A67079A284CAED6D3@MHSEXC02.westrac.com.au> Any chance you could email me that test stack? nakia-brewer[at]bigpond[dot]com ________________________________________ From: use-livecode [use-livecode-bounces at lists.runrev.com] on behalf of Nakia Brewer [Nakia.Brewer at westrac.com.au] Sent: Sunday, April 27, 2014 12:18 PM To: How to use LiveCode Subject: Re: Record and Play sound at same time IOS Thanks mate, Will give this a crack! Btw, how did you come to the assumption the file was not being written to real time ? In my testing I could start playing the file whilst I was still recording it which indicated to me it was being written real time. Sent from my iPhone > On 27 Apr 2014, at 12:12 pm, "Stephen MacLean" wrote: > > Hi Nakia, > > Ok, played around some, and found that while the file is created when you start to record, it doesn't write any data to it until you stop recording. That's not going to work, so I came up with a little something that does. It rotates the file that is being recorded and the file that is playing. Works pretty good, lol, but there sometimes a slight pop when switching files. Your milage may vary! > > See what you think. It was an interesting exercise! > > Put 2 buttons on a card. Name one Record and the other Stop > > Out this into the script of the Record button: > > global gFileNamePath1,gFileNamePath2,gFileNamePath3 > global gRecFileName1,gRecFileName2,gRecFileName3 > global gRecPointer1,gRecPointer2,gRecPointer3 > global gCurrentFileNum > global gSendJammerID > > on mouseUp > #Setup mergMicrophone > if the environment is "mobile" then > mergMicrophoneSetNumberOfChannels "Stereo" > mergMicrophoneSetSampleRate 44100 > mergMicrophoneSetAudioFormat "MP4-AAC" > mergMicrophoneSetTargetBitRate 65536 > mergMicrophoneSetAudioQuality "High" > end if > > # Setup up AV Session > if the environment is "mobile" then > mergAVAudioSessionSetCategory "play and record",false,false,true,true > end if > > # Setup file names & current file number > put UUID ("random") into tUUID1 > put UUID ("random") into tUUID2 > put UUID ("random") into tUUID3 > put 1 into gCurrentFileNum > if the environment is "mobile" then > put specialFolderPath("cache") & slash & tUUID1 & ".m4a" into gFileNamePath1 > put specialFolderPath("cache") & slash & tUUID2 & ".m4a" into gFileNamePath2 > put specialFolderPath("cache") & slash & tUUID3 & ".m4a" into gFileNamePath3 > put tUUID1 & ".m4a" into gRecFileName1 > put tUUID2 & ".m4a" into gRecFileName2 > put tUUID3 & ".m4a" into gRecFileName3 > # Start Recording with file 1 > mergMicrophoneStartRecording gFileNamePath1 > send "playBackJammerStream" to me in 500 millisec > put the result into gSendJammerID # To cancel sends when stop is pressed > end if > end mouseUp > > on playBackJammerStream > #stop recording current file, start recording on next, start playing current file > switch gCurrentFileNum > case 1 > mergMicrophoneStopRecording # Stop recording to current file so data is written to disk > mergMicrophoneStartRecording gFileNamePath2 # Start recording to new file so you don't lose anything in the stream > put "file:" & gFileNamePath1 into tGetFile # Set up file we just stopped recording for playback > put mergAVPlayerCreateFromURL (tGetFile) into gRecPointer1 # Create the AV player for that file > mergAVPlayerDo gRecPointer1,"play" # Start playing file > put 2 into gCurrentFileNum # Advance counter for next callback > send "playBackJammerStream" to me in 500 millisec # Call me back to do all over again > put the result into gSendJammerID # To cancel sends when stop is pressed > break > case 2 > mergMicrophoneStopRecording > mergMicrophoneStartRecording gFileNamePath3 > put "file:" & gFileNamePath2 into tGetFile > put mergAVPlayerCreateFromURL (tGetFile) into gRecPointer2 > mergAVPlayerDo gRecPointer2,"play" > put 3 into gCurrentFileNum > send "playBackJammerStream" to me in 500 millisec > put the result into gSendJammerID # To cancel sends when stop is pressed > break > case 3 > mergMicrophoneStopRecording > mergMicrophoneStartRecording gFileNamePath1 > put "file:" & gFileNamePath3 into tGetFile > put mergAVPlayerCreateFromURL (tGetFile) into gRecPointer3 > mergAVPlayerDo gRecPointer3,"play" > put 1 into gCurrentFileNum > send "playBackJammerStream" to me in 500 millisec > put the result into gSendJammerID # To cancel sends when stop is pressed > break > end switch > end playBackJammerStream > > and put this into the Stop button: > > global gSendJammerID > > on mouseUp > # Stop recording and cancel the send timer > if the environment is "mobile" then > mergMicrophoneStopRecording > cancel gSendJammerID > end if > end mouseUp > > Best, > > Steve > >> On Apr 26, 2014, at 7:29 PM, Nakia Brewer wrote: >> >> Ah righto, that might explain why I cant get it to work. >> >> I am pretty sure the file is being written real time from mergMicrophone as I can play the file using the other methods and it plays up to its current location when I called the play command (I am calling the play whilst I am still recording).. >> >> It seems like LiveCode only evaluates the file on the initial play command and doesn't re evaluate the file whilst it playing hence only playing up to the duration that existed on the initial play command call... >> >> As I am only playing audio do I need to even have a UI for the player? I have tried setting the visible of the player to false but still nothing played. >> >> Thanks for taking a look at it, I appreciate it! > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From smaclean at madmansoft.com Sat Apr 26 22:52:41 2014 From: smaclean at madmansoft.com (Stephen MacLean) Date: Sat, 26 Apr 2014 22:52:41 -0400 Subject: Record and Play sound at same time IOS In-Reply-To: <5CFA56A8-F9A4-41CF-B2E8-156A40FE4614@westrac.com.au> References: <4979AE85-7C36-4712-AC91-14251E5AB7A1@madmansoft.com> <0C5628B3-8EE5-4EC9-AC3F-623CFC520477@westrac.com.au> <3E970474-7773-41E6-AEFF-677248C3BD2C@westrac.com.au> <366409E4-C0BD-4500-A8D4-B31A7AF62A80@westrac.com.au> <587AC2AA-8089-4386-8406-90F2265295AD@madmansoft.com> <67116DB20798A94285EEE12A67079A284CAED495@MHSEXC02.westrac.com.au>, <67116DB20798A94285EEE12A67079A284CAED559@MHSEXC02.westrac.com.au>, <81BE89DD-DCD7-41A0-AE62-FD1EDE048FE2@madmansoft.com> , <3F626DB2-7041-4F05-B7A9-DEC31F2CB4C5@madmansoft.com> <5CFA56A8-F9A4-41CF-B2E8-156A40FE4614@westrac.com.au> Message-ID: <669E4D16-D484-4243-ABD8-C0929F917C11@madmansoft.com> No worries:) Yes, it actually does. There is a file, with the proper format, so it can be "played". If you use some of the other mergAV commands to get the duration you'd probably find that it's of zero length or duration. So you are "playing" it, but it since there is no length and nothing in it, your player plays exactly what is in the file... nothing and therefore no audio. Once you stop recording to that file, the data is written out to it, "filling it out". If you now play it, you still get exactly what's in the file... but now it has length and data so you get audio. Hope that helps! Best, Steve On Apr 26, 2014, at 10:34 PM, Nakia Brewer wrote: > Ah okay, that doesn't explain why it can be played though does it ? > > Maybe when I play it this cancels the recording ? > > Not meaning to question/interrogate your findings, I'm just curious really... > > Sent from my iPhone > >> On 27 Apr 2014, at 12:31 pm, "Stephen MacLean" wrote: >> >> T'was fun:) And since I'd just spent a bunch of time building recording and playback into my app, it was pretty fresh. >> >> Running in the iOS simulator, you can see what's being written to the cache (Your user account > Library > Application Support > iPhone Simulator > the os version you are running on the simulator > The UUID of your app > Library > Caches). >> >> While the file was created when I started recording, by watching the file I could see that it wasn't growing in size until I stopped recording. Which meant data wasn't being dumped to until then. So while there was a file to play, there was no data to be played. >> >> Best, >> >> Steve From smaclean at madmansoft.com Sat Apr 26 22:53:24 2014 From: smaclean at madmansoft.com (Stephen MacLean) Date: Sat, 26 Apr 2014 22:53:24 -0400 Subject: Record and Play sound at same time IOS In-Reply-To: <67116DB20798A94285EEE12A67079A284CAED6D3@MHSEXC02.westrac.com.au> References: <4979AE85-7C36-4712-AC91-14251E5AB7A1@madmansoft.com> <0C5628B3-8EE5-4EC9-AC3F-623CFC520477@westrac.com.au> <3E970474-7773-41E6-AEFF-677248C3BD2C@westrac.com.au> <366409E4-C0BD-4500-A8D4-B31A7AF62A80@westrac.com.au> <587AC2AA-8089-4386-8406-90F2265295AD@madmansoft.com> <67116DB20798A94285EEE12A67079A284CAED495@MHSEXC02.westrac.com.au>, <67116DB20798A94285EEE12A67079A284CAED559@MHSEXC02.westrac.com.au>, <81BE89DD-DCD7-41A0-AE62-FD1EDE048FE2@madmansoft.com>, <67116DB20798A94285EEE12A67079A284CAED6D3@MHSEXC02.westrac.com.au> Message-ID: <3640838E-EFC5-4DFF-B7A8-B28822DACACC@madmansoft.com> Sure, make sure to adjust the paths for your copies of the merg externals. On Apr 26, 2014, at 10:48 PM, Nakia Brewer wrote: > Any chance you could email me that test stack? > > > nakia-brewer[at]bigpond[dot]com > ________________________________________ > From: use-livecode [use-livecode-bounces at lists.runrev.com] on behalf of Nakia Brewer [Nakia.Brewer at westrac.com.au] > Sent: Sunday, April 27, 2014 12:18 PM > To: How to use LiveCode > Subject: Re: Record and Play sound at same time IOS > > Thanks mate, > > Will give this a crack! > > Btw, how did you come to the assumption the file was not being written to real time ? > > In my testing I could start playing the file whilst I was still recording it which indicated to me it was being written real time. > > Sent from my iPhone > >> On 27 Apr 2014, at 12:12 pm, "Stephen MacLean" wrote: >> >> Hi Nakia, >> >> Ok, played around some, and found that while the file is created when you start to record, it doesn't write any data to it until you stop recording. That's not going to work, so I came up with a little something that does. It rotates the file that is being recorded and the file that is playing. Works pretty good, lol, but there sometimes a slight pop when switching files. Your milage may vary! >> >> See what you think. It was an interesting exercise! >> >> Put 2 buttons on a card. Name one Record and the other Stop >> >> Out this into the script of the Record button: >> >> global gFileNamePath1,gFileNamePath2,gFileNamePath3 >> global gRecFileName1,gRecFileName2,gRecFileName3 >> global gRecPointer1,gRecPointer2,gRecPointer3 >> global gCurrentFileNum >> global gSendJammerID >> >> on mouseUp >> #Setup mergMicrophone >> if the environment is "mobile" then >> mergMicrophoneSetNumberOfChannels "Stereo" >> mergMicrophoneSetSampleRate 44100 >> mergMicrophoneSetAudioFormat "MP4-AAC" >> mergMicrophoneSetTargetBitRate 65536 >> mergMicrophoneSetAudioQuality "High" >> end if >> >> # Setup up AV Session >> if the environment is "mobile" then >> mergAVAudioSessionSetCategory "play and record",false,false,true,true >> end if >> >> # Setup file names & current file number >> put UUID ("random") into tUUID1 >> put UUID ("random") into tUUID2 >> put UUID ("random") into tUUID3 >> put 1 into gCurrentFileNum >> if the environment is "mobile" then >> put specialFolderPath("cache") & slash & tUUID1 & ".m4a" into gFileNamePath1 >> put specialFolderPath("cache") & slash & tUUID2 & ".m4a" into gFileNamePath2 >> put specialFolderPath("cache") & slash & tUUID3 & ".m4a" into gFileNamePath3 >> put tUUID1 & ".m4a" into gRecFileName1 >> put tUUID2 & ".m4a" into gRecFileName2 >> put tUUID3 & ".m4a" into gRecFileName3 >> # Start Recording with file 1 >> mergMicrophoneStartRecording gFileNamePath1 >> send "playBackJammerStream" to me in 500 millisec >> put the result into gSendJammerID # To cancel sends when stop is pressed >> end if >> end mouseUp >> >> on playBackJammerStream >> #stop recording current file, start recording on next, start playing current file >> switch gCurrentFileNum >> case 1 >> mergMicrophoneStopRecording # Stop recording to current file so data is written to disk >> mergMicrophoneStartRecording gFileNamePath2 # Start recording to new file so you don't lose anything in the stream >> put "file:" & gFileNamePath1 into tGetFile # Set up file we just stopped recording for playback >> put mergAVPlayerCreateFromURL (tGetFile) into gRecPointer1 # Create the AV player for that file >> mergAVPlayerDo gRecPointer1,"play" # Start playing file >> put 2 into gCurrentFileNum # Advance counter for next callback >> send "playBackJammerStream" to me in 500 millisec # Call me back to do all over again >> put the result into gSendJammerID # To cancel sends when stop is pressed >> break >> case 2 >> mergMicrophoneStopRecording >> mergMicrophoneStartRecording gFileNamePath3 >> put "file:" & gFileNamePath2 into tGetFile >> put mergAVPlayerCreateFromURL (tGetFile) into gRecPointer2 >> mergAVPlayerDo gRecPointer2,"play" >> put 3 into gCurrentFileNum >> send "playBackJammerStream" to me in 500 millisec >> put the result into gSendJammerID # To cancel sends when stop is pressed >> break >> case 3 >> mergMicrophoneStopRecording >> mergMicrophoneStartRecording gFileNamePath1 >> put "file:" & gFileNamePath3 into tGetFile >> put mergAVPlayerCreateFromURL (tGetFile) into gRecPointer3 >> mergAVPlayerDo gRecPointer3,"play" >> put 1 into gCurrentFileNum >> send "playBackJammerStream" to me in 500 millisec >> put the result into gSendJammerID # To cancel sends when stop is pressed >> break >> end switch >> end playBackJammerStream >> >> and put this into the Stop button: >> >> global gSendJammerID >> >> on mouseUp >> # Stop recording and cancel the send timer >> if the environment is "mobile" then >> mergMicrophoneStopRecording >> cancel gSendJammerID >> end if >> end mouseUp >> >> Best, >> >> Steve >> >>> On Apr 26, 2014, at 7:29 PM, Nakia Brewer wrote: >>> >>> Ah righto, that might explain why I cant get it to work. >>> >>> I am pretty sure the file is being written real time from mergMicrophone as I can play the file using the other methods and it plays up to its current location when I called the play command (I am calling the play whilst I am still recording).. >>> >>> It seems like LiveCode only evaluates the file on the initial play command and doesn't re evaluate the file whilst it playing hence only playing up to the duration that existed on the initial play command call... >>> >>> As I am only playing audio do I need to even have a UI for the player? I have tried setting the visible of the player to false but still nothing played. >>> >>> Thanks for taking a look at it, I appreciate it! >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 26 22:52:48 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 26 Apr 2014 19:52:48 -0700 Subject: [Enhancement Request] Open and BackUp in LiveCode DP and RC In-Reply-To: <535A1E06.2060906@cogapp.com> References: <53595E41.4060307@cogapp.com> <53598D04.4020107@fourthworld.com> <535A1E06.2060906@cogapp.com> Message-ID: <5535043782.20140426195248@ahsoftware.net> >> > I'd love to know: what do other people do to customise their >> > environment? >> >> OK - I'll play: http://ponga.com/4e2d4a1e05e8f353 -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From Nakia.Brewer at westrac.com.au Sat Apr 26 22:55:37 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Sun, 27 Apr 2014 02:55:37 +0000 Subject: Record and Play sound at same time IOS In-Reply-To: <669E4D16-D484-4243-ABD8-C0929F917C11@madmansoft.com> References: <4979AE85-7C36-4712-AC91-14251E5AB7A1@madmansoft.com> <0C5628B3-8EE5-4EC9-AC3F-623CFC520477@westrac.com.au> <3E970474-7773-41E6-AEFF-677248C3BD2C@westrac.com.au> <366409E4-C0BD-4500-A8D4-B31A7AF62A80@westrac.com.au> <587AC2AA-8089-4386-8406-90F2265295AD@madmansoft.com> <67116DB20798A94285EEE12A67079A284CAED495@MHSEXC02.westrac.com.au>, <67116DB20798A94285EEE12A67079A284CAED559@MHSEXC02.westrac.com.au>, <81BE89DD-DCD7-41A0-AE62-FD1EDE048FE2@madmansoft.com> , <3F626DB2-7041-4F05-B7A9-DEC31F2CB4C5@madmansoft.com> <5CFA56A8-F9A4-41CF-B2E8-156A40FE4614@westrac.com.au>, <669E4D16-D484-4243-ABD8-C0929F917C11@madmansoft.com> Message-ID: Oops forgot to say, I could actually hear the recording I was making.. It did actually play and I could hear the audio! Sent from my iPhone > On 27 Apr 2014, at 12:52 pm, "Stephen MacLean" wrote: > > No worries:) > > Yes, it actually does. There is a file, with the proper format, so it can be "played". If you use some of the other mergAV commands to get the duration you'd probably find that it's of zero length or duration. > > So you are "playing" it, but it since there is no length and nothing in it, your player plays exactly what is in the file... nothing and therefore no audio. Once you stop recording to that file, the data is written out to it, "filling it out". If you now play it, you still get exactly what's in the file... but now it has length and data so you get audio. > > Hope that helps! > > Best, > > Steve > >> On Apr 26, 2014, at 10:34 PM, Nakia Brewer wrote: >> >> Ah okay, that doesn't explain why it can be played though does it ? >> >> Maybe when I play it this cancels the recording ? >> >> Not meaning to question/interrogate your findings, I'm just curious really... >> >> Sent from my iPhone >> >>> On 27 Apr 2014, at 12:31 pm, "Stephen MacLean" wrote: >>> >>> T'was fun:) And since I'd just spent a bunch of time building recording and playback into my app, it was pretty fresh. >>> >>> Running in the iOS simulator, you can see what's being written to the cache (Your user account > Library > Application Support > iPhone Simulator > the os version you are running on the simulator > The UUID of your app > Library > Caches). >>> >>> While the file was created when I started recording, by watching the file I could see that it wasn't growing in size until I stopped recording. Which meant data wasn't being dumped to until then. So while there was a file to play, there was no data to be played. >>> >>> Best, >>> >>> Steve > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From smaclean at madmansoft.com Sat Apr 26 23:13:36 2014 From: smaclean at madmansoft.com (Stephen MacLean) Date: Sat, 26 Apr 2014 23:13:36 -0400 Subject: Record and Play sound at same time IOS In-Reply-To: References: <4979AE85-7C36-4712-AC91-14251E5AB7A1@madmansoft.com> <0C5628B3-8EE5-4EC9-AC3F-623CFC520477@westrac.com.au> <3E970474-7773-41E6-AEFF-677248C3BD2C@westrac.com.au> <366409E4-C0BD-4500-A8D4-B31A7AF62A80@westrac.com.au> <587AC2AA-8089-4386-8406-90F2265295AD@madmansoft.com> <67116DB20798A94285EEE12A67079A284CAED495@MHSEXC02.westrac.com.au>, <67116DB20798A94285EEE12A67079A284CAED559@MHSEXC02.westrac.com.au>, <81BE89DD-DCD7-41A0-AE62-FD1EDE048FE2@madmansoft.com> , <3F626DB2-7041-4F05-B7A9-DEC31F2CB4C5@madmansoft.com> <5CFA56A8-F9A4-41CF-B2E8-156A40FE4614@westrac.com.au>, <669E4D16-D484-4243-ABD8-C0929F917C11@madmansoft.com> Message-ID: Sorry, I'm confused... Did it play what you recorded as you were recording? Did it stop playing or stop recording? I never saw the file size increase until it stopped recording, but that could be the OS not updating the file size until then. If that's the case you could create a new player every time you have your callback and it might include new audio. You'd have to figure out the current time of the current player and then start playing the new player at that time... You could try that. There is usually more than one way to do what you want. Mine just quickly worked around what you described and what I saw. Let me know how you make out:) Best, Steve On Apr 26, 2014, at 10:55 PM, Nakia Brewer wrote: > Oops forgot to say, I could actually hear the recording I was making.. It did actually play and I could hear the audio! > > > > > > Sent from my iPhone > >> On 27 Apr 2014, at 12:52 pm, "Stephen MacLean" wrote: >> >> No worries:) >> >> Yes, it actually does. There is a file, with the proper format, so it can be "played". If you use some of the other mergAV commands to get the duration you'd probably find that it's of zero length or duration. >> >> So you are "playing" it, but it since there is no length and nothing in it, your player plays exactly what is in the file... nothing and therefore no audio. Once you stop recording to that file, the data is written out to it, "filling it out". If you now play it, you still get exactly what's in the file... but now it has length and data so you get audio. >> >> Hope that helps! >> >> Best, >> >> Steve >> >>> On Apr 26, 2014, at 10:34 PM, Nakia Brewer wrote: >>> >>> Ah okay, that doesn't explain why it can be played though does it ? >>> >>> Maybe when I play it this cancels the recording ? >>> >>> Not meaning to question/interrogate your findings, I'm just curious really... >>> >>> Sent from my iPhone >>> >>>> On 27 Apr 2014, at 12:31 pm, "Stephen MacLean" wrote: >>>> >>>> T'was fun:) And since I'd just spent a bunch of time building recording and playback into my app, it was pretty fresh. >>>> >>>> Running in the iOS simulator, you can see what's being written to the cache (Your user account > Library > Application Support > iPhone Simulator > the os version you are running on the simulator > The UUID of your app > Library > Caches). >>>> >>>> While the file was created when I started recording, by watching the file I could see that it wasn't growing in size until I stopped recording. Which meant data wasn't being dumped to until then. So while there was a file to play, there was no data to be played. >>>> >>>> Best, >>>> >>>> Steve >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Nakia.Brewer at westrac.com.au Sat Apr 26 23:13:41 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Sun, 27 Apr 2014 03:13:41 +0000 Subject: Record and Play sound at same time IOS In-Reply-To: <67116DB20798A94285EEE12A67079A284CAED6D3@MHSEXC02.westrac.com.au> References: <4979AE85-7C36-4712-AC91-14251E5AB7A1@madmansoft.com> <0C5628B3-8EE5-4EC9-AC3F-623CFC520477@westrac.com.au> <3E970474-7773-41E6-AEFF-677248C3BD2C@westrac.com.au> <366409E4-C0BD-4500-A8D4-B31A7AF62A80@westrac.com.au> <587AC2AA-8089-4386-8406-90F2265295AD@madmansoft.com> <67116DB20798A94285EEE12A67079A284CAED495@MHSEXC02.westrac.com.au>, <67116DB20798A94285EEE12A67079A284CAED559@MHSEXC02.westrac.com.au>, <81BE89DD-DCD7-41A0-AE62-FD1EDE048FE2@madmansoft.com>, , <67116DB20798A94285EEE12A67079A284CAED6D3@MHSEXC02.westrac.com.au> Message-ID: <67116DB20798A94285EEE12A67079A284CAED782@MHSEXC02.westrac.com.au> Hey Steve, Check this stack out, it might explain what I am trying to explain. https://www.dropbox.com/s/2u1m4c0r0kew5l2/Speech%20Scrambler%20copy.livecode Press the start recording button and start speaking.. you should hear you voice in 2000 milliseconds. Keep talking for a further few seconds.. now press stop recording.. Now press the play back entire recording button and you will hear the entire recording.... ________________________________________ From: use-livecode [use-livecode-bounces at lists.runrev.com] on behalf of Nakia Brewer [Nakia.Brewer at westrac.com.au] Sent: Sunday, April 27, 2014 12:48 PM To: How to use LiveCode Subject: RE: Record and Play sound at same time IOS Any chance you could email me that test stack? nakia-brewer[at]bigpond[dot]com ________________________________________ From: use-livecode [use-livecode-bounces at lists.runrev.com] on behalf of Nakia Brewer [Nakia.Brewer at westrac.com.au] Sent: Sunday, April 27, 2014 12:18 PM To: How to use LiveCode Subject: Re: Record and Play sound at same time IOS Thanks mate, Will give this a crack! Btw, how did you come to the assumption the file was not being written to real time ? In my testing I could start playing the file whilst I was still recording it which indicated to me it was being written real time. Sent from my iPhone > On 27 Apr 2014, at 12:12 pm, "Stephen MacLean" wrote: > > Hi Nakia, > > Ok, played around some, and found that while the file is created when you start to record, it doesn't write any data to it until you stop recording. That's not going to work, so I came up with a little something that does. It rotates the file that is being recorded and the file that is playing. Works pretty good, lol, but there sometimes a slight pop when switching files. Your milage may vary! > > See what you think. It was an interesting exercise! > > Put 2 buttons on a card. Name one Record and the other Stop > > Out this into the script of the Record button: > > global gFileNamePath1,gFileNamePath2,gFileNamePath3 > global gRecFileName1,gRecFileName2,gRecFileName3 > global gRecPointer1,gRecPointer2,gRecPointer3 > global gCurrentFileNum > global gSendJammerID > > on mouseUp > #Setup mergMicrophone > if the environment is "mobile" then > mergMicrophoneSetNumberOfChannels "Stereo" > mergMicrophoneSetSampleRate 44100 > mergMicrophoneSetAudioFormat "MP4-AAC" > mergMicrophoneSetTargetBitRate 65536 > mergMicrophoneSetAudioQuality "High" > end if > > # Setup up AV Session > if the environment is "mobile" then > mergAVAudioSessionSetCategory "play and record",false,false,true,true > end if > > # Setup file names & current file number > put UUID ("random") into tUUID1 > put UUID ("random") into tUUID2 > put UUID ("random") into tUUID3 > put 1 into gCurrentFileNum > if the environment is "mobile" then > put specialFolderPath("cache") & slash & tUUID1 & ".m4a" into gFileNamePath1 > put specialFolderPath("cache") & slash & tUUID2 & ".m4a" into gFileNamePath2 > put specialFolderPath("cache") & slash & tUUID3 & ".m4a" into gFileNamePath3 > put tUUID1 & ".m4a" into gRecFileName1 > put tUUID2 & ".m4a" into gRecFileName2 > put tUUID3 & ".m4a" into gRecFileName3 > # Start Recording with file 1 > mergMicrophoneStartRecording gFileNamePath1 > send "playBackJammerStream" to me in 500 millisec > put the result into gSendJammerID # To cancel sends when stop is pressed > end if > end mouseUp > > on playBackJammerStream > #stop recording current file, start recording on next, start playing current file > switch gCurrentFileNum > case 1 > mergMicrophoneStopRecording # Stop recording to current file so data is written to disk > mergMicrophoneStartRecording gFileNamePath2 # Start recording to new file so you don't lose anything in the stream > put "file:" & gFileNamePath1 into tGetFile # Set up file we just stopped recording for playback > put mergAVPlayerCreateFromURL (tGetFile) into gRecPointer1 # Create the AV player for that file > mergAVPlayerDo gRecPointer1,"play" # Start playing file > put 2 into gCurrentFileNum # Advance counter for next callback > send "playBackJammerStream" to me in 500 millisec # Call me back to do all over again > put the result into gSendJammerID # To cancel sends when stop is pressed > break > case 2 > mergMicrophoneStopRecording > mergMicrophoneStartRecording gFileNamePath3 > put "file:" & gFileNamePath2 into tGetFile > put mergAVPlayerCreateFromURL (tGetFile) into gRecPointer2 > mergAVPlayerDo gRecPointer2,"play" > put 3 into gCurrentFileNum > send "playBackJammerStream" to me in 500 millisec > put the result into gSendJammerID # To cancel sends when stop is pressed > break > case 3 > mergMicrophoneStopRecording > mergMicrophoneStartRecording gFileNamePath1 > put "file:" & gFileNamePath3 into tGetFile > put mergAVPlayerCreateFromURL (tGetFile) into gRecPointer3 > mergAVPlayerDo gRecPointer3,"play" > put 1 into gCurrentFileNum > send "playBackJammerStream" to me in 500 millisec > put the result into gSendJammerID # To cancel sends when stop is pressed > break > end switch > end playBackJammerStream > > and put this into the Stop button: > > global gSendJammerID > > on mouseUp > # Stop recording and cancel the send timer > if the environment is "mobile" then > mergMicrophoneStopRecording > cancel gSendJammerID > end if > end mouseUp > > Best, > > Steve > >> On Apr 26, 2014, at 7:29 PM, Nakia Brewer wrote: >> >> Ah righto, that might explain why I cant get it to work. >> >> I am pretty sure the file is being written real time from mergMicrophone as I can play the file using the other methods and it plays up to its current location when I called the play command (I am calling the play whilst I am still recording).. >> >> It seems like LiveCode only evaluates the file on the initial play command and doesn't re evaluate the file whilst it playing hence only playing up to the duration that existed on the initial play command call... >> >> As I am only playing audio do I need to even have a UI for the player? I have tried setting the visible of the player to false but still nothing played. >> >> Thanks for taking a look at it, I appreciate it! > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From smaclean at madmansoft.com Sat Apr 26 23:39:43 2014 From: smaclean at madmansoft.com (Stephen MacLean) Date: Sat, 26 Apr 2014 23:39:43 -0400 Subject: Record and Play sound at same time IOS In-Reply-To: <67116DB20798A94285EEE12A67079A284CAED782@MHSEXC02.westrac.com.au> References: <4979AE85-7C36-4712-AC91-14251E5AB7A1@madmansoft.com> <0C5628B3-8EE5-4EC9-AC3F-623CFC520477@westrac.com.au> <3E970474-7773-41E6-AEFF-677248C3BD2C@westrac.com.au> <366409E4-C0BD-4500-A8D4-B31A7AF62A80@westrac.com.au> <587AC2AA-8089-4386-8406-90F2265295AD@madmansoft.com> <67116DB20798A94285EEE12A67079A284CAED495@MHSEXC02.westrac.com.au>, <67116DB20798A94285EEE12A67079A284CAED559@MHSEXC02.westrac.com.au>, <81BE89DD-DCD7-41A0-AE62-FD1EDE048FE2@madmansoft.com>, , <67116DB20798A94285EEE12A67079A284CAED6D3@MHSEXC02.westrac.com.au> <67116DB20798A94285EEE12A67079A284CAED782@MHSEXC02.westrac.com.au> Message-ID: <92579ABA-3CCE-43E4-AC66-4669003DD0DE@madmansoft.com> Hi Nakia, Ok, so here is what I think is happening is this. It does seem that the recording is continuing, as you do get the entire thing. Must be the OS not updating the file size in real time. I'm thinking the problem lies in that when you issue the LC play command, it reads the file as it stands at that point in time and plays what it read in. So you get your 2 secs worth of audio and that's it. To work around that you'd either need to do what I did or using mergAV create a new player on your callback to the playBackJammerStream that will re-read the file and then start the new player playing at the point in time when the other player ended. You just don't have that level of control with the LC play command that you do with the mergAV player. Does that make sense? Give it a shot if you want and let me know. Best, Steve On Apr 26, 2014, at 11:13 PM, Nakia Brewer wrote: > Hey Steve, > > Check this stack out, it might explain what I am trying to explain. > > https://www.dropbox.com/s/2u1m4c0r0kew5l2/Speech%20Scrambler%20copy.livecode > > Press the start recording button and start speaking.. you should hear you voice in 2000 milliseconds. > Keep talking for a further few seconds.. now press stop recording.. > > Now press the play back entire recording button and you will hear the entire recording.... > > > > > ________________________________________ > From: use-livecode [use-livecode-bounces at lists.runrev.com] on behalf of Nakia Brewer [Nakia.Brewer at westrac.com.au] > Sent: Sunday, April 27, 2014 12:48 PM > To: How to use LiveCode > Subject: RE: Record and Play sound at same time IOS > > Any chance you could email me that test stack? > > > nakia-brewer[at]bigpond[dot]com > ________________________________________ > From: use-livecode [use-livecode-bounces at lists.runrev.com] on behalf of Nakia Brewer [Nakia.Brewer at westrac.com.au] > Sent: Sunday, April 27, 2014 12:18 PM > To: How to use LiveCode > Subject: Re: Record and Play sound at same time IOS > > Thanks mate, > > Will give this a crack! > > Btw, how did you come to the assumption the file was not being written to real time ? > > In my testing I could start playing the file whilst I was still recording it which indicated to me it was being written real time. > > Sent from my iPhone > >> On 27 Apr 2014, at 12:12 pm, "Stephen MacLean" wrote: >> >> Hi Nakia, >> >> Ok, played around some, and found that while the file is created when you start to record, it doesn't write any data to it until you stop recording. That's not going to work, so I came up with a little something that does. It rotates the file that is being recorded and the file that is playing. Works pretty good, lol, but there sometimes a slight pop when switching files. Your milage may vary! >> >> See what you think. It was an interesting exercise! >> >> Put 2 buttons on a card. Name one Record and the other Stop >> >> Out this into the script of the Record button: >> >> global gFileNamePath1,gFileNamePath2,gFileNamePath3 >> global gRecFileName1,gRecFileName2,gRecFileName3 >> global gRecPointer1,gRecPointer2,gRecPointer3 >> global gCurrentFileNum >> global gSendJammerID >> >> on mouseUp >> #Setup mergMicrophone >> if the environment is "mobile" then >> mergMicrophoneSetNumberOfChannels "Stereo" >> mergMicrophoneSetSampleRate 44100 >> mergMicrophoneSetAudioFormat "MP4-AAC" >> mergMicrophoneSetTargetBitRate 65536 >> mergMicrophoneSetAudioQuality "High" >> end if >> >> # Setup up AV Session >> if the environment is "mobile" then >> mergAVAudioSessionSetCategory "play and record",false,false,true,true >> end if >> >> # Setup file names & current file number >> put UUID ("random") into tUUID1 >> put UUID ("random") into tUUID2 >> put UUID ("random") into tUUID3 >> put 1 into gCurrentFileNum >> if the environment is "mobile" then >> put specialFolderPath("cache") & slash & tUUID1 & ".m4a" into gFileNamePath1 >> put specialFolderPath("cache") & slash & tUUID2 & ".m4a" into gFileNamePath2 >> put specialFolderPath("cache") & slash & tUUID3 & ".m4a" into gFileNamePath3 >> put tUUID1 & ".m4a" into gRecFileName1 >> put tUUID2 & ".m4a" into gRecFileName2 >> put tUUID3 & ".m4a" into gRecFileName3 >> # Start Recording with file 1 >> mergMicrophoneStartRecording gFileNamePath1 >> send "playBackJammerStream" to me in 500 millisec >> put the result into gSendJammerID # To cancel sends when stop is pressed >> end if >> end mouseUp >> >> on playBackJammerStream >> #stop recording current file, start recording on next, start playing current file >> switch gCurrentFileNum >> case 1 >> mergMicrophoneStopRecording # Stop recording to current file so data is written to disk >> mergMicrophoneStartRecording gFileNamePath2 # Start recording to new file so you don't lose anything in the stream >> put "file:" & gFileNamePath1 into tGetFile # Set up file we just stopped recording for playback >> put mergAVPlayerCreateFromURL (tGetFile) into gRecPointer1 # Create the AV player for that file >> mergAVPlayerDo gRecPointer1,"play" # Start playing file >> put 2 into gCurrentFileNum # Advance counter for next callback >> send "playBackJammerStream" to me in 500 millisec # Call me back to do all over again >> put the result into gSendJammerID # To cancel sends when stop is pressed >> break >> case 2 >> mergMicrophoneStopRecording >> mergMicrophoneStartRecording gFileNamePath3 >> put "file:" & gFileNamePath2 into tGetFile >> put mergAVPlayerCreateFromURL (tGetFile) into gRecPointer2 >> mergAVPlayerDo gRecPointer2,"play" >> put 3 into gCurrentFileNum >> send "playBackJammerStream" to me in 500 millisec >> put the result into gSendJammerID # To cancel sends when stop is pressed >> break >> case 3 >> mergMicrophoneStopRecording >> mergMicrophoneStartRecording gFileNamePath1 >> put "file:" & gFileNamePath3 into tGetFile >> put mergAVPlayerCreateFromURL (tGetFile) into gRecPointer3 >> mergAVPlayerDo gRecPointer3,"play" >> put 1 into gCurrentFileNum >> send "playBackJammerStream" to me in 500 millisec >> put the result into gSendJammerID # To cancel sends when stop is pressed >> break >> end switch >> end playBackJammerStream >> >> and put this into the Stop button: >> >> global gSendJammerID >> >> on mouseUp >> # Stop recording and cancel the send timer >> if the environment is "mobile" then >> mergMicrophoneStopRecording >> cancel gSendJammerID >> end if >> end mouseUp >> >> Best, >> >> Steve >> >>> On Apr 26, 2014, at 7:29 PM, Nakia Brewer wrote: >>> >>> Ah righto, that might explain why I cant get it to work. >>> >>> I am pretty sure the file is being written real time from mergMicrophone as I can play the file using the other methods and it plays up to its current location when I called the play command (I am calling the play whilst I am still recording).. >>> >>> It seems like LiveCode only evaluates the file on the initial play command and doesn't re evaluate the file whilst it playing hence only playing up to the duration that existed on the initial play command call... >>> >>> As I am only playing audio do I need to even have a UI for the player? I have tried setting the visible of the player to false but still nothing played. >>> >>> Thanks for taking a look at it, I appreciate it! >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From james at thehales.id.au Sat Apr 26 23:43:33 2014 From: james at thehales.id.au (James Hale) Date: Sun, 27 Apr 2014 13:43:33 +1000 Subject: Really basic SQLite questions (Mike Kerner) Message-ID: <5A8CD6B3-C149-4E78-A4A7-4F78DF4CB928@thehales.id.au> Thanks everyone. As I am only accessing a local file(s) and there is only a single user at any one time I will go with connecting at startup and disconnecting at quit. Externals I will load on the appropriate connection. Of course if this doesn't work I will report back, but so far everything seems to be working fine using this approach. James From Nakia.Brewer at westrac.com.au Sat Apr 26 23:50:37 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Sun, 27 Apr 2014 03:50:37 +0000 Subject: Record and Play sound at same time IOS In-Reply-To: <92579ABA-3CCE-43E4-AC66-4669003DD0DE@madmansoft.com> References: <4979AE85-7C36-4712-AC91-14251E5AB7A1@madmansoft.com> <0C5628B3-8EE5-4EC9-AC3F-623CFC520477@westrac.com.au> <3E970474-7773-41E6-AEFF-677248C3BD2C@westrac.com.au> <366409E4-C0BD-4500-A8D4-B31A7AF62A80@westrac.com.au> <587AC2AA-8089-4386-8406-90F2265295AD@madmansoft.com> <67116DB20798A94285EEE12A67079A284CAED495@MHSEXC02.westrac.com.au>, <67116DB20798A94285EEE12A67079A284CAED559@MHSEXC02.westrac.com.au>, <81BE89DD-DCD7-41A0-AE62-FD1EDE048FE2@madmansoft.com>, , <67116DB20798A94285EEE12A67079A284CAED6D3@MHSEXC02.westrac.com.au> <67116DB20798A94285EEE12A67079A284CAED782@MHSEXC02.westrac.com.au>, <92579ABA-3CCE-43E4-AC66-4669003DD0DE@madmansoft.com> Message-ID: Yeah that is cool, I guessed that was what's happening.. Just gotta get the mergAV player to work.. Can't even get your test stack to work on my system here... Sent from my iPhone > On 27 Apr 2014, at 1:40 pm, "Stephen MacLean" wrote: > > Hi Nakia, > > Ok, so here is what I think is happening is this. > > It does seem that the recording is continuing, as you do get the entire thing. Must be the OS not updating the file size in real time. > > I'm thinking the problem lies in that when you issue the LC play command, it reads the file as it stands at that point in time and plays what it read in. So you get your 2 secs worth of audio and that's it. > > To work around that you'd either need to do what I did or using mergAV create a new player on your callback to the playBackJammerStream that will re-read the file and then start the new player playing at the point in time when the other player ended. > > You just don't have that level of control with the LC play command that you do with the mergAV player. > > Does that make sense? Give it a shot if you want and let me know. > > Best, > > Steve > >> On Apr 26, 2014, at 11:13 PM, Nakia Brewer wrote: >> >> Hey Steve, >> >> Check this stack out, it might explain what I am trying to explain. >> >> https://www.dropbox.com/s/2u1m4c0r0kew5l2/Speech%20Scrambler%20copy.livecode >> >> Press the start recording button and start speaking.. you should hear you voice in 2000 milliseconds. >> Keep talking for a further few seconds.. now press stop recording.. >> >> Now press the play back entire recording button and you will hear the entire recording.... >> >> >> >> >> ________________________________________ >> From: use-livecode [use-livecode-bounces at lists.runrev.com] on behalf of Nakia Brewer [Nakia.Brewer at westrac.com.au] >> Sent: Sunday, April 27, 2014 12:48 PM >> To: How to use LiveCode >> Subject: RE: Record and Play sound at same time IOS >> >> Any chance you could email me that test stack? >> >> >> nakia-brewer[at]bigpond[dot]com >> ________________________________________ >> From: use-livecode [use-livecode-bounces at lists.runrev.com] on behalf of Nakia Brewer [Nakia.Brewer at westrac.com.au] >> Sent: Sunday, April 27, 2014 12:18 PM >> To: How to use LiveCode >> Subject: Re: Record and Play sound at same time IOS >> >> Thanks mate, >> >> Will give this a crack! >> >> Btw, how did you come to the assumption the file was not being written to real time ? >> >> In my testing I could start playing the file whilst I was still recording it which indicated to me it was being written real time. >> >> Sent from my iPhone >> >>> On 27 Apr 2014, at 12:12 pm, "Stephen MacLean" wrote: >>> >>> Hi Nakia, >>> >>> Ok, played around some, and found that while the file is created when you start to record, it doesn't write any data to it until you stop recording. That's not going to work, so I came up with a little something that does. It rotates the file that is being recorded and the file that is playing. Works pretty good, lol, but there sometimes a slight pop when switching files. Your milage may vary! >>> >>> See what you think. It was an interesting exercise! >>> >>> Put 2 buttons on a card. Name one Record and the other Stop >>> >>> Out this into the script of the Record button: >>> >>> global gFileNamePath1,gFileNamePath2,gFileNamePath3 >>> global gRecFileName1,gRecFileName2,gRecFileName3 >>> global gRecPointer1,gRecPointer2,gRecPointer3 >>> global gCurrentFileNum >>> global gSendJammerID >>> >>> on mouseUp >>> #Setup mergMicrophone >>> if the environment is "mobile" then >>> mergMicrophoneSetNumberOfChannels "Stereo" >>> mergMicrophoneSetSampleRate 44100 >>> mergMicrophoneSetAudioFormat "MP4-AAC" >>> mergMicrophoneSetTargetBitRate 65536 >>> mergMicrophoneSetAudioQuality "High" >>> end if >>> >>> # Setup up AV Session >>> if the environment is "mobile" then >>> mergAVAudioSessionSetCategory "play and record",false,false,true,true >>> end if >>> >>> # Setup file names & current file number >>> put UUID ("random") into tUUID1 >>> put UUID ("random") into tUUID2 >>> put UUID ("random") into tUUID3 >>> put 1 into gCurrentFileNum >>> if the environment is "mobile" then >>> put specialFolderPath("cache") & slash & tUUID1 & ".m4a" into gFileNamePath1 >>> put specialFolderPath("cache") & slash & tUUID2 & ".m4a" into gFileNamePath2 >>> put specialFolderPath("cache") & slash & tUUID3 & ".m4a" into gFileNamePath3 >>> put tUUID1 & ".m4a" into gRecFileName1 >>> put tUUID2 & ".m4a" into gRecFileName2 >>> put tUUID3 & ".m4a" into gRecFileName3 >>> # Start Recording with file 1 >>> mergMicrophoneStartRecording gFileNamePath1 >>> send "playBackJammerStream" to me in 500 millisec >>> put the result into gSendJammerID # To cancel sends when stop is pressed >>> end if >>> end mouseUp >>> >>> on playBackJammerStream >>> #stop recording current file, start recording on next, start playing current file >>> switch gCurrentFileNum >>> case 1 >>> mergMicrophoneStopRecording # Stop recording to current file so data is written to disk >>> mergMicrophoneStartRecording gFileNamePath2 # Start recording to new file so you don't lose anything in the stream >>> put "file:" & gFileNamePath1 into tGetFile # Set up file we just stopped recording for playback >>> put mergAVPlayerCreateFromURL (tGetFile) into gRecPointer1 # Create the AV player for that file >>> mergAVPlayerDo gRecPointer1,"play" # Start playing file >>> put 2 into gCurrentFileNum # Advance counter for next callback >>> send "playBackJammerStream" to me in 500 millisec # Call me back to do all over again >>> put the result into gSendJammerID # To cancel sends when stop is pressed >>> break >>> case 2 >>> mergMicrophoneStopRecording >>> mergMicrophoneStartRecording gFileNamePath3 >>> put "file:" & gFileNamePath2 into tGetFile >>> put mergAVPlayerCreateFromURL (tGetFile) into gRecPointer2 >>> mergAVPlayerDo gRecPointer2,"play" >>> put 3 into gCurrentFileNum >>> send "playBackJammerStream" to me in 500 millisec >>> put the result into gSendJammerID # To cancel sends when stop is pressed >>> break >>> case 3 >>> mergMicrophoneStopRecording >>> mergMicrophoneStartRecording gFileNamePath1 >>> put "file:" & gFileNamePath3 into tGetFile >>> put mergAVPlayerCreateFromURL (tGetFile) into gRecPointer3 >>> mergAVPlayerDo gRecPointer3,"play" >>> put 1 into gCurrentFileNum >>> send "playBackJammerStream" to me in 500 millisec >>> put the result into gSendJammerID # To cancel sends when stop is pressed >>> break >>> end switch >>> end playBackJammerStream >>> >>> and put this into the Stop button: >>> >>> global gSendJammerID >>> >>> on mouseUp >>> # Stop recording and cancel the send timer >>> if the environment is "mobile" then >>> mergMicrophoneStopRecording >>> cancel gSendJammerID >>> end if >>> end mouseUp >>> >>> Best, >>> >>> Steve >>> >>>> On Apr 26, 2014, at 7:29 PM, Nakia Brewer wrote: >>>> >>>> Ah righto, that might explain why I cant get it to work. >>>> >>>> I am pretty sure the file is being written real time from mergMicrophone as I can play the file using the other methods and it plays up to its current location when I called the play command (I am calling the play whilst I am still recording).. >>>> >>>> It seems like LiveCode only evaluates the file on the initial play command and doesn't re evaluate the file whilst it playing hence only playing up to the duration that existed on the initial play command call... >>>> >>>> As I am only playing audio do I need to even have a UI for the player? I have tried setting the visible of the player to false but still nothing played. >>>> >>>> Thanks for taking a look at it, I appreciate it! >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From charles at buchwald.ca Sun Apr 27 00:24:42 2014 From: charles at buchwald.ca (Charles E Buchwald) Date: Sat, 26 Apr 2014 23:24:42 -0500 Subject: ANN: New Little Plugin, lcLipsum Message-ID: Hi List People, It's a quiet Saturday here in Mexico City, and I've been procrastinating by creating this little plugin?. lcLipsum is a diminutive plugin that provides quick and versatile access to Lorem Ipsum text. You can select and copy from the traditional Lorem Ipsum text, or Cicero's original De finibus bonorum et malorum (On Good and Evil Ends). Select between chars, words, sentences or lines/paragraphs, and specify any amount. Automatically add an extra return after each paragraph if you like. Or view the complete texts and just copy and paste from there. Hope someone amongst you finds it useful! As usual, it's free. Download here: http://buchwald.ca/developer-tools/ Cheers, - Charles -- Charles E. Buchwald CEO/Director General Museografica Digital http://digital.museografica.com Email Notice: http://wp.me/P3aT4d-33 From richmondmathewson at gmail.com Sun Apr 27 03:54:06 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 27 Apr 2014 10:54:06 +0300 Subject: Backdrop in in 6.7.0 dp2 under Lubuntu Linux 13.10 In-Reply-To: <10425667867.20140426171632@ahsoftware.net> References: <1398482591802-4678701.post@n4.nabble.com> <106472004743.20140426093625@ahsoftware.net> <76472914687.20140426095135@ahsoftware.net> <16700294.20140426102024@ahsoftware.net> <535BF16C.5040700@gmail.com> <1333995998.20140426111520@ahsoftware.net> <535BFBDC.9050206@gmail.com> <10425667867.20140426171632@ahsoftware.net> Message-ID: <535CB79E.8050005@gmail.com> On 27/04/14 03:16, Mark Wieder wrote: > Richmond- > > Saturday, April 26, 2014, 11:33:00 AM, you wrote: > >> Maybe you did give up on Ubuntu: but, like Ubuntu or not, it is the >> dominant form of Linux at the moment: and if this sort of thing "f***s >> up on Ubuntu" >> it does not count as 'fixed'. > Well, my use of "fixed" was done facetiously, and that word just so I > could use one of each the vowel in order... > >> He put some type of Ubuntu on them . . . why?; well; the chap knows next >> to nothing >> about computers or operating systems; knows Ubuntu is FREE, some of his >> co-workers >> feel groovy because they know that 'Ubuntu' is a Swahili buzzword, seems >> to have the most >> online support . . . tiddly pom! > Yeah... Things Like This... > anyway, I won't get into religious wars here. I know Ubuntu has its > fans, as does Windows, as does . > I'm not a particular fan of Ubuntu: I am quite a fan of XFCE, and like Debian derivatives. However; once people have got over the "trauma" of leaving Windows behind, they, generally, want a "bung it on the computer and get on with things" sort of type of Linux; and Ubuntu's propaganda and/or exposure is such that that is the one that seems to fit that recipe. As far as religious wars go . . . I have been through Mac OS 7 - 9, Mac OS 10.1 to 10.9, side trips to Windows NT, 2000, 95, 98, ME, XP, Vista and 7, and a wide variety of Linux distros: and know that just at the moment UbuntuStudio fits my requirements 95% - however I use my G3 iMac running Mac OS 9.2 on a weekly, if not daily basis. And "just at the moment" means that all my "religious" preferences are provisional and likely to change at any minute. I am not going to tie myself down to one OS. As far as I can see one of the greatest virtues in our world is to be adaptable: and that holds true for computers and computer systems just as well as everything else. Here endeth the sermon for today. Richmond. and then find that I am "in the sh**" at some crucial time in my life. From richmondmathewson at gmail.com Sun Apr 27 08:35:26 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 27 Apr 2014 15:35:26 +0300 Subject: Patch your Menubar Message-ID: <535CF98E.2070903@gmail.com> This hacks the revMenubar stack to give you a button to switch back and forth between a vertical and a horizontal menu bar. http://andregarzia.on-rev.com/richmond/P1.zip Please do NOT use this in conjunction with the Hack Attack stack. Richmond. From pete at lcsql.com Sun Apr 27 14:22:20 2014 From: pete at lcsql.com (Peter Haworth) Date: Sun, 27 Apr 2014 11:22:20 -0700 Subject: Date/Time/Number/Currency formats Message-ID: I've put together a script that gets the date/time/number/currency formats using shell to issue locale commands on OSX. How can I get that info on Windows? Linux? Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From richmondmathewson at gmail.com Sun Apr 27 15:20:16 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 27 Apr 2014 22:20:16 +0300 Subject: [OT] Intellectual Property Message-ID: <535D5870.6040000@gmail.com> http://www.workintelligent.ly/information/data-security/2014-4-6-protecting-intellectual-property/?utm_campaign=ContentSyndication&utm_medium=NativeAd&utm_source=OutBrain&utm_content=&utm_term=protecting+intellectual+property Well worth a read. Richmond. From livfoss at mac.com Sun Apr 27 17:12:38 2014 From: livfoss at mac.com (Graham Samuel) Date: Sun, 27 Apr 2014 22:12:38 +0100 Subject: ANN: New Little Plugin, lcLipsum In-Reply-To: References: Message-ID: <42723290-22E2-494D-B232-C16FE21330A2@mac.com> Thanks, Charles, very charming - takes me back to my PageMaker days... I'll be using it. Graham On 27 Apr 2014, at 05:24, Charles E Buchwald wrote: > Hi List People, > > It's a quiet Saturday here in Mexico City, and I've been procrastinating by creating this little plugin?. > > lcLipsum is a diminutive plugin that provides quick and versatile access to Lorem Ipsum text. > You can select and copy from the traditional Lorem Ipsum text, or Cicero's original De finibus bonorum et malorum (On Good and Evil Ends). > Select between chars, words, sentences or lines/paragraphs, and specify any amount. > Automatically add an extra return after each paragraph if you like. > Or view the complete texts and just copy and paste from there. > > Hope someone amongst you finds it useful! > As usual, it's free. > > Download here: http://buchwald.ca/developer-tools/ > > Cheers, > - Charles > -- > Charles E. Buchwald > CEO/Director General > > Museografica Digital > http://digital.museografica.com > > Email Notice: http://wp.me/P3aT4d-33 > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Apr 27 17:14:45 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Sun, 27 Apr 2014 23:14:45 +0200 Subject: Date/Time/Number/Currency formats In-Reply-To: References: Message-ID: <68BAFA60-6A82-4078-AA70-13DC30DB3F0F@m-r-d.de> Hi, for Windows you can look in the registry at HKEY_CURRENT_USER\Control Panel\International HKEY_CURRENT_USER\Control Panel\International\locale HKEY_CURRENT_USER\Control Panel\International\localename HKEY_CURRENT_USER\Control Panel\International\sDecimal HKEY_CURRENT_USER\Control Panel\International\sThousand HKEY_CURRENT_USER\Control Panel\International\slist HKEY_CURRENT_USER\Control Panel\International\sGrouping HKEY_CURRENT_USER\Control Panel\International\sMonDecimalSep HKEY_CURRENT_USER\Control Panel\International\sMonThousandSep HKEY_CURRENT_USER\Control Panel\International\sMonGrouping HKEY_CURRENT_USER\Control Panel\International\sCurrency You can use the LC function queryregistry to get the values. You find more information about the registry settings for international settings at http://technet.microsoft.com/en-us/library/cc784842%28v=ws.10%29.aspx Regards, Matthias Am 27.04.2014 um 20:22 schrieb Peter Haworth : > I've put together a script that gets the date/time/number/currency formats > using shell to issue locale commands on OSX. How can I get that info on > Windows? Linux? > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From cszasz at me.com Sun Apr 27 20:00:22 2014 From: cszasz at me.com (Charles Szasz) Date: Sun, 27 Apr 2014 20:00:22 -0400 Subject: Numbering of lines in a field Message-ID: <74461E2F-4E4B-4174-8ED0-FC12AD98A7A1@me.com> I have a scrolling field that contains a number of lines. Some of the lines begin with ?CHC". I have been trying to number only the lines between lines that contain ?CHC? and then starts numbering again between the next pair of lines containing ?CHC? For example, CHC 1. 2. 3. 4. 5. CHC 1. 2. 3. CHC 1. 2. 3. 4. 5. I have tried different variations with the following script and achieved numbering sequentially between CHC lines but the numbering does not start over after each line CHC line. repeat with i = 1 to the number of lines in field ?recommendations" if "CHC" is not among the words of line i in field "recommendations" then put i &"."& space before line i of field "recommendations" end if end repeat Any suggestions? Charles Szasz cszasz at mac.com From m.schonewille at economy-x-talk.com Sun Apr 27 20:11:26 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 28 Apr 2014 02:11:26 +0200 Subject: Numbering of lines in a field In-Reply-To: <74461E2F-4E4B-4174-8ED0-FC12AD98A7A1@me.com> References: <74461E2F-4E4B-4174-8ED0-FC12AD98A7A1@me.com> Message-ID: <535D9CAE.9050607@economy-x-talk.com> Hi Charles, I think the script you need looks like the following: constant dot = "." function lineNumbering theLines put 0 into myCounter repeat for each line myLine in theLines if "CHC" is word 1 of myLine then put 0 into myCounter put myLine & cr after myNewLines else add 1 to myCounter put myCounter & dot && myLine after myNewLines end if end repeat return char 1 to -2 of myNewLines end lineNumbering -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 4/28/2014 02:00, Charles Szasz wrote: > I have a scrolling field that contains a number of lines. Some of the lines begin with ?CHC". I have been trying to number only the lines between lines that contain ?CHC? and then starts numbering again between the next pair of lines containing ?CHC? > > For example, > > CHC > 1. > 2. > 3. > 4. > 5. > CHC > 1. > 2. > 3. > CHC > 1. > 2. > 3. > 4. > 5. > > I have tried different variations with the following script and achieved numbering sequentially between CHC lines but the numbering does not start over after each line CHC line. > > repeat with i = 1 to the number of lines in field ?recommendations" > if "CHC" is not among the words of line i in field "recommendations" > then > put i &"."& space before line i of field "recommendations" > end if > end repeat > > Any suggestions? > > Charles Szasz > cszasz at mac.com > > From pete at lcsql.com Sun Apr 27 21:03:55 2014 From: pete at lcsql.com (Peter Haworth) Date: Sun, 27 Apr 2014 18:03:55 -0700 Subject: Date/Time/Number/Currency formats In-Reply-To: <68BAFA60-6A82-4078-AA70-13DC30DB3F0F@m-r-d.de> References: <68BAFA60-6A82-4078-AA70-13DC30DB3F0F@m-r-d.de> Message-ID: Thanks Matthias. And of course I realized after posting that I can do the same on Linux as on OSX. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sun, Apr 27, 2014 at 2:14 PM, Matthias Rebbe | M-R-D < matthias_livecode_150811 at m-r-d.de> wrote: > Hi, > > for Windows you can look in the registry at > > HKEY_CURRENT_USER\Control Panel\International > > HKEY_CURRENT_USER\Control Panel\International\locale > HKEY_CURRENT_USER\Control Panel\International\localename > HKEY_CURRENT_USER\Control Panel\International\sDecimal > HKEY_CURRENT_USER\Control Panel\International\sThousand > HKEY_CURRENT_USER\Control Panel\International\slist > HKEY_CURRENT_USER\Control Panel\International\sGrouping > HKEY_CURRENT_USER\Control Panel\International\sMonDecimalSep > HKEY_CURRENT_USER\Control Panel\International\sMonThousandSep > HKEY_CURRENT_USER\Control Panel\International\sMonGrouping > HKEY_CURRENT_USER\Control Panel\International\sCurrency > > You can use the LC function queryregistry to get the values. > > You find more information about the registry settings for international > settings at > > http://technet.microsoft.com/en-us/library/cc784842%28v=ws.10%29.aspx > > Regards, > > Matthias > > > > Am 27.04.2014 um 20:22 schrieb Peter Haworth : > > > I've put together a script that gets the date/time/number/currency > formats > > using shell to issue locale commands on OSX. How can I get that info on > > Windows? Linux? > > > > Pete > > lcSQL Software > > Home of lcStackBrowser and > > SQLiteAdmin > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From MikeKerner at roadrunner.com Sun Apr 27 22:37:55 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 27 Apr 2014 22:37:55 -0400 Subject: Android autocorrect Message-ID: I can't seem to make autocorrect NOT happen in text fields on android. when I check the autocorrectiontype for the field, I get a "no", but autocorrect operates, anyway. Suggestions? -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From jacque at hyperactivesw.com Sun Apr 27 23:59:24 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 27 Apr 2014 22:59:24 -0500 Subject: Android autocorrect In-Reply-To: References: Message-ID: <535DD21C.4050100@hyperactivesw.com> On 4/27/14, 9:37 PM, Mike Kerner wrote: > I can't seem to make autocorrect NOT happen in text fields on android. > > when I check the autocorrectiontype for the field, I get a "no", but > autocorrect operates, anyway. > > Suggestions? > The user system prefs appears to override that. It follows the user prefs in Android settings. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lan.kc.macmail at gmail.com Mon Apr 28 01:26:41 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 28 Apr 2014 13:26:41 +0800 Subject: Really basic SQLite questions In-Reply-To: References: <91466C3D-49EA-437C-B6B4-45619D7B137E@thehales.id.au> <306494C7-0DBF-40BD-916A-AF5BAFEA7402@me.com> Message-ID: On Sat, Apr 26, 2014 at 12:04 AM, Mike Kerner wrote: > Bob, I agree that in general... Since SQLite is a local file-store DB, > it's a little different. it isn't designed for transaction loads, > multi-users, etc. > Which is why I'll offer one instance where it may make sense to open/close the connection after each query - during development. Because SQLite is not designed for multi-connections it makes it hard to troubleshoot unexpected results with another db Management Tool. I also note that some management tools I consider better than others because they DO close their connection after each query whilst others do NOT - which you'll eventually figure out by the new errors you get when you can't get LC to access the Tables you previously could. So I eventually learnt to open the SQLite db, do my query, close. Has sped up my development process no end. YMMV. In the end, it's actually so fast that I usually don't even bother changing it after everything is sorted out, although if there is a sequence of Queries I will only open at the beginning and close at the end. From wow at together.net Mon Apr 28 01:28:26 2014 From: wow at together.net (Richard Miller) Date: Mon, 28 Apr 2014 01:28:26 -0400 Subject: LC, IOS 7 and UIKeyCommand In-Reply-To: <535DD21C.4050100@hyperactivesw.com> References: <535DD21C.4050100@hyperactivesw.com> Message-ID: <535DE6FA.2040500@together.net> What would be required to make the UIKeyCommand functionality available to a LC ios app? I want to be able to control a custom in-house iPhone 5s app via bluetooth keyboard. |(Some info here:) |||http://www.danandcheryl.com/2014/04/how-and-why-to-implement-keyboard-shortcuts-in-ios-7 https://developer.apple.com/library/ios/documentation/uikit/reference/UIKeyCommand_class/Reference/Reference.html Thanks, Richard Miller From Nakia.Brewer at westrac.com.au Mon Apr 28 04:53:25 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Mon, 28 Apr 2014 08:53:25 +0000 Subject: HTPPS problem with a web service In-Reply-To: References: <16B7D853-EB0C-4538-81AF-37538987094D@westrac.com.au> <53598E03.2080204@hyperactivesw.com> , Message-ID: Tried today at work on my windows machine and issue still exists on LC6.6.2 It seems it's in the LC engine somewhere as even the LiveCode Automatic Activation fails meaning I have to manually generate an activation file each time for upgrades. Sent from my iPhone > On 25 Apr 2014, at 11:03 pm, "David Bovill" wrote: > > Yes 6.6.1 does not work. The only version that works AFAIK (at least on OSX > 10.9.2) is 6.6.2. > > >> On 25 April 2014 12:27, Nakia Brewer wrote: >> >> Is this with a proxy with a PAC file ? >> >> I can't get the GM release of 6.6.1 to work >> >> Sent from my iPhone >> >>>> On 25 Apr 2014, at 8:23 pm, "David Bovill" >>> wrote: >>> >>> Yes 6.6.2 rc1 works. >>> >>> 6.7 dp2 does not, and 7.0.0 dp2 does not. >>> >>> >>>> On 25 April 2014 00:19, J. Landman Gay >> wrote: >>>> >>>>> On 4/24/14, 4:58 PM, Nakia Brewer wrote: >>>>> >>>>> Are you going through a proxy? >>>>> >>>>> I can't get HTTPS to work through a proxy that is using a PAC file. >>>> >>>> Have you tried with today's 6.1.2 release? I think the libURL library >> has >>>> been tweaked. I'd be curious to know -- I don't have a proxy to test >> with. >>>> >>>> -- >>>> 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 >> >> COPYRIGHT / DISCLAIMER: This message and/or including attached files may >> contain confidential proprietary or privileged information. If you are not >> the intended recipient, you are strictly prohibited from using, >> reproducing, disclosing or distributing the information contained in this >> email without authorisation from WesTrac. If you have received this message >> in error please contact WesTrac on +61 8 9377 9444. We do not accept >> liability in connection with computer virus, data corruption, delay, >> interruption, unauthorised access or unauthorised amendment. We reserve the >> right to monitor all e-mail communications. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From dave at applicationinsight.com Mon Apr 28 05:16:34 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Mon, 28 Apr 2014 02:16:34 -0700 (PDT) Subject: Really basic SQLite questions In-Reply-To: References: <91466C3D-49EA-437C-B6B4-45619D7B137E@thehales.id.au> <306494C7-0DBF-40BD-916A-AF5BAFEA7402@me.com> Message-ID: <1398676594879-4678776.post@n4.nabble.com> I'm with Kay C Lan on this... Leaving a db connection open longer than it needs to be is a bit like leaving a garden rake on the ground with the tines facing upwards - nothing SHOULD go wrong - but will you please just pick up the rake before someone gets hurt! :) ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Really-basic-SQLite-questions-tp4678662p4678776.html Sent from the Revolution - User mailing list archive at Nabble.com. From ben at runrev.com Mon Apr 28 05:51:28 2014 From: ben at runrev.com (Benjamin Beaumont) Date: Mon, 28 Apr 2014 10:51:28 +0100 Subject: RELEASE LiveCode 6.6.2 RC2 In-Reply-To: References: Message-ID: Dear List Members, We had a report over the weekend on a random crash in 6.6.2 RC2. The reporter has seen this on both Windows and Mac. We haven't been able to get the 6.6.2 release to crash at all as of yet so we'd love to know how the wider community have found this build. Are others experiencing any crashes? If so, could you post a report with the crashlog and any details of what you were doing at the time to quality.runrev.com. Warm regards, Ben On 25 April 2014 16:06, Benjamin Beaumont wrote: > Dear List Members, > > Due to a build error, 6.6.2 RC1 wasn't able to build for the simulators. > We have resolved the issue with a new build and uploaded it as LiveCode > 6.6.2 RC2. > > Notable mention and thanks to Stephen MacLean for notifying us of the > issue so quickly. > > *Getting this release* > To upgrade to this release please select "check for updates" from the help > menu in LiveCode or download the installers directly at: > http://downloads.livecode.com/livecode/ > > *Reporting Bugs* > If you encounter an issue with this release please submit a bug report to > our quality centre: http://quality.runrev.com/enter_bug.cgi > > Warm regards, > > The LiveCode Team > > -- > _____________________________________________ > > Benjamin Beaumont . RunRev Ltd > > LiveCode Product Manager > mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW > email : ben at runrev.com > company : +44(0) 845 219 89 23 > fax : +44(0) 845 458 8487 > web : www.runrev.com > > LiveCode - Programming made simple > -- _____________________________________________ Benjamin Beaumont . RunRev Ltd LiveCode Product Manager mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW email : ben at runrev.com company : +44(0) 845 219 89 23 fax : +44(0) 845 458 8487 web : www.runrev.com LiveCode - Programming made simple From m.schonewille at economy-x-talk.com Mon Apr 28 07:49:37 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 28 Apr 2014 13:49:37 +0200 Subject: Numbering of lines in a field In-Reply-To: <74461E2F-4E4B-4174-8ED0-FC12AD98A7A1@me.com> References: <74461E2F-4E4B-4174-8ED0-FC12AD98A7A1@me.com> Message-ID: <535E4051.8090503@economy-x-talk.com> Hi Charles, What does "without any success" mean exactly" Do you get wrong results? No result at all? Do you get any error messages? I have made a very tiny change to the script by adding a cr after myNewLines every time a line is added: constant dot = "." function lineNumbering theLines put 0 into myCounter repeat for each line myLine in theLines if "CHC" is word 1 of myLine then put 0 into myCounter put myLine & cr after myNewLines else add 1 to myCounter put myCounter & dot && myLine & cr after myNewLines end if end repeat return char 1 to -2 of myNewLines end lineNumbering I put this function at card or stack level and create a new field with some data like chc sdfdf dsfdsf dfds chc sdfdsfds fdsfds fdsfdsf dsfds chc sfdsf dsfdsf dsfdsf dsfdsf dsfdsf ds chc I type put lineNumbering(fld 1) in the message box and get the following result: chc 1. sdfdf 2. dsfdsf 3. dfds chc 1. sdfdsfds 2. fdsfds 3. fdsfdsf 4. dsfds chc 1. sfdsf 2. dsfdsf 3. dsfdsf 4. dsfdsf 5. dsfdsf 6. ds chc Isn't that what you want? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 4/28/2014 13:35, Charles Szasz wrote: > Mark, > > I greatly appreciate your script suggestion!! However, I spent several hours trying to implement your function without any success. The lines I want to number are in the scrolling field ?recommendations?. Can you provide me with more information on how to implement this script? > > Charles Szasz > cszasz at mac.com From MikeKerner at roadrunner.com Mon Apr 28 08:11:57 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 28 Apr 2014 08:11:57 -0400 Subject: Android autocorrect In-Reply-To: <535DD21C.4050100@hyperactivesw.com> References: <535DD21C.4050100@hyperactivesw.com> Message-ID: I guess it's not autocorrect, either, it's the suggestions/dictionary-lookup thing. On Sun, Apr 27, 2014 at 11:59 PM, J. Landman Gay wrote: > On 4/27/14, 9:37 PM, Mike Kerner wrote: > >> I can't seem to make autocorrect NOT happen in text fields on android. >> >> when I check the autocorrectiontype for the field, I get a "no", but >> autocorrect operates, anyway. >> >> Suggestions? >> >> > The user system prefs appears to override that. It follows the user prefs > in Android settings. > > -- > 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 > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From jacque at hyperactivesw.com Mon Apr 28 10:27:07 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 28 Apr 2014 09:27:07 -0500 Subject: HTPPS problem with a web service In-Reply-To: References: <16B7D853-EB0C-4538-81AF-37538987094D@westrac.com.au> <53598E03.2080204@hyperactivesw.com> , Message-ID: Are any errors reported? On April 28, 2014 3:53:25 AM CDT, Nakia Brewer wrote: >Tried today at work on my windows machine and issue still exists on >LC6.6.2 > >It seems it's in the LC engine somewhere as even the LiveCode Automatic >Activation fails meaning I have to manually generate an activation file >each time for upgrades. > > >Sent from my iPhone > >> On 25 Apr 2014, at 11:03 pm, "David Bovill" >wrote: >> >> Yes 6.6.1 does not work. The only version that works AFAIK (at least >on OSX >> 10.9.2) is 6.6.2. >> >> >>> On 25 April 2014 12:27, Nakia Brewer >wrote: >>> >>> Is this with a proxy with a PAC file ? >>> >>> I can't get the GM release of 6.6.1 to work >>> >>> Sent from my iPhone >>> >>>>> On 25 Apr 2014, at 8:23 pm, "David Bovill" > >>>> wrote: >>>> >>>> Yes 6.6.2 rc1 works. >>>> >>>> 6.7 dp2 does not, and 7.0.0 dp2 does not. >>>> >>>> >>>>> On 25 April 2014 00:19, J. Landman Gay >>> wrote: >>>>> >>>>>> On 4/24/14, 4:58 PM, Nakia Brewer wrote: >>>>>> >>>>>> Are you going through a proxy? >>>>>> >>>>>> I can't get HTTPS to work through a proxy that is using a PAC >file. >>>>> >>>>> Have you tried with today's 6.1.2 release? I think the libURL >library >>> has >>>>> been tweaked. I'd be curious to know -- I don't have a proxy to >test >>> with. >>>>> >>>>> -- >>>>> 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 >>> >>> COPYRIGHT / DISCLAIMER: This message and/or including attached files >may >>> contain confidential proprietary or privileged information. If you >are not >>> the intended recipient, you are strictly prohibited from using, >>> reproducing, disclosing or distributing the information contained in >this >>> email without authorisation from WesTrac. If you have received this >message >>> in error please contact WesTrac on +61 8 9377 9444. We do not accept >>> liability in connection with computer virus, data corruption, delay, >>> interruption, unauthorised access or unauthorised amendment. We >reserve the >>> right to monitor all e-mail communications. >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > >COPYRIGHT / DISCLAIMER: This message and/or including attached files >may contain confidential proprietary or privileged information. If you >are not the intended recipient, you are strictly prohibited from using, >reproducing, disclosing or distributing the information contained in >this email without authorisation from WesTrac. If you have received >this message in error please contact WesTrac on +61 8 9377 9444. We do >not accept liability in connection with computer virus, data >corruption, delay, interruption, unauthorised access or unauthorised >amendment. We reserve the right to monitor all e-mail communications. > > > >_______________________________________________ >use-livecode mailing list >use-livecode 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 pete at lcsql.com Mon Apr 28 10:59:27 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 28 Apr 2014 07:59:27 -0700 Subject: Really basic SQLite questions In-Reply-To: References: <91466C3D-49EA-437C-B6B4-45619D7B137E@thehales.id.au> <306494C7-0DBF-40BD-916A-AF5BAFEA7402@me.com> Message-ID: Well I guess it depends on the application but how do you manage locks and/or cursors when continually opening/closing? I'm also interested in what type of errors you've encountered that make your database inaccessible? SQLite is most definitely designed for multiple connections, just not by different users over a network. There's no reason why a Livecode application and a management tool running on the same computer shouldn't be able to access the same database at the same time. Pete lcSQL Software On Apr 27, 2014 10:26 PM, "Kay C Lan" wrote: > On Sat, Apr 26, 2014 at 12:04 AM, Mike Kerner >wrote: > > > Bob, I agree that in general... Since SQLite is a local file-store DB, > > it's a little different. it isn't designed for transaction loads, > > multi-users, etc. > > > > Which is why I'll offer one instance where it may make sense to open/close > the connection after each query - during development. Because SQLite is not > designed for multi-connections it makes it hard to troubleshoot unexpected > results with another db Management Tool. I also note that some management > tools I consider better than others because they DO close their connection > after each query whilst others do NOT - which you'll eventually figure out > by the new errors you get when you can't get LC to access the Tables you > previously could. > > So I eventually learnt to open the SQLite db, do my query, close. Has sped > up my development process no end. YMMV. In the end, it's actually so fast > that I usually don't even bother changing it after everything is sorted > out, although if there is a sequence of Queries I will only open at the > beginning and close at the end. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Apr 28 11:17:04 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 28 Apr 2014 11:17:04 -0400 Subject: Android autocorrect In-Reply-To: References: <535DD21C.4050100@hyperactivesw.com> Message-ID: AHA! Thanks, JLG, that led me on the hunt that led to the answer, namely, there are lots of different settings that affect these things system-wide, and you're right, they override what you tell the app to do... On Mon, Apr 28, 2014 at 8:11 AM, Mike Kerner wrote: > I guess it's not autocorrect, either, it's the > suggestions/dictionary-lookup thing. > > > On Sun, Apr 27, 2014 at 11:59 PM, J. Landman Gay > wrote: > >> On 4/27/14, 9:37 PM, Mike Kerner wrote: >> >>> I can't seem to make autocorrect NOT happen in text fields on android. >>> >>> when I check the autocorrectiontype for the field, I get a "no", but >>> autocorrect operates, anyway. >>> >>> Suggestions? >>> >>> >> The user system prefs appears to override that. It follows the user prefs >> in Android settings. >> >> -- >> 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 >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From pete at lcsql.com Mon Apr 28 14:43:54 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 28 Apr 2014 11:43:54 -0700 Subject: Date/Time/Number/Currency formats In-Reply-To: <68BAFA60-6A82-4078-AA70-13DC30DB3F0F@m-r-d.de> References: <68BAFA60-6A82-4078-AA70-13DC30DB3F0F@m-r-d.de> Message-ID: On Sun, Apr 27, 2014 at 2:14 PM, Matthias Rebbe | M-R-D < matthias_livecode_150811 at m-r-d.de> wrote: > You find more information about the registry settings for international > settings at > > http://technet.microsoft.com/en-us/library/cc784842%28v=ws.10%29.aspx > Only thing missing is the time zone. On OSX, I get it by parsing the output of a "date" command. Any ideas of how to get it from Windows? What I need is the three-character time zone name. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From matthias_livecode_150811 at m-r-d.de Mon Apr 28 15:14:21 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Mon, 28 Apr 2014 21:14:21 +0200 Subject: Date/Time/Number/Currency formats In-Reply-To: References: <68BAFA60-6A82-4078-AA70-13DC30DB3F0F@m-r-d.de> Message-ID: <6901122D-C536-4B8D-899C-28DCF415A4A5@m-r-d.de> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation Regards, Matthias Am 28.04.2014 um 20:43 schrieb Peter Haworth : > On Sun, Apr 27, 2014 at 2:14 PM, Matthias Rebbe | M-R-D < > matthias_livecode_150811 at m-r-d.de> wrote: > >> You find more information about the registry settings for international >> settings at >> >> http://technet.microsoft.com/en-us/library/cc784842%28v=ws.10%29.aspx >> > > Only thing missing is the time zone. On OSX, I get it by parsing the > output of a "date" command. Any ideas of how to get it from Windows? What > I need is the three-character time zone name. > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 28 17:29:18 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 28 Apr 2014 14:29:18 -0700 Subject: Date/Time/Number/Currency formats In-Reply-To: <6901122D-C536-4B8D-899C-28DCF415A4A5@m-r-d.de> References: <68BAFA60-6A82-4078-AA70-13DC30DB3F0F@m-r-d.de> <6901122D-C536-4B8D-899C-28DCF415A4A5@m-r-d.de> Message-ID: On Mon, Apr 28, 2014 at 12:14 PM, Matthias Rebbe | M-R-D < matthias_livecode_150811 at m-r-d.de> wrote: > HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation > Thanks Matthias Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From dsc at swcp.com Mon Apr 28 18:08:22 2014 From: dsc at swcp.com (Dar Scott) Date: Mon, 28 Apr 2014 16:08:22 -0600 Subject: I lost my property inspector Message-ID: <7CD4CE97-1843-4E92-8ED3-2C01C6D23FE8@swcp.com> I suppose I can figure the stack name and fiddle with properties, but I thought I?d ask. My property inspector is gone. I wasn?t changing display configuration or anything to lose it off the screen and it seems to be more than off displays. I can?t get it from a contextual menu or the main menu. How do I get it back? How do I keep from losing it again? I?m using 6.6.1. (I?ve lost the dictionary before after removing a monitor, but this seems to be something different.) Dar From dunbarx at aol.com Mon Apr 28 18:30:43 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 28 Apr 2014 18:30:43 -0400 (EDT) Subject: I lost my property inspector In-Reply-To: <7CD4CE97-1843-4E92-8ED3-2C01C6D23FE8@swcp.com> References: <7CD4CE97-1843-4E92-8ED3-2C01C6D23FE8@swcp.com> Message-ID: <8D13148A00B20B2-2BAC-23A65@webmail-d205.sysops.aol.com> Hi. show stack "revPropertyPalette 1" Craig -----Original Message----- From: Dar Scott To: How to use LiveCode Sent: Mon, Apr 28, 2014 6:09 pm Subject: I lost my property inspector I suppose I can figure the stack name and fiddle with properties, but I thought I?d ask. My property inspector is gone. I wasn?t changing display configuration or anything to lose it off the screen and it seems to be more than off displays. I can?t get it from a contextual menu or the main menu. How do I get it back? How do I keep from losing it again? I?m using 6.6.1. (I?ve lost the dictionary before after removing a monitor, but this seems to be something different.) Dar _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From cszasz at me.com Mon Apr 28 18:42:26 2014 From: cszasz at me.com (Charles Szasz) Date: Mon, 28 Apr 2014 18:42:26 -0400 Subject: Numbering of lines in a field Message-ID: Hi Mike! I am sorry to be vague. When I sent the email I was just leaving for work and made my email very short. Your script does work now. I did not set up the function correctly which caused my problem. Thanks so much! Charles Szasz cszasz at mac.com From dsc at swcp.com Mon Apr 28 18:44:14 2014 From: dsc at swcp.com (Dar Scott) Date: Mon, 28 Apr 2014 16:44:14 -0600 Subject: I lost my property inspector In-Reply-To: <8D13148A00B20B2-2BAC-23A65@webmail-d205.sysops.aol.com> References: <7CD4CE97-1843-4E92-8ED3-2C01C6D23FE8@swcp.com> <8D13148A00B20B2-2BAC-23A65@webmail-d205.sysops.aol.com> Message-ID: <941B16F1-710E-4406-8D82-F2CD144F5AB8@swcp.com> Thanks! I still needed to change the location to see it. It was editable, so I tried changing the mode, but got errors. I opened it as palette and it looks better but it does not work. And there were errors. Could something have smashed my 6.6.1? I wasn?t even doing anything with files or the IDE or nothin?. Dar On Apr 28, 2014, at 4:30 PM, dunbarx at aol.com wrote: > Hi. > > > show stack "revPropertyPalette 1" > > > > Craig > > > -----Original Message----- > From: Dar Scott > To: How to use LiveCode > Sent: Mon, Apr 28, 2014 6:09 pm > Subject: I lost my property inspector > > > I suppose I can figure the stack name and fiddle with properties, but I thought > I?d ask. > > My property inspector is gone. I wasn?t changing display configuration or > anything to lose it off the screen and it seems to be more than off displays. > > I can?t get it from a contextual menu or the main menu. > > How do I get it back? How do I keep from losing it again? > > I?m using 6.6.1. > > (I?ve lost the dictionary before after removing a monitor, but this seems to be > something different.) > > Dar > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Mon Apr 28 18:50:20 2014 From: dsc at swcp.com (Dar Scott) Date: Mon, 28 Apr 2014 16:50:20 -0600 Subject: I lost my property inspector In-Reply-To: <941B16F1-710E-4406-8D82-F2CD144F5AB8@swcp.com> References: <7CD4CE97-1843-4E92-8ED3-2C01C6D23FE8@swcp.com> <8D13148A00B20B2-2BAC-23A65@webmail-d205.sysops.aol.com> <941B16F1-710E-4406-8D82-F2CD144F5AB8@swcp.com> Message-ID: <48730AC3-6861-4123-8C51-29D1193D23E8@swcp.com> I was finally able to open it for the stack. I moved it to the main display. I closed and reopened LiveCode. I opened a stack. I was not able to get a property inspector the usual ways (Object menu or context menu). Something has changed in my 6.6.1. Dar On Apr 28, 2014, at 4:44 PM, Dar Scott wrote: > Thanks! > > I still needed to change the location to see it. > > It was editable, so I tried changing the mode, but got errors. > > I opened it as palette and it looks better but it does not work. And there were errors. > > Could something have smashed my 6.6.1? > > I wasn?t even doing anything with files or the IDE or nothin?. > > Dar > > > > On Apr 28, 2014, at 4:30 PM, dunbarx at aol.com wrote: > >> Hi. >> >> >> show stack "revPropertyPalette 1" >> >> >> >> Craig >> >> >> -----Original Message----- >> From: Dar Scott >> To: How to use LiveCode >> Sent: Mon, Apr 28, 2014 6:09 pm >> Subject: I lost my property inspector >> >> >> I suppose I can figure the stack name and fiddle with properties, but I thought >> I?d ask. >> >> My property inspector is gone. I wasn?t changing display configuration or >> anything to lose it off the screen and it seems to be more than off displays. >> >> I can?t get it from a contextual menu or the main menu. >> >> How do I get it back? How do I keep from losing it again? >> >> I?m using 6.6.1. >> >> (I?ve lost the dictionary before after removing a monitor, but this seems to be >> something different.) >> >> Dar >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Mon Apr 28 18:54:12 2014 From: dsc at swcp.com (Dar Scott) Date: Mon, 28 Apr 2014 16:54:12 -0600 Subject: I lost my property inspector In-Reply-To: <48730AC3-6861-4123-8C51-29D1193D23E8@swcp.com> References: <7CD4CE97-1843-4E92-8ED3-2C01C6D23FE8@swcp.com> <8D13148A00B20B2-2BAC-23A65@webmail-d205.sysops.aol.com> <941B16F1-710E-4406-8D82-F2CD144F5AB8@swcp.com> <48730AC3-6861-4123-8C51-29D1193D23E8@swcp.com> Message-ID: <2BC26365-D1BC-460B-A1FD-1596689C31A7@swcp.com> It?s gone in my 6.7 dp, but in my 7.0 dp, so? Could something in the preferences do this? Dar On Apr 28, 2014, at 4:50 PM, Dar Scott wrote: > I was finally able to open it for the stack. I moved it to the main display. I closed and reopened LiveCode. I opened a stack. I was not able to get a property inspector the usual ways (Object menu or context menu). > > Something has changed in my 6.6.1. > > Dar > > > On Apr 28, 2014, at 4:44 PM, Dar Scott wrote: > >> Thanks! >> >> I still needed to change the location to see it. >> >> It was editable, so I tried changing the mode, but got errors. >> >> I opened it as palette and it looks better but it does not work. And there were errors. >> >> Could something have smashed my 6.6.1? >> >> I wasn?t even doing anything with files or the IDE or nothin?. >> >> Dar >> >> >> >> On Apr 28, 2014, at 4:30 PM, dunbarx at aol.com wrote: >> >>> Hi. >>> >>> >>> show stack "revPropertyPalette 1" >>> >>> >>> >>> Craig >>> >>> >>> -----Original Message----- >>> From: Dar Scott >>> To: How to use LiveCode >>> Sent: Mon, Apr 28, 2014 6:09 pm >>> Subject: I lost my property inspector >>> >>> >>> I suppose I can figure the stack name and fiddle with properties, but I thought >>> I?d ask. >>> >>> My property inspector is gone. I wasn?t changing display configuration or >>> anything to lose it off the screen and it seems to be more than off displays. >>> >>> I can?t get it from a contextual menu or the main menu. >>> >>> How do I get it back? How do I keep from losing it again? >>> >>> I?m using 6.6.1. >>> >>> (I?ve lost the dictionary before after removing a monitor, but this seems to be >>> something different.) >>> >>> Dar >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription >>> preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 28 19:19:35 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 28 Apr 2014 16:19:35 -0700 Subject: I lost my property inspector In-Reply-To: <7CD4CE97-1843-4E92-8ED3-2C01C6D23FE8@swcp.com> References: <7CD4CE97-1843-4E92-8ED3-2C01C6D23FE8@swcp.com> Message-ID: Open an inspector for one of your objects then check the option to include IDE stacks in the Application browser. Do you see stacks named either "revTemplatePalette" or "revPropertyPalette 1" (the former should be hidden)? If you see the second, check out its location by - put the location of stack "revPropertyPalette 1" - in the message box. If it's way off screen, set the location to the screenloc or something. If you don't see either of the above stacks, something more serious is definitely wrong. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Mon, Apr 28, 2014 at 3:08 PM, Dar Scott wrote: > I suppose I can figure the stack name and fiddle with properties, but I > thought I?d ask. > > My property inspector is gone. I wasn?t changing display configuration or > anything to lose it off the screen and it seems to be more than off > displays. > > I can?t get it from a contextual menu or the main menu. > > How do I get it back? How do I keep from losing it again? > > I?m using 6.6.1. > > (I?ve lost the dictionary before after removing a monitor, but this seems > to be something different.) > > Dar > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Mon Apr 28 19:27:23 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 28 Apr 2014 18:27:23 -0500 Subject: I lost my property inspector In-Reply-To: <2BC26365-D1BC-460B-A1FD-1596689C31A7@swcp.com> References: <7CD4CE97-1843-4E92-8ED3-2C01C6D23FE8@swcp.com> <8D13148A00B20B2-2BAC-23A65@webmail-d205.sysops.aol.com> <941B16F1-710E-4406-8D82-F2CD144F5AB8@swcp.com> <48730AC3-6861-4123-8C51-29D1193D23E8@swcp.com> <2BC26365-D1BC-460B-A1FD-1596689C31A7@swcp.com> Message-ID: <535EE3DB.4080304@hyperactivesw.com> On 4/28/14, 5:54 PM, Dar Scott wrote: > Could something in the preferences do this? That was my first thought, especially since it persists across different versions of LC. Trash your prefs. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From igor at semperuna.com Mon Apr 28 21:48:59 2014 From: igor at semperuna.com (Igor de Oliveira Couto) Date: Tue, 29 Apr 2014 11:48:59 +1000 Subject: Server 6.6.1 and Multi-Line "put" Message-ID: Dear LiveCode Gurus, Looking at the following blog post, it looks like LiveCode could be a great tool for producing more easily understandable and maintainable command-line tools: http://livecode.com/blog/2014/03/06/livecode-server/ Prompted by that, I am trying to create a LiveCode shell script, which will be run under the commercial version of LiveCode server, 6.6.1. My script will need to respond to several commands - ie., ?help? - by outputting several lines of information to the Terminal. I am finding, however, that Server is choking if I create text programatically that contains a ?return? character. Example: ? #! path/to/livecode/server put ?Hello World!? & return & ?Hello Galaxy!? ? Seems to output *only* ?Hello Galaxy!?. It?s as if the terminal is ignoring the previous line, and outputting only the last. Doing the following yields the same result: ? #! path/to/livecode/server put ?Hello World!? put return put ?Hello Galaxy!? ? I *can* get the Server to output several lines if I get it to *parse a text file* directly to the Terminal. For instance: if I put the following text in a plain-text file?: ? Hello World! Hello Galaxy! ? ?and call this file ?plaintext.lc?, and then get the server to parse it to the Terminal, by using?: ? $: /path/to/livecode/server plaintext.lc ? Then I *do* get both lines of text. I then tried to build a test script that just outputs the result of one of the built-in functions that return multiple lines - such as: ? #! path/to/livecode/server put the folders ? This seem to produce garbled output to the Terminal - it actually looks as if the lines of the result were all overwritten on top of each other. From the blog posting above, it clearly looks as if I should be able to do this rather simple task, but I?m stumped. I?m starting to think that maybe 6.6.1 is not the version that was used in the sample script shown in the blog - perhaps a developer preview of 7.0, which handles unicode differently, is being used, and this could account for the difference in behaviour. In any case, from my end it seems to be impossible for me to write a script like the one being shown. Is this perhaps something stupid I?m doing at my end? Or is it really a 6.6.1->7.0 issue? Any guidance would be much appreciated. Kindest regards to all, -- Igor Couto Sydney, Australia From jhj at jhj.com Mon Apr 28 22:06:43 2014 From: jhj at jhj.com (Jerry Jensen) Date: Mon, 28 Apr 2014 19:06:43 -0700 Subject: Server 6.6.1 and Multi-Line "put" In-Reply-To: References: Message-ID: <935DEDB4-E9D7-450E-83FC-61C2D36CCCA2@jhj.com> It sure sounds like the age-old line-ending confusion, which still confuses me. Sometimes its cr, sometimes its lf, sometimes its both. Not only that, I can never remember which one results from "return". .Jerry On Apr 28, 2014, at 6:48 PM, Igor de Oliveira Couto wrote: > Dear LiveCode Gurus, > > Looking at the following blog post, it looks like LiveCode could be a great tool for producing more easily understandable and maintainable command-line tools: > > http://livecode.com/blog/2014/03/06/livecode-server/ > > Prompted by that, I am trying to create a LiveCode shell script, which will be run under the commercial version of LiveCode server, 6.6.1. My script will need to respond to several commands - ie., ?help? - by outputting several lines of information to the Terminal. I am finding, however, that Server is choking if I create text programatically that contains a ?return? character. Example: > > ? > #! path/to/livecode/server > > put ?Hello World!? & return & ?Hello Galaxy!? > ? > > Seems to output *only* ?Hello Galaxy!?. It?s as if the terminal is ignoring the previous line, and outputting only the last. > > Doing the following yields the same result: > > ? > #! path/to/livecode/server > > put ?Hello World!? > put return > put ?Hello Galaxy!? > ? > > I *can* get the Server to output several lines if I get it to *parse a text file* directly to the Terminal. For instance: if I put the following text in a plain-text file?: > > ? > Hello World! > Hello Galaxy! > ? > > ?and call this file ?plaintext.lc?, and then get the server to parse it to the Terminal, by using?: > > ? > $: /path/to/livecode/server plaintext.lc > ? > > Then I *do* get both lines of text. > > I then tried to build a test script that just outputs the result of one of the built-in functions that return multiple lines - such as: > > ? > #! path/to/livecode/server > > put the folders > ? > > This seem to produce garbled output to the Terminal - it actually looks as if the lines of the result were all overwritten on top of each other. > >> From the blog posting above, it clearly looks as if I should be able to do this rather simple task, but I?m stumped. I?m starting to think that maybe 6.6.1 is not the version that was used in the sample script shown in the blog - perhaps a developer preview of 7.0, which handles unicode differently, is being used, and this could account for the difference in behaviour. In any case, from my end it seems to be impossible for me to write a script like the one being shown. > > Is this perhaps something stupid I?m doing at my end? Or is it really a 6.6.1->7.0 issue? > > Any guidance would be much appreciated. > > Kindest regards to all, > > -- > Igor Couto > Sydney, Australia > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Mon Apr 28 22:07:38 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 28 Apr 2014 22:07:38 -0400 Subject: HTML browser and mobile. In-Reply-To: <767C4A72-555B-4CAE-9773-EF43D8B49B78@sahores-conseil.com> References: <91466C3D-49EA-437C-B6B4-45619D7B137E@thehales.id.au> <306494C7-0DBF-40BD-916A-AF5BAFEA7402@me.com> <00ad01cf60ac$f11bdc10$d3539430$@net> <767C4A72-555B-4CAE-9773-EF43D8B49B78@sahores-conseil.com> Message-ID: <005101cf634f$cbc3d990$634b8cb0$@net> Pierre, Thank You!! Just what the DR ordered! Works likes a charm on Android. Going for iOS now. 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 Pierre Sahores Sent: Friday, April 25, 2014 2:42 PM To: How to use LiveCode Subject: Re: HTML browser and mobile. Hi Ralph, The way it works can be really simple (other ways available but this one fills perfectly my needs ) : 1.- the html/js side : page1.html need to include some javascript : simple iOS/Android working example : > a.- able to handle the touch messages it receive from your mobile app users; b.- and initiate a new pageN.html load; 2.- the livecode scripting side : > on browserLoadRequested pUrl, pType > if the platform is "iPhone" then > if "/cache/prev.html" is in pURL then your iOS dedicated LC code comes there > on browserStartedLoading pUrl > if "/cache/prev.html" is in pURL and the platform is "android" then your Android dedicated LC code comes there Best, Pierre Le 25 avr. 2014 ? 19:36, Ralph DiMola a ?crit : > How would one do a call back to LC from within a mobile web page? Is this even possible on mobile? I have a html local page with a map image. I would like to call an LC procedure with a parameter when the user presses within a specific county on the page. > > 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 -- 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 peterwawood at gmail.com Mon Apr 28 22:43:14 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Tue, 29 Apr 2014 10:43:14 +0800 Subject: Server 6.6.1 and Multi-Line "put" In-Reply-To: References: Message-ID: <1486B74E-78BB-4737-B396-EAF12C181A53@gmail.com> Igor I think the answer is to set the ouputLineEndings to an appropriate value. Here is a script that work on OS X. It happily prints Goodbye on a new line. I suspect that this is only an issue on OS X as the default line ending in the engine for Macs is still be the pre-OS standard which was cr. May be one of the gurus knows for sure. Regards Peter On 29 Apr 2014, at 09:48, Igor de Oliveira Couto wrote: > Dear LiveCode Gurus, > > Looking at the following blog post, it looks like LiveCode could be a great tool for producing more easily understandable and maintainable command-line tools: > > http://livecode.com/blog/2014/03/06/livecode-server/ > > Prompted by that, I am trying to create a LiveCode shell script, which will be run under the commercial version of LiveCode server, 6.6.1. My script will need to respond to several commands - ie., ?help? - by outputting several lines of information to the Terminal. I am finding, however, that Server is choking if I create text programatically that contains a ?return? character. Example: > > ? > #! path/to/livecode/server > > put ?Hello World!? & return & ?Hello Galaxy!? > ? > > Seems to output *only* ?Hello Galaxy!?. It?s as if the terminal is ignoring the previous line, and outputting only the last. > > Doing the following yields the same result: > > ? > #! path/to/livecode/server > > put ?Hello World!? > put return > put ?Hello Galaxy!? > ? > > I *can* get the Server to output several lines if I get it to *parse a text file* directly to the Terminal. For instance: if I put the following text in a plain-text file?: > > ? > Hello World! > Hello Galaxy! > ? > > ?and call this file ?plaintext.lc?, and then get the server to parse it to the Terminal, by using?: > > ? > $: /path/to/livecode/server plaintext.lc > ? > > Then I *do* get both lines of text. > > I then tried to build a test script that just outputs the result of one of the built-in functions that return multiple lines - such as: > > ? > #! path/to/livecode/server > > put the folders > ? > > This seem to produce garbled output to the Terminal - it actually looks as if the lines of the result were all overwritten on top of each other. > > From the blog posting above, it clearly looks as if I should be able to do this rather simple task, but I?m stumped. I?m starting to think that maybe 6.6.1 is not the version that was used in the sample script shown in the blog - perhaps a developer preview of 7.0, which handles unicode differently, is being used, and this could account for the difference in behaviour. In any case, from my end it seems to be impossible for me to write a script like the one being shown. > > Is this perhaps something stupid I?m doing at my end? Or is it really a 6.6.1->7.0 issue? > > Any guidance would be much appreciated. > > Kindest regards to all, > > -- > Igor Couto > Sydney, Australia > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From igor at semperuna.com Mon Apr 28 22:52:08 2014 From: igor at semperuna.com (Igor de Oliveira Couto) Date: Tue, 29 Apr 2014 12:52:08 +1000 Subject: Server 6.6.1 and Multi-Line "put" In-Reply-To: <1486B74E-78BB-4737-B396-EAF12C181A53@gmail.com> References: <1486B74E-78BB-4737-B396-EAF12C181A53@gmail.com> Message-ID: Dear Jerry & Peter, Thank you for your very quick and very helpful responses. You were both right: setting the outputLineEndings to ?lf? did the trick. Also, here on MacOS X, it seems that setting it to ?crlf? also works. Would that be a better -i.e, more ?cross-platform? compatible - solution? Or is there a platform where CRLF would cause issues? Many thanks once again for your guidance, -- Igor Couto Sydney, Australia From charles at buchwald.ca Mon Apr 28 22:58:03 2014 From: charles at buchwald.ca (Charles E Buchwald) Date: Mon, 28 Apr 2014 21:58:03 -0500 Subject: Server 6.6.1 and Multi-Line "put" In-Reply-To: References: Message-ID: Igor... Sounds like a great idea. I would definitely use that on a daily basis. I bet it would be great fun with Alfred... http://www.alfredapp.com - Charles On 28 Apr 2014, at 8:48 PM, Igor de Oliveira Couto wrote: > Dear LiveCode Gurus, > > Looking at the following blog post, it looks like LiveCode could be a great tool for producing more easily understandable and maintainable command-line tools: > > http://livecode.com/blog/2014/03/06/livecode-server/ -- Charles E. Buchwald CEO/Director General Museografica Digital http://digital.museografica.com Email Notice: http://wp.me/P3aT4d-33 From charles at buchwald.ca Mon Apr 28 22:58:03 2014 From: charles at buchwald.ca (Charles E Buchwald) Date: Mon, 28 Apr 2014 21:58:03 -0500 Subject: Server 6.6.1 and Multi-Line "put" In-Reply-To: References: Message-ID: <5D86933E-830D-460A-974F-53263846A561@buchwald.ca> Igor... Sounds like a great idea. I would definitely use that on a daily basis. I bet it would be great fun with Alfred... http://www.alfredapp.com - Charles On 28 Apr 2014, at 8:48 PM, Igor de Oliveira Couto wrote: > Dear LiveCode Gurus, > > Looking at the following blog post, it looks like LiveCode could be a great tool for producing more easily understandable and maintainable command-line tools: > > http://livecode.com/blog/2014/03/06/livecode-server/ -- Charles E. Buchwald CEO/Director General Museografica Digital http://digital.museografica.com Email Notice: http://wp.me/P3aT4d-33 From revdev at pdslabs.net Mon Apr 28 23:05:35 2014 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 28 Apr 2014 20:05:35 -0700 Subject: getting app info on Windows Message-ID: <535F16FF.3020100@pdslabs.net> On a Mac, you can read a standalone's plist file to get the info you supplied at build time - short version, long version, copyright notice, etc. How do you get the equivalent of that info from a Windows standalone? (Things like file description, copyright notice, company name) Thanks for your help - -- Phil Davis From peterwawood at gmail.com Tue Apr 29 00:42:12 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Tue, 29 Apr 2014 12:42:12 +0800 Subject: Server 6.6.1 and Multi-Line "put" In-Reply-To: References: <1486B74E-78BB-4737-B396-EAF12C181A53@gmail.com> Message-ID: <0837E188-2CA1-43AB-B8A8-51723BB9F6BA@gmail.com> Dear Igor I am pretty certain that this problem only occurs on OS X. The default outputLineEndings on Windows will be CRLF (correct for Windows). On Linux it will be LF. This might be a good way for cross-platform scripting: Regards Peter On 29 Apr 2014, at 10:52, Igor de Oliveira Couto wrote: > Dear Jerry & Peter, > > Thank you for your very quick and very helpful responses. You were both right: setting the outputLineEndings to ?lf? did the trick. Also, here on MacOS X, it seems that setting it to ?crlf? also works. Would that be a better -i.e, more ?cross-platform? compatible - solution? Or is there a platform where CRLF would cause issues? > > Many thanks once again for your guidance, > > -- > Igor Couto > Sydney, Australia > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From igor at semperuna.com Tue Apr 29 01:27:17 2014 From: igor at semperuna.com (Igor de Oliveira Couto) Date: Tue, 29 Apr 2014 15:27:17 +1000 Subject: Server 6.6.1 and Multi-Line "put" In-Reply-To: <0837E188-2CA1-43AB-B8A8-51723BB9F6BA@gmail.com> References: <1486B74E-78BB-4737-B396-EAF12C181A53@gmail.com> <0837E188-2CA1-43AB-B8A8-51723BB9F6BA@gmail.com> Message-ID: <42E392E0-5BA4-4B13-BC4B-6C357E0AEA59@semperuna.com> Thank you for the tip, Peter: On 29 Apr 2014, at 2:42 pm, Peter W A Wood wrote: > This might be a good way for cross-platform scripting: > > if the outputLineEndings = "cr" then > set the outputLineEndings to "lf" > end if > put "Hello World!" && the date && the time & return & "Goodbye" & return > ?> If we want to make the script also work appropriately on Windows, however, should we leave the outputLineEndings set to ?crlf??: > The default outputLineEndings on Windows will be CRLF (correct for Windows). If this is the case, should I do a platform check first, like this?: Would that work on all 3 platforms? - sorry, I don?t have a Windows machine, so can?t test it! Many thanks for the ongoing assistance! Kind regards, -- Igor Couto Sydney, Australia From igor at semperuna.com Tue Apr 29 01:31:50 2014 From: igor at semperuna.com (Igor de Oliveira Couto) Date: Tue, 29 Apr 2014 15:31:50 +1000 Subject: Server 6.6.1 and Multi-Line "put" In-Reply-To: <5D86933E-830D-460A-974F-53263846A561@buchwald.ca> References: <5D86933E-830D-460A-974F-53263846A561@buchwald.ca> Message-ID: On 29 Apr 2014, at 12:58 pm, Charles E Buchwald wrote: > Igor... Sounds like a great idea. I would definitely use that on a daily basis. I bet it would be great fun with Alfred... http://www.alfredapp.com Yes, I?m trying to develop some scripts that will help me with remote server management - pretty much like what was demonstrated on the blog posting - and I will be *very* happy if I can do this using LiveCode. Now, on a very [OT] note: Alfred looks interesting, but in order to trigger my scripts at regular intervals, I?m thinking of using Plisterine: https://itunes.apple.com/au/app/plisterine/id634210019?mt=12 It is *very* cheap and easy to use, and seems to be able to setup basic launch agents quickly without any fuss. Kind regards. -- Igor Couto Sydney, Australia From larry at significantplanet.org Tue Apr 29 01:33:26 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Mon, 28 Apr 2014 23:33:26 -0600 Subject: play two sounds Message-ID: <9FF9A8FEA612409096D4B7FB8B097813@userd204a4d61c> I have two .wav files imported into my stack. When the stack opens, I want to play audio1 and when it finishes, then play audio2 Does anyone know the syntax for doing this? TIA Larry From sc at sahores-conseil.com Tue Apr 29 02:12:50 2014 From: sc at sahores-conseil.com (Pierre Sahores) Date: Tue, 29 Apr 2014 08:12:50 +0200 Subject: HTML browser and mobile. In-Reply-To: <005101cf634f$cbc3d990$634b8cb0$@net> References: <91466C3D-49EA-437C-B6B4-45619D7B137E@thehales.id.au> <306494C7-0DBF-40BD-916A-AF5BAFEA7402@me.com> <00ad01cf60ac$f11bdc10$d3539430$@net> <767C4A72-555B-4CAE-9773-EF43D8B49B78@sahores-conseil.com> <005101cf634f$cbc3d990$634b8cb0$@net> Message-ID: Ralph, Credits goes to LiveCode and Javascript ;D Thanks for your kind words. Pierre Le 29 avr. 2014 ? 04:07, Ralph DiMola a ?crit : > Pierre, > > Thank You!! Just what the DR ordered! Works likes a charm on Android. Going > for iOS now. > > 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 Pierre Sahores > Sent: Friday, April 25, 2014 2:42 PM > To: How to use LiveCode > Subject: Re: HTML browser and mobile. > > Hi Ralph, > > The way it works can be really simple (other ways available but this one > fills perfectly my needs?) : > > 1.- the html/js side : > > page1.html need to include some javascript : > > simple iOS/Android working example : > >> > > > a.- able to handle the touch messages it receive from your mobile app users; > b.- and initiate a new pageN.html load; > > 2.- the livecode scripting side : > >> on browserLoadRequested pUrl, pType >> if the platform is "iPhone" then >> if "/cache/prev.html" is in pURL then > > your iOS dedicated LC code comes there > >> on browserStartedLoading pUrl >> if "/cache/prev.html" is in pURL and the platform is "android" then > > your Android dedicated LC code comes there > > Best, > > Pierre > > Le 25 avr. 2014 ? 19:36, Ralph DiMola a ?crit : > >> How would one do a call back to LC from within a mobile web page? Is this > even possible on mobile? I have a html local page with a map image. I would > like to call an LC procedure with a parameter when the user presses within a > specific county on the page. >> >> 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 > > -- > 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 sc at sahores-conseil.com Tue Apr 29 02:24:42 2014 From: sc at sahores-conseil.com (Pierre Sahores) Date: Tue, 29 Apr 2014 08:24:42 +0200 Subject: play two sounds In-Reply-To: <9FF9A8FEA612409096D4B7FB8B097813@userd204a4d61c> References: <9FF9A8FEA612409096D4B7FB8B097813@userd204a4d61c> Message-ID: Hi Larry, in the preopenstack command : > put specialFolderPath("engine") & "/CityChic.mp3" into Melodie[1] ### sp?cifique sous-domaine : 1_a/7 ### > put specialFolderPath("engine") & "/CitySport.mp3" into Melodie[2] ### sp?cifique sous-domaine : 1_b/7 ### > put specialFolderPath("engine") & "/Elegance.mp3" into Melodie[3] ### sp?cifique sous-domaine : 1_c/7 ### > put specialFolderPath("engine") & "/Graphique.mp3" into Melodie[4] ### sp?cifique sous-domaine : 1_d/7 ### In the stack handler : > on soundlevelonoff > if "firstChannel" is not in mobileSoundChannels() then > mobilePlaySoundOnChannel Melodie[random("4")], "firstChannel", "now" > if "soundswitcher" is in the target > then set the icon of the target to 7908 > mobileSetSoundChannelVolume "firstChannel", 100 > else if mobileSoundChannelStatus("firstChannel") is "paused" then > if "soundswitcher" is in the target > then set the icon of the target to 7908 > mobileResumePlayingOnChannel "firstChannel" > else if "soundswitcher" is in the target then > mobilePausePlayingOnChannel "firstChannel" > set the icon of the target to 7909 > else mobilePausePlayingOnChannel "firstChannel" > end soundlevelonoff > > > on soundFinishedOnChannel tchannel, thesound > if thesound is Melodie[1] > then mobilePlaySoundOnChannel Melodie[2], tchannel, "now" > else if thesound is Melodie[2] > then mobilePlaySoundOnChannel Melodie[3], tchannel, "now" > else if thesound is Melodie[3] > then mobilePlaySoundOnChannel Melodie[4], tchannel, "now" > else mobilePlaySoundOnChannel Melodie[1], tchannel, "now" > end soundFinishedOnChannel In a button handler : > on mouseup > soundlevelonoff > end mouseup Works fine under iOS and Android. To be tested and adapted under other platforms. Best, Pierre Le 29 avr. 2014 ? 07:33, a ?crit : > I have two .wav files imported into my stack. > > When the stack opens, I want to play audio1 and when it finishes, then play audio2 > > Does anyone know the syntax for doing this? > > TIA > Larry > _______________________________________________ > use-livecode mailing list > use-livecode 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 larry at significantplanet.org Tue Apr 29 02:31:35 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Tue, 29 Apr 2014 00:31:35 -0600 Subject: play two sounds References: <9FF9A8FEA612409096D4B7FB8B097813@userd204a4d61c> Message-ID: Thank you, Pierre Larry ----- Original Message ----- From: "Pierre Sahores" To: "How to use LiveCode" Sent: Tuesday, April 29, 2014 12:24 AM Subject: Re: play two sounds Hi Larry, in the preopenstack command : > put specialFolderPath("engine") & "/CityChic.mp3" into Melodie[1] > ### sp?cifique sous-domaine : 1_a/7 ### > put specialFolderPath("engine") & "/CitySport.mp3" into Melodie[2] > ### sp?cifique sous-domaine : 1_b/7 ### > put specialFolderPath("engine") & "/Elegance.mp3" into Melodie[3] > ### sp?cifique sous-domaine : 1_c/7 ### > put specialFolderPath("engine") & "/Graphique.mp3" into Melodie[4] > ### sp?cifique sous-domaine : 1_d/7 ### In the stack handler : > on soundlevelonoff > if "firstChannel" is not in mobileSoundChannels() then > mobilePlaySoundOnChannel Melodie[random("4")], "firstChannel", "now" > if "soundswitcher" is in the target > then set the icon of the target to 7908 > mobileSetSoundChannelVolume "firstChannel", 100 > else if mobileSoundChannelStatus("firstChannel") is "paused" then > if "soundswitcher" is in the target > then set the icon of the target to 7908 > mobileResumePlayingOnChannel "firstChannel" > else if "soundswitcher" is in the target then > mobilePausePlayingOnChannel "firstChannel" > set the icon of the target to 7909 > else mobilePausePlayingOnChannel "firstChannel" > end soundlevelonoff > > > on soundFinishedOnChannel tchannel, thesound > if thesound is Melodie[1] > then mobilePlaySoundOnChannel Melodie[2], tchannel, "now" > else if thesound is Melodie[2] > then mobilePlaySoundOnChannel Melodie[3], tchannel, "now" > else if thesound is Melodie[3] > then mobilePlaySoundOnChannel Melodie[4], tchannel, "now" > else mobilePlaySoundOnChannel Melodie[1], tchannel, "now" > end soundFinishedOnChannel In a button handler : > on mouseup > soundlevelonoff > end mouseup Works fine under iOS and Android. To be tested and adapted under other platforms. Best, Pierre Le 29 avr. 2014 ? 07:33, a ?crit : > I have two .wav files imported into my stack. > > When the stack opens, I want to play audio1 and when it finishes, then > play audio2 > > Does anyone know the syntax for doing this? > > TIA > Larry > _______________________________________________ > use-livecode mailing list > use-livecode 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 scott at tactilemedia.com Tue Apr 29 02:40:05 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 28 Apr 2014 23:40:05 -0700 Subject: play two sounds In-Reply-To: <9FF9A8FEA612409096D4B7FB8B097813@userd204a4d61c> References: <9FF9A8FEA612409096D4B7FB8B097813@userd204a4d61c> Message-ID: <083BCBF6-F4B7-4B8F-9CA5-FA55593D5059@tactilemedia.com> If this is for desktop, am pretty sure you have track playback of the first sound, using "wait" or a looping script. on openStack play ac 1 wait until the sound is done play ac 2 end openStack If you need to allow simultaneous events to take place, you can try adding "with messages" to the wait, or try using a loop as mentioned above. This article has some good info: http://lessons.runrev.com/s/lessons/m/4071/l/25230-play-sounds Regards, Scott Rossi Creative Director Tactile Media, UX Design > On Apr 28, 2014, at 10:33 PM, wrote: > > I have two .wav files imported into my stack. > > When the stack opens, I want to play audio1 and when it finishes, then play audio2 > > Does anyone know the syntax for doing this? > > TIA > Larry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From larry at significantplanet.org Tue Apr 29 02:48:15 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Tue, 29 Apr 2014 00:48:15 -0600 Subject: play two sounds References: <9FF9A8FEA612409096D4B7FB8B097813@userd204a4d61c> <083BCBF6-F4B7-4B8F-9CA5-FA55593D5059@tactilemedia.com> Message-ID: <1235D4EF0AB6449FA447538E3EC46E60@userd204a4d61c> Thanks very much, Scott. very helpful info! Larry ----- Original Message ----- From: "Scott Rossi" To: "How to use LiveCode" Sent: Tuesday, April 29, 2014 12:40 AM Subject: Re: play two sounds > If this is for desktop, am pretty sure you have track playback of the > first sound, using "wait" or a looping script. > > on openStack > play ac 1 > wait until the sound is done > play ac 2 > end openStack > > If you need to allow simultaneous events to take place, you can try adding > "with messages" to the wait, or try using a loop as mentioned above. > > This article has some good info: > http://lessons.runrev.com/s/lessons/m/4071/l/25230-play-sounds > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > >> On Apr 28, 2014, at 10:33 PM, wrote: >> >> I have two .wav files imported into my stack. >> >> When the stack opens, I want to play audio1 and when it finishes, then >> play audio2 >> >> Does anyone know the syntax for doing this? >> >> TIA >> Larry >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Tue Apr 29 08:29:52 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 29 Apr 2014 14:29:52 +0200 Subject: How to encode/decode PHP - LC on Win/Mac? Message-ID: <005d01cf63a6$b9a3bb70$2ceb3250$@de> Hello, I am having PHPs communicating with LC 6.5.2. In the PHP files I am having Umlaute entities in fix texts as returning values to LC. When returning to Windows, the Umlaute are displayed correctly, on Mac not. When substituting the Umlaute by HTML entities (ä), the Umlaute are displayed correctly on Mac, but on Windows I see the "ä". So probably I have to translate the PHP returning values with UniDecode, depending on the platform. For my understanding, which coding do PHPs have? Does it depend on on which platform they are originally written? Does it depend on the FTP-transfer options? Does it depend on the server platform (Unix)? Do I have to set a coding in the PHP, like the charset in HTMLs? What is the correct way to decode PHP text with special entities in LC on both platforms? Thanks for any insight Tiemo From bvg at mac.com Tue Apr 29 08:37:46 2014 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 29 Apr 2014 14:37:46 +0200 Subject: How to encode/decode PHP - LC on Win/Mac? In-Reply-To: <005d01cf63a6$b9a3bb70$2ceb3250$@de> References: <005d01cf63a6$b9a3bb70$2ceb3250$@de> Message-ID: If the php files are executed by a web-server (like apache), then you probably have an encoding header supplied with each request. To find out the encoding you can query the URL in LC, and then use the libURLLastRRHHeaders() function. Note that sometimes the headers are badly made, and do not actually match the encoding of the data. In such a case you can only guess. Alternatively, did you try to use the isoToMac() function? On 29 Apr 2014, at 14:29, Tiemo Hollmann TB wrote: > Does it depend on on which > platform they are originally written? Does it depend on the FTP-transfer > options? Does it depend on the server platform (Unix)? Do I have to set a > coding in the PHP, like the charset in HTMLs? -- Anyone thinking about going to Zurich in the summer? Please fill out the form and send me an email: http://doodle.com/yapygihh3itgz2qr -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From toolbook at kestner.de Tue Apr 29 11:51:50 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 29 Apr 2014 17:51:50 +0200 Subject: AW: How to encode/decode PHP - LC on Win/Mac? In-Reply-To: References: <005d01cf63a6$b9a3bb70$2ceb3250$@de> Message-ID: <006d01cf63c2$efd9b020$cf8d1060$@de> the libURLLastRHHeader() returns: Transfer-Encoding: chunked Content-Tape: text/html Whatever that means. But isoToMac() does the trick. I thought Unix and Mac would use the same charset. Thanks Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Bj?rnke von Gierke > Gesendet: Dienstag, 29. April 2014 14:38 > An: How to use LiveCode > Betreff: Re: How to encode/decode PHP - LC on Win/Mac? > > If the php files are executed by a web-server (like apache), then you probably > have an encoding header supplied with each request. To find out the encoding > you can query the URL in LC, and then use the libURLLastRRHHeaders() function. > Note that sometimes the headers are badly made, and do not actually match the > encoding of the data. In such a case you can only guess. > > Alternatively, did you try to use the isoToMac() function? > > On 29 Apr 2014, at 14:29, Tiemo Hollmann TB wrote: > > > Does it depend on on which > > platform they are originally written? Does it depend on the > > FTP-transfer options? Does it depend on the server platform (Unix)? Do > > I have to set a coding in the PHP, like the charset in HTMLs? > > -- > > Anyone thinking about going to Zurich in the summer? > Please fill out the form and send me an email: > http://doodle.com/yapygihh3itgz2qr > > -- > > Use an alternative Dictionary viewer: > http://bjoernke.com/bvgdocu/ > > Chat with other RunRev developers: > http://bjoernke.com/chatrev/ > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Tue Apr 29 13:21:26 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 29 Apr 2014 20:21:26 +0300 Subject: The parlous state of Rounded Rectangular buttons Message-ID: <535FDF96.3010407@gmail.com> The standard Round Radius button in Livecode looks something like Mac OS system 7; frankly awful. And not, honestly acceptable as of 2014. if "roundRadius" were added to the properties of buttons it would be very easy to make "Aqua" Round Rect buttons in Livecode. Complete with "pretty pictures" here: http://forums.runrev.com/viewtopic.php?f=6&t=20220 Richmond. From m.schonewille at economy-x-talk.com Tue Apr 29 13:25:47 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 29 Apr 2014 19:25:47 +0200 Subject: Manuel Dias Ribeiro Message-ID: <535FE09B.2010107@economy-x-talk.com> Dear Manuel Dias Ribeiro, Could you please send another e-mail to support at economy-x-talk.com ? I have tried to answer your e-mails, but they don't seem to arrive. Please, contact support and make sure that we can answer by whitelisting the domain name. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ From dunbarx at aol.com Tue Apr 29 13:34:26 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 29 Apr 2014 13:34:26 -0400 (EDT) Subject: The parlous state of Rounded Rectangular buttons In-Reply-To: <535FDF96.3010407@gmail.com> References: <535FDF96.3010407@gmail.com> Message-ID: <8D131E866E1C7C2-2BAC-297F4@webmail-d205.sysops.aol.com> Richmond. Sort of like the "corner radius" gadget for a rounded rectangle? Craig -----Original Message----- From: Richmond To: How to use LiveCode Sent: Tue, Apr 29, 2014 1:22 pm Subject: The parlous state of Rounded Rectangular buttons The standard Round Radius button in Livecode looks something like Mac OS system 7; frankly awful. And not, honestly acceptable as of 2014. if "roundRadius" were added to the properties of buttons it would be very easy to make "Aqua" Round Rect buttons in Livecode. Complete with "pretty pictures" here: http://forums.runrev.com/viewtopic.php?f=6&t=20220 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 Apr 29 13:52:15 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 29 Apr 2014 20:52:15 +0300 Subject: The parlous state of Rounded Rectangular buttons In-Reply-To: <8D131E866E1C7C2-2BAC-297F4@webmail-d205.sysops.aol.com> References: <535FDF96.3010407@gmail.com> <8D131E866E1C7C2-2BAC-297F4@webmail-d205.sysops.aol.com> Message-ID: <535FE6CF.1010509@gmail.com> On 29/04/14 20:34, dunbarx at aol.com wrote: > Richmond. > > > Sort of like the "corner radius" gadget for a rounded rectangle? > > > > Craig > > > Exactly so: not trying to be screamingly original for a change. Richmond. From t.heaford at btinternet.com Tue Apr 29 13:53:46 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Tue, 29 Apr 2014 18:53:46 +0100 Subject: The parlous state of Rounded Rectangular buttons In-Reply-To: <535FDF96.3010407@gmail.com> References: <535FDF96.3010407@gmail.com> Message-ID: <6D6A8339-24F7-482D-99E2-87AE45B1C650@btinternet.com> And please can we have correct buttons in a Tab Panel? Terry On 29 Apr 2014, at 18:21, Richmond wrote: > The standard Round Radius button in Livecode looks something like Mac OS system 7; frankly awful. > > And not, honestly acceptable as of 2014. > > if "roundRadius" were added to the properties of buttons it would be very easy to make > "Aqua" Round Rect buttons in Livecode. > > Complete with "pretty pictures" here: > > http://forums.runrev.com/viewtopic.php?f=6&t=20220 > > 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 charles at buchwald.ca Tue Apr 29 14:06:56 2014 From: charles at buchwald.ca (Charles E Buchwald) Date: Tue, 29 Apr 2014 13:06:56 -0500 Subject: The parlous state of Rounded Rectangular buttons In-Reply-To: <535FDF96.3010407@gmail.com> References: <535FDF96.3010407@gmail.com> Message-ID: I would like to second this request. I'm working on a project right now, where every button is grouped with a round rectangle graphic for this same effect. It would be so much easier if I could change the corner radius of rounded buttons.... On 29 Apr 2014, at 12:21 PM, Richmond wrote: > The standard Round Radius button in Livecode looks something like Mac OS system 7; frankly awful. > > And not, honestly acceptable as of 2014. > > if "roundRadius" were added to the properties of buttons it would be very easy to make > "Aqua" Round Rect buttons in Livecode. > > Complete with "pretty pictures" here: > > http://forums.runrev.com/viewtopic.php?f=6&t=20220 > > Richmond. -- Charles E. Buchwald CEO/Director General Museografica Digital http://digital.museografica.com Email Notice: http://wp.me/P3aT4d-33 From ambassador at fourthworld.com Tue Apr 29 15:21:11 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 29 Apr 2014 12:21:11 -0700 Subject: SoCal LUG meeting: Thursday, May 1 Message-ID: <535FFBA7.8090609@fourthworld.com> Just a quick reminder about the upcoming meeting of the LiveCode User Group in Pasadena on Thursday at 7PM. Details in the forum: -- 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 Apr 29 15:35:29 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 29 Apr 2014 12:35:29 -0700 Subject: The parlous state of Rounded Rectangular buttons In-Reply-To: <535FDF96.3010407@gmail.com> References: <535FDF96.3010407@gmail.com> Message-ID: <535FFF01.30804@fourthworld.com> Richmond wrote: > The standard Round Radius button in Livecode looks something like Mac OS > system 7; frankly awful. > > And not, honestly acceptable as of 2014. > > if "roundRadius" were added to the properties of buttons it would be > very easy to make > "Aqua" Round Rect buttons in Livecode. > > Complete with "pretty pictures" here: > > http://forums.runrev.com/viewtopic.php?f=6&t=20220 The URL to submit a bug report is: -- 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 Tue Apr 29 15:38:24 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 29 Apr 2014 22:38:24 +0300 Subject: The parlous state of Rounded Rectangular buttons In-Reply-To: <535FFF01.30804@fourthworld.com> References: <535FDF96.3010407@gmail.com> <535FFF01.30804@fourthworld.com> Message-ID: <535FFFB0.8050205@gmail.com> On 29/04/14 22:35, Richard Gaskin wrote: > Richmond wrote: > >> The standard Round Radius button in Livecode looks something like Mac OS >> system 7; frankly awful. >> >> And not, honestly acceptable as of 2014. >> >> if "roundRadius" were added to the properties of buttons it would be >> very easy to make >> "Aqua" Round Rect buttons in Livecode. >> >> Complete with "pretty pictures" here: >> >> http://forums.runrev.com/viewtopic.php?f=6&t=20220 > > The URL to submit a bug report is: > Indeed it is. And the last 3 times I tried to submit enhancement requests I got stuck on a 'Desktop OS" thing where there was no thing to check. Richmond. > > > -- > 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 Apr 29 15:44:21 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 29 Apr 2014 12:44:21 -0700 Subject: The parlous state of Rounded Rectangular buttons In-Reply-To: <535FFFB0.8050205@gmail.com> References: <535FFFB0.8050205@gmail.com> Message-ID: <53600115.9020108@fourthworld.com> Richmond wrote: > On 29/04/14 22:35, Richard Gaskin wrote: >> The URL to submit a bug report is: >> > > Indeed it is. And the last 3 times I tried to submit enhancement > requests I got stuck on a > 'Desktop OS" thing where there was no thing to check. If you have a reproducible recipe for an issue preventing you from using the bug report system, please send it via email to support AT runrev.com. -- 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 Tue Apr 29 16:15:44 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 29 Apr 2014 23:15:44 +0300 Subject: The parlous state of Rounded Rectangular buttons In-Reply-To: <53600115.9020108@fourthworld.com> References: <535FFFB0.8050205@gmail.com> <53600115.9020108@fourthworld.com> Message-ID: <53600870.9030200@gmail.com> On 29/04/14 22:44, Richard Gaskin wrote: > Richmond wrote: > >> On 29/04/14 22:35, Richard Gaskin wrote: >>> The URL to submit a bug report is: >>> >> >> Indeed it is. And the last 3 times I tried to submit enhancement >> requests I got stuck on a >> 'Desktop OS" thing where there was no thing to check. > > If you have a reproducible recipe for an issue preventing you from > using the bug report system, please send it via email to support AT > runrev.com. > > -- > Richard Gaskin Dunnit. I have sent screen shots and a ZIP file of the HTML form as I tried to fill it in. Richmond. From larry at significantplanet.org Tue Apr 29 17:05:26 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Tue, 29 Apr 2014 15:05:26 -0600 Subject: play sound problem Message-ID: Here is my problem: I have this in my code: play audioclip "myClip1.wav" - which is 8 seconds in duration. wait 8 seconds play audioclip "myClip2.wav" looping The problem is that any form of the wait command means that I cannot do anything else during the wait period - such as clicking on a button to stop play. So I cannot even use: wait until the sound is done How do I wait to play the 2nd clip, but still allow the user to click on a Stop Play button? TIA Larry From msiskin at andrew.cmu.edu Tue Apr 29 17:10:39 2014 From: msiskin at andrew.cmu.edu (Marc Siskin) Date: Tue, 29 Apr 2014 21:10:39 +0000 Subject: play sound problem In-Reply-To: References: Message-ID: <4A6A502F-0691-4EC4-A99B-D25B2E29673F@andrew.cmu.edu> Larry, Try adding ?with messages? to the wait command. That should allow other actions to occur while the sound is playing. Marc On Apr 29, 2014, at 5:05 PM, larry at significantplanet.org wrote: Here is my problem: I have this in my code: play audioclip "myClip1.wav" - which is 8 seconds in duration. wait 8 seconds play audioclip "myClip2.wav" looping The problem is that any form of the wait command means that I cannot do anything else during the wait period - such as clicking on a button to stop play. So I cannot even use: wait until the sound is done How do I wait to play the 2nd clip, but still allow the user to click on a Stop Play button? TIA Larry _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode --------------- Marc Siskin Manager, Modern Language Resource Center Carnegie Mellon University msiskin at andrew.cmu.edu From jhj at jhj.com Tue Apr 29 17:11:30 2014 From: jhj at jhj.com (Jerry Jensen) Date: Tue, 29 Apr 2014 14:11:30 -0700 Subject: play sound problem In-Reply-To: References: Message-ID: wait with messages. See the dictionary entry for wait. On Apr 29, 2014, at 2:05 PM, larry at significantplanet.org wrote: > Here is my problem: > > I have this in my code: > play audioclip "myClip1.wav" - which is 8 seconds in duration. > wait 8 seconds > play audioclip "myClip2.wav" looping > > The problem is that any form of the wait command means that I cannot do anything else during the wait period - such as clicking on a button to stop play. > So I cannot even use: > wait until the sound is done > > > How do I wait to play the 2nd clip, but still allow the user to click on a Stop Play button? > > TIA > Larry From jacque at hyperactivesw.com Tue Apr 29 19:12:25 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 29 Apr 2014 18:12:25 -0500 Subject: play sound problem In-Reply-To: References: Message-ID: <536031D9.9030606@hyperactivesw.com> On 4/29/14, 4:05 PM, larry at significantplanet.org wrote: > How do I wait to play the 2nd clip, but still allow the user to click > on a Stop Play button? For another approach, don't use embedded audio, use an audio file on disk and a player in the stack. Set the filename of the player to the file path of the audio file. The player can be invisible if you don't want to see it. Start the player with the "start player" command. When the audio finishes the player will receive a "playStopped" message. A handler in the script of the player should catch that message, set its own filename to the next audio file on disk, and start playing that. This way you don't need to know how long to wait or worry about blocking any user actions. You can also use a wider variety of sound formats than the three that LC allows to be embedded. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From capellan2000 at gmail.com Tue Apr 29 19:51:07 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 29 Apr 2014 16:51:07 -0700 (PDT) Subject: The parlous state of Rounded Rectangular buttons In-Reply-To: <53600115.9020108@fourthworld.com> References: <535FDF96.3010407@gmail.com> <535FFF01.30804@fourthworld.com> <535FFFB0.8050205@gmail.com> <53600115.9020108@fourthworld.com> Message-ID: <1398815467296-4678830.post@n4.nabble.com> Richard Gaskin wrote > If you have a reproducible recipe for an issue preventing you from using > the bug report system, please send it via email to support AT runrev.com. By the way, Richard, Which is your email as LiveCode Community Manager? Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/The-parlous-state-of-Rounded-Rectangular-buttons-tp4678815p4678830.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Tue Apr 29 20:33:12 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 29 Apr 2014 17:33:12 -0700 Subject: The parlous state of Rounded Rectangular buttons In-Reply-To: <1398815467296-4678830.post@n4.nabble.com> References: <1398815467296-4678830.post@n4.nabble.com> Message-ID: <536044C8.6040204@fourthworld.com> Alejandro Tejada wrote: > By the way, Richard, Which is your email > as LiveCode Community Manager? We're going to set me up with an address at livecode.org, but it's not in place yet so until we get that pinned down you're always welcome to write me at the address I use here. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From capellan2000 at gmail.com Tue Apr 29 20:44:07 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 29 Apr 2014 17:44:07 -0700 (PDT) Subject: play sound problem In-Reply-To: References: Message-ID: <1398818647785-4678832.post@n4.nabble.com> Hi Larry, larry wrote > Here is my problem: > > I have this in my code: > play audioclip "myClip1.wav" - which is 8 seconds in duration. > wait 8 seconds > play audioclip "myClip2.wav" looping > > The problem is that any form of the wait command means that > I cannot do anything else during the wait period - such as > clicking on a button to stop play. > > So I cannot even use: > wait until the sound is done > > How do I wait to play the 2nd clip, but still allow the user > to click on a Stop Play button? Just for curiosity, Did anyone test this on Linux? What results you get? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/play-sound-problem-tp4678826p4678832.html Sent from the Revolution - User mailing list archive at Nabble.com. From walter.h.brown at gmail.com Tue Apr 29 21:20:08 2014 From: walter.h.brown at gmail.com (Walt Brown) Date: Tue, 29 Apr 2014 21:20:08 -0400 Subject: [OT] On RegExp Message-ID: This is a cool site. I'm not sure if it's been posted here. It's an interactive tutorial/tester of RegExp expressions you might find useful. http://www.regexr.com/ Walt Brown From ambassador at fourthworld.com Tue Apr 29 21:27:19 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 29 Apr 2014 18:27:19 -0700 Subject: [OT] On RegExp In-Reply-To: References: Message-ID: <53605177.10602@fourthworld.com> Walt Brown wrote: > This is a cool site. I'm not sure if it's been posted here. It's an > interactive tutorial/tester of RegExp expressions you might find useful. > > http://www.regexr.com/ Handy site, Walt - thanks. It's a good compliment to Rinaldi's RegEx Builder plugin included with LiveCode. -- 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 alain_farmer at yahoo.com Tue Apr 29 22:01:23 2014 From: alain_farmer at yahoo.com (Alain Farmer) Date: Tue, 29 Apr 2014 19:01:23 -0700 (PDT) Subject: [OT] On RegExp In-Reply-To: References: Message-ID: <1398823283.72880.YahooMailNeo@web126103.mail.ne1.yahoo.com> Hello Walt, Thanks for the URL. Is their regex the same as ours (livecode) ? Thanks On Tuesday, April 29, 2014 9:21:06 PM, Walt Brown wrote: This is a cool site. I'm not sure if it's been posted here. It's an interactive tutorial/tester of RegExp expressions you might find useful. http://www.regexr.com/ Walt Brown _______________________________________________ use-livecode mailing list use-livecode at 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 Apr 29 22:02:36 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 29 Apr 2014 19:02:36 -0700 Subject: The parlous state of Rounded Rectangular buttons In-Reply-To: References: <535FDF96.3010407@gmail.com> Message-ID: <20291227716.20140429190236@ahsoftware.net> Charles- Tuesday, April 29, 2014, 11:06:56 AM, you wrote: > I would like to second this request. ...and I'll third it. I'd love to have native controls for whatever platform, but I'm not holding my breath for that. I just usually end up using images for buttons. No, they don't scale, but they look a whole lot better than those flat rounded things. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From mwieder at ahsoftware.net Tue Apr 29 22:07:21 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 29 Apr 2014 19:07:21 -0700 Subject: [OT] On RegExp In-Reply-To: <1398823283.72880.YahooMailNeo@web126103.mail.ne1.yahoo.com> References: <1398823283.72880.YahooMailNeo@web126103.mail.ne1.yahoo.com> Message-ID: <47291512138.20140429190721@ahsoftware.net> Alain- Tuesday, April 29, 2014, 7:01:23 PM, you wrote: > Hello Walt, > Thanks for the URL. > Is their regex the same as ours (livecode) ? It uses the regex parser in the browser, do that depends on the browser implementation and vintage. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From alain_farmer at yahoo.com Tue Apr 29 22:35:33 2014 From: alain_farmer at yahoo.com (Alain Farmer) Date: Tue, 29 Apr 2014 19:35:33 -0700 (PDT) Subject: [OT] On RegExp In-Reply-To: <47291512138.20140429190721@ahsoftware.net> References: <1398823283.72880.YahooMailNeo@web126103.mail.ne1.yahoo.com> <47291512138.20140429190721@ahsoftware.net> Message-ID: <1398825333.57199.YahooMailNeo@web126103.mail.ne1.yahoo.com> Which "browser" are you referring to ?? Where does browser come into play ?? My question is whether the site ( http://www.regexr.com/ )? uses the same regex syntax as livecode users do ? Thanks, On Tuesday, April 29, 2014 10:10:43 PM, Mark Wieder wrote: Alain- Tuesday, April 29, 2014, 7:01:23 PM, you wrote: > Hello Walt, > Thanks for the URL. > Is their regex the same as ours (livecode) ? It uses the regex parser in the browser, do that depends on the browser implementation and vintage. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Tue Apr 29 22:52:50 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 29 Apr 2014 19:52:50 -0700 (PDT) Subject: The parlous state of Rounded Rectangular buttons In-Reply-To: <536044C8.6040204@fourthworld.com> References: <535FDF96.3010407@gmail.com> <535FFF01.30804@fourthworld.com> <535FFFB0.8050205@gmail.com> <53600115.9020108@fourthworld.com> <1398815467296-4678830.post@n4.nabble.com> <536044C8.6040204@fourthworld.com> Message-ID: <1398826370090-4678839.post@n4.nabble.com> Richard Gaskin wrote > We're going to set me up with an address at livecode.org, but it's not > in place yet so until we get that pinned down you're always welcome to > write me at the address I use here. Great news! :D Did you receive two emails that I send you previously? The first was about Dan Shafer's message: "I'd be happy to release it into the wild as Open Source if I can find it again." http://www.linkedin.com/groups/HyperCard-Real-Story-Does-anyone-50811.S.212166549?qid=9269d417-cd51-44f5-b6e2-9e0f60d2d9d0&goback=%2Egna_50811 The second was about Transifex. If you do not receive both mails, tell me so. Then I could resend them. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/The-parlous-state-of-Rounded-Rectangular-buttons-tp4678815p4678839.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Tue Apr 29 22:59:12 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 29 Apr 2014 19:59:12 -0700 Subject: [OT] On RegExp In-Reply-To: References: Message-ID: <196294622827.20140429195912@ahsoftware.net> Walt- Thanks. Nice site. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From capellan2000 at gmail.com Tue Apr 29 23:05:03 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 29 Apr 2014 20:05:03 -0700 (PDT) Subject: [OT] On RegExp In-Reply-To: <47291512138.20140429190721@ahsoftware.net> References: <1398823283.72880.YahooMailNeo@web126103.mail.ne1.yahoo.com> <47291512138.20140429190721@ahsoftware.net> Message-ID: <1398827103118-4678841.post@n4.nabble.com> mwieder wrote > It uses the regex parser in the browser, do that depends on the > browser implementation and vintage. Client-side regex processing? :( Normally, we expect Server-side processing to avoid possible differences among browsers implementations in so many platforms... Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-On-RegExp-tp4678833p4678841.html Sent from the Revolution - User mailing list archive at Nabble.com. From alain_farmer at yahoo.com Tue Apr 29 23:11:12 2014 From: alain_farmer at yahoo.com (Alain Farmer) Date: Tue, 29 Apr 2014 20:11:12 -0700 (PDT) Subject: [OT] On RegExp In-Reply-To: <1398827103118-4678841.post@n4.nabble.com> References: <1398823283.72880.YahooMailNeo@web126103.mail.ne1.yahoo.com> <47291512138.20140429190721@ahsoftware.net> <1398827103118-4678841.post@n4.nabble.com> Message-ID: <1398827472.16860.YahooMailNeo@web126102.mail.ne1.yahoo.com> Perhaps I have not been clear. Here is my attempt to be clearer. Can I use the regex expressions in site http://www.regexr.com/ in a LiveCode stack on my local computer ? Thank you, On Tuesday, April 29, 2014 11:06:40 PM, Alejandro Tejada wrote: mwieder wrote > It uses the regex parser in the browser, do that depends on the > browser implementation and vintage. Client-side regex processing? :( Normally, we expect Server-side processing to avoid possible differences among browsers implementations in so many platforms... Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-On-RegExp-tp4678833p4678841.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 lan.kc.macmail at gmail.com Tue Apr 29 23:16:18 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 30 Apr 2014 11:16:18 +0800 Subject: Really basic SQLite questions In-Reply-To: References: <91466C3D-49EA-437C-B6B4-45619D7B137E@thehales.id.au> <306494C7-0DBF-40BD-916A-AF5BAFEA7402@me.com> Message-ID: On Mon, Apr 28, 2014 at 10:59 PM, Peter Haworth wrote: > I'm also interested in what type of errors you've encountered that make > your database inaccessible? SQLite is most definitely designed for multiple > connections, > > Well this appears to be the 2nd change that's happened to LC + SQLite recently - the first being how UTF-8 characters are handled. I've just done a check and I'm not seeing any error. I use to get something like 'table not available' or 'table doesn't exist'. All I'd have to do was close the management tool and LC would work properly again. So a couple of years ago I adopted the habit of closing the db as soon as I was finished with it and have been 'blissfully' developing ever since. I don't have an earlier version of LC with me at the moment, but it would seem that with 6.6.x that my advice is no longer valid. I'm using 6.6.1GM, OS X 10.9.2, SQLite 3.8.3.1 From ambassador at fourthworld.com Tue Apr 29 23:22:01 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 29 Apr 2014 20:22:01 -0700 Subject: The parlous state of Rounded Rectangular buttons Message-ID: <53606C59.8070304@fourthworld.com> Alejandro Tejada wrote: > Did you receive two emails that I send you > previously? The two that came in over the weekend? Yes I did. I'll reply to those in the AM. It's been a bit hectic 'round here. If you have anything time-sensitive feel free to put something like "URGENT" or "READ THIS NOW!!" in the subject line. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From alain_farmer at yahoo.com Wed Apr 30 00:28:46 2014 From: alain_farmer at yahoo.com (Alain Farmer) Date: Tue, 29 Apr 2014 21:28:46 -0700 (PDT) Subject: Newbie question Message-ID: <1398832126.96052.YahooMailNeo@web126104.mail.ne1.yahoo.com> I am stumped. Why the contradiction below ? on mouseUp ?? answer the cantDelete of part 1 -- answers true or false ?? repeat with x = 1 to the number of parts ????? get the cantDelete of part x -- error! object does not have this property ?? end repeat end mouseUp From bobsneidar at iotecdigital.com Wed Apr 30 00:54:16 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 30 Apr 2014 04:54:16 +0000 Subject: the menuBar and the EditMenus In-Reply-To: References: <226C9811-640C-4B88-9428-7A9450A41653@mac.com> <58C3AD85-0838-449A-95E8-60008578385A@mac.com> <53482C53.3060706@hyperactivesw.com> Message-ID: <3E5E3B96-A996-4107-BCB4-B8FFBC6A32AE@iotecdigital.com> I will quote a good friend of mine, and an excellent graphic artist: ?Space. The layout needs room to breath. Spread things out. Give them lots of space.? Bob S On Apr 11, 2014, at 20:54 , Kay C Lan > wrote: In one respect I think those on Windows who then make a Mac version have a slight advantage in that they intuitively know they have to have a menubarat the top of their window and so don't put objects at the very top of their stack. Mac users new to LC trip over this all the time. From bobsneidar at iotecdigital.com Wed Apr 30 00:58:08 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 30 Apr 2014 04:58:08 +0000 Subject: [OT] free personality portraits In-Reply-To: References: Message-ID: Oh hell no. I don?t fall into someone?s matchbox of what a *normal* person should be, and the next thing I know I?m reading about how I?m some kind of sociopath! Screw that!!! Wait? am I proving the point?..? Bob S On Apr 13, 2014, at 19:24 , Robert Brenstein wrote: > This has nothing to do with LC but as varied as this group is in their tempers and attitudes, as we know well from lively discussions, I thought that some of you may find it interesting to get free personality portraits. > > If you are not interested, just press the delete key now. > > I work with the German partner of a British company called Lumina Learning. They develop psychometric instruments which are used by coaches and trainers. Companies use them for personal and organizational change and long-term improvement. The instruments are about realizing how we are and function as individuals and how we are different from other people and they from us. Their unique approach is to look at the opposite ends of each scale independently. Yes, many of us are both introverts and extroverts in varying degrees and it shows there. > > They are working on improving their products and would like to get as many different people as possible to complete the development versions of two of their instruments. They simply want to collect a large reference data. > > Anybody that completes the first questionnaire can get a short personality portrait emailed to them. Anybody that completes the second questionnaire can get a short emotional intelligence report. Both are free. > > Each questionnaire takes 20-25 mins. If it takes you longer, you think too much ;-) There are no good or bad answers. Answering the way you feel and behave, not the way you are expected to be or behave, will produce more realistic results. I haven't seen reports from the second questionnaire but the portrait produced by the first one is different for each person, with your unique colorful mandala. > > > > > This is a short time only deal. I believe after 7-10 days these links will go away, depending how quickly they reach their goal. > > Robert > > Disclosure: although I work with that company and thus benefit from their research indirectly on the long term, I do not gain anything directly when you fill out these questionnaires. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Wed Apr 30 01:10:12 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 29 Apr 2014 22:10:12 -0700 (PDT) Subject: [OT] free personality portraits In-Reply-To: References: Message-ID: <1398834612206-4678848.post@n4.nabble.com> Robert Brenstein wrote > [snip] > Anybody that completes the first questionnaire can get a short > personality portrait emailed to them. > [snip] When? I completed the first questionnaire weeks ago. Do not have received this short personality portrait from them. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-free-personality-portraits-tp4678255p4678848.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Wed Apr 30 01:17:44 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 30 Apr 2014 00:17:44 -0500 Subject: Newbie question In-Reply-To: <1398832126.96052.YahooMailNeo@web126104.mail.ne1.yahoo.com> References: <1398832126.96052.YahooMailNeo@web126104.mail.ne1.yahoo.com> Message-ID: <53608778.2050509@hyperactivesw.com> On 4/29/14, 11:28 PM, Alain Farmer wrote: > I am stumped. Why the contradiction below ? > > > on mouseUp > answer the cantDelete of part 1 -- answers true or false > repeat with x = 1 to the number of parts > get the cantDelete of part x -- error! object does not have this property > end repeat > end mouseUp Only cards, groups, and stacks have that property. Maybe control 1 was a group? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sims at ezpzapps.com Wed Apr 30 01:25:35 2014 From: sims at ezpzapps.com (Jim sims) Date: Wed, 30 Apr 2014 07:25:35 +0200 Subject: [OT] free personality portraits In-Reply-To: <1398834612206-4678848.post@n4.nabble.com> References: <1398834612206-4678848.post@n4.nabble.com> Message-ID: Yes, I did the thing when last posted but no statement telling me how crazy i am. In fact, nothing sent to me. On Wednesday, April 30, 2014, Alejandro Tejada wrote: > Robert Brenstein wrote > > [snip] > > Anybody that completes the first questionnaire can get a short > > personality portrait emailed to them. > > [snip] > > When? > > I completed the first questionnaire weeks ago. > Do not have received this short personality > portrait from them. > > Al > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/OT-free-personality-portraits-tp4678255p4678848.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 > -- Sent from my iPodo - it makes weird spelling sometimes :-P From richmondmathewson at gmail.com Wed Apr 30 04:00:40 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 30 Apr 2014 11:00:40 +0300 Subject: [OT] free personality portraits In-Reply-To: <1398834612206-4678848.post@n4.nabble.com> References: <1398834612206-4678848.post@n4.nabble.com> Message-ID: <5360ADA8.6010300@gmail.com> On 30/04/14 08:10, Alejandro Tejada wrote: > Robert Brenstein wrote >> [snip] >> Anybody that completes the first questionnaire can get a short >> personality portrait emailed to them. >> [snip] > When? > > I completed the first questionnaire weeks ago. > Do not have received this short personality > portrait from them. > > Al > > > Nor have I. Part of me thinks that a "personality portrait" sounds a bit crook. Richmond. From toolbook at kestner.de Wed Apr 30 04:58:46 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 30 Apr 2014 10:58:46 +0200 Subject: Editor window doesn't open after a while anymore Message-ID: <003f01cf6452$65c4dcd0$314e9670$@de> Hello, I am working with LC 6.5.2 on Win 7. But this bug comes up since long time ago. When having multiple windows open, having multiple scripts in the script editor window open and wanting to open another script, the script editor window stays minimized in the task bar and doesn't opens anymore. The only way is to close all windows, also the script editor in the task bar and starting to reopen all needed windows again. This happens from time to time, but I haven't found a reproducible recipe to file it in the QCC. Has anybody encountered this behavior also or has found a recipe either to avoid this bug or to reproduce it? Thanks Tiemo From richmondmathewson at gmail.com Wed Apr 30 05:26:09 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 30 Apr 2014 12:26:09 +0300 Subject: Vertical Menubar stack In-Reply-To: <1397946091681-4678460.post@n4.nabble.com> References: <5352A7E3.6070809@gmail.com> <1397946091681-4678460.post@n4.nabble.com> Message-ID: <5360C1B1.3030206@gmail.com> On 20/04/14 01:21, Alejandro Tejada wrote: > Hi Richmond, > > Many Thanks for sharing your stacks! :D > > Are you going to expand these palettes to > allow developers include custom tools > (using front or back script) and insert > custom controls (like groups)? > > Al > > I don't really see how I can mess around with the revMenubar and the revTools stacks/palettes to take into account other developers' custom tools/controls. The simple fact is that I am NOT a very clever programmer, but, what I DID DO is go and poke around in those stacks and see how they worked. All my Hack stack does is: 1. Move buttons and icons into different positions [using the 'move' command]. 2. Paste pretty pictures into the revMenubar stack and another stack. 3. Change the dimensions of those stacks. 4. Patch scripts in the revTools and revMenubar stacks. Anyone else who wants to make a 'hack stack' to add their tools, controls, pretty icons, kinky layout can use exactly the same methods as I used (which are simple and simplistic in the extreme - just look impressive because I set the moveSpeed to 65000 and used lockScreen), and if they are unsure how to do that I would suggest they open up the scripts and fields in my Hack Stack. The one thing that is IMPORTANT to remember is that both the revTools and the revMenubar stack contain scripts at the stack level to make them look the way they do; so if you want them to maintain their hacked appearance between an Exit and a Restart you need to hack the card 1002 script with an openStack or a preOpenStack script to override what RunRev's stack level scripts do. Richmond. From klaus at major-k.de Wed Apr 30 06:49:04 2014 From: klaus at major-k.de (Klaus major-k) Date: Wed, 30 Apr 2014 12:49:04 +0200 Subject: Newbie question In-Reply-To: <1398832126.96052.YahooMailNeo@web126104.mail.ne1.yahoo.com> References: <1398832126.96052.YahooMailNeo@web126104.mail.ne1.yahoo.com> Message-ID: <5C8C8112-B8BF-4CB8-A5A9-C9CD1500BFE2@major-k.de> Hi Alain, Am 30.04.2014 um 06:28 schrieb Alain Farmer : > I am stumped. Why the contradiction below ? > > on mouseUp > answer the cantDelete of part 1 -- answers true or false > repeat with x = 1 to the number of parts > get the cantDelete of part x -- error! object does not have this property > end repeat > end mouseUp I'm stumped, too! What is a PART in Livecode? 8-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From alain_farmer at yahoo.com Wed Apr 30 07:41:15 2014 From: alain_farmer at yahoo.com (Alain Farmer) Date: Wed, 30 Apr 2014 04:41:15 -0700 (PDT) Subject: Newbie question In-Reply-To: <5C8C8112-B8BF-4CB8-A5A9-C9CD1500BFE2@major-k.de> References: <1398832126.96052.YahooMailNeo@web126104.mail.ne1.yahoo.com> <5C8C8112-B8BF-4CB8-A5A9-C9CD1500BFE2@major-k.de> Message-ID: <1398858075.22503.YahooMailNeo@web126101.mail.ne1.yahoo.com> Thanks for your response, Klaus. I figured it out. Fields and buttons don't have the cantDelete property. Groups do have the cantDelete property. Groups, Fields, Buttons .. eg controls ... are aka PARTS too. Btw I've just completed a stack for experimenting with XMLlib; that I will share soon. On Wednesday, April 30, 2014 6:50:10 AM, Klaus major-k wrote: Hi Alain, Am 30.04.2014 um 06:28 schrieb Alain Farmer : > I am stumped. Why the contradiction below ? > > on mouseUp >? ? answer the cantDelete of part 1 -- answers true or false >? ? repeat with x = 1 to the number of parts >? ? ? get the cantDelete of part x -- error! object does not have this property >? ? end repeat > end mouseUp I'm stumped, too! What is a PART in Livecode? 8-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From alain_farmer at yahoo.com Wed Apr 30 07:44:26 2014 From: alain_farmer at yahoo.com (Alain Farmer) Date: Wed, 30 Apr 2014 04:44:26 -0700 (PDT) Subject: Newbie question In-Reply-To: <53608778.2050509@hyperactivesw.com> References: <1398832126.96052.YahooMailNeo@web126104.mail.ne1.yahoo.com> <53608778.2050509@hyperactivesw.com> Message-ID: <1398858266.44377.YahooMailNeo@web126106.mail.ne1.yahoo.com> Exactly, Jacque. Thank you kindly for responding. Btw I am creating some experimentation stacks, that I will share with y'all soon. Kind regards, Alain On Wednesday, April 30, 2014 1:17:44 AM, J. Landman Gay wrote: On 4/29/14, 11:28 PM, Alain Farmer wrote: > I am stumped. Why the contradiction below ? > > > on mouseUp >? ? answer the cantDelete of part 1 -- answers true or false >? ? repeat with x = 1 to the number of parts >? ? ? ? get the cantDelete of part x -- error! object does not have this property >? ? end repeat > end mouseUp Only cards, groups, and stacks have that property. Maybe control 1 was a group? -- 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 klaus at major-k.de Wed Apr 30 07:47:20 2014 From: klaus at major-k.de (Klaus major-k) Date: Wed, 30 Apr 2014 13:47:20 +0200 Subject: Newbie question In-Reply-To: <1398858075.22503.YahooMailNeo@web126101.mail.ne1.yahoo.com> References: <1398832126.96052.YahooMailNeo@web126104.mail.ne1.yahoo.com> <5C8C8112-B8BF-4CB8-A5A9-C9CD1500BFE2@major-k.de> <1398858075.22503.YahooMailNeo@web126101.mail.ne1.yahoo.com> Message-ID: <7829AE16-EC24-4691-AF9F-779E934CD8B2@major-k.de> Hi Alain, Am 30.04.2014 um 13:41 schrieb Alain Farmer : > Thanks for your response, Klaus. > I figured it out. Fields and buttons don't have the cantDelete property. > Groups do have the cantDelete property. > Groups, Fields, Buttons .. eg controls ... are aka PARTS too. AH! part = control! Go figure! Still learning something new after using MC/RR/LC for 15 years :-D Thanks! > Btw I've just completed a stack for experimenting with XMLlib; that I will share soon. > ... >> I am stumped. Why the contradiction below ? >> >> on mouseUp >> answer the cantDelete of part 1 -- answers true or false >> repeat with x = 1 to the number of parts >> get the cantDelete of part x -- error! object does not have this property >> end repeat >> end mouseUp > I'm stumped, too! What is a PART in Livecode? 8-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From larry at significantplanet.org Wed Apr 30 07:47:49 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Wed, 30 Apr 2014 05:47:49 -0600 Subject: play sound problem References: Message-ID: <41E2701A68A84E2FA065F6782DFDD22A@userd204a4d61c> Thanks to Jerry (and everyone who gave good feedback) for answering this question. Larry ----- Original Message ----- From: "Jerry Jensen" To: "How to use LiveCode" Sent: Tuesday, April 29, 2014 3:11 PM Subject: Re: play sound problem > wait with messages. See the dictionary entry for wait. > > On Apr 29, 2014, at 2:05 PM, larry at significantplanet.org wrote: > >> Here is my problem: >> >> I have this in my code: >> play audioclip "myClip1.wav" - which is 8 seconds in duration. >> wait 8 seconds >> play audioclip "myClip2.wav" looping >> >> The problem is that any form of the wait command means that I cannot do >> anything else during the wait period - such as clicking on a button to >> stop play. >> So I cannot even use: >> wait until the sound is done >> >> >> How do I wait to play the 2nd clip, but still allow the user to click on >> a Stop Play button? >> >> TIA >> Larry > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Apr 30 08:02:22 2014 From: coiin at verizon.net (Colin Holgate) Date: Wed, 30 Apr 2014 13:02:22 +0100 Subject: Newbie question In-Reply-To: <5C8C8112-B8BF-4CB8-A5A9-C9CD1500BFE2@major-k.de> References: <1398832126.96052.YahooMailNeo@web126104.mail.ne1.yahoo.com> <5C8C8112-B8BF-4CB8-A5A9-C9CD1500BFE2@major-k.de> Message-ID: <542CED40-DB52-4719-A788-662EAFBE05D3@verizon.net> Part is a synonym of control, no doubt for compatibility with HyperCard reasons. On Apr 30, 2014, at 11:49 AM, Klaus major-k wrote: > >I'm stumped, too! What is a PART in Livecode? 8-) From dave at applicationinsight.com Wed Apr 30 10:28:07 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Wed, 30 Apr 2014 07:28:07 -0700 (PDT) Subject: Full text justification Message-ID: <1398868086994-4678860.post@n4.nabble.com> Hi all I've just posted a new topic on the forum about fully justified text (that is, both left and right margins are justified) - and have included a stack showing where I've got to (not too bad as long as you don't look too hard) - if you can make any suggestions on what I've done or even code up improvements so that we can all benefit from being able to use this in our stacks - then please do so! http://forums.runrev.com/viewtopic.php?f=6&t=20228 Kind regards Dave ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Full-text-justification-tp4678860.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at lcsql.com Wed Apr 30 11:56:47 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 30 Apr 2014 08:56:47 -0700 Subject: Really basic SQLite questions In-Reply-To: References: <91466C3D-49EA-437C-B6B4-45619D7B137E@thehales.id.au> <306494C7-0DBF-40BD-916A-AF5BAFEA7402@me.com> Message-ID: On Tue, Apr 29, 2014 at 8:16 PM, Kay C Lan wrote: > I've just done a check and I'm not seeing any error. I use to get something > like 'table not available' or 'table doesn't exist'. All I'd have to do was > close the management tool and LC would work properly again. So a couple of > years ago I adopted the habit of closing the db as soon as I was finished > with it and have been 'blissfully' developing ever since. I don't have an > earlier version of LC with me at the moment, but it would seem that with > 6.6.x that my advice is no longer valid. > > I'm using 6.6.1GM, OS X 10.9.2, SQLite 3.8.3.1 > Interesting, I've never seen that problem. Sounds like it may have been a locking issue. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From dsc at swcp.com Wed Apr 30 12:01:55 2014 From: dsc at swcp.com (Dar Scott) Date: Wed, 30 Apr 2014 10:01:55 -0600 Subject: I lost my property inspector In-Reply-To: <535EE3DB.4080304@hyperactivesw.com> References: <7CD4CE97-1843-4E92-8ED3-2C01C6D23FE8@swcp.com> <8D13148A00B20B2-2BAC-23A65@webmail-d205.sysops.aol.com> <941B16F1-710E-4406-8D82-F2CD144F5AB8@swcp.com> <48730AC3-6861-4123-8C51-29D1193D23E8@swcp.com> <2BC26365-D1BC-460B-A1FD-1596689C31A7@swcp.com> <535EE3DB.4080304@hyperactivesw.com> Message-ID: I found a workaround. It turned out to be just that one button on that one stack. I can open the object inspector on some other object and after a few seconds it comes up. Then I can click on that bad button after that and the object inspector comes up with weird values in the fields. ?Combobox Menu? in the name field and ?stack revTemplatePalette?? in the label field and most of the controls are dimmed. I try it again and it works. So I can get it working, but I think my stack is broken. I have no idea how a broken stack can keep the object inspector from working. This is just a plain stack. So I figure either the stack is corrupted (maybe by a LiveCode bug) or I did something to the stack and in particular that button. Any ideas on what I could have done? Dar On Apr 28, 2014, at 5:27 PM, J. Landman Gay wrote: > On 4/28/14, 5:54 PM, Dar Scott wrote: >> Could something in the preferences do this? > > That was my first thought, especially since it persists across different versions of LC. Trash your prefs. > > -- > 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 Wed Apr 30 12:58:54 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 30 Apr 2014 11:58:54 -0500 Subject: I lost my property inspector In-Reply-To: References: <7CD4CE97-1843-4E92-8ED3-2C01C6D23FE8@swcp.com> <8D13148A00B20B2-2BAC-23A65@webmail-d205.sysops.aol.com> <941B16F1-710E-4406-8D82-F2CD144F5AB8@swcp.com> <48730AC3-6861-4123-8C51-29D1193D23E8@swcp.com> <2BC26365-D1BC-460B-A1FD-1596689C31A7@swcp.com> <535EE3DB.4080304@hyperactivesw.com> Message-ID: <53612BCE.1030505@hyperactivesw.com> On 4/30/14, 11:01 AM, Dar Scott wrote: > I can open the object inspector on some other object and after a few > seconds it comes up. > > Then I can click on that bad button after that and the object > inspector comes up with weird values in the fields. ?Combobox Menu? > in the name field and ?stack revTemplatePalette?? in the label field > and most of the controls are dimmed. I try it again and it works. That's funny, my client reported something very similar. It only happened to her twice, weeks apart, and she thought the inspector was showing values from a different object on a different card (but it could probably have been anything.) She said she restarted LC and it went away. She's using LC 6.6.1. I've never seen it happen and there is no recipe that I know of. But it sounds like there's a bug in there somewhere so if you have a repeatable instance, it would be good if you could report it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Wed Apr 30 13:54:53 2014 From: dsc at swcp.com (Dar Scott) Date: Wed, 30 Apr 2014 11:54:53 -0600 Subject: I lost my property inspector In-Reply-To: <53612BCE.1030505@hyperactivesw.com> References: <7CD4CE97-1843-4E92-8ED3-2C01C6D23FE8@swcp.com> <8D13148A00B20B2-2BAC-23A65@webmail-d205.sysops.aol.com> <941B16F1-710E-4406-8D82-F2CD144F5AB8@swcp.com> <48730AC3-6861-4123-8C51-29D1193D23E8@swcp.com> <2BC26365-D1BC-460B-A1FD-1596689C31A7@swcp.com> <535EE3DB.4080304@hyperactivesw.com> <53612BCE.1030505@hyperactivesw.com> Message-ID: I?m running around in circles at the moment, but when I get a chance I?ll put this into a reportable form. Do you think I could have a definition or call in my script that could do this? Dar On Apr 30, 2014, at 10:58 AM, J. Landman Gay wrote: > On 4/30/14, 11:01 AM, Dar Scott wrote: >> I can open the object inspector on some other object and after a few >> seconds it comes up. >> >> Then I can click on that bad button after that and the object >> inspector comes up with weird values in the fields. ?Combobox Menu? >> in the name field and ?stack revTemplatePalette?? in the label field >> and most of the controls are dimmed. I try it again and it works. > > That's funny, my client reported something very similar. It only happened to her twice, weeks apart, and she thought the inspector was showing values from a different object on a different card (but it could probably have been anything.) She said she restarted LC and it went away. > > She's using LC 6.6.1. I've never seen it happen and there is no recipe that I know of. But it sounds like there's a bug in there somewhere so if you have a repeatable instance, it would be good if you could report it. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Apr 30 13:55:49 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 30 Apr 2014 20:55:49 +0300 Subject: Sexy Hexxy? Message-ID: <53613925.3050507@gmail.com> Have I been hallucinating, or did I see a post, somewhere, the other day where Unicode addresses were entered in their original Hexadecimal? It certainly would save an awful lot of time spent converting from Hex to Decimal. Richmond. From richmondmathewson at gmail.com Wed Apr 30 14:19:42 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 30 Apr 2014 21:19:42 +0300 Subject: I lost my property inspector In-Reply-To: References: <7CD4CE97-1843-4E92-8ED3-2C01C6D23FE8@swcp.com> <8D13148A00B20B2-2BAC-23A65@webmail-d205.sysops.aol.com> <941B16F1-710E-4406-8D82-F2CD144F5AB8@swcp.com> <48730AC3-6861-4123-8C51-29D1193D23E8@swcp.com> <2BC26365-D1BC-460B-A1FD-1596689C31A7@swcp.com> <535EE3DB.4080304@hyperactivesw.com> <53612BCE.1030505@hyperactivesw.com> Message-ID: <53613EBE.9080507@gmail.com> On 30/04/14 20:54, Dar Scott wrote: > I?m running around in circles at the moment, but when I get a chance I?ll put this into a reportable form. > > Do you think I could have a definition or call in my script that could do this? > > Dar > > This question will probably "P" you off; but I have to ask it: Have you reinstalled Livecode after deleting Prefs? Richmond. From capellan2000 at gmail.com Wed Apr 30 14:32:19 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 30 Apr 2014 11:32:19 -0700 (PDT) Subject: Full text justification In-Reply-To: <1398868086994-4678860.post@n4.nabble.com> References: <1398868086994-4678860.post@n4.nabble.com> Message-ID: <1398882739800-4678867.post@n4.nabble.com> Hi Dave, Could you post screenshots of the 3 fields justified in the platforms that you use? Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Full-text-justification-tp4678860p4678867.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Wed Apr 30 14:41:30 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 30 Apr 2014 13:41:30 -0500 Subject: I lost my property inspector In-Reply-To: References: <7CD4CE97-1843-4E92-8ED3-2C01C6D23FE8@swcp.com> <8D13148A00B20B2-2BAC-23A65@webmail-d205.sysops.aol.com> <941B16F1-710E-4406-8D82-F2CD144F5AB8@swcp.com> <48730AC3-6861-4123-8C51-29D1193D23E8@swcp.com> <2BC26365-D1BC-460B-A1FD-1596689C31A7@swcp.com> <535EE3DB.4080304@hyperactivesw.com> <53612BCE.1030505@hyperactivesw.com> Message-ID: <536143DA.5020909@hyperactivesw.com> I'm doubtful that anything in your scripts would cause it. The inspector just looks at the properties that are relevant to it, I think it ignores the scripts. The only thing I can think of is if you used an IDE handler that interfered, but I know in my own stack I didn't do that and my client still had an issue. You could test it though by turning off messages. Then nothing in your own scripts would be active, but the IDE and property inspector will still work. On 4/30/14, 12:54 PM, Dar Scott wrote: > I?m running around in circles at the moment, but when I get a chance I?ll put this into a reportable form. > > Do you think I could have a definition or call in my script that could do this? > > Dar > > On Apr 30, 2014, at 10:58 AM, J. Landman Gay wrote: > >> On 4/30/14, 11:01 AM, Dar Scott wrote: >>> I can open the object inspector on some other object and after a few >>> seconds it comes up. >>> >>> Then I can click on that bad button after that and the object >>> inspector comes up with weird values in the fields. ?Combobox Menu? >>> in the name field and ?stack revTemplatePalette?? in the label field >>> and most of the controls are dimmed. I try it again and it works. >> >> That's funny, my client reported something very similar. It only happened to her twice, weeks apart, and she thought the inspector was showing values from a different object on a different card (but it could probably have been anything.) She said she restarted LC and it went away. >> >> She's using LC 6.6.1. I've never seen it happen and there is no recipe that I know of. But it sounds like there's a bug in there somewhere so if you have a repeatable instance, it would be good if you could report it. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 capellan2000 at gmail.com Wed Apr 30 14:49:51 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 30 Apr 2014 11:49:51 -0700 (PDT) Subject: Open Source Web-based translation platforms Message-ID: <1398883791208-4678869.post@n4.nabble.com> Hi All, Based in your personal experience or workteam experiences Which open source web-based translation platform works better? 1) https://www.transifex.com 2) https://launchpad.net 3) http://pootle.translatehouse.org/index.html 4) http://weblate.org 5) http://openbuildservice.org 6) http://zanata.org 7) http://otrance.de/en/ Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Open-Source-Web-based-translation-platforms-tp4678869.html Sent from the Revolution - User mailing list archive at Nabble.com. From dave at applicationinsight.com Wed Apr 30 16:15:15 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Wed, 30 Apr 2014 13:15:15 -0700 (PDT) Subject: Full text justification In-Reply-To: <1398882739800-4678867.post@n4.nabble.com> References: <1398868086994-4678860.post@n4.nabble.com> <1398882739800-4678867.post@n4.nabble.com> Message-ID: <1398888915730-4678870.post@n4.nabble.com> Hi Al Not sure if I can really upload 6 images (3 fields in Mavericks and 3 in Win 7 - all using LC 6.62(rc2)) but I'll give it a go. FYI the field widths are 200, 350 and 755 pixels. I had an issue using the stack on Windows 7 with LC 6.6.2(rc2) and tweaked it somewhat - and you'll now see a couple of the OSX screenshots show errors which I'll have to fix for a future version. You'll find more details on the forum thread (and be able to download the stack too) Dave ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Full-text-justification-tp4678860p4678870.html Sent from the Revolution - User mailing list archive at Nabble.com. From m_p_wilcox at yahoo.co.uk Wed Apr 30 16:31:47 2014 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Wed, 30 Apr 2014 21:31:47 +0100 (BST) Subject: LC, IOS 7 and UIKeyCommand In-Reply-To: <535DE6FA.2040500@together.net> Message-ID: <1398889907.1546.YahooMailMobile@web28803.mail.ir2.yahoo.com> Hi Richard, Sorry for a rather late reply to this. I'm not sure what level of answer you're looking for. You've found the appropriate incantations in Objective-C. They need to be used in an external, or someone would need to contribute this feature to the engine. Given the issue noted in your link with sub-classing UIApplication, this would be better contributed if RunRev will accept such a contribution. It could be done in an external but you'd have to go the more complex route of detecting dialogs and setting your class back to first responder manually when they're dismissed. If contributing to the engine or writing an external is outside your comfort zone then you could either ask RunRev to add it to their list of features to be implemented and wait, or pay someone to implement it for you. Usually I think Monte would pick this sort of request up very quickly. If he's not available/interested then I have a Bluetooth keyboard and the necessary skills. Mark From lan.kc.macmail at gmail.com Wed Apr 30 16:40:40 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 1 May 2014 04:40:40 +0800 Subject: [OT] On RegExp In-Reply-To: <1398827472.16860.YahooMailNeo@web126102.mail.ne1.yahoo.com> References: <1398823283.72880.YahooMailNeo@web126103.mail.ne1.yahoo.com> <47291512138.20140429190721@ahsoftware.net> <1398827103118-4678841.post@n4.nabble.com> <1398827472.16860.YahooMailNeo@web126102.mail.ne1.yahoo.com> Message-ID: Alain, you may prefer this site: http://regex101.com/#pcre LC uses the pcre regex library and the above site allows you to choose between any and/or all of pcre, javascript and python. It is very similar to the previously listed site in that it has a whole bunch of Community provided solutions already available to check out, but it also has an 'Explanation' panel that is kind of neat. If you only select REGEX FLAVOR pcre (php) and you create a regexexpression that works, then you should have no problem cutting and pasting it into LC. Of course that comes with my usual Limited Lifetime Guarantee that 60% of the time it works every time; or 12 inches or 12 sec whichever comes first. On Wed, Apr 30, 2014 at 11:11 AM, Alain Farmer wrote: > Perhaps I have not been clear. > Here is my attempt to be clearer. > Can I use the regex expressions in site http://www.regexr.com/ in a > LiveCode stack on my local computer ? > > Thank you, > > On Tuesday, April 29, 2014 11:06:40 PM, Alejandro Tejada < > capellan2000 at gmail.com> wrote: > > mwieder wrote > > It uses the regex parser in the browser, do that depends on the > > browser implementation and vintage. > > Client-side regex processing? :( > > Normally, we expect Server-side processing > to avoid possible differences among browsers > implementations in so many platforms... > > Al > > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/OT-On-RegExp-tp4678833p4678841.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From lan.kc.macmail at gmail.com Wed Apr 30 16:59:26 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 1 May 2014 04:59:26 +0800 Subject: I lost my property inspector In-Reply-To: References: <7CD4CE97-1843-4E92-8ED3-2C01C6D23FE8@swcp.com> <8D13148A00B20B2-2BAC-23A65@webmail-d205.sysops.aol.com> <941B16F1-710E-4406-8D82-F2CD144F5AB8@swcp.com> <48730AC3-6861-4123-8C51-29D1193D23E8@swcp.com> <2BC26365-D1BC-460B-A1FD-1596689C31A7@swcp.com> <535EE3DB.4080304@hyperactivesw.com> Message-ID: Dar, I have seen something very similiar to what you are experiencing and I believe the cause was the incorrect naming of both Custom Property Sets and Custom Properties and my use of array notation. This from the User Guide: ---------------- Custom Property Names The name of a custom property must consist of a single word and may contain any combination of letters, digits, and underscores (_). The first character must be either a letter or an underscore. Custom Property Set Names The names of custom property sets should consist of a single word, with any combination of letters, digits, and underscores (_). The first character should be either a letter or an underscore. It is possible to create a custom property set with a name that has more than one word, or that otherwise doesn't conform to these guidelines. However, this is not recommended, because such a custom property set can't be used with the array notation described below. ---------------- THESE NAMING CONVENTIONS DO NOT APPEAR IN THE DICTIONARY, at least not under the entries for customProperties, customPropertySet, customPropertySets. And, as if to tempt you into dark and foreboding corners, the example for customPropertySet is: set the customPropertySet of me to "Mac Properties" Do you have Custom Property Sets and/or Names that do not conform to the above convention? Are you using array notation to refer to them? On Thu, May 1, 2014 at 12:01 AM, Dar Scott wrote: > I found a workaround. > > It turned out to be just that one button on that one stack. > > I can open the object inspector on some other object and after a few > seconds it comes up. > > Then I can click on that bad button after that and the object inspector > comes up with weird values in the fields. ?Combobox Menu? in the name > field and ?stack revTemplatePalette?? in the label field and most of the > controls are dimmed. I try it again and it works. > > So I can get it working, but I think my stack is broken. I have no idea > how a broken stack can keep the object inspector from working. This is > just a plain stack. > > So I figure either the stack is corrupted (maybe by a LiveCode bug) or I > did something to the stack and in particular that button. > > Any ideas on what I could have done? > > Dar > > > > On Apr 28, 2014, at 5:27 PM, J. Landman Gay > wrote: > > > On 4/28/14, 5:54 PM, Dar Scott wrote: > >> Could something in the preferences do this? > > > > That was my first thought, especially since it persists across different > versions of LC. Trash your prefs. > > > > -- > > 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 dsc at swcp.com Wed Apr 30 18:15:03 2014 From: dsc at swcp.com (Dar Scott) Date: Wed, 30 Apr 2014 16:15:03 -0600 Subject: I lost my property inspector In-Reply-To: <53613EBE.9080507@gmail.com> References: <7CD4CE97-1843-4E92-8ED3-2C01C6D23FE8@swcp.com> <8D13148A00B20B2-2BAC-23A65@webmail-d205.sysops.aol.com> <941B16F1-710E-4406-8D82-F2CD144F5AB8@swcp.com> <48730AC3-6861-4123-8C51-29D1193D23E8@swcp.com> <2BC26365-D1BC-460B-A1FD-1596689C31A7@swcp.com> <535EE3DB.4080304@hyperactivesw.com> <53612BCE.1030505@hyperactivesw.com> <53613EBE.9080507@gmail.com> Message-ID: Nope. I quit, deleted, relaunched. On Apr 30, 2014, at 12:19 PM, Richmond wrote: > On 30/04/14 20:54, Dar Scott wrote: >> I?m running around in circles at the moment, but when I get a chance I?ll put this into a reportable form. >> >> Do you think I could have a definition or call in my script that could do this? >> >> Dar >> >> > > This question will probably "P" you off; but I have to ask it: > > Have you reinstalled Livecode after deleting Prefs? > > 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 dsc at swcp.com Wed Apr 30 18:18:37 2014 From: dsc at swcp.com (Dar Scott) Date: Wed, 30 Apr 2014 16:18:37 -0600 Subject: I lost my property inspector In-Reply-To: References: <7CD4CE97-1843-4E92-8ED3-2C01C6D23FE8@swcp.com> <8D13148A00B20B2-2BAC-23A65@webmail-d205.sysops.aol.com> <941B16F1-710E-4406-8D82-F2CD144F5AB8@swcp.com> <48730AC3-6861-4123-8C51-29D1193D23E8@swcp.com> <2BC26365-D1BC-460B-A1FD-1596689C31A7@swcp.com> <535EE3DB.4080304@hyperactivesw.com> Message-ID: Nope. Just a getprop. A mouseDown. And a function. On Apr 30, 2014, at 2:59 PM, Kay C Lan wrote: > Dar, > > I have seen something very similiar to what you are experiencing and I > believe the cause was the incorrect naming of both Custom Property Sets and > Custom Properties and my use of array notation. This from the User Guide: > > ---------------- > > Custom Property Names > > The name of a custom property must consist of a single word and may contain > any combination of letters, digits, and underscores (_). The first > character must be either a letter or an underscore. > > Custom Property Set Names > > The names of custom property sets should consist of a single word, with any > combination of letters, digits, and underscores (_). The first character > should be either a letter or an underscore. > > It is possible to create a custom property set with a name that has more > than one word, or that otherwise doesn't conform to these guidelines. > However, this is not recommended, because such a custom property set can't > be used with the array notation described below. > > ---------------- > THESE NAMING CONVENTIONS DO NOT APPEAR IN THE DICTIONARY, at least not > under the entries for customProperties, customPropertySet, > customPropertySets. And, as if to tempt you into dark and foreboding > corners, the example for customPropertySet is: > > set the customPropertySet of me to "Mac Properties" > > Do you have Custom Property Sets and/or Names that do not conform to the > above convention? Are you using array notation to refer to them? > > > On Thu, May 1, 2014 at 12:01 AM, Dar Scott wrote: > >> I found a workaround. >> >> It turned out to be just that one button on that one stack. >> >> I can open the object inspector on some other object and after a few >> seconds it comes up. >> >> Then I can click on that bad button after that and the object inspector >> comes up with weird values in the fields. ?Combobox Menu? in the name >> field and ?stack revTemplatePalette?? in the label field and most of the >> controls are dimmed. I try it again and it works. >> >> So I can get it working, but I think my stack is broken. I have no idea >> how a broken stack can keep the object inspector from working. This is >> just a plain stack. >> >> So I figure either the stack is corrupted (maybe by a LiveCode bug) or I >> did something to the stack and in particular that button. >> >> Any ideas on what I could have done? >> >> Dar >> >> >> >> On Apr 28, 2014, at 5:27 PM, J. Landman Gay >> wrote: >> >>> On 4/28/14, 5:54 PM, Dar Scott wrote: >>>> Could something in the preferences do this? >>> >>> That was my first thought, especially since it persists across different >> versions of LC. Trash your prefs. >>> >>> -- >>> 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 pete at lcsql.com Wed Apr 30 18:21:30 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 30 Apr 2014 15:21:30 -0700 Subject: Full text justification In-Reply-To: <1398888915730-4678870.post@n4.nabble.com> References: <1398868086994-4678860.post@n4.nabble.com> <1398882739800-4678867.post@n4.nabble.com> <1398888915730-4678870.post@n4.nabble.com> Message-ID: Hi Dave, This doesn't seem to work on OSX 10.7.4, LC 5.5.4, For example, with the wide field, I get a line break after the word "explains", then a line with "what those" in it, then a line with "numbers mean." SImilar results with the other paragraphs and also with the other field widths. Same result with 6.1.3. With 6.5.2, 6.6.1, 6.7 (dp2), and 7.0 (dp2) the narrow and medium fields worked but same problem with the wide field. 7.0 took a a lot longer than the other versions to create the fully justified text. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Wed, Apr 30, 2014 at 1:15 PM, Dave Kilroy wrote: > Hi Al > > Not sure if I can really upload 6 images (3 fields in Mavericks and 3 in > Win > 7 - all using LC 6.62(rc2)) but I'll give it a go. > > FYI the field widths are 200, 350 and 755 pixels. > > I had an issue using the stack on Windows 7 with LC 6.6.2(rc2) and tweaked > it somewhat - and you'll now see a couple of the OSX screenshots show > errors > which I'll have to fix for a future version. > > You'll find more details on the forum thread (and be able to download the > stack too) > > Dave > > < > http://runtime-revolution.278305.n4.nabble.com/file/n4678870/narrowField-Windows.png > > > < > http://runtime-revolution.278305.n4.nabble.com/file/n4678870/mediumField-Windows.png > > > < > http://runtime-revolution.278305.n4.nabble.com/file/n4678870/wideField-Windows.png > > > < > http://runtime-revolution.278305.n4.nabble.com/file/n4678870/narrowField-Mac.png > > > < > http://runtime-revolution.278305.n4.nabble.com/file/n4678870/mediumField-Mac.png > > > < > http://runtime-revolution.278305.n4.nabble.com/file/n4678870/wideField-Mac.png > > > > > > ----- > "Some are born coders, some achieve coding, and some have coding thrust > upon them." - William Shakespeare & Hugh Senior > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Full-text-justification-tp4678860p4678870.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From revolution at derbrill.de Wed Apr 30 19:48:09 2014 From: revolution at derbrill.de (Malte Brill) Date: Thu, 1 May 2014 01:48:09 +0200 Subject: I lost my property inspector In-Reply-To: References: Message-ID: <9203E1C0-9C6D-49DE-BEE7-005355E4010B@derbrill.de> Hi Dar, sounds like the IDE is running into an error and hiding it from you. Have you tried put true into gRevDevelopment from the messagebox already? That might bring up some hints. Best, Malte From bobsneidar at iotecdigital.com Wed Apr 30 23:01:11 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 1 May 2014 03:01:11 +0000 Subject: I lost my property inspector In-Reply-To: References: <7CD4CE97-1843-4E92-8ED3-2C01C6D23FE8@swcp.com> <8D13148A00B20B2-2BAC-23A65@webmail-d205.sysops.aol.com> <941B16F1-710E-4406-8D82-F2CD144F5AB8@swcp.com> <48730AC3-6861-4123-8C51-29D1193D23E8@swcp.com> <2BC26365-D1BC-460B-A1FD-1596689C31A7@swcp.com> <535EE3DB.4080304@hyperactivesw.com> Message-ID: Dar, your stack is not broken. I reported this last week, and only a few people could reproduce it. I got the same results with a new stack. I suspect that people were not following my recipe, and so did not see the problem. Try this: 1. Quit Livecode 2. Launch Livecode 3. Create new stack 4. Drag combo box into new stack 5. Get properties of combo box You *should* get the same results. Jacque: Your clients are seeing the problem I reported earlier, only I am not sure they know how they produced it. The reason only a few people are see in it, is because if you get ANY OTHER PROPERTIES first, the problem does not exhibit itself. At least this is what my tests revealed. That is why you MUST follow the above formula to see it. It may also be that other things will produce this, but I only know of this one. Once you successfully get the properties of an object, you will not see this problem until the next time you start Livecode. Bob On Apr 30, 2014, at 06:01 , Dar Scott wrote: > I found a workaround. > > It turned out to be just that one button on that one stack. > > I can open the object inspector on some other object and after a few seconds it comes up. > > Then I can click on that bad button after that and the object inspector comes up with weird values in the fields. ?Combobox Menu? in the name field and ?stack revTemplatePalette?? in the label field and most of the controls are dimmed. I try it again and it works. > > So I can get it working, but I think my stack is broken. I have no idea how a broken stack can keep the object inspector from working. This is just a plain stack. > > So I figure either the stack is corrupted (maybe by a LiveCode bug) or I did something to the stack and in particular that button. > > Any ideas on what I could have done? > > Dar > > > > On Apr 28, 2014, at 5:27 PM, J. Landman Gay wrote: > >> On 4/28/14, 5:54 PM, Dar Scott wrote: >>> Could something in the preferences do this? >> >> That was my first thought, especially since it persists across different versions of LC. Trash your prefs. >> >> -- >> 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